/* ==========================================================
   Chimelli — estilos do site
   Visual escuro e editorial (referência: cristianoronaldo.com):
   títulos condensados em caixa alta, um único acento azul.
   ========================================================== */

/* Fontes hospedadas no próprio site (subconjunto latino, com acentos) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
}

:root {
  /* Cores */
  --black:  #040507;
  --bg:     #07090D;
  --bg-2:   #0C0F15;
  --bg-3:   #12161E;
  --petrol: #0E2F38;   /* fundo das fotos do João */
  --brand:  #11418C;   /* azul do logo */
  --blue:   #2F6FED;
  --blue-light: #7FAEFF;
  --wa:     #25D366;

  --text:  #F2F4F7;
  --muted: #9AA4B4;
  --dim:   #7A8494;
  --line:  rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);

  /* Tipografia */
  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: 32px;
  --radius: 4px;
  --header-h: 76px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-head); font-weight: 700;
  line-height: .95; margin: 0 0 .45em;
  text-transform: uppercase; letter-spacing: .01em;
}
h1 { font-size: clamp(3rem, 6.4vw, 6rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
h3 { font-size: 1.6rem; line-height: 1; letter-spacing: .02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

.icon {
  width: 1.2em; height: 1.2em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }

/* ---------- Botões ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.9em;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1;
  text-transform: uppercase; letter-spacing: .12em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease-out), background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 1.3em; font-size: .92rem; }
.btn--lg { min-height: 58px; padding: 0 2.2em; font-size: 1.12rem; }

.btn--wa { background: var(--wa); color: #04260F; box-shadow: 0 14px 34px -14px rgba(37, 211, 102, .7); }
.btn--wa:hover { background: #3BE184; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 14px 34px -14px rgba(47, 111, 237, .8); }
.btn--primary:hover { background: #4C84F5; }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: #fff; background: #fff; color: var(--black); }

/* Reflexo que atravessa o botão */
.btn--wa::after, .btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn--wa:hover::after, .btn--primary:hover::after { transform: translateX(120%); }

/* Link com seta (estilo "VIEW HIGHLIGHTS →") */
.link-arrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .14em; text-decoration: none; color: #fff;
}
.link-arrow span { display: inline-block; transition: transform .3s var(--ease-out); }
.link-arrow:hover span, a:hover > .link-arrow span { transform: translateX(6px); }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .35s ease, box-shadow .35s ease;
}
.header.is-scrolled { background: rgba(4, 5, 7, .92); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(1px)) {
  .header.is-scrolled { background: rgba(4, 5, 7, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 36px; max-width: none; padding-inline: clamp(var(--gutter), 3vw, 48px); }
.header__logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a {
  position: relative; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  text-transform: uppercase; letter-spacing: .18em; color: #7E8898;
  transition: color .25s ease;
}
.nav a:hover, .nav a.is-active { color: #fff; }
/* traço que corta a palavra da seção atual, como no menu da referência */
.nav a::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta-mobile { display: none; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
/* Texto enorme à esquerda; a foto ocupa a metade direita e se funde ao preto */
.hero {
  position: relative; overflow: hidden;
  min-height: min(100svh, 920px);
  display: flex; align-items: flex-end;
  background: var(--black);
}
.hero__inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 64px); padding-bottom: 72px; }
.hero__text { max-width: 700px; }
.hero h1 { margin-bottom: .32em; }
.hero h1 em { font-style: normal; color: var(--blue-light); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 33em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em; margin-bottom: 1.6rem;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .18em; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(37, 211, 102, 0); } }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2.2rem 0 2rem; }
.hero__badges {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
}
.hero__badges li { display: flex; align-items: center; gap: .5em; }
.hero__badges .icon { color: var(--blue-light); }

.hero__photo {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 54%;
  background: var(--petrol);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%);
          mask-image: linear-gradient(90deg, transparent, #000 34%);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(4, 5, 7, .6), transparent 22%),
    linear-gradient(to top, rgba(4, 5, 7, .9), transparent 34%);
}
.hero__photo figcaption {
  position: absolute; z-index: 1; right: 120px; bottom: 40px; /* longe do botão flutuante */
  display: flex; flex-direction: column; align-items: flex-end; text-align: right;
  line-height: 1.2;
}
.hero__photo figcaption strong { font-family: var(--font-head); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .14em; }
.hero__photo figcaption span { font-size: .9rem; color: #C9D3E2; }

/* Rolar para baixo */
.hero__scroll {
  position: absolute; z-index: 1; left: clamp(var(--gutter), 3vw, 48px); bottom: 0;
  width: 1px; height: 64px; background: var(--line-2); overflow: hidden;
}
.hero__scroll::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%;
  background: #fff; animation: drip 1.8s var(--ease-io) infinite;
}
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- Letreiro (faixa abaixo do hero) ---------- */
.strip { border-block: 1px solid var(--line); background: var(--black); }
.strip__inner { display: flex; align-items: center; gap: 28px; padding-block: 20px; max-width: none; padding-inline: 0; }
.strip p {
  margin: 0; flex-shrink: 0; padding-left: clamp(var(--gutter), 3vw, 48px);
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .18em; color: var(--blue-light);
}
.marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee ul { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.strip li {
  display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.75rem);
  text-transform: uppercase; letter-spacing: .06em; color: #D9DEE6;
}
.strip li::after { content: "✦"; font-size: .7em; color: var(--blue); }

/* ---------- Seções ---------- */
.section { position: relative; padding: 130px 0; }
.section--alt { background: var(--bg-2); }
/* "light" virou o tom elevado do tema escuro (o nome ficou pelas páginas de segmento) */
.section--light { background: var(--bg-2); }

.section__head { max-width: 820px; margin: 0 0 64px; }
.section__head p { color: var(--muted); font-size: 1.12rem; max-width: 36em; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; }
.section__head--split p { margin-bottom: .6em; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 1.1rem;
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--blue-light);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--blue); }
.kicker--light { color: var(--blue-light); }

