/* El Chai Corretora de Seguros · cores do Manual de Identidade v1.0
   Assinatura visual: o anel do logotipo + guilloché (o desenho de segurança de cédulas e apólices). */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-var.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --preto: #0B0A08;
  --grafite: #1E1A14;
  --dourado: #D4B243;
  --ouro-velho: #8A6114;
  --marfim: #F8F4EA;

  --txt: #F8F4EA;
  --txt-2: rgba(248, 244, 234, .68);
  --txt-3: rgba(248, 244, 234, .56);
  --line: rgba(248, 244, 234, .09);
  --line-gold: rgba(212, 178, 67, .24);
  --ink-2: rgba(11, 10, 8, .68);
  --ink-line: rgba(11, 10, 8, .13);

  --grad-noite: linear-gradient(180deg, #0B0A08 0%, #1E1A14 62%, #2C2416 100%);

  --display: "Sora", "Montserrat", system-ui, sans-serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --header: 76px;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0; overflow-x: hidden;
  background: var(--preto); color: var(--txt);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.9rem); text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--dourado); }
p { margin: 0; }
address { font-style: normal; }
::selection { background: var(--dourado); color: var(--preto); }
:focus-visible { outline: 2px solid var(--dourado); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--dourado); color: var(--preto); border-radius: 8px; font-weight: 600; }
.skip:focus { top: 16px; }

.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico-wa { fill: currentColor; stroke: none; }

/* Estado inicial das animações: só esconde quando o GSAP vai rodar (classe .js) */
.js [data-anim], .js [data-split] { visibility: hidden; }
/* O selo aparece já no primeiro quadro (microtexto); anéis e leão entram pela animação */
.js .seal-ring { stroke-dasharray: 1700; stroke-dashoffset: 1700; }
.js .seal-lion { opacity: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 22px; border-radius: 10px; border: 1px solid transparent;
  font: 600 .92rem/1 var(--sans); white-space: nowrap; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn-gold { background: var(--dourado); color: var(--preto); }
.btn-gold:hover { background: #E0C25A; }
.btn-line { border-color: var(--line-gold); color: var(--txt); }
.btn-line:hover { border-color: var(--dourado); }
.btn-line .ico-wa { color: var(--dourado); }
.btn-sm { padding: 11px 16px; font-size: .85rem; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
}
.site-header.is-solid, .menu-open .site-header { background: rgba(11, 10, 8, .95); border-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-sym { width: auto; height: 40px; }
.brand-word { width: auto; height: 21px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { font-size: .86rem; font-weight: 500; color: var(--txt-2); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--txt); }
.nav-toggle { display: none; }

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 12px;
    background: none; border: 1px solid var(--line-gold); border-radius: 10px; cursor: pointer;
  }
  .nav-toggle span { height: 1.5px; background: var(--txt); transition: transform .25s; }
  .menu-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px 24px 24px; background: var(--preto); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 17px 2px; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--txt); }
  .nav .btn { margin-top: 20px; padding: 16px; font-size: .95rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(118px, 13vw, 150px) 0 clamp(64px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker { display: block; margin-bottom: 22px; font: 600 .95rem/1.3 var(--sans); letter-spacing: 0; color: var(--dourado); }
.h1-main { display: block; font-size: clamp(2.45rem, 4.9vw, 4.15rem); line-height: 1.04; max-width: 15ch; }
.lead { max-width: 46ch; margin-top: 24px; font-size: clamp(1.02rem, 1.25vw, 1.13rem); color: var(--txt-2); }

/* Selo: anel + guilloché + leão */
.seal { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; perspective: 900px; }
.seal::before {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 178, 67, .16), transparent 68%);
}
.seal-spin { position: absolute; inset: 0; }
.seal-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; will-change: transform; }
.seal-layer path, .seal-layer circle { fill: none; }
.seal-band path { stroke: var(--dourado); stroke-width: .55; stroke-opacity: .55; }
.seal-rosette path { stroke: var(--dourado); stroke-width: .55; stroke-opacity: .5; }
.seal-ring { stroke: url(#g-ouro); stroke-width: 1.6; }
.seal-ring--thin { stroke: var(--dourado); stroke-width: .8; stroke-opacity: .55; }
.seal-micro text { fill: var(--dourado); fill-opacity: .72; font: 600 9.5px var(--sans); letter-spacing: 2px; }
.seal-lion {
  position: absolute; inset: 0; width: 37%; height: auto; margin: auto; translate: 0 -3%;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .7));
}

