/* =====================================================================
   CERTO · estilos do site (todas as páginas, inclusive a home)
   Direção: fundo claro com blocos escuros. Fonte: Manrope, letras juntas.
   Para mudar uma cor, mude só no :root.
   ===================================================================== */

@view-transition { navigation: auto; }

:root {
  --bg: #F4F0EA;          /* fundo da página */
  --card: #FBF9F5;        /* cartões claros */
  --ink: #131313;         /* texto e blocos pretos */
  --mute: #5C574F;        /* texto de apoio sobre claro */
  --line: rgba(19, 19, 19, 0.10);
  --dark: #131313;        /* blocos pretos */
  --dark-2: #1F1E1C;      /* cartões dentro do bloco preto */
  --bege: #E8DFD3;        /* texto sobre preto e bloco bege */
  --dmute: #A8A196;       /* apoio sobre preto */
  --accent: #D97757;      /* terracota: só detalhes */
  --accent-ink: #B4553A;  /* terracota legível sobre fundo claro */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --track-h: -0.065em;    /* espaçamento dos títulos (no Canva: -65 a -75) */
  --track-b: -0.02em;     /* espaçamento do texto (no Canva: -20) */
  --r: 28px;              /* canto dos blocos */
  --pad: clamp(28px, 5vw, 72px);   /* respiro interno dos blocos: os textos de fora seguem a mesma margem */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --inout: cubic-bezier(0.76, 0, 0.24, 1);
  --gut: max(16px, 4vw);
  --wrap: 1360px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { background: var(--bg); }
body { margin: 0; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; letter-spacing: var(--track-b); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: var(--ink); color: var(--bege); }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
img { max-width: 100%; }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.4s; animation-timing-function: var(--ease); }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- Estrutura ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(16px, 1.6vw, 24px); }
main.wrap { display: flex; flex-direction: column; gap: 16px; }
.logo { display: inline-block; font-weight: 800; letter-spacing: -0.06em; line-height: 1; white-space: nowrap; text-decoration: none; }

/* ---------- Menu (fixo no topo ao rolar) ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(244, 240, 234, 0.86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { font-size: 28px; }
.nav { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.nav a { padding: 9px 16px; border-radius: 999px; text-decoration: none; color: var(--mute); transition: color 0.25s ease, background-color 0.25s ease; }
.nav a:hover { color: var(--ink); background: rgba(19, 19, 19, 0.05); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--bege); }
.menu-btn { display: none; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
@media (max-width: 900px) { .nav { display: none; } .menu-btn { display: inline-flex; align-items: center; } .brand { font-size: 26px; } }

.mnav { position: fixed; inset: 0; z-index: 40; display: none; flex-direction: column; background: var(--bg); overflow-y: auto; padding: 16px clamp(16px, 1.6vw, 24px) 32px; }
.mnav.open { display: flex; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; padding-block: 0 8px; }
.mnav-top .logo { font-size: 26px; }
.mnav ul { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mnav li a { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); font-size: 24px; font-weight: 600; letter-spacing: -0.04em; text-decoration: none; }
.mnav li a[aria-current="page"] { background: var(--ink); color: var(--bege); border-color: var(--ink); }
.mnav .btn { margin-top: 20px; align-self: flex-start; }
html.m-lock, html.m-lock body { overflow: hidden; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; transition: transform 0.4s var(--out), background-color 0.3s ease, color 0.3s ease; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform 0.4s var(--out); }
.btn:hover svg { transform: translateX(4px); }
.btn-dark { background: var(--ink); color: var(--bege); }
.btn-dark:hover { background: #2A2926; }
.btn-light { background: var(--accent); color: var(--ink); }   /* botão principal em terracota */
.btn-light:hover { background: #E38D70; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform 0.35s var(--out); }
.more:hover svg { transform: translateX(3px); }

/* ---------- Blocos ---------- */
.blk { position: relative; border-radius: var(--r); padding: var(--pad); overflow: hidden; }
.blk.card { background: var(--card); border: 1px solid var(--line); }
.blk.dark { background: var(--dark); color: var(--bege); }
.blk.bege { background: var(--bege); }
.flat { padding: clamp(28px, 4vw, 56px) var(--pad) 4px; }
.flat > .cards, .flat > .faq, .flat > .blk, .flat > .row { margin-inline: calc(-1 * var(--pad)); }   /* cartões ocupam a largura toda; títulos alinham com o texto dos blocos */

.tag { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.dark .tag { color: var(--dmute); }
.tag::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }   /* o ponto do símbolo marcando cada seção */
.achado .tag::before, .achados .tag::before { display: none; }
.h1, .h2, .h3, .big { font-weight: 600; letter-spacing: var(--track-h); text-wrap: balance; }
.h1 { margin: 0; font-size: clamp(44px, 7.2vw, 112px); line-height: 0.96; }
.h2 { margin: 18px 0 0; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.0; max-width: 16em; }
.h3 { margin: 0; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.12; letter-spacing: -0.04em; }
.big { margin: 0; font-size: clamp(34px, 5.4vw, 80px); line-height: 0.98; max-width: 14em; }
.lead { margin: 22px 0 0; max-width: 34em; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--mute); }
.dark .lead { color: var(--dmute); }
.hl { color: var(--accent-ink); }
.dark .hl { color: var(--accent); }
.txt { max-width: 42em; }
.txt p { margin: 0 0 1em; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.62; color: #3B3833; }
.txt p:last-child { margin-bottom: 0; }
.dark .txt p { color: #CFC7BB; }
.txt strong { color: var(--ink); font-weight: 700; }
.txt a, .lnk { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.split { display: flex; flex-wrap: wrap; gap: 28px 64px; }
.split > :first-child { flex: 1 1 260px; }
.split > :last-child { flex: 2 1 460px; min-width: 0; }
@media (min-width: 900px) { .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); } }   /* coluna do texto sempre no mesmo lugar */
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: clamp(28px, 4vh, 44px); }
.head-row .more { margin-top: 0; }

