/* ============================================================
   Nogueira Consultoria — Design System (v3, hybrid dark/light)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Public+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* --- Base: Ink (near-black neutrals, dark-by-default) --- */
  --ink-950: #0a0a0a;
  --ink-900: #131211;
  --ink-850: #191815;
  --ink-800: #211f1b;
  --ink-700: #2f2c26;
  --ink-600: #47433a;
  --ink-500: #6b6558;
  --ink-400: #8f8877;
  --ink-300: #b5ad9a;
  --ink-200: #d6d0c1;
  --ink-100: #ece7dc;
  --ink-50:  #f7f4ec;

  /* --- Base: Gold (upgraded to vivid #f0b429) --- */
  --gold-700: #8a6a1a;
  --gold-600: #b38820;
  --gold-500: #f0b429;
  --gold-400: #ffc740;
  --gold-300: #ffd96e;
  --gold-200: #ffe9a8;
  --gold-100: #fff5d6;

  /* --- Supporting hues --- */
  --forest-500: #3f7d5c;
  --forest-300: #8fbfa4;
  --rust-500:   #c1603f;
  --rust-300:   #dd9b83;
  --slate-500:  #5b7184;
  --slate-300:  #a6b6c1;

  /* --- Semantic: dark surfaces (default) --- */
  --bg-page: var(--ink-950);
  --bg-surface: var(--ink-900);
  --bg-surface-raised: var(--ink-800);
  --bg-surface-inset: var(--ink-850);

  /* --- Semantic: text (dark context) --- */
  --text-primary: #ffffff;
  --text-secondary: var(--ink-200);
  --text-muted: #9a9080;
  --text-dim: #726d62;
  --text-on-gold: var(--ink-950);
  --text-link: var(--gold-400);
  --text-link-hover: var(--gold-300);

  /* --- Semantic: borders --- */
  --border-subtle: var(--ink-700);
  --border-strong: var(--ink-600);

  /* --- Semantic: brand / accent --- */
  --accent: var(--gold-500);
  --accent-hover: var(--gold-400);
  --accent-active: var(--gold-600);
  --accent-subtle-bg: rgba(240, 180, 41, 0.12);

  /* --- Light section palette --- */
  --light-bg:     #f5f2ec;
  --light-bg2:    #fefefe;
  --light-bg3:    #faf8f4;
  --light-card:   #ffffff;
  --light-border: #e4ddd2;
  --light-text:   #1a1714;
  --light-muted:  #6b6255;

  /* --- Semantic: feedback --- */
  --positive: var(--forest-500);
  --positive-subtle-bg: rgba(63, 125, 92, 0.14);
  --negative: var(--rust-500);
  --negative-subtle-bg: rgba(193, 96, 63, 0.14);
  --info: var(--slate-500);
  --info-subtle-bg: rgba(91, 113, 132, 0.14);

  /* --- Shadows --- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-focus: 0 0 0 3px rgba(240, 180, 41, 0.35);

  /* --- Font families --- */
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'Public Sans', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* --- Type scale --- */
  --text-display-xl: 72px;
  --text-display-lg: 56px;
  --text-display-md: 40px;
  --text-display-sm: 32px;
  --text-heading-lg: 28px;
  --text-heading-md: 22px;
  --text-heading-sm: 18px;
  --text-body-lg: 18px;
  --text-body-md: 16px;
  --text-body-sm: 14px;
  --text-caption: 12px;

  --leading-display: 1.08;
  --leading-heading: 1.2;
  --leading-body: 1.6;
  --leading-tight: 1.3;

  --tracking-display: -0.01em;
  --tracking-wide: 0.04em;
  --tracking-caps: 0.08em;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* --- Spacing scale (4px base) --- */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px; --space-32: 128px;

  /* --- Radius --- */
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px; --radius-pill: 999px;

  /* --- Layout --- */
  --content-max-width: 1200px;
  --content-max-width-narrow: 720px;

  /* --- Motion --- */
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-base: 200ms;
  --dur-150: 150ms;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .font-display {
  font-family: var(--font-display);
  letter-spacing: var(--tracking-display);
  margin: 0;
  font-weight: var(--weight-semibold);
}
p { margin: 0 0 1em; color: var(--text-secondary); }
a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--text-link-hover); }
img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: var(--content-max-width-narrow); margin: 0 auto; }

