/* Home da AMA Growth (/). Referência visual aprovada: arte "reference-approved" (sem imagens: tudo é HTML + CSS).
   Blocos, na ordem da página: Header · Hero · Nosso método · As 3 frentes · Soluções · Diagnóstico + formulário · Rodapé.
   Fontes hospedadas aqui mesmo (assets/fonts): Newsreader nos títulos e Manrope nos textos. Medidas calibradas para a referência em 1366 px de largura. */
@font-face{font-family:"Newsreader";font-weight:400;font-style:normal;font-display:swap;src:url(../assets/fonts/newsreader-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Newsreader";font-weight:400;font-style:italic;font-display:swap;src:url(../assets/fonts/newsreader-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"Newsreader";font-weight:700;font-style:normal;font-display:swap;src:url(../assets/fonts/newsreader-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-weight:400;font-style:normal;font-display:swap;src:url(../assets/fonts/manrope-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-weight:500;font-style:normal;font-display:swap;src:url(../assets/fonts/manrope-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-weight:600;font-style:normal;font-display:swap;src:url(../assets/fonts/manrope-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-weight:700;font-style:normal;font-display:swap;src:url(../assets/fonts/manrope-latin-700-normal.woff2) format("woff2")}

/* ---------------------------------------------------------------- tokens */
:root {
  /* cores */
  --background: #FCFBF8;
  --background-alt: #FFFFFF;
  --navy: #000E1C;                   /* o azul-marinho da página: textos, botões, linhas, ícones e bordas (nenhuma cor quente na página) */
  --navy-hover: #000E1C;
  --title-gray: #3F4A55;             /* cor dos títulos dos blocos CLAROS (hero, frentes, diagnóstico); os blocos azuis #000E1C mantêm títulos brancos */
  --button: #000E1C;                 /* botões principais (header, hero e formulário): fundo sólido */
  --button-hover: #000E1C;
  --focus-ring: #000E1C;             /* contorno de foco por teclado dos botões */
  --ink: var(--navy);
  --text: #172433;
  --muted: #607080;
  --line: rgba(0, 14, 28, .22);
  --line-strong: rgba(0, 14, 28, .32);
  --border: rgba(0, 14, 28, .18);
  --danger: #B3402F;

  /* tipografia (fluida entre o celular e 1366 px; acima disso para de crescer) */
  --serif: "Newsreader", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --text-weight: 500;                /* os textos de explicação saem em peso médio: o Manrope regular é leve demais sobre o branco */
  --sans: "Manrope", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-nav: clamp(14px, 1.27vw, 17.4px);
  --fs-eyebrow: clamp(11px, 1.135vw, 15.5px);
  --eyebrow-track: .46em;
  --fs-h1: clamp(36px, 4.6vw, 64px);
  --fs-h2: clamp(30px, 3.6vw, 52px);
  --fs-h2-diagnosis: clamp(30px, 3.1vw, 43px);
  --fs-intro: clamp(17px, 1.69vw, 23.2px);
  --fs-lead: clamp(17px, 1.625vw, 22.4px);
  --fs-benefit: clamp(15px, 1.52vw, 21px);
  --fs-label: clamp(15px, 1.29vw, 17.6px);

  /* layout */
  --container: 1240px;
  --gutter: 24px;
  --header-h: 85px;
  --section-y: clamp(40px, 3.1vw, 46px);
  --radius-card: 10px;
  --radius-field: 6px;
  --radius-button: 6px;
  --shadow-soft: 0 10px 30px rgba(0, 14, 28, .05);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background-alt);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: var(--text-weight);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid rgba(0, 14, 28, .6); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: var(--radius-button); font-size: 14px; }
.skip-link:focus { top: 12px; }

section[id], header[id] { scroll-margin-top: var(--header-h); }
.section { padding-block: var(--section-y); }
/* Fundos de ponta a ponta: a página é toda branca #FFFFFF (as artes aprovadas do hero, do método, das frentes e das soluções são brancas) e o rodapé também. O bege do site, #FCFBF8, fica disponível na classe section-bege, que hoje nenhum bloco usa. */
.section { background: var(--background-alt); }
.section-bege { background: var(--background); }

/* ---------------------------------------------------------------- tipografia compartilhada */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); -webkit-text-stroke: .012em currentColor; }
h1 { font-size: var(--fs-h1); line-height: 1; letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.02em; }
h1 em, h2 em { font-style: normal; }   /* o destaque da segunda parte do título tem a mesma cor do resto */

/* ---------------------------------------------------------------- botões */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 32px;
  border: 1px solid var(--button); border-radius: var(--radius-button);
  background: var(--button); color: #fff;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.button:hover { background: var(--button-hover); border-color: var(--button-hover); }
