/* ============================================================
   ATIVOS LEÃO — Design System
   Stack: HTML/CSS/JS estático · deploy cPanel/HostGator
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand: #D4122A;
  --brand-dark: #A50E20;
  --brand-bright: #F0334A;
  --brand-tint: #FBE9EC;

  /* Neutrals */
  --ink: #0E1116;
  --ink-2: #161B22;
  --ink-3: #222933;
  --graphite: #3A424E;
  --muted: #687284;
  --muted-2: #97A0AE;
  --line: #E8EAEF;
  --line-2: #F0F2F5;
  --paper: #FFFFFF;
  --paper-2: #F7F8FA;
  --paper-3: #F3F5F8;

  /* Accent (premium, used sparingly) */
  --gold: #C9A227;

  /* Effects */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(14,17,22,.06), 0 2px 6px rgba(14,17,22,.05);
  --shadow: 0 10px 30px -12px rgba(14,17,22,.18), 0 4px 12px -6px rgba(14,17,22,.10);
  --shadow-lg: 0 30px 60px -24px rgba(14,17,22,.30), 0 12px 28px -16px rgba(14,17,22,.18);
  --shadow-red: 0 18px 40px -16px rgba(212,18,42,.45);
  --ring: 0 0 0 4px rgba(212,18,42,.16);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 80px;
  --section-y: clamp(64px, 9vw, 120px);

  /* Type */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(2.6rem, 1.4rem + 4.4vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.6vw, 3rem);
  --fs-h3: clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
  --fs-lead: clamp(1.05rem, 1rem + .4vw, 1.25rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: var(--header-h);
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; color: var(--ink); }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { color: var(--graphite); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: #B9C0CC; }
.section--alt { background: var(--paper-2); }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }

/* ---------- Eyebrow + section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.eyebrow--center::after { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.section--ink .eyebrow { color: var(--brand-bright); }

.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin-top: 18px; font-size: var(--fs-lead); color: var(--muted); }
.section--ink .section-head p { color: #AEB6C2; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 15px 26px; border-radius: var(--radius-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 22px 46px -16px rgba(212,18,42,.55); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline-light { border: 1.5px solid rgba(255,255,255,.28); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn--link { padding: 0; background: none; color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--brand); border-radius: 0; padding-bottom: 4px; }
.btn--link:hover { color: var(--brand); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 1000;
  display: flex; align-items: center;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(14,17,22,.4); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .lion { width: 42px; height: 42px; color: var(--brand); flex: none; transition: transform .4s var(--ease); }
.brand:hover .lion { transform: rotate(-6deg) scale(1.05); }
.brand__wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: .02em; line-height: 1; }
.brand__wordmark span { color: var(--brand); font-weight: 700; }
.brand__sub { display: block; font-family: var(--font-body); font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 4px; }
.brand__logo { height: 40px; width: auto; display: block; }
.site-header.is-scrolled .brand__logo { height: 36px; transition: height .3s var(--ease); }
.footer-brand .brand__logo { height: 44px; margin-bottom: 4px; }
@media (max-width: 600px) { .brand__logo { height: 34px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > .btn { display: none; } /* CTA dentro do nav só aparece no menu mobile */
.nav a {
  font-size: .94rem; font-weight: 500; color: var(--graphite); padding: 10px 14px; border-radius: var(--radius-sm);
  position: relative; transition: color .2s var(--ease); white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: 0; overflow: clip; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__glow { position: absolute; top: -10%; right: -8%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at center, rgba(212,18,42,.16), rgba(212,18,42,0) 62%); filter: blur(8px); }
