/* ============================================================
   Convés Criativo — novo posicionamento
   Paleta: laranja #ff7701 · amarelo #ffc400 · teal #4d9ba6
   Suporte: tinta #0a0e13 (escuro azulado) · marfim #f4efe6
   ============================================================ */

:root {
  --orange: #ff7701;
  --yellow: #ffc400;
  --teal: #4d9ba6;
  --teal-deep: #12262b;
  --ink: #0a0e13;
  --ink-2: #10161d;
  --ink-3: #161f28;
  --ivory: #f4efe6;
  --ivory-2: #ece5d8;

  --bg: var(--ink);
  --fg: var(--ivory);
  --line: rgba(244, 239, 230, 0.14);
  --muted: rgba(244, 239, 230, 0.55);

  --font-d: 'Sora', sans-serif;
  --font-b: 'Inter', sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body.theme-light {
  --bg: var(--ivory);
  --fg: var(--ink);
  --line: rgba(10, 14, 19, 0.14);
  --muted: rgba(10, 14, 19, 0.55);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--fg);
  transition: background-color 0.9s ease, color 0.9s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

::selection { background: var(--orange); color: var(--ink); }

img, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }

.container { width: min(92vw, 1360px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-d); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }

/* palavras divididas p/ animação */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.wi { display: inline-block; will-change: transform; }

.grad, .grad-text {
  /*background: linear-gradient(100deg, var(--orange) 10%, var(--yellow) 90%);*/
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--orange);
}
.grad-t, .grad-t .wi {
  /*background: linear-gradient(100deg, var(--teal) 0%, var(--yellow) 120%);*/
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--teal);
}
.yellow {
  color: var(--yellow);
}

.overline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.overline::before { content: ''; width: 2.4rem; height: 1px; background: var(--orange); flex: none; }

.section-title { font-size: clamp(2.2rem, 5.2vw, 4.6rem); margin-top: 1.6rem; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1.5%); }
  50% { transform: translate(1.5%, -1%); }
  75% { transform: translate(-1%, -2%); }
  100% { transform: translate(2%, 1%); }
}

