/* MAWCE — fonte local, tokens e base */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --color-dark: #021c01;
  --color-accent: #15c46c;
  --color-background: #f8faf7;
  --color-white: #ffffff;
  --color-muted: #536052;
  --color-border: #dce4da;
  --color-dark-muted: #c3cec1;
  --font-family: "Manrope", Arial, sans-serif;
  --container-width: 1280px;
  --radius-button: 8px;
  --radius-card: 12px;
  --section-space: 48px;
  --header-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; background: var(--color-background); color: var(--color-dark); font-family: var(--font-family); font-size: 16px; font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 5px; }
button, input, select, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.15; }
h1, h2 { letter-spacing: -0.045em; }
ul, ol { margin: 0; padding: 0; }
section, article[id], #instagram-contato { scroll-margin-top: 8px; }
::selection { background: var(--color-accent); color: var(--color-dark); }
:focus-visible { outline: 3px solid var(--color-dark); outline-offset: 5px; }
.hero :focus-visible, .site-header :focus-visible, .contact :focus-visible, .plan-card-featured :focus-visible { outline-color: var(--color-accent); }
.container { width: min(calc(100% - 40px), var(--container-width)); margin-inline: auto; }
.section-spacing { padding-block: var(--section-space); }
.eyebrow { font-size: 11px; line-height: 1.6; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.section-eyebrow { color: var(--color-muted); margin-bottom: 20px; }
h2 { font-size: clamp(30px, 4vw, 42px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 20px; padding: 12px 20px; background: var(--color-white); color: var(--color-dark); border-radius: var(--radius-button); transform: translateY(-180%); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

/* Botões e links */
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 13px 22px; border: 1px solid transparent; border-radius: var(--radius-button); text-decoration: none; text-align: center; font-size: 16px; line-height: 1.4; font-weight: 700; transition: background-color 160ms ease, border-color 160ms ease; }
.action-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.button > .action-icon { margin-left: auto; }
.button-primary { background: var(--color-accent); color: var(--color-dark); }
.button-primary:hover { background: var(--color-white); border-color: var(--color-dark); }
.hero .button-primary:hover, .contact .button-primary:hover, .plan-card-featured .button-primary:hover { border-color: var(--color-white); }
.button-outline { border-color: var(--color-dark); color: var(--color-dark); background: transparent; }
.button-outline:hover { color: var(--color-white); background: var(--color-dark); }
.button-outline-light { border-color: #6c7e68; color: var(--color-white); background: transparent; }
.button-outline-light:hover { border-color: var(--color-accent); color: var(--color-accent); }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: underline; text-decoration-color: var(--color-border); font-weight: 600; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link-light { color: var(--color-white); text-decoration-color: #6c7e68; }
.text-link-light:hover { color: var(--color-accent); }

/* Identidade e cabeçalho; navegação permanece disponível sem JavaScript */
.site-header { top: 0; z-index: 100; background: var(--color-dark); color: var(--color-white); }
.site-header.navigation-enhanced { position: sticky; }
.header-layout { min-height: 64px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 20px; }
.brand-slot { position: relative; display: inline-flex; align-items: center; width: 156px; height: 44px; flex: 0 0 auto; text-decoration: none; }
.brand-fallback { font-size: 29px; line-height: 1; letter-spacing: -0.055em; font-weight: 800; }
.brand-image { width: 100%; height: 32px; object-fit: contain; object-position: left center; }
.primary-navigation { display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: 100%; padding: 16px 0 24px; }
.primary-navigation > a { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-size: 18px; }
.primary-navigation > a:not(.button):hover { color: var(--color-accent); text-decoration: underline; }
.primary-navigation .header-contact { margin-top: 8px; }
.menu-toggle { display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 44px; min-height: 44px; padding: 8px 0 8px 8px; border: 0; color: var(--color-white); background: transparent; cursor: pointer; }
.menu-toggle-label { font-size: 14px; font-weight: 600; }
.menu-toggle-lines { position: relative; width: 20px; height: 12px; border-top: 1.5px solid; border-bottom: 1.5px solid; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines { height: 20px; border: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before, .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { content: ""; position: absolute; width: 20px; top: 9px; left: 0; border-top: 1.5px solid; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { transform: rotate(-45deg); }
.navigation-enhanced .primary-navigation { border-top: 1px solid #344a30; }

/* Sem JavaScript, os links continuam no fluxo e não prendem a tela pequena. */
@media (max-width: 899px) {
  .navigation-enhanced .primary-navigation {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    width: 100%;
    padding-inline: 20px;
    background: var(--color-dark);
    border-bottom: 1px solid #344a30;
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* Abertura: a imagem opcional só cria coluna depois de carregada */
.hero { background: var(--color-dark); color: var(--color-white); padding-block: 48px 56px; }
.hero-layout { display: grid; gap: 36px; }
.hero-eyebrow { display: flex; align-items: center; gap: 9px; color: var(--color-dark-muted); font-size: 11px; letter-spacing: 0.09em; margin-bottom: 26px; }
.status-dot { display: block; width: 6px; height: 6px; flex: 0 0 6px; background: var(--color-accent); border-radius: 50%; }
.hero h1 { max-width: 960px; font-size: clamp(38px, 10.4vw, 64px); line-height: 1.1; }
.hero-emphasis { color: var(--color-accent); }
.hero-description { max-width: 560px; color: var(--color-dark-muted); margin-top: 25px; font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero-actions .button { width: 100%; max-width: 340px; }
.hero-actions .text-link { padding-block: 4px; }
.hero-visual { width: 100%; max-width: 600px; aspect-ratio: 6 / 5; align-self: center; justify-self: center; }
/* O enquadramento remove só as margens transparentes desta composição. */
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 66%; }

/* Faixa de posicionamento */
.positioning-strip { background: var(--color-white); border-bottom: 1px solid var(--color-border); padding-block: 21px; }
.positioning-mobile { font-size: 16px; font-weight: 600; text-align: center; }
.positioning-desktop { display: none; list-style: none; }

/* Serviços */
.services-layout { display: grid; gap: 30px; }
.section-intro { max-width: 440px; }
.secondary-heading { color: var(--color-muted); }
.services-list { display: grid; }
.service { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 20px; padding-block: 25px; border-top: 1px solid var(--color-border); }
.service:last-child { border-bottom: 1px solid var(--color-border); }
.service-icon { margin-top: 3px; }
.service h3 { font-size: 18px; letter-spacing: -0.03em; margin-bottom: 9px; }
.service p { font-size: 16px; color: var(--color-muted); line-height: 1.65; }

/* Processo */
.process { background: var(--color-white); }
.process-inner { padding-block: 36px 40px; }
.process .section-eyebrow { margin-bottom: 24px; }
.process-list { list-style: none; display: grid; }
.process-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding-block: 24px; border-top: 1px solid var(--color-border); }
.process-list li:last-child { padding-bottom: 0; }
.step-number { font-size: 13px; font-weight: 700; color: var(--color-muted); line-height: 1.7; }
.process h3 { font-size: 18px; letter-spacing: -0.025em; margin-bottom: 8px; }
.process p { color: var(--color-muted); }

/* Planos */
.plans-heading { display: grid; gap: 20px; margin-bottom: 32px; }
.plans-heading h2 { max-width: 640px; }
.plans-heading > p { max-width: 380px; color: var(--color-muted); }
.plans-grid { display: grid; gap: 20px; align-items: stretch; }
.plan-card { min-width: 0; padding: 24px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-white); display: flex; flex-direction: column; }
.plan-badge-row { min-height: 0; margin-bottom: 0; }
.plan-badge-row:has(.plan-badge) { margin-bottom: 20px; }
.plan-badge { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: 0.01em; }
.badge-premium { background: var(--color-background); border: 1px solid var(--color-border); color: var(--color-muted); }
.badge-main { background: var(--color-accent); color: var(--color-dark); border: 1px solid var(--color-accent); }
.plan-category { font-size: 10px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.075em; line-height: 1.6; margin-bottom: 20px; color: var(--color-muted); }
.plan-card h3 { font-size: 28px; letter-spacing: -0.04em; }
.plan-brand { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.5; }
.plan-description { font-size: 16px; line-height: 1.65; margin-top: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--color-border); }
.plan-benefits { display: grid; gap: 12px; list-style: none; padding-block: 24px 28px; color: var(--color-muted); }
.plan-benefits li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.5; }
.plan-benefits li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 1.5px solid var(--color-dark); border-bottom: 1.5px solid var(--color-dark); transform: rotate(-45deg); }
.plan-button { width: 100%; margin-top: auto; padding-inline: 14px; gap: 8px; }
.plan-card-featured { background: var(--color-dark); border-color: var(--color-accent); color: var(--color-white); }
.plan-card-featured .plan-category { color: var(--color-accent); }
.plan-card-featured .plan-benefits { color: var(--color-dark-muted); }
.plan-card-featured .plan-description { border-color: #344a30; }
.plan-card-featured .plan-benefits li::before { border-color: var(--color-accent); }

/* Proposta personalizada */
.custom-plan-invitation { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 28px; }
.custom-plan-invitation p { color: var(--color-muted); }
.custom-plan-invitation .text-link { text-decoration-color: var(--color-dark); }
.custom-plan { border-block: 1px solid var(--color-border); background: var(--color-white); }
.custom-plan-layout { display: grid; gap: 32px; }
.custom-plan-description { color: var(--color-muted); margin-top: 24px; }
.custom-plan-aside { border-left: 2px solid var(--color-accent); padding-left: 16px; margin-top: 28px; font-weight: 600; }
.custom-plan-form { min-width: 0; }
.custom-fields { display: grid; gap: 24px; }
.form-field { min-width: 0; }
.form-field label { display: block; font-weight: 600; line-height: 1.5; margin-bottom: 10px; }
.field-optional { color: var(--color-muted); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 52px; border: 1px solid var(--color-border); border-radius: var(--radius-button); background: var(--color-background); color: var(--color-dark); padding: 12px 14px; font-size: 16px; line-height: 1.5; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--color-muted); opacity: 1; }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: var(--color-muted); }
.field-hint { color: var(--color-muted); font-size: 16px; margin-top: 6px; }
.custom-plan-help { color: var(--color-muted); margin-top: 24px; }
.custom-plan-submit { margin-top: 24px; width: 100%; cursor: pointer; }
.custom-plan-submit:hover { background: var(--color-dark); color: var(--color-white); }
.custom-plan-status { margin-top: 20px; padding: 16px; border-left: 2px solid var(--color-accent); background: var(--color-background); overflow-wrap: anywhere; }
.custom-plan-status:empty { display: none; }
.custom-plan-status a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.custom-plan-noscript { margin-top: 20px; padding: 16px; background: var(--color-background); }
.custom-plan-noscript a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Dúvidas nativas */
.faq { background: var(--color-white); }
.faq-layout { display: grid; gap: 32px; }
.faq-list details { border-top: 1px solid var(--color-border); }
.faq-list details:last-child { border-bottom: 1px solid var(--color-border); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding-block: 20px; cursor: pointer; font-weight: 600; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { text-decoration: underline; text-underline-offset: 5px; }
.faq-indicator { flex: 0 0 16px; position: relative; width: 16px; height: 16px; }
.faq-indicator::before, .faq-indicator::after { content: ""; position: absolute; background: var(--color-dark); }
.faq-indicator::before { top: 7px; left: 0; width: 16px; height: 1.5px; }
.faq-indicator::after { left: 7px; top: 0; height: 16px; width: 1.5px; }
details[open] .faq-indicator::after { display: none; }
.faq-answer { color: var(--color-muted); padding: 0 28px 24px 0; }
.faq-answer p + p { margin-top: 16px; }

/* Contato e rodapé */
.contact { background: var(--color-dark); color: var(--color-white); padding-top: 48px; }
.contact-layout { display: grid; gap: 30px; padding-bottom: 48px; }
.contact-eyebrow { color: var(--color-accent); margin-bottom: 20px; }
.contact h2 { max-width: 640px; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.15; }
.contact-description { margin-top: 20px; color: var(--color-dark-muted); }
.contact-actions .button { width: 100%; }
.contact-actions p { color: var(--color-dark-muted); font-size: 16px; margin-top: 12px; text-align: center; }
.contact-actions p span { margin-left: 5px; }
.contact-instagram { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-white); text-decoration-color: #6c7e68; }
.contact-instagram:hover { color: var(--color-accent); text-decoration-color: currentColor; }
.desktop-break { display: none; }
.site-footer { border-top: 1px solid #344a30; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 28px; }
.site-footer > p { color: var(--color-dark-muted); font-size: 16px; }
.instagram-link { font-size: 16px; gap: 9px; }

/* Telas intermediárias */
@media (min-width: 600px) {
  .hero h1 { max-width: 780px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 28px; }
  .hero-actions .button { width: auto; }
  .hero-eyebrow { font-size: 12px; }
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-badge-row, .plan-badge-row:has(.plan-badge) { min-height: 27px; margin-bottom: 20px; }
  .contact-actions { justify-self: start; }
  .custom-plan-invitation { flex-direction: row; align-items: center; justify-content: center; gap: 16px; }
  .custom-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-field-wide { grid-column: 1 / -1; }
  .custom-plan-form .form-field label { min-height: 48px; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0 4px; }
  .custom-plan-form .form-field-wide label { min-height: auto; }
}

@media (min-width: 768px) {
  .positioning-mobile { display: none; }
  .positioning-desktop { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 16px; font-weight: 600; }
  .positioning-desktop li + li::before { content: ""; display: inline-block; vertical-align: middle; margin-right: 22px; width: 5px; height: 5px; background: var(--color-accent); transform: rotate(45deg); }
}

/* Desktop */
@media (min-width: 900px) {
  :root { --section-space: 80px; --header-height: 80px; }
  .site-header { position: sticky; }
  .header-layout { min-height: 80px; flex-wrap: nowrap; }
  .brand-slot { width: 196px; height: 44px; }
  .brand-image { height: 40px; }
  .brand-fallback { font-size: 34px; }
  .primary-navigation { flex-direction: row; align-items: center; gap: 28px; width: auto; padding: 0; }
  .primary-navigation > a { font-size: 14px; min-height: 44px; }
  .primary-navigation .header-contact { margin-top: 0; min-height: 44px; padding: 10px 18px; gap: 22px; }
  .navigation-enhanced .primary-navigation { border-top: 0; }
  .hero { padding-block: 65px 80px; }
  .hero-eyebrow { margin-bottom: 30px; }
  .hero h1 { font-size: clamp(64px, 5.84vw, 84px); max-width: 1000px; line-height: 1.05; }
  .hero-first-line, .hero-second-line, .hero-emphasis { display: block; }
  .hero-description { font-size: 18px; margin-top: 30px; }
  .hero-layout { row-gap: 32px; }
  .hero-layout.has-hero-image { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "content visual" "actions visual"; column-gap: 40px; row-gap: 32px; }
  .has-hero-image .hero-content { grid-area: content; }
  .has-hero-image .hero-visual { grid-area: visual; }
  .has-hero-image h1 { font-size: clamp(48px, 5.2vw, 72px); }
  .has-hero-image .hero-first-line { display: inline; }
  .has-hero-image .hero-actions { grid-area: actions; flex-wrap: wrap; gap: 16px 24px; }
  .positioning-strip { padding-block: 25px; }
  .positioning-desktop { justify-content: center; gap: 64px; font-size: 16px; }
  .positioning-desktop li + li::before { margin-right: 64px; }
  .services-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 44px; align-items: center; }
  .section-eyebrow { margin-bottom: 22px; }
  .services-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .service { display: block; padding: 4px 20px; border-top: 0; border-left: 1px solid var(--color-border); }
  .service:last-child { border-bottom: 0; }
  .service:nth-child(n + 3) { border-top: 1px solid var(--color-border); padding-top: 24px; }
  .service-icon { margin: 0 0 28px; }
  .service h3 { font-size: 18px; line-height: 1.4; }
  .process-inner { padding-block: 40px 44px; }
  .process .section-eyebrow { margin-bottom: 28px; }
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .process-list li { border-top: 0; padding-block: 0; gap: 12px; }
  .process-list li + li { border-left: 1px solid var(--color-border); padding-left: 28px; }
  .process h3 { font-size: 18px; }
  .plans-heading { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; gap: 60px; margin-bottom: 44px; }
  .plans-heading > p { justify-self: end; padding-bottom: 4px; }
  .plans-grid { gap: 20px; }
  .faq-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 44px; }
  .custom-plan-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 64px; }
  .custom-plan-submit { width: auto; min-width: 300px; }
  .faq-list summary { min-height: 82px; font-size: 18px; }
  .contact { padding-top: 72px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr) auto; gap: 60px; align-items: center; padding-bottom: 72px; }
  .contact-actions { justify-self: end; }
  .desktop-break { display: initial; }
  .site-footer { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; }
  .site-footer > p { font-size: 16px; }
  .footer-brand { width: 156px; height: 44px; }
  .footer-brand .brand-image { height: 32px; }
  .footer-brand .brand-fallback { font-size: 29px; }
}

@media (min-width: 1200px) {
  .services-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .services .section-intro { max-width: 720px; }
  .services-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .service { padding-inline: 24px; }
  .service:first-child { border-left: 0; padding-left: 0; }
  .service:nth-child(n + 3) { border-top: 0; padding-top: 4px; }
  .plans-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .plan-card { padding: 24px; }
  .plan-card h3 { font-size: 27px; }
  .plan-description { min-height: 130px; }
  .plan-category { min-height: 32px; margin-bottom: 14px; }
  .plan-button { font-size: 16px; padding-inline: 12px; }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
