/* ==========================================================================
   Instituto Araripe de Educação · landing page
   Mobile first. Cores e tipografia da identidade visual.
   ========================================================================== */

:root {
  --verde: #193838;
  --verde-profundo: #0F2827;
  --laranja: #CC6437;
  --laranja-claro: #EFA071;
  --off-white: #F5F2EC;
  --areia: #EAE4D8;
  --texto: #16302F;
  --texto-suave: #4F5F5E;
  --texto-suave-escuro: #C3D8D4;
  --branco: #FFFFFF;
  --erro: #9B2C17;

  --fonte-titulo: "Lato", "Segoe UI", Arial, sans-serif;
  --fonte-texto: "Nunito Sans", "Segoe UI", Arial, sans-serif;

  --raio: 14px;
  --raio-pequeno: 8px;
  --sombra: 0 10px 30px rgba(15, 40, 39, .10);
  --topo-altura: 64px;
  --gutter: 20px;
}

@media (min-width: 960px) {
  :root { --topo-altura: 76px; --gutter: 32px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--topo-altura) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--fonte-titulo);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--verde);
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 7.2vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 5.4vw, 2.6rem); letter-spacing: -.005em; }
h3 { font-size: clamp(1.2rem, 3.4vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--verde); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

ul, ol { padding: 0; margin: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--laranja);
  outline-offset: 3px;
  border-radius: 4px;
}
.secao--verde :focus-visible,
.secao--verde-profundo :focus-visible,
.hero :focus-visible,
.rodape :focus-visible { outline-color: var(--laranja-claro); }

.visualmente-oculto {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pular {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--verde); color: var(--branco);
  padding: 10px 16px; border-radius: var(--raio-pequeno);
  font-weight: 700;
}
.pular:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}
.container--estreito { max-width: 840px; }

