/* ==========================================================================
   Escola Bosque das Letras
   Paleta extraída do site e do logotipo oficial.
   ========================================================================== */

:root {
  --teal-950: #01262b;
  --teal-900: #013439;
  --teal: #014951;
  --teal-600: #356d77;
  --teal-300: #8fb8bd;
  --paper: #f8f4ea;
  --paper-2: #f0e9d9;
  --paper-3: #e6dcc6;
  --ink: #102b2f;
  --ink-soft: #3d5559;
  --white: #fffdf8;

  --orange: #eb7229;
  --orange-700: #c9561a;
  --green: #009b4c;
  --blue: #00a5cb;
  --plum: #97355f;
  --magenta: #cc3366;
  --yellow: #f3c818;
  --red: #e33a32;

  --f-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --f-body: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --f-hand: 'Caveat', 'Segoe Print', cursive;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --radius-lg: 34px;
  --shadow-sm: 0 1px 2px rgba(1, 52, 57, .06), 0 4px 14px rgba(1, 52, 57, .06);
  --shadow: 0 2px 4px rgba(1, 52, 57, .05), 0 18px 40px -12px rgba(1, 52, 57, .22);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
  --header-bg: #e9e8e0;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--f-body); font-size: 1rem; line-height: 1.75; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
/* textura de papel */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 999; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; }
p, ul, ol, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--teal-950); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--orange); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.centro { display: flex; justify-content: center; margin-top: clamp(32px, 5vw, 56px); }

/* ---------- tipografia ---------- */
.titulo-secao {
  font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); letter-spacing: -.02em; color: var(--teal); text-wrap: balance;
}
.titulo-secao em { font-style: italic; font-weight: 500; color: var(--orange); }
.titulo-claro { color: var(--white); }
.titulo-menor { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.subtitulo-secao { font-family: var(--f-display); font-style: italic; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); color: var(--teal-600); margin-top: 8px; line-height: 1.4; text-wrap: balance; }
.sobretitulo { font-family: var(--f-hand); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--orange); line-height: 1; margin-bottom: 6px; transform: rotate(-2deg); transform-origin: left; display: inline-block; }
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); line-height: 1.7; color: var(--ink); }
.texto-corrido > * + * { margin-top: 1.1em; }
.texto-corrido p { color: var(--ink-soft); }
.texto-corrido .lead { color: var(--ink); }
.texto-colunas { columns: 2 320px; column-gap: clamp(28px, 5vw, 64px); margin-top: clamp(36px, 5vw, 56px); }
.texto-colunas p { break-inside: avoid; }

/* ---------- botões ---------- */
.btn {
  --bg: var(--orange); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: .6em; padding: .85em 1.5em; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; border: 2px solid var(--bg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s; isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--orange-700); transform: translateY(101%); transition: transform .4s var(--ease); border-radius: inherit; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(235, 114, 41, .65); }
