/* =========================================================
   Lopes Corretora de Seguros — estilos
   ========================================================= */
:root {
  --bg: #0a0e0c;
  --bg-2: #0f1512;
  --bg-3: #141c18;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef2ef;
  --muted: #9aa8a0;
  --green: #0f6b2e;      /* verde do logo */
  --green-2: #22a857;    /* verde vivo (glow) */
  --green-3: #7af0a5;    /* verde claro (texto gradiente) */
  --wine: #8b1a1a;       /* bordô da identidade antiga, uso pontual */
  --whats: #25d366;
  --radius: 20px;
  --radius-sm: 12px;
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.section__head h2 { margin-top: 14px; }
.section__head--brand {
  max-width: none; display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.section__head--brand > div:first-child { max-width: 720px; }
.section__brand { flex: none; position: relative; width: clamp(140px, 16vw, 220px); }
.section__brand::before {
  content: ''; position: absolute; inset: -30%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(34,168,87,.28), transparent);
  filter: blur(10px);
}
.section__brand img { width: 100%; height: auto; filter: drop-shadow(0 16px 30px rgba(0,0,0,.6)); animation: brandFloat 6s ease-in-out infinite; }
@keyframes brandFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 860px) {
  .section__head--brand { flex-direction: column; align-items: flex-start; gap: 24px; }
  .section__brand { width: 120px; }
}

.grad {
  background: linear-gradient(100deg, var(--green-3), var(--green-2) 60%, #5ed58b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-3); font-weight: 600;
}
.eyebrow i { width: 28px; height: 2px; background: linear-gradient(90deg, var(--green-2), transparent); border-radius: 2px; }

.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--green-2), var(--green));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(34, 168, 87, 0.7), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(34, 168, 87, 0.9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--text); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.2); }
.btn--whats { background: var(--whats); color: #062b14; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .7); }
.btn--whats:hover { box-shadow: 0 16px 40px -10px rgba(37, 211, 102, .9); background: #2ee07a; }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-content: center; gap: 24px; justify-items: center;
  transition: opacity .6s ease, visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__logo { width: 120px; animation: loaderPulse 1.4s ease-in-out infinite; }
.loader__bar { width: 160px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--green), var(--green-3)); animation: loaderBar 1.1s ease-in-out infinite; }
@keyframes loaderPulse { 0%, 100% { opacity: .5; transform: scale(.97); } 50% { opacity: 1; transform: scale(1); } }
@keyframes loaderBar { 0% { transform: translateX(-120%); } 100% { transform: translateX(300%); } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: padding .35s var(--ease), background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding: 10px 0;
  background: rgba(10, 14, 12, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand__logo { height: 56px; width: auto; transition: height .35s var(--ease); }
.header.is-scrolled .brand__logo { height: 44px; }
.nav { display: flex; gap: 6px; }
.nav a {
  padding: 10px 14px; border-radius: 999px; font-size: 0.92rem; font-weight: 500; color: var(--muted);
  transition: color .25s, background .25s;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: var(--surface); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  transition: background .25s, border-color .25s, transform .3s var(--ease);
}
.theme-toggle:hover { border-color: rgba(34,168,87,.6); transform: rotate(-15deg); }
.theme-toggle svg { width: 20px; height: 20px; grid-area: 1 / 1; transition: opacity .3s, transform .4s var(--ease); }
.theme-toggle__sun { opacity: 0; transform: scale(.5) rotate(-90deg); }
.theme-toggle__moon { opacity: 1; }
[data-theme="light"] .theme-toggle__sun { opacity: 1; transform: none; }
[data-theme="light"] .theme-toggle__moon { opacity: 0; transform: scale(.5) rotate(90deg); }
.burger {
  display: none; flex-direction: column; gap: 5px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 100px; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 600px at 70% 40%, rgba(15, 107, 46, 0.18), transparent 60%), var(--bg);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,14,12,.75) 0%, rgba(10,14,12,.35) 30%, rgba(10,14,12,0) 50%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: -1; opacity: .55; }
.hero__glow--a { width: 520px; height: 520px; right: -120px; top: 5%; background: rgba(34, 168, 87, .35); animation: floatA 12s ease-in-out infinite; }
.hero__glow--b { width: 380px; height: 380px; left: -140px; bottom: -60px; background: rgba(139, 26, 26, .28); animation: floatB 14s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px, 30px); } }
@keyframes floatB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px, -30px); } }