.button:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
.button span { font-weight: 500; }
.button-header { min-height: 56px; padding: 0 30px; font-size: clamp(14px, 1.13vw, 15.5px); }
.button-large { min-height: 68px; padding: 0 58px; font-size: clamp(17px, 1.46vw, 20px); }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #000E1C;                 /* cabeçalho azul-marinho sólido; logo, menu e controles em branco */
  border-bottom: 1px solid rgba(0, 14, 28, .08);
}
.header-inner { min-height: var(--header-h); display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; margin-right: clamp(0px, 5.2vw, 70px); }
.brand img { display: block; height: 44px; width: auto; }   /* logo da AMA Growth: branco no cabeçalho marinho, preto no rodapé branco (mesmo desenho, só o preenchimento muda) */
.desktop-nav { flex: 1; display: flex; justify-content: center; gap: clamp(28px, 3.8vw, 52px); font-size: var(--fs-nav); font-weight: 500; color: #FFFFFF; }
.desktop-nav a { padding: 8px 0; transition: color .2s ease; }
.desktop-nav a:hover { color: #FFFFFF; text-decoration: underline; text-decoration-color: #FFFFFF; text-underline-offset: 8px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; margin: 6px auto; background: #FFFFFF; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-nav { display: flex; flex-direction: column; gap: 6px; padding: 12px var(--gutter) 28px; background: #000E1C; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mobile-nav a:not(.button) { padding: 14px 0; font-size: 18px; color: #FFFFFF; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mobile-nav .button { margin-top: 18px; }
/* Botão do cabeçalho (e o do menu do celular): branco com texto e seta marinho, também com o mouse em cima. Foco por teclado em branco, visível sobre o marinho. */
.site-header .button, .site-header .button:hover { background: #FFFFFF; border-color: #FFFFFF; color: #000E1C; }
.site-header .button:focus-visible, .site-header a:focus-visible, .menu-toggle:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 4px; }

/* ---------------------------------------------------------------- Hero: css/hero.css (bloco isolado, classes .ama-hero) */

/* ---------------------------------------------------------------- Nosso método: css/metodo.css (bloco isolado, classes .ama-method) */

/* ---------------------------------------------------------------- As 3 frentes da execução */
/* ---------------------------------------------------------------- As 3 frentes da execução: css/execucao.css (bloco isolado, classes .ama-execution) */

/* ---------------------------------------------------------------- Soluções: css/solucoes.css (bloco isolado, classes .ama-solutions) */

/* ---------------------------------------------------------------- Diagnóstico + formulário: css/diagnostico.css (bloco isolado, classes .ama-diagnostic) */

/* ---------------------------------------------------------------- Rodapé */
.site-footer { background: var(--background-alt); color: var(--navy); padding-block: 56px 30px; border-top: 1px solid rgba(0, 14, 28, .12); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.site-footer .brand { margin-right: 0; }
.footer-nav, .social-links, .legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; font-size: 15.5px; font-weight: 500; }
.footer-nav { flex: 1; justify-content: center; }
.social-links { justify-content: flex-end; }
.site-footer a { transition: color .2s ease; }
.site-footer nav a:hover { text-decoration: underline; text-decoration-color: var(--navy); text-underline-offset: 6px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(0, 14, 28, .12); }
.copyright { margin: 0; font-size: 14.5px; color: var(--navy); }
.legal-links { gap: 10px 28px; font-size: 14.5px; font-weight: var(--text-weight); color: var(--navy); }

/* ---------------------------------------------------------------- tablet e celular */
@media (max-width: 1100px) {
  .header-inner { gap: 24px; }
  .footer-main { gap: 24px; }
  .footer-nav, .social-links { gap: 10px 22px; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .desktop-nav, .header-inner > .button-header { display: none; }
  .menu-toggle { display: block; }
  .brand { margin-right: 0; }
  .mobile-nav[hidden] { display: none !important; }


  .footer-main { flex-direction: column; gap: 28px; }
  .footer-nav, .social-links { flex: none; justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 14px; margin-top: 32px; text-align: center; }
  .legal-links { justify-content: center; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --section-y: 64px; }
  .brand img { height: 36px; }
  h1 { font-size: clamp(32px, 9.8vw, 44px); text-wrap: balance; }
  h2 { font-size: clamp(27px, 7.6vw, 34px); text-wrap: balance; }
  h1 em, h2 em { display: block; }
  .button, .button-large { width: 100%; max-width: 400px; min-height: 60px; padding-inline: 24px; font-size: 17px; white-space: normal; text-align: center; }
  .site-footer { padding-block: 44px 28px; }
  .footer-nav, .social-links { gap: 10px 18px; font-size: 15px; }
}


@media (min-width: 1700px) {
  :root { --container: 1280px; }
}
@media (min-width: 2300px) {
  :root { --container: 1320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