.btn:hover::before { transform: translateY(0); }
.btn .btn-seta { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover .btn-seta { transform: translateX(4px); }
.btn-lg { font-size: 1.06rem; padding: 1em 1.8em; }
.btn-outline { --bg: transparent; --fg: var(--teal); border-color: var(--teal); }
.btn-outline::before { background: var(--teal); }
.btn-outline:hover { color: #fff; box-shadow: 0 12px 26px -12px rgba(1, 73, 81, .6); }
.btn-light { --bg: var(--white); --fg: var(--teal); }
.btn-light::before { background: var(--yellow); }
.btn-light:hover { box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .35); }

.pill { display: inline-flex; align-items: center; gap: .5em; padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--paper-3); background: var(--white); color: var(--teal); font-weight: 500; font-size: .92rem; text-decoration: none; transition: border-color .25s, background-color .25s, transform .3s var(--ease); }
.pill:hover { border-color: var(--teal); transform: translateY(-2px); }
.pill .icon { color: var(--orange); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { padding: .32em .85em; border-radius: 999px; background: rgba(1, 73, 81, .08); color: var(--teal); font-size: .84rem; font-weight: 500; line-height: 1.5; }
.tags--claro li { background: var(--white); border: 1px solid var(--paper-3); }

.link-seta { display: inline-flex; align-items: center; gap: .45em; color: var(--orange-700); font-weight: 600; text-decoration: none; font-size: .95rem; }
.link-seta .icon { transition: transform .3s var(--ease); }
.link-seta:hover .icon { transform: translateX(4px); }

/* ---------- ciclo de cores (balões do logo) ---------- */
.cor-0 { --c: var(--orange); --c-soft: #fde6d6; --c-ink: #fff; }
.cor-1 { --c: var(--green); --c-soft: #d5efe0; --c-ink: #fff; }
.cor-2 { --c: var(--blue); --c-soft: #d3eff6; --c-ink: #fff; }
.cor-3 { --c: var(--plum); --c-soft: #f1dbe5; --c-ink: #fff; }
.cor-4 { --c: var(--yellow); --c-soft: #fcf2c6; --c-ink: var(--teal-950); }
.cor-5 { --c: var(--red); --c-soft: #fadad8; --c-ink: #fff; }

/* ---------- seções ---------- */
.secao { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.secao--papel2 { background: var(--paper-2); }
.secao-cabeca { margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.secao-cabeca--centro { text-align: center; margin-inline: auto; }

/* papel rasgado na base das seções escuras */
.rasgo { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(22px, 3vw, 44px); color: var(--paper); z-index: 3; pointer-events: none; }
.rasgo--paper { color: var(--paper); }

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--header-bg); box-shadow: 0 1px 0 rgba(1, 73, 81, .1);
  transition: background-color .4s var(--ease), box-shadow .4s;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; z-index: 2; display: block; width: clamp(128px, 12vw, 158px); flex: none; }
.brand img { width: 100%; height: auto; transition: opacity .35s; }
.brand-claro { position: absolute; inset: 0; opacity: 0; }

/* ao rolar: fundo verde da marca e logo branco */
.site-header.is-solido { background: var(--teal); box-shadow: 0 10px 30px -14px rgba(1, 38, 43, .55); }
.site-header.is-solido .brand-claro { opacity: 1; }
.site-header.is-solido .brand-escuro { opacity: 0; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  position: relative; padding: .55em .8em; color: var(--teal); text-decoration: none; font-size: .93rem; font-weight: 500; letter-spacing: .005em; transition: color .25s;
}
.nav-link::after { content: ""; position: absolute; left: .8em; right: .8em; bottom: .25em; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.is-solido .nav-link { color: var(--white); }
.is-solido .nav-link::after { background: var(--yellow); }
.sub-toggle { display: grid; place-items: center; width: 26px; height: 26px; margin-left: -6px; border: 0; background: none; color: var(--teal); border-radius: 50%; }
.is-solido .sub-toggle { color: var(--white); }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 236px; padding: 10px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.sub a { display: block; padding: .6em .9em; border-radius: 12px; color: var(--teal); text-decoration: none; font-size: .93rem; font-weight: 500; transition: background-color .2s, padding-left .25s var(--ease); }
.sub a:hover { background: var(--paper-2); padding-left: 1.2em; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-aberto .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-sub:hover .sub-toggle .icon, .has-sub.is-aberto .sub-toggle .icon { transform: rotate(180deg); }
.nav-cta { padding: .7em 1.25em; font-size: .9rem; }
.nav-extra { display: none; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .menu-toggle {
    display: grid; gap: 5px; place-content: center; width: 48px; height: 48px; border-radius: 50%; border: 0; z-index: 2;
    background: rgba(1, 73, 81, .08); position: relative;
  }
  .is-solido .menu-toggle, .menu-aberto .menu-toggle { background: rgba(255, 255, 255, .14); }
  .menu-toggle-bar { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--teal); transition: transform .35s var(--ease), opacity .2s, background-color .3s; }
  .is-solido .menu-toggle-bar { background: var(--white); }
  .menu-aberto .menu-toggle-bar { background: var(--white) !important; }
  .menu-aberto .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-aberto .menu-toggle-bar:nth-child(2) { opacity: 0; }
  .menu-aberto .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px; background: var(--teal); overflow-y: auto;
    clip-path: circle(0 at calc(100% - 44px) 36px); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s;
  }
  .nav::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -140px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 60px rgba(255, 255, 255, .03); pointer-events: none; }
  .menu-aberto .nav { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; transition: clip-path .8s var(--ease); }
  .menu-aberto .brand-claro { opacity: 1 !important; }
  .menu-aberto .brand-escuro { opacity: 0 !important; }
  .menu-aberto .site-header { background: var(--teal); box-shadow: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .12); opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
  .menu-aberto .nav-item { opacity: 1; transform: none; transition-delay: calc(var(--i) * 60ms + 200ms); }
  .nav-link, .is-solido .nav-link { flex: 1; padding: .55em 0; color: var(--white); font-family: var(--f-display); font-size: clamp(1.6rem, 6vw, 2.1rem); font-weight: 500; }
  .nav-link::after { display: none; }
  .sub-toggle, .is-solido .sub-toggle { width: 44px; height: 44px; color: var(--white); margin: 0; }
  .sub-toggle .icon { width: 22px; height: 22px; }
  .sub { position: static; width: 100%; min-width: 0; padding: 0 0 12px; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub.is-aberto .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.is-aberto:hover .sub { display: block; }
  .sub a { color: rgba(255, 255, 255, .82); font-size: 1.05rem; padding: .45em 0 .45em 1em; }
  .sub a:hover { background: none; color: var(--yellow); }
  .nav-cta { align-self: flex-start; font-size: 1.05rem; padding: 1em 1.7em; }
  .nav-extra { display: grid; gap: 8px; margin-top: auto; }
  .nav-extra a { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .78); text-decoration: none; font-size: .95rem; }
  .nav-extra .icon { color: var(--yellow); }
  body.menu-aberto { overflow: hidden; }
}

/* ==========================================================================
   Topo da home: carrossel de banners (imagem desktop e mobile, sempre inteira)
   ========================================================================== */
:root { --hero-respiro: clamp(12px, 2vw, 24px); }
.hero {
  position: relative; max-width: 1600px; margin: var(--hero-respiro) auto 0; width: calc(100% - var(--hero-respiro) * 2);
  border-radius: clamp(18px, 2.4vw, 32px); background: var(--teal); overflow: hidden; isolation: isolate; box-shadow: var(--shadow);
}
/* os slides ficam empilhados na mesma célula: a altura é a da imagem, nada é cortado */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.hero-slide.is-ativo { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); z-index: 1; }
.hero-banner, .hero-banner img { display: block; width: 100%; height: auto; }
.hero-link { display: block; }
.hero-link:focus-visible { outline-offset: -6px; }

.hero-controles {
  position: absolute; left: 50%; bottom: clamp(12px, 2vw, 22px); z-index: 4; translate: -50% 0;
  display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 999px; background: rgba(1, 38, 43, .45); backdrop-filter: blur(6px);
}
.hero-seta { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; transition: background-color .25s, transform .3s var(--ease); }
.hero-seta:hover { background: var(--orange); transform: scale(1.06); }
.hero-pontos { display: flex; gap: 6px; }
.hero-pontos button { width: 36px; height: 24px; padding: 0; border: 0; background: none; display: grid; align-items: center; }
.hero-pontos button span { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.hero-pontos button span::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.hero-pontos button[aria-selected="true"] span::after { animation: progresso var(--hero-tempo, 7s) linear forwards; }
.hero.is-pausado .hero-pontos button[aria-selected="true"] span::after { animation-play-state: paused; }
@keyframes progresso { to { transform: scaleX(1); } }
@keyframes subir { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (max-width: 700px) {
  .depoimento blockquote p { font-size: 1rem; }
}

/* ==========================================================================
   Números
   ========================================================================== */
.numeros { position: relative; z-index: 4; margin-top: clamp(20px, 3vw, 36px); }
.numeros-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 28px) clamp(12px, 2vw, 16px); }
.numero { display: flex; flex-direction: column; gap: 6px; padding: 8px clamp(14px, 2vw, 26px); border-left: 1px dashed var(--paper-3); }
.numero:first-child { border-left: 0; }
.numero-valor { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.05; color: var(--teal); font-weight: 500; }
.numero-valor b { font-weight: 700; color: var(--orange); font-variant-numeric: tabular-nums; }
.numero-rotulo { font-size: .86rem; line-height: 1.45; color: var(--ink-soft); }
@media (max-width: 860px) {
  .numeros-grid { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .numero:nth-child(3) { border-left: 0; }
}

/* ==========================================================================
   Por que escolher (home) e benefícios (sobre)
   ========================================================================== */
.motivos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.motivo {
  position: relative; display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: var(--radius); background: var(--white);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.motivo::before { content: ""; position: absolute; width: 160px; height: 160px; right: -70px; top: -70px; border-radius: 50%; background: var(--c-soft); transform: scale(.4); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.motivo:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.motivo:hover::before { transform: scale(1); opacity: 1; }
.motivo p { position: relative; font-weight: 500; line-height: 1.45; color: var(--teal); font-size: 1rem; }
.motivo-num { position: absolute; right: 18px; bottom: 8px; font-family: var(--f-display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--c); opacity: .14; font-weight: 600; }
.motivo-icone {
  position: relative; flex: none; display: grid; place-items: center; width: 56px; height: 56px; color: var(--c-ink); background: var(--c);
  border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; transition: border-radius .6s var(--ease), transform .5s var(--ease);
}
.motivo-icone .icon { width: 26px; height: 26px; }
.motivo:hover .motivo-icone, .beneficio:hover .motivo-icone, .dif:hover .motivo-icone { border-radius: 54% 46% 40% 60% / 45% 58% 42% 55%; transform: rotate(-8deg) scale(1.06); }
@media (max-width: 980px) { .motivos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .motivos { grid-template-columns: 1fr; } }

.beneficios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.beneficio { position: relative; padding: 30px 28px 32px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); border-top: 5px solid var(--c); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.beneficio:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.beneficio-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.beneficio .motivo-num { position: static; opacity: .22; }
.beneficio h3 { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: 1.32rem; color: var(--teal); margin-bottom: 12px; text-wrap: balance; }
.beneficio p { font-size: .94rem; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 980px) { .beneficios-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .beneficios-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Segmentos
   ========================================================================== */
.segmentos { padding-top: 0; }
.segmentos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.segmento { position: relative; display: block; min-height: 440px; border-radius: var(--radius-lg); overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.segmento-foto, .segmento-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.segmento::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1, 38, 43, 0) 25%, rgba(1, 38, 43, .9) 100%); transition: background-color .4s; }
.segmento:hover .segmento-foto img { transform: scale(1.07); }
.segmento-corpo { position: absolute; inset: auto 0 0; padding: 28px; display: grid; gap: 6px; }
.segmento-icone { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--yellow); color: var(--teal-950); margin-bottom: 8px; }
.segmento-nome { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); font-weight: 600; line-height: 1.05; }
.segmento-sub { font-size: .95rem; line-height: 1.5; color: rgba(255, 253, 248, .85); max-width: 28ch; }
.segmento-seta { position: absolute; right: 24px; bottom: 28px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); transition: transform .45s var(--ease); }
.segmento:hover .segmento-seta { transform: rotate(-45deg) scale(1.08); }
.segmento:nth-child(2) { transform: translateY(32px); }
@media (max-width: 900px) {
  .segmentos-grid { grid-template-columns: 1fr; }
  .segmento { min-height: 340px; }
  .segmento:nth-child(2) { transform: none; }
}

/* ==========================================================================
   Depoimentos + carrossel
   ========================================================================== */
.depoimentos { background: var(--teal); color: var(--white); overflow: hidden; margin-top: clamp(32px, 5vw, 64px); }
.depoimentos-deco span { position: absolute; border-radius: 50%; pointer-events: none; }
.depoimentos-deco span:nth-child(1) { width: 420px; height: 420px; left: -160px; top: -120px; border: 1.5px solid rgba(255, 255, 255, .1); }
.depoimentos-deco span:nth-child(2) { width: 280px; height: 280px; right: -80px; bottom: -60px; background: radial-gradient(circle at 30% 30%, rgba(243, 200, 24, .25), transparent 65%); }
.carrossel { position: relative; max-width: 900px; margin-inline: auto; }
.carrossel-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; gap: 24px; }
.carrossel-trilho::-webkit-scrollbar { display: none; }
.depoimento { flex: 0 0 100%; scroll-snap-align: center; position: relative; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.depoimento-aspas { width: 54px; height: 54px; color: var(--yellow); margin-bottom: 20px; }
.depoimento blockquote p { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 400; font-size: clamp(1.05rem, .95rem + .55vw, 1.32rem); line-height: 1.65; color: rgba(255, 253, 248, .94); }
.depoimento figcaption { margin-top: 22px; font-family: var(--f-hand); font-size: 1.7rem; color: var(--yellow); line-height: 1; }
.carrossel-controles { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.carrossel-seta { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); background: none; color: #fff; transition: background-color .25s, border-color .25s; }
.carrossel-seta:hover { background: var(--orange); border-color: var(--orange); }
.carrossel-pontos { display: flex; gap: 8px; }
.carrossel-pontos button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .35); transition: width .4s var(--ease), background-color .3s; }
.carrossel-pontos button[aria-current="true"] { width: 32px; background: var(--yellow); }

/* ==========================================================================
   Conteúdos / posts
   ========================================================================== */
.conteudos-cabeca { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: none; }
.conteudos-redes { display: flex; flex-wrap: wrap; gap: 10px; }
.posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px); }
.posts-grid--um { grid-template-columns: minmax(0, 760px); }
.post-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-lg); background: var(--white); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-corpo { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; color: var(--ink-soft); }
.post-meta .icon { width: 16px; height: 16px; color: var(--orange); }
.post-card-titulo { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.2; color: var(--teal); }
.post-card-titulo a { text-decoration: none; background: linear-gradient(var(--yellow), var(--yellow)) 0 92% / 0 30% no-repeat; transition: background-size .5s var(--ease); }
.post-card:hover .post-card-titulo a { background-size: 100% 30%; }
.post-card-resumo { color: var(--ink-soft); font-size: .95rem; line-height: 1.65; }
.post-card .link-seta { margin-top: auto; }
@media (max-width: 760px) { .posts-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--paper-2); }
.faq-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-cabeca { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-apoio { margin: 14px 0 26px; color: var(--ink-soft); }
.faq-lista { display: grid; gap: 12px; }
.faq-item { border-radius: 18px; background: var(--white); box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-family: var(--f-body); font-size: 1.02rem; font-weight: 600; line-height: 1.45; color: var(--teal); }
.faq-sinal { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); transition: background-color .3s, transform .4s var(--ease); }
.faq-sinal::before, .faq-sinal::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; margin: -1px 0 0 -6.5px; border-radius: 2px; background: var(--teal); transition: transform .4s var(--ease), background-color .3s; }
.faq-sinal::after { transform: rotate(90deg); }
.faq-item[open] .faq-sinal { background: var(--orange); transform: rotate(180deg); }
.faq-item[open] .faq-sinal::before, .faq-item[open] .faq-sinal::after { background: #fff; }
.faq-item[open] .faq-sinal::after { transform: rotate(0); }
.faq-resposta { padding: 0 24px 22px; color: var(--ink-soft); font-size: .97rem; }
.faq-item[open] .faq-resposta { animation: abrir .45s var(--ease); }
@keyframes abrir { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 860px) { .faq-inner { grid-template-columns: 1fr; } .faq-cabeca { position: static; } }

/* ==========================================================================
   Faixa CTA
   ========================================================================== */
.cta-faixa { position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 130px); background: linear-gradient(120deg, var(--plum) 0%, var(--magenta) 100%); color: var(--white); isolation: isolate; }
.cta-baloes span { position: absolute; border-radius: 50%; z-index: -1; mix-blend-mode: screen; opacity: .55; animation: flutuar 14s ease-in-out infinite alternate; }
.cta-baloes span:nth-child(1) { width: 300px; height: 300px; left: -80px; bottom: -120px; background: var(--orange); }
.cta-baloes span:nth-child(2) { width: 180px; height: 180px; left: 140px; bottom: -60px; background: var(--yellow); animation-delay: -4s; opacity: .45; }
.cta-baloes span:nth-child(3) { width: 260px; height: 260px; right: -60px; top: -110px; background: var(--blue); animation-delay: -8s; opacity: .4; }
.cta-baloes span:nth-child(4) { width: 140px; height: 140px; right: 200px; top: -50px; background: var(--green); animation-delay: -2s; opacity: .5; }
@keyframes flutuar { to { transform: translate(24px, -18px) scale(1.06); } }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.cta-titulo { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: clamp(2.3rem, 1.4rem + 4.5vw, 4.6rem); letter-spacing: -.03em; line-height: 1; text-wrap: balance; }
.cta-titulo em { font-style: italic; font-weight: 400; color: var(--yellow); }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer { position: relative; background: var(--teal-900); color: rgba(255, 253, 248, .82); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr 1.4fr 1.3fr; gap: clamp(28px, 4vw, 48px); padding-block: clamp(56px, 7vw, 88px) 48px; }
.footer-logo img { width: 170px; }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .25s, transform .35s var(--ease); }
.social a:hover { background: var(--orange); transform: translateY(-3px); }
.social .icon { width: 19px; height: 19px; }
.footer-nav ul { display: grid; gap: 8px; list-style: none; padding: 0; }
.footer-nav a { color: rgba(255, 253, 248, .82); text-decoration: none; transition: color .2s, padding-left .25s var(--ease); }
.footer-nav a:hover { color: var(--yellow); padding-left: 4px; }
.footer-contato address { display: grid; gap: 16px; }
.footer-endereco { display: flex; gap: 10px; color: #fff; font-weight: 500; }
.footer-endereco .icon, .footer-fones .icon { color: var(--yellow); margin-top: .25em; }
.footer-acesso { font-size: .88rem; line-height: 1.7; color: rgba(255, 253, 248, .7); }
.footer-fones { display: grid; gap: 8px; }
.footer-fones li { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.footer-fones .icon { margin-top: .2em; }
.footer-fones a { color: #fff; text-decoration: none; }
.footer-fones a:hover { color: var(--yellow); }
.footer-mapa { border-radius: var(--radius); overflow: hidden; min-height: 240px; background: var(--teal); box-shadow: 0 0 0 6px rgba(255, 255, 255, .05); }
.footer-mapa iframe { width: 100%; height: 100%; min-height: 240px; border: 0; filter: saturate(.85); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.parceiros { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 28px 36px; }
.parceiros-titulo { font-family: var(--f-hand); font-size: 1.7rem; color: var(--yellow); margin-bottom: 16px; line-height: 1; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; display: grid; place-items: center; height: 92px; padding: 14px 26px; border-radius: 18px; background: var(--white); }
.marquee-track img { height: 52px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.marquee-track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }

.footer-base { background: var(--teal-950); padding-block: 18px; font-size: .84rem; color: rgba(255, 253, 248, .6); }
.footer-base-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topo { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 253, 248, .8); text-decoration: none; }
.topo .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background-color .25s, transform .3s var(--ease); }
.topo:hover .icon { background: var(--orange); transform: translateY(-3px); }

/* ==========================================================================
   Páginas internas: topo
   ========================================================================== */
.page-hero { position: relative; background: var(--teal); color: var(--white); padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 10vw, 128px); overflow: hidden; isolation: isolate; }
.page-hero-deco span { position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.page-hero-deco span:nth-child(1) { width: 520px; height: 520px; right: -140px; top: -180px; border: 1.5px solid rgba(255, 255, 255, .1); box-shadow: 0 0 0 70px rgba(255, 255, 255, .025); }
.page-hero-deco span:nth-child(2) { width: 180px; height: 180px; right: 14%; bottom: 30px; background: radial-gradient(circle at 35% 35%, rgba(235, 114, 41, .55), rgba(235, 114, 41, 0) 70%); }
.page-hero-deco span:nth-child(3) { width: 120px; height: 120px; left: 46%; top: 22%; background: radial-gradient(circle at 35% 35%, rgba(0, 155, 76, .45), rgba(0, 155, 76, 0) 70%); }
.page-hero-inner { position: relative; }
.page-hero-titulo { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: clamp(2.6rem, 1.5rem + 5vw, 5.2rem); letter-spacing: -.03em; line-height: 1; margin-top: 18px; text-wrap: balance; animation: subir .9s var(--ease) both; }
.page-hero-sub { margin-top: 18px; max-width: 46ch; color: rgba(255, 253, 248, .86); font-family: var(--f-display); font-style: italic; font-size: clamp(1.15rem, 1rem + .7vw, 1.55rem); line-height: 1.4; animation: subir .9s .12s var(--ease) both; }
.page-hero--foto .page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 64px); }
.page-hero-foto { position: relative; animation: subir 1s .2s var(--ease) both; }
.page-hero-foto::before { content: ""; position: absolute; width: 38%; aspect-ratio: 1; left: -8%; bottom: -10%; border-radius: 50%; background: var(--yellow); z-index: -1; }
.page-hero-foto::after { content: ""; position: absolute; width: 22%; aspect-ratio: 1; right: -4%; top: -8%; border-radius: 50%; background: var(--orange); z-index: -1; }
.page-hero-foto img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 180px 36px 180px 36px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }
@media (max-width: 900px) { .page-hero--foto .page-hero-inner { grid-template-columns: 1fr; } }

