/* =========================================================================
   CALABUIG SEGUROS — Design System
   Clima: escuro sofisticado · marinho profundo + dourado · serifa editorial
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0D1226;   /* fundo base, quase-preto marinho */
  --navy:       #131A33;   /* seção principal */
  --navy-2:     #1B2342;   /* seção alternada */
  --card:       #1B2342;   /* cards */
  --card-2:     #202a4f;   /* card hover/elevado */

  --gold:       #C9A24B;   /* acento / CTA */
  --gold-hi:    #E6CC86;   /* brilho */
  --gold-deep:  #A9853A;   /* profundidade */
  --gold-grad:  linear-gradient(135deg, #E6CC86 0%, #C9A24B 55%, #A9853A 100%);

  --cream:      #F5F0E6;
  --text:       #EDEFF5;
  --muted:      #A9B0C4;   /* texto secundário azulado */
  --muted-2:    #808AA6;   /* texto terciário */
  --line:       rgba(255,255,255,.08);
  --gold-line:  rgba(201,162,75,.20);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --radius:    8px;
  --radius-sm: 4px;

  --shadow:    0 24px 60px -20px rgba(0,0,0,.55);
  --shadow-sm: 0 12px 30px -12px rgba(0,0,0,.5);
  --gold-glow: 0 0 60px -8px rgba(201,162,75,.35);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  letter-spacing: .2px;
}
p { margin: 0; }

::selection { background: rgba(201,162,75,.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 4vw, 2.5rem);
}
.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  position: relative;
}
.section--ink   { background: var(--ink); }
.section--navy  { background: var(--navy); }
.section--navy2 { background: var(--navy-2); }

.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Typo utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: .8;
}
.center .eyebrow { justify-content: center; }

.h-display {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  font-weight: 600;
}
.h-section {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted);
  line-height: 1.75;
}
.gold-word { color: var(--gold); }
em.serif-em { font-style: italic; color: var(--cream); }

.text-muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .95em 1.9em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; }

.btn-gold {
  background: var(--gold-grad);
  color: #14192b;
  box-shadow: 0 10px 26px -12px rgba(201,162,75,.7);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(201,162,75,.85);
  filter: saturate(1.05) brightness(1.03);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(201,162,75,.55);
}
.btn-ghost:hover {
  background: rgba(201,162,75,.12);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-block { width: 100%; }
.btn-lg { padding: 1.05em 2.2em; font-size: 1rem; }

.link-gold {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
}
.link-gold svg { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.link-gold:hover svg { transform: translateX(4px); }

/* ---------- Divider (monograma) ---------- */
.divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin: 0 auto;
}
.divider span { width: 60px; height: 1px; background: var(--gold-line); }
.divider .dot { width: 6px; height: 6px; border: 1px solid var(--gold); border-radius: 50%; background: transparent; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(13,18,38,.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.8);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding-block: 1.1rem;
}
.brand img { height: 72px; width: auto; }
.brand { display: inline-flex; align-items: center; }

.nav {
  display: flex; align-items: center; gap: 2.2rem;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative;
  font-size: .95rem;
  color: var(--text);
  letter-spacing: .01em;
  padding-block: .3rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--gold); }

/* Ícones dos links: escondidos no desktop, exibidos no menu mobile */
.nav-ico { display: none; }
.nav-ico svg { width: 20px; height: 20px; }

.nav-cta { display: inline-flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
  color: var(--text);
}
.nav-toggle span {
  display: block; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span + span { margin-top: 5px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("../assets/calabuig-olhando-vista.webp");
  background-size: cover;
  background-position: 68% center;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(101deg, var(--ink) 4%, rgba(13,18,38,.9) 34%, rgba(13,18,38,.42) 62%, rgba(13,18,38,.18) 100%),
    linear-gradient(to top, rgba(13,18,38,.85) 0%, rgba(13,18,38,0) 40%);
}
.hero .container { position: relative; z-index: 2; padding-block: 9rem 4rem; }
.hero-content { max-width: 640px; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1.05;
  margin-bottom: 1.4rem;
}
.hero h1 .thin { font-weight: 500; font-style: italic; color: var(--cream); }
.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--cream);
  margin-bottom: 2.3rem;
  max-width: 30ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.2rem; }

