/* ==========================================================================
   Alliance Detalhamento Premium — layout v1
   Paleta: preto / grafite / platina. Tipografia: Archivo (eixo de largura).
   ========================================================================== */

:root {
  --bg: #070708;
  --bg-2: #0c0c0e;
  --graphite: #131316;
  --graphite-2: #1a1a1e;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .18);
  --text: #edecea;
  --text-2: #a6a6aa;
  --muted: #64656a;
  --wa: #25d366;

  --f: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --pad: clamp(20px, 4.2vw, 72px);
  --maxw: 1480px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--text); color: var(--bg); }
:focus-visible { outline: 1px solid var(--text); outline-offset: 4px; }

.container { width: min(100% - var(--pad) * 2, var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(110px, 14vw, 220px); }

/* ---------- Tipografia base ---------- */
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 400; font-stretch: 115%;
  letter-spacing: .32em; text-transform: uppercase; color: var(--text-2);
  line-height: 1;
}
.label i { font-style: normal; color: var(--text); font-weight: 500; }
.label::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .45; order: 1; }

.h2 {
  font-stretch: 125%; font-weight: 250; text-transform: uppercase;
  font-size: clamp(30px, 4.3vw, 66px); line-height: 1.02; letter-spacing: -.005em;
  margin-top: 30px;
}
.h2 strong, .hero__title strong, .statement__title strong, .cta__title strong { font-weight: 600; }
.dim { color: var(--muted); }

.line { display: block; overflow: hidden; padding: .12em 0 .04em; margin: -.12em 0 -.04em; }
.line > span { display: block; }

.section-head { display: grid; gap: 0; max-width: 980px; margin-bottom: clamp(56px, 7vw, 110px); }
.section-head__text { margin-top: 28px; max-width: 460px; color: var(--text-2); }
.section-head--split {
  max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 40px;
}
.section-head--split .section-head__text { margin: 0; max-width: 360px; }

/* ---------- Botões / links ---------- */
.btn {
  --h: 58px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 30px;
  font-size: 11px; font-weight: 500; font-stretch: 112%;
  letter-spacing: .24em; text-transform: uppercase; white-space: nowrap;
  color: var(--text); border: 1px solid var(--line-2);
  transition: color .7s var(--ease), border-color .7s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--text); transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .7s var(--ease);
}
.btn:hover { color: var(--bg); border-color: var(--text); }
.btn:hover::before { transform: scaleY(1); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--light { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--light::before { background: var(--bg); }
.btn--light:hover { color: var(--text); border-color: var(--line-2); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 10.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; font-stretch: 112%; letter-spacing: .24em; text-transform: uppercase;
  padding: 8px 0; position: relative;
}
.link-arrow svg { width: 22px; height: 22px; transition: transform .6s var(--ease); }
.link-arrow:hover svg { transform: translateX(8px); }
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 36px; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }

.link-underline { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; color: var(--text); transition: background-size .6s var(--ease); }
.link-underline:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Preloader ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center;
  animation: pre-failsafe .6s 7s forwards; /* nunca prende a tela se o JS falhar */
}
@keyframes pre-failsafe { to { opacity: 0; visibility: hidden; } }
.preloader__inner { display: grid; justify-items: center; gap: 28px; }
.preloader__emblem { width: 64px; height: 64px; animation: pre-in 1.2s var(--ease) both; }
.preloader__bar { width: 160px; height: 1px; background: var(--line-2); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--text); transform: scaleX(0); transform-origin: left; }
.preloader__text {
  font-size: 10px; letter-spacing: .5em; text-transform: uppercase; font-stretch: 120%; color: var(--text-2);
  animation: pre-in 1.2s .15s var(--ease) both;
}
@keyframes pre-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none;
  opacity: 0; transition: opacity .4s; mix-blend-mode: difference;
}
.cursor.is-visible { opacity: 1; }
.cursor__dot {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; transition: transform .6s var(--ease);
}
.cursor.is-link .cursor__dot { transform: scale(4.6); }
.cursor.is-label { mix-blend-mode: normal; }
.cursor.is-label .cursor__dot { transform: scale(8.8); }
.cursor__label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  font-size: 9.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-stretch: 115%;
  color: var(--bg); opacity: 0; transition: opacity .3s; white-space: nowrap;
}
.cursor.is-label .cursor__label { opacity: 1; transition-delay: .15s; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 92px; padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: transform .8s var(--ease), height .6s var(--ease), background-color .6s, border-color .6s, backdrop-filter .6s;
}
.header.is-scrolled {
  height: 74px; background: rgba(7, 7, 8, .72);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__logo img { height: 37px; width: auto; }
.nav { display: flex; gap: clamp(22px, 2.8vw, 48px); }
.nav a {
  position: relative; padding: 6px 0;
  font-size: 11px; font-weight: 400; font-stretch: 115%; letter-spacing: .26em; text-transform: uppercase;
  color: var(--text-2); transition: color .4s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--text);
  transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__right { display: flex; align-items: center; gap: 16px; }

.burger { display: none; position: relative; width: 44px; height: 44px; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1px; background: var(--text); transition: transform .6s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.menu-open .header { transform: none; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- Menu mobile ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 130px var(--pad) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 1s var(--ease-io), visibility 0s 1s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 1s var(--ease-io), visibility 0s; }
.menu__nav { display: grid; gap: 6px; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 18px;
  font-size: clamp(34px, 9vw, 64px); font-weight: 250; font-stretch: 125%; text-transform: uppercase; line-height: 1.15;
}
.menu__nav a i { font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.menu__foot { display: grid; gap: 8px; font-size: 13px; color: var(--text-2); border-top: 1px solid var(--line); padding-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--bg); }
.hero__shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,7,8,.6) 0%, rgba(7,7,8,0) 24%, rgba(7,7,8,0) 42%, rgba(7,7,8,.9) 100%),
    linear-gradient(90deg, rgba(7,7,8,.7) 0%, rgba(7,7,8,0) 62%);
}
.hero__sheen {
  position: absolute; inset: -30% -10%; z-index: 4; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.18) 49%, rgba(255,255,255,.28) 50%, rgba(255,255,255,.18) 51%, transparent 58%);
  transform: translateX(-70%);
  animation: sheen 10s var(--ease-io) 4s infinite;
}
@keyframes sheen { 0% { transform: translateX(-70%); } 35%, 100% { transform: translateX(70%); } }