.migalhas ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: rgba(255, 253, 248, .7); }
.migalhas li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.migalhas a { color: rgba(255, 253, 248, .85); text-decoration: none; }
.migalhas a:hover { color: var(--yellow); }
.migalhas [aria-current] { color: var(--yellow); }

.subnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(248, 244, 234, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--paper-3); }
.subnav-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: .45em 1em; border-radius: 999px; color: var(--teal); text-decoration: none; font-size: .9rem; font-weight: 500; transition: background-color .25s, color .25s; }
.subnav a:hover, .subnav a.is-ativo { background: var(--teal); color: #fff; }

/* ==========================================================================
   Sobre
   ========================================================================== */
.historia-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.historia-foto { position: relative; }
.historia-foto img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.historia-foto::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px dashed var(--orange); border-radius: var(--radius-lg); z-index: -1; }
@media (max-width: 900px) { .historia-grid { grid-template-columns: 1fr; } .historia-foto::after { inset: 10px -8px -10px 10px; } }

.linha-tempo { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(48px, 7vw, 80px); padding-top: 34px; }
.linha-tempo::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; border-top: 2px dashed var(--teal-300); }
.linha-tempo li { position: relative; display: grid; gap: 4px; }
.linha-tempo li::before { content: ""; position: absolute; top: -34px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px var(--paper); }
.linha-tempo li:nth-child(2)::before { background: var(--green); }
.linha-tempo li:nth-child(3)::before { background: var(--blue); }
.lt-ano { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); font-weight: 600; color: var(--teal); line-height: 1; }
.lt-texto { color: var(--ink-soft); font-size: .95rem; max-width: 28ch; }
@media (max-width: 640px) {
  ol.linha-tempo { grid-template-columns: 1fr; padding-top: 0; padding-left: 36px; }
  .linha-tempo::before { top: 0; bottom: 0; left: 9px; right: auto; border-top: 0; border-left: 2px dashed var(--teal-300); }
  .linha-tempo li::before { top: 8px; left: -36px; }
}