.trust-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.trust-strip .label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.trust-strip ul { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.trust-strip li {
  font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  color: var(--text); display: inline-flex; align-items: center; gap: .5rem;
}
.trust-strip li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 2;
  transform: translateX(-50%);
  color: var(--muted); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.scroll-hint .line { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: scrollpulse 2.2s var(--ease) infinite; }
@keyframes scrollpulse { 0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* =========================================================================
   PAIN — "O imprevisto não avisa"
   ========================================================================= */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.pain-card {
  padding: 2rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  transition: border-color .35s var(--ease), transform .35s var(--ease), background .35s var(--ease);
}
.pain-card:hover { border-color: var(--gold-line); transform: translateY(-4px); }
.pain-ico {
  width: 46px; height: 46px; color: var(--gold);
  margin-bottom: 1.2rem;
}
.pain-ico svg { width: 100%; height: 100%; }
.pain-card h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.pain-card p { color: var(--muted); font-size: .96rem; }

.pain-kicker {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem,2.6vw,2rem); color: var(--cream);
  max-width: 40ch; margin-top: 2.5rem;
}

/* =========================================================================
   NEED — Pilares Estratégicos + ampulheta
   ========================================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold-line);
  box-shadow: var(--shadow);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 80px rgba(13,18,38,.5);
  pointer-events: none;
}

.pillars { list-style: none; margin: 2.2rem 0 0; padding: 0; }
.pillar {
  display: flex; gap: 1.3rem; align-items: flex-start;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar-num {
  font-family: var(--serif); font-size: 1.5rem; color: var(--gold);
  min-width: 2.2rem; line-height: 1.4;
}
.pillar h3 { font-size: 1.55rem; margin-bottom: .2rem; }
.pillar p { color: var(--muted); font-size: .95rem; }

/* =========================================================================
   SOLUTION — processo em passos + citação
   ========================================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
  margin-top: 3.5rem;
}
.step {
  position: relative;
  padding: 2rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--gold-line); }
.step-num {
  font-family: var(--serif); font-size: 2.6rem; color: var(--gold);
  opacity: .55; line-height: 1; margin-bottom: .8rem;
}
.step h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .92rem; }

.quote-block {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem,4vw,3.5rem);
  align-items: center;
  padding: clamp(2rem,4vw,3rem);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(201,162,75,.06), rgba(255,255,255,0));
}
.quote-block blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.5;
  color: var(--cream);
}
.quote-block .mark { font-size: 3rem; color: var(--gold); line-height: 0; display: block; height: .5em; }
.quote-author { margin-top: 1.6rem; font-family: var(--sans); font-style: normal; }
.quote-author .name { font-weight: 600; color: var(--text); font-size: 1rem; display: block; }
.quote-author .role { color: var(--gold); font-size: .82rem; letter-spacing: .06em; }

/* =========================================================================
   PRODUCTS
   ========================================================================= */
.prod-group + .prod-group { margin-top: 3.5rem; }
.prod-group-head {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.prod-group-head h3 { font-size: 1.8rem; }
.prod-group-head span { color: var(--muted); font-size: .92rem; }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}
.prod-card {
  display: flex; flex-direction: column;
  gap: .9rem;
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.prod-card:hover { transform: translateY(-5px); border-color: var(--gold-line); background: var(--card-2); }
.prod-ico { width: 40px; height: 40px; color: var(--gold); }
.prod-ico svg { width: 100%; height: 100%; }
.prod-card h4 { font-family: var(--sans); font-size: 1.06rem; font-weight: 600; letter-spacing: .01em; }
.prod-card p { color: var(--muted); font-size: .88rem; flex: 1; }
.prod-card .prod-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--gold); font-size: .85rem; font-weight: 600; margin-top: .3rem;
}
.prod-card .prod-link svg { width: .9em; height: .9em; transition: transform .3s var(--ease); }
.prod-card:hover .prod-link svg { transform: translateX(3px); }

