/* ==========================================================
   AIKOS Assessoria — Landing page
   Paleta extraída da marca: carvão + branco + gradiente de chama
   ========================================================== */

:root {
  /* Base */
  --ink: #0e0e0f;
  --ink-2: #151516;
  --ink-3: #1d1d1f;
  --paper: #f4f1ec;
  --paper-2: #ebe6df;
  --white: #ffffff;

  /* Texto */
  --on-ink: #f5f3f0;
  --on-ink-muted: #a29e98;
  --on-paper: #121212;
  --on-paper-muted: #5b5751;

  /* Marca (chama do símbolo) */
  --flame-deep: #b3261e;
  --flame: #e8502a;
  --flame-light: #f06f3c;
  --amber: #f09b1e;
  --btn: #d4421e;          /* contraste AA com texto branco */
  --btn-hover: #bf3717;
  --accent-on-paper: #b83a1a;
  --flame-gradient: linear-gradient(115deg, var(--flame-deep) 0%, var(--flame) 45%, var(--amber) 100%);

  /* Linhas */
  --line-ink: rgba(255, 255, 255, 0.1);
  --line-paper: rgba(18, 18, 18, 0.12);

  /* Tipografia */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(88px, 11vw, 160px);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--on-paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--flame-light); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--white); color: var(--ink);
  border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Tipografia compartilhada ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--on-ink-muted);
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.4em 0.7em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--flame-gradient); }
.eyebrow i { font-style: normal; color: var(--flame-light); }

.accent-text {
  background: var(--flame-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 700; font-stretch: 106%;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.04; letter-spacing: -0.03em;
  text-wrap: balance;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--on-paper-muted); max-width: 34em; text-wrap: pretty; }
.section-dark .lead { color: var(--on-ink-muted); }

.section-tag {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-stretch: 112%;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--on-paper-muted);
  margin-bottom: 22px;
}
.section-tag span { color: var(--accent-on-paper); }
.section-dark .section-tag { color: var(--on-ink-muted); }
.section-dark .section-tag span { color: var(--flame-light); }

/* ---------- Botões ---------- */
.btn {
  --pad-y: 14px; --pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; line-height: 1.2;
  letter-spacing: -0.005em; text-align: center;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover > .ico:last-child:not(:first-child) { transform: translateX(4px); }
.btn:active { transform: scale(.98); }

.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 10px 30px -12px rgba(232, 80, 42, .65); }
.btn-primary:hover { background: var(--btn-hover); box-shadow: 0 14px 34px -12px rgba(232, 80, 42, .8); }

.btn-ghost { color: var(--on-ink); border: 1px solid rgba(255, 255, 255, .22); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .04); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }

.btn-sm { min-height: 42px; --pad-y: 10px; --pad-x: 18px; font-size: .9rem; }
.btn-lg { min-height: 54px; --pad-x: 28px; }
.btn-xl { min-height: 62px; --pad-x: 36px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: transform .45s var(--ease), background-color .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(14, 14, 15, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-ink);
}
.site-header.is-solid { background: rgba(14, 14, 15, .92); border-bottom-color: var(--line-ink); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }

.brand { display: inline-flex; align-items: center; flex: none; color: var(--on-ink); }
.brand-logo { height: 32px; width: auto; }
.logo-slot { display: none; }
.brand.is-missing .brand-logo { display: none; }
.brand.is-missing .logo-slot {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px;
  border: 1px dashed rgba(255, 255, 255, .35); border-radius: 8px;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted);
}

.nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; }
.nav-list a {
  position: relative; display: block; padding: 10px 14px;
  font-size: .93rem; font-weight: 500; color: var(--on-ink-muted);
  transition: color .25s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--flame-gradient); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--on-ink); }
.nav-list a.is-active::after { transform: scaleX(1); }

.menu-toggle { display: none; width: 46px; height: 46px; margin-left: auto; position: relative; border-radius: 10px; }
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--on-ink); border-radius: 2px;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: var(--ink); padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; overflow-y: auto;
  animation: menuIn .4s var(--ease);
}
.mobile-menu ul { margin-bottom: 32px; }
.mobile-menu li { border-bottom: 1px solid var(--line-ink); }
.mobile-menu li a {
  display: block; padding: 18px 0;
  font-family: var(--font-display); font-weight: 600; font-stretch: 106%;
  font-size: 1.6rem; letter-spacing: -0.02em; color: var(--on-ink);
}
.mobile-menu-note { margin-top: 18px; text-align: center; font-size: .85rem; color: var(--on-ink-muted); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Seções ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section-dark { background: var(--ink); color: var(--on-ink); }
.section-light { background: var(--paper); color: var(--on-paper); }

.split-head {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 6vw, 96px);
  align-items: end; margin-bottom: clamp(56px, 7vw, 96px);
}
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .lead { margin-top: 22px; }