.mvv { background: var(--teal); color: var(--white); padding-bottom: clamp(96px, 12vw, 150px); overflow: hidden; }
.mvv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 28px); }
.mvv-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.mvv-icone { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--teal-950); margin-bottom: 22px; }
.mvv-icone .icon { width: 26px; height: 26px; }
.mvv-card h3 { font-family: var(--f-hand); font-weight: 600; font-size: 2rem; color: var(--yellow); line-height: 1; margin-bottom: 14px; }
.mvv-card p { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); line-height: 1.6; color: rgba(255, 253, 248, .92); }
.raizes { margin-top: clamp(28px, 4vw, 44px); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--white); color: var(--ink); }
.raizes-titulo { display: flex; align-items: center; gap: 12px; font-family: var(--f-hand); font-weight: 600; font-size: 2.1rem; color: var(--orange); margin-bottom: 22px; line-height: 1; }
.raizes-titulo .icon { color: var(--green); width: 32px; height: 32px; }
.raizes-lista { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; }
.raiz { display: flex; flex-direction: column; gap: 2px; padding: 12px 0 12px 18px; border-left: 4px solid var(--c); font-size: .95rem; color: var(--ink-soft); }
.raiz strong { color: var(--teal); font-weight: 600; }
.raiz > span[aria-hidden] { display: none; }
@media (max-width: 760px) { .mvv-grid, .raizes-lista { grid-template-columns: 1fr; } }

