/* ==========================================================================
   Candian Imóveis · site novo · home.css (página principal)
   ========================================================================== */

/* ---------- HERO ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--verde-floresta); color: #fff; --foco: var(--lima);
  padding-top: calc(var(--alt-topo) + clamp(24px, 5vw, 72px));
  min-height: min(100svh, 940px);
  display: flex; flex-direction: column;
}
.hero__contornos {
  position: absolute; z-index: -1; inset: -8% -14% -8% 18%;
  opacity: .55; pointer-events: none;
  transform: translate3d(0, calc(var(--py, 0) * -.35px), 0);
  will-change: transform;
}
.hero__contornos svg { width: 100%; height: 100%; }
.hero__contornos path { stroke: var(--lima); stroke-width: 1.1; fill: none; stroke-linecap: round; }
.hero::after { /* escurece o canto do texto para o contraste do título */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(90% 80% at 0% 55%, rgba(9, 59, 46, .72), rgba(9, 59, 46, 0) 70%);
}
.hero__grade {
  flex: 1; display: grid; align-items: end; gap: clamp(8px, 3vw, 48px);
}
.hero__texto { align-self: center; padding-bottom: clamp(24px, 4vw, 56px); max-width: 680px; }
.hero__texto h1 { margin-bottom: clamp(18px, 2.4vw, 26px); }
.hero__texto h1 em { font-style: normal; color: var(--lima); }
.hero__sub { font-size: clamp(1.1rem, 1rem + .55vw, 1.4rem); line-height: 1.45; font-weight: 500; max-width: 34ch; margin-bottom: 14px; }
.hero__regiao { color: var(--texto-escuro-suave); font-size: clamp(.95rem, .92rem + .15vw, 1.0625rem); max-width: 52ch; margin-bottom: clamp(22px, 3vw, 34px); }
.hero .lead-form { max-width: 600px; }

