/* =========================================
   PRELOADER — GESTÃO SIMPLES
========================================= */

body.is-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(
      circle at center,
      rgba(210, 158, 63, 0.09),
      transparent 42%
    ),
    #020b16;

  opacity: 1;
  visibility: visible;

  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.page-loader::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;

  background: rgba(208, 157, 60, 0.06);
  border-radius: 50%;
  filter: blur(70px);

  animation: loaderGlow 2s ease-in-out infinite alternate;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-container {
  position: relative;
  z-index: 1;

  width: min(390px, 85vw);
  text-align: center;
}

.animated-logo {
  display: block;
  width: 210px;
  height: auto;
  margin: 0 auto 4px;
  overflow: visible;
}

/* Barras */

.logo-bar {
  fill: #d29e3f;

  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(0);

  animation: growBar 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.bar-1 {
  animation-delay: 0.15s;
}

.bar-2 {
  animation-delay: 0.35s;
}

.bar-3 {
  animation-delay: 0.55s;
}

.bar-4 {
  animation-delay: 0.75s;
}

/* Linha da seta */

.growth-line {
  fill: none;
  stroke: #d29e3f;
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 310;
  stroke-dashoffset: 310;

  animation: drawGrowthLine 1.1s ease forwards;
  animation-delay: 0.75s;
}

/* Ponta da seta */

.arrow-head {
  fill: none;
  stroke: #d29e3f;
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;

  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.3);

  animation: showArrowHead 0.4s ease forwards;
  animation-delay: 1.65s;
}

/* Nome da empresa */

.loader-brand {
  opacity: 0;
  transform: translateY(15px);

  animation: showBrand 0.65s ease forwards;
  animation-delay: 1.55s;
}

.loader-brand strong {
  display: block;

  color: #d29e3f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.055em;
}

.loader-brand span {
  display: block;
  margin-top: 8px;

  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}

/* Linha de carregamento */

.loader-progress {
  width: 170px;
  height: 2px;
  margin: 27px auto 0;

  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;

  opacity: 0;
  animation: showProgress 0.3s ease forwards;
  animation-delay: 1.65s;
}

.loader-progress span {
  display: block;
  width: 100%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    #d29e3f,
    #f0c671
  );

  transform: translateX(-100%);
  animation: loadingProgress 1.2s ease forwards;
  animation-delay: 1.7s;
}

/* Animações */