/* ---------- Motivo gráfico: traços diagonais (inspirados no símbolo) ---------- */
.slashes { position: absolute; display: flex; gap: 14px; pointer-events: none; }
.slashes span { width: 10px; height: 140px; border-radius: 6px; background: var(--flame-gradient); transform: skewX(-24deg); }
.slashes span:nth-child(2) { height: 110px; margin-top: 18px; opacity: .7; }
.slashes span:nth-child(3) { height: 80px; margin-top: 36px; opacity: .4; }

/* ========== 01 · HERO ========== */
.hero { position: relative; min-height: min(100svh, 940px); padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 0; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero-glow {
  position: absolute; width: 900px; height: 900px; right: -260px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 80, 42, .22) 0%, rgba(179, 38, 30, .08) 40%, transparent 68%);
}

.hero-inner { flex: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-bottom: clamp(48px, 6vw, 80px); }
.hero-copy { max-width: 700px; min-width: 0; }
.hero-visual { min-width: 0; }
.hero-title {
  margin-top: 26px;
  font-family: var(--font-display); font-weight: 700; font-stretch: 108%;
  font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1; letter-spacing: -0.04em;
  color: var(--on-ink);
}
.hero-title .accent-text { display: block; padding-bottom: .06em; }
.hero-sub { margin-top: 28px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--on-ink-muted); max-width: 32em; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 34px; display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--on-ink-muted); }
.hero-meta .ico { color: var(--flame-light); }

/* Composição visual */
.hero-visual { position: relative; height: clamp(440px, 46vw, 600px); }
.hero-visual .slashes { left: 2%; top: 4%; z-index: 0; opacity: .8; }
.piece {
  position: absolute; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid var(--line-ink);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset;
  overflow: hidden;
}

.piece-browser { top: 0; right: 0; width: 82%; aspect-ratio: 16 / 10.5; animation: float 9s ease-in-out infinite; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line-ink); background: var(--ink-3); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.browser-bar span { margin-left: 14px; flex: 1; max-width: 220px; height: 20px; border-radius: 6px; background: rgba(255,255,255,.06); font-size: .68rem; line-height: 20px; padding: 0 10px; color: var(--on-ink-muted); }
.browser-body { padding: 18px 22px; display: flex; flex-direction: column; gap: 18px; height: calc(100% - 34px); background: linear-gradient(160deg, #18181a, #111112); }
.bw-nav { display: flex; align-items: center; gap: 10px; }
.bw-nav b { width: 46px; height: 10px; border-radius: 3px; background: rgba(255,255,255,.75); margin-right: auto; }
.bw-nav span { width: 30px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); }
.bw-hero { max-width: 72%; }
.bw-kicker { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--flame-light); font-weight: 600; }
.bw-title { margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 1.7vw, 1.45rem); line-height: 1.08; letter-spacing: -0.03em; color: var(--on-ink); }
.bw-btn { display: inline-block; margin-top: 14px; padding: 7px 14px; border-radius: 999px; background: var(--btn); color: #fff; font-size: .66rem; font-weight: 700; }
.bw-cols { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bw-cols span { height: 54px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line-ink); }

.piece-phone {
  left: 6%; bottom: 0; width: 38%; max-width: 230px; aspect-ratio: 9 / 18.5;
  border-radius: 30px; padding: 12px; background: #0a0a0b; border-color: rgba(255,255,255,.14);
  animation: float 10s ease-in-out -3s infinite; z-index: 2;
}
.phone-notch { width: 34%; height: 14px; margin: 0 auto 10px; border-radius: 10px; background: #000; }
.phone-head { display: flex; align-items: center; gap: 8px; padding: 0 4px 10px; }
.ph-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--flame-gradient); }
.ph-name { font-size: .66rem; font-weight: 700; color: var(--on-ink); }
.phone-post { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; background: #19191b; overflow: hidden; display: flex; align-items: flex-end; padding: 14px; }
.pp-slash { position: absolute; top: -10%; right: 16%; width: 18%; height: 70%; border-radius: 12px; background: var(--flame-gradient); transform: skewX(-24deg); opacity: .95; }
.phone-post p { position: relative; font-family: var(--font-display); font-weight: 700; font-size: clamp(.95rem, 1.4vw, 1.2rem); line-height: 1; letter-spacing: -0.03em; color: #fff; }
.phone-post em { font-style: normal; color: var(--flame-light); }
.phone-actions { display: flex; gap: 8px; padding: 12px 4px 8px; }
.phone-actions span { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid rgba(255,255,255,.4); }
.phone-lines span { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); margin: 6px 4px 0; }
.phone-lines span:last-child { width: 60%; }

.piece-ad {
  right: 4%; bottom: 6%; width: 50%; max-width: 300px; padding: 18px 20px;
  background: rgba(244, 241, 236, .97); color: var(--on-paper); border-color: transparent;
  animation: float 11s ease-in-out -6s infinite; z-index: 3;
}
.ad-label { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-paper-muted); }
.ad-title { margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.15; letter-spacing: -0.02em; }
.ad-foot { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ad-chip { font-size: .62rem; font-weight: 600; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line-paper); color: var(--on-paper-muted); }
.ad-cta { margin-left: auto; font-size: .66rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-strip { border-top: 1px solid var(--line-ink); }
.hero-strip ul { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; padding: 26px 0; }
.hero-strip li {
  font-family: var(--font-display); font-stretch: 110%; font-weight: 600;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-muted);
  display: flex; align-items: center; gap: 12px;
}
.hero-strip li::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--flame); transform: skewX(-24deg); }