/* Palavra gigante vazada ao fundo (anda de lado com a rolagem) */
.watermark {
  position: absolute; left: 0; z-index: 0; pointer-events: none; user-select: none;
  white-space: nowrap; line-height: .8;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(8rem, 22vw, 22rem); letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
  translate: var(--dx, 0px) 0;
}
.section > .container { position: relative; z-index: 1; }

/* ---------- Comparação ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.compare__col { padding: 48px 44px; background: var(--bg); }
.compare__col h3 { font-size: 2rem; margin-bottom: 1em; }
.compare__col li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); }
.compare__col .icon { margin-top: .25em; }
.compare__col--bad h3 { color: #6E7786; }
.compare__col--bad li { color: #7C8594; }
.compare__col--bad .icon { color: #E06C6C; }
.compare__col--good { background: linear-gradient(160deg, rgba(47, 111, 237, .2), rgba(17, 65, 140, .06) 60%), var(--bg); }
.compare__col--good li { color: var(--text); }
.compare__col--good .icon { color: var(--blue-light); }

/* ---------- Quem sou ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__photo { position: relative; overflow: hidden; background: var(--petrol); }
.about__photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 45% 30%; scale: 1.12; }
.about__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(4, 5, 7, .55), transparent 40%);
}
.about__sign {
  position: absolute; z-index: 1; left: 24px; bottom: 22px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .18em;
}
.about__text > p { color: var(--muted); }
.about__list { display: grid; gap: 0; margin: 2rem 0 2.4rem; border-top: 1px solid var(--line); }
.about__list li {
  display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .08em;
}
.about__list .icon { width: 22px; height: 22px; color: var(--blue-light); }

/* ---------- Números ---------- */
.numbers { border-block: 1px solid var(--line); background: var(--black); }
.numbers ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers li { padding: 56px 32px 50px; border-left: 1px solid var(--line); }
.numbers li:first-child { border-left: 0; padding-left: 0; }
.numbers b {
  display: block; margin-bottom: 12px;
  font-family: var(--font-head); font-weight: 700; line-height: .85;
  font-size: clamp(3.6rem, 6vw, 5.6rem); text-transform: uppercase; white-space: nowrap;
}
.numbers b small { font-size: .42em; letter-spacing: .08em; margin-left: .15em; color: var(--blue-light); }
.numbers li > span { display: block; max-width: 16em; font-size: .95rem; color: var(--muted); line-height: 1.5; }