.hero__content { position: relative; z-index: 5; padding-bottom: clamp(130px, 17vh, 190px); }
.hero__eyebrow {
  display: flex; align-items: center; gap: 18px; margin-bottom: 30px;
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase; font-stretch: 115%; color: var(--text-2);
}
.hero__eyebrow::before { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .5; }
.hero__eyebrow span { color: var(--muted); letter-spacing: .2em; }
.hero__title {
  font-size: clamp(34px, 6.4vw, 112px); font-weight: 200; font-stretch: 125%;
  line-height: .98; letter-spacing: -.01em; text-transform: uppercase;
}
.hero__lead { max-width: 450px; margin: 34px 0 42px; color: var(--text-2); font-size: clamp(15px, 1.05vw, 17px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__foot { position: absolute; inset: auto 0 0; z-index: 5; padding-bottom: 34px; }
.hero__foot-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border-top: 1px solid var(--line); padding-top: 22px;
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; font-stretch: 115%; color: var(--text-2);
}
.hero__services { display: flex; align-items: center; gap: 14px; }
.hero__services i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue i { position: relative; width: 1px; height: 34px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--text);
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); padding: 30px 0; overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; will-change: transform; }
.ticker__group { display: inline-flex; }
.ticker__item {
  display: inline-flex; align-items: center; gap: clamp(28px, 3.4vw, 56px); padding-right: clamp(28px, 3.4vw, 56px);
  font-size: clamp(28px, 4vw, 62px); font-weight: 200; font-stretch: 125%; text-transform: uppercase; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(237, 236, 234, .32);
}
.ticker__item b { font-weight: 500; color: var(--text); -webkit-text-stroke: 0; }
.ticker__item img { width: .62em; height: .62em; opacity: .5; }