/* =========================================================================
   BENEFITS
   ========================================================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  margin-top: 3.5rem;
}
.benefit { display: flex; gap: 1.2rem; align-items: flex-start; }
.benefit-ico {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: rgba(201,162,75,.07);
  color: var(--gold);
}
.benefit-ico svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.benefit p { color: var(--muted); font-size: .92rem; }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.tst-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.tst-card {
  position: relative;
  padding: 2.4rem 2rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.tst-card:hover { transform: translateY(-4px); border-color: var(--gold-line); }
.tst-card .mark {
  font-family: var(--serif); font-size: 4rem; color: var(--gold);
  opacity: .3; line-height: 0; position: absolute; top: 1.6rem; left: 1.6rem;
}
.tst-card p {
  font-family: var(--serif); font-style: italic;
  font-size: 1.15rem; line-height: 1.6; color: var(--cream);
  margin: 1.4rem 0 1.6rem;
}
.tst-author { display: flex; align-items: center; gap: .9rem; }
.tst-badge {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-grad); color: #14192b;
  font-weight: 700; font-size: .82rem; letter-spacing: .04em;
}
.tst-author .who { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }

/* =========================================================================
   ABOUT teaser
   ========================================================================= */
.about-teaser .split { align-items: center; }
.about-stats { display: flex; gap: 2.5rem; margin-top: 2rem; flex-wrap: wrap; }
.about-stat .num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.about-stat .cap { font-size: .82rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* =========================================================================
   E-BOOK
   ========================================================================= */
.ebook {
  background:
    radial-gradient(120% 100% at 80% 20%, rgba(201,162,75,.12), transparent 55%),
    var(--navy-2);
}
.ebook .split { align-items: center; }
.ebook-mock {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  border: 1px solid var(--gold-line);
  background:
    linear-gradient(150deg, #17203f, #0d1226);
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow), var(--gold-glow);
}
.ebook-mock .placeholder-note {
  position: absolute; inset: auto 0 0 0;
  font-size: .68rem; color: var(--muted); text-align: center;
  padding: .5rem; background: rgba(0,0,0,.4);
  letter-spacing: .03em;
}
.ebook-mock .mock-inner { text-align: center; padding: 2rem; }
.ebook-mock .mock-inner .k { font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.ebook-mock .mock-inner h3 { font-size: clamp(1.6rem,3vw,2.4rem); margin: .6rem 0; }
.ebook-mock .mock-inner .cs { width: 64px; margin: 1.4rem auto 0; opacity: .9; }

.ebook-list { list-style: none; margin: 1.8rem 0; padding: 0; display: grid; gap: .8rem; }
.ebook-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.ebook-list svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* =========================================================================
   CONTACT / FINAL CTA
   ========================================================================= */
.contact {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.contact-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../assets/sala-de-reuniao.webp");
  background-size: cover; background-position: center;
  opacity: .22;
}
.contact-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink), rgba(13,18,38,.75));
}
.contact .container { position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.contact-info { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.contact-info li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info .ci-ico {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--gold-line); background: rgba(201,162,75,.07); color: var(--gold);
}
.contact-info .ci-ico svg { width: 20px; height: 20px; }
.contact-info .ci-label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
.contact-info .ci-value { font-size: 1.05rem; color: var(--text); }
.contact-info a.ci-value:hover { color: var(--gold); }

.contact-card {
  padding: clamp(1.8rem,3.5vw,2.6rem);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: rgba(27,35,66,.72);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1.8rem; margin-bottom: .6rem; }
.contact-card .btn { margin-top: .5rem; }
.contact-actions { display: grid; gap: 1rem; margin-top: 1.8rem; }
.map-embed {
  margin-top: 1.6rem; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--line); line-height: 0;
}
.map-embed iframe { width: 100%; height: 200px; border: 0; filter: grayscale(.3) contrast(1.05); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: #090d1c; border-top: 1px solid var(--line); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { height: 70px; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--muted); font-size: .92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-col a, .footer-col li { color: var(--muted); font-size: .92rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  color: var(--muted); font-size: .8rem;
}
.footer-bottom a:hover { color: var(--gold); }
.susep-note { max-width: 60ch; line-height: 1.6; }

