:root {
  --navy: #161c7a;
  --navy-deep: #0b0f4a;
  --cyan: #00bff3;
  --ink: #12163a;
  --muted: #5b6285;
  --line: #e6e9f5;
  --soft: #f5f7fd;
  --whats: #1fa855;
  --radius: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 20px; }
svg { flex-shrink: 0; }

/* Topo */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
header img { height: 38px; width: auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-whats { background: var(--whats); color: #fff; box-shadow: 0 10px 24px -8px rgba(31,168,85,.6); }
.btn-whats:hover { box-shadow: 0 14px 30px -8px rgba(31,168,85,.7); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0,191,243,.45), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(0,191,243,.25), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 88px 0 120px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(0,191,243,.15); border: 1px solid rgba(0,191,243,.4);
  color: #bff0ff; font-size: .85rem; font-weight: 600; margin-bottom: 22px;
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(0,191,243,.25); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.hero h1 span { color: var(--cyan); }
.hero p.lead { margin: 22px 0 34px; font-size: 1.15rem; color: #c9cdf0; max-width: 34rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.card-logo {
  background: #fff; border-radius: 28px; padding: 36px 32px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  transform: rotate(-2deg);
  text-align: center;
}
.card-logo img { width: 100%; height: auto; display: block; }
.card-logo ul { list-style: none; margin-top: 26px; display: grid; gap: 12px; text-align: left; }
.card-logo li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; }
.check { width: 26px; height: 26px; border-radius: 50%; background: #e3f8fe; display: grid; place-items: center; }
.check svg { width: 14px; height: 14px; fill: none; stroke: #0094c2; stroke-width: 3; }

/* Seguros */
section { padding: 96px 0; }
.titulo { text-align: center; max-width: 40rem; margin: 0 auto 52px; }
.titulo small { color: #0094c2; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.titulo h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; margin: 8px 0 12px; color: var(--navy); line-height: 1.15; }
.titulo p { color: var(--muted); font-size: 1.05rem; }
.seguros { margin-top: -64px; padding-top: 0; position: relative; z-index: 2; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 20px 40px -24px rgba(22,28,122,.25);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.item:hover { transform: translateY(-6px); border-color: rgba(0,191,243,.5); box-shadow: 0 28px 50px -24px rgba(22,28,122,.35); }
.icone {
  width: 54px; height: 54px; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), #2a39c9);
  display: grid; place-items: center; margin-bottom: 18px;
  box-shadow: 0 10px 20px -10px rgba(22,28,122,.7);
}
.icone svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.item h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.item p { color: var(--muted); font-size: .95rem; }

/* Por que */
.porque { background: var(--soft); }
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.passo { text-align: center; padding: 0 12px; }
.num {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--cyan); color: var(--navy);
  display: grid; place-items: center; font-weight: 800; font-size: 1.3rem;
}
.passo h3 { font-size: 1.15rem; margin-bottom: 6px; }
.passo p { color: var(--muted); }

a.item { display: block; color: inherit; }

/* Cotação */
.cotacao { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); position: relative; overflow: hidden; }
.cotacao::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: rgba(0,191,243,.3); filter: blur(100px); top: -220px; left: -160px;
}
.cot-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.cot-intro { color: #fff; position: sticky; top: 100px; }
.cot-intro small { color: var(--cyan); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.cot-intro h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 8px 0 14px; }
.cot-intro > p { color: #c9cdf0; font-size: 1.05rem; }
.cot-intro ul { list-style: none; display: grid; gap: 12px; margin: 26px 0 32px; }
.cot-intro li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.cot-intro .check { background: rgba(0,191,243,.18); }
.cot-intro .check svg { stroke: var(--cyan); }
.cot-intro .cot-alt { font-size: .95rem; margin-bottom: 10px; }
.cot-form {
  background: #fff; border-radius: 28px; padding: 36px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.cot-form fieldset { border: 0; margin-bottom: 28px; }
.cot-form legend { font-weight: 800; color: var(--navy); font-size: 1.1rem; margin-bottom: 14px; }
.tipos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tipos input { position: absolute; opacity: 0; pointer-events: none; }
.tipos span {
  display: block; text-align: center; padding: 12px 8px; border-radius: 14px;
  border: 1.5px solid var(--line); font-weight: 700; color: var(--muted); cursor: pointer;
  transition: all .2s;
}
.tipos input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.tipos input:focus-visible + span { outline: 3px solid rgba(0,191,243,.5); outline-offset: 2px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.campos label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.campos label small { color: var(--muted); font-weight: 500; }
.campos .full { grid-column: 1 / -1; }
.campos [hidden] { display: none; }
.cot-form input:not([type=radio]):not([type=checkbox]), .cot-form select, .cot-form textarea {
  font: inherit; font-weight: 500; font-size: .98rem; color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--soft);
  width: 100%; transition: border-color .2s, background .2s, box-shadow .2s;
}
.cot-form textarea { resize: vertical; }
.cot-form input:focus, .cot-form select:focus, .cot-form textarea:focus {
  outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(0,191,243,.15);
}
.cot-form .invalido { border-color: #e0475b !important; background: #fff5f6 !important; }
.maiusc { text-transform: uppercase; }
.placa-status { font-weight: 600; min-height: 1em; }
.placa-status.ok { color: #1a8a49; }
.placa-status.erro { color: var(--muted); }
.preenchido { border-color: #1a8a49 !important; background: #f1fbf5 !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aceite { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-bottom: 22px; cursor: pointer; }
.aceite input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.aceite.invalido { color: #e0475b; }
.btn-primario { width: 100%; background: linear-gradient(135deg, var(--navy), #2a39c9); color: #fff; padding: 16px 24px; font-size: 1.05rem; border: 0; cursor: pointer; box-shadow: 0 12px 24px -10px rgba(22,28,122,.7); }
.btn-primario:disabled { opacity: .6; cursor: wait; transform: none; }
.cot-msg { margin-top: 14px; font-weight: 600; text-align: center; }
.cot-msg.ok { color: #1a8a49; }
.cot-msg.erro { color: #e0475b; }
.cot-ok { text-align: center; padding: 40px 10px; }
.cot-ok .check { width: 64px; height: 64px; margin: 0 auto 18px; background: #e3f8ec; }
.cot-ok .check svg { width: 30px; height: 30px; stroke: #1a8a49; }
.cot-ok h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 8px; }
.cot-ok p { color: var(--muted); }

footer { padding: 36px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
footer img { height: 32px; width: auto; }
footer a:hover { color: var(--navy); }

/* WhatsApp flutuante */
.flutuante {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whats); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(31,168,85,.8);
  transition: transform .2s;
}
.flutuante:hover { transform: scale(1.08); }
.flutuante svg { width: 30px; height: 30px; fill: currentColor; }
.flutuante::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--whats); animation: pulso 2.2s infinite;
}
@keyframes pulso { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* Entrada suave */
.surge { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.surge.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .surge { opacity: 1; transform: none; transition: none; }
  .flutuante::after { animation: none; }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .card-logo { transform: none; max-width: 440px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .passos { grid-template-columns: 1fr; gap: 36px; }
  .cot-grid { grid-template-columns: 1fr; gap: 40px; }
  .cot-intro { position: static; }
}
@media (max-width: 560px) {
  header .btn-sm span { display: none; }
  .hero { padding: 56px 0 104px; }
  .grid { grid-template-columns: 1fr; }
  .ctas .btn { width: 100%; }
  section { padding: 72px 0; }
  .cot-form { padding: 26px 18px; border-radius: 22px; }
  .campos { grid-template-columns: 1fr; }
  .tipos { grid-template-columns: 1fr 1fr; }
  footer .wrap { flex-direction: column; text-align: center; }
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cf-turnstile { margin-bottom: 18px; min-height: 65px; }
.aceite a, .cot-msg a { text-decoration: underline; }
.campos label .erro-campo { color: #e0475b; font-size: .8rem; font-weight: 600; }
.campos label .erro-campo:empty { display: none; }

/* Página de privacidade */
.texto-legal { padding: 64px 0 80px; }
.texto-legal .wrap { max-width: 760px; }
.texto-legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--navy); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.texto-legal h2 { font-size: 1.15rem; color: var(--navy); margin: 32px 0 8px; }
.texto-legal p { color: var(--muted); margin-bottom: 10px; }
.texto-legal a { color: var(--navy); text-decoration: underline; }
.texto-legal .atualizado { margin-top: 32px; font-size: .9rem; }
.texto-legal .voltar { width: auto; margin-top: 16px; color: #fff; text-decoration: none; }