/* ========== 02 · POSICIONAMENTO ========== */
.positioning { padding-bottom: clamp(56px, 7vw, 96px); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-paper); }
.pillar { position: relative; padding: 40px clamp(20px, 3vw, 44px) 8px 0; }
.pillar + .pillar { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line-paper); }
.pillar::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--flame-gradient);
}
.pillar + .pillar::before { left: clamp(20px, 3vw, 44px); }
.pillar-num { font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--accent-on-paper); letter-spacing: .08em; }
.pillar h3 { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-stretch: 106%; font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -0.03em; line-height: 1.1; }
.pillar p { margin-top: 14px; color: var(--on-paper-muted); max-width: 26em; }

/* ========== 03 · SOLUÇÕES ========== */
.solutions { padding-top: clamp(56px, 7vw, 96px); }
.solutions::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); max-width: var(--container); margin: 0 auto; height: 1px; background: var(--line-paper); }

.services {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-radius: var(--radius); overflow: hidden;
  background: var(--line-paper); gap: 1px; border: 1px solid var(--line-paper);
}
.service {
  position: relative; background: var(--paper); padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; min-height: 300px;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.service::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--flame-gradient); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.service-ico { width: 40px; height: 40px; color: var(--accent-on-paper); transition: color .45s, transform .45s var(--ease); }
.service h3 { margin-top: 28px; font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; line-height: 1.2; letter-spacing: -0.02em; }
.service p { margin-top: 12px; font-size: 1rem; color: var(--on-paper-muted); transition: color .45s; }
.service-tags { margin-top: auto; padding-top: 24px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--on-paper-muted); opacity: .85; transition: color .45s; }

@media (hover: hover) {
  .service:hover { background: var(--ink); color: var(--on-ink); }
  .service:hover::after { transform: scaleX(1); }
  .service:hover .service-ico { color: var(--flame-light); transform: translateY(-3px); }
  .service:hover p, .service:hover .service-tags { color: var(--on-ink-muted); }
}