.nowrap { white-space: nowrap; }
.icone { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* Marcadores de conteúdo pendente: visíveis de propósito */
.a-confirmar {
  display: inline-block;
  background: #FFF1C2;
  color: #5A4200;
  border: 1px dashed #8A6A00;
  border-radius: 4px;
  padding: 0 6px;
  font-weight: 700;
  font-size: .95em;
}

/* ---------- Botões ---------- */
.botoes { display: flex; flex-wrap: wrap; gap: 12px; }

.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--fonte-texto);
  font-weight: 700;
  font-size: 1.1875rem;   /* 19px negrito: texto grande para o contraste AA do laranja */
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.botao:hover { text-decoration: none; transform: translateY(-1px); }
.botao--laranja { background: var(--laranja); color: var(--branco); box-shadow: 0 6px 18px rgba(204, 100, 55, .28); }
.botao--laranja:hover { background: #B9562C; }
.botao--verde { background: var(--verde); color: var(--branco); }
.botao--verde:hover { background: var(--verde-profundo); }
.botao--contorno-claro { border-color: rgba(245, 242, 236, .75); color: var(--off-white); }
.botao--contorno-claro:hover { background: rgba(245, 242, 236, .12); }
.botao--largo { width: 100%; }

.link-botao {
  background: none; border: 0; padding: 4px 0;
  font: inherit; font-weight: 700;
  color: var(--verde); text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- Títulos de seção ---------- */
.sobretitulo {
  font-family: var(--fonte-texto);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  color: var(--verde);
  margin-bottom: .75rem;
  display: flex; align-items: center; gap: 10px;
}
.sobretitulo::before {
  content: ""; width: 28px; height: 3px; border-radius: 2px;
  background: var(--laranja); flex: none;
}
.sobretitulo--claro { color: var(--laranja-claro); }

.cabecalho-secao { max-width: 760px; margin-bottom: 36px; }
.subtitulo { margin: 48px 0 20px; }

.centro { text-align: center; margin-top: 40px; }

/* ---------- Seções ---------- */
.secao { padding: 72px 0; position: relative; }
.secao--areia { background: var(--areia); }
.secao--verde, .secao--verde-profundo { color: var(--off-white); }
.secao--verde { background: var(--verde); }
.secao--verde-profundo { background: var(--verde-profundo); }
.secao--verde h2, .secao--verde h3, .secao--verde h4,
.secao--verde-profundo h2, .secao--verde-profundo h3 { color: var(--off-white); }
.secao--verde p, .secao--verde-profundo p { color: var(--texto-suave-escuro); }

.secao--com-simbolo { overflow: hidden; }
.simbolo-fundo {
  position: absolute;
  width: min(90vw, 760px); height: auto; aspect-ratio: 1280 / 895;
  left: -12%; bottom: -8%;
  fill: var(--off-white);
  opacity: .045;
  pointer-events: none;
}
.simbolo-fundo--direita { left: auto; right: -14%; top: 6%; bottom: auto; }

@media (min-width: 960px) {
  .secao { padding: 104px 0; }
}

/* Arcos da marca como divisor */
.arcos-divisor {
  width: 96px; height: 29px;
  fill: none; stroke: var(--laranja); stroke-width: 3.2; stroke-linecap: round;
  margin: 0 auto;
}
.arcos-divisor--esquerda { margin: 0 0 12px; }

/* ---------- Menu fixo ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--topo-altura);
  background: rgba(245, 242, 236, .96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(25, 56, 56, .08);
  transition: box-shadow .2s ease;
}
.topo.com-sombra { box-shadow: 0 4px 20px rgba(15, 40, 39, .10); }
.topo__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topo__logo { display: block; flex: none; }
.topo__logo img { width: 150px; height: auto; }

.menu-botao {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 12px;
  background: transparent; border: 2px solid var(--verde); border-radius: 999px;
  color: var(--verde); font: inherit; font-weight: 700; font-size: 1rem;
  cursor: pointer;
}
.menu-botao__barras, .menu-botao__barras::before, .menu-botao__barras::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-botao__barras { position: relative; }
.menu-botao__barras::before, .menu-botao__barras::after { content: ""; position: absolute; left: 0; }
.menu-botao__barras::before { top: -6px; }
.menu-botao__barras::after { top: 6px; }
.menu-botao[aria-expanded="true"] .menu-botao__barras { background: transparent; }
.menu-botao[aria-expanded="true"] .menu-botao__barras::before { transform: translateY(6px) rotate(45deg); }
.menu-botao[aria-expanded="true"] .menu-botao__barras::after { transform: translateY(-6px) rotate(-45deg); }

.menu {
  position: fixed; inset: var(--topo-altura) 0 auto 0;
  background: var(--off-white);
  padding: 8px var(--gutter) 24px;
  box-shadow: 0 16px 30px rgba(15, 40, 39, .14);
  display: none;
}
.menu.aberto { display: block; }
.menu__lista a {
  display: block; padding: 14px 4px;
  border-bottom: 1px solid rgba(25, 56, 56, .1);
  font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--verde);
}
.menu__cta { margin-top: 20px; width: 100%; }

/* Sem JavaScript, o menu fica sempre visível */
html:not(.js) .menu-botao { display: none; }
html:not(.js) .menu { position: static; display: block; box-shadow: none; padding: 0; background: none; }
html:not(.js) .topo { position: static; height: auto; }

@media (min-width: 1040px) {
  .topo__logo img { width: 170px; }
  .menu-botao { display: none; }
  .menu {
    position: static; display: flex; align-items: center; gap: 28px;
    padding: 0; background: none; box-shadow: none;
  }
  .menu__lista { display: flex; gap: 24px; }
  .menu__lista a { padding: 8px 0; border: 0; font-size: 1rem; position: relative; }
  .menu__lista a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
    background: var(--laranja); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
  }
  .menu__lista a:hover::after, .menu__lista a.ativo::after { transform: scaleX(1); }
  .menu__cta { margin: 0; width: auto; min-height: 46px; padding: 10px 20px; }
}

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--topo-altura) + 48px) 0 32px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--off-white);
  background: var(--verde-profundo);
  isolation: isolate;
}
.hero__foto, .hero__foto img {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
}
/* Imagem espelhada: a pessoa fica à direita, longe do texto no desktop */
.hero__foto img { object-fit: cover; object-position: 31% 40%; transform: scaleX(-1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 40, 39, .55) 0%, rgba(15, 40, 39, .35) 30%, rgba(15, 40, 39, .88) 62%, rgba(15, 40, 39, .97) 100%);
}
.hero__conteudo { max-width: 1180px; }
.hero h1 { color: var(--off-white); max-width: 15ch; }
.hero h1 .destaque { color: var(--laranja-claro); display: block; margin-top: .15em; }
.hero__sub { font-size: 1.15rem; max-width: 40ch; color: var(--off-white); margin-bottom: 28px; }