.hero__visual { position: relative; align-self: end; justify-self: center; width: min(100%, 560px); margin-top: 8px; }
.hero__foto { /* recorte sem fundo; a placa é cortada seca pela faixa de serviços */
  display: block; width: 100%; height: auto;
  transform: translate3d(0, calc(var(--py, 0) * .08px), 0);
  will-change: transform;
}
.selo {
  position: absolute; z-index: 2; left: clamp(-6px, -1vw, 0px); top: 11%;
  width: clamp(112px, 12vw, 146px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  background: var(--lima); color: var(--verde-profundo);
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .6);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.selo svg { grid-area: 1 / 1; width: 100%; height: 100%; }
.selo__texto { fill: var(--verde-profundo); font: 800 15.5px var(--f-apoio); letter-spacing: .5px; }
.selo__miolo { grid-area: 1 / 1; width: 34%; height: 34%; border-radius: 50%; background: var(--verde-icone); display: grid; place-items: center; transition: transform .5s var(--ease-out); }
.selo__miolo svg { width: 46%; height: 46%; color: var(--lima); }
.selo:hover { transform: scale(1.08) rotate(-6deg); box-shadow: 0 26px 44px -16px rgba(0, 0, 0, .7); }
.selo:hover .selo__miolo { transform: scale(1.15); }
@media (prefers-reduced-motion: no-preference) {
  .selo__anel { animation: gira 22s linear infinite; transform-origin: 50% 50%; }
  .selo:hover .selo__anel { animation-duration: 6s; }
  @keyframes gira { to { transform: rotate(360deg); } }
}
@media (max-width: 959px) {
  .hero { padding-top: calc(var(--alt-topo) + 12px); }
  .hero__contornos { opacity: .3; inset: -4% -30% -4% -10%; }
  .hero__regiao { font-size: .9375rem; margin-bottom: 20px; }
  .campo input { height: 54px; }
}
@media (min-width: 960px) {
  .hero__grade { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  /* foto retrato (1024×1386): ocupa toda a altura útil do hero, do respiro abaixo do topo até a faixa */
  .hero__visual {
    justify-self: end; margin-top: 0;
    width: min(100%, calc((min(100svh, 940px) - var(--alt-topo) - clamp(24px, 5vw, 72px)) / 1.3535));
  }
  /* com container queries: a coluna da foto estica até a altura real do hero (que cresce quando o texto
     é mais alto que a tela, ex. 1366×768) e a foto preenche essa altura, limitada pela largura da coluna */
  @supports (container-type: size) {
    .hero__visual {
      container-type: size; align-self: stretch; justify-self: stretch; width: auto;
      --fh: min(100cqh, 135.35cqw); /* altura da foto */
    }
    .hero__foto { position: absolute; right: 0; bottom: 0; height: var(--fh); width: calc(var(--fh) / 1.3535); }
    .selo { top: calc(100cqh - var(--fh) * .89); left: calc(100cqw - var(--fh) / 1.3535 - 6px); }
  }
}

/* entrada do hero: curvas são "plotadas" e a foto sobe */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__contornos path {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: plotar 3.2s var(--ease-io) forwards;
    animation-delay: calc(var(--i, 0) * .17s + .15s);
  }
  @keyframes plotar { to { stroke-dashoffset: 0; } }
  .js .hero__foto { animation: sobe 1.3s var(--ease-out) .55s both; }
  @keyframes sobe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
  .js .hero__texto > * { animation: entra .9s var(--ease-out) both; }
  .js .hero__texto > *:nth-child(1) { animation-delay: .15s; }
  .js .hero__texto > *:nth-child(2) { animation-delay: .3s; }
  .js .hero__texto > *:nth-child(3) { animation-delay: .42s; }
  .js .hero__texto > *:nth-child(4) { animation-delay: .54s; }
  @keyframes entra { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  .js .selo { animation: pop .8s var(--ease-out) 1.4s both; }
  @keyframes pop { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }
}

/* ---------- FAIXA DE SERVIÇOS ---------- */
.faixa { background: var(--verde-icone); color: #fff; overflow: hidden; border-block: 1px solid var(--linha-escura); }
.faixa__trilho { display: flex; width: max-content; }
.faixa ul { display: flex; flex: none; align-items: center; }
.faixa li {
  display: inline-flex; align-items: center; gap: 28px; padding: 20px 0 20px 28px;
  font: 600 .8125rem/1 var(--f-apoio); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: color .3s;
}
.faixa li::after { content: ""; width: 9px; height: 9px; background: var(--lima); transform: rotate(45deg); flex: none; }
.faixa li:hover { color: var(--lima); }
@media (prefers-reduced-motion: no-preference) {
  .faixa__trilho { animation: corre 38s linear infinite; }
  .faixa:hover .faixa__trilho { animation-play-state: paused; }
  @keyframes corre { to { transform: translateX(-50%); } }
}

/* ---------- PARA QUEM É ---------- */
.para-quem__grade { display: grid; gap: clamp(36px, 6vw, 88px); }
@media (min-width: 960px) { .para-quem__grade { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } .para-quem__titulo { position: sticky; top: calc(var(--alt-topo) + 40px); } }
.para-quem h2 .troca { display: block; height: 1.12em; overflow: hidden; margin-block: .08em; }
.troca__lista { display: block; }
.troca__lista > span { display: block; height: 1.12em; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .troca__lista { animation: troca 15s var(--ease-io) infinite; }
  @keyframes troca {
    0%, 11% { transform: translateY(0); }
    16.67%, 28% { transform: translateY(-1.12em); }
    33.33%, 45% { transform: translateY(-2.24em); }
    50%, 61% { transform: translateY(-3.36em); }
    66.67%, 78% { transform: translateY(-4.48em); }
    83.33%, 94% { transform: translateY(-5.6em); }
    100% { transform: translateY(-6.72em); }
  }
}
.para-quem__e { color: var(--tinta-suave); font-weight: 500; }
.para-quem__aviso { margin-top: 28px; max-width: 34ch; }

.casos { border: 0; margin: 0; padding: 0; min-width: 0; }
.casos legend { font: 700 .8125rem/1.2 var(--f-apoio); letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-suave); padding: 0 0 18px; }
.caso {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 26px 20px 26px 12px; border-top: 1px solid var(--linha-clara); cursor: pointer;
  transition: background .35s var(--ease-out);
}
.caso > * { transition: translate .45s var(--ease-out); }
.caso:last-of-type { border-bottom: 1px solid var(--linha-clara); }
.caso input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.caso__marca {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--verde-profundo); flex: none;
  display: grid; place-items: center; margin-top: 2px;
  transition: background .35s var(--ease-out), transform .5s var(--ease-out), border-color .3s;
}
.caso__marca svg { width: 18px; height: 18px; }
.caso__marca path { stroke: var(--verde-profundo); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .45s var(--ease-out) .08s; }
.caso__txt { font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.5; color: var(--tinta-suave); }
.caso__txt strong { display: block; font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); color: var(--tinta); letter-spacing: -.015em; margin-bottom: 4px; }
.caso:hover { background: rgba(140, 249, 95, .16); }
.caso:hover > *, .caso:has(input:checked) > * { translate: 12px 0; }
.caso > input { translate: none !important; }
.caso:hover .caso__marca { transform: scale(1.1); }
.caso:has(input:checked) { background: rgba(140, 249, 95, .34); }
.caso:has(input:checked) .caso__marca { background: var(--lima); }
.caso:has(input:checked) .caso__marca path { stroke-dashoffset: 0; }
.caso:has(input:focus-visible) { outline: 3px solid var(--foco); outline-offset: -3px; }
.casos__resumo { margin-top: 24px; min-height: 3.2em; font-weight: 600; font-size: 1.0625rem; max-width: 46ch; }
.casos__acao { margin-top: 8px; }