.hero__grid-lines { position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); opacity: .7; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; min-height: calc(82vh - var(--header-h)); }
.hero__copy { max-width: 600px; }
.hero h1 { margin-top: 22px; }
.hero h1 .accent { color: var(--brand); display: inline-block; position: relative; }
.hero__lead { margin-top: 24px; font-size: var(--fs-lead); color: var(--muted); max-width: 520px; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__trust { margin-top: 40px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__trust-item { display: flex; flex-direction: column; }
.hero__trust-item strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.hero__trust-item span { font-size: .82rem; color: var(--muted); }
.hero__trust-sep { width: 1px; height: 36px; background: var(--line); }

/* Hero visual (SVG card) */
.hero__visual { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.hero-card {
  position: relative; width: 100%; max-width: 520px; aspect-ratio: 5 / 5.4;
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(165deg, #15191F 0%, #20262F 60%, #2B1418 100%);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.06);
}
.hero-card__lion { position: absolute; right: -8%; top: 50%; transform: translateY(-50%); width: 78%; color: rgba(212,18,42,.18); }
.hero-card__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-card--photo { background: #0E1116; }
.hero-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-card--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,17,22,0) 50%, rgba(14,17,22,.5)); pointer-events: none; }
.hero-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow); animation: floaty 5s ease-in-out infinite;
}
.hero-chip__icon { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.hero-chip__icon svg { width: 20px; height: 20px; }
.hero-chip strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); display: block; line-height: 1.1; }
.hero-chip small { font-size: .72rem; color: var(--muted); }
.hero-chip--a { top: 7%; left: -6%; animation-delay: 0s; }
.hero-chip--b { top: 40%; right: -5%; animation-delay: 1.4s; }
.hero-chip--c { bottom: 11%; left: -7%; animation-delay: .7s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Services band ---------- */
.services-band { background: var(--brand); color: #fff; position: relative; z-index: 2; }
.services-band__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.16); }
.service-cell { padding: clamp(28px, 3vw, 40px) clamp(22px, 2.4vw, 34px); position: relative; background: var(--brand); transition: background .3s var(--ease); }
.service-cell:hover { background: var(--brand-dark); }
.service-cell__icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.4); border-radius: 12px; margin-bottom: 18px; }
.service-cell__icon svg { width: 24px; height: 24px; }
.service-cell h3 { color: #fff; font-size: 1.05rem; letter-spacing: .01em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.service-cell p { color: rgba(255,255,255,.86); font-size: .92rem; line-height: 1.55; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: clamp(8px, 2vw, 20px) clamp(16px, 2.4vw, 36px); text-align: left; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.stat__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.stat__icon svg { width: 22px; height: 22px; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.7rem); color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stat__label { margin-top: 8px; color: var(--muted); font-size: .92rem; }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split__media { position: relative; }
.about-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.4;
  background: linear-gradient(160deg, #1A1F27, #2A1216); box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.about-figure .lion { width: 56%; color: rgba(212,18,42,.4); }
.about-figure__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; }
.about-badge { position: absolute; bottom: 22px; left: 22px; right: 22px; background: rgba(255,255,255,.97); border-radius: 16px; padding: 18px 22px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow); }
.about-badge strong { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1; }
.about-badge span { font-size: .9rem; color: var(--graphite); }

/* check list (diferenciais) */
.checklist { display: grid; gap: 22px; margin-top: 32px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; }
.check { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-top: 2px; }
.check svg { width: 16px; height: 16px; }
.checklist h4 { font-family: var(--font-display); font-size: 1.06rem; margin-bottom: 3px; }
.checklist p { font-size: .94rem; color: var(--muted); margin: 0; }