.numeros {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  margin-top: 40px;
  background: rgba(239, 160, 113, .35);
  border: 1px solid rgba(239, 160, 113, .35);
  border-radius: var(--raio);
  overflow: hidden;
}
.numeros li {
  background: rgba(15, 40, 39, .92);
  padding: 16px 14px;
  display: flex; flex-direction: column;
}
.numeros strong { font-family: var(--fonte-titulo); font-weight: 900; font-size: 1.45rem; color: var(--laranja-claro); line-height: 1.15; }
.numeros span { color: var(--texto-suave-escuro); font-size: .95rem; }

@media (min-width: 768px) {
  .hero { padding-bottom: 48px; }
  .hero__foto img { object-position: 50% 40%; }
  .hero::before {
    background: linear-gradient(90deg, rgba(15, 40, 39, .94) 0%, rgba(15, 40, 39, .78) 45%, rgba(15, 40, 39, .25) 100%),
                linear-gradient(0deg, rgba(15, 40, 39, .9) 0%, rgba(15, 40, 39, 0) 40%);
  }
  .hero h1 { max-width: 19ch; }
  .numeros { grid-template-columns: repeat(4, 1fr); }
  .numeros li { padding: 20px 22px; }
  .numeros strong { font-size: 1.75rem; }
}

/* Faixa do lema */
.lema-faixa { padding: 40px var(--gutter) 8px; text-align: center; }
.lema {
  font-family: var(--fonte-titulo); font-weight: 900;
  font-size: clamp(1.25rem, 4.2vw, 1.8rem);
  color: var(--verde); margin: 12px 0 0; line-height: 1.3;
}
.lema span { display: inline-block; }
.lema span + span { color: var(--texto-suave); }

/* ---------- 2. A dor ---------- */
.lema-faixa + .secao--areia { margin-top: 32px; }
.dor { display: grid; gap: 32px; align-items: center; }
.dor__texto p { font-size: 1.1rem; }
.dor__texto em { font-style: italic; color: var(--verde); font-weight: 700; }
.dor__foto img, .instituto__foto img, .curso__foto img, .chamada__foto img {
  border-radius: var(--raio); box-shadow: var(--sombra); aspect-ratio: 16 / 10; object-fit: cover; width: 100%;
}
.dor__fechamento {
  font-family: var(--fonte-titulo); font-weight: 900; font-size: clamp(1.3rem, 4vw, 1.7rem);
  color: var(--verde); margin: 56px 0 20px;
}

.cards-3 { display: grid; gap: 16px; }
.card {
  background: var(--off-white);
  border-radius: var(--raio);
  padding: 24px;
  border-top: 4px solid var(--laranja);
  box-shadow: var(--sombra);
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--texto-suave); }