.proposta-intro { max-width: 820px; }
.principios { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: clamp(32px, 4vw, 48px) 0; }
.principios li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); color: var(--teal); font-weight: 500; line-height: 1.55; }
.check { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--green); color: #fff; }
.check .icon { width: 18px; height: 18px; stroke-width: 2.4; }
@media (max-width: 760px) { .principios { grid-template-columns: 1fr; } }
.proposta-dupla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.foto-organica img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 36px 160px 36px 160px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .proposta-dupla { grid-template-columns: 1fr; } }

.integra { margin-top: clamp(56px, 8vw, 96px); }
.integra .titulo-menor { margin-bottom: 28px; }
.integra-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.integra-card { position: relative; padding: 26px 22px 24px; border-radius: var(--radius); background: var(--c-soft); overflow: hidden; transition: transform .4s var(--ease), background-color .4s; }
.integra-card:hover { transform: translateY(-5px) rotate(.6deg); background: var(--c); }
.integra-card:hover h4, .integra-card:hover p, .integra-card:hover .integra-num { color: var(--c-ink); }
.integra-num { display: block; font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.1rem; color: var(--c); margin-bottom: 10px; transition: color .3s; }
.cor-4 .integra-num { color: #b08c00; }
.integra-card h4 { font-size: 1.02rem; font-weight: 600; line-height: 1.35; color: var(--teal); margin-bottom: 8px; transition: color .3s; }
.integra-card p { font-size: .9rem; line-height: 1.6; color: var(--ink-soft); transition: color .3s; }
@media (max-width: 1000px) { .integra-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .integra-grid { grid-template-columns: 1fr; } }

.proposta-fecho { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 8vw, 96px); }
.lista-check { display: grid; gap: 10px; margin-top: 16px; }
.lista-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.lista-check .icon { color: var(--green); margin-top: .3em; stroke-width: 2.4; }
.destaque { position: relative; padding: clamp(32px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--teal); color: var(--white); }
.destaque::before { content: "“"; position: absolute; top: -.3em; left: 24px; font-family: var(--f-display); font-size: 8rem; line-height: 1; color: var(--yellow); }
.destaque p { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-style: italic; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.5; }
@media (max-width: 860px) { .proposta-fecho { grid-template-columns: 1fr; } }