/* ---------- cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 3000;
  border-radius: 50%;
  opacity: 0;
}
.cursor-dot {
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  background: #fff;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  mix-blend-mode: difference;
  display: flex; align-items: center; justify-content: center;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              margin 0.35s var(--ease-out), background-color 0.35s, border-color 0.35s;
}
.cursor-label {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink);
  opacity: 0; transition: opacity 0.25s;
  white-space: nowrap;
}
.cursor-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor-ring.is-view {
  width: 96px; height: 96px; margin: -48px 0 0 -48px;
  background: var(--orange); border-color: var(--orange);
  mix-blend-mode: normal;
}
.cursor-ring.is-view .cursor-label { opacity: 1; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0;
  z-index: 4000;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.preloader-inner { display: flex; flex-direction: column; align-items: center; }
.preloader-logo { width: clamp(150px, 26vw, 187px); height: auto; }
.preloader-logo img { filter: invert(100%); }
.preloader-tag {
  margin-top: 1.1rem;
  font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted); text-align: center;
}
.preloader-count {
  position: absolute; right: 4vw; bottom: 3.4vh;
  font-family: var(--font-d);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 239, 230, 0.35);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 2500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 4vw;
  mix-blend-mode: difference;
  color: #fff;
  transition: transform 0.5s var(--ease-out);
}
.nav.nav-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; display: block; }
@media (max-width: 640px) { .brand img { height: 22px; } }
.menu-btn { display: inline-flex; align-items: center; gap: 0.8rem; padding: 0.4rem 0; }
.menu-btn-label { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; }
.menu-btn-lines { display: inline-flex; flex-direction: column; gap: 6px; width: 34px; }
.menu-btn-lines i { height: 1.5px; background: #fff; transition: transform 0.4s var(--ease-out), width 0.4s var(--ease-out); }
.menu-btn-lines i:last-child { width: 60%; align-self: flex-end; }
body.menu-open .menu-btn-lines i:first-child { transform: translateY(3.75px) rotate(45deg); }
body.menu-open .menu-btn-lines i:last-child { width: 100%; transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- menu overlay ---------- */
.menu-overlay {
  position: fixed; inset: 0;
  z-index: 2400;
  background: var(--teal-deep);
  color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 6vw;
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
  visibility: hidden;
}
body.menu-open .menu-overlay { pointer-events: auto; }
.menu-nav { display: flex; flex-direction: column; }
.menu-link {
  display: flex; align-items: baseline; gap: 1.4rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.1);
  overflow: hidden;
}
.menu-index { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--teal); }
.menu-word {
  font-family: var(--font-d);
  font-size: clamp(2rem, 6.5vw, 4.4rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.15;
  display: inline-block;
  transition: color 0.35s, transform 0.5s var(--ease-out);
}
.menu-link:hover .menu-word { color: var(--orange); transform: translateX(1.2rem); }
.menu-meta { margin-top: 3rem; display: flex; gap: 3rem; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; }
.menu-meta a:hover { color: var(--yellow); }
.menu-meta-social { display: flex; gap: 1.4rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  background: var(--ink);
}
#gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 19, 0.35) 0%, rgba(10, 14, 19, 0) 35%, rgba(10, 14, 19, 0.75) 100%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding-top: 6vh; }
.hero-overline { margin-bottom: 2.2rem; }
.hero-title {
  font-size: clamp(2.3rem, 5.6vw, 5.4rem);
  font-weight: 800;
  max-width: 18ch;
  color: var(--ivory);
}
.hero-sub {
  margin-top: 2.2rem;
  max-width: 44ch;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: rgba(244, 239, 230, 0.78);
}
.hero-cta { margin-top: 3rem; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; }

.btn {
  position: relative;
  display: inline-block;
  padding: 0.8rem 1.2rem;
  font-family: var(--font-d); font-weight: 600; font-size: 0.95rem;
  color: var(--ink);
  background: var(--orange);
  border-radius: 999px;
  overflow: hidden;
  transition: color 0.4s;
}
@media(min-width:992px) {
  .hero-cta { gap: 2.4rem; justify-content: flex-start; }
  .btn {
    padding: 1.05rem 2.6rem;
  }
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.55s var(--ease-out);
  border-radius: inherit;
}
.btn:hover::before { transform: scaleX(1); }
.btn > * { position: relative; }

.link-arrow {
  font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(244, 239, 230, 0.8);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
  display: inline-flex; gap: 0.6rem; align-items: center;
  transition: color 0.3s, border-color 0.3s;
}
.link-arrow:hover { color: var(--yellow); border-color: var(--yellow); }
.link-arrow .arrow { transition: transform 0.4s var(--ease-out); }
.link-arrow:hover .arrow { transform: translateY(4px); }

.hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; border-top: 1px solid rgba(244, 239, 230, 0.1); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; will-change: transform; animation: marquee 26s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.hero-marquee { padding: 1.1rem 0; font-family: var(--font-d); font-size: 0.85rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(244, 239, 230, 0.5); }
.mq-sep { font-style: normal; display: inline-flex; align-items: center; padding: 0 1.2rem; }
.mq-star { width: 0.62em; height: 0.62em; fill: var(--orange); display: block; }

/* ---------- meia bússola (fixa no topo) ---------- */
.compass {
  position: fixed;
  top: 4px; left: 0; right: 0;
  z-index: 1200;           /* acima do conteúdo, abaixo da nav (2500) e do menu (2400) */
  pointer-events: none;
  color: var(--fg);
  opacity: 0.85;
  transition: opacity 0.6s ease;
}
.compass-svg { width: 100%; display: block; }
.compass-arc { fill: none; stroke: url(#compassFade); stroke-width: 1.1; }
.compass-tick { stroke: currentColor; stroke-width: 1.1; opacity: 0.4; }
.compass-tick-major { stroke-width: 1.5; opacity: 0.75; }
.compass-label {
  fill: currentColor;
  font-family: var(--font-d); font-weight: 600;
  letter-spacing: 0.16em; text-anchor: middle;
  opacity: 0.7;
}
.compass-n { fill: var(--orange); opacity: 1; }
.compass-lubber { stroke: var(--orange); fill: var(--orange); stroke-width: 1.4; opacity: 0.9; }

/* achou o norte: a bússola assenta e o N acende */
.compass-n, .compass-lubber { transition: filter 0.9s ease, opacity 0.9s ease; }
.compass.is-north .compass-n,
.compass.is-north .compass-lubber {
  filter: drop-shadow(0 0 7px rgba(255, 119, 1, 0.75));
  opacity: 1;
}

/* ---------- manifesto ---------- */
.manifesto { padding: 22vh 0; }
.manifesto-text {
  margin-top: 2.4rem;
  font-family: var(--font-d);
  font-size: clamp(1.7rem, 3.9vw, 3.4rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.28;
  max-width: 26ch;
}
.manifesto-text .hl, .manifesto-text .hl-t { font-style: normal; }
.manifesto-text .hl { color: var(--orange); }
.manifesto-text .hl-t { color: var(--teal); }

/* ---------- método (horizontal) ---------- */
.method { position: relative; }
.method-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.method-head { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding-bottom: 3rem; }
.method-progress { flex: 1; max-width: 380px; height: 1px; background: var(--line); }
.method-progress-bar { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--yellow)); transform: scaleX(0); transform-origin: left; }
.method-track { display: flex; gap: 2.2rem; padding-left: 4vw; width: max-content; }
.method-panel {
  width: min(78vw, 560px);
  min-height: 52vh;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 2.6rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 100%);
  position: relative;
  transition: border-color 0.4s;
}
.method-panel:hover { border-color: rgba(255, 119, 1, 0.5); }
.method-panel-intro { width: min(88vw, 760px); border: 0; background: none; justify-content: center; }
.method-intro-title { font-size: clamp(2.4rem, 5.4vw, 4.8rem); max-width: 14ch; }
.method-intro-sub { margin-top: 1.6rem; color: var(--muted); font-size: 1.05rem; }
.method-hint { margin-top: 3.2rem; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--teal); }
.method-num {
  position: absolute; top: 2rem; right: 2.2rem;
  font-family: var(--font-d); font-size: clamp(3.4rem, 6vw, 5.4rem); font-weight: 800; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 239, 230, 0.28);
  transition: -webkit-text-stroke-color 0.4s;
}
.method-panel:hover .method-num { -webkit-text-stroke-color: var(--orange); }
.method-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: 1rem; }
.method-panel p { color: var(--muted); max-width: 38ch; }
.method-north { margin-top: 1.4rem; color: var(--yellow) !important; font-size: 0.9rem; letter-spacing: 0.04em; }