/* ---------- Sobre ---------- */
.about { padding-bottom: clamp(90px, 10vw, 160px); }
.about__top { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: 40px; margin-bottom: clamp(80px, 10vw, 160px); }
.about__top .label { align-self: start; margin-top: .9em; }
.about__statement {
  font-size: clamp(26px, 3.25vw, 50px); font-weight: 300; line-height: 1.22; letter-spacing: -.012em;
  color: var(--text);
}
.about__statement strong { font-weight: 500; }
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); row-gap: 60px; }
.about__img { position: relative; overflow: hidden; background: var(--graphite); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { grid-column: 1 / 7; grid-row: 1; aspect-ratio: 4 / 5; }
.about__text { grid-column: 8 / 13; grid-row: 1; display: grid; gap: 22px; color: var(--text-2); max-width: 520px; align-self: center; }
.about__quote { color: var(--text); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; padding-left: 22px; border-left: 1px solid var(--line-2); margin-top: 10px; }
.about__sign { display: flex; align-items: center; gap: 18px; margin-top: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.about__sign img { width: 42px; height: 42px; opacity: .9; }
.about__sign strong { display: block; color: var(--text); font-weight: 500; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-stretch: 115%; }
.about__sign span { font-size: 14px; }

.parallax img { position: absolute; inset: -9% 0; height: 118%; }

/* ---------- Diferenciais ---------- */
.pillars { padding-bottom: clamp(40px, 4vw, 70px); }
.pillars__head { margin-bottom: clamp(56px, 6vw, 90px); }
.pillars__list { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.pillar {
  position: relative; padding: 38px 30px 46px 0; display: grid; align-content: start; gap: 14px;
  border-right: 1px solid var(--line); padding-left: 26px;
}
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: 0; }
.pillar::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--text);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease);
}
.pillar:hover::before { transform: scaleX(1); }
.pillar__num { font-size: 11px; letter-spacing: .24em; color: var(--muted); font-stretch: 115%; margin-bottom: 28px; }
.pillar h3 { font-size: 15px; font-weight: 500; font-stretch: 118%; text-transform: uppercase; letter-spacing: .06em; line-height: 1.35; }
.pillar p { font-size: 14.5px; color: var(--text-2); line-height: 1.65; }

/* ---------- Serviços ---------- */
.services { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.services__list { border-top: 1px solid var(--line); }
.service {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 0 12px;
  padding: clamp(28px, 3.6vh, 44px) 0; border-bottom: 1px solid var(--line);
  opacity: .32; transition: opacity .7s var(--ease);
}
.service::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--text);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease);
}
.service.is-active, .service:hover { opacity: 1; }
.service.is-active::before { transform: scaleX(1); }
.service__media { display: none; }
.service__num { font-size: 11px; letter-spacing: .2em; color: var(--text-2); padding-top: .9em; font-stretch: 115%; }
.service__title { font-size: clamp(22px, 2.3vw, 36px); font-weight: 300; font-stretch: 125%; text-transform: uppercase; line-height: 1.12; letter-spacing: -.005em; }
.service__tag { margin-top: 8px; color: var(--text); font-size: 15px; }
.service__desc { margin-top: 6px; color: var(--text-2); font-size: 14.5px; max-width: 470px; }
.service .link-arrow { margin-top: 18px; }

.services__visual { position: sticky; top: 14vh; height: 72vh; }
.services__frame { position: relative; height: 100%; overflow: hidden; background: var(--graphite); }
.services__img { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 1.1s var(--ease), transform 2.2s var(--ease); }
.services__img.is-active { opacity: 1; transform: scale(1); }
.services__img img { width: 100%; height: 100%; object-fit: cover; }
.services__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,7,8,0) 55%, rgba(7,7,8,.75) 100%); }
.services__hud {
  position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2;
  display: flex; justify-content: space-between; align-items: end;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-stretch: 115%; color: var(--text-2);
}
.services__caption { color: var(--text); }
.services__count b { color: var(--text); font-weight: 500; }
.services__corner { position: absolute; z-index: 2; width: 22px; height: 22px; border: 1px solid rgba(255,255,255,.5); }
.services__corner--tl { top: 20px; left: 20px; border-right: 0; border-bottom: 0; }
.services__corner--br { top: 20px; right: 20px; border-left: 0; border-bottom: 0; }

/* ---------- Manifesto ---------- */
.statement { position: relative; height: 115vh; min-height: 680px; display: flex; align-items: center; overflow: hidden; }
.statement__bg { position: absolute; inset: 0; }
.statement__bg video { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) brightness(.5); }
.statement__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg-2) 0%, rgba(7,7,8,.2) 30%, rgba(7,7,8,.2) 70%, var(--bg) 100%), linear-gradient(90deg, rgba(7,7,8,.55) 0%, rgba(7,7,8,0) 70%); }
.statement__content { position: relative; z-index: 2; }
.statement__title {
  margin-top: 30px; font-size: clamp(26px, 5.8vw, 108px); font-weight: 200; font-stretch: 125%;
  text-transform: uppercase; line-height: .98; letter-spacing: -.012em;
}