.solutions-cta {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  border-radius: var(--radius); background: var(--paper-2);
}
.sc-title { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.sc-text { margin-top: 6px; color: var(--on-paper-muted); max-width: 40em; }

/* ========== 04 · RESULTADOS ========== */
.cases { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: clamp(16px, 2vw, 24px); }
.case {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-ink);
  transition: border-color .4s, transform .5s var(--ease);
}
.case-feature { grid-row: span 2; }
.case:hover { border-color: rgba(255,255,255,.22); }
.case-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.case-feature .case-media { aspect-ratio: auto; flex: 1; min-height: 340px; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.case-media img + .case-cover { display: none; }
.case:hover .case-media img, .case:hover .case-cover { transform: scale(1.03); }

.case-cover {
  position: absolute; inset: 0; padding: clamp(20px, 3vw, 32px);
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    repeating-linear-gradient(-66deg, transparent 0 26px, rgba(255,255,255,.025) 26px 27px),
    radial-gradient(120% 90% at 100% 0%, rgba(232, 80, 42, .28), transparent 55%),
    linear-gradient(160deg, #1b1b1d, #111112);
  transition: transform .9s var(--ease);
}
.cc-index { font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .14em; color: var(--flame-light); }
.cc-word {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(2rem, 4.6vw, 4rem); line-height: .92; letter-spacing: -0.045em;
  color: rgba(245, 243, 240, .92);
}
.case:not(.case-feature) .cc-word { font-size: clamp(1.7rem, 3vw, 2.6rem); }

.case-body { padding: clamp(22px, 2.6vw, 32px); }
.case-cat { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--flame-light); }
.case h3 { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.22; letter-spacing: -0.02em; color: var(--on-ink); }
.case-facts { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line-ink); }
.case-facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); }
.case-facts dd { margin-top: 6px; font-size: .95rem; color: var(--on-ink); opacity: .85; }
.case-note { margin-top: 12px; font-size: .92rem; color: var(--on-ink-muted); }
.case-note strong { color: var(--on-ink); font-weight: 600; }

.results-note { margin-top: 28px; font-size: .85rem; color: var(--on-ink-muted); }

/* ========== 05 · SOBRE ========== */
.about-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.about-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-panel { display: none; }
.about-media.is-missing img { display: none; }
.about-media.is-missing .about-panel {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 4vw, 48px); color: var(--on-ink);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(232, 80, 42, .3), transparent 60%),
    linear-gradient(165deg, #1a1a1c, #0e0e0f);
}
.about-panel .slashes { top: 12%; right: 14%; }
.ap-big { font-family: var(--font-display); font-weight: 800; font-stretch: 110%; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: .95; letter-spacing: -0.045em; }
.ap-big em { font-style: normal; color: var(--flame-light); }
.ap-small { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-ink); font-size: .85rem; color: var(--on-ink-muted); }

.about-text { margin-top: 28px; display: grid; gap: 16px; color: var(--on-paper-muted); max-width: 36em; }
.traits { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--line-paper); }
.traits li { display: flex; align-items: flex-start; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-paper); font-weight: 600; line-height: 1.4; }
.traits .ico { margin-top: 1px; color: var(--accent-on-paper); }

.stats { margin-top: 36px; display: flex; gap: 48px; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -0.04em; }
.stats dt { margin-top: 8px; font-size: .85rem; color: var(--on-paper-muted); }

/* ========== 06 · CTA FINAL ========== */
.cta-final { position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, 14vw, 200px) 0; text-align: center; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-glow {
  position: absolute; left: 50%; bottom: -55%; width: 1400px; height: 900px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(232, 80, 42, .42) 0%, rgba(179, 38, 30, .18) 35%, transparent 65%);
}
.cta-final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 88px 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 60%, transparent);
}
.slashes-xl { right: 6%; top: 14%; opacity: .5; }
.slashes-xl span { height: 220px; width: 14px; }
.slashes-xl span:nth-child(2) { height: 170px; margin-top: 28px; }
.slashes-xl span:nth-child(3) { height: 120px; margin-top: 56px; }

.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-title {
  margin-top: 28px; max-width: 15em;
  font-family: var(--font-display); font-weight: 700; font-stretch: 106%;
  font-size: clamp(2.3rem, 5.6vw, 4.8rem); line-height: 1.02; letter-spacing: -0.04em;
  text-wrap: balance;
}
.cta-title .accent-text { display: inline; }
.cta-sub { margin-top: 28px; max-width: 36em; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--on-ink-muted); text-wrap: pretty; }
.cta-actions { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-detail { font-size: .9rem; color: var(--on-ink-muted); }
.cta-contact { font-size: .9rem; color: var(--on-ink-muted); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; }
.cta-contact a { color: var(--on-ink); border-bottom: 1px solid rgba(255,255,255,.25); transition: border-color .25s; }
.cta-contact a:hover { border-color: var(--flame-light); }

/* ========== FOOTER ========== */
.site-footer { background: #0a0a0b; color: var(--on-ink-muted); border-top: 1px solid var(--line-ink); font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.footer-brand p { margin-top: 20px; max-width: 26em; }
.footer-label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink); margin-bottom: 16px; }
.footer-nav ul, .footer-contact ul { display: grid; gap: 4px; }
.footer-nav a, .footer-contact a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; transition: color .25s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--on-ink); }
.footer-contact .ico { color: var(--flame-light); }
.footer-loc { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; }
.footer-loc .ico { margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line-ink); font-size: .85rem; }
.footer-bottom a:hover { color: var(--on-ink); }