@media (max-width: 899px) {
  .method-pin { min-height: 0; padding: 16vh 0 10vh; }
  .method-track {
    width: auto;
    overflow-x: auto;
    padding: 0 4vw 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .method-panel { scroll-snap-align: start; min-height: 46vh; }
}

/* ---------- humano p/ humano ---------- */
.human { padding: 20vh 0; }
.human-title { margin-top: 0; }
.video-ph {
  margin-top: 4rem;
  position: relative;
  aspect-ratio: 16 / 8;
  border-radius: 1.6rem;
  overflow: hidden;
  border: 1px solid var(--line);
}
.video-ph-bg {
  position: absolute; inset: -30%;
  background:
    radial-gradient(40% 55% at 25% 35%, rgba(77, 155, 166, 0.55), transparent 70%),
    radial-gradient(35% 50% at 75% 65%, rgba(255, 119, 1, 0.4), transparent 70%),
    radial-gradient(30% 40% at 55% 20%, rgba(255, 196, 0, 0.22), transparent 70%),
    var(--ink-2);
  animation: phFloat 14s ease-in-out infinite alternate;
}
@keyframes phFloat {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(6deg) scale(1.12); }
}
.video-ph-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
}
.video-ph-play {
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 230, 0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--ivory);
  backdrop-filter: blur(6px);
  background: rgba(10, 14, 19, 0.25);
}
.video-ph-chip {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(244, 239, 230, 0.75);
  border: 1px dashed rgba(244, 239, 230, 0.4);
  padding: 0.55rem 1.1rem; border-radius: 999px;
  backdrop-filter: blur(6px);
  background: rgba(10, 14, 19, 0.35);
  text-align: center;
}
.human-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 4rem; margin-top: 6rem; }
.human-col h3 { margin-bottom: 1.2rem; }
.human-num {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--teal);
  display: inline-flex; align-items: center; gap: 0.9rem;
}
.human-num::before { content: ''; width: 1.8rem; height: 1px; background: var(--teal); }
.human-col p { font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.55; color: rgba(244, 239, 230, 0.82); max-width: 34ch; }
.human-col strong { color: var(--yellow); font-weight: 600; }

/* ---------- serviços ---------- */
.services { padding: 20vh 0; position: relative; }
.service-grid {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.service-card {
  position: relative;
  isolation: isolate;
  display: flex; flex-direction: column;
  gap: 1rem;
  min-height: 26rem;
  padding: clamp(1.6rem, 2.3vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.45);
  overflow: hidden;
  transition: transform 0.55s var(--ease-out), border-color 0.4s,
              background-color 0.4s, opacity 0.4s;
}
.service-card > * { position: relative; z-index: 1; }
/* durante a entrada quem manda é o GSAP */
.service-card.is-revealing { transition: none; }
/* spotlight que segue o cursor */
.service-card::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
              rgba(255, 119, 1, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s;
}
/* fio de destaque no topo */
.service-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.service-card:hover { transform: translateY(-10px); border-color: rgba(255, 119, 1, 0.45); background: rgba(255, 255, 255, 0.8); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); }
/* irmãos esmaecem */
.service-grid:hover .service-card:not(:hover) { opacity: 0.5; }