/* ---------- Header / Nav — Floating pill ---------- */
header.site-header {
  position: sticky;
  top: 22px;
  z-index: 100;
  max-width: 1120px;
  margin: 16px auto 0;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
  height: 64px;
  padding: 0 24px;
  background: rgba(10, 10, 8, 0.88);
  backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid rgba(240, 180, 41, 0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 0 0 0.5px rgba(255,255,255,0.04);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 36px; }
.brand span { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: 0.02em; color: var(--text-primary); }
nav.navlinks { display: flex; align-items: center; gap: 32px; font-size: 15px; margin-left: auto; }
nav.navlinks a { color: var(--text-secondary); }
nav.navlinks a.active { color: var(--gold-400); }
nav.navlinks a:hover { color: var(--text-link-hover); }
.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 26px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: var(--weight-semibold); font-size: 15px;
  padding: 13px 28px; border-radius: var(--radius-md);
  border: 1px solid transparent; cursor: pointer;
  transition: background var(--duration-base) var(--ease-standard), border-color var(--duration-base);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent); color: var(--text-on-gold);
  position: relative; overflow: hidden;
}
.btn-primary:hover { background: var(--accent-hover); color: var(--text-on-gold); }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0; left: -110%; width: 55%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transition: left 0.55s var(--ease-standard);
  pointer-events: none;
}
.btn-primary:hover::after { left: 160%; }
.btn-secondary { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--gold-500); color: var(--gold-400); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* Dark (hero) context button override */
.hero-section .btn-secondary {
  color: rgba(232,228,220,0.9);
  border-color: rgba(255,255,255,0.18);
}
.hero-section .btn-secondary:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
  background: rgba(240,180,41,0.06);
}

/* Light context button overrides */
.section-light .btn-secondary,
.section-white .btn-secondary,
.section-cream .btn-secondary {
  color: var(--light-text);
  border-color: var(--light-border);
}
.section-light .btn-secondary:hover,
.section-white .btn-secondary:hover,
.section-cream .btn-secondary:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
}

/* ---------- Light section system ---------- */
.section-light {
  background: var(--light-bg);
  color: var(--light-text);
}
.section-white {
  background: var(--light-bg2);
  color: var(--light-text);
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}
.section-cream {
  background: var(--light-bg3);
  color: var(--light-text);
}

/* Text overrides in light sections */
.section-light h1, .section-light h2, .section-light h3, .section-light h4,
.section-white h1, .section-white h2, .section-white h3, .section-white h4,
.section-cream h1, .section-cream h2, .section-cream h3, .section-cream h4 {
  color: var(--light-text);
}
.section-light p, .section-white p, .section-cream p {
  color: var(--light-muted);
}
.section-light .section-kicker,
.section-white .section-kicker,
.section-cream .section-kicker {
  color: var(--gold-600);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}