/* Cartões em grade */
.cards { display: flex; flex-wrap: wrap; gap: 12px; }
.cards > * { flex: 1 1 260px; min-width: 0; }
.cards.three > * { flex-basis: 340px; }
.c { display: flex; flex-direction: column; justify-content: flex-start; gap: 36px; min-height: 200px; padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.dark .c { background: var(--dark-2); border-color: transparent; }
.c .n { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--mute); }
.dark .c .n { color: var(--dmute); }
.c p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--mute); }
.dark .c p { color: #B5AEA4; }
.c a { font-weight: 600; }
a.c { text-decoration: none; transition: transform 0.45s var(--out), border-color 0.3s ease; }
a.c:hover { transform: translateY(-4px); border-color: rgba(19, 19, 19, 0.24); }

/* Lista de etapas (página Método e Sorocaba) */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.steps li { flex: 1 1 210px; display: flex; flex-direction: column; gap: 26px; min-height: 230px; padding: 26px; border-radius: 22px; background: var(--dark-2); }
.steps .n { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--dmute); }
.steps p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.55; color: #B5AEA4; }
.steps a { color: var(--bege); font-weight: 600; text-underline-offset: 4px; }
.steps .tc { color: var(--accent); font-style: normal; }

/* Lista simples com fio */
.plain { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); max-width: 44em; }
.plain li { padding: 18px 0; border-top: 1px solid var(--line); font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.035em; }

/* Etiquetas em linha */
.chips { list-style: none; margin: 24px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 10px 18px; border-radius: 999px; background: var(--dark-2); color: var(--bege); font-size: 15px; font-weight: 600; }
.chips li span { margin-right: 8px; color: var(--accent); }

