/* ============================================================
   Para Ser Feliz Agora — Via Humana
   DNA: azul marinho #142542 · dourado #d59d40
   Tipografia: Sora + DM Serif Display
   Estilo: ultra-moderno, limpo, premium
   ============================================================ */

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

:root {
  --navy:      #142542;
  --navy-d:    #0d1b31;
  --navy-l:    #1e3459;
  --gold:      #d59d40;
  --gold-l:    #f5ead0;
  --gold-d:    #b8852e;
  --white:     #ffffff;
  --off:       #f9f8f6;
  --off2:      #f0ede6;
  --border:    #e2ddd4;
  --text:      #111111;
  --text2:     #5a5550;
  --radius:    14px;
  --shadow:    0 8px 40px rgba(20,37,66,.12);
  --shadow-sm: 0 2px 16px rgba(20,37,66,.07);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── WHATSAPP FLOAT ─────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(37,211,102,.55); }
.wa-float svg { width: 30px; height: 30px; }

/* ═══════════════ HERO ═══════════════ */
.hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Textura moderna: ruído granulado + gradiente radial + grade sutil */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(213,157,64,.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(30,52,89,.6) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 70%, rgba(30,52,89,.4) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 2;
}

/* Linha ouro fina no topo */
.hero .gold-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
  z-index: 10;
}

/* NAV */
.nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 40px 20px;
}

.nav-logo {
  height: 38px;
  width: auto;
  display: block;
  opacity: .85;
}

/* HERO BODY */
.hero-body {
  position: relative;
  z-index: 20;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 64px;
  text-align: center;
}

.hero-text {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  border: 1px solid rgba(213,157,64,.4);
  color: rgba(213,157,64,.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  background: rgba(213,157,64,.06);
}

.hero-h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 400;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 32px;
  letter-spacing: -.01em;
}
.hero-h1 em {
  font-style: italic;
  color: var(--gold);
}

/* AUTOR abaixo do título */
.hero-author {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  margin-bottom: 36px;
  letter-spacing: .02em;
}
.hero-author strong {
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
}

/* FORM CARD no hero */
.form-card {
  width: 100%;
  background: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 36px 32px 32px;
  box-shadow: 0 28px 72px rgba(0,0,0,.5);
}

.form-h3 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -.01em;
}

.field {
  margin-bottom: 12px;
}
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: .01em;
}

.field input {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #b0b8c6;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Sora', sans-serif;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color .2s, background .2s;
}
.field input::placeholder { color: #7a8494; font-weight: 400; }
.field input:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(20,37,66,.08);
}
.field input.error { border-color: #e55; }

.ferr {
  display: none;
  font-size: 12px;
  color: #ff8080;
  margin-top: 4px;
  padding-left: 4px;
}
.ferr.show { display: block; }

.optin {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 6px;
  cursor: pointer;
  line-height: 1.45;
  text-align: left;
}
.optin input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--navy);
  width: 15px; height: 15px;
}
.optin span { font-size: 13px; }

.optin-obs {
  font-size: 11px;
  color: #aaa;
  text-align: left;
  margin-bottom: 20px;
  padding-left: 25px;
  letter-spacing: .01em;
}

.btn-submit {
  width: 100%;
  background: #1a7a4a;
  color: var(--white);
  border: none;
  padding: 17px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(26,122,74,.35);
}
.btn-submit:hover {
  background: #155f39;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(26,122,74,.5);
}
.btn-submit:disabled { background: #2a9e61; opacity: .75; cursor: default; }

.form-success {
  text-align: center;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.success-check {
  width: 52px; height: 52px;
  background: #1a7a3c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
}
.form-success strong { font-size: 18px; color: var(--navy); }
.form-success p { font-size: 14px; color: var(--text2); }

/* ═══════════════ QUOTE ═══════════════ */
.quote-band {
  background: linear-gradient(135deg, #0d1b31 0%, var(--navy) 60%, #1a2f50 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: '"';
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Serif Display', serif;
  font-size: 240px;
  color: rgba(213,157,64,.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.quote-badge {
  display: inline-block;
  background: rgba(213,157,64,.15);
  border: 1px solid rgba(213,157,64,.35);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.quote-text {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.45;
  max-width: 780px;
  margin: 0 auto 20px;
}
.quote-cite {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-style: normal;
}

/* ═══════════════ INSIGHTS ═══════════════ */
.insights {
  background: var(--off);
  padding: 96px 0;
  position: relative;
}

/* Textura discreta na seção de insights */
.insights::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(20,37,66,.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 52px;
  letter-spacing: -.01em;
}

.body-text {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 28px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
  z-index: 2;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .25s, transform .25s;
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: var(--border);
  border-radius: 0 0 2px 2px;
  transition: background .25s;
}
.card:hover::before { background: var(--gold); }

.card--blue { background: #eef2f8; border-color: #c5d2e2; }
.card--blue::before { background: var(--navy); }
.card--gold { background: var(--gold-l); border-color: #e0cb97; }
.card--gold::before { background: var(--gold); }

.card-n {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 12px;
}
.card h4 {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.65;
}

/* ═══════════════ AVALIAÇÃO ═══════════════ */
.avaliacao {
  background: var(--white);
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.aval-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.aval-title {
  font-size: clamp(26px, 4vw, 40px) !important;
}

.rating-card {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}
.rating-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 20px;
}
.rating-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.rn {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 16px;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  cursor: pointer;
  color: var(--text2);
  transition: all .15s;
}
.rn:hover { border-color: var(--navy); color: var(--navy); background: #eef2f8; }
.rn.selected { background: var(--navy); border-color: var(--navy); color: var(--white); }

.rating-hint {
  font-size: 12px;
  color: var(--text2);
  font-style: italic;
  min-height: 18px;
}

.comment-wrap {
  margin-bottom: 24px;
  text-align: left;
}
.clabel {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.clabel span { font-weight: 400; color: var(--text2); }

textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Sora', sans-serif;
  color: var(--text);
  background: var(--off);
  resize: vertical;
  outline: none;
  transition: border-color .2s;
  line-height: 1.6;
}
textarea:focus { border-color: var(--navy); }

.btn-aval {
  display: inline-block;
  background: #1a7a4a;
  color: var(--white);
  border: none;
  padding: 14px 44px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  cursor: pointer;
  transition: background .2s, transform .1s;
  letter-spacing: .01em;
  box-shadow: 0 4px 16px rgba(26,122,74,.3);
}
.btn-aval:hover { background: #155f39; transform: translateY(-1px); }
.btn-aval:disabled { background: #2a9e61; opacity: .75; cursor: default; }

.aval-ok {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #1a7a3c;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: var(--navy-d);
  padding: 44px 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(213,157,64,.3), transparent);
}
.footer-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 30px;
  width: auto;
  opacity: .7;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* WhatsApp pill */
.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.footer-wa:hover { background: #1fa854; transform: translateY(-1px); }

/* Instagram pill */
.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.footer-ig:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* Site link */
.footer-site {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color .2s;
  letter-spacing: .02em;
}
.footer-site:hover { color: rgba(255,255,255,.6); }
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,.2);
  letter-spacing: .02em;
}

/* ═══════════════ ANIMATIONS ═══════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .nav { padding: 20px 20px 12px; }
  .hero-body { padding: 20px 20px 48px; }
  .form-card { padding: 28px 20px 24px; }
  .footer-in { flex-direction: column; text-align: center; align-items: center; }
  .footer-links { justify-content: center; }
  .container { padding: 0 20px; }
  .rn { width: 32px; height: 32px; font-size: 15px; }
}