.section-light .section-kicker::before,
.section-white .section-kicker::before,
.section-cream .section-kicker::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-light .section-title,
.section-white .section-title,
.section-cream .section-title {
  color: var(--light-text);
  text-align: left;
}
.section-light .section-sub,
.section-white .section-sub,
.section-cream .section-sub {
  color: var(--light-muted);
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

/* Cards in light sections */
.section-light .card,
.section-white .card,
.section-cream .card {
  background: var(--light-card);
  border-color: var(--light-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.section-light .card:hover,
.section-white .card:hover,
.section-cream .card:hover {
  border-color: rgba(176, 130, 18, 0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 0 24px rgba(240,180,41,0.08);
}
.section-light .card h3, .section-light .card h4,
.section-white .card h3, .section-white .card h4,
.section-cream .card h3, .section-cream .card h4 {
  color: var(--light-text);
}
.section-light .card p,
.section-white .card p,
.section-cream .card p {
  color: var(--light-muted);
}

/* Diferencial icons in light sections */
.section-light .dif-grid h4,
.section-white .dif-grid h4,
.section-cream .dif-grid h4 {
  color: var(--light-text);
}
.section-light .dif-grid p,
.section-white .dif-grid p,
.section-cream .dif-grid p {
  color: var(--light-muted);
}

/* Grupo titles in light sections */
.section-light .grupo-titulo,
.section-white .grupo-titulo,
.section-cream .grupo-titulo {
  color: var(--light-text);
  border-left-color: var(--gold-500);
}

/* Card links in light sections */
.section-light .card-link,
.section-white .card-link,
.section-cream .card-link {
  color: var(--gold-600);
  border-bottom-color: var(--gold-600);
}
.section-light .card-link:hover,
.section-white .card-link:hover,
.section-cream .card-link:hover {
  color: var(--gold-700);
}

/* Quotes in light sections */
.section-cream .quote-block p.quote { color: var(--gold-600); }
.section-cream .quote-block .autor { color: var(--light-text); }
.section-cream .quote-block .cargo { color: var(--light-muted); }
.section-cream .depoimento-nota { color: var(--light-muted); }

/* Badges em seções claras — cores mais saturadas para legibilidade */
.section-light .badge-gold,
.section-white .badge-gold,
.section-cream .badge-gold {
  background: rgba(176, 130, 18, 0.12);
  color: var(--gold-700);
  border: 1px solid rgba(176, 130, 18, 0.28);
}
.section-light .badge-info,
.section-white .badge-info,
.section-cream .badge-info {
  background: rgba(91, 113, 132, 0.12);
  color: var(--slate-500);
  border: 1px solid rgba(91, 113, 132, 0.28);
}
.section-light .badge-positive,
.section-white .badge-positive,
.section-cream .badge-positive {
  background: rgba(63, 125, 92, 0.12);
  color: var(--forest-500);
  border: 1px solid rgba(63, 125, 92, 0.28);
}
.section-light .badge-negative,
.section-white .badge-negative,
.section-cream .badge-negative {
  background: rgba(193, 96, 63, 0.12);
  color: var(--rust-500);
  border: 1px solid rgba(193, 96, 63, 0.28);
}

/* Info items em seções claras (página de contato) */
.section-light .info-item strong,
.section-white .info-item strong,
.section-cream .info-item strong {
  color: var(--light-muted);
}
.section-light .info-item a,
.section-light .info-item span,
.section-white .info-item a,
.section-white .info-item span,
.section-cream .info-item a,
.section-cream .info-item span {
  color: var(--light-text);
}
.section-light .info-item a:hover,
.section-white .info-item a:hover,
.section-cream .info-item a:hover {
  color: var(--gold-700);
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--duration-base), transform var(--duration-base), box-shadow var(--duration-base);
}
.card:hover {
  border-color: rgba(240, 180, 41, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 24px rgba(240, 180, 41, 0.07);
}
.card h3, .card h4 { font-size: var(--text-heading-sm); margin-bottom: var(--space-3); }
.card p { font-size: var(--text-body-sm); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-weight: var(--weight-semibold);
  font-size: 11px; letter-spacing: var(--tracking-caps); text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--radius-pill);
}
.badge-gold { background: var(--accent-subtle-bg); color: var(--gold-300); }
.badge-info { background: var(--info-subtle-bg); color: var(--slate-300); }
.badge-positive { background: var(--positive-subtle-bg); color: var(--forest-300); }
.badge-negative { background: var(--negative-subtle-bg); color: var(--rust-300); }

/* ---------- Sections ---------- */
section { padding: var(--space-24) 0; }
.section-kicker {
  font-family: var(--font-body); font-weight: var(--weight-semibold);
  font-size: var(--text-caption); letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--gold-400); text-align: center; margin-bottom: var(--space-3);
}
.section-title { font-size: var(--text-display-sm); text-align: center; margin-bottom: var(--space-3); }
.section-sub { text-align: center; max-width: 640px; margin: 0 auto var(--space-12); font-size: var(--text-body-lg); color: var(--text-muted); }

/* ---------- Hero with photo background ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 96vh;
  display: flex;
  align-items: center;
  margin-top: -96px;
  padding: 96px 0 0;
  background: var(--ink-950);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(20%) brightness(0.45);
  transform: scale(1.05);
  transition: transform 0.1s linear;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(8,8,6,0.97) 0%,
    rgba(10,10,8,0.92) 42%,
    rgba(10,10,8,0.72) 70%,
    rgba(8,8,6,0.62) 100%
  );
}
.hero-section .container { position: relative; z-index: 2; }
.hero-fade-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 160px;
  background: linear-gradient(to bottom, transparent, #0d0b07);
  pointer-events: none;
  z-index: 1;
}

/* Hero inner content grid */
.hero {
  padding: 80px 0 100px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  position: relative; z-index: 2; width: 100%;
}
.hero h1 { font-size: var(--text-display-lg); line-height: var(--leading-display); font-weight: 600; margin-bottom: var(--space-6); }
.hero .gold { color: var(--gold-400); }
.hero p.sub { font-size: var(--text-body-lg); color: var(--text-secondary); max-width: 520px; margin-bottom: var(--space-8); }
.hero .actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.hero .art { display: flex; align-items: center; justify-content: center; }
.hero .art img { width: 100%; max-width: 320px; opacity: 0.95; }

/* ---------- Hero content elements ---------- */
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-400);
  border: 1px solid rgba(240,180,41,0.3);
  background: rgba(240,180,41,0.08);
  padding: 6px 14px; border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 24px;
}
.hero-title .gold { color: var(--gold-400); }
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(232,228,220,0.82);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 13px;
  color: rgba(232,228,220,0.75);
}
.trust-badge strong {
  color: var(--gold-300);
  font-weight: 600;
}

