/* =========================================================
   Prover Saúde — LP de Captura (Servidor Público Municipal)
   Marca: azul #2897CF · navy #2E496A · destaque laranja
   Fontes: Poppins (títulos) · Inter (corpo)
   ========================================================= */

:root {
  --blue: #2897CF;
  --blue-deep: #1f7cad;
  --blue-dark: #17618a;
  --navy: #2E496A;
  --navy-2: #22384f;
  --orange: #ed6b2e;
  --orange-deep: #d95a1f;
  --green: #24a35a;

  --bg: #ffffff;
  --bg-tint: #eaf4fb;
  --bg-soft: #f4f9fd;
  --ink: #1b2b40;
  --ink-soft: #46586e;
  --muted: #6d7d90;
  --line: #dce7f0;

  --maxw: 1180px;
  --pad: clamp(1.1rem, 4vw, 2.2rem);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 22px 55px -30px rgba(24, 51, 79, .5);
  --shadow-soft: 0 12px 34px -22px rgba(24, 51, 79, .45);
  --shadow-blue: 0 20px 45px -18px rgba(40, 151, 207, .55);

  --serif: "Poppins", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 1.02rem; overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3.2rem, 7vw, 6rem); position: relative; }
.section--tint { background: var(--bg-soft); }
.section--blue { background: linear-gradient(160deg, #f4f9fd, #eaf4fb); }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.14; color: var(--navy); letter-spacing: -.01em; }
.h1 { font-size: clamp(2rem, 1.4rem + 2.9vw, 3.25rem); line-height: 1.08; text-wrap: balance; }
.h2 { font-size: clamp(1.65rem, 1.2rem + 2vw, 2.5rem); text-wrap: balance; }
.h3 { font-size: 1.22rem; }
p { text-wrap: pretty; }
/* Equilibra as linhas em blocos centralizados/curtos para não sobrar linha com poucas palavras (órfãs) */
.lead, .cta-band p, .porque__center p { text-wrap: balance; }
.lead { font-size: clamp(1.05rem, 1rem + .5vw, 1.24rem); color: var(--ink-soft); }
.muted { color: var(--muted); }
.strong { font-weight: 700; color: var(--navy); }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--blue-deep); }
.eyebrow--pill { background: rgba(255,255,255,.16); color: #fff; padding: .45rem .9rem; border-radius: 100px; border: 1px solid rgba(255,255,255,.28); letter-spacing: .02em; text-transform: none; }
.mark { color: #fff; padding: 0 .28em; border-radius: 0;
  background-image: linear-gradient(var(--orange), var(--orange)); background-repeat: no-repeat;
  background-position: 0 center; background-size: 100% 1.02em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.mark--blue { background-image: linear-gradient(var(--blue), var(--blue)); }

.section__head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head .lead { margin-top: 1rem; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--sans);
  font-weight: 600; font-size: 1rem; line-height: 1.2; padding: .95rem 1.7rem; border-radius: 0; border: 2px solid transparent;
  text-align: center; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.06rem; }
.btn--sm { padding: .62rem 1.2rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn:hover { transform: translateY(-2px); }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 14px 30px -14px rgba(237,107,46,.7); }
.btn--orange:hover { background: var(--orange-deep); box-shadow: 0 18px 36px -14px rgba(237,107,46,.8); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--blue:hover { background: var(--blue-deep); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--wa { background: #25D366; color: #fff; box-shadow: 0 14px 30px -14px rgba(37,211,102,.7); }
.btn--wa:hover { background: #1fb457; }
.btn--ghost { background: transparent; color: var(--navy); border-color: #c7d6e4; }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--bg-tint); }

.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Navbar ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease); }
.nav[data-state="scrolled"] { border-bottom-color: var(--line); box-shadow: 0 6px 24px -20px rgba(24,51,79,.6); background: rgba(255,255,255,.92); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.nav__brand img { height: 40px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav__menu > a:not(.btn) { font-weight: 500; font-size: .95rem; color: var(--ink-soft); position: relative; padding-block: .3rem; }
.nav__menu > a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--blue); transition: width .3s var(--ease); }
.nav__menu > a:not(.btn):hover { color: var(--navy); }
.nav__menu > a:not(.btn):hover::after, .nav__menu > a.is-active::after { width: 100%; }
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; flex-direction: column; justify-content: center; gap: 5px; }
.nav__toggle span { display: block; height: 2px; width: 24px; background: var(--navy); margin-inline: auto; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(1100px 620px at 82% 6%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(155deg, #2ba0da 0%, var(--blue-deep) 46%, var(--navy) 108%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 26px 26px; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 4vw, 3.6rem); align-items: center; padding-block: clamp(2.6rem, 5vw, 4.4rem); }
.hero__grid > * { min-width: 0; }
@media (max-width: 980px) {
  /* Checklist: texto principal cabe em 1 linha; valor (R$/70%) fica na 2ª */
  .hero__checks li { font-size: .8rem; line-height: 1.32; gap: .5rem; }
  .hero__checks li > span:last-child { min-width: 0; }
  /* Esconde o CTA da seção "Vantagens do servidor" no mobile */
  #vantagens .cta-row { display: none; }
}
.hero h1 { color: #fff; }
.hero__sub { color: rgba(255,255,255,.92); font-size: clamp(1.02rem, .98rem + .4vw, 1.18rem); margin-top: 1.2rem; max-width: 46ch; }
.hero__checks { display: grid; gap: .7rem; margin-top: 1.6rem; }
.hero__checks li { display: flex; align-items: flex-start; gap: .65rem; color: #fff; font-weight: 500; }
.hero__checks .ic { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; background: var(--green); display: grid; place-items: center; margin-top: 1px; }
.hero__checks .ic svg { width: 15px; height: 15px; color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero__trust { margin-top: 1.4rem; font-size: .9rem; color: rgba(255,255,255,.82); display: flex; align-items: center; gap: .5rem; }
/* Box de destaque */
.highlight-box { display: inline-block; margin: 1.2rem auto 0; padding: .7rem 1.5rem; border-radius: 0;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep)); color: #fff; font-family: var(--serif);
  font-weight: 600; font-size: clamp(1rem, .95rem + .4vw, 1.2rem); letter-spacing: .01em;
  box-shadow: 0 14px 30px -16px rgba(237,107,46,.7); }
.highlight-box strong { font-weight: 700; }

/* ---------- Form card ---------- */
.form-card { background: #fff; border-radius: 0; box-shadow: 0 30px 70px -30px rgba(15,40,63,.6); padding: clamp(1.5rem, 2.5vw, 2rem); color: var(--ink); }
.form-card__head { text-align: center; margin-bottom: 1.2rem; }
.form-card__head h2 { font-size: 1.4rem; }
.form-card__head p { color: var(--muted); font-size: .95rem; margin-top: .35rem; }
.form-card__badge { display: inline-block; background: var(--bg-tint); color: var(--blue-deep); font-weight: 600; font-size: .78rem; padding: .3rem .8rem; border-radius: 0; margin-bottom: .8rem; }
.field { position: relative; margin-bottom: .95rem; }
.field input, .field select { width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 0; padding: 1.15rem .95rem .5rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field select { padding-top: 1.15rem; padding-bottom: .5rem; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236d7d90' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; }
.field label { position: absolute; left: 1rem; top: .95rem; color: var(--muted); font-size: 1rem; pointer-events: none; transition: transform .18s var(--ease), color .18s var(--ease), font-size .18s var(--ease); transform-origin: left top; }
.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(40,151,207,.14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field select:focus + label, .field select.has-value + label { transform: translateY(-.62rem) scale(.76); color: var(--blue-deep); }
.field input::placeholder { color: transparent; }
.field--error input, .field--error select { border-color: #e04b4b; }
.field__err { display: none; color: #d33; font-size: .8rem; margin-top: .35rem; padding-left: .2rem; }
.field--error .field__err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: .3rem 0 1rem; }
.consent input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--blue); flex: 0 0 auto; }
.consent a { color: var(--blue-deep); text-decoration: underline; }
.form-note { text-align: center; font-size: .78rem; color: var(--muted); margin-top: .8rem; }
.form-ok { display: none; text-align: center; padding: 1.5rem .5rem; }
.form-ok .ic { width: 60px; height: 60px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin: 0 auto 1rem; }
.form-ok .ic svg { width: 30px; height: 30px; color: #fff; }
.form-ok h3 { color: var(--navy); margin-bottom: .4rem; }
.form-ok p { color: var(--muted); font-size: .95rem; }
.is-sent .form-fields { display: none; }
.is-sent .form-ok { display: block; }

/* ---------- Blocos 2 colunas ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split > * { min-width: 0; }
.split--media-left .split__media { order: -1; }
.media-frame { position: relative; border-radius: 0; overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame--tall { aspect-ratio: 4 / 3; }
/* Imagem da seção "Vantagens do servidor": 9:16 no desktop, ocupando mais a coluna */
.media-frame--s4 { aspect-ratio: 4 / 3; }
.media-frame--s4 img { object-position: 45% 28%; }
.media-frame--s4 picture { display: block; height: 100%; }
@media (min-width: 981px) {
  .media-frame--s4 { aspect-ratio: 9 / 16; width: 100%; }
  .media-frame--s4 picture { position: absolute; inset: 0; }
  .media-frame--s4 img { height: 100%; }
}
.media-frame::after { content: ""; position: absolute; inset: auto -12px -12px auto; width: 55%; height: 55%; border-radius: 0; background: var(--blue); opacity: .12; z-index: -1; }
.stack > p + p { margin-top: 1rem; }

/* Carrossel do hero (família + servidor) */
.media-frame--s2 { aspect-ratio: 4 / 5; }
@media (min-width: 981px) { .media-frame--s2 { aspect-ratio: 3 / 4; } }
.carousel { position: absolute; inset: 0; }
.carousel__track { position: absolute; inset: 0; }
.carousel__slide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity .8s var(--ease); }
.carousel__slide.is-active { opacity: 1; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; display: block; }
.carousel__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: .5rem; }
.carousel__dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(24,51,79,.18); transition: transform .25s var(--ease), background .25s var(--ease); }
.carousel__dot:hover { background: rgba(255,255,255,.9); }
.carousel__dot.is-active { background: #fff; transform: scale(1.3); }
.carousel__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* Os dots voltaram ao rodapé do carrossel: eles só subiam para o topo para
   não colidir com a faixa promocional, que saiu junto com a campanha. */
/* No mobile o carrossel vai para o hero (abaixo da tag, acima do título);
   no desktop ele fica na coluna direita */
.hero__carousel { display: none; }
@media (max-width: 980px) {
  .hero__carousel { display: block; margin: 1.2rem 0 .5rem; aspect-ratio: 16 / 9; max-width: none; }
  #porque .split__media { display: none; }
}

/* Coluna direita do hero: carrossel (só no desktop; no mobile o carrossel do topo já cumpre esse papel) */
.hero__media { display: none; }
@media (min-width: 981px) {
  .hero__media { display: block; aspect-ratio: 4 / 5; }
}

/* Seção "Por que" (#porque): texto único centralizado (sem imagem) */
.porque__center { max-width: 760px; margin-inline: auto; text-align: center; }
.porque__center .stack { text-align: center; }

/* ---------- Pop-up de adesão ---------- */
html.modal-open { overflow: hidden; }
.modal { display: none; position: fixed; inset: 0; z-index: 2000; }
.modal.is-open, .modal:target { display: flex; align-items: center; justify-content: center; }
.modal__overlay { position: absolute; inset: 0; background: rgba(12,32,52,.62);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: modalFade .2s var(--ease); }
.modal__dialog { position: relative; z-index: 1; width: min(460px, calc(100% - 2rem));
  margin: auto; animation: modalPop .28s var(--ease); }
.modal__dialog .form-card { box-shadow: 0 40px 90px -30px rgba(8,24,40,.72); }
.modal__close { position: absolute; top: .7rem; right: .7rem; z-index: 5; width: 40px; height: 40px;
  display: grid; place-items: center; border: 0; cursor: pointer; background: rgba(255,255,255,.92);
  color: var(--navy); border-radius: 0; box-shadow: 0 4px 14px -6px rgba(0,0,0,.45); }
.modal__close:hover { background: #fff; color: var(--orange); }
.modal__close:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal__overlay, .modal__dialog { animation: none; } }

/* ---------- Benefícios (cards) ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.benefits > * { min-width: 0; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 2.4vw, 1.8rem);
  box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfe1f0; }
.benefit__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(40,151,207,.16), rgba(46,73,106,.12)); color: var(--blue-deep); }
.benefit__ic svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.benefit p { color: var(--ink-soft); font-size: .96rem; }
.benefit .price { color: var(--orange); font-weight: 700; }
.benefit--wide { grid-column: span 3; background: linear-gradient(135deg, var(--navy), var(--navy-2)); border: none; color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.benefit--wide h3, .benefit--wide p { color: #fff; }
.benefit--wide .benefit__ic { background: rgba(255,255,255,.14); color: #fff; }
/* Subtítulo de grupo (Benefícios / Vantagens) */
.bgroup { display: flex; align-items: center; justify-content: center; gap: .85rem; text-align: center;
  font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin: 0 0 1.5rem; }
.bgroup::before, .bgroup::after { content: ""; height: 3px; width: 42px; background: var(--orange); border-radius: 2px; }
.benefits + .bgroup { margin-top: clamp(2.4rem, 4vw, 3.2rem); }

/* ---------- Vantagens (ticks) ---------- */
.ticks { display: grid; gap: 1.1rem; }
.tick { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-soft); }
.tick__ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; }
.tick__ic svg { width: 22px; height: 22px; }
.tick h3 { font-size: 1.06rem; margin-bottom: .2rem; }
.tick p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Estrutura / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); margin-block: clamp(2rem, 4vw, 3rem); }
.stat { text-align: center; background: linear-gradient(155deg, var(--blue) 0%, var(--blue-deep) 100%); border: 0; border-radius: var(--radius); padding: 1.9rem 1rem; box-shadow: 0 18px 40px -22px rgba(15,40,63,.55); color: #fff; }
.stat__n { font-family: var(--serif); font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 3.6rem); color: #fff; line-height: 1; }
.stat p { color: rgba(255,255,255,.92); font-size: .98rem; margin-top: .55rem; }
.units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.4rem; }
.unit { background: #fff; border: 1px solid var(--line); border-radius: 0; overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.unit__img { position: relative; aspect-ratio: 16 / 10; width: 100%; overflow: hidden; flex: 0 0 auto; background: var(--bg-tint); }
.unit__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.unit__body { padding: 1.1rem 1.3rem 1.3rem; flex: 1 1 auto; }
.unit__city { display: flex; align-items: center; gap: .5rem; font-family: var(--serif); font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.unit__city svg { width: 18px; height: 18px; color: var(--blue); }
.unit p { color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.central { display: flex; gap: 1rem; align-items: center; background: var(--bg-tint); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin-top: 1.4rem; }
.central__ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.central__ic svg { width: 24px; height: 24px; }
.central h3 { font-size: 1.08rem; }
.central p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Depoimentos ---------- */
.depos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); align-items: start; }
.depos > * { min-width: 0; }
.depo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.depo--media { position: relative; }
.depo--media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.depo--media .play { position: absolute; inset: 0; display: grid; place-items: center; }
.depo--media .play span { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; box-shadow: var(--shadow); }
.depo--media .play svg { width: 26px; height: 26px; color: var(--blue-deep); margin-left: 3px; }
.depo__body { padding: 1.4rem 1.4rem 1.5rem; }
.depo__stars { color: #f4b53f; letter-spacing: .12em; font-size: 1rem; margin-bottom: .6rem; }
.depo__body p { color: var(--ink-soft); font-size: .98rem; }
.depo__who { margin-top: 1rem; font-weight: 600; color: var(--navy); }
.depo__who span { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }
.depo--placeholder { border-style: dashed; border-color: #c7d6e4; background: var(--bg-soft); display: grid; place-items: center; text-align: center; padding: 2rem 1.4rem; min-height: 220px; }
.depo--placeholder p { color: var(--muted); font-size: .92rem; }

/* Depoimentos em vídeo (Instagram embeds) */
.depos--ig { align-items: start; }
.depos--ig .instagram-media { min-width: 0 !important; max-width: 100% !important; width: 100% !important; margin: 0 auto !important; }
/* Evita 3 colunas estreitas demais para o iframe do Instagram (min ~326px) */
@media (min-width: 981px) and (max-width: 1120px) {
  .depos--ig { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 820px; margin-inline: auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__item[open] { box-shadow: var(--shadow-soft); border-color: #cfe1f0; }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.15rem 1.3rem; font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 1.04rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: 0 0 auto; font-size: 1.5rem; font-weight: 400; color: var(--blue-deep); transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.3rem 1.3rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(800px 400px at 50% 0%, rgba(255,255,255,.14), transparent 60%), linear-gradient(150deg, var(--blue-deep), var(--navy)); }
.cta-band__inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: 1rem; font-size: 1.1rem; }
.cta-band .cta-row { justify-content: center; margin-top: 1.8rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-2); color: #c3d0de; padding-top: clamp(2.8rem, 6vw, 4rem); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 2rem; padding-bottom: 2.4rem; }
.footer__grid > * { min-width: 0; }
/* A marca é azul e o rodapé também: sem a caixa branca a logo desaparece no
   fundo. `inline-block` para a caixa acompanhar a largura da imagem em vez de
   atravessar a coluna inteira. */
.footer__logo { display: inline-block; background: #fff; padding: .8rem 1rem; border-radius: 0; margin-bottom: 1rem; line-height: 0; }
.footer__logo img { width: 190px; max-width: 100%; height: auto; display: block; margin-bottom: 0; }
.footer__brand img { width: 190px; max-width: 100%; height: auto; margin-bottom: 1rem; }
.footer__brand p { font-size: .92rem; line-height: 1.7; max-width: 40ch; color: #9fb0c2; }
.footer__h { color: #fff; font-family: var(--serif); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__col a, .footer__col p { display: block; font-size: .92rem; color: #a9b8c8; padding: .2rem 0; line-height: 1.55; }
.footer__col a:hover { color: #fff; }
.footer__units p { color: #9fb0c2; font-size: .88rem; margin-bottom: .5rem; }
.footer__units strong { color: #dbe6f0; font-weight: 600; }
/* Duas colunas: o copyright ocupa o que sobra e o link legal só o que precisa
   (`auto`), então o link nunca quebra em duas linhas para caber. */
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.4rem; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .6rem 1.5rem; }
.footer__bottom p { font-size: .82rem; color: #8395a7; min-width: 0; }
.footer__legal { justify-self: end; }
.footer__legal a { color: #c3d0de; text-decoration: underline; text-underline-offset: 3px; font-size: .82rem; }
.footer__legal a:hover { color: #fff; }

/* ---------- Páginas legais (política de privacidade) ---------- */
/* O header é `sticky`, então ocupa espaço no fluxo: basta o respiro normal
   de seção, sem compensar altura de header como se fosse `fixed`. */
.legal { padding-block: clamp(2.6rem, 6vw, 4.2rem) clamp(3rem, 7vw, 5rem); background: var(--bg-soft); }
.legal__wrap { max-width: 860px; }
.legal__back { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--blue-deep); margin-bottom: 1.4rem; }
.legal__back:hover { color: var(--navy); }
.legal__title { color: var(--navy); margin-bottom: 1.1rem; }
.legal__lead { font-size: 1.05rem; line-height: 1.75; color: var(--ink-soft); padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.legal__lead strong { color: var(--ink); font-weight: 600; }
.legal__sec { margin-top: 2.4rem; }
.legal__h { font-family: var(--serif); font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem); font-weight: 600; color: var(--navy); margin-bottom: .8rem; }
.legal__h3 { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--ink); margin: 1.3rem 0 .5rem; }
.legal__sec p { font-size: .98rem; line-height: 1.75; color: var(--ink-soft); }
.legal__sec p + p { margin-top: .9rem; }
.legal__sec strong { color: var(--ink); font-weight: 600; }
.legal__sec a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.legal__sec a:hover { color: var(--navy); }
.legal__list { margin: .8rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.legal__list li { position: relative; padding-left: 1.2rem; font-size: .98rem; line-height: 1.65; color: var(--ink-soft); }
.legal__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.legal__sec--box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-soft); }
.legal__sec--box .legal__h { margin-bottom: .4rem; }
.legal__updated { margin-top: 2.2rem; font-size: .85rem; color: var(--muted); }

/* ---------- WhatsApp float + cookie ---------- */
.wa-float { position: fixed; right: clamp(14px, 3vw, 24px); bottom: clamp(14px, 3vw, 24px); z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.6); transition: transform .25s var(--ease); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); }
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95; max-width: 540px; margin-inline: auto; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .8rem; }
.cookie[hidden] { display: none; }
.cookie p { font-size: .88rem; color: var(--ink-soft); }
.cookie a { color: var(--blue-deep); text-decoration: underline; }
.cookie__actions { display: flex; gap: .6rem; justify-content: flex-end; }

/* ---------- Animações ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 980px) {
  html { scroll-padding-top: 68px; }
  .nav__inner { min-height: 62px; }
  .nav__menu { position: fixed; inset: 62px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: .6rem var(--pad) 1.4rem;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s var(--ease); box-shadow: 0 24px 40px -28px rgba(24,51,79,.5); }
  .nav.is-open .nav__menu { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__menu > a:not(.btn) { padding: .9rem .2rem; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav__menu > a:not(.btn)::after { display: none; }
  .nav__menu .btn { margin-top: 1rem; }
  .nav__toggle { display: flex; }

  .hero__grid, .split, .cta-band__inner { grid-template-columns: 1fr; }
  .hero__grid { gap: 2rem; }
  .split--media-left .split__media { order: 0; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit--wide { grid-column: span 2; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .units { grid-template-columns: repeat(2, 1fr); }
  .depos { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .benefits { grid-template-columns: 1fr; }
  .benefit--wide { grid-column: span 1; flex-direction: column; align-items: flex-start; text-align: left; }
  .stats { grid-template-columns: 1fr; }
  .units { grid-template-columns: 1fr; }
  .depos { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  /* No mobile as duas colunas viram uma; o link legal deixa de ser empurrado
     para a direita e alinha com o copyright. */
  .footer__bottom { grid-template-columns: 1fr; }
  .footer__legal { justify-self: start; }
  .central { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   Oculta pop-ups e botões flutuantes do RD Station / Bricks
   (o contato é feito pelo formulário e pelo CTA da própria LP)
   ========================================================= */
.bricks--component-popup {
  display: none !important;
}

.rdstation-popup-js-floating-button {
  display: none !important;
}

.floating-button.floating-button--close {
  display: none !important;
}