/* ---------- Processo ---------- */
.process { position: relative; background: var(--bg); }
.process__pin { position: relative; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.process__rail { display: flex; align-items: center; gap: clamp(40px, 5vw, 90px); padding: 0 var(--pad); will-change: transform; }
.process__intro { flex: none; width: min(34vw, 520px); }
.process__intro p { margin-top: 28px; color: var(--text-2); max-width: 400px; }
.process__hint { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-2); font-stretch: 115%; }
.process__hint svg { width: 22px; height: 22px; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.process__steps { display: flex; gap: clamp(24px, 2.6vw, 44px); }
.step { flex: none; width: clamp(300px, 27vw, 430px); }
.step:nth-child(even) { margin-top: 12vh; }
.step__img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--graphite); }
.step__img img { position: absolute; top: 0; left: -9%; width: 118%; max-width: none; height: 100%; object-fit: cover; filter: grayscale(.25); }
.step__meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; padding-top: 24px; }
.step__num { grid-row: span 2; font-size: clamp(38px, 3.6vw, 56px); font-weight: 200; font-stretch: 125%; line-height: .9; color: var(--muted); }
.step h3 { font-size: 15px; font-weight: 500; font-stretch: 118%; text-transform: uppercase; letter-spacing: .12em; }
.step p { color: var(--text-2); font-size: 14.5px; }
.process__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 6vh; height: 1px; background: var(--line); }
.process__progress span { display: block; height: 100%; background: var(--text); transform: scaleX(0); transform-origin: left; }

/* ---------- Galeria ---------- */
.gallery { padding-bottom: clamp(90px, 10vw, 160px); }
.gallery__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(52px, 5.4vw, 86px);
  gap: clamp(10px, 1.1vw, 16px);
}
.g { position: relative; overflow: hidden; background: var(--graphite); }
.g img {
  position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover;
  filter: grayscale(1) brightness(.78) contrast(1.05);
  transition: filter 1.2s var(--ease), scale 1.6s var(--ease);
}
.g:hover img { filter: grayscale(0) brightness(1) contrast(1); scale: 1.045; }
.g--a { grid-column: 1 / 8;  grid-row: 1 / 7; }
.g--b { grid-column: 8 / 13; grid-row: 1 / 9; }
.g--c { grid-column: 1 / 4;  grid-row: 7 / 12; }
.g--d { grid-column: 4 / 8;  grid-row: 7 / 12; }
.g--e { grid-column: 8 / 13; grid-row: 9 / 14; }
.g--f { grid-column: 1 / 8;  grid-row: 12 / 18; }
.g--g { grid-column: 8 / 13; grid-row: 14 / 18; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding-block: clamp(140px, 18vw, 260px); text-align: center; }
.cta__bg { position: absolute; inset: -12% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.42); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(7,7,8,.25), rgba(7,7,8,.85) 75%); }
.cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.cta__title { font-size: clamp(25px, 5.4vw, 92px); font-weight: 200; font-stretch: 125%; text-transform: uppercase; line-height: 1; }
.cta__inner p { margin: 30px 0 44px; max-width: 480px; color: var(--text-2); }