/* ---------- Stats section (gold-dark gradient) ---------- */
.section-stats {
  background: linear-gradient(135deg, #0d0c08 0%, #131007 100%);
  border-top: 1px solid rgba(240,180,41,0.15);
  border-bottom: 1px solid rgba(240,180,41,0.15);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}
.stat-item {}
.stat-num {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 500;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ---------- Grupos / cards de solução ---------- */
.grupo { margin-bottom: var(--space-12); }
.grupo-titulo {
  font-family: var(--font-display); font-size: var(--text-heading-md);
  border-left: 3px solid var(--gold-500); padding-left: var(--space-4); margin-bottom: var(--space-6);
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.card-link { color: var(--gold-400); font-weight: 600; font-size: 14px; border-bottom: 1px solid rgba(240,180,41,0.4); padding-bottom: 2px; }
.card-link:hover { color: var(--gold-300); }

/* ---------- Diferencial ---------- */
.dif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-10); text-align: center; }
.dif-grid .dif-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240,180,41,0.10);
  border: 1.5px solid rgba(240,180,41,0.55);
  border-radius: 14px;
  margin: 0 auto var(--space-5);
  color: #d4950e;
  box-shadow: 0 0 0 4px rgba(240,180,41,0.06);
}
.dif-grid .dif-icon svg { width: 24px; height: 24px; }
/* Legacy icon class */
.dif-grid .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240,180,41,0.10);
  border: 1.5px solid rgba(240,180,41,0.55);
  border-radius: 14px;
  margin: 0 auto var(--space-5);
  color: #d4950e;
  box-shadow: 0 0 0 4px rgba(240,180,41,0.06);
  font-size: 26px;
}
.dif-grid .icon svg {
  width: 24px;
  height: 24px;
}
.dif-grid h4 { font-family: var(--font-display); font-size: var(--text-heading-sm); margin-bottom: var(--space-2); color: var(--text-primary); }
.dif-grid p { font-size: var(--text-body-sm); color: var(--text-muted); }

/* ---------- Números (mono, financeiro) ---------- */
#numeros { background: var(--bg-surface); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); text-align: center; }
.num-grid .num { font-family: var(--font-mono); font-size: 36px; font-weight: 500; color: var(--gold-400); }
.num-grid .label { font-size: var(--text-body-sm); color: var(--text-muted); margin-top: var(--space-2); }