/* ---------- Solution cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2vw, 26px); }
.sol-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 2.6vw, 38px);
  position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.sol-card::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 4px; background: var(--brand); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.sol-card:hover::before { transform: scaleY(1); }
.sol-card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 22px; transition: background .35s var(--ease); }
.sol-card:hover .sol-card__icon { background: var(--brand); }
.sol-card__icon svg { width: 26px; height: 26px; }
.sol-card h3 { margin-bottom: 12px; }
.sol-card p { font-size: .96rem; color: var(--muted); }
.sol-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--brand); }
.sol-card__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.sol-card:hover .sol-card__link svg { transform: translateX(4px); }
.sol-card__num { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--line); line-height: 1; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 30px); counter-reset: step; }
.step { position: relative; padding-top: 28px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--brand); letter-spacing: .1em; }
.step__bar { height: 3px; background: var(--line); border-radius: 3px; margin: 16px 0 22px; overflow: hidden; position: relative; }
.step__bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--brand); border-radius: 3px; }
.section--ink .step__bar { background: rgba(255,255,255,.12); }
.step h3 { font-size: 1.16rem; margin-bottom: 10px; }
.step p { font-size: .94rem; }

/* ---------- Cases / testimonials ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
.case-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-card__top { padding: 26px 26px 0; }
.case-tag { display: inline-block; font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); background: var(--brand-tint); padding: 6px 12px; border-radius: var(--radius-pill); }
.case-card__result { padding: 18px 26px; }
.case-card__result strong { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.case-card__body { padding: 0 26px 26px; }
.case-card__body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.case-card__body p { font-size: .92rem; color: var(--muted); }
.case-card__foot { margin-top: auto; padding: 18px 26px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); display: flex; justify-content: space-between; }

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 2.4vw, 34px); display: flex; flex-direction: column; }
.section--ink .quote { background: var(--ink-2); border-color: var(--ink-3); }
.quote__stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 18px; }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote { font-size: 1.02rem; color: var(--graphite); line-height: 1.6; flex: 1; }
.section--ink .quote blockquote { color: #D6DBE3; }
.quote__author { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(140deg, var(--brand), var(--brand-dark)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex: none; }
.quote__author cite { font-style: normal; font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--ink); display: block; }
.section--ink .quote__author cite { color: #fff; }
.quote__author span { font-size: .82rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); }
.cta-band__lion { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); width: 320px; color: rgba(255,255,255,.10); }
.cta-band__inner { position: relative; max-width: 640px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: 16px; font-size: var(--fs-lead); }
.cta-band__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: #fff; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.page-hero__lion { position: absolute; right: -3%; top: 50%; transform: translateY(-50%); width: 360px; filter: brightness(0) invert(1); }
.page-hero__glow { position: absolute; right: 0; top: 0; width: 50%; height: 100%; background: radial-gradient(circle at 80% 30%, rgba(212,18,42,.28), transparent 60%); }
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: var(--brand-bright); }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: #B9C0CC; margin-top: 20px; font-size: var(--fs-lead); max-width: 600px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted-2); margin-bottom: 26px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--brand-bright); }

/* ---------- Value / feature small grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 32px); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 10px; }
.feature p { font-size: .94rem; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 8px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 30px 56px; }
.tl-item::before { content: ""; position: absolute; left: 12px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand-tint); }
.tl-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.tl-item .tl-year { font-family: var(--font-display); font-weight: 700; color: var(--brand); font-size: .9rem; }
.tl-item p { font-size: .94rem; color: var(--muted); margin-top: 4px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.team-card { text-align: center; }
.team-card__photo { aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(150deg, var(--paper-3), var(--line)); display: grid; place-items: center; margin-bottom: 16px; position: relative; overflow: hidden; }
.team-card__photo .ph-initials { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--brand); opacity: .55; }
.team-card h3 { font-size: 1.06rem; margin-bottom: 2px; }
.team-card span { font-size: .86rem; color: var(--brand); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--paper); transition: border-color .25s var(--ease); }
.faq__item.is-open { border-color: var(--brand); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.faq__q .faq__plus { flex: none; width: 26px; height: 26px; position: relative; }
.faq__q .faq__plus::before, .faq__q .faq__plus::after { content: ""; position: absolute; background: var(--brand); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__q .faq__plus::before { left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%); }
.faq__q .faq__plus::after { top: 50%; left: 4px; right: 4px; height: 2px; transform: translateY(-50%); }
.faq__item.is-open .faq__plus::before { transform: translateX(-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a-inner { padding: 0 24px 22px; color: var(--muted); font-size: .96rem; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__cover { aspect-ratio: 16/9; background: linear-gradient(150deg, var(--ink-2), var(--brand-dark)); position: relative; overflow: hidden; display: grid; place-items: center; }
.post-card__cover .lion { width: 38%; color: rgba(255,255,255,.12); }
.post-card__cat { position: absolute; top: 16px; left: 16px; font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 6px 12px; border-radius: var(--radius-pill); }
.post-card__body { padding: 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .8rem; color: var(--muted); display: flex; gap: 12px; margin-bottom: 12px; }
.post-card__body h3 { font-size: 1.16rem; margin-bottom: 10px; line-height: 1.25; }
.post-card__body p { font-size: .92rem; color: var(--muted); flex: 1; }
.post-card__more { margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; }
.post-card__more svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.post-card:hover .post-card__more svg, .featured-post:hover .post-card__more svg { transform: translateX(4px); }

.featured-post { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 48px); align-items: center; background: var(--ink); color: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.featured-post__media { aspect-ratio: 16/11; background: linear-gradient(150deg, var(--ink-2), var(--brand-dark)); display: grid; place-items: center; height: 100%; }
.featured-post__media .lion { width: 40%; color: rgba(255,255,255,.14); }
.featured-post__content { padding: clamp(28px, 3.4vw, 48px); min-width: 0; }
.featured-post__content h2 { color: #fff; margin: 14px 0 16px; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.16; overflow-wrap: break-word; }
.featured-post__content p { color: #B9C0CC; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.contact-channels { display: grid; gap: 16px; }
.channel { display: flex; align-items: center; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.channel:hover { border-color: var(--brand); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.channel__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.channel__icon svg { width: 24px; height: 24px; }
.channel--wa .channel__icon { background: #25D366; color: #fff; }
.channel--mail .channel__icon { background: var(--brand-tint); color: var(--brand); }
.channel--phone .channel__icon { background: var(--ink); color: #fff; }
.channel--map .channel__icon { background: var(--paper-3); color: var(--ink); }
.channel small { font-size: .8rem; color: var(--muted); display: block; }
.channel strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 40px); box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink);
  background: var(--paper-2); transition: border-color .2s var(--ease), background .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: #fff; outline: none; box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: .8rem; color: var(--muted); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C2C9D4; padding-top: clamp(56px, 7vw, 88px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 48px; border-bottom: 1px solid var(--ink-3); }
.footer-brand .brand .lion { color: var(--brand); }
.footer-brand .brand__wordmark { color: #fff; }
.footer-brand .brand__sub { color: var(--muted-2); }
.footer-brand p { margin-top: 18px; font-size: .92rem; color: var(--muted-2); max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a, .footer-social span { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--ink-3); display: grid; place-items: center; color: #C2C9D4; transition: .25s var(--ease); }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: .92rem; color: var(--muted-2); transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-contact li { font-size: .92rem; color: var(--muted-2); margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--brand-bright); flex: none; margin-top: 3px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; font-size: .84rem; color: var(--muted-2); flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ---------- WhatsApp float + back to top ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; align-items: center; gap: 12px;
  background: #25D366; color: #fff; padding: 14px 20px 14px 16px; border-radius: var(--radius-pill);
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.6); font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 44px -12px rgba(37,211,102,.7); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float__pulse { position: relative; }
.wa-float__pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(37,211,102,.5); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float__label { white-space: nowrap; }

.to-top { position: fixed; right: 24px; bottom: 92px; z-index: 880; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .3s var(--ease); }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* candlestick animation */
.candle { transform-origin: bottom; animation: grow-candle 1.1s var(--ease) both; }
@keyframes grow-candle { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.trend-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2s var(--ease) .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .center { text-align: center; }
.lead { font-size: var(--fs-lead); color: var(--muted); }
.divider { height: 1px; background: var(--line); border: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { font-family: var(--font-display); font-size: .82rem; font-weight: 600; padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); color: var(--graphite); transition: .25s var(--ease); }
.pill.is-active, .pill:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; min-height: auto; padding-bottom: 20px; }
  .hero__visual { min-height: 380px; order: 2; }
  .services-band__inner { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 8px 0; }
  .stat:nth-child(odd)::before { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px var(--gutter) 28px; box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  body.menu-open .nav { display: flex; transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 16px 8px; border-bottom: 1px solid var(--line-2); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .nav .btn { display: inline-flex; margin-top: 16px; }
  .split { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .case-grid, .quote-grid, .feature-grid, .post-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .wa-float__label { display: none; }
  .wa-float { padding: 16px; }
}
@media (max-width: 560px) {
  .services-band__inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat::before { display: none !important; }
  .stat + .stat { border-top: 1px solid var(--line); padding-top: 24px; }
  .steps, .team-grid, .footer-top { grid-template-columns: 1fr; }
  .hero__trust-sep { display: none; }
}

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