/* ---------- Instagram ---------- */
.insta__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.insta__head .h2 { text-transform: none; font-size: clamp(28px, 3.6vw, 56px); }
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, .9vw, 14px); }
.insta__item { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--graphite); }
.insta__item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.8); transition: filter 1s var(--ease), transform 1.4s var(--ease); }
.insta__item:hover img { filter: none; transform: scale(1.06); }
.insta__icon { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .6s var(--ease); background: rgba(7,7,8,.25); }
.insta__icon svg { width: 28px; height: 28px; }
.insta__item:hover .insta__icon { opacity: 1; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq__intro { position: sticky; top: 140px; }
.faq__intro p { margin-top: 28px; color: var(--text-2); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 30px;
  padding: 30px 0; font-size: clamp(17px, 1.35vw, 21px); font-weight: 400; transition: color .4s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: #fff; }
.plus { position: relative; flex: none; width: 16px; height: 16px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: currentColor; transition: transform .6s var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq__item.is-open .plus::after, .faq__item[open]:not(.is-closing) .plus::after { transform: rotate(0); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 60px 32px 0; color: var(--text-2); max-width: 640px; }

/* ---------- Contato ---------- */
.contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact__list { margin-top: 56px; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact__list span { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-stretch: 115%; }
.contact__list a { font-size: clamp(15px, 1.2vw, 18px); color: var(--text); transition: color .4s; }
.contact__list a:hover { color: #fff; }
.contact__actions { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact__actions .btn { padding: 0 18px; }

.quote { background: var(--graphite); border: 1px solid var(--line); padding: clamp(28px, 3.4vw, 54px); display: grid; gap: 26px; }
.quote__head h3 { font-size: clamp(18px, 1.6vw, 24px); font-weight: 400; font-stretch: 120%; text-transform: uppercase; letter-spacing: .02em; }
.quote__head p { margin-top: 10px; color: var(--text-2); font-size: 14.5px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-2); font-stretch: 115%; }
.field input, .field select {
  width: 100%; height: 48px; padding: 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: transparent; color: var(--text); font: inherit; font-size: 16px; outline: none;
  transition: border-color .4s; appearance: none; -webkit-appearance: none;
}
.field input::placeholder { color: var(--muted); }
.field input:focus, .field select:focus { border-color: var(--text); }
.field select option { background: var(--graphite); color: var(--text); }
.field--select { position: relative; }
.field--select::after { content: ""; position: absolute; right: 4px; bottom: 20px; width: 7px; height: 7px; border-right: 1px solid var(--text-2); border-bottom: 1px solid var(--text-2); transform: rotate(45deg); pointer-events: none; }
.field.is-invalid input, .field.is-invalid select { border-color: #c26a6a; }
.quote__submit { width: 100%; margin-top: 8px; }
.quote__note { font-size: 12.5px; color: var(--muted); text-align: center; }

.map { position: relative; margin-top: clamp(80px, 9vw, 140px); height: clamp(380px, 38vw, 560px); border: 1px solid var(--line); overflow: hidden; background: var(--graphite); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.88) brightness(.95); }
.map__card {
  position: absolute; left: 24px; bottom: 24px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center;
  background: rgba(7, 7, 8, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); padding: 22px 26px; max-width: calc(100% - 48px);
}
.map__card img { width: 38px; height: 38px; }
.map__card div { display: grid; gap: 2px; }
.map__card strong { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; font-stretch: 115%; }
.map__card span { font-size: 14px; color: var(--text-2); }
.map__card .link-arrow { grid-column: 1 / -1; margin-top: 10px; }

/* ---------- Footer ---------- */
.footer { position: relative; border-top: 1px solid var(--line); padding-top: clamp(80px, 9vw, 130px); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.footer__logo { height: clamp(44px, 4.4vw, 64px); width: auto; }
.footer__tagline { font-size: clamp(18px, 1.6vw, 24px); font-weight: 300; text-align: right; color: var(--text-2); line-height: 1.4; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 60px 0; }
.footer__cols h4 { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; font-stretch: 115%; color: var(--muted); margin-bottom: 20px; }
.footer__cols a, .footer__cols p { display: block; color: var(--text-2); font-size: 14.5px; line-height: 2; transition: color .4s; }
.footer__cols p + p { margin-top: 10px; }
.footer__cols a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.to-top { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); }
.to-top svg { width: 18px; height: 18px; transform: rotate(-90deg); transition: transform .6s var(--ease); }
.to-top:hover svg { transform: rotate(-90deg) translateX(5px); }
.footer__mega { line-height: .76; text-align: center; white-space: nowrap; margin-top: 10px; user-select: none; }
.footer__mega span {
  display: inline-block; font-size: 14vw; font-weight: 700; font-stretch: 125%; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 80%); -webkit-background-clip: text; background-clip: text;
}

/* ---------- WhatsApp fixo ---------- */
.wa-float { position: fixed; right: clamp(16px, 2.2vw, 32px); bottom: clamp(16px, 2.2vw, 32px); z-index: 80; display: flex; align-items: center; gap: 12px; }
.js .wa-float { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .wa-float.is-in { opacity: 1; transform: none; }
.wa-float__btn {
  position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: rgba(19, 19, 22, .72); border: 1px solid var(--line-2); color: #fff;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background-color .6s var(--ease), color .6s var(--ease), transform .6s var(--ease);
}
.wa-float__btn svg { width: 25px; height: 25px; }
.wa-float__dot { position: absolute; top: 12px; right: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--wa); border: 2px solid #131316; animation: ping 2.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } }
.wa-float__label {
  padding: 12px 18px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; font-stretch: 115%; white-space: nowrap;
  background: rgba(19, 19, 22, .72); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transform: translateX(12px); pointer-events: none; transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.wa-float:hover .wa-float__label, .wa-float.is-hint .wa-float__label { opacity: 1; transform: none; }
.wa-float:hover .wa-float__btn { background: var(--text); color: var(--bg); transform: scale(1.04); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1180px) {
  .pillars__list { grid-template-columns: repeat(3, 1fr); }
  .pillar:nth-child(3) { border-right: 0; }
  .pillar:nth-child(4) { padding-left: 0; }
  .pillar:nth-child(n+4) { border-top: 1px solid var(--line); }
  .contact__actions { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .header { height: 76px; }
  .header__logo img { height: 28px; }

  .hero__foot-inner { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }

  .about__top { grid-template-columns: 1fr; gap: 28px; }
  .about__top .label { margin-top: 0; }
  .about__grid { row-gap: 40px; }
  .about__img--main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 4.4; }
  .about__text { grid-column: 1 / -1; grid-row: auto; max-width: none; }

  .services__grid { grid-template-columns: 1fr; }
  .services__visual { display: none; }
  .service { opacity: 1; grid-template-columns: 1fr; padding: 0 0 44px; border-bottom: 0; }
  .services__list { border-top: 0; display: grid; gap: 20px; }
  .service::before { display: none; }
  .service__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 22px; background: var(--graphite); }
  .service__media img { width: 100%; height: 100%; object-fit: cover; }
  .service__num { padding-top: 0; margin-bottom: 10px; }

  .statement { height: auto; min-height: 0; padding-block: 28vh; }

  .process__pin { height: auto; display: block; padding-block: clamp(110px, 14vw, 220px); }
  .process__rail { display: block; padding: 0; }
  .process__intro { width: auto; padding: 0 var(--pad); margin-bottom: 56px; }
  .process__steps { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 10px; scrollbar-width: none; }
  .process__steps::-webkit-scrollbar { display: none; }
  .step { width: 76vw; max-width: 380px; scroll-snap-align: start; scroll-margin-left: var(--pad); }
  .step:nth-child(even) { margin-top: 0; }
  .step__img img { left: 0; width: 100%; }
  .process__progress { display: none; }
  .process__hint { display: none; }

  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .gallery { padding-bottom: clamp(90px, 10vw, 160px); }
.gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .g { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 5; }
  .g--a, .g--f { grid-column: 1 / -1 !important; aspect-ratio: 16 / 10; }
  .g img { filter: grayscale(.2) brightness(.92); }

  .insta__grid { grid-template-columns: repeat(3, 1fr); }

  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__actions { grid-template-columns: 1fr 1fr; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section-head { margin-bottom: 48px; }
  .hero__lead { margin: 24px 0 32px; }
  .hero__actions .btn { width: 100%; }
  .hero__eyebrow span { display: none; }
  .hero__services { font-size: 9.5px; letter-spacing: .22em; gap: 10px; }
  .hero__foot { display: none; }
  .hero__shade { background: linear-gradient(180deg, rgba(7,7,8,.6) 0%, rgba(7,7,8,.2) 28%, rgba(7,7,8,.72) 52%, rgba(7,7,8,.95) 100%); }
  .hero__content { padding-bottom: 96px; }
  .btn { white-space: normal; text-align: center; height: auto; min-height: 56px; padding: 15px 22px; line-height: 1.5; }

  .pillars__list { grid-template-columns: 1fr; }
  .pillar, .pillar:first-child, .pillar:nth-child(4) { padding: 30px 0 34px; border-right: 0; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: 0; }
  .pillar__num { margin-bottom: 8px; }

  .contact__list li { grid-template-columns: 1fr; gap: 6px; }
  .contact__actions { grid-template-columns: 1fr; }
  .map__card { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 18px; }

  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__tagline { text-align: left; }
  .footer__cols { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .faq__a p { padding-right: 0; }
  .wa-float__btn { width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__sheen { display: none; }
}