/* ---------- Serviços (linhas editoriais) ---------- */
.svc { border-top: 1px solid var(--line); }
.svc li { border-bottom: 1px solid var(--line); }
.svc a {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 90px 1fr 1.25fr 210px; gap: 24px; align-items: center;
  padding: 38px 24px; text-decoration: none; color: inherit;
}
/* fundo azul que entra da esquerda no hover */
.svc a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--brand), var(--blue));
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-io);
}
.svc a:hover::before, .svc a:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.svc__n { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .1em; color: var(--blue-light); transition: color .3s; }
.svc h3 { margin: 0; font-size: clamp(2rem, 3.4vw, 3rem); transition: transform .5s var(--ease-out); }
.svc p { margin: 0; color: var(--muted); transition: color .3s; }
.svc .link-arrow { justify-self: end; }
.svc a:hover .svc__n, .svc a:hover p { color: #fff; }
.svc a:hover h3 { transform: translateX(10px); }

/* ---------- Cards (páginas de segmento) ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; padding: 38px 30px;
  background: var(--bg);
  transition: background-color .3s ease;
}
.card:hover { background: var(--bg-3); }
.card__icon {
  width: 52px; height: 52px; margin-bottom: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%; color: var(--blue-light);
  transition: transform .4s var(--ease-out), background-color .3s, color .3s, border-color .3s;
}
.card__icon .icon { width: 22px; height: 22px; }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.06); background: var(--blue); border-color: var(--blue); color: #fff; }
.card h3 { font-size: 1.7rem; }
.card p { color: var(--muted); font-size: .97rem; flex: 1; margin: 0; }

/* ---------- Portfólio e segmentos: galeria em sanfona ---------- */
.acc { display: flex; gap: 10px; height: clamp(460px, 72vh, 660px); align-items: center; }
.acc__item {
  position: relative; flex: 1 1 0; min-width: 0; height: 84%;
  overflow: hidden; background: var(--black); color: #fff; text-decoration: none; cursor: pointer;
  transition: flex-grow .8s var(--ease-io), height .8s var(--ease-io);
}
.acc__item.is-active { flex-grow: 3.6; height: 100%; }
.acc__item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%;
  filter: grayscale(.9) brightness(.5); scale: 1.08;
  transition: filter .8s ease, scale 1.4s var(--ease-out);
}
.acc__item:hover img { filter: grayscale(.4) brightness(.7); }
.acc__item.is-active img { filter: none; scale: 1; }
.acc__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(4, 5, 7, .92), rgba(4, 5, 7, .2) 45%, transparent 70%);
}
.acc__label {
  position: absolute; z-index: 1; left: 50%; bottom: 26px; translate: -50% 0;
  writing-mode: vertical-rl; rotate: 180deg; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .2em;
  transition: opacity .3s ease;
}
.acc__item.is-active .acc__label { opacity: 0; }
.acc__body {
  position: absolute; z-index: 1; left: 32px; bottom: 32px;
  width: min(400px, calc(100% - 64px));
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.acc__item.is-active .acc__body { opacity: 1; transform: none; pointer-events: auto; transition: opacity .6s .35s ease, transform .7s .35s var(--ease-out); }
.acc__tag {
  display: block; margin-bottom: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .2em; color: var(--blue-light);
}
.acc__body h3 { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: .3em; }
.acc__body p { color: #D0D6E0; font-size: .98rem; margin-bottom: 1.1rem; }
.cases__cta { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cases__cta p { margin: 0; color: var(--muted); }

/* ---------- O que está incluso ---------- */
.included { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.included__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.included__intro p { color: var(--muted); margin-bottom: 2rem; }
.included__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.included__grid li { position: relative; overflow: hidden; display: flex; gap: 16px; padding: 30px 26px; background: var(--bg-2); transition: background-color .3s; }
.included__grid li:hover { background: var(--bg-3); }
.included__grid .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--blue-light); }
.included__grid strong { display: block; margin-bottom: .2em; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; }
.included__grid span { font-size: .93rem; color: var(--muted); }

/* ---------- Como funciona: etapas com barras (estilo stories) ---------- */
.story { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; min-height: 360px; }
.story__num {
  font-family: var(--font-head); font-weight: 700; line-height: .8;
  font-size: clamp(10rem, 22vw, 19rem);
  color: transparent; -webkit-text-stroke: 2px rgba(127, 174, 255, .8);
}
.story__panels { display: grid; }
.story__panel { grid-area: 1 / 1; }
.story__panel h3 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); }
.story__panel p { font-size: 1.2rem; color: var(--muted); max-width: 26em; }
.js .story__panel { opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .5s ease, transform .6s var(--ease-out), visibility .5s; }
.js .story__panel.is-active { opacity: 1; visibility: visible; transform: none; }
.story__tabs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 24px; }
.story__tab {
  display: flex; flex-direction: column; gap: 14px; padding: 0 0 6px; text-align: left;
  background: none; border: 0; color: var(--dim); cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .14em;
  transition: color .3s;
}
.story__tab:hover, .story__tab[aria-selected="true"] { color: #fff; }
.story__bar { position: relative; display: block; height: 2px; background: var(--line-2); overflow: hidden; }
.story__bar i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.story__tab.is-done .story__bar i { transform: scaleX(1); background: rgba(255, 255, 255, .5); }
/* a barra da etapa atual enche conforme a rolagem (o JS ajusta --f) */
.story__tab[aria-selected="true"] .story__bar i { transform: scaleX(var(--f, 1)); background: var(--blue-light); }

/* Trilho alto: a seção fica presa na tela enquanto a pessoa rola por ele */
.js .story-track { height: calc(100vh + 4 * 40vh); }
.js .story-sticky {
  position: sticky; top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 24px;
}
.js .story-sticky .section__head { margin-bottom: 40px; }

/* Lista de etapas (páginas de segmento) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.steps li { position: relative; overflow: hidden; padding: 34px 28px; background: var(--bg); transition: background-color .3s; }
.steps li:hover { background: var(--bg-3); }
.steps__n {
  display: block; margin-bottom: 18px;
  font-family: var(--font-head); font-size: 4rem; font-weight: 700; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px var(--blue-light);
}
.steps h3 { font-size: 1.7rem; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }

.video { max-width: 900px; margin: 90px auto 0; }
.video__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--line); background: var(--black);
}
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__facade { display: block; width: 100%; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.video__facade img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) brightness(.75); transition: transform .8s var(--ease-out), filter .6s ease; }
.video__facade:hover img { transform: scale(1.04); filter: none; }
.video__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 96px; height: 96px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); color: #fff;
  background: rgba(4, 5, 7, .35);
  transition: transform .3s var(--ease-out), background-color .3s, border-color .3s;
}
.video__play svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.video__facade:hover .video__play { transform: scale(1.1); background: var(--blue); border-color: var(--blue); }
.video__caption {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; text-transform: uppercase; letter-spacing: .16em; color: var(--dim);
}

/* ---------- Compromissos ---------- */
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: quote; }
.quote { position: relative; padding-top: 28px; border-top: 1px solid var(--line-2); counter-increment: quote; }
.quote::before {
  content: "0" counter(quote); display: block; margin-bottom: 26px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .14em; color: var(--blue-light);
}
/* linha azul que se desenha no topo quando o item aparece */
.quote::after {
  content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--blue-light);
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-io) calc(var(--d, 0s) + .3s);
}
.quote.is-visible::after { transform: scaleX(1); }
.quote h3 { font-size: 1.75rem; margin-bottom: .55em; }
.quote p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Dúvidas ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__intro p { color: var(--muted); margin-bottom: 2rem; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq__list details { border-bottom: 1px solid var(--line-2); }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1;
  transition: color .25s;
}
.faq__list summary:hover { color: var(--blue-light); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; flex-shrink: 0;
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--font-body); font-size: 1.3rem; font-weight: 400;
  transition: transform .35s var(--ease-out), background-color .3s, border-color .3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); }