/* ---------- CONSEQUÊNCIAS ---------- */
.cons__grade { display: grid; gap: clamp(36px, 6vw, 88px); }
@media (min-width: 960px) { .cons__grade { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; } .cons__titulo { position: sticky; top: calc(var(--alt-topo) + 40px); } }
.cons__pergunta { margin-top: 28px; font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); font-weight: 600; max-width: 24ch; line-height: 1.3; }
.cons__titulo .btn { margin-top: 26px; }
.cons__lista li { padding-block: clamp(22px, 3vw, 34px); border-top: 1px solid var(--linha-escura); transition: opacity .4s var(--ease-out); }
.cons__lista li > * { transition: translate .5s var(--ease-out); }
.cons__lista li:last-child { border-bottom: 1px solid var(--linha-escura); }
.cons__lista strong { display: block; font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2.15rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; margin-bottom: 10px; transition: color .35s; }
.cons__lista p { color: var(--texto-escuro-suave); max-width: 54ch; }
.cons__lista li:first-child strong { color: var(--lima-oliva); }
@media (hover: hover) {
  .cons__lista:has(li:hover) li:not(:hover) { opacity: .4; }
  .cons__lista li:hover > * { translate: 14px 0; }
  .cons__lista li:hover strong { color: var(--lima); }
}