/* ==========================================================================
   Diferenciais
   ========================================================================== */
.dif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); grid-auto-flow: dense; }
.dif { position: relative; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.dif:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dif-corpo { padding: clamp(26px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; height: 100%; }
.dif-titulo { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.2; color: var(--teal); text-wrap: balance; }
.dif p { color: var(--ink-soft); font-size: .95rem; line-height: 1.7; }
.dif--destaque { grid-column: span 2; background: var(--teal); }
.dif--destaque .dif-titulo { color: var(--white); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.dif--destaque p { color: rgba(255, 253, 248, .86); font-size: 1.05rem; max-width: 52ch; }
.dif--destaque::after { content: ""; position: absolute; width: 260px; height: 260px; right: -70px; bottom: -90px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(243, 200, 24, .55), transparent 68%); }
.dif--largo, .dif--atividades { grid-column: span 2; }
.dif--foto { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; }
.dif-foto img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.dif-parceiros { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.dif-parceiros li { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--paper); font-size: .84rem; font-weight: 500; color: var(--teal); }
.dif-parceiros img { height: 30px; width: auto; max-width: 72px; object-fit: contain; border-radius: 999px; background: #fff; padding: 2px 6px; }
@media (max-width: 980px) {
  .dif-grid { grid-template-columns: 1fr 1fr; }
  .dif--foto { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dif-grid { grid-template-columns: 1fr; }
  .dif--destaque, .dif--largo, .dif--atividades, .dif--foto { grid-column: auto; }
}

/* ==========================================================================
   Segmentos: páginas
   ========================================================================== */
.seg-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .seg-grid { grid-template-columns: 1fr; } }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--teal-950); box-shadow: var(--shadow); cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; opacity: .9; }
.video:hover img { transform: scale(1.04); opacity: 1; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; box-shadow: 0 0 0 0 rgba(235, 114, 41, .6); animation: pulsar 2.4s infinite; transition: transform .35s var(--ease); }
.video:hover .video-play { transform: scale(1.1); }
.video-play .icon { width: 30px; height: 30px; margin-left: 4px; }
@keyframes pulsar { 70% { box-shadow: 0 0 0 22px rgba(235, 114, 41, 0); } 100% { box-shadow: 0 0 0 0 rgba(235, 114, 41, 0); } }

.nutrir-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.selo { position: relative; display: grid; place-items: center; align-content: center; gap: 8px; width: clamp(180px, 20vw, 240px); aspect-ratio: 1; border-radius: 50%; background: var(--green); color: #fff; text-align: center; font-family: var(--f-hand); font-size: clamp(1.6rem, 1.3rem + .8vw, 2rem); line-height: 1; padding: 28px; box-shadow: var(--shadow); }
.selo::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .5); animation: girar 40s linear infinite; }
.selo .icon { width: 44px; height: 44px; }
@keyframes girar { to { rotate: 360deg; } }
.nutrir .titulo-menor { margin-bottom: 8px; }
.destaque-frase { padding-left: 20px; border-left: 4px solid var(--orange); font-family: var(--f-display); font-style: italic; font-size: 1.18rem; line-height: 1.55; color: var(--teal) !important; }
@media (max-width: 760px) { .nutrir-grid { grid-template-columns: 1fr; justify-items: start; } }