@media (min-width: 768px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 960px) {
  .dor { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* ---------- 3. O Instituto ---------- */
.instituto { display: grid; gap: 32px; align-items: center; }
.instituto__texto p { font-size: 1.1rem; }
.lema-cards { display: grid; gap: 16px; margin-top: 48px; }
.lema-card {
  border: 1px solid rgba(239, 160, 113, .4);
  background: rgba(15, 40, 39, .5);
  border-radius: var(--raio);
  padding: 26px 24px;
}
.lema-card h3 { color: var(--laranja-claro) !important; font-size: 1.4rem; }
.simbolo-frase {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 36px; max-width: 760px;
}
.simbolo-frase__icone { width: 64px; height: 45px; fill: var(--laranja-claro); flex: none; margin-top: 4px; }
.simbolo-frase p { font-style: italic; }

@media (min-width: 768px) {
  .lema-cards { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 960px) {
  .instituto { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

/* ---------- 4. Prática clínica ---------- */
.parceiras { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.parceira {
  background: var(--branco);
  border: 1px solid rgba(25, 56, 56, .1);
  border-radius: var(--raio);
  padding: 18px 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; min-height: 140px;
}
/* Espaço reservado para o logo da parceira (preencher depois) */
.parceira__logo {
  width: 100%; max-width: 160px; height: 56px;
  display: flex; align-items: center; justify-content: center;
}
.parceira__logo:empty { border: 1px dashed rgba(25, 56, 56, .18); border-radius: var(--raio-pequeno); }
.parceira__logo img { max-height: 56px; width: auto; }
.parceira__nome { font-family: var(--fonte-titulo); font-weight: 900; color: var(--verde); line-height: 1.25; }
.parceira--em-breve { background: transparent; border: 2px dashed rgba(204, 100, 55, .6); grid-column: 1 / -1; min-height: 0; }
.selo {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--verde); color: var(--laranja-claro);
  font-weight: 700; font-size: .9rem;
}

.local {
  margin-top: 40px;
  background: var(--areia);
  border-radius: var(--raio);
  padding: 28px 24px;
  font-size: 1.1rem;
}
.local__endereco { margin-top: 12px; color: var(--texto-suave); font-size: 1rem; }
.rotulo { font-weight: 700; color: var(--texto); }

.linha-tempo { display: grid; gap: 0; counter-reset: etapa; }
.etapa {
  position: relative;
  padding: 0 0 28px 64px;
}
.etapa::before { /* linha vertical */
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px;
  background: linear-gradient(var(--laranja), rgba(204, 100, 55, .25));
}
.etapa:last-child::before { display: none; }
.etapa__num {
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--verde); color: var(--laranja-claro);
  font-family: var(--fonte-titulo); font-weight: 900; font-size: 1.2rem;
}
.etapa h4 { margin: 8px 0 4px; }
.etapa p { color: var(--texto-suave); }

@media (min-width: 768px) {
  .parceiras { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .parceira--em-breve { flex-direction: row; }
}
@media (min-width: 960px) {
  .local { padding: 32px 40px; }
  .linha-tempo { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .etapa { padding: 64px 0 0; }
  .etapa::before { left: 52px; right: -24px; top: 21px; bottom: auto; width: auto; height: 2px;
    background: linear-gradient(90deg, var(--laranja), rgba(204, 100, 55, .25)); }
}

/* ---------- 5. As pós ---------- */
.pos-cards { display: grid; gap: 20px; }
.pos-card {
  background: var(--off-white);
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
  display: flex; flex-direction: column;
}
.pos-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.pos-card__corpo { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.pos-card__corpo h3 { font-size: 1.6rem; margin-bottom: .2em; }
.pos-card__nome { color: var(--texto-suave); font-weight: 600; }
.pos-card__corpo .botao { margin-top: auto; align-self: flex-start; }
.pos-card__corpo p + .botao { margin-top: 16px; }

@media (min-width: 768px) {
  .pos-cards { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* Detalhe de cada curso */
.curso__topo { display: grid; gap: 32px; align-items: start; }
.curso__nome-completo { font-size: 1.15rem; font-weight: 600; color: var(--texto-suave); }
.curso__intro h3 { margin-top: 28px; }
.ficha { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.ficha li {
  padding: 6px 14px; border-radius: 999px;
  background: var(--verde); color: var(--off-white);
  font-weight: 700; font-size: .92rem;
}
.gancho {
  margin: 8px 0 0; padding: 4px 0 4px 20px;
  border-left: 4px solid var(--laranja);
  font-size: 1.12rem;
}

.jornada { display: grid; gap: 16px; }
.jornada__item {
  background: var(--branco);
  border-radius: var(--raio);
  padding: 22px 22px 24px;
  border: 1px solid rgba(25, 56, 56, .08);
  position: relative;
}
.secao--areia .jornada__item { background: var(--off-white); }
.jornada__num {
  font-family: var(--fonte-titulo); font-weight: 900; font-size: 1rem;
  color: var(--verde);
  display: inline-block; padding-bottom: 6px; margin-bottom: 10px;
  border-bottom: 3px solid var(--laranja);
}
.jornada__item h4 { font-size: 1.2rem; margin-bottom: .35em; }
.jornada__item p { color: var(--texto-suave); }
.jornada__item--destaque { background: var(--verde) !important; border-color: var(--verde); }
.jornada__item--destaque h4 { color: var(--laranja-claro); }
.jornada__item--destaque p { color: var(--off-white); }
.jornada__item--destaque .jornada__num { color: var(--off-white); }

@media (min-width: 768px) {
  .jornada { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 960px) {
  .curso__topo { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .curso__foto { position: sticky; top: calc(var(--topo-altura) + 24px); }
  .jornada { grid-template-columns: repeat(4, 1fr); }
}

.duas-colunas { display: grid; gap: 16px; margin-top: 40px; }
.bloco {
  background: var(--branco);
  border-radius: var(--raio);
  padding: 26px 24px;
  border: 1px solid rgba(25, 56, 56, .08);
}
.secao--areia .bloco { background: var(--off-white); }
@media (min-width: 768px) {
  .duas-colunas { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.lista-check li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.lista-check li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 12px; height: 7px;
  border-left: 3px solid var(--laranja); border-bottom: 3px solid var(--laranja);
  transform: rotate(-45deg);
}

/* ---------- Acordeões (details/summary) ---------- */
.acordeao {
  background: var(--branco);
  border: 1px solid rgba(25, 56, 56, .12);
  border-radius: var(--raio);
}
.secao--areia .acordeao { background: var(--off-white); }
.acordeao + .acordeao { margin-top: 12px; }
.acordeao summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  font-weight: 700; font-size: 1.08rem; color: var(--verde);
  cursor: pointer;
  border-radius: var(--raio);
}
.acordeao summary::-webkit-details-marker { display: none; }
.acordeao summary::after {
  content: ""; flex: none;
  width: 12px; height: 12px;
  border-right: 3px solid var(--laranja); border-bottom: 3px solid var(--laranja);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s ease;
}
.acordeao[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.acordeao__corpo { padding: 0 20px 20px; color: var(--texto-suave); }

.grade { margin-top: 32px; }
.grade__lista { padding: 4px 12px 16px; }
.grade__lista li {
  display: flex; gap: 12px; align-items: baseline;
  padding: 10px 10px;
  border-bottom: 1px solid rgba(25, 56, 56, .08);
}
.grade__lista li:last-child { border-bottom: 0; }
.grade__num {
  flex: none; min-width: 3.2em;
  font-family: var(--fonte-titulo); font-weight: 900; color: var(--texto-suave);
}
/* Estágios destacados em laranja (barra e fundo; o texto continua escuro para manter o contraste) */
.grade__lista .grade__estagio {
  background: #F8E4D8;
  border-left: 4px solid var(--laranja);
  border-radius: var(--raio-pequeno);
  font-weight: 700;
  color: var(--texto);
  margin: 4px 0;
}
.grade__estagio .grade__num { color: var(--verde); }

/* ---------- 5c. Comparativo ---------- */
.comparativo-tabela { display: none; }
.comparativo-blocos { display: grid; gap: 16px; }
.comparativo-blocos h3 { padding-bottom: 10px; border-bottom: 3px solid var(--laranja); display: inline-block; }
.comparativo-blocos dl { margin: 8px 0 0; }
.comparativo-blocos dl div { padding: 10px 0; border-bottom: 1px solid rgba(25, 56, 56, .08); }
.comparativo-blocos dl div:last-child { border-bottom: 0; }
.comparativo-blocos dt { font-weight: 700; color: var(--texto-suave); font-size: .92rem; }
.comparativo-blocos dd { margin: 0; font-weight: 600; }

@media (min-width: 768px) {
  .comparativo-blocos { display: none; }
  .comparativo-tabela { display: block; }
  .comparativo-tabela table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: var(--branco); border-radius: var(--raio); overflow: hidden;
    box-shadow: var(--sombra);
  }
  .comparativo-tabela th, .comparativo-tabela td { padding: 18px 22px; text-align: left; vertical-align: top; }
  .comparativo-tabela thead th {
    background: var(--verde); color: var(--off-white);
    font-family: var(--fonte-titulo); font-weight: 900; font-size: 1.2rem;
  }
  .comparativo-tabela thead td { background: var(--verde); }
  .comparativo-tabela tbody th { color: var(--texto-suave); font-weight: 700; width: 22%; }
  .comparativo-tabela tbody tr + tr > * { border-top: 1px solid rgba(25, 56, 56, .08); }
  .comparativo-tabela tbody td { font-weight: 600; }
}

/* ---------- 6. Investimento ---------- */
.investimento { display: grid; gap: 36px; align-items: center; }
.investimento__texto p { font-size: 1.12rem; }
.investimento__nota { font-size: 1rem !important; }

.preco {
  background: var(--off-white);
  color: var(--texto);
  border-radius: calc(var(--raio) + 4px);
  padding: 28px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  position: relative;
}
.preco p { color: var(--texto-suave); }
.preco__rotulo { font-weight: 700; color: var(--verde) !important; margin-bottom: 8px; }
.preco .preco__valor {
  font-family: var(--fonte-titulo); font-weight: 900;
  color: var(--verde);
  font-size: clamp(1.45rem, 5.6vw, 2rem);
  line-height: 1.25;
  margin: 0 0 6px;
}
.preco__valor small { display: block; font-size: .55em; font-family: var(--fonte-texto); font-weight: 700; color: var(--texto-suave); margin-bottom: 2px; }
.preco__total { font-size: .95rem; }
.preco__dia {
  margin: 20px 0 24px !important;
  padding: 14px 16px;
  border-radius: var(--raio-pequeno);
  background: var(--areia);
  color: var(--texto) !important;
  font-weight: 600;
}
.preco__dia strong { color: var(--verde); }

/* Bloco da oferta do evento */
.oferta__selo {
  display: inline-block; margin-bottom: 14px;
  padding: 5px 14px; border-radius: 999px;
  background: var(--verde); color: var(--laranja-claro);
  font-weight: 700; font-size: .92rem;
}
.oferta__de { margin-bottom: 4px; }
.oferta__de s { text-decoration-thickness: 2px; }
.oferta__economia {
  display: inline-block; margin: 10px 0 4px;
  padding: 6px 12px; border-radius: var(--raio-pequeno);
  background: #E3EFEC; color: var(--verde) !important; font-weight: 700;
}
.oferta__pre {
  margin-top: 18px; padding: 16px; border-radius: var(--raio-pequeno);
  border: 2px dashed rgba(204, 100, 55, .7);
  color: var(--texto) !important;
}
.oferta__validade { font-size: .92rem; margin-top: 10px; }

@media (min-width: 960px) {
  .investimento { grid-template-columns: 1fr 1fr; gap: 64px; }
  .preco { padding: 40px; }
}

/* ---------- 7. Dúvidas ---------- */
.faq { margin-top: 8px; }

/* ---------- 8. Chamada final + formulário ---------- */
.chamada__grade { display: grid; gap: 36px; align-items: start; }
.chamada__foto { margin-top: 28px; }
.chamada h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); }

.formulario {
  background: var(--off-white);
  color: var(--texto);
  border-radius: calc(var(--raio) + 4px);
  padding: 26px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.formulario__titulo { color: var(--verde) !important; font-size: 1.45rem; margin-bottom: .3em; }
.formulario__intro { color: var(--texto-suave) !important; margin-bottom: 20px; }

.campo { margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.campo label, .campo legend { display: block; font-weight: 700; margin-bottom: 6px; color: var(--texto); padding: 0; }
.campo input[type="text"], .campo input[type="tel"], .campo input[type="email"], .campo select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit; font-size: 1rem;
  color: var(--texto);
  background: var(--branco);
  border: 2px solid #8A9796;
  border-radius: var(--raio-pequeno);
  appearance: none;
}
.campo select {
  background-image: linear-gradient(45deg, transparent 50%, var(--verde) 50%), linear-gradient(135deg, var(--verde) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 40px;
}
.campo input:focus-visible, .campo select:focus-visible { border-color: var(--verde); outline-offset: 1px; }
.campo [aria-invalid="true"] { border-color: var(--erro) !important; }
.campo__erro { color: var(--erro) !important; font-weight: 700; font-size: .95rem; margin: 6px 0 0; }
.campo__erro:empty { display: none; }

.campo--opcoes .opcao {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; margin: 0 0 6px;
  padding: 10px 12px; border-radius: var(--raio-pequeno);
  background: var(--branco); border: 2px solid rgba(25, 56, 56, .15);
  cursor: pointer;
}
.campo--opcoes .opcao:has(input:checked) { border-color: var(--verde); background: #E3EFEC; }
.opcao input, .campo--check input { width: 20px; height: 20px; accent-color: var(--verde); flex: none; margin: 0; }

.campo--check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.campo--check input { margin-top: 3px; }
.campo--check label { font-weight: 400; font-size: .95rem; margin: 0; }
.campo--check .campo__erro { grid-column: 1 / -1; }

.aviso {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: #FCEEE5;
  border-left: 4px solid var(--laranja);
  border-radius: var(--raio-pequeno);
}
.aviso p { color: var(--texto) !important; margin-bottom: 6px; }

.formulario__status { margin-top: 12px; color: var(--verde) !important; font-weight: 600; }
.formulario__status:empty { display: none; }

@media (min-width: 960px) {
  .chamada__grade { grid-template-columns: 1fr 1fr; gap: 64px; }
  .formulario { padding: 36px; }
}

/* ---------- 9. Rodapé ---------- */
.rodape {
  background: var(--verde-profundo);
  color: var(--texto-suave-escuro);
  padding: 56px 0 24px;
}
.rodape a { color: var(--off-white); }
.rodape img { width: 200px; height: auto; }
.rodape__grade { display: grid; gap: 32px; }
.rodape__titulo { font-size: 1.05rem; color: var(--laranja-claro); margin-bottom: 12px; }
.rodape__lista li { margin-bottom: 8px; }
.lema--rodape { color: var(--off-white); font-size: 1.15rem; margin-top: 18px; }
.lema--rodape span + span { color: var(--laranja-claro); }
.rodape__base {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(195, 216, 212, .2);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: .92rem;
}
.rodape__base p { margin: 0; }

@media (min-width: 768px) {
  .rodape__grade { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- Elementos fixos ---------- */
.whatsapp-flutuante {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--verde); color: var(--branco);
  box-shadow: 0 8px 24px rgba(15, 40, 39, .35);
  border: 2px solid var(--laranja-claro);
  transition: transform .2s ease, bottom .25s ease;
}
.whatsapp-flutuante svg { width: 30px; height: 30px; fill: currentColor; }
.whatsapp-flutuante:hover { transform: scale(1.05); }

.barra-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 39;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(245, 242, 236, .97);
  box-shadow: 0 -6px 20px rgba(15, 40, 39, .14);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.barra-mobile { padding-right: calc(var(--gutter) + 64px); }
.barra-mobile .botao { min-height: 50px; }
.barra-mobile.visivel { transform: none; }
body.com-barra .whatsapp-flutuante { bottom: 14px; width: 50px; height: 50px; right: calc(var(--gutter) + 6px); z-index: 41; }
body.com-barra .whatsapp-flutuante svg { width: 26px; height: 26px; }
@media (max-width: 1039px) {
  body { padding-bottom: 76px; }
  /* No celular o hero já tem o botão de WhatsApp; o flutuante aparece depois dele */
  body.hero-visivel .whatsapp-flutuante { opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s .2s; }
}
.whatsapp-flutuante { transition: transform .2s ease, bottom .25s ease, opacity .2s ease; }
@media (min-width: 1040px) {
  .barra-mobile { display: none !important; }
  .whatsapp-flutuante { right: 24px; bottom: 24px; }
}

/* ---------- Animações de entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .revelar { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .revelar.visivel { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