/* Formulário de cotação (barra única) */
.quote { max-width: 640px; margin-top: 34px; }
.quote-bar {
  display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 6px;
  padding: 6px; background: var(--grafite); border: 1px solid var(--line-gold); border-radius: 14px;
}
.quote[data-mode="n8n"] .quote-bar { grid-template-columns: 1.05fr 1fr 1fr auto; }
.field {
  display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0;
  padding: 10px 14px; background: var(--preto); border: 1px solid transparent; border-radius: 10px;
  transition: border-color .2s;
}
.field:focus-within { border-color: rgba(212, 178, 67, .55); }
.field label { font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--txt-3); }
.field input, .field select {
  width: 100%; padding: 0; background: none; border: 0; outline: 0;
  font-size: 1rem; font-weight: 500; color: var(--txt);
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: rgba(248, 244, 234, .3); }
.field select {
  padding-right: 22px; cursor: pointer; text-overflow: ellipsis;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4B243' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 14px;
}
.field select option { background: var(--grafite); color: var(--txt); }
.quote-bar .btn { height: 100%; padding-inline: 24px; }
.quote.is-sending .quote-bar .btn { opacity: .6; pointer-events: none; }
[data-only="n8n"] { display: none; }
.quote[data-mode="n8n"] [data-only="n8n"] { display: flex; }
.quote-error { margin-top: 10px; font-size: .84rem; color: #F0D57A; }
.quote-done { display: none; align-items: center; gap: 14px; padding: 18px 20px; background: var(--grafite); border: 1px solid var(--dourado); border-radius: 14px; }
.quote-done .ico { color: var(--dourado); stroke-width: 2; }
.quote-done b { font-weight: 600; }
.quote.is-sent .quote-bar { display: none; }
.quote.is-sent .quote-done { display: flex; }
.quote-notes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: .8rem; color: var(--txt-3); }
.quote-notes span { display: inline-flex; align-items: center; gap: 7px; }
.quote-notes .ico { width: 14px; height: 14px; color: var(--dourado); stroke-width: 2.2; }

/* ---------- Faixa de seguradoras ---------- */
.partners { background: #0E0C0A; border-block: 1px solid var(--line); }
.partners-in { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 44px; padding-block: 24px; }
.partners-label { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; font-size: .86rem; font-weight: 500; color: var(--txt-2); }
.partners-label b { font: 600 1.7rem/1 var(--display); letter-spacing: -.03em; color: var(--dourado); }
.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; width: max-content; animation: marquee 56s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 52px; margin: 0; padding: 0 52px 0 0; list-style: none; }
.marquee li { white-space: nowrap; font-size: .86rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(248, 244, 234, .5); transition: color .2s; }
.marquee li:hover { color: var(--txt); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { position: relative; padding-block: clamp(84px, 11vw, 140px); }
.section-alt { background: #100E0B; border-block: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 6vw, 64px); }
.sec-head h2 { max-width: 16ch; }
.sec-head > p { justify-self: end; max-width: 42ch; color: var(--txt-2); }

/* Produtos */
.products { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 32px 30px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .35s;
}
.product::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: calc(100% + 1px); height: 1px;
  background: var(--dourado); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.product:hover { background: rgba(212, 178, 67, .035); }
.product:hover::before { transform: scaleX(1); }
.product-ico {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px;
  border: 1px solid var(--line-gold); border-radius: 50%; color: var(--dourado);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.product:hover .product-ico { background: var(--dourado); color: var(--preto); transform: rotate(-8deg); }
.product h3 { font-size: 1.32rem; }
.product p { flex: 1; font-size: .93rem; color: var(--txt-2); }
.product-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .84rem; font-weight: 600; color: var(--dourado); }
.product-link::after { content: ""; position: absolute; inset: 0; }
.product-link .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.product:hover .product-link .ico { transform: translateX(4px); }

/* Como funciona: passos com trilha + painel fixo */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 104px); align-items: start; }
.how h2 { max-width: 15ch; }
.how-intro { max-width: 44ch; margin-top: 20px; color: var(--txt-2); }
.steps-wrap { position: relative; margin-top: 52px; }
.steps-track { position: absolute; top: 22px; bottom: 30px; left: 22px; width: 1px; background: var(--line); }
.steps-fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--dourado), var(--ouro-velho)); transform-origin: top; }
.js .steps-fill { transform: scaleY(0); }
.steps { display: grid; gap: 40px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding-left: 76px; }
.step-n {
  position: absolute; top: -8px; left: 0; display: grid; place-items: center; width: 45px; height: 45px;
  background: #100E0B; border: 1px solid var(--line-gold); border-radius: 50%;
  font: 600 1rem/1 var(--display); color: var(--txt-2);
  transition: background .4s, color .4s, border-color .4s;
}
.step.is-active .step-n, html:not(.js) .step-n { background: var(--dourado); border-color: var(--dourado); color: var(--preto); }
.step h3 { margin-bottom: 8px; font-size: 1.18rem; }
.step p { max-width: 42ch; font-size: .93rem; color: var(--txt-2); }
.how-panel { position: sticky; top: calc(var(--header) + 48px); }