.hero__inner { width: min(1240px, 100% - 32px); display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 48px); }
.hero__content { max-width: 560px; position: relative; z-index: 2; }
.hero__title {
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.4rem); font-weight: 800; margin-top: 20px;
  text-shadow: 0 10px 40px rgba(0,0,0,.6);
}
.hero__lead { margin-top: 22px; font-size: clamp(1rem, .95rem + .4vw, 1.2rem); color: #c3cdc7; max-width: 560px; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__tags { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__tags li {
  padding: 8px 14px; font-size: .82rem; border-radius: 999px; color: var(--muted);
  border: 1px solid var(--line); background: rgba(10, 14, 12, .5); backdrop-filter: blur(6px);
}
/* ---------- Carrossel de seguros ---------- */
.carousel {
  position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.carousel__track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(10,14,12,.85); color: var(--text); display: grid; place-items: center;
  opacity: 0; transition: opacity .25s, background .25s, border-color .25s;
}
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn--prev { left: 14px; }
.carousel__btn--prev svg { transform: rotate(180deg); }
.carousel__btn--next { right: 14px; }
.carousel:hover .carousel__btn, .carousel__btn:focus-visible { opacity: 1; }
.carousel__btn:hover { background: var(--green); border-color: var(--green-2); }
.carousel__item {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 12px 20px 12px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  font-family: var(--font-head); font-weight: 600; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; color: #c3cdc7;
  transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease);
}
.carousel__item svg { width: 24px; height: 24px; color: var(--green-3); flex: none; }
.carousel__item:hover { border-color: rgba(34,168,87,.6); background: rgba(34,168,87,.14); color: #fff; transform: translateY(-2px); }

/* ---------- Cards (seguros) ---------- */
.cards {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  perspective: 1400px;
}
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: transform .25s ease-out, border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.card:hover { border-color: rgba(34, 168, 87, .5); box-shadow: 0 30px 60px -30px rgba(34,168,87,.5); }
.card__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(34,168,87,.18), transparent 45%);
}
.card:hover .card__glow { opacity: 1; }
.card__icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(34,168,87,.25), rgba(15,107,46,.12));
  border: 1px solid rgba(34,168,87,.35); color: var(--green-3);
  transform: translateZ(30px);
}
.card__icon svg { width: 34px; height: 34px; }
.card h3 { transform: translateZ(24px); }
.card p { color: var(--muted); font-size: .95rem; transform: translateZ(16px); }
.card ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; transform: translateZ(12px); }
.card ul li { font-size: .78rem; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: #c3cdc7; }
.card__cta {
  margin-top: auto; padding-top: 10px; background: none; border: 0; display: inline-flex; align-items: center; gap: 8px;
  color: var(--green-3); font-weight: 600; width: fit-content; transform: translateZ(20px);
}
.card__cta .ico { transition: transform .3s var(--ease); }
.card__cta:hover .ico { transform: translateX(4px); }
.card--featured { border-color: rgba(34,168,87,.45); background: linear-gradient(160deg, rgba(34,168,87,.14), rgba(255,255,255,.02)); }
.card__badge {
  position: absolute; top: 18px; right: 18px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 600;
}

/* ---------- Split / Frotas ---------- */
.section--split { background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split__text h2 { margin-top: 14px; }
.split__text > p { color: var(--muted); margin-top: 18px; font-size: 1.02rem; }
.feats { display: grid; gap: 16px; margin: 30px 0 32px; }
.feat {
  display: flex; gap: 16px; padding: 18px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .3s;
}
.feat:hover { transform: translateX(6px); border-color: rgba(34,168,87,.4); }
.feat svg { width: 26px; height: 26px; color: var(--green-3); flex: none; margin-top: 2px; }
.feat strong { display: block; font-family: var(--font-head); font-weight: 600; }
.feat span { color: var(--muted); font-size: .92rem; }

.orbit { position: relative; aspect-ratio: 1; max-width: 520px; margin-inline: auto; display: grid; place-items: center; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(34,168,87,.35); }
.orbit__ring--1 { inset: 1%; animation: spin 40s linear infinite; }
.orbit__ring--2 { inset: 9%; border-style: solid; border-color: rgba(255,255,255,.08); animation: spin 28s linear infinite reverse; }
.orbit__ring--3 { inset: 17%; border-color: rgba(34,168,87,.5); animation: spin 18s linear infinite; }
.orbit__ring--1::before, .orbit__ring--3::before {
  content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--green-3); box-shadow: 0 0 20px var(--green-2);
}
.orbit__core {
  position: relative; z-index: 1; width: 72%; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(34,168,87,.5);
  box-shadow: 0 40px 80px -24px rgba(34,168,87,.65), 0 20px 40px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.3);
  animation: hover 5s ease-in-out infinite;
}
.orbit__core img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; display: block; transition: transform .8s var(--ease); }
.orbit:hover .orbit__core img { transform: scale(1.05); }
.orbit__core::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(10,14,12,.35) 100%);
}
.orbit__chip { z-index: 2; }
.orbit__chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: rgba(15, 21, 18, .85); border: 1px solid var(--line); backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
}
.orbit__chip svg { width: 16px; height: 16px; color: var(--green-3); }
.orbit__chip--a { top: 12%; left: 8%; animation: hover 6s ease-in-out infinite; }
.orbit__chip--b { top: 18%; right: 6%; animation: hover 7s ease-in-out infinite 1s; }
.orbit__chip--c { bottom: 16%; left: 10%; animation: hover 6.5s ease-in-out infinite .5s; }
.orbit__chip--d { bottom: 10%; right: 12%; animation: hover 7.5s ease-in-out infinite 1.5s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hover { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Por que ---------- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.why__item { padding: 32px 28px; border-right: 1px solid var(--line); position: relative; transition: background .3s; }
.why__item:last-child { border-right: 0; }
.why__item:hover { background: rgba(34,168,87,.08); }
.why__num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: rgba(34,168,87,.35); line-height: 1; }
.why__item h3 { margin-top: 18px; font-size: 1.1rem; }
.why__item p { margin-top: 10px; color: var(--muted); font-size: .93rem; }

/* ---------- Cotação ---------- */
.section--quote {
  background:
    radial-gradient(900px 500px at 15% 20%, rgba(15,107,46,.22), transparent 60%),
    radial-gradient(700px 400px at 90% 90%, rgba(139,26,26,.14), transparent 60%),
    var(--bg-2);
}
.quote {
  display: grid; grid-template-columns: 260px 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: rgba(10,14,12,.6); backdrop-filter: blur(14px);
  box-shadow: 0 50px 100px -50px rgba(0,0,0,.9);
}
.quote__tabs { display: flex; flex-direction: column; padding: 14px; gap: 6px; border-right: 1px solid var(--line); background: rgba(255,255,255,.02); }
.quote__tabs button {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; background: none;
  color: var(--muted); font-weight: 500; font-size: .95rem;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.quote__tabs button svg { width: 24px; height: 24px; flex: none; }
.quote__tabs button:hover { color: var(--text); background: var(--surface); }
.quote__tabs button[aria-selected="true"] {
  color: #fff; background: linear-gradient(135deg, rgba(34,168,87,.35), rgba(15,107,46,.2));
  border-color: rgba(34,168,87,.5); transform: translateX(4px);
}
.quote__panel { padding: clamp(22px, 3vw, 40px); }
.form__title h3 { font-size: 1.5rem; }
.form__title p { color: var(--muted); margin-top: 6px; }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; color: #c3cdc7; letter-spacing: .02em; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: var(--text); font: inherit; font-size: .95rem;
  transition: border-color .25s, box-shadow .25s, background .25s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239aa8a0' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field select option { background: var(--bg-3); color: var(--text); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(34,168,87,.7); box-shadow: 0 0 0 4px rgba(34,168,87,.15); background: rgba(255,255,255,.06);
}
.field.is-invalid input, .field.is-invalid select { border-color: rgba(220,70,70,.7); box-shadow: 0 0 0 4px rgba(220,70,70,.12); }
.field input::placeholder, .field textarea::placeholder { color: #68756e; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: .88rem; font-weight: 500; cursor: pointer;
  transition: border-color .25s, background .25s, color .25s;
}
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label:has(input:checked) { border-color: rgba(34,168,87,.7); background: rgba(34,168,87,.18); color: #fff; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: .85rem; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--green-2); width: 18px; height: 18px; flex: none; }
.check.is-invalid span { color: #ec7b7b; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.form__hint { color: var(--muted); font-size: .88rem; }
.form__error { margin-top: 14px; color: #ec7b7b; font-size: .9rem; }
/* preenchimento automático do navegador: mantém o campo escuro */
.field input:-webkit-autofill, .field select:-webkit-autofill, .field textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #151d19 inset; -webkit-text-fill-color: var(--text); caret-color: var(--text);
  transition: background-color 9999s ease-out 0s;
}
.form__success { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 24px 8px; animation: successIn .6s var(--ease); }
.form__success-icon {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px;
  background: linear-gradient(135deg, rgba(34,168,87,.35), rgba(15,107,46,.2)); border: 1px solid rgba(34,168,87,.6);
  color: var(--green-3); box-shadow: 0 0 40px rgba(34,168,87,.35);
}
.form__success-icon svg { width: 36px; height: 36px; }
.form__success h3 { font-size: 1.5rem; }
.form__success p { color: var(--muted); max-width: 520px; }
.form__success-alt { font-size: .9rem; }
.form__success-alt a { color: var(--green-3); text-decoration: underline; }
.form__success .btn { margin-top: 10px; }
.form__success .btn .ico { transform: rotate(180deg); }
@keyframes successIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Unidades ---------- */
.units { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.unit {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  position: relative; overflow: hidden; transition: transform .35s var(--ease), border-color .3s;
}
.unit:hover { transform: translateY(-6px); border-color: rgba(34,168,87,.45); }
.unit--hq { background: linear-gradient(160deg, rgba(34,168,87,.14), rgba(255,255,255,.02)); border-color: rgba(34,168,87,.4); }
.unit__tag { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-3); font-weight: 600; }
.unit h3 { margin-top: 10px; font-size: 1.3rem; }
.unit__addr { display: flex; gap: 10px; color: var(--muted); font-size: .93rem; margin-top: 14px; }
.unit__addr svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--green-3); }
.unit__phones { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.unit__phones a { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; transition: color .25s; }
.unit__phones a:hover { color: var(--green-3); }
.unit__phones svg { width: 18px; height: 18px; color: var(--green-3); }
.unit__who { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.unit .btn { margin-top: 22px; }
.place { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: 20px; align-items: stretch; }
.place__map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 360px;
  background: var(--surface); position: relative;
}
.place__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) hue-rotate(120deg) saturate(.6) contrast(1.05); }
@media (max-width: 860px) {
  .place { grid-template-columns: 1fr; }
  .place__map { min-height: 300px; }
}

