/* ==========================================================================
   Stathera Contabilidade — Design system (HTML/CSS/JS puro)
   Fiel ao tema original (Tailwind + tokens OKLCH em src/styles.css do app
   React/TanStack, preservado em /original-react-app).
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Montserrat:wght@300;400;500;600;700&display=swap");

:root {
  --radius: 0.375rem;

  /* Brand */
  --ink: #0a0a0a;
  --cream: #f5f3ee;
  --cream-2: #ece9e1;
  --royal: #4a1a82;
  --royal-deep: #3a1466;
  --royal-light: #5c2499;
  --gold: #c9a84c;
  --gold-light: #d4b86a;
  --silver: #c0c0c8;
  --whatsapp: #2fae5f;
  --whatsapp-deep: #23934e;

  --background: var(--cream);
  --foreground: var(--ink);
  --card: #ffffff;
  --muted-foreground: #5c5c66;
  --border: rgba(10, 10, 10, 0.1);

  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Montserrat", system-ui, sans-serif;
}

* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }

/* Layout */
.container-x { margin: 0 auto; width: 100%; max-width: 80rem; padding: 0 1.5rem; }
@media (min-width: 768px) { .container-x { padding: 0 2.5rem; } }
.grid { display: grid; gap: 1.5rem; }
.flex { display: flex; }