.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 20px); }
.galeria--2 { grid-template-columns: 1.3fr 1fr; }
.galeria--3 .galeria-item:first-child { grid-row: span 2; }
.galeria--3 { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; }
.galeria-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform 1s var(--ease); }
.galeria--3 .galeria-item:first-child img { aspect-ratio: auto; }
.galeria-item:hover img { transform: scale(1.06); }
.galeria-zoom { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--teal); transform: scale(.6); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
.galeria-item:hover .galeria-zoom, .galeria-item:focus-visible .galeria-zoom { transform: none; opacity: 1; }
@media (max-width: 700px) { .galeria, .galeria--2, .galeria--3 { grid-template-columns: 1fr; } .galeria--3 .galeria-item:first-child { grid-row: auto; } .galeria--3 .galeria-item:first-child img { aspect-ratio: 3 / 2; } }

.lightbox { position: fixed; inset: 0; z-index: 1001; display: grid; place-items: center; padding: 24px; background: rgba(1, 26, 30, .92); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.lightbox.is-aberto { opacity: 1; visibility: visible; transition: opacity .35s; }
.lightbox figure { max-width: min(1200px, 100%); display: grid; gap: 12px; }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: 16px; transform: scale(.96); transition: transform .45s var(--ease); }
.lightbox.is-aberto img { transform: none; }
.lightbox figcaption { color: rgba(255, 255, 255, .8); text-align: center; font-size: .92rem; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; }
.lightbox button:hover { background: var(--orange); border-color: var(--orange); }
.lightbox-fechar { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 20px; top: 50%; translate: 0 -50%; }

.grupos-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.grupos { display: grid; gap: 10px; }
.grupo { display: flex; align-items: center; gap: 18px; padding: 12px 22px 12px 12px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.grupo:hover { transform: translateX(8px); }
.grupo-num { flex: none; display: grid; place-items: center; align-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c); color: var(--c-ink); font-family: var(--f-display); font-size: 1.7rem; font-weight: 700; line-height: .9; }
.grupo-num small { font-family: var(--f-body); font-size: .6rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.grupo-texto { color: var(--teal); font-weight: 500; line-height: 1.45; }
@media (max-width: 900px) { .grupos-grid { grid-template-columns: 1fr; } }

.frase-final { padding-block: clamp(56px, 8vw, 100px); }
.frase-grande { max-width: 980px; margin-inline: auto; text-align: center; font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); line-height: 1.3; color: var(--teal); text-wrap: balance; }

.aval-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.resultado { position: relative; padding: clamp(32px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--orange); color: #fff; box-shadow: var(--shadow); overflow: hidden; }
.resultado::after { content: ""; position: absolute; width: 200px; height: 200px; right: -60px; top: -60px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.resultado-titulo { font-family: var(--f-hand); font-size: 2.6rem; line-height: 1; margin-bottom: 14px; }
.resultado p { line-height: 1.7; }
.resultado-fecho { margin-top: 16px; font-family: var(--f-display); font-style: italic; font-size: 1.2rem; line-height: 1.5; }
@media (max-width: 900px) { .aval-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Blog: artigo
   ========================================================================== */
.leitura-progresso { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 101; }
.leitura-progresso span { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow), var(--orange)); transform-origin: left; transform: scaleX(0); }
.post-hero { position: relative; background: var(--teal); color: var(--white); padding: clamp(44px, 6vw, 80px) 0 clamp(140px, 16vw, 200px); overflow: hidden; isolation: isolate; }
.post-hero-inner { max-width: 900px; }
.post-titulo { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: clamp(2rem, 1.3rem + 3.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; margin-top: 18px; text-wrap: balance; animation: subir .9s var(--ease) both; }
.post-resumo { margin-top: 16px; color: rgba(255, 253, 248, .85); max-width: 60ch; animation: subir .9s .1s var(--ease) both; }
.post-meta--claro { margin-top: 18px; color: rgba(255, 253, 248, .75); }
.post-meta--claro .icon { color: var(--yellow); }
.post-layout { max-width: calc(800px + var(--gutter) * 2); }
.post-capa { position: relative; z-index: 4; margin-top: clamp(-130px, -12vw, -96px); }
.post-capa img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
.prosa { padding-block: clamp(40px, 6vw, 64px) 24px; font-size: 1.08rem; line-height: 1.85; color: var(--ink-soft); }
.prosa > * + * { margin-top: 1.15em; }
.prosa h2 { margin-top: 2em; font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); color: var(--teal); line-height: 1.2; }
.prosa strong { color: var(--ink); font-weight: 600; }
.prosa a { color: var(--orange-700); font-weight: 600; text-underline-offset: 3px; }
.prosa ul { padding-left: 0; list-style: none; display: grid; gap: .4em; }
.prosa ul li { position: relative; padding-left: 1.6em; }
.prosa ul li::before { content: ""; position: absolute; left: .2em; top: .72em; width: .55em; height: .55em; border-radius: 50%; background: var(--orange); }
.prosa .lista-check-prosa li::before { content: "✔"; top: 0; width: auto; height: auto; background: none; color: var(--green); font-weight: 700; }
.post-pergunta { padding: 22px 26px; border-radius: var(--radius); background: var(--paper-2); border-left: 5px solid var(--orange); font-family: var(--f-display); font-size: 1.22rem; line-height: 1.5; }
.post-pergunta strong { font-weight: 600; color: var(--teal); }
.post-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); padding: 28px 30px; border-radius: var(--radius-lg); background: var(--teal); color: var(--white); }
.post-cta p { flex: 1 1 280px; font-family: var(--f-display); font-size: 1.2rem; line-height: 1.4; }
.relacionados { background: var(--paper-2); }
.relacionados .titulo-menor { margin-bottom: 28px; }