/* Tabela (rola na horizontal no celular, dentro do bloco) */
.cmp-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.cmp th, .cmp td { padding: 18px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.cmp thead th { border-top: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.cmp thead th.us { color: var(--ink); }
.cmp tbody th { width: 20%; font-weight: 600; color: var(--mute); }
.cmp td.us { font-weight: 600; color: var(--ink); background: rgba(232, 223, 211, 0.45); }
.cmp td { color: var(--mute); }
.cmp-note { margin: 12px 0 0; color: var(--mute); font-size: 13.5px; }
@media (min-width: 700px) { .cmp-note { display: none; } }

/* Perguntas frequentes */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; cursor: pointer; font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bege); font-size: 20px; font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; background: var(--accent); color: var(--ink); }
.faq .ans { padding: 0 26px 24px; max-width: 46em; }
.faq .ans p { margin: 0; font-size: 17px; line-height: 1.62; color: #3B3833; }
.faq .ans a { font-weight: 600; text-underline-offset: 4px; }

/* Fundador */
.fundador { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; }
.fundador img { flex: 0 1 340px; width: 340px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; border-radius: 22px; }
.fundador > div { flex: 1 1 340px; max-width: 36em; }
.role { margin: 6px 0 0; font-size: 15px; color: var(--mute); }

/* ---------- Abertura das páginas internas ---------- */
.page-head { padding: clamp(40px, 9vh, 110px) var(--pad) clamp(28px, 5vh, 56px); }
.crumbs { margin: 0 0 22px; font-size: 14px; color: var(--mute); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-head .h1 { max-width: 13em; margin-top: 18px; }

/* título entra palavra por palavra, do desfocado ao nítido */
.js-on [data-words] .w { display: inline-block; opacity: 0; transform: translateY(0.3em); filter: blur(8px); transition: opacity 0.8s ease, transform 1s var(--out), filter 0.9s ease; transition-delay: calc(var(--w) * 80ms + 60ms); }
.js-on [data-words].in .w { opacity: 1; transform: none; filter: blur(0); }
.js-on [data-words].done .w { filter: none; }

/* ---------- Abertura da home ---------- */
.hero { min-height: min(760px, calc(100svh - 92px)); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero-arc { position: absolute; right: -40px; top: -90px; width: 780px; height: 780px; pointer-events: none; }
.hero-arc path { fill: none; stroke: var(--bege); stroke-opacity: 0.18; stroke-width: 1.6; }
.hero-arc circle { fill: var(--accent); }
.hero-photo { position: absolute; right: 0; bottom: 0; width: min(38%, 470px); height: 92%; object-fit: cover; object-position: 50% 15%; -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%), linear-gradient(to top, #000 70%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to left, #000 55%, transparent 100%), linear-gradient(to top, #000 70%, transparent 100%); mask-composite: intersect; opacity: 0.92; }
.hero > :not(.hero-arc):not(.hero-photo) { position: relative; }
.hero .h1 { max-width: 9.5em; }
.hero .lead { color: #CFC7BB; max-width: 28em; }
.hero .lead strong { color: var(--bege); }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-foot span { font-size: 14px; color: var(--dmute); }
@media (max-width: 900px) {
  .hero-photo { position: relative; width: 100%; max-width: 360px; height: auto; aspect-ratio: 4 / 5; margin: 8px 0 -8px; border-radius: 20px; -webkit-mask-image: none; mask-image: none; order: 3; }
  .hero-arc { right: -380px; top: -240px; }
}

/* Achado em destaque (O que um diagnóstico encontra) */
.achado { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 48px; padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.achado .num { margin: 0; font-size: clamp(84px, 12vw, 180px); font-weight: 600; letter-spacing: -0.07em; line-height: 0.85; }
.achado > div { flex: 1 1 340px; max-width: 34em; }
.achados { display: flex; flex-wrap: wrap; gap: 24px 48px; padding-top: 28px; }
.achados > div { flex: 1 1 300px; }
.achados p, .achado p { margin: 8px 0 0; color: var(--mute); font-size: 16px; line-height: 1.5; }

/* ---------- Ritmo: blocos lado a lado e frase sem caixa ---------- */
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row > .blk { flex: 1 1 340px; min-width: 0; }
.row > .w2 { flex: 2 1 520px; }
.statement { padding: clamp(64px, 12vh, 160px) var(--pad); }
.statement .big { font-size: clamp(42px, 8vw, 128px); line-height: 0.95; max-width: 12.5em; }
.fund-card { display: flex; flex-direction: column; }
.fund-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 18px; }
.fund-bio { margin: 16px 0 0; font-size: 15.5px; line-height: 1.6; color: #3B3833; }
.prova-num { display: flex; flex-direction: column; }
.prova-num .num { margin: 28px 0 12px; font-size: clamp(84px, 10vw, 150px); font-weight: 600; letter-spacing: -0.07em; line-height: 0.85; }
.prova-num .sub { margin: 10px 0 0; font-size: 16px; color: var(--mute); }

/* ---------- Contato (fim de todas as páginas) ---------- */
.contact .big { max-width: 11em; }
.contact .hl { color: var(--accent); }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }
.alt-contact { margin: 0; color: var(--dmute); font-size: 15px; }
.contact .alt-contact a { color: var(--bege); font-weight: 600; text-underline-offset: 4px; }
.contact-arc { position: absolute; right: -220px; bottom: -330px; width: 720px; height: 720px; pointer-events: none; }
.contact-arc path { fill: none; stroke: var(--bege); stroke-opacity: 0.14; stroke-width: 1.6; }
.contact > :not(.contact-arc) { position: relative; }

/* ---------- Rodapé em colunas (bloco preto que fecha toda página) ---------- */
.foot { margin-top: 16px; padding: 0 0 112px; background: var(--dark); color: var(--bege); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 40px 56px; padding-block: 64px 48px; }
.foot-brand { flex: 2 1 280px; max-width: 26em; }
.foot-brand .logo { font-size: 36px; }
.foot-brand p { margin: 16px 0 0; font-size: 15px; line-height: 1.6; color: var(--dmute); }
.foot-col { flex: 1 1 160px; }
.foot-col h2 { margin: 0 0 16px; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--bege); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a, .foot-col li { font-size: 15px; color: var(--dmute); text-decoration: none; }
.foot-col a:hover { color: var(--bege); text-decoration: underline; text-underline-offset: 4px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(232, 223, 211, 0.18); color: var(--bege); transition: background-color 0.25s ease, color 0.25s ease; }
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; border-top: 1px solid rgba(232, 223, 211, 0.14); font-size: 14px; color: var(--dmute); }
.foot-legal a { color: var(--dmute); }
.foot-legal a:hover { color: var(--bege); }
.foot a:focus-visible { outline-color: var(--bege); }

/* ---------- Botão flutuante de WhatsApp ---------- */
.wa-fab {
  position: fixed; z-index: 15; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--ink); color: var(--bege); text-decoration: none; font-size: 14px; font-weight: 700;
  box-shadow: 0 10px 30px rgba(19, 19, 19, 0.22); border: 1px solid rgba(232, 223, 211, 0.22); transition: transform 0.4s var(--out);
}
.wa-fab svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wa-fab:hover { transform: translateY(-2px); }
html.m-lock .wa-fab, html.q-lock .wa-fab { display: none; }
@media (max-width: 520px) { .wa-fab { padding: 0 16px; } }

/* ---------- Entrada conforme a rolagem ---------- */
.js-on .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.95s var(--out); transition-delay: calc(var(--d, 0) * 90ms); }
.js-on .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  .js-on .rv, .js-on [data-words] .w { opacity: 1; transform: none; filter: none; transition: none; }
}