/* Painel de comparação (ilustrativo) */
.panel {
  padding: 22px 22px 18px;
  background: linear-gradient(180deg, #1B1813 0%, #110F0C 100%);
  border: 1px solid var(--line-gold); border-radius: 16px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9);
}
.panel-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.panel-head img { width: 30px; height: auto; }
.panel-title { display: block; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.panel-sub { display: block; font-size: .78rem; color: var(--txt-3); }
.live {
  display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 6px 10px; white-space: nowrap;
  border: 1px solid var(--line-gold); border-radius: 99px;
  font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dourado);
}
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--dourado); animation: pulse 1.6s ease-in-out infinite; }
.panel.is-done .live i { animation: none; }
.panel-progress { display: flex; align-items: center; gap: 14px; padding: 16px 0 4px; font-size: .76rem; color: var(--txt-3); }
.track { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.track span { display: block; width: 0; height: 100%; background: var(--dourado); transition: width .5s ease; }
.count { white-space: nowrap; font-variant-numeric: tabular-nums; }
.count b { font-weight: 600; color: var(--txt); }
.panel-cols, .row { display: grid; grid-template-columns: 1fr 76px 92px; gap: 14px; align-items: center; }
.panel-cols { padding: 14px 0 8px; font-size: .6rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--txt-3); }
.panel-cols span:last-child { text-align: right; }
.panel-list { min-height: 230px; margin: 0; padding: 0; list-style: none; transition: opacity .35s; }
.panel-list.is-fading { opacity: 0; }
.row { margin: 0 -10px; padding: 11px 10px; border-top: 1px solid var(--line); border-radius: 8px; transition: background .4s; }
.row-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .88rem; font-weight: 500; color: var(--txt-2); transition: color .3s; }
.row-meter { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.row-meter i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--ouro-velho), var(--dourado)); border-radius: 4px; transition: width .8s var(--ease); }
.row-status { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: .72rem; color: var(--txt-3); }
.row[data-state="busy"] .row-status::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--line-gold); border-top-color: var(--dourado); animation: spin .7s linear infinite;
}
.row[data-state="done"] .row-status { color: var(--txt-2); }
.row.is-pick { background: rgba(212, 178, 67, .08); border-top-color: transparent; }
.row.is-pick + .row { border-top-color: transparent; }
.row.is-pick .row-name { color: var(--txt); }
.row.is-pick .row-status { color: var(--dourado); font-weight: 600; }
.panel-foot {
  display: flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 12px; padding: 12px 14px;
  border: 1px dashed var(--line-gold); border-radius: 10px; font-size: .8rem; color: var(--txt-2);
}
.panel-foot .ico { width: 16px; height: 16px; color: var(--dourado); }
.panel.is-done .panel-foot { border-style: solid; border-color: rgba(212, 178, 67, .5); color: var(--txt); }
.panel-cap { margin-top: 14px; font-size: .74rem; color: var(--txt-3); text-align: center; }
@keyframes pulse { 50% { opacity: .25; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Por que (fundo Marfim) */
.light { overflow: hidden; background: var(--marfim); color: var(--preto); }
.light h2 em { color: var(--ouro-velho); }
.light .lead { color: var(--ink-2); }
.light-rosette { position: absolute; top: 50%; left: -14%; width: min(900px, 90vw); translate: 0 -50%; pointer-events: none; will-change: transform; }
.light-rosette path { fill: none; stroke: var(--ouro-velho); stroke-width: .5; stroke-opacity: .2; }
.light .wrap { position: relative; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 7vw, 100px); align-items: start; }
.why h2 { max-width: 16ch; }
.why-seal { width: 104px; height: auto; margin-bottom: 32px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; background: rgba(248, 244, 234, .7); border-top: 1px solid var(--ink-line); border-left: 1px solid var(--ink-line); }
.pillar { padding: 30px 26px; border-right: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.pillar .ico { width: 28px; height: 28px; margin-bottom: 20px; color: var(--ouro-velho); }
.pillar h3 { margin-bottom: 8px; font-size: 1.08rem; }
.pillar p { font-size: .9rem; color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(60px, 8vw, 100px); border-top: 1px solid var(--ink-line); }
.stat { padding: 30px 24px 0 0; }
.stat + .stat { padding-left: 30px; border-left: 1px solid var(--ink-line); }
.stat b { display: block; font: 600 clamp(2.6rem, 4.6vw, 3.6rem)/1 var(--display); letter-spacing: -.04em; color: var(--ouro-velho); font-variant-numeric: tabular-nums; }
.stat span { display: block; max-width: 24ch; margin-top: 12px; font-size: .88rem; color: var(--ink-2); }
.stat span i { font-style: normal; }

/* Dúvidas */
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(44px, 7vw, 100px); align-items: start; }
.faq-aside p { max-width: 36ch; margin: 20px 0 30px; color: var(--txt-2); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font: 600 1.06rem/1.35 var(--display); letter-spacing: -.02em; transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--dourado); }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
.plus { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid var(--line-gold); border-radius: 50%; }
.plus::before, .plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; background: var(--dourado); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list details p { padding: 0 56px 26px 0; color: var(--txt-2); }

