/* ============================================
   ESTRATÉGIA DO FAROL — Design Tokens
   ============================================ */

:root {
  /* Color */
  --navy-950: #080F26;
  --navy-900: #0F1B3C;
  --navy-800: #16234E;
  --navy-700: #1F2F63;
  --navy-500: #3A4C82;
  --gold-600: #B08A3E;
  --gold-500: #C9A961;
  --gold-400: #D9BD7E;
  --gold-300: #E8D4A3;
  --terracotta: #A85D3F;
  --cream-50: #FAF7F0;
  --cream-100: #F3EDE0;
  --ink-700: #2A2E3A;
  --ink-400: #6B7080;
  --line: #E4DDC9;

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Scale */
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.75rem;
  --step-3: 2.5rem;
  --step-4: 3.5rem;
  --step-5: 4.75rem;

  /* Layout */
  --content-w: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink-700);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.5rem, 5vw, var(--step-5)); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--step-4)); }
h3 { font-size: clamp(1.35rem, 2.5vw, var(--step-2)); }

p { margin: 0 0 1.2em; max-width: 62ch; }
a { color: var(--navy-700); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

.container {
  max-width: var(--content-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  display: inline-block;
  margin-bottom: 0.9em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.9em 1.8em;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--navy-900); color: var(--cream-50); }
.btn-primary:hover { background: var(--navy-700); }
.btn-ghost { border-color: var(--navy-900); color: var(--navy-900); }
.btn-ghost:hover { background: var(--navy-900); color: var(--cream-50); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1.1rem;
}
.brand { display: flex; align-items: center; gap: 0.6em; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-name {
  font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-900);
  font-weight: 600; white-space: nowrap;
}
@media (max-width: 480px) {
  .brand-name { font-size: 0.95rem; }
}
.nav-links { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--ink-700); font-size: 0.85rem;
  font-weight: 500; letter-spacing: 0.01em; white-space: nowrap;
}
.nav-links a:hover { color: var(--navy-900); }

@media (max-width: 1080px) {
  .nav-links { gap: 0.9rem; }
  .nav-links a { font-size: 0.8rem; }
}

@media (max-width: 780px) {
  .nav-links { display: none; }
  .header-cta { display: none; }
}

/* Footer */
.site-footer {
  background: var(--navy-950); color: var(--cream-50);
  padding-block: var(--step-4) var(--step-2);
  margin-top: var(--step-5);
}
.site-footer a { color: var(--gold-300); }
.footer-credentials {
  font-size: 0.85rem; color: #9AA3C4; margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
}

/* Utility */
.text-center { text-align: center; }
.section { padding-block: var(--step-5); }
.section-tight { padding-block: var(--step-3); }

/* Header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  background: var(--navy-900);
  color: var(--cream-50) !important;
  padding: 0.6em 1.4em;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease;
}
.header-cta:hover { background: var(--navy-700); }

/* Mobile sticky conversion bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--navy-900);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
.mobile-cta-bar .row {
  display: flex;
}
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.7rem 0.5rem;
  color: var(--cream-50);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  min-height: 56px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.mobile-cta-bar a:last-child { border-right: none; }
.mobile-cta-bar a.cta-highlight { background: var(--gold-500); color: var(--navy-950); }
.mobile-cta-bar svg { width: 20px; height: 20px; }

@media (max-width: 780px) {
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 62px; }
  .whatsapp-float { display: none; }
}

/* Social icons */
.social-icons { display: flex; gap: 0.9rem; margin-top: 1rem; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(201, 169, 97, 0.4);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.social-icons a:hover { border-color: var(--gold-500); background: rgba(201, 169, 97, 0.08); }
.social-icons svg { width: 16px; height: 16px; }

/* Warmer gradient touches */
.hero-gradient {
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(201,169,97,0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(168,93,63,0.06), transparent 60%),
    var(--cream-50);
}
.pillar-band {
  background: linear-gradient(180deg, #fff 0%, var(--cream-100) 100%);
}

/* Card hover-lift */
.lift-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.lift-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 27, 60, 0.12);
  border-color: var(--gold-500) !important;
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .lift-card:hover { transform: none; }
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1F2F63;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 27, 60, 0.35);
  z-index: 50;
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.whatsapp-float svg { width: 26px; height: 26px; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(15,27,60,0.35), 0 0 0 0 rgba(201,169,97,0.35); }
  50% { box-shadow: 0 8px 24px rgba(15,27,60,0.35), 0 0 0 10px rgba(201,169,97,0); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
}