/* ---------- MÉTODO C ---------- */
.metodo__cab { margin-bottom: clamp(34px, 5vw, 64px); }
.metodo__cab h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); max-width: 15em; }
.metodo__c { display: inline-block; font-weight: 800; color: var(--verde-profundo); }
.metodo__lead { margin-top: 16px; font-size: clamp(1.15rem, 1.05rem + .6vw, 1.55rem); font-weight: 600; color: var(--tinta-suave); letter-spacing: -.01em; max-width: 30ch; }
.metodo__corpo { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 960px) { .metodo__corpo { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }

.metodo__foto { aspect-ratio: 4 / 5; }
.metodo__foto img { object-position: 50% 22%; }

.metodo__texto p { max-width: 58ch; }
.metodo__texto p + p { margin-top: 1.1em; }
.metodo__texto strong { color: var(--verde-profundo); }
.pilares { margin-block: clamp(28px, 4vw, 44px); display: grid; gap: 0; }
.pilares li {
  display: flex; align-items: baseline; gap: 18px; padding-block: 16px; border-top: 1px solid var(--linha-clara);
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
}
.pilares li > span, .pilares li::before { transition: translate .5s var(--ease-out); }
.pilares li:last-child { border-bottom: 1px solid var(--linha-clara); }
.pilares li::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--lima); border: 2px solid var(--verde-profundo); transform: rotate(45deg); transition: transform .6s var(--ease-out), background .3s, translate .5s var(--ease-out); }
.pilares li:hover > span, .pilares li:hover::before { translate: 16px 0; }
.pilares li:hover::before { transform: rotate(225deg) scale(1.2); background: var(--verde-profundo); }
.trilho { display: flex; align-items: center; gap: 14px; margin-block: 8px clamp(28px, 4vw, 44px); font: 600 .75rem/1.25 var(--f-apoio); letter-spacing: .06em; text-transform: uppercase; color: var(--tinta-suave); }
.trilho__linha { position: relative; flex: 1; height: 2px; min-width: 40px; background: var(--linha-clara); overflow: hidden; }
.trilho__linha i { position: absolute; inset: 0; background: var(--verde-profundo); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-io) .2s; }
.trilho.is-in .trilho__linha i { transform: scaleX(1); }
.trilho__ponto { flex: none; max-width: 17ch; }
.trilho__ponto:last-child { text-align: right; }
.metodo__fecho {
  margin-top: clamp(48px, 7vw, 96px); padding-top: clamp(28px, 4vw, 48px); border-top: 2px solid var(--verde-profundo);
  display: grid; gap: 22px;
}
@media (min-width: 900px) { .metodo__fecho { grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: end; } }
.metodo__fecho p:first-child { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
.metodo__fecho p:last-child { color: var(--tinta-suave); font-weight: 600; max-width: 34ch; }

/* ---------- QUEM SOMOS ---------- */
.quem__grade { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) { .quem__grade { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.quem h2 { margin-bottom: clamp(22px, 3vw, 36px); }
.quem__texto { font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem); line-height: 1.4; font-weight: 500; letter-spacing: -.012em; max-width: 30em; }
.quem__texto + .quem__texto { margin-top: 1em; }
.num { color: var(--lima); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quem__foto { aspect-ratio: 4 / 5; }
.quem__foto img { object-position: 50% 40%; }
.unidades { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 0; border-top: 1px solid var(--linha-escura); }
@media (min-width: 760px) { .unidades { grid-template-columns: 1fr 1fr; } }
.unidade { padding: 28px 8px 28px 0; border-bottom: 1px solid var(--linha-escura); transition: background .4s var(--ease-out); }
.unidade > * { transition: translate .5s var(--ease-out), color .3s; }
@media (min-width: 760px) { .unidade + .unidade { padding-left: 32px; border-left: 1px solid var(--linha-escura); } }
.unidade:hover { background: rgba(140, 249, 95, .08); }
.unidade:hover > * { translate: 14px 0; }
.unidade h3 { margin-bottom: 8px; transition: color .3s; }
.unidade:hover h3 { color: var(--lima); }
.unidade address { font-style: normal; color: var(--texto-escuro-suave); }
.quem__pergunta { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); font-weight: 700; }

/* ---------- CONSULTORIA (formulário) ---------- */
.cons-gratis__grade { display: grid; gap: clamp(36px, 6vw, 80px); }
@media (min-width: 960px) { .cons-gratis__grade { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; } .cons-gratis__form { position: sticky; top: calc(var(--alt-topo) + 28px); } }
.cons-gratis h2 { margin-bottom: 22px; }
.cons-gratis__txt p { max-width: 58ch; }
.cons-gratis__txt p + p { margin-top: 1em; }
.sem-cobrar { font-style: italic; text-transform: uppercase; font-weight: 800; }
.leva { margin-top: clamp(28px, 4vw, 44px); }
.leva h3 { margin-bottom: 14px; }
.leva ul { display: grid; gap: 0; }
@media (min-width: 560px) { .leva ul { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.leva li { display: flex; align-items: center; gap: 14px; padding-block: 16px; border-top: 1px solid var(--linha-clara); font-weight: 700; font-size: 1.0625rem; transition: background .3s; }
.leva li > * { transition: translate .4s var(--ease-out); }
.leva li:hover { background: rgba(140, 249, 95, .22); }
.leva li:hover > * { translate: 10px 0; }
.leva svg { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lima); padding: 6px; }
.leva path { stroke: var(--verde-profundo); stroke-width: 3.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.reunioes { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 0; counter-reset: reuniao; }
.reunioes li { position: relative; padding: 22px 0 22px 64px; border-top: 1px solid var(--linha-clara); counter-increment: reuniao; }
.reunioes li:last-child { border-bottom: 1px solid var(--linha-clara); }
.reunioes li::before { content: counter(reuniao); position: absolute; left: 0; top: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--verde-profundo); color: var(--lima); display: grid; place-items: center; font: 800 1rem var(--f-apoio); transition: transform .5s var(--ease-out), background .3s, color .3s; }
.reunioes li:hover::before { transform: rotate(-10deg) scale(1.12); background: var(--lima); color: var(--verde-profundo); }
.reunioes strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }

.form-cartao { background: var(--verde-profundo); color: #fff; border-radius: var(--raio); overflow: hidden; --foco: var(--lima); box-shadow: 0 40px 70px -40px rgba(9, 59, 46, .8); }
.form-cartao__foto { aspect-ratio: 16 / 10; }
.form-cartao__foto img { object-position: 50% 45%; }
.form-cartao__foto { border-radius: 0; }
.form-cartao__corpo { padding: clamp(24px, 3.2vw, 38px); display: grid; gap: 14px; }
.form-cartao h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.form-cartao .suave { color: var(--texto-escuro-suave); }
.form-cartao .lead-form__campos { grid-template-columns: 1fr; }

/* ---------- URGÊNCIA ---------- */
.agenda { background: var(--lima); color: var(--verde-profundo); padding-block: clamp(48px, 7vw, 88px); --foco: var(--verde-profundo); position: relative; overflow: hidden; }
.agenda::before { content: ""; position: absolute; inset: 0; background: url("../img/contornos.svg") center / cover; opacity: .22; filter: brightness(0.25) saturate(1.5); pointer-events: none; }
.agenda__in { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .agenda__in { grid-template-columns: 1.25fr .75fr; gap: 64px; } .agenda__acao { justify-self: end; } }
.agenda h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); margin-bottom: 14px; }
.agenda p { max-width: 58ch; font-weight: 500; }

/* ---------- DEPOIMENTOS ---------- */
.dep__cab { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.dep__trilho { display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; padding: 18px 4px 30px; scroll-snap-type: x mandatory; scrollbar-width: thin; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
@media (min-width: 1000px) { .dep__trilho { overflow: visible; justify-content: space-between; margin-inline: 0; padding-inline: 4px; } }
.dep__item { flex: 0 0 min(264px, 70vw); scroll-snap-align: center; transition: transform .6s var(--ease-out), filter .4s; }
.dep__item img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .75); transition: box-shadow .6s var(--ease-out); }
.dep__item:nth-child(odd) { transform: rotate(-1.2deg); }
.dep__item:nth-child(even) { transform: rotate(1deg) translateY(14px); }
@media (hover: hover) {
  .dep__trilho:has(.dep__item:hover) .dep__item:not(:hover) { filter: saturate(.6) brightness(.8); }
  .dep__item:hover { transform: rotate(0) translateY(-12px) scale(1.04); z-index: 1; }
  .dep__item:hover img { box-shadow: 0 34px 56px -22px rgba(0, 0, 0, .85), 0 0 0 3px var(--lima); }
}
.dep__nota { font-size: .875rem; color: var(--texto-escuro-suave); }

/* ---------- FAQ ---------- */
.faq__grade { display: grid; gap: clamp(28px, 5vw, 80px); }
@media (min-width: 960px) { .faq__grade { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; } .faq__titulo { position: sticky; top: calc(var(--alt-topo) + 40px); } }
.faq details { border-top: 1px solid var(--linha-clara); }
.faq details:last-child { border-bottom: 1px solid var(--linha-clara); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 10px; font-weight: 800; font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); letter-spacing: -.015em; line-height: 1.25; cursor: pointer;
  transition: background .3s;
}
.faq summary > span:first-child { transition: translate .45s var(--ease-out); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(140, 249, 95, .22); }
.faq summary:hover > span:first-child { translate: 12px 0; }
.faq summary:focus-visible { outline-offset: -3px; }
.faq__mais { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--verde-profundo); transition: transform .5s var(--ease-out), background .3s; }
.faq__mais::before, .faq__mais::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; background: var(--lima); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .5s var(--ease-out), background .3s; }
.faq__mais::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq summary:hover .faq__mais { background: var(--lima); }
.faq summary:hover .faq__mais::before, .faq summary:hover .faq__mais::after { background: var(--verde-profundo); }
.faq details[open] .faq__mais { transform: rotate(180deg); }
.faq details[open] .faq__mais::after { transform: translate(-50%, -50%) rotate(0); }
.faq__resp { padding: 0 10px 30px; max-width: 62ch; color: var(--tinta-suave); }
@media (prefers-reduced-motion: no-preference) { .faq details[open] .faq__resp { animation: abre .55s var(--ease-out); } @keyframes abre { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } } }

/* ---------- CTA FINAL ---------- */
.final { position: relative; isolation: isolate; overflow: clip; text-align: center; padding-block: clamp(88px, 12vw, 170px); }
.final::before { content: ""; position: absolute; inset: -10% 0; z-index: -1; background: url("../img/contornos.svg") center / cover; opacity: .5; transform: translate3d(0, calc(var(--py2, 0) * 1px), 0); }
.final h2 { font-size: clamp(2.2rem, 1.2rem + 4.2vw, 4.6rem); max-width: 14em; margin-inline: auto; margin-bottom: 20px; }
.final p { max-width: 46ch; margin: 0 auto clamp(28px, 4vw, 44px); font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--texto-escuro-suave); }

/* ---------- POPUP DO FORMULÁRIO ---------- */
.modal {
  width: min(100% - 32px, 520px); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; border-radius: var(--raio);
  background: var(--verde-floresta); color: #fff; --foco: var(--lima);
  overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(140, 249, 95, .14);
}
.modal::backdrop { background: rgba(6, 36, 28, .64); backdrop-filter: blur(6px); }
html:has(.modal[open]) { overflow: hidden; }
.modal__caixa { position: relative; isolation: isolate; padding: clamp(28px, 5vw, 44px); }
.modal__caixa::before { /* mesmas curvas de nível do hero, bem discretas */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/contornos.svg") 72% 30% / 170% auto no-repeat; opacity: .2;
}
.modal__fechar {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .28);
  transition: background .3s, color .3s, border-color .3s, transform .5s var(--ease-out);
}
.modal__fechar svg { width: 20px; height: 20px; }
.modal__fechar:hover { background: var(--lima); color: var(--verde-profundo); border-color: var(--lima); transform: rotate(90deg); }
.modal__titulo { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.35rem); margin: 0 52px 12px 0; }
.modal__titulo em { font-style: normal; color: var(--lima); }
.modal__sub { color: var(--texto-escuro-suave); max-width: 40ch; margin-bottom: 22px; }
.modal__casos {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; padding: 12px 16px;
  border: 1px solid rgba(140, 249, 95, .35); border-radius: 14px; font-size: .9375rem; line-height: 1.45;
}
.modal__casos svg { flex: none; width: 18px; height: 18px; margin-top: 2px; stroke: var(--lima); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.modal__casos strong { color: var(--lima); }
.modal .lead-form__campos { grid-template-columns: 1fr; }
@media (prefers-reduced-motion: no-preference) {
  .modal[open] { animation: modal-entra .55s var(--ease-out); }
  .modal[open]::backdrop { animation: modal-fundo .35s ease-out; }
  .modal.is-saindo { animation: modal-sai .2s ease-in forwards; }
  .modal.is-saindo::backdrop { animation: modal-fundo-sai .2s ease-in forwards; }
  @keyframes modal-entra { from { opacity: 0; transform: translateY(28px) scale(.97); } }
  @keyframes modal-sai { to { opacity: 0; transform: translateY(16px) scale(.98); } }
  @keyframes modal-fundo { from { opacity: 0; } }
  @keyframes modal-fundo-sai { to { opacity: 0; } }
}
