/* =========================================================
   Elovital — Site institucional
   Paleta da marca: dourado #F5A623 · navy #2E2E48 · roxo #3D3A5C
   ========================================================= */

:root {
  --gold: #F5A623;
  --gold-dark: #E2901A;
  --gold-soft: #FDF0D8;
  --navy: #2E2E48;
  --navy-deep: #232338;
  --purple: #3D3A5C;
  --ink: #2A2A3C;
  --text: #4A4A5A;
  --muted: #7A7A8C;
  --line: #E9E7EF;
  --bg: #FFFFFF;
  --bg-soft: #F7F6FB;
  --bg-gold-tint: #FFF9F0;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(46, 46, 72, 0.06);
  --shadow: 0 14px 40px rgba(46, 46, 72, 0.12);
  --shadow-gold: 0 14px 34px rgba(245, 166, 35, 0.35);
  --maxw: 1160px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.18;
  font-weight: 700;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-gold); }
.btn-primary:hover { transform: translateY(-2px); background: var(--gold-dark); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(46,46,72,0.18); }
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-client {
  background: var(--navy); color: #fff; padding: 11px 20px; font-size: 0.9rem;
}
.btn-client:hover { background: var(--purple); transform: translateY(-1px); }
.btn-client svg { stroke: var(--gold); }
.btn-client--mobile { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand-logo { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a {
  font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; color: var(--navy);
  position: relative; padding: 4px 0;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold); transition: width .22s ease;
}
.nav > a:not(.btn):hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 80px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 500px at 88% -8%, rgba(245,166,35,0.16), transparent 60%),
    radial-gradient(700px 500px at -5% 110%, rgba(61,58,92,0.10), transparent 55%),
    var(--bg-soft);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-dark);
  background: var(--gold-soft); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 18px; }
.hero h1 .hl { color: var(--gold); }
.hero .lead { font-size: 1.12rem; color: var(--text); max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 26px; }
.hero-trust li { font-size: 0.92rem; color: var(--muted); }
.hero-trust strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); }

.hero-media { position: relative; }
.hero-photo-wrap { position: relative; }
.hero-photo {
  width: 100%; border-radius: 22px; object-fit: cover; aspect-ratio: 4/3.4;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}
.hero-photo-wrap::before {
  content: ""; position: absolute; inset: -16px -16px auto auto; width: 130px; height: 130px;
  background: var(--gold); border-radius: 26px; z-index: -1; opacity: .9;
  top: -16px; right: -16px;
}
.hero-photo-wrap::after {
  content: ""; position: absolute; left: -18px; bottom: 40px; width: 90px; height: 90px;
  background: repeating-linear-gradient(45deg, var(--purple) 0 2px, transparent 2px 9px);
  opacity: .35; z-index: -1; border-radius: 8px;
}
.hero-badge {
  position: absolute; left: -22px; bottom: -22px; background: var(--navy); color: #fff;
  padding: 16px 20px; border-radius: 14px; box-shadow: var(--shadow); max-width: 210px;
}
.hero-badge-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--gold); }
.hero-badge-txt { font-size: 0.82rem; color: #cfcfdd; line-height: 1.35; }

/* ---------- Faixa ---------- */
.strip { background: var(--navy); }
.strip-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 20px 24px;
}
.strip-inner span {
  font-family: var(--font-head); font-weight: 500; color: #b9b9cc; font-size: 0.95rem;
  position: relative;
}
.strip-inner span::before { content: "•"; color: var(--gold); margin-right: 22px; }
.strip-inner span:first-child::before { display: none; }

/* ---------- Secções ---------- */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-soft); }
.section--dark { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-tag {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 12px;
}
.section-tag--light { color: var(--gold); }
.section-head h2, .section h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.section-sub { color: var(--muted); font-size: 1.05rem; margin-top: 12px; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.about-copy h2 { margin-bottom: 18px; }
.about-copy p { margin-bottom: 14px; }
.check-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 500; color: var(--ink); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px;
  background: var(--gold-soft); color: var(--gold-dark); border-radius: 50%;
  display: grid; place-items: center; font-size: 0.78rem; font-weight: 700;
}

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--gold-soft);
  display: grid; place-items: center; margin-bottom: 18px; color: var(--gold-dark);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { font-size: 0.96rem; color: var(--text); }