/* Surfaces */
.surface-cream   { background: var(--cream); color: var(--ink); }
.surface-cream-2 { background: var(--cream-2); color: var(--ink); }
.surface-royal   { background: var(--royal); color: #fdfdfd; }
.surface-royal-deep { background: var(--royal-deep); color: #fdfdfd; }
.surface-ink     { background: var(--ink); color: #fdfdfd; }

/* Text helpers */
.text-on-dark   { color: rgba(255,255,255,0.92); }
.text-on-dark-soft { color: rgba(255,255,255,0.72); }
.text-on-dark-faint { color: rgba(255,255,255,0.55); }
.text-ink-soft  { color: #3c3c42; }
.text-royal     { color: var(--royal); }
.text-gold      { color: var(--gold); }
.text-white     { color: #fff; }

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--royal);
  font-weight: 700;
}
.eyebrow-on-dark { color: var(--gold); }

.gold-rule { height: 2px; width: 56px; background: var(--gold); display: block; }

/* Buttons */
.btn-gold, .btn-royal, .btn-outline-royal, .btn-outline-gold, .btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 0.125rem; padding: 0.75rem 1.5rem;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em;
  transition: background .15s ease, color .15s ease, transform .15s ease;
  border: 2px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-royal { background: var(--royal); color: #fff; }
.btn-royal:hover { background: var(--royal-light); transform: translateY(-1px); }
.btn-outline-royal { border-color: var(--royal); color: var(--royal); background: transparent; }
.btn-outline-royal:hover { background: var(--royal); color: #fff; }
.btn-outline-gold { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: var(--ink); }
.btn-whatsapp {
  border-radius: 999px; padding: 0.6rem 1.25rem; font-size: 0.7rem;
  background: var(--whatsapp); color: #fff;
  box-shadow: 0 6px 18px -8px rgba(47,174,95,0.6);
}
.btn-whatsapp:hover { background: var(--whatsapp-deep); transform: translateY(-1px); }
.btn-block { width: 100%; }

/* Cards */
.card-cream { background: #fff; border: 1px solid rgba(10,10,10,0.08); border-radius: 6px; }
.gold-top { position: relative; }
.gold-top::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--gold); border-top-left-radius: 6px; border-top-right-radius: 6px;
}

.section-num {
  width: 2.25rem; height: 2.25rem; background: var(--gold); color: var(--ink);
  border-radius: 4px; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; flex: none;
}

.stathera-watermark {
  position: absolute; right: -2rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(8rem, 18vw, 18rem); line-height: 1;
  color: rgba(255,255,255,0.04); pointer-events: none;
  white-space: nowrap; letter-spacing: -0.02em;
}

.private-badge, .private-badge-on-dark {
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px;
  padding: 0.25rem 0.75rem; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em;
}
.private-badge { background: rgba(74,26,130,0.12); color: var(--royal); border: 1px solid rgba(74,26,130,0.25); }
.private-badge-on-dark { background: rgba(255,255,255,0.1); color: var(--gold); border: 1px solid rgba(201,168,76,0.35); }

/* ===== Header / Navbar ===== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(201,168,76,0.4);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.4);
}
.site-header > .container-x { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 5rem; }

.logo { display: inline-flex; align-items: center; gap: 0.75rem; }
.logo img { height: 3rem; width: auto; }
.logo.on-dark img { filter: invert(1) brightness(1.15); }
.logo-word { display: none; flex-direction: column; line-height: 1; }
.logo-word .brand { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.18em; color: #fff; }
.logo-word .sub { margin-top: 0.25rem; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.32em; color: var(--gold); }
@media (min-width: 640px) { .logo-word { display: flex; } }

.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-desktop > a, .nav-desktop > .nav-item > a {
  display: flex; align-items: center; gap: 0.25rem; border-radius: 0.125rem;
  padding: 0.5rem 0.75rem; font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em; color: rgba(255,255,255,0.85);
  transition: color .15s ease;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--gold); }
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute; left: 50%; top: 100%; width: 18rem; transform: translateX(-50%);
  padding-top: 0.5rem; visibility: hidden; opacity: 0; transition: opacity .15s ease, visibility .15s ease;
}
.nav-item:hover .nav-dropdown { visibility: visible; opacity: 1; }
.nav-dropdown-inner { border-radius: 0.375rem; border: 1px solid rgba(0,0,0,0.1); background: #fff; padding: 0.5rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.3); }
.nav-dropdown-inner a { display: block; border-radius: 0.125rem; padding: 0.6rem 1rem; font-size: 0.875rem; color: rgba(10,10,10,0.8); }
.nav-dropdown-inner a:hover { background: var(--cream-2); color: var(--royal); }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: block; } }

.nav-toggle { color: #fff; background: none; border: none; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle svg { display: block; }

.nav-mobile { display: none; border-top: 1px solid rgba(255,255,255,0.1); }
.nav-mobile.open { display: block; }
@media (min-width: 1024px) { .nav-mobile { display: none !important; } }
.nav-mobile .container-x { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 1.5rem; }
.nav-mobile a, .nav-mobile button.mobile-link {
  display: block; width: 100%; text-align: left; padding: 0.75rem 0;
  font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: #fff;
}
.mobile-services-list { display: none; margin-left: 0.75rem; padding-left: 1rem; border-left: 2px solid var(--gold); flex-direction: column; gap: 0.25rem; }
.mobile-services-list.open { display: flex; }
.mobile-services-list a { padding: 0.5rem 0; font-size: 0.875rem; font-weight: 400; text-transform: none; letter-spacing: normal; color: rgba(255,255,255,0.8); }
.mobile-toggle-btn { display: flex; align-items: center; justify-content: space-between; }
.mobile-toggle-btn svg { transition: transform .15s ease; }
.mobile-toggle-btn.open svg { transform: rotate(180deg); }

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section-header { max-width: 48rem; }
.section-header .heading { margin-top: 1.25rem; font-size: 1.875rem; line-height: 1.2; }
.section-header .gold-rule { margin-top: 1.25rem; }
.section-header .intro { margin-top: 1.25rem; max-width: 42rem; color: var(--muted-foreground); }
@media (min-width: 768px) { .section-header .heading { font-size: 3rem; } }
.section-num-row { display: flex; align-items: center; gap: 0.75rem; }
.section-body { margin-top: 3rem; }

.cols-2 { grid-template-columns: repeat(1, 1fr); }
.cols-3 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 768px) { .cols-2 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } }
.cols-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* Service / highlight cards */
.svc-card, .highlight-card, .testimonial-card {
  position: relative; border-radius: 6px; padding: 1.75rem; transition: transform .15s ease, border-color .15s ease;
}
.svc-card:hover, .highlight-card:hover { transform: translateY(-4px); border-color: rgba(74,26,130,0.4); }
.svc-card svg, .highlight-card .num { color: var(--gold); }
.svc-card .eyebrow-sm { margin-top: 1.25rem; display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.28em; color: var(--royal); }
.svc-card h3, .highlight-card h3 { margin-top: 0.25rem; font-size: 1.25rem; }
.svc-card p, .highlight-card p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.svc-card .more { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: var(--royal); }
.svc-card:hover .more { color: var(--gold); }
.highlight-card .num { font-family: var(--font-display); font-size: 2.25rem; }

/* Ink card on cream */
.ink-card {
  position: relative; border-radius: 6px; padding: 1.75rem;
  background: var(--ink); color: #fdfdfd; box-shadow: 0 20px 50px -30px rgba(0,0,0,0.45);
}
.ink-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: 6px 6px 0 0; background: var(--gold); }
.ink-card h3 { margin-top: 1rem; font-size: 1.25rem; color: #fff; }
.ink-card .body { margin-top: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.72); }
.ink-card .body strong { color: #fff; }

/* Method steps */
.method-step { position: relative; padding: 1.5rem; }
.method-step .top { display: flex; align-items: center; gap: 0.75rem; }
.method-step h3 { margin-top: 1rem; font-size: 1.125rem; }
.method-step p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* Image frames */
.img-frame { overflow: hidden; border-radius: 6px; border: 1px solid rgba(10,10,10,0.1); box-shadow: 0 30px 80px -40px rgba(0,0,0,0.4); }
.img-frame img { aspect-ratio: 4/3; height: 100%; width: 100%; object-fit: cover; }
.img-frame.portrait img { aspect-ratio: 4/5; }

/* ===== Hero editorial (dark) ===== */
.hero-editorial { position: relative; overflow: hidden; }
.hero-editorial .container-x { position: relative; display: grid; gap: 3rem; padding: 4rem 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .hero-editorial .container-x { grid-template-columns: repeat(12, 1fr); padding-top: 6rem; padding-bottom: 6rem; } }
.hero-editorial .hero-text { grid-column: 1 / -1; }
@media (min-width: 768px) { .hero-editorial .hero-text.has-image { grid-column: span 7; } }
.hero-editorial h1 { margin-top: 1.25rem; font-size: 2.25rem; line-height: 1.05; color: #fff; }
@media (min-width: 768px) { .hero-editorial h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-editorial h1 { font-size: 4.25rem; } }
.hero-editorial h1 em { font-style: italic; color: var(--gold); }
.hero-editorial .intro { margin-top: 1.5rem; max-width: 42rem; font-size: 1rem; color: rgba(255,255,255,0.72); }
@media (min-width: 768px) { .hero-editorial .intro { font-size: 1.125rem; } }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-chips { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
.hero-chips .chip { display: flex; align-items: baseline; gap: 0.5rem; }
.hero-chips dt { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.28em; color: rgba(255,255,255,0.55); }
.hero-chips dd { margin: 0; font-family: var(--font-display); font-size: 0.875rem; color: var(--gold); }
.hero-image-col { grid-column: 1 / -1; }
@media (min-width: 768px) { .hero-image-col { grid-column: span 5; } }
.hero-image-wrap { position: relative; }
.hero-image-frame {
  position: relative; overflow: hidden; border-radius: 6px; border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.7);
}
.hero-image-frame img { aspect-ratio: 4/5; width: 100%; height: 100%; object-fit: cover; }
.hero-signature { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; justify-content: space-between; pointer-events: none; }
.hero-signature span { border-radius: 0.125rem; background: rgba(0,0,0,0.4); padding: 0.25rem 0.5rem; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.28em; backdrop-filter: blur(4px); }
.hero-signature .name { color: var(--gold); }
.hero-signature .role { color: rgba(255,255,255,0.85); }

/* ===== Hero royal (service pages) ===== */
.hero-royal { position: relative; overflow: hidden; }
.hero-royal .container-x { position: relative; display: grid; gap: 3rem; padding: 4rem 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .hero-royal .container-x { grid-template-columns: repeat(12, 1fr); padding-top: 5rem; padding-bottom: 5rem; } }
.hero-royal .hero-text { grid-column: 1 / -1; }
@media (min-width: 768px) { .hero-royal .hero-text { grid-column: span 7; } }
.hero-royal h1 { margin-top: 1.5rem; font-size: 2.25rem; line-height: 1.05; color: #fff; }
@media (min-width: 768px) { .hero-royal h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-royal h1 { font-size: 4.5rem; } }
.hero-royal h1 em { font-style: italic; color: var(--gold); }
.hero-royal .intro { margin-top: 1.75rem; max-width: 42rem; font-size: 1.125rem; color: rgba(255,255,255,0.72); }
.hero-royal .hero-image-col { grid-column: 1 / -1; }
@media (min-width: 768px) { .hero-royal .hero-image-col { grid-column: span 5; } }
.hero-royal .img-frame { border-color: rgba(255,255,255,0.15); }
.hero-royal .img-frame img { aspect-ratio: 4/5; }
.hero-takeaways { margin-top: 2.5rem; display: grid; gap: 0.75rem; max-width: 36rem; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; }
.hero-takeaways li { display: flex; gap: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.72); }
.hero-takeaways li::before { content: ""; margin-top: 0.4rem; display: inline-block; height: 6px; width: 6px; flex: none; border-radius: 999px; background: var(--gold); }

/* Royal divider (sub-nav) */
.royal-divider .subnav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; padding: 1rem 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.24em; }
.royal-divider .subnav a, .royal-divider .subnav span { color: rgba(255,255,255,0.85); }
.royal-divider .subnav a:hover { color: var(--gold); }
.royal-divider .subnav .active { color: var(--gold); }
.royal-divider .rule { height: 2px; width: 100%; background: var(--gold); }

/* Benefits (royal band) */
.benefits-list { display: grid; gap: 0.75rem; }
.benefits-list li { display: flex; gap: 0.75rem; border-radius: 6px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); padding: 1rem; color: rgba(255,255,255,0.92); }
.benefits-list svg { margin-top: 0.15rem; flex: none; color: var(--gold); }

/* Key takeaways aside */
.key-takeaways { position: relative; border-radius: 6px; padding: 1.75rem; border: 1px solid rgba(201,168,76,0.4); background: var(--cream-2); }
.key-takeaways::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: 6px 6px 0 0; background: var(--gold); }
.key-takeaways .kt-head { display: flex; align-items: center; gap: 0.5rem; }
.key-takeaways ul { margin-top: 1rem; display: grid; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.key-takeaways li { display: flex; gap: 0.75rem; }
.key-takeaways li::before { content: ""; margin-top: 0.45rem; display: inline-block; height: 6px; width: 6px; flex: none; border-radius: 999px; background: var(--gold); }

/* Stats grid */
.stats-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; overflow: hidden; border-radius: 6px; border: 1px solid rgba(10,10,10,0.1); background: rgba(10,10,10,0.1); }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stats-grid .stat { background: #fff; padding: 1.5rem; text-align: center; }
.stats-grid .stat .n { font-family: var(--font-display); font-size: 1.875rem; color: var(--gold); }
.stats-grid .stat .l { margin-top: 0.25rem; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-foreground); }
.surface-royal .stats-grid { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.15); }
.surface-royal .stats-grid .stat { background: var(--royal); }
.surface-royal .stats-grid .stat .l { color: rgba(255,255,255,0.72); }

/* Testimonials */
.testimonial-card { background: #fff; border: 1px solid rgba(10,10,10,0.08); }
.testimonial-card svg.quote { color: var(--gold); }
.testimonial-card .body { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
.testimonial-card .stars { margin-top: 1.25rem; display: flex; gap: 0.15rem; color: var(--gold); }
.testimonial-card .who { margin-top: 0.75rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-foreground); }
.testimonial-card .who strong { color: var(--ink); }
.surface-royal .testimonial-card { background: var(--royal-deep); color: #fff; border: none; }
.surface-royal .testimonial-card .body { color: rgba(255,255,255,0.92); }
.surface-royal .testimonial-card .who { color: rgba(255,255,255,0.55); }
.surface-royal .testimonial-card .who strong { color: #fff; }

.sector-tags { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; border-top: 1px solid rgba(10,10,10,0.1); padding-top: 2rem; }
.sector-tags .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sector-tags .tags span { border-radius: 999px; border: 1px solid rgba(10,10,10,0.1); padding: 0.25rem 0.75rem; font-size: 12px; color: var(--muted-foreground); }
.social-proof-note { margin-top: 2rem; font-size: 11px; font-style: italic; color: var(--muted-foreground); }

/* FAQ accordion */
.faq-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .faq-grid { grid-template-columns: repeat(12,1fr); } }
.faq-intro { grid-column: 1 / -1; }
@media (min-width: 768px) { .faq-intro { grid-column: span 5; } }
.faq-list { grid-column: 1 / -1; display: grid; gap: 0.75rem; }
@media (min-width: 768px) { .faq-list { grid-column: span 7; } }
.faq-item { border-radius: 6px; border: 1px solid rgba(10,10,10,0.1); background: #fff; padding: 0 1.25rem; }
.faq-item .faq-q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; text-align: left; font-size: 1rem; font-weight: 600; color: var(--ink); background: none; border: none;
}
.faq-item .faq-q svg { flex: none; transition: transform .2s ease; color: var(--gold); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-item .faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
.faq-item .faq-a-inner { padding-bottom: 1.1rem; }
.faq-item.open .faq-a { max-height: 20rem; }
.surface-royal .faq-item { border-color: rgba(255,255,255,0.15); background: var(--royal-deep); }
.surface-royal .faq-item .faq-q { color: #fff; }
.surface-royal .faq-item .faq-a { color: rgba(255,255,255,0.72); }

/* Bottom funnel CTA */
.bottom-funnel { position: relative; overflow: hidden; padding: 5rem 0; }
.bottom-funnel .container-x { position: relative; display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .bottom-funnel .container-x { grid-template-columns: repeat(12,1fr); align-items: end; } }
.bottom-funnel .bf-text { grid-column: 1 / -1; }
@media (min-width: 768px) { .bottom-funnel .bf-text { grid-column: span 8; } }
.bottom-funnel h2 { margin-top: 0.75rem; font-size: 1.875rem; color: #fff; }
@media (min-width: 768px) { .bottom-funnel h2 { font-size: 3rem; } }
.bottom-funnel p.body { margin-top: 1.25rem; max-width: 42rem; color: rgba(255,255,255,0.72); }
.bf-points { margin-top: 1.5rem; display: grid; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.72); }
@media (min-width: 768px) { .bf-points { grid-template-columns: repeat(3,1fr); } }
.bf-cta { grid-column: 1 / -1; }
@media (min-width: 768px) { .bf-cta { grid-column: span 4; text-align: right; } }
.bf-cta .note { margin-top: 0.75rem; font-size: 11px; color: rgba(255,255,255,0.55); }

/* Contact cards */
.contact-icon-row { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon-row svg { margin-top: 0.25rem; flex: none; color: var(--gold); }

/* Footer */
.site-footer { border-top: 2px solid rgba(201,168,76,0.6); }
.site-footer .container-x { display: grid; gap: 3rem; padding: 4rem 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer .container-x { grid-template-columns: repeat(12,1fr); } }
.footer-col-1 { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-col-1 { grid-column: span 4; } }
.footer-col-2 { grid-column: 1 / -1; } @media (min-width: 768px) { .footer-col-2 { grid-column: span 2; } }
.footer-col-3 { grid-column: 1 / -1; } @media (min-width: 768px) { .footer-col-3 { grid-column: span 3; } }
.footer-col-4 { grid-column: 1 / -1; } @media (min-width: 768px) { .footer-col-4 { grid-column: span 3; } }
.site-footer p.tagline { margin-top: 1.5rem; max-width: 28rem; font-size: 0.875rem; color: rgba(255,255,255,0.72); }
.footer-badge { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.15); padding: 0.25rem 0.75rem; font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--gold); }
.social-row { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.social-circle { display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); transition: color .15s ease, border-color .15s ease; }
.social-circle:hover { border-color: var(--gold); color: var(--gold); }
.site-footer h4 { margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.72); }
.site-footer ul li a:hover { color: var(--gold); }
.site-footer .contact-list { display: grid; gap: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.72); }
.site-footer .contact-list li { display: flex; gap: 0.5rem; }
.site-footer .contact-list svg { margin-top: 0.15rem; flex: none; color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom .container-x { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1.5rem; font-size: 12px; color: rgba(255,255,255,0.55); }
@media (min-width: 768px) { .footer-bottom .container-x { flex-direction: row; align-items: center; justify-content: space-between; padding: 1.5rem 2.5rem; } }
.footer-bottom .credo { text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); }
.footer-bottom a { font-weight: 600; letter-spacing: 0.12em; color: rgba(255,255,255,0.8); }
.footer-bottom a:hover { color: var(--gold); }

/* WhatsApp float button */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40;
  display: flex; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center;
  border-radius: 999px; color: #fff; background: var(--whatsapp);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.4); transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.05); }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center;
  background: rgba(10,10,10,0.6); padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-box { width: 100%; max-width: 42rem; max-height: 92vh; overflow-y: auto; border-radius: 6px; border: 1px solid rgba(10,10,10,0.1); background: #fff; }
.modal-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.75rem; }
.modal-head h2 { margin-top: 0.75rem; font-size: 1.5rem; color: #fff; }
.modal-head p { margin-top: 0.25rem; color: rgba(255,255,255,0.72); }
.modal-close { border-radius: 999px; padding: 0.4rem; color: rgba(255,255,255,0.8); }
.modal-close:hover { background: rgba(255,255,255,0.1); color: #fff; }
.modal-form { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.75rem; }
.form-row-2 { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .form-row-2 { grid-template-columns: repeat(2,1fr); } }
.form-field label { margin-bottom: 0.4rem; display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--royal); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border-radius: 0.125rem; border: 1px solid rgba(10,10,10,0.15); background: #fff;
  padding: 0.65rem 0.85rem; font-size: 0.875rem; font-family: inherit; color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(74,26,130,0.2);
}
.form-field .err { margin-top: 0.25rem; display: block; font-size: 12px; color: #dc2626; }
.form-note { font-size: 11px; color: var(--muted-foreground); }
.form-note.center { text-align: center; }

/* Conversion form (contact-embedded, dark variant) */
.conv-form { position: relative; border-radius: 6px; padding: 1.75rem; }
@media (min-width: 768px) { .conv-form { padding: 2.25rem; } }
.conv-form.light { background: #fff; border: 1px solid rgba(10,10,10,0.08); }
.conv-form.dark { background: var(--royal-deep); color: #fff; }
.conv-form h3 { margin-top: 0.5rem; font-size: 1.5rem; }
@media (min-width: 768px) { .conv-form h3 { font-size: 1.875rem; } }

/* Thank-you page */
.thanks-wrap { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5rem 0; text-align: center; }
.thanks-icon { margin: 0 auto; display: flex; height: 5rem; width: 5rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(201,168,76,0.4); background: rgba(201,168,76,0.1); }
.thanks-wrap h1 { margin-top: 1rem; font-size: 2.25rem; }
@media (min-width: 768px) { .thanks-wrap h1 { font-size: 3.75rem; } }
.thanks-wrap p.lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; color: var(--muted-foreground); }
.thanks-wrap p.sub { margin-top: 0.75rem; max-width: 36rem; color: var(--muted-foreground); }
.thanks-actions { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.thanks-credo { margin-top: 3rem; font-family: var(--font-display); font-size: 1.25rem; color: var(--gold); }

/* 404 */
.not-found { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1rem; background: var(--ink); }
.not-found .box { max-width: 28rem; text-align: center; }
.not-found h1 { font-size: 4.5rem; color: var(--gold); }
.not-found h2 { margin-top: 1rem; font-size: 1.5rem; color: #fff; }
.not-found p { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.not-found .actions { margin-top: 1.5rem; }

/* misc utility */
.mt-0 { margin-top: 0; }
.hidden-md { display: block; }
@media (min-width: 768px) { .hidden-md { display: none; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
