/* =========================================================
   Seguros de Vida — agente brasileiro nos EUA
   Paleta: azul-marinho profundo + dourado
   ========================================================= */

:root {
  --navy-900: #060b18;
  --navy-800: #0a1226;
  --navy-700: #101c38;
  --navy-600: #16264a;
  --line: rgba(212, 172, 106, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);

  --gold: #d8b26a;
  --gold-bright: #f0d49a;
  --gold-deep: #b28a45;

  --text: #eef2fb;
  --text-soft: #a9b6d1;
  --text-dim: #7c8aa8;

  --ok: #63d6a2;
  --err: #ff8f8f;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --shell: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image:
    radial-gradient(1100px 620px at 78% -8%, rgba(216, 178, 106, 0.10), transparent 62%),
    radial-gradient(880px 520px at 8% 4%, rgba(30, 62, 128, 0.42), transparent 66%);
  background-repeat: no-repeat;
}

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

::selection { background: var(--gold); color: var(--navy-900); }

/* ---------- brilhos de fundo ---------- */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.glow--one { width: 480px; height: 480px; top: -160px; right: -120px; background: rgba(216, 178, 106, 0.22); }
.glow--two { width: 520px; height: 520px; bottom: -220px; left: -180px; background: rgba(36, 74, 154, 0.34); }

/* ---------- topo ---------- */
.topbar {
  position: relative;
  z-index: 3;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--navy-900);
  background: linear-gradient(150deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 8px 22px rgba(216, 178, 106, 0.26);
}
.brand__mark svg { width: 22px; height: 22px; }

.brand__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.brand__text small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 0;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn--gold {
  background: linear-gradient(140deg, var(--gold-bright), var(--gold));
  color: #14181f;
  box-shadow: 0 12px 30px rgba(216, 178, 106, 0.24);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(216, 178, 106, 0.34); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

.btn--block { width: 100%; padding: 17px 26px; font-size: 1rem; }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 72px 24px 92px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(216, 178, 106, 0.07);
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(99, 214, 162, 0.18);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 7.2vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 26px 0 0;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-bright), var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

.lede {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: clamp(1rem, 2.4vw, 1.16rem);
  color: var(--text-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 38px;
}

.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  margin-top: 42px;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.trust li { display: inline-flex; align-items: center; gap: 9px; }
.trust li::before {
  content: "✓";
  width: 18px; height: 18px;
  flex: 0 0 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(216, 178, 106, 0.14);
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
}

/* ---------- seções ---------- */
.section {
  position: relative;
  z-index: 2;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 64px 24px;
}

.section__kicker {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.4vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin-top: 12px;
  max-width: 22ch;
}

#beneficios .section__title { margin-inline: auto; text-align: center; }
#beneficios .section__kicker { text-align: center; }

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 20px;
  margin-top: 46px;
}

.card {
  padding: 32px 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(22, 38, 74, 0.55), rgba(10, 18, 38, 0.35));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
}

.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(216, 178, 106, 0.09);
  color: var(--gold);
  margin-bottom: 20px;
}
.card__icon svg { width: 23px; height: 23px; }

.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.3;
  margin-bottom: 11px;
}
.card p { color: var(--text-soft); font-size: 0.96rem; }
.card p em { color: var(--gold-bright); font-style: italic; }

/* ---------- formulário ---------- */
.section--form { padding-bottom: 84px; }

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(700px 340px at 88% 0%, rgba(216, 178, 106, 0.10), transparent 66%),
    linear-gradient(170deg, rgba(22, 38, 74, 0.62), rgba(6, 11, 24, 0.6));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.form-intro__text {
  color: var(--text-soft);
  margin-top: 18px;
  font-size: 1rem;
}

.form-intro__list {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 13px;
}
.form-intro__list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-soft);
  font-size: 0.94rem;
}
.form-intro__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(216, 178, 106, 0.14);
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 700;
}

.form { display: grid; gap: 17px; }

.field { display: grid; gap: 8px; }

.field label {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
}
.field label .opt { color: var(--text-dim); font-weight: 400; letter-spacing: 0; }

.field input {
  width: 100%;
  padding: 15px 17px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: rgba(6, 11, 24, 0.6);
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.field input::placeholder { color: var(--text-dim); }
.field input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(6, 11, 24, 0.85);
  box-shadow: 0 0 0 4px rgba(216, 178, 106, 0.14);
}
.field input.invalido { border-color: var(--err); box-shadow: 0 0 0 4px rgba(255, 143, 143, 0.12); }

.form__note {
  color: var(--text-dim);
  font-size: 0.82rem;
  text-align: center;
}

.form__status {
  min-height: 1.4em;
  font-size: 0.94rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
}
.form__status.ok { color: var(--ok); }
.form__status.erro { color: var(--err); }

/* ---------- rodapé ---------- */
.footer {
  position: relative;
  z-index: 2;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 42px 24px 56px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}
.footer__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}
.footer__legal {
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--text-dim);
  font-size: 0.82rem;
}
.footer__made {
  margin-top: 20px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ---------- celular / tablet ---------- */
@media (max-width: 900px) {
  .form-wrap { grid-template-columns: 1fr; gap: 34px; padding: 34px 26px; }
  .section__title { max-width: none; }
}

@media (max-width: 620px) {
  .topbar { padding: 18px 18px; }
  .topbar__cta { display: none; }
  .brand__text { font-size: 0.98rem; }

  .hero { padding: 46px 18px 66px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .trust { flex-direction: column; align-items: center; gap: 10px; margin-top: 34px; }

  .section { padding: 48px 18px; }
  .card { padding: 26px 22px; }
  .form-wrap { padding: 28px 20px; border-radius: 20px; }
  .glow { filter: blur(90px); opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
