:root {
  --azul: #1F5FBF;
  --azul-profundo: #123A7A;
  --teal: #17A398;
  --ambar: #F2A93B;
  --texto: #0B1B33;
  --fundo: #F5F8FC;
  --branco: #FFFFFF;
  --sombra: 0 10px 30px rgba(18, 58, 122, 0.12);
  --raio: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--texto);
  background: var(--fundo);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  margin: 0 0 .5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; }

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 248, 252, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(18, 58, 122, 0.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--azul-profundo);
  text-decoration: none;
}

.brand img { width: 36px; height: 36px; }

.brand .word-plano,
.footer .brand .word-plano { color: var(--ambar); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--azul-profundo);
  text-decoration: none;
  font-size: .95rem;
}

@media (min-width: 720px) {
  .header-phone { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--ambar);
  color: var(--azul-profundo);
  box-shadow: 0 8px 20px rgba(242, 169, 59, 0.35);
}

.btn-secondary {
  background: var(--teal);
  color: var(--branco);
  box-shadow: 0 8px 20px rgba(23, 163, 152, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--azul-profundo);
  border: 2px solid var(--azul-profundo);
  padding: 12px 24px;
}

.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero {
  padding: 150px 0 80px;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(31, 95, 191, 0.15), transparent 60%),
    linear-gradient(180deg, #EAF1FB 0%, var(--fundo) 100%);
}

.hero .container {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.1fr .9fr; }
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(23, 163, 152, 0.12);
  color: var(--teal);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--azul-profundo);
}

.hero h1 span { color: var(--teal); }

.hero p.lead {
  font-size: 1.1rem;
  color: #3A4C6B;
  max-width: 48ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-trust {
  margin-top: 28px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: #51658A;
}

.hero-trust strong { color: var(--azul-profundo); display: block; font-size: 1.3rem; font-family: 'Poppins', sans-serif; }

.hero-card {
  background: var(--branco);
  border-radius: 20px;
  box-shadow: var(--sombra);
  padding: 30px;
  position: relative;
}

.hero-card h3 { color: var(--azul-profundo); font-size: 1.1rem; }

.hero-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }

.hero-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .92rem;
  color: #2A3C5A;
}

.hero-card li .dot {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(23, 163, 152, 0.15);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 700;
}

/* ---------- Operadoras ---------- */
.operadoras {
  padding: 36px 0;
  background: var(--branco);
  border-top: 1px solid rgba(18, 58, 122, 0.06);
  border-bottom: 1px solid rgba(18, 58, 122, 0.06);
}

.operadoras p {
  text-align: center;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #7488A8;
  margin-bottom: 18px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.badge {
  background: var(--fundo);
  color: var(--azul-profundo);
  font-weight: 600;
  font-size: .85rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(18, 58, 122, 0.1);
}

/* ---------- Section heading ---------- */
.section { padding: 80px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 { color: var(--azul-profundo); font-size: clamp(1.6rem, 3vw, 2.2rem); }

.section-head p { color: #51658A; }

.eyebrow {
  display: inline-block;
  color: var(--azul);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---------- Benefícios ---------- */
.cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--branco);
  border-radius: var(--raio);
  padding: 28px;
  box-shadow: var(--sombra);
}

.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(31, 95, 191, 0.1);
  color: var(--azul);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.card h3 { font-size: 1.05rem; color: var(--azul-profundo); }

.card p { color: #51658A; font-size: .92rem; margin: 0; }

/* ---------- Como funciona ---------- */
.steps {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  text-align: center;
  padding: 10px;
}

.step .num {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul), var(--teal));
  color: var(--branco);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
}

.step h3 { color: var(--azul-profundo); font-size: 1.05rem; }
.step p { color: #51658A; font-size: .92rem; }

/* ---------- Depoimentos ---------- */
.depoimentos { background: var(--branco); }

.testi-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
}

.testi-card {
  background: var(--fundo);
  border-radius: var(--raio);
  padding: 24px;
  box-shadow: var(--sombra);
}

.testi-card .stars { color: var(--ambar); margin-bottom: 10px; }
.testi-card p.quote { font-style: italic; color: #51658A; }
.testi-card .autor { font-weight: 600; color: var(--azul-profundo); font-size: .9rem; }

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: var(--branco);
  text-align: center;
  padding: 70px 0;
}

.cta-final h2 { color: var(--branco); }
.cta-final p { color: rgba(255,255,255,0.85); max-width: 50ch; margin-left: auto; margin-right: auto; }

.cta-final .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  background: var(--azul-profundo);
  color: rgba(245, 248, 252, 0.85);
  padding: 48px 0 28px;
  font-size: .88rem;
}

.footer .brand { color: var(--branco); margin-bottom: 14px; }

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
}

.footer a.link { color: var(--branco); text-decoration: underline; }

.footer .legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 248, 252, 0.15);
  font-size: .78rem;
  color: rgba(245, 248, 252, 0.6);
}

.footer .legal strong { color: rgba(245, 248, 252, 0.85); }

.footer .legal .todo {
  color: rgba(245, 248, 252, 0.45);
  font-style: italic;
  font-weight: 400;
}

.footer .legal .reg {
  margin-top: 8px;
  font-size: .72rem;
  color: rgba(245, 248, 252, 0.5);
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--branco);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(23, 163, 152, 0.45);
  text-decoration: none;
  font-size: 1.5rem;
}

.header .btn-sm span.short { display: none; }

@media (max-width: 480px) {
  .header .btn-sm span.full { display: none; }
  .header .btn-sm span.short { display: inline; }
}

/* ---------- Formulário de cotação ---------- */
.form-page {
  padding: 150px 0 90px;
  min-height: 100vh;
}

.form-shell {
  max-width: 640px;
  margin: 0 auto;
  background: var(--branco);
  border-radius: 20px;
  box-shadow: var(--sombra);
  padding: 40px;
}

@media (max-width: 600px) {
  .form-shell { padding: 28px 20px; }
}

.form-shell h1 {
  color: var(--azul-profundo);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.form-shell > p {
  color: #51658A;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-weight: 600;
  color: var(--azul-profundo);
  font-size: .92rem;
  margin-bottom: 8px;
}

.field input[type="text"],
.field input[type="number"],
.field input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(18, 58, 122, 0.2);
  font: inherit;
  color: var(--texto);
  background: var(--fundo);
}

.field input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: .9rem;
  color: var(--texto);
  background: var(--fundo);
  border: 1px solid rgba(18, 58, 122, 0.15);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  margin: 0;
}

.radio-row input { margin: 0; accent-color: var(--teal); }

.form-shell .btn { width: 100%; margin-top: 8px; }

.form-error {
  background: rgba(230, 70, 70, 0.1);
  color: #B23A3A;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .9rem;
  margin-bottom: 22px;
}

.form-note {
  text-align: center;
  font-size: .85rem;
  color: #7488A8;
  margin-top: 18px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--azul);
  font-weight: 600;
  text-decoration: none;
  font-size: .9rem;
}