/* ---------- Depoimento / quote ---------- */
/* #depoimentos background is handled by .section-cream */
.quote-block { max-width: var(--content-max-width-narrow); margin: 0 auto; text-align: center; }
.quote-block {
  position: relative;
  padding-top: var(--space-12);
}
.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 160px;
  line-height: 1;
  color: var(--gold-500);
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}
.quote-block p.quote {
  font-family: var(--font-display); font-style: italic; font-size: var(--text-heading-lg);
  line-height: 1.4; color: var(--gold-400); margin-bottom: var(--space-4);
}
.quote-block .autor { font-weight: 600; color: var(--text-primary); }
.quote-block .cargo { color: var(--text-muted); font-size: var(--text-body-sm); }
.depoimento-nota { text-align: center; color: var(--text-muted); font-size: 13px; margin-top: var(--space-5); }

/* ---------- Sobre ---------- */
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.sobre-badge {
  display: inline-block; background: var(--accent-subtle-bg); color: var(--gold-300);
  border: 1px solid var(--gold-700); padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; letter-spacing: var(--tracking-caps); text-transform: uppercase;
  margin-bottom: var(--space-5);
}

/* ---------- Contato ---------- */
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); }
.info-item { margin-bottom: var(--space-6); }
.info-item strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--text-muted); margin-bottom: 4px; }
.info-item a, .info-item span { color: var(--text-primary); font-weight: 600; font-size: 16px; }
.contato-grid iframe { width: 100%; height: 220px; border: 0; border-radius: var(--radius-lg); margin-top: var(--space-5); filter: grayscale(0.2) contrast(0.95); }
form.contato-form { display: flex; flex-direction: column; gap: var(--space-4); }
form.contato-form input, form.contato-form textarea {
  padding: 13px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  font-family: inherit; font-size: 15px; background: var(--bg-surface-raised); color: var(--text-primary);
}
form.contato-form input::placeholder, form.contato-form textarea::placeholder { color: var(--text-muted); }
form.contato-form input:focus, form.contato-form textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: var(--shadow-focus); }
form.contato-form textarea { min-height: 120px; resize: vertical; }
form.contato-form button { align-self: flex-start; }
.form-nota { font-size: 13px; color: var(--text-muted); margin-top: var(--space-3); }

/* ---------- Final CTA ---------- */
.cta-final { text-align: center; }
.cta-final h2 { font-size: var(--text-display-sm); margin-bottom: var(--space-4); }
.cta-final p { max-width: 520px; margin: 0 auto var(--space-8); font-size: var(--text-body-lg); }
#cta-final {
  position: relative;
  background: var(--ink-950);
  border-top: 1px solid rgba(240, 180, 41, 0.25);
}
#cta-final::after {
  content: '';
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(240,180,41,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- Separação visual entre seções ---------- */
/* Note: #preview-solucoes, #diferencial, #depoimentos, #contato use section-light/white/cream backgrounds */
/* #sobre-page is a hero-section (dark) and inherits from .hero-section */

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: none;
  padding: var(--space-12) 0 var(--space-6);
  color: var(--text-muted);
  font-size: 13px;
  position: relative;
  background: #060604;
}
footer.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 180, 41, 0.4) 40%, rgba(240, 180, 41, 0.4) 60%, transparent);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-10); margin-bottom: var(--space-8); }
footer h5 { font-family: var(--font-body); color: var(--text-primary); font-size: 14px; font-weight: 600; margin-bottom: var(--space-4); }
footer a { color: var(--text-muted); }
footer a:hover { color: var(--gold-400); }
footer p { color: var(--text-dim); }
footer .foot-bottom { border-top: 1px solid var(--border-subtle); padding-top: var(--space-5); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-3); }
footer .foot-bottom span { font-size: 13px; color: var(--text-dim); }

/* Redes sociais no footer */
.social-links { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.social-links a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1px solid var(--border-subtle); color: var(--text-muted); transition: color var(--dur-150) var(--ease-standard), border-color var(--dur-150) var(--ease-standard), background var(--dur-150) var(--ease-standard); }
.social-links a:hover { color: var(--gold-400); border-color: rgba(240,180,41,0.45); background: rgba(240,180,41,0.06); }
.social-links svg { width: 16px; height: 16px; }