.service-num {
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  font-weight: 800; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(10, 14, 19, 0.3);
  transition: -webkit-text-stroke-color 0.4s;
}
.service-card:hover .service-num { -webkit-text-stroke-color: var(--orange); }
.service-name {
  font-family: var(--font-d);
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
}
.service-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.55; }
.service-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: auto; }
.service-tags li {
  font-size: 0.7rem; letter-spacing: 0.05em;
  padding: 0.4rem 0.75rem; border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border-color 0.4s, color 0.4s;
}
.service-card:hover .service-tags li { border-color: rgba(255, 119, 1, 0.35); color: var(--fg); }
.service-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.4rem; padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-d); font-weight: 600; font-size: 0.85rem;
  color: var(--fg); opacity: 0.6;
  transition: opacity 0.4s, color 0.4s;
}
.service-card:hover .service-cta { opacity: 1; color: var(--orange); }
.service-arrow { transition: transform 0.45s var(--ease-out); }
.service-card:hover .service-arrow { transform: translateX(5px); }

/* barra de progresso — só no carrossel mobile */
.service-progress { display: none; height: 2px; margin-top: 1.2rem; background: var(--line); border-radius: 999px; overflow: hidden; }
.service-progress-bar {
  display: block; height: 100%; width: 33.333%;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  border-radius: 999px;
}

/* mobile: carrossel com snap */
@media (max-width: 899px) {
  .service-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(50% - 50vw);
    padding: 0 4vw 0.5rem;
    scrollbar-width: none;
  }
  .service-grid::-webkit-scrollbar { display: none; }
  .service-card { flex: 0 0 82vw; scroll-snap-align: center; min-height: 24rem; }
  .service-grid:hover .service-card:not(:hover) { opacity: 1; }
  .service-progress { display: block; }
}