.faq__list details p { padding: 0 56px 26px 0; margin: 0; color: var(--muted); }
.faq__list details[open] p { animation: rise .45s var(--ease-out); }

/* ---------- Chamada final ---------- */
.cta { position: relative; overflow: hidden; padding: 130px 0; background: var(--black); }
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; align-items: stretch; background: var(--bg-2); border: 1px solid var(--line); }
.cta__text { padding: 72px 64px; }
.cta__text h2 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); }
.cta__text p { color: var(--muted); font-size: 1.12rem; }
.cta__actions { margin: 2.2rem 0; }
.cta__contacts { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.cta__contacts li { display: flex; align-items: center; gap: 12px; }
.cta__contacts a { text-decoration: none; color: #D6DCE6; }
.cta__contacts a:hover { color: #fff; text-decoration: underline; }
.cta__contacts .icon { color: var(--blue-light); }
.cta__photo { position: relative; overflow: hidden; background: var(--petrol); min-height: 420px; }
.cta__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; scale: 1.12; }

/* ---------- Rodapé ---------- */
.footer { position: relative; overflow: hidden; background: var(--black); border-top: 1px solid var(--line); }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding-block: 80px 40px;
}
.footer__brand img { height: 36px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 300px; }
.footer p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__col h2 {
  margin: 0 0 8px; font-size: .95rem; letter-spacing: .2em; color: var(--blue-light);
}
.footer__col a {
  display: inline-flex; align-items: center; gap: 10px;
  color: #C3CAD6; text-decoration: none; font-size: .95rem;
  transition: color .2s ease, transform .25s var(--ease-out);
}
.footer__col a:hover { color: #fff; transform: translateX(4px); }
.footer__col .icon { width: 18px; height: 18px; color: var(--blue-light); }
/* nome gigante no pé da página */
.footer__word {
  display: block; text-align: center; white-space: nowrap; line-height: .78; margin-bottom: -.06em;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: 27vw; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14);
  user-select: none;
}
.footer__bottom { border-top: 1px solid var(--line); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; }
.footer__bottom p { font-size: .86rem; }

/* ---------- Páginas de segmento ---------- */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.2rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .14em; color: var(--dim);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.note {
  display: flex; gap: 18px; margin-top: 48px; padding: 28px 30px;
  border: 1px solid rgba(127, 174, 255, .3); border-left: 3px solid var(--blue);
  background: linear-gradient(160deg, rgba(47, 111, 237, .12), transparent 70%);
}
.note .icon { width: 28px; height: 28px; color: var(--blue-light); flex-shrink: 0; margin-top: 2px; }
.note strong { display: block; margin-bottom: .3em; font-family: var(--font-head); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; }
.note p { margin: 0; color: var(--muted); }
.other-segments { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 56px; }
.other-segments a {
  padding: .7em 1.4em; border-radius: 999px; border: 1px solid var(--line-2);
  color: var(--text); text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .12em;
  transition: background-color .25s, color .25s, border-color .25s;
}
.other-segments a:hover { background: #fff; border-color: #fff; color: var(--black); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; display: grid; place-items: center;
  border-radius: 50%; background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 32px; height: 32px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: ring 2.6s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Movimento ---------- */

/* Barra de progresso da leitura */
.progress {
  position: fixed; top: 0; left: 0; z-index: 70;
  width: 100%; height: 2px;
  background: var(--blue-light);
  transform: scaleX(var(--p, 0)); transform-origin: left;
  pointer-events: none;
}

/* Entrada ao rolar */
.js .reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal--left  { transform: translateX(-56px); }
.js .reveal--right { transform: translateX(56px); }
.js .reveal--zoom  { transform: translateY(24px) scale(.94); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Títulos sobem por trás de uma cortina */
@keyframes curtain {
  from { clip-path: inset(0 0 100% 0); transform: translateY(.5em); }
  to   { clip-path: inset(-10% -5% -15% -5%); transform: none; }
}
.js .reveal h2 { clip-path: inset(0 0 100% 0); }
.js .reveal.is-visible h2 { animation: curtain 1.1s var(--ease-out) calc(var(--d, 0s) + .05s) both; }

/* Entrada do hero: linhas do título sobem em sequência, foto abre como cortina */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
.js .hero__text > * { animation: rise 1s var(--ease-out) both; }
.js .hero__text > :nth-child(2) { animation-delay: .1s; }
.js .hero__text > :nth-child(3) { animation-delay: .22s; }
.js .hero__text > :nth-child(4) { animation-delay: .34s; }
.js .hero__text > :nth-child(5) { animation-delay: .46s; }
.js .hero__text > :nth-child(6) { animation-delay: .58s; }
.js .hero__photo { animation: reveal-photo 1.4s var(--ease-io) both; }
.js .hero__photo img { animation: settle 2.2s var(--ease-out) both; }
.js .hero__photo figcaption { animation: rise .8s 1s var(--ease-out) both; }
@keyframes reveal-photo { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { scale: 1.18; } to { scale: 1; } }

/* Sublinhado que se desenha nas palavras em destaque */
.hero h1 em {
  background: linear-gradient(90deg, var(--blue), var(--blue-light)) no-repeat 0 88% / 100% .07em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.js .hero h1 em { background-size: 0 .07em; animation: underline .9s 1.1s var(--ease-io) forwards; }
.js .hero h1 em + em { animation-delay: 1.35s; }
@keyframes underline { to { background-size: 100% .07em; } }

/* Luz que segue o mouse */
.card::before, .included__grid li::before, .steps li::before, .compare__col::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(127, 174, 255, .12), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.compare__col { position: relative; overflow: hidden; }
.card:hover::before, .included__grid li:hover::before, .steps li:hover::before, .compare__col:hover::before { opacity: 1; }

/* Fotos com parallax (o JS ajusta --py) */
[data-parallax] img { translate: 0 var(--py, 0px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .reveal h2 { clip-path: none; }
  .hero__photo img { scale: 1; }
  .js .hero h1 em { background-size: 100% .07em; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee ul { flex-wrap: wrap; width: auto; row-gap: 8px; padding-inline: var(--gutter); }
  .marquee [aria-hidden="true"] { display: none; }
  .quote::after { transform: scaleX(1); }
  .progress, .hero__scroll { display: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .included { grid-template-columns: 1fr; gap: 48px; }
  .included__intro { position: static; }
  .svc a { grid-template-columns: 70px 1fr 1.2fr; }
  .svc .link-arrow { display: none; }
  .numbers ul { grid-template-columns: repeat(2, 1fr); }
  .numbers li:nth-child(3) { border-left: 0; padding-left: 0; }
  .numbers li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta__text { padding: 56px 44px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; --gutter: 24px; }
  body { font-size: 16px; }
  .section { padding: 90px 0; }
  .cta { padding: 90px 0; }

  .header__cta { display: none; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: auto; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 28px;
    background: var(--black); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open .header { background: var(--black); }
  .nav a { padding: 16px 0; font-size: 1.35rem; color: #fff; border-bottom: 1px solid var(--line); }
  .nav__cta-mobile { display: block; }
  .nav a::after { display: none; }

  .hero { display: flex; flex-direction: column-reverse; min-height: 0; }
  .hero__inner { margin-top: -110px; padding-top: 0; padding-bottom: 56px; }
  .hero__text { max-width: none; }
  .hero__photo {
    position: relative; width: 100%; aspect-ratio: 4 / 4.4;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
            mask-image: linear-gradient(to bottom, #000 60%, transparent);
  }
  .hero__photo figcaption { top: calc(var(--header-h) + 16px); bottom: auto; right: var(--gutter); }
  .hero__scroll { display: none; }

  .section__head--split { grid-template-columns: 1fr; }
  .compare, .about, .faq, .cta__inner { grid-template-columns: 1fr; }
  .about, .faq { gap: 48px; }
  .faq__intro { position: static; }
  .compare__col { padding: 36px 28px; }
  .story { grid-template-columns: 1fr; gap: 8px; min-height: 0; }
  .story__num { font-size: 6rem; }
  .story__panel h3 { font-size: 2.6rem; }
  .story__panel p { font-size: 1.05rem; }
  .js .story-sticky .section__head { margin-bottom: 20px; }
  .story__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .story__tab { font-size: .82rem; letter-spacing: .08em; }
  .cta__photo { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-block: 56px 36px; }
  .footer__brand { grid-column: 1 / -1; }

  /* Sanfona vira carrossel de arrastar */
  .acc {
    height: auto; align-items: stretch; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .acc::-webkit-scrollbar { display: none; }
  .acc__item, .acc__item.is-active { flex: 0 0 80%; height: 480px; scroll-snap-align: center; }
  .acc__item img { filter: none; scale: 1; }
  .acc__label { display: none; }
  .acc__body, .acc__item.is-active .acc__body { left: 24px; bottom: 24px; width: calc(100% - 48px); opacity: 1; transform: none; pointer-events: auto; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  h2 { font-size: 2.6rem; }
  .cards, .cards--3, .steps, .included__grid, .quotes { grid-template-columns: 1fr; }
  .svc a { grid-template-columns: 1fr; gap: 10px; padding: 30px 4px; }
  .numbers li { padding: 36px 16px 32px; }
  .numbers li:nth-child(odd) { padding-left: 0; }
  .numbers b { font-size: 3.2rem; }
  .footer__grid > :last-child { grid-column: 1 / -1; }
  .footer__bottom-inner { padding-bottom: 96px; } /* espaço para o botão flutuante do WhatsApp */
  .hero__actions .btn { width: 100%; }
  .strip__inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .strip p { padding-left: var(--gutter); }
  .cta__text { padding: 40px 24px; }
  .faq__list details p { padding-right: 0; }
  .acc__item, .acc__item.is-active { flex-basis: 86%; height: 440px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