/* ---------- CTA ---------- */
.cta { padding: clamp(60px, 8vw, 110px) 0; position: relative; overflow: hidden; background: linear-gradient(135deg, #0d3d1f, #0a0e0c 60%, #2a0c0c); }
.cta::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 50% 0%, rgba(34,168,87,.3), transparent 60%);
}
.cta__inner { text-align: center; display: grid; justify-items: center; gap: 18px; position: relative; }
.cta__logo { width: 110px; margin-bottom: 8px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.cta p { color: #c3cdc7; font-size: 1.05rem; }

/* ---------- Seguradoras parceiras ---------- */
.section--partners { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 96px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.partners {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px;
}
.partners li {
  aspect-ratio: 4 / 3; min-width: 0; display: grid; place-items: center; padding: 16px;
  background: #ffffff; border-radius: 16px; border: 1px solid rgba(255,255,255,.08);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.partners li:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -22px rgba(34,168,87,.6); }
.partners img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 1024px) { .partners { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .partners { gap: 8px; }
  .partners li { padding: 10px; border-radius: 12px; }
}

/* ---------- Footer ---------- */
.footer { background: #070a09; border-top: 1px solid var(--line); padding: 56px 0 24px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 120px; }
.footer__brand p { margin-top: 18px; color: var(--muted); font-style: italic; max-width: 320px; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-3); margin-bottom: 6px; }
.footer__col a, .footer__col span { color: var(--muted); font-size: .93rem; transition: color .25s; }
.footer__col a:hover { color: var(--text); }
.footer__portal { color: var(--green-3); }
.footer__portal:hover { text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: #68756e; font-size: .82rem; }

/* ---------- FAB WhatsApp ---------- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--whats); color: #062b14; box-shadow: 0 16px 40px -10px rgba(37,211,102,.8);
  transition: transform .35s var(--ease);
}
.fab:hover { transform: scale(1.08) rotate(-6deg); }
.fab svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.fab__pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--whats); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; }
  .split__media { order: 2; }
  .orbit { max-width: 380px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
    flex-direction: column; gap: 6px; padding: 100px 24px 24px;
    background: rgba(10,14,12,.96); backdrop-filter: blur(20px); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .45s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav a { font-size: 1.1rem; padding: 14px 16px; }
  .burger { display: flex; position: relative; z-index: 2; }
  .header__actions .btn span { display: none; }
  .header__actions .btn { padding: 10px 12px; }
  .quote { grid-template-columns: 1fr; }
  .quote__tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .quote__tabs::-webkit-scrollbar { display: none; }
  .quote__tabs button { white-space: nowrap; flex: none; }
  .quote__tabs button[aria-selected="true"] { transform: none; }
  .why__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .why__item:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .hero { padding: 120px 0 90px; }
  .hero::after { background: linear-gradient(180deg, rgba(10,14,12,.92) 0%, rgba(10,14,12,.7) 45%, rgba(10,14,12,.15) 75%, rgba(10,14,12,0) 100%); }
  .hero__content { max-width: 100%; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .brand__logo { height: 46px; }
}
/* Animações são parte da identidade do site e ficam ativas mesmo com "reduzir movimento" no sistema. */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Palco 3D com fotos (hero) ---------- */
.stage {
  position: relative; z-index: 1; aspect-ratio: 10 / 7; width: 100%;
  perspective: 1400px; transform-style: preserve-3d;
  --rx: 0; --ry: 0;
}
.stage__glow {
  position: absolute; left: 50%; top: 64%; width: 92%; height: 30%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(34,168,87,.55), rgba(34,168,87,.18) 55%, transparent);
  filter: blur(18px); pointer-events: none;
}
.stage__ring {
  position: absolute; left: 50%; top: 63%; border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%) rotateX(76deg);
  border: 1px solid rgba(122,240,165,.45); box-shadow: 0 0 24px rgba(34,168,87,.25), inset 0 0 24px rgba(34,168,87,.15);
}
.stage__ring--a { width: 98%; aspect-ratio: 1; animation: ringPulse 5s ease-in-out infinite; }
.stage__ring--b { width: 78%; aspect-ratio: 1; border-style: dashed; opacity: .6; animation: ringSpin 30s linear infinite; }
@keyframes ringPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes ringSpin { to { transform: translate(-50%, -50%) rotateX(76deg) rotate(360deg); } }

.stage__slide {
  position: absolute; inset: 0;
  transform: translate3d(14%, 0, -120px) rotateY(-28deg) scale(.92); opacity: 0; pointer-events: none;
  transition: transform 1.3s cubic-bezier(.22,1,.36,1), opacity .9s ease;
  transform-style: preserve-3d;
}
.stage__slide.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateY(calc(var(--ry) * 10deg)) rotateX(calc(var(--rx) * -6deg));
}
.stage__slide.is-leaving { transform: translate3d(-14%, 0, -120px) rotateY(28deg) scale(.92); opacity: 0; }
.stage__img {
  position: absolute; left: 0; bottom: 38%; width: 100%; height: auto; display: block;
  filter: drop-shadow(0 28px 34px rgba(0,0,0,.65)) drop-shadow(0 0 40px rgba(34,168,87,.12));
  animation: carFloat 6s ease-in-out infinite;
}
.stage__reflex {
  position: absolute; left: 0; top: 62%; width: 100%; height: auto; display: block;
  transform: scaleY(-1) translateY(-2px); opacity: .28; filter: blur(2px) saturate(.8);
  -webkit-mask-image: linear-gradient(to bottom, transparent 35%, rgba(0,0,0,.9) 100%);
  mask-image: linear-gradient(to bottom, transparent 35%, rgba(0,0,0,.9) 100%);
  animation: carFloat 6s ease-in-out infinite reverse;
}
@keyframes carFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.stage__reflex { animation-name: reflexFloat; }
@keyframes reflexFloat { 0%,100% { transform: scaleY(-1) translateY(-2px); } 50% { transform: scaleY(-1) translateY(8px); } }

.stage__chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 12px; border-radius: 14px;
  background: rgba(12,18,15,.72); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 40px -20px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08);
  transform: translate3d(calc(var(--ry) * var(--d, 1) * -14px), calc(var(--rx) * var(--d, 1) * -10px), 0);
  transition: transform .2s ease-out;
}
.stage__chip svg { width: 22px; height: 22px; color: var(--green-3); flex: none; }
.stage__chip span { display: grid; line-height: 1.2; }
.stage__chip strong { font-family: var(--font-head); font-size: .86rem; font-weight: 600; }
.stage__chip small { font-size: .74rem; color: var(--muted); }
.stage__chip--a { left: 0; top: 4%; --d: 2.2; animation: chipFloat 7s ease-in-out infinite; }
.stage__chip--b { right: -2%; top: 24%; --d: 1.6; animation: chipFloat 8s ease-in-out infinite 1.2s; }
.stage__chip--c { left: 8%; bottom: 6%; --d: 2.8; animation: chipFloat 6.5s ease-in-out infinite .6s; }
@keyframes chipFloat { 0%,100% { margin-top: 0; } 50% { margin-top: -10px; } }

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .stage { max-width: 640px; margin: 8px auto 0; aspect-ratio: 10 / 6; }
  .stage__chip--a { left: 0; top: 0; }
  .stage__chip--b { right: 0; top: 4%; }
  .stage__chip--c { left: 2%; bottom: -2%; }
}
@media (max-width: 640px) {
  .stage { aspect-ratio: 10 / 6.2; }
  .hero { padding-bottom: 56px; }
  .stage__chip { padding: 8px 10px; gap: 8px; }
  .stage__chip strong { font-size: .78rem; }
  .stage__chip small { display: none; }
  .stage__chip--c { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(10,14,12,.85) 0%, rgba(10,14,12,.45) 40%, rgba(10,14,12,0) 70%); }
}