/* Chamada final */
.cta { overflow: hidden; text-align: center; background: var(--grad-noite); }
.cta-rosette { position: absolute; top: 50%; left: 50%; width: min(1100px, 150vw); translate: -50% -50%; pointer-events: none; will-change: transform; }
.cta-rosette path { fill: none; stroke: var(--dourado); stroke-width: .45; stroke-opacity: .16; }
.cta-in { position: relative; }
.cta-sym { width: 96px; height: auto; margin: 0 auto 34px; }
.cta h2 { max-width: 17ch; margin: 0 auto; font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.cta p { max-width: 46ch; margin: 22px auto 38px; color: var(--txt-2); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Rodapé */
.footer { position: relative; padding: 76px 0 32px; background: var(--preto); }
.footer { overflow-x: clip; }
/* Largura mínima fixa: no celular a faixa é cortada, em vez de espremida */
.footer-band { position: absolute; top: -14px; left: 50%; width: max(100%, 1440px); height: 28px; translate: -50% 0; }
.footer-band path { fill: none; stroke: var(--dourado); stroke-width: .7; stroke-opacity: .5; vector-effect: non-scaling-stroke; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 40px; }
.footer-logo { width: 112px; height: auto; }
.footer-brand p { max-width: 30ch; margin-top: 20px; font-size: .9rem; color: var(--txt-2); }
.footer-h { margin: 0 0 18px; font: 600 .74rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--txt-3); }
.footer ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--txt-2); }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--dourado); }
.contact { display: inline-flex; align-items: center; gap: 10px; }
.contact .ico { width: 17px; height: 17px; color: var(--dourado); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: .76rem; color: var(--txt-3);
}
.footer-legal a { color: var(--txt-2); font-weight: 600; }
/* Dado ainda não informado pelo cliente */
.ph { color: var(--dourado); border-bottom: 1px dashed currentColor; }