/* Links legais no rodapé */
.legal-links { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.legal-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; white-space: nowrap; }
.legal-links a:hover { color: var(--gold-400); }

@media (max-width: 600px) {
  footer .foot-bottom { flex-direction: column; align-items: flex-start; }
  .legal-links { gap: var(--space-3); }
}

/* ---------- Hero: glow atmosférico dourado (legado) ---------- */
#inicio {
  position: relative;
  overflow: hidden;
}
#inicio::before {
  content: '';
  position: absolute;
  top: -15%; left: -5%;
  width: 55%; height: 85%;
  background: radial-gradient(ellipse at center, rgba(240, 180, 41, 0.065) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
}
#inicio::after {
  content: '';
  position: absolute;
  bottom: 0; right: 10%;
  width: 35%; height: 55%;
  background: radial-gradient(ellipse at center, rgba(240, 180, 41, 0.035) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
#inicio .container { position: relative; z-index: 1; }

/* ---------- SVG hero animation ---------- */
@keyframes draw-chart {
  from { stroke-dashoffset: 420; }
  to   { stroke-dashoffset: 0; }
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.3); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fade-area {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#inicio .hero-svg polyline {
  stroke-dasharray: 420; stroke-dashoffset: 420;
  animation: draw-chart 1.6s var(--ease-standard) 0.4s forwards;
}
#inicio .hero-svg polygon {
  opacity: 0;
  animation: fade-area 0.6s ease 1.8s forwards;
}
#inicio .hero-svg circle {
  opacity: 0; transform-origin: center;
  animation: pop-in 0.3s var(--ease-standard) forwards;
}
#inicio .hero-svg circle:nth-of-type(1) { animation-delay: 0.85s; }
#inicio .hero-svg circle:nth-of-type(2) { animation-delay: 1.1s; }
#inicio .hero-svg circle:nth-of-type(3) { animation-delay: 1.35s; }
#inicio .hero-svg circle:nth-of-type(4) { animation-delay: 1.55s; }
#inicio .hero-svg circle:nth-of-type(5) { animation-delay: 1.7s; }

/* ---------- Hero SVG ilustração ---------- */
.hero-svg {
  width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto;
  filter: drop-shadow(0 16px 48px rgba(240, 180, 41, 0.08));
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  border-radius: var(--radius-pill);
  padding: 14px 20px 14px 16px;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  font-family: var(--font-body); font-size: var(--text-body-sm); font-weight: var(--weight-semibold);
  transition: background var(--duration-base) var(--ease-standard),
              transform var(--duration-base) var(--ease-standard),
              box-shadow var(--duration-base) var(--ease-standard);
  animation: wpp-pulse 2.5s ease-in-out 1.5s 3;
}
.whatsapp-fab:hover {
  background: #1ebe5d; transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.55); color: #fff;
}
.whatsapp-fab svg { flex-shrink: 0; }
.whatsapp-tooltip { white-space: nowrap; }

@keyframes wpp-pulse {
  0%, 100% { box-shadow: var(--shadow-lg); }
  50% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.25), var(--shadow-lg); }
}

/* ---------- Scroll fade-in ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-standard), transform 0.65s var(--ease-standard);
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-sm { transition-delay: 0.1s; }
.fade-in-delay    { transition-delay: 0.2s; }
.fade-in-delay-lg { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
/* ---------- Hero secundário (sobre, soluções, contato) — sem grid de 2 col ---------- */
/* Garante espaçamento vertical adequado quando não há o wrapper .hero */
.hero-page-content {
  padding: 60px 0 80px;
  width: 100%;
}

/* ---------- Dark CTA box dentro de páginas de serviço (fundo claro) ---------- */
.srv-cta-box .btn-secondary {
  color: var(--gold-400);
  border-color: rgba(240, 180, 41, 0.4);
}
.srv-cta-box .btn-secondary:hover {
  border-color: var(--gold-400);
  background: rgba(240, 180, 41, 0.08);
  color: var(--gold-300);
}