/* =========================================================
   TEMA CLARO — ativado por <html data-theme="light">
   (remova o atributo para voltar ao tema escuro)
   ========================================================= */
:root[data-theme="light"] {
  --bg: #f6f8f7;
  --bg-2: #eef2ef;
  --bg-3: #e4eae6;
  --surface: #ffffff;
  --surface-2: #f1f5f2;
  --line: rgba(10, 20, 14, 0.1);
  --text: #0f1512;
  --muted: #5b6a62;
  --green-3: #15803d;
}
[data-theme="light"] .grad { background-image: linear-gradient(100deg, #0f6b2e, #22a857 60%, #1a9c4e); }
[data-theme="light"] .btn--primary { color: #fff; }
[data-theme="light"] .btn--ghost { background: #fff; border-color: var(--line); box-shadow: 0 8px 24px -14px rgba(0,0,0,.25); }
[data-theme="light"] .btn--ghost:hover { background: #f1f5f2; border-color: rgba(10,20,14,.2); }
[data-theme="light"] .header.is-scrolled { background: rgba(246,248,247,.82); }
[data-theme="light"] .hero { background: radial-gradient(1200px 600px at 70% 40%, rgba(34,168,87,.14), transparent 60%), var(--bg); }
[data-theme="light"] .hero::after { background: linear-gradient(90deg, rgba(246,248,247,.85) 0%, rgba(246,248,247,.45) 30%, rgba(246,248,247,0) 50%); }
[data-theme="light"] .hero__glow--a { opacity: .35; }
[data-theme="light"] .hero__glow--b { opacity: .18; }
[data-theme="light"] .hero__title { text-shadow: none; }
[data-theme="light"] .hero__lead { color: #3b4a42; text-shadow: none; }
[data-theme="light"] .hero__tags li { background: rgba(255,255,255,.75); color: #3b4a42; }
[data-theme="light"] .stage__chip { background: rgba(255,255,255,.9); border-color: rgba(10,20,14,.08); box-shadow: 0 20px 40px -20px rgba(0,0,0,.25), inset 0 1px 0 #fff; }
[data-theme="light"] .stage__img { filter: drop-shadow(0 24px 30px rgba(0,0,0,.35)); }
[data-theme="light"] .stage__reflex { opacity: .16; }
[data-theme="light"] .stage__glow { opacity: .7; }
[data-theme="light"] .carousel__btn { background: #fff; }
[data-theme="light"] .carousel__item { background: #fff; color: #2a3a32; box-shadow: 0 6px 18px -12px rgba(0,0,0,.25); }
[data-theme="light"] .carousel__item:hover { color: #0f6b2e; background: rgba(34,168,87,.1); }
[data-theme="light"] .card { background: #fff; box-shadow: 0 16px 40px -28px rgba(10,20,14,.35); }
[data-theme="light"] .card:hover { box-shadow: 0 30px 60px -30px rgba(34,168,87,.45); }
[data-theme="light"] .card ul li { color: #3b4a42; background: #f6f8f7; }
[data-theme="light"] .card--featured { background: linear-gradient(160deg, rgba(34,168,87,.12), #fff 70%); }
[data-theme="light"] .section__brand img { filter: drop-shadow(0 16px 30px rgba(0,0,0,.2)); }
[data-theme="light"] .feat { background: #fff; }
[data-theme="light"] .orbit__ring--2 { border-color: rgba(10,20,14,.1); }
[data-theme="light"] .orbit__chip { background: rgba(255,255,255,.95); box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); }
[data-theme="light"] .why { background: #fff; }
[data-theme="light"] .why__item:hover { background: rgba(34,168,87,.07); }
[data-theme="light"] .section--quote { background: radial-gradient(900px 500px at 15% 20%, rgba(34,168,87,.14), transparent 60%), var(--bg-2); }
[data-theme="light"] .quote { background: rgba(255,255,255,.85); box-shadow: 0 40px 80px -50px rgba(10,20,14,.35); }
[data-theme="light"] .quote__tabs { background: #f6f8f7; }
[data-theme="light"] .quote__tabs button[aria-selected="true"] { background: linear-gradient(135deg, #22a857, #0f6b2e); border-color: transparent; color: #fff; }
[data-theme="light"] .field label { color: #2a3a32; }
[data-theme="light"] .field input, [data-theme="light"] .field select, [data-theme="light"] .field textarea { background: #fff; }
[data-theme="light"] .field input:focus, [data-theme="light"] .field select:focus, [data-theme="light"] .field textarea:focus { background: #fff; }
[data-theme="light"] .field input::placeholder, [data-theme="light"] .field textarea::placeholder { color: #8a968f; }
[data-theme="light"] .field select option { background: #fff; }
[data-theme="light"] .field input:-webkit-autofill, [data-theme="light"] .field select:-webkit-autofill, [data-theme="light"] .field textarea:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset; }
[data-theme="light"] .chips label { background: #fff; }
[data-theme="light"] .chips label:has(input:checked) { background: rgba(34,168,87,.15); color: #0f6b2e; }
[data-theme="light"] .form__success-icon { background: linear-gradient(135deg, rgba(34,168,87,.25), rgba(15,107,46,.1)); }
[data-theme="light"] .unit { background: #fff; box-shadow: 0 16px 40px -28px rgba(10,20,14,.35); }
[data-theme="light"] .unit--hq { background: linear-gradient(160deg, rgba(34,168,87,.12), #fff 70%); }
[data-theme="light"] .place__map { background: #fff; }
[data-theme="light"] .place__map iframe { filter: none; }
[data-theme="light"] .section--partners { background: #fff; }
[data-theme="light"] .partners li { border-color: rgba(10,20,14,.08); box-shadow: 0 10px 24px -18px rgba(10,20,14,.35); }
[data-theme="light"] .loader { background: var(--bg); }
[data-theme="light"] .loader__bar { background: rgba(10,20,14,.1); }
@media (max-width: 860px) {
  [data-theme="light"] .nav { background: rgba(246,248,247,.97); }
}
@media (max-width: 640px) {
  [data-theme="light"] .hero::after { background: linear-gradient(180deg, rgba(246,248,247,.9) 0%, rgba(246,248,247,.5) 40%, rgba(246,248,247,0) 70%); }
}
/* A chamada final e o rodapé continuam escuros no tema claro, para fechar a página com contraste. */
[data-theme="light"] .cta, [data-theme="light"] .footer {
  --text: #eef2ef; --muted: #9aa8a0; --line: rgba(255,255,255,.09); --green-3: #7af0a5;
  color: var(--text);
}
[data-theme="light"] .cta .grad { background-image: linear-gradient(100deg, #7af0a5, #22a857 60%, #5ed58b); }