/* =========================================================================
   FLOATING WHATSAPP
   ========================================================================= */
.wa-float {
  position: fixed; right: clamp(1rem,3vw,2rem); bottom: clamp(1rem,3vw,2rem);
  z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 36px -8px rgba(37,211,102,.75); }
.wa-float svg { width: 30px; height: 30px; }

/* =========================================================================
   PAGE HERO (internal pages)
   ========================================================================= */
.page-hero {
  position: relative;
  padding-block: clamp(8rem, 14vw, 11rem) clamp(3rem,6vw,5rem);
  background: radial-gradient(120% 120% at 80% 0%, rgba(201,162,75,.1), transparent 55%), var(--navy);
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.4rem,5vw,3.8rem); margin-bottom: 1rem; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 1.4rem; letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; margin-top: 3rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  color: var(--text); font-family: var(--serif); font-size: 1.35rem;
  padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-family: var(--sans); font-size: 1.6rem; transition: transform .3s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 0 1.4rem; color: var(--muted); }

/* ---------- Timeline (sobre) ---------- */
.timeline { list-style: none; margin: 3rem 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--gold-line); }
.timeline li { position: relative; padding: 0 0 2.2rem 2.5rem; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid var(--gold); background: var(--ink);
}
.timeline .year { color: var(--gold); font-weight: 600; font-size: .9rem; letter-spacing: .06em; }
.timeline h3 { font-size: 1.4rem; margin: .2rem 0 .3rem; }
.timeline p { color: var(--muted); font-size: .95rem; }

/* ---------- Prose (sobre / privacidade) ---------- */
.prose { max-width: 760px; }
.prose p { color: var(--muted); margin-bottom: 1.3rem; font-size: 1.05rem; line-height: 1.8; }
.prose p strong, .prose strong { color: var(--text); font-weight: 600; }
.prose h2 { font-size: 1.8rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.4rem; margin: 2rem 0 .8rem; }
.prose ul { color: var(--muted); padding-left: 1.2rem; margin-bottom: 1.3rem; line-height: 1.8; }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
/* Só escondemos quando há JS (html.js). Sem JS, todo o conteúdo aparece normalmente. */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-hint .line { animation: none; }
  .btn, .prod-card, .step, .pain-card, .tst-card { transition: none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .split, .contact-grid, .quote-block { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand img { height: 60px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 6rem 2rem 2rem;
    background: var(--navy); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 50px -20px rgba(0,0,0,.7);
  }
  .nav-open .nav { transform: translateX(0); }
  /* Menu aberto: o header NÃO pode ter backdrop-filter — ele cria containing block
     e quebra o position:fixed do painel (fundo "some" ao rolar). Mantém opaco. */
  .nav-open .site-header,
  .nav-open .site-header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--navy);
  }
  /* Trava a rolagem do fundo enquanto o menu está aberto */
  body.nav-open { overflow: hidden; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: flex; align-items: center; gap: .9rem; padding: 1rem 0; font-size: 1.05rem; }
  .nav-links a::after { display: none; }
  .nav-ico { display: inline-flex; flex-shrink: 0; color: var(--gold); }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 1.5rem; }
  .nav-cta .btn { width: 100%; }
  .nav-toggle { position: relative; z-index: 110; }

  .hero { min-height: 92svh; }
  .hero-bg { background-position: center center; }
  .hero .container { padding-block: 8rem 3rem; }
  .hero-actions .btn { flex: 1 1 auto; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .about-stats { gap: 1.6rem; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
}