/* ---------- cases ---------- */
.cases { padding: 20vh 0 12vh; }
.cases-note { margin-top: 1.4rem; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--teal); }
.cases-stack { margin-top: 6rem; display: flex; flex-direction: column; gap: 4rem; }
.case-card {
  position: sticky;
  top: 9vh;
  border-radius: 1.6rem;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  padding: clamp(1.6rem, 3.4vw, 3.2rem);
  will-change: transform;
}
.case-card-alt { top: 11vh; background: linear-gradient(160deg, #14262b, var(--ink-2)); }
.case-card-alt2 { top: 13vh; background: linear-gradient(160deg, #2b1c10, var(--ink-2)); }
.case-card-alt3 { top: 15vh; background: linear-gradient(160deg, #241a2b, var(--ink-2)); }
.case-head { display: flex; align-items: baseline; gap: 1.6rem; flex-wrap: wrap; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.case-num {
  font-family: var(--font-d); font-weight: 800; font-size: 2rem;
  color: transparent; -webkit-text-stroke: 1px rgba(244, 239, 230, 0.4);
}
.case-head h3 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); flex: 1; min-width: 240px; }
.case-tag {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid rgba(255, 196, 0, 0.35);
  padding: 0.45rem 0.9rem; border-radius: 999px;
  white-space: nowrap;
}
.case-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2.6rem; padding-top: 2.2rem; }
.case-cols { display: grid; gap: 1.8rem; align-content: start; }
.case-cols h4 {
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.5rem; font-weight: 600;
}
.case-cols p { color: rgba(244, 239, 230, 0.78); font-size: 0.98rem; max-width: 52ch; }
.case-media {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--ink);
  min-height: 260px;
  position: relative;
  max-width: 100%;
}
.case-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.case-card:hover .case-media img { transform: scale(1.04); }
@media (max-width: 899px) {
  .case-body { grid-template-columns: 1fr; }
  .case-card, .case-card-alt, .case-card-alt2, .case-card-alt3 { position: relative; top: 0; }
  .case-media { min-height: 200px; aspect-ratio: 16 / 9; }
}

/* ---------- clientes ---------- */
.clients-section { padding: 16vh 0; }
.clients { }
.clients-title { width: min(92vw, 1360px); margin-inline: auto; margin-bottom: 3rem; }
.clients-marquee { border-block: 1px solid var(--line); padding: 2.8rem 0; }
.clients-marquee .marquee-track { animation-duration: 55s; }
.clients-marquee:hover .marquee-track { animation-play-state: paused; }
.logo-group { display: inline-flex; flex: none; align-items: center; gap: clamp(2.6rem, 5vw, 4.6rem); padding-right: clamp(2.6rem, 5vw, 4.6rem); }
.logo-img {
  height: 42px; width: auto; flex: none;
  object-fit: contain;
  opacity: 0.82;
  filter: saturate(0.92);
  transition: opacity 0.4s, filter 0.4s, transform 0.4s var(--ease-out);
}
.logo-img:hover { opacity: 1; filter: saturate(1.08); transform: scale(1.06); }

/* ---------- tripulação ---------- */
.crew { padding: 20vh 0; }
.crew .section-title { max-width: 24ch; }
.crew-sub { margin-top: 2rem; color: var(--muted); max-width: 52ch; }
.crew-grid { margin-top: 5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem; }
.crew-card figcaption { margin-top: 1.1rem; }
.crew-card figcaption strong { font-family: var(--font-d); font-size: 1.08rem; letter-spacing: -0.01em; display: block; }
.crew-card figcaption span { font-size: 0.85rem; color: var(--muted); }
.crew-card figcaption em { font-style: normal; font-size: 0.72rem; color: var(--teal); }
.crew-photo {
  position: relative;
  isolation: isolate; /* mantém o blend do sol dentro da foto */
  aspect-ratio: 1 / 1.08;
  border-radius: 1.2rem;
  overflow: hidden;
  background: var(--ink-3);
  will-change: transform; /* a deriva magnética é do GSAP — sem transition aqui */
}
.crew-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 32%;
  filter: grayscale(0.18) contrast(1.02);
  transition: filter 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}
.crew-card:hover .crew-photo img {
  filter: saturate(1.06) brightness(1.03);
  transform: scale(1.05);
}
/* o sol: núcleo quente + halo, seguindo o cursor */
.crew-photo::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(130px circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 252, 238, 1), rgba(255, 216, 130, 0.62) 42%, transparent 72%),
    radial-gradient(290px circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 138, 18, 0.42), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.55s var(--ease-out);
}
@media (hover: none) and (pointer: coarse) {
  .crew-photo {
    --mx: 92%;
    --my: 8%;
  }
}
.crew-card:hover .crew-photo::after { opacity: 1; }
/* ---------- contato ---------- */
.contact { padding-top: 16vh; position: relative; }
.contact-marquee {
  font-family: var(--font-d); font-size: clamp(1.1rem, 2.4vw, 1.8rem); font-weight: 600;
  letter-spacing: 0.02em; color: var(--muted);
  border-block: 1px solid var(--line);
  padding: 1.6rem 0;
}
.contact-inner { padding: 12vh 0 10vh; text-align: center; }
.contact-lead {
  font-family: var(--font-d);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
  color: var(--fg);
  margin-bottom: clamp(1.5rem, 3vw, 2.8rem);
}
.contact-giant { display: inline-block; }
.contact-giant-line {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(4rem, 14vw, 13rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 0.98;
  transition: letter-spacing 0.6s var(--ease-out);
}
.contact-giant:hover .contact-giant-line { letter-spacing: -0.015em; }
.contact-info {
  margin-top: 7rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem;
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}
.contact-info h4 { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.8rem; }
.contact-info a { border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color 0.3s, border-color 0.3s; }
.contact-info a:hover { color: var(--yellow); border-color: var(--yellow); }
.contact-info em { font-style: normal; font-size: 0.75rem; color: var(--teal); }
.contact-social { display: flex; gap: 1rem; flex-wrap: wrap; }

.footer {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem 3rem; flex-wrap: wrap;
  padding-block: 2.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--muted);
}
.footer-left { display: flex; flex-direction: column; gap: 0.7rem; max-width: 75ch; }
.footer-right { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-end; text-align: right; }
.footer-legal { font-size: 0.74rem; line-height: 1.7; opacity: 0.85; }
.footer-legal a, .footer-left a { color: var(--fg); border-bottom: 1px solid var(--line); transition: color 0.3s, border-color 0.3s; }
.footer-legal a:hover { color: var(--orange); border-color: var(--orange); }
.footer-dot { padding: 0 0.5rem; opacity: 0.5; }
.footer-top { color: var(--fg); }
.footer-top:hover { color: var(--orange); }
@media (max-width: 640px) {
  .footer-right { align-items: flex-start; text-align: left; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .marquee-track, .video-ph-bg { animation: none !important; }
  html { scroll-behavior: auto; }
}