/* ---------- Como funciona (4 etapas) ---------- */
.como-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-10);
  position: relative;
}
.como-grid::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(240,180,41,0.6) 0%,
    rgba(240,180,41,0.25) 50%,
    rgba(240,180,41,0.6) 100%);
  pointer-events: none;
}
.como-step {
  position: relative;
}
.como-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-600);
  background: var(--light-bg);
  display: inline-block;
  padding-right: var(--space-3);
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
}
.como-step:last-child .como-num { padding-right: 0; padding-left: var(--space-3); }
.como-step h4 {
  font-family: var(--font-display);
  font-size: var(--text-heading-sm);
  color: var(--light-text);
  margin-bottom: var(--space-2);
}
.como-step p {
  font-size: var(--text-body-sm);
  color: var(--light-muted);
  line-height: 1.65;
}

/* ---------- Sobre: grid consultor (foto + bio) ---------- */
.consultor-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-12);
  align-items: start;
  margin-top: var(--space-10);
}
.consultor-foto {
  aspect-ratio: 3/4;
  background: var(--light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--light-border);
}
.consultor-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.consultor-foto-placeholder {
  color: var(--light-muted);
  font-size: 13px;
  text-align: center;
  padding: 24px;
  opacity: 0.5;
}
.consultor-bio h3 {
  font-family: var(--font-display);
  font-size: var(--text-heading-lg);
  color: var(--light-text);
  margin-bottom: var(--space-1);
}
.consultor-bio .consultor-cargo {
  font-size: 14px;
  color: var(--gold-600);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.consultor-bio p {
  color: var(--light-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.consultor-credenciais {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.consultor-credenciais .badge {
  font-size: 11px;
}

/* ---------- Sobre: abordagem em 3 passos ---------- */
.abordagem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-8);
}
.abordagem-item {
  position: relative;
  padding-left: var(--space-6);
}
.abordagem-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: calc(100% - 4px);
  background: linear-gradient(to bottom, var(--gold-500), transparent);
  border-radius: 2px;
}
.abordagem-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-600);
  margin-bottom: var(--space-2);
}
.abordagem-item h4 {
  font-family: var(--font-display);
  font-size: var(--text-heading-sm);
  color: var(--light-text);
  margin-bottom: var(--space-2);
}
.abordagem-item p {
  font-size: var(--text-body-sm);
  color: var(--light-muted);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .hero-page-content { padding: 40px 0 60px; }
  .consultor-grid { grid-template-columns: 1fr; }
  .consultor-foto { aspect-ratio: 1/1; max-width: 220px; }
  .abordagem-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .como-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .como-grid::before { display: none; }
}

@media (max-width: 540px) {
  .como-grid { grid-template-columns: 1fr; gap: var(--space-5); }
}

@media (max-width: 860px) {
  header.site-header {
    top: 8px;
    margin: 8px 12px 0;
    max-width: calc(100% - 24px);
    height: auto;
    padding: 12px 18px;
    gap: 12px;
    border-radius: 12px;
  }
  .brand span { font-size: 15px; }
  .brand img { height: 30px; }
  header.site-header .btn-primary { padding: 10px 16px; font-size: 13px; white-space: nowrap; }
  .container { padding: 0 24px; }
  nav.navlinks {
    position: fixed; top: 74px; left: 0; right: 0; background: var(--bg-page);
    flex-direction: column; padding: 20px 24px; gap: 18px; display: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  nav.navlinks.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { grid-template-columns: 1fr; padding: 56px 0; text-align: left; }
  .hero .art { order: -1; }
  .hero h1 { font-size: var(--text-display-md); }
  .sobre-grid, .contato-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .dif-grid { grid-template-columns: 1fr; }
  .num-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .whatsapp-fab { padding: 14px; border-radius: 50%; }
  .whatsapp-tooltip { display: none; }
  .hero-svg { max-width: 320px; }
  .hero-section { min-height: auto; margin-top: -74px; padding: 74px 0 60px; }
  .hero-trust { gap: 12px; }
  .trust-badge { font-size: 12px; padding: 6px 10px; }
}