/* ---------- Ramos ---------- */
.ramos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ramo {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; transition: transform .2s ease, box-shadow .2s ease;
}
.ramo:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ramo-ico {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px;
  font-size: 1.5rem; border-radius: 50%; background: var(--bg-gold-tint);
  border: 1px solid var(--gold-soft);
}
.ramo h4 { font-size: 1.05rem; margin-bottom: 6px; }
.ramo p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Porquê (dark) ---------- */
.porque-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.section--dark h2, .section--dark .porque-copy p { color: #fff; }
.porque-copy > p { color: #c6c6d6; margin: 10px 0 28px; font-size: 1.08rem; }
.stats { display: flex; gap: 30px; flex-wrap: wrap; }
.stat strong { font-family: var(--font-head); font-size: 2.2rem; color: var(--gold); display: block; }
.stat span { color: #b3b3c6; font-size: 0.9rem; }
.porque-list { list-style: none; display: grid; gap: 18px; }
.porque-list li {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-sm); padding: 20px 22px;
}
.porque-list h4 { color: #fff; font-size: 1.08rem; margin-bottom: 6px; }
.porque-list h4::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--gold); border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.porque-list p { color: #c6c6d6; font-size: 0.94rem; }

/* ---------- Processo ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; position: relative; padding: 0 10px; }
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px;
  background: var(--navy); color: var(--gold); border-radius: 50%;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
}
.step h4 { margin-bottom: 6px; }
.step p { font-size: 0.92rem; color: var(--muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; right: -12px; width: 24px; height: 2px;
  background: var(--line);
}

/* ---------- CTA banner ---------- */
.cta-banner { padding: 16px 0 0; }
.cta-inner {
  background: linear-gradient(120deg, var(--gold), var(--gold-dark));
  border-radius: 22px; padding: 44px 48px; display: flex; align-items: center;
  justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow-gold);
}
.cta-inner h2 { color: var(--navy); margin-bottom: 4px; }
.cta-inner p { color: #5a4413; font-weight: 500; }
.cta-inner .btn-primary { background: var(--navy); color: #fff; box-shadow: none; }
.cta-inner .btn-primary:hover { background: var(--navy-deep); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact-info h2 { margin-bottom: 12px; }
.contact-info > p { color: var(--muted); margin-bottom: 26px; }
.contact-list { list-style: none; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-ico {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft);
  display: grid; place-items: center; color: var(--gold-dark);
}
.contact-ico svg { width: 22px; height: 22px; }
.contact-label { display: block; font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.contact-list a { color: var(--navy); font-weight: 600; }
.contact-list a:hover { color: var(--gold-dark); }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); display: grid; gap: 16px;
}
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: 0.88rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.96rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,166,35,0.18); background: #fff;
}
.field textarea { resize: vertical; }
.form-note { font-size: 0.9rem; min-height: 1.2em; }
.form-note.ok { color: #16A34A; font-weight: 600; }
.form-note.err { color: #E11D48; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c6c6d6; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer-logo { height: 42px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .96; }
.footer-brand p { font-size: 0.92rem; max-width: 280px; color: #a7a7bd; }
.footer-col h5 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-col a { display: block; color: #a7a7bd; font-size: 0.92rem; padding: 4px 0; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 20px 24px; font-size: 0.85rem; color: #8c8ca3; flex-wrap: wrap;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero-inner, .about-grid, .porque-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 70px; }
  .hero-media { max-width: 460px; margin: 10px auto 0; }
  .about-media { order: -1; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .ramos-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 680px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; gap: 0; padding: 10px 24px 22px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .28s ease;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a:last-child { border-bottom: 0; }
  .btn-client--mobile { display: inline-flex; margin-top: 12px; justify-content: center; }
  .header-actions .btn-client { display: none; }
  .nav-toggle { display: flex; }
  .cards-3 { grid-template-columns: 1fr; }
  .ramos-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .cta-inner { padding: 32px 26px; text-align: center; justify-content: center; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .hero-trust { gap: 18px; }
  .stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .ramo { transition: none; }
}