/* ==========================================================================
   404
   ========================================================================== */
.pagina-404 { min-height: 70vh; }
.erro-num { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: .9; color: var(--yellow); }
.botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.segmentos-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ==========================================================================
   Revelação ao rolar
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visivel { opacity: 1; transform: none; }
.js .segmento[data-reveal].is-visivel:nth-child(2) { transform: translateY(32px); }
@media (max-width: 900px) { .js .segmento[data-reveal].is-visivel:nth-child(2) { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

@media print {
  .site-header, .cta-faixa, .footer-mapa, .parceiros, .leitura-progresso, .rasgo { display: none !important; }
  body::after { display: none; }
}

/* ajustes finos para celular */
@media (max-width: 700px) {
  .depoimento { padding: 28px 22px; }
  .depoimento blockquote p { font-size: 1rem; line-height: 1.6; }
  .depoimento-aspas { width: 40px; height: 40px; margin-bottom: 14px; }
  .secao { padding-block: 56px; }
  .numero { padding-inline: 10px; }
}

/* ==========================================================================
   Componentes do CMS (painel em /admin/)
   ========================================================================== */
/* banners do topo: sem JS, o primeiro slide aparece */
html:not(.js) .hero-slide:first-child { opacity: 1; visibility: visible; }
.hero-controles[hidden] { display: none; }

/* paginação do blog */
.paginacao { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: clamp(32px, 5vw, 56px); }
.paginacao a, .paginacao span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--white); color: var(--teal); text-decoration: none; font-weight: 600; box-shadow: var(--shadow-sm); transition: background-color .25s, color .25s; }
.paginacao a:hover { background: var(--teal); color: #fff; }
.paginacao .is-atual { background: var(--orange); color: #fff; }

/* documentos (marcador DOCS_<ID>) */
.cms-docs { display: grid; gap: 18px; }
.cms-docs__titulo { font-family: var(--f-display); font-size: 1.5rem; color: var(--teal); }
.cms-docs__grupo h4 { margin-bottom: 10px; color: var(--teal); }
.cms-docs__botoes { display: flex; flex-wrap: wrap; gap: 10px; }
.cms-docs__dica { color: var(--ink-soft); font-size: .92rem; }

/* formulários (marcador FORM_<ID>) */
.form { display: flex; flex-wrap: wrap; gap: 16px 18px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.form .campo { flex: 1 1 100%; display: grid; gap: 6px; }
.form .campo--50 { flex-basis: calc(50% - 9px); }
.form .campo--33 { flex-basis: calc(33.333% - 12px); }
.form .campo--25 { flex-basis: calc(25% - 14px); }
@media (max-width: 640px) { .form .campo--50, .form .campo--33, .form .campo--25 { flex-basis: 100%; } }
.form .rotulo { font-weight: 600; font-size: .9rem; color: var(--teal); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=number], .form input[type=date], .form select, .form textarea {
  width: 100%; padding: .8em 1em; border: 1.5px solid var(--paper-3); border-radius: 14px; background: var(--paper); font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(1, 73, 81, .12); }
.form .opcoes { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.form .opcoes label, .form .aceite, .form .form__consent { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--ink-soft); }
.form .aceite, .form .form__consent { flex: 1 1 100%; }
.form input[type=checkbox], .form input[type=radio] { width: 18px; height: 18px; margin-top: .2em; accent-color: var(--orange); }
.form .ajuda { color: var(--ink-soft); font-size: .8rem; }
.form .secao-form { flex: 1 1 100%; font-family: var(--f-display); font-size: 1.25rem; color: var(--teal); margin-top: 8px; }
.form .secao-form small { display: block; font-family: var(--f-body); font-size: .85rem; color: var(--ink-soft); }
.form .is-invalido input, .form .is-invalido select, .form .is-invalido textarea { border-color: var(--red); }
.form .is-invalido .rotulo, .form .is-invalido span { color: var(--red); }
.cms-form__acoes { flex: 1 1 100%; }
.form__status { flex: 1 1 100%; font-weight: 500; }
.form__status.ok { color: var(--green); }
.form__status.erro { color: var(--red); }

/* ==========================================================================
   Imagens otimizadas (AVIF/WebP em <picture>)
   ========================================================================== */
/* o <picture> não cria caixa: o <img> continua estilizado como antes */
picture { display: contents; }
.hero-banner { display: block; }

/* galerias dentro dos artigos (editor do painel) */
.prosa .galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-block: 1.6em; }
.prosa .galeria figure { margin: 0; }
.prosa .galeria img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.prosa img { border-radius: 16px; }
@media (max-width: 560px) { .prosa .galeria { grid-template-columns: 1fr 1fr; } }