.mbar { display: none; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 58px; height: 58px;
  background: var(--dourado); color: var(--preto); border-radius: 50%;
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .8);
  transition: transform .25s var(--ease), background .2s;
}
.wa-float svg { width: 27px; height: 27px; fill: currentColor; }
.wa-float:hover { transform: translateY(-2px); background: #E0C25A; }
.wa-float span {
  position: absolute; right: 70px; padding: 9px 14px; white-space: nowrap;
  background: var(--grafite); color: var(--txt); border: 1px solid var(--line-gold); border-radius: 8px;
  font-size: .8rem; font-weight: 500; opacity: 0; transform: translateX(6px); pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.wa-float:hover span { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .seal { width: min(100%, 440px); }
  .products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .sec-head, .why, .faq, .how { grid-template-columns: 1fr; }
  .sec-head > p { justify-self: start; }
  .how-panel { position: static; max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  /* Cotação: tipo em cima; nome e botão lado a lado */
  .quote-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .quote-bar .field:first-child, .quote[data-mode="n8n"] .quote-bar .field:nth-child(2) { grid-column: 1 / -1; }
  .quote[data-mode="n8n"] .quote-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .quote-bar .btn { padding-inline: 18px; }
  .partners-in { grid-template-columns: 1fr; gap: 14px; padding-block: 22px; }

  /* No celular, a barra de ações substitui o botão flutuante */
  .wa-float { display: none; }
  .mbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
    display: flex; gap: 8px; padding: 8px;
    background: rgba(30, 26, 20, .97); border: 1px solid var(--line-gold); border-radius: 16px;
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .85);
    transform: translateY(calc(100% + 24px)); transition: transform .45s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .mbar .btn { flex: 1; padding-block: 14px; }
  .mbar-wa { display: grid; place-items: center; width: 52px; flex: none; border: 1px solid var(--line-gold); border-radius: 10px; color: var(--dourado); }
  .mbar-wa svg { width: 24px; height: 24px; fill: currentColor; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding-block: 68px; }
  .sec-head { gap: 14px; margin-bottom: 32px; }

  /* Topo: o selo vira marca d'água atrás do título, como o leão de uma cédula */
  .hero { padding: 104px 0 52px; }
  .hero-copy { position: relative; z-index: 1; }
  .seal { position: absolute; top: 64px; right: -50vw; width: 100vw; margin: 0; opacity: .28; pointer-events: none; }
  .seal-band path, .seal-rosette path { stroke-width: .9; }
  .seal-micro text { font-size: 12px; letter-spacing: 1px; }
  .h1-main { font-size: 2.45rem; }
  .lead { margin-top: 18px; font-size: 1rem; }
  .quote { margin-top: 26px; }
  .quote-notes { gap: 6px 16px; font-size: .76rem; }

  /* Seguros: 9 blocos compactos em duas colunas, sem textos longos */
  .products { grid-template-columns: 1fr 1fr; }
  .product { gap: 8px; padding: 20px 16px 18px; }
  .product:last-child { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 14px; }
  .product:last-child .product-ico { margin: 0; }
  .product-ico { width: 42px; height: 42px; margin-bottom: 6px; }
  .product-ico .ico { width: 21px; height: 21px; }
  .product h3 { font-size: 1rem; line-height: 1.2; }
  .product p { display: none; }
  .product-link { margin: 0; }
  .product-link .ico { position: absolute; top: 20px; right: 14px; }
  .product:last-child .product-link .ico { top: 50%; margin-top: -8px; }
  .product-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  /* Como funciona: passos mais enxutos */
  .steps-wrap { margin-top: 36px; }
  .steps { gap: 28px; }
  .step { padding-left: 60px; }
  .step-n { width: 40px; height: 40px; font-size: .92rem; }
  .steps-track { left: 20px; top: 20px; }
  .step h3 { font-size: 1.06rem; }
  .step p { font-size: .9rem; }
  .how { gap: 40px; }
  .panel { padding: 18px 16px 16px; }
  .panel-title { font-size: .84rem; }
  .panel-cols, .row { grid-template-columns: 1fr 56px 84px; gap: 10px; }

  /* Por que: pilares deslizam para o lado, números lado a lado */
  .why { gap: 28px; }
  .why-seal { width: 84px; margin-bottom: 24px; }
  .light .lead { margin-top: 18px; }
  .pillars {
    display: flex; gap: 10px; margin-inline: -16px; padding: 4px 16px 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    background: none; border: 0; scrollbar-width: none;
  }
  .pillars::-webkit-scrollbar { display: none; }
  .pillar { flex: 0 0 78%; scroll-snap-align: start; padding: 24px 20px; background: rgba(255, 255, 255, .6); border: 1px solid var(--ink-line); border-radius: 14px; }
  .pillar .ico { margin-bottom: 14px; }
  .stats { grid-template-columns: repeat(3, 1fr); margin-top: 44px; }
  .stat { padding: 22px 8px 0 0; }
  .stat + .stat { padding-left: 12px; }
  .stat b { font-size: 2.3rem; }
  .stat span { margin-top: 8px; font-size: .78rem; line-height: 1.4; }
  .stat span i { display: none; }
  .light-rosette { left: -60%; width: 160vw; }

  .faq-list summary { padding: 20px 0; font-size: 1rem; }
  .faq-list details p { padding-right: 0; }
  .faq-aside p { margin: 16px 0 22px; }

  .cta-sym { width: 76px; margin-bottom: 26px; }

  /* Rodapé: menus lado a lado */
  .footer { padding: 60px 0 calc(96px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-brand { display: flex; align-items: center; gap: 18px; }
  .footer-logo { width: 70px; }
  .footer-brand p { margin: 0; }
  .footer-legal { margin-top: 40px; }
}

/* As animações ficam sempre ativas, mesmo com "reduzir movimento" no aparelho (decisão de marca). */