@keyframes growBar {
  from {
    transform: scaleY(0);
    opacity: 0;
  }

  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes drawGrowthLine {
  from {
    stroke-dashoffset: 310;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes showArrowHead {
  from {
    opacity: 0;
    transform: scale(0.3);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes showBrand {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes showProgress {
  to {
    opacity: 1;
  }
}

@keyframes loadingProgress {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes loaderGlow {
  from {
    transform: scale(0.9);
    opacity: 0.5;
  }

  to {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Utilizadores que desativaram animações */

@media (prefers-reduced-motion: reduce) {
  .page-loader *,
  .page-loader *::before,
  .page-loader *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }
}

:root {
  --navy-950: #04101f;
  --navy-900: #071426;
  --navy-850: #0a1b31;
  --navy-800: #0d2340;
  --navy-700: #16365b;
  --gold-500: #d6a645;
  --gold-400: #e5bd68;
  --gold-300: #f0d596;
  --cream: #f8f4ec;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #132033;
  --muted: #617086;
  --border: rgba(7, 20, 38, 0.12);
  --shadow-sm: 0 12px 30px rgba(7, 20, 38, 0.08);
  --shadow-md: 0 22px 60px rgba(7, 20, 38, 0.14);
  --shadow-lg: 0 35px 90px rgba(2, 9, 18, 0.30);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1200px;
  --header-height: 84px;
  --ease: cubic-bezier(.2,.75,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { background: var(--gold-300); color: var(--navy-950); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.06;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(3.2rem, 7vw, 6.7rem); }
h2 { font-size: clamp(2.3rem, 4.4vw, 4.5rem); }
h3 { font-size: 1.35rem; }
p { color: var(--muted); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 112px 0; }
.eyebrow {
  margin-bottom: 16px;
  color: var(--gold-400);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow.dark { color: #a77722; }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 18px;
  top: -80px;
  padding: 11px 16px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 18px; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 3px;
  background: transparent;
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  box-shadow: 0 0 16px rgba(214, 166, 69, .55);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 900;
  inset: 0 0 auto;
  color: var(--white);
  background: linear-gradient(180deg, rgba(4,16,31,.94), rgba(4,16,31,.72));
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  transition: background .3s, box-shadow .3s, transform .3s;
}
.site-header.scrolled {
  background: rgba(4,16,31,.96);
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
}
.header-inner { height: var(--header-height); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span { display: grid; gap: 1px; }
.brand strong { color: var(--gold-400); font-family: Georgia, serif; font-size: 1.05rem; letter-spacing: .02em; line-height: 1; }
.brand small { color: rgba(255,255,255,.67); font-size: .55rem; font-weight: 700; letter-spacing: .11em; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.desktop-nav a {
  position: relative;
  padding: 11px 12px;
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  font-weight: 650;
  transition: color .25s;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--white); }
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.header-cta { margin-left: 6px; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 27px; height: 2px; margin: 6px auto; background: var(--white); transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu {
  position: fixed;
  z-index: 999;
  top: var(--header-height);
  left: 0;
  right: 0;

  max-height: calc(100vh - var(--header-height));
  padding: 20px 22px 30px;

  background: rgba(4, 16, 31, 0.98);
  backdrop-filter: blur(18px);

  display: flex;
  flex-direction: column;
  gap: 4px;

  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a:not(.button) {
  display: block;
  padding: 15px 10px;

  color: var(--white);
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    color 0.25s ease,
    padding-left 0.25s ease,
    background 0.25s ease;
}

.mobile-menu a:not(.button):hover,
.mobile-menu a:not(.button):focus {
  color: var(--gold-400);
  padding-left: 17px;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-menu .button {
  width: 100%;
  margin-top: 16px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.button) { padding: 14px 8px; color: var(--white); font-family: Georgia, serif; font-size: 1.9rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu .button { margin-top: 18px; width: 100%; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-gold { color: #241701; background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); box-shadow: 0 12px 26px rgba(214,166,69,.22); }
.button-gold:hover { box-shadow: 0 18px 34px rgba(214,166,69,.34); }
.button-outline { color: var(--white); background: rgba(4,16,31,.26); border-color: rgba(255,255,255,.55); backdrop-filter: blur(7px); }
.button-outline:hover { color: var(--navy-950); background: var(--white); border-color: var(--white); }
.text-link { color: var(--navy-800); font-weight: 800; }
.text-link:hover { color: #a77722; }

/* Hero */
.hero {
  position: relative;
  min-height: max(760px, 100vh);
  display: grid;
  align-items: center;
  isolation: isolate;
  color: var(--white);
  overflow: hidden;
}
.hero-media, .hero-overlay, .hero-glow { position: absolute; inset: 0; }
.hero-media {
  z-index: -4;
  background: url("../assets/images/hero-consulting-team.webp") center/cover no-repeat;
  transform: scale(1.03);
  will-change: transform;
}
.hero-overlay {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(3,12,24,.98) 0%, rgba(3,12,24,.89) 34%, rgba(3,12,24,.30) 66%, rgba(3,12,24,.22) 100%),
    linear-gradient(0deg, rgba(3,12,24,.84) 0%, transparent 48%);
}
.hero-glow {
  z-index: -2;
  background: radial-gradient(circle at 25% 50%, rgba(214,166,69,.10), transparent 38%);
  animation: heroPulse 8s ease-in-out infinite alternate;
}
@keyframes heroPulse { to { opacity: .5; transform: scale(1.12); } }
.hero-content { position: relative; padding-top: calc(var(--header-height) + 70px); padding-bottom: 90px; }
.hero-copy { width: min(760px, 67%); }
.hero h1 { margin-bottom: 26px; color: var(--white); text-shadow: 0 8px 30px rgba(0,0,0,.22); }
.hero h1 span { color: var(--gold-400); }
.hero-lead { max-width: 650px; margin-bottom: 34px; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 1.65vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 720px; margin-top: 56px; }
.hero-benefits article { display: flex; gap: 12px; align-items: center; min-width: 0; padding-right: 18px; border-right: 1px solid rgba(255,255,255,.16); }
.hero-benefits article:last-child { border-right: 0; }
.hero-benefits img { width: 34px; height: 34px; flex: 0 0 auto; }
.hero-benefits div { display: grid; }
.hero-benefits strong { color: var(--white); font-size: .92rem; }
.hero-benefits span { color: rgba(255,255,255,.62); font-size: .76rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 25px; width: 32px; height: 52px; border: 1px solid rgba(255,255,255,.42); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 10px; width: 4px; height: 8px; background: var(--gold-400); border-radius: 4px; transform: translateX(-50%); animation: scrollCue 1.8s infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translate(-50%,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,18px); } }

.numbers { position: relative; z-index: 2; margin-top: -1px; color: var(--white); background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.08); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers article { position: relative; padding: 30px 26px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.numbers article:last-child { border-right: 0; }
.numbers strong { display: block; color: var(--gold-400); font-family: Georgia, serif; font-size: 2.5rem; line-height: 1; }
.numbers span { display: block; margin-top: 8px; color: rgba(255,255,255,.65); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }

/* Section headings */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 54px; }
.section-heading > div { max-width: 760px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 420px; margin-bottom: 4px; }
.section-heading.centered { display: block; max-width: 820px; margin-inline: auto; text-align: center; }
.section-heading.centered > p { max-width: 680px; margin: 18px auto 0; }

/* About */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(50px, 7vw, 100px); align-items: center; }
.about-image { position: relative; }
.about-image > img { width: 100%; min-height: 610px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-image::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border: 1px solid rgba(214,166,69,.55); border-radius: var(--radius-lg); }
.image-note { position: absolute; left: 24px; right: -28px; bottom: 28px; padding: 20px 24px; color: var(--white); background: rgba(4,16,31,.94); border-left: 4px solid var(--gold-500); border-radius: 10px; box-shadow: var(--shadow-md); }
.image-note strong, .image-note span { display: block; }
.image-note strong { margin-bottom: 3px; font-family: Georgia, serif; font-size: 1.25rem; }
.image-note span { color: rgba(255,255,255,.65); font-size: .85rem; }
.about-copy h2 { margin-bottom: 26px; }
.about-copy > p { font-size: 1.03rem; }
.feature-list { margin-top: 34px; display: grid; gap: 18px; }
.feature-list article { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding-top: 18px; border-top: 1px solid var(--border); }
.feature-number { color: var(--gold-500); font-weight: 900; font-size: .86rem; letter-spacing: .08em; }
.feature-list strong { display: block; margin-bottom: 4px; }
.feature-list p { margin: 0; font-size: .9rem; }

/* Services */
.services { color: var(--white); background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); }
.services .section-heading h2 { color: var(--white); }
.services .section-heading > p { color: rgba(255,255,255,.58); }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.service-card {
  position: relative;
  min-height: 270px;
  padding: 28px 22px 24px;
  color: var(--white);
  text-align: left;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
  transition: transform .35s var(--ease), background .35s, border-color .35s, box-shadow .35s;
}
.service-card::before { content: ""; position: absolute; inset: auto -30% -60% 0; height: 150px; background: radial-gradient(circle, rgba(214,166,69,.20), transparent 70%); opacity: 0; transition: opacity .35s; }
.service-card:hover, .service-card:focus-visible { z-index: 2; transform: translateY(-8px); background: rgba(255,255,255,.07); border-color: rgba(214,166,69,.65); box-shadow: 0 22px 50px rgba(0,0,0,.22); }
.service-card:hover::before { opacity: 1; }
.service-card img { width: 52px; height: 52px; margin-bottom: 28px; transition: transform .35s var(--ease); }
.service-card:hover img { transform: scale(1.08) rotate(-2deg); }
.service-card > span { position: absolute; top: 25px; right: 20px; color: rgba(255,255,255,.28); font-size: .74rem; font-weight: 800; }
.service-card h3 { min-height: 48px; margin-bottom: 12px; color: var(--white); font-size: 1.18rem; }
.service-card p { margin-bottom: 22px; color: rgba(255,255,255,.57); font-size: .84rem; }
.service-card b { color: var(--gold-400); font-size: .78rem; }

/* Method */
.method { background: var(--paper); }
.method-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding-top: 32px; }
.method-line { position: absolute; left: 12.5%; right: 12.5%; top: 59px; height: 2px; background: rgba(214,166,69,.24); overflow: hidden; }
.method-line span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.method-track.animated .method-line span { transform: scaleX(1); }
.method-step { position: relative; text-align: center; }
.method-step > span { position: relative; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 26px; color: var(--navy-950); background: var(--gold-400); border: 8px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 1px rgba(214,166,69,.38); font-weight: 900; }
.method-step h3 { margin-bottom: 10px; }
.method-step p { margin-bottom: 0; font-size: .9rem; }

/* Solutions */
.solutions { color: var(--white); background: var(--navy-900); overflow: hidden; }
.solutions-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(55px, 7vw, 100px); align-items: center; }
.solutions h2 { color: var(--white); margin-bottom: 24px; }
.solutions-copy > p { color: rgba(255,255,255,.64); }
.solution-tabs { display: flex; gap: 8px; margin: 34px 0 24px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.13); }
.solution-tab { padding: 10px 13px; color: rgba(255,255,255,.58); background: transparent; border: 0; border-radius: 8px; font-weight: 800; cursor: pointer; }
.solution-tab:hover, .solution-tab.active { color: var(--navy-950); background: var(--gold-400); }
.solution-panel { min-height: 245px; padding: 26px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius-md); }
.solution-panel h3 { color: var(--white); }
.solution-panel p, .solution-panel li { color: rgba(255,255,255,.65); }
.solution-panel ul { display: grid; gap: 10px; padding-left: 20px; }
.dashboard-demo { position: relative; padding: 28px; color: var(--ink); background: #f9f5ed; border: 8px solid rgba(255,255,255,.06); border-radius: 26px; box-shadow: var(--shadow-lg); }
.dashboard-demo::before { content: ""; position: absolute; inset: -60px -90px auto auto; width: 240px; height: 240px; background: radial-gradient(circle, rgba(214,166,69,.18), transparent 66%); pointer-events: none; }
.dashboard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.dashboard-top div { display: grid; }
.dashboard-top span { color: var(--muted); font-size: .75rem; }
.dashboard-top strong { font-family: Georgia, serif; font-size: 1.45rem; }
.demo-badge { padding: 6px 9px; color: #745017 !important; background: #f2e4c6; border-radius: 999px; font-weight: 800; }
.dashboard-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.dashboard-cards article { position: relative; min-height: 100px; padding: 15px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; }
.dashboard-cards span, .dashboard-cards strong { display: block; }
.dashboard-cards span { color: var(--muted); font-size: .7rem; }
.dashboard-cards strong { margin-top: 8px; font-size: .78rem; }
.trend { position: absolute; top: 14px; right: 14px; width: 25px; height: 25px; display: grid; place-items: center; color: var(--muted); background: var(--cream); border-radius: 50%; font-style: normal; font-size: .75rem; }
.trend.up { color: #2b7a57; background: #e1f2e8; }
.chart-wrap { margin-top: 14px; padding: 20px 18px 12px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; }
.chart-bars { height: 190px; display: flex; align-items: flex-end; gap: 8px; padding: 14px 8px 0; background: repeating-linear-gradient(to top, transparent 0 38px, rgba(7,20,38,.06) 39px 40px); }
.chart-bars span { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--gold-400), #b98022); border-radius: 6px 6px 1px 1px; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.dashboard-demo.animated .chart-bars span { transform: scaleY(1); }
.chart-labels { display: flex; justify-content: space-around; margin-top: 9px; color: var(--muted); font-size: .66rem; }
.dashboard-bottom { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; margin-top: 14px; padding: 14px 16px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; }
.donut { width: 86px; height: 86px; display: grid; place-items: center; margin: auto; background: conic-gradient(var(--gold-500) 0 42%, var(--navy-700) 42% 73%, #e5e7eb 73% 100%); border-radius: 50%; }
.donut::after { content: ""; grid-area: 1/1; width: 58px; height: 58px; background: var(--white); border-radius: 50%; }
.donut span { z-index: 1; grid-area: 1/1; font-size: .7rem; font-weight: 800; }
.dashboard-bottom ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: .72rem; }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; }
.dot.gold { background: var(--gold-500); }.dot.blue { background: var(--navy-700); }.dot.pale { background: #d7dce2; }

/* Identity */
.identity { background: linear-gradient(180deg, var(--cream), #efe8dc); }
.identity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.identity-card { min-height: 330px; padding: 38px; background: rgba(255,255,255,.76); border: 1px solid rgba(7,20,38,.09); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.identity-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.identity-card img { width: 56px; height: 56px; margin-bottom: 48px; }
.identity-card .eyebrow { margin-bottom: 12px; color: #a77722; }
.identity-card h3 { margin-bottom: 15px; font-size: 1.7rem; }
.identity-card p:last-child { margin-bottom: 0; }

/* Outcomes */
.outcomes { background: var(--paper); }
.outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.outcome-card { min-height: 300px; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); }
.outcome-card img { width: 48px; height: 48px; margin-bottom: 28px; }
.outcome-card h3 { margin-bottom: 12px; }
.outcome-card p { min-height: 92px; font-size: .9rem; }
.mini-progress { height: 6px; margin-top: 26px; background: #e9e4dc; border-radius: 20px; overflow: hidden; }
.mini-progress span { display: block; width: var(--value); height: 100%; background: linear-gradient(90deg, var(--navy-700), var(--gold-500)); border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.outcome-card.animated .mini-progress span { transform: scaleX(1); }
.illustrative-note { margin: 20px 0 0; font-size: .78rem; font-style: italic; text-align: right; }

/* FAQ */
.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 120px); }
.faq-intro { position: sticky; top: calc(var(--header-height) + 40px); align-self: start; }
.faq-intro h2 { margin-bottom: 18px; }
.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 24px 0; background: transparent; border: 0; text-align: left; cursor: pointer; font-weight: 800; }
.accordion-item button span { max-width: 90%; }
.accordion-item button i { position: relative; width: 24px; height: 24px; flex: 0 0 auto; }
.accordion-item button i::before, .accordion-item button i::after { content: ""; position: absolute; left: 3px; top: 11px; width: 18px; height: 2px; background: var(--gold-500); transition: transform .25s; }
.accordion-item button i::after { transform: rotate(90deg); }
.accordion-item.open button i::after { transform: rotate(0); }
.accordion-content { padding: 0 46px 24px 0; }
.accordion-content p { margin: 0; }

/* Contact */
.contact { position: relative; isolation: isolate; padding: 110px 0; color: var(--white); background: var(--navy-950); overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: -2; background: url("../assets/images/cta-banner-background.webp") center/cover no-repeat; opacity: .30; transform: scale(1.03); }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,16,31,.98) 0%, rgba(4,16,31,.90) 52%, rgba(4,16,31,.76) 100%); }
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.contact h2 { color: var(--white); margin-bottom: 24px; }
.contact-copy > p { color: rgba(255,255,255,.68); }
.contact-points { display: grid; gap: 12px; margin-top: 32px; }
.contact-points span { color: rgba(255,255,255,.66); font-size: .9rem; }
.contact-points strong { display: inline-block; min-width: 100px; color: var(--gold-400); }
.contact-form { padding: 34px; color: var(--ink); background: rgba(255,255,255,.97); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 16px; font-size: .78rem; font-weight: 800; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 13px 14px; color: var(--ink); background: var(--paper); border: 1px solid rgba(7,20,38,.18); border-radius: 9px; outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(214,166,69,.14); }
.contact-form .invalid { border-color: #b42318; box-shadow: 0 0 0 4px rgba(180,35,24,.09); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 4px; }
.form-footer p { max-width: 340px; margin: 0; font-size: .72rem; }

/* Footer */
.site-footer { color: var(--white); background: #020b16; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .85fr 1fr; gap: 50px; padding: 70px 0 52px; }
.footer-brand img { width: 180px; height: auto; max-height: 210px; object-fit: contain; object-position: left center; margin-bottom: 20px; }
.footer-brand p { max-width: 390px; color: rgba(255,255,255,.50); font-size: .86rem; }
.footer-grid h3 { margin-bottom: 22px; color: var(--gold-400); font-family: inherit; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a, .footer-grid span { margin-bottom: 10px; color: rgba(255,255,255,.62); font-size: .84rem; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 28px; color: rgba(255,255,255,.40); border-top: 1px solid rgba(255,255,255,.08); font-size: .76rem; }
.footer-bottom a:hover { color: var(--gold-400); }

/* Dialog */
.service-dialog { width: min(560px, calc(100% - 32px)); padding: 38px; color: var(--ink); background: var(--paper); border: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.service-dialog::backdrop { background: rgba(2,9,18,.78); backdrop-filter: blur(6px); }
.service-dialog h2 { margin-bottom: 18px; font-size: clamp(2rem, 5vw, 3.2rem); }
.service-dialog h3 { margin: 28px 0 12px; font-family: inherit; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.service-dialog ul { display: grid; gap: 8px; margin-bottom: 30px; padding-left: 20px; color: var(--muted); }
.dialog-close { position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #eee8dd; cursor: pointer; font-size: 1.7rem; line-height: 1; }

.toast { position: fixed; z-index: 1200; right: 24px; bottom: 24px; max-width: min(420px, calc(100% - 48px)); padding: 15px 18px; color: var(--white); background: var(--navy-900); border-left: 4px solid var(--gold-500); border-radius: 9px; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s; }
.toast.show { opacity: 1; transform: translateY(0); }
.back-to-top { position: fixed; z-index: 800; right: 22px; bottom: 22px; width: 48px; height: 48px; color: var(--navy-950); background: var(--gold-400); border: 0; border-radius: 50%; box-shadow: var(--shadow-md); cursor: pointer; opacity: 0; transform: translateY(15px); pointer-events: none; transition: opacity .3s, transform .3s; }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 3px solid rgba(214,166,69,.58); outline-offset: 3px; }

@media (max-width: 1120px) {
  .desktop-nav { gap: 0; }
  .desktop-nav a { padding-inline: 8px; }
  .header-cta { display: none; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-height: 74px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: 850px; align-items: end; }
  .hero-media { background-position: 63% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(3,12,24,.99) 0%, rgba(3,12,24,.91) 45%, rgba(3,12,24,.35) 100%); }
  .hero-content { padding-bottom: 90px; }
  .hero-copy { width: 100%; }
  .hero-lead { max-width: 660px; }
  .hero-benefits { max-width: 100%; }
  .about-grid, .solutions-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .about-image > img { min-height: 520px; }
  .image-note { right: 24px; }
  .section-heading { align-items: start; flex-direction: column; gap: 16px; }
  .section-heading > p { max-width: 680px; }
  .method-track { grid-template-columns: repeat(2, 1fr); gap: 50px 32px; }
  .method-line { display: none; }
  .identity-grid { grid-template-columns: 1fr; }
  .identity-card { min-height: 0; }
  .identity-card img { margin-bottom: 28px; }
  .faq-intro { position: static; }
  .contact-grid { gap: 44px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 82px 0; }
  h1 { font-size: clamp(2.85rem, 13vw, 4.6rem); }
  h2 { font-size: clamp(2.15rem, 10vw, 3.4rem); }
  .brand strong { font-size: .96rem; }
  .brand small { font-size: .48rem; }
  .hero { min-height: 900px; }
  .hero-content { padding-top: 120px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-benefits { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .hero-benefits article { padding: 14px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .hero-benefits article:last-child { border-bottom: 0; }
  .numbers-grid { grid-template-columns: repeat(2,1fr); }
  .numbers article:nth-child(2) { border-right: 0; }
  .numbers article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .about-image > img { min-height: 410px; }
  .about-image::before { inset: 14px -10px -10px 14px; }
  .image-note { position: relative; left: auto; right: auto; bottom: auto; margin: -55px 14px 0; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .service-card { min-height: 250px; padding: 23px 18px; }
  .service-card img { width: 46px; height: 46px; }
  .method-track { grid-template-columns: 1fr; }
  .method-step { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 18px; text-align: left; }
  .method-step > span { grid-row: 1/3; margin: 0; }
  .method-step h3 { margin: 3px 0 6px; }
  .method-step p { grid-column: 2; }
  .solution-tabs { overflow-x: auto; }
  .dashboard-cards { grid-template-columns: 1fr; }
  .chart-bars { height: 150px; }
  .dashboard-bottom { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcome-card p { min-height: auto; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .service-dialog { padding: 32px 24px 26px; }
}

@media (max-width: 480px) {
  .brand img { width: 39px; height: 39px; }
  .brand strong { font-size: .84rem; }
  .hero-actions { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 220px; }
  .contact-form { padding: 25px 20px; }
  .contact-points strong { display: block; min-width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