/* ========== Página legal (Política de Privacidade) ========== */
.legal-back { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; font-size: .93rem; font-weight: 600; color: var(--on-ink-muted); transition: color .25s; }
.legal-back:hover { color: var(--on-ink); }
.legal-wrap { max-width: calc(800px + var(--gutter) * 2); }
.legal-hero { padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.legal-hero::after { content: ""; position: absolute; right: -200px; top: -260px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 80, 42, .18), transparent 65%); pointer-events: none; }
.legal-hero h1 { margin-top: 22px; font-family: var(--font-display); font-weight: 700; font-stretch: 106%; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.legal-updated { margin-top: 18px; font-size: .95rem; color: var(--on-ink-muted); }
.legal { background: var(--paper); }
.legal-body { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(72px, 9vw, 128px); color: var(--on-paper); }
.legal-body section + section { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line-paper); }
.legal-body h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 16px; }
.legal-body p, .legal-body li { color: #35322e; line-height: 1.75; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin: 12px 0; display: grid; gap: 8px; }
.legal-body li { position: relative; padding-left: 22px; }
.legal-body li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 2px; background: var(--accent-on-paper); }
.legal-body p + ul + p { margin-top: 12px; }
.legal-body a { color: var(--accent-on-paper); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body strong { color: var(--on-paper); }

/* ========== WhatsApp flutuante ========== */
.wa-float {
  position: fixed; z-index: 90; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--btn); color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08) inset;
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .3s;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--btn-hover); }

/* ========== Animações de entrada ========== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ========== Responsivo ========== */
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 720px; }
  .hero-visual { height: clamp(380px, 62vw, 540px); max-width: 680px; width: 100%; margin: 8px auto 0; }

  .services { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 16 / 11; max-height: 560px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .brand-logo { height: 28px; }

  .hero { min-height: 0; padding-top: calc(var(--header-h) + 44px); }
  .eyebrow { font-size: .64rem; letter-spacing: .12em; gap: .4em .5em; }
  .eyebrow::before { width: 18px; }
  .hero-title { margin-top: 20px; font-size: clamp(2.35rem, 10.4vw, 3.2rem); line-height: 1.02; }
  .hero-sub { margin-top: 20px; }
  .hero-actions { margin-top: 30px; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { margin-top: 24px; font-size: .82rem; align-items: flex-start; }
  .hero-meta > span { min-width: 0; }
  .hero-meta .ico { margin-top: 2px; }

  .hero-visual { height: 360px; margin-top: 16px; }
  .piece-browser { width: 92%; }
  .piece-phone { width: 40%; left: 0; }
  .piece-ad { width: 64%; right: 0; bottom: 2%; padding: 14px 16px; }
  .ad-title { font-size: .92rem; }
  .bw-cols span { height: 36px; }
  .hero-visual .slashes { display: none; }

  .hero-strip ul { justify-content: flex-start; gap: 10px 22px; padding: 22px 0; }
  .hero-strip li { font-size: .68rem; }

  .split-head { grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
  .pillars { grid-template-columns: 1fr; border-top: 0; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line-paper); }
  .pillar + .pillar::before { left: 0; }

  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service-tags { padding-top: 18px; }
  .solutions-cta .btn { width: 100%; }

  .cases { grid-template-columns: 1fr; }
  .case-feature { grid-row: auto; }
  .case-feature .case-media { min-height: 0; aspect-ratio: 16 / 11; flex: none; }
  .case-facts { grid-template-columns: 1fr; gap: 14px; }

  .about-media { aspect-ratio: 4 / 4.2; }
  .traits { grid-template-columns: 1fr; }
  .stats { gap: 32px; }

  .slashes-xl { display: none; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .cta-glow { width: 900px; bottom: -45%; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
  .site-footer { padding-bottom: 76px; } /* espaço para o botão flutuante não cobrir o rodapé */
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  .btn-lg, .btn-xl { --pad-x: 18px; font-size: .94rem; }
  .hero-visual { height: 320px; }
}
