/* === GOTHAM WEBFONT ===
   A licença desktop da Gotham (Hoefler&Co) NÃO permite hospedar os .otf no site.
   Com a licença WEB, coloque os .woff2 em assets/fonts/ com estes nomes e a Gotham entra sozinha.
   Até lá: quem tiver Gotham instalada vê Gotham (local); os demais veem Montserrat. */
@font-face { font-family: 'Gotham'; font-weight: 300; font-style: normal; font-display: swap; src: local('Gotham Light'), local('Gotham-Light'), url('assets/fonts/Gotham-Light.woff2') format('woff2'); }
@font-face { font-family: 'Gotham'; font-weight: 400; font-style: normal; font-display: swap; src: local('Gotham Book'), local('Gotham-Book'), url('assets/fonts/Gotham-Book.woff2') format('woff2'); }
@font-face { font-family: 'Gotham'; font-weight: 400; font-style: italic; font-display: swap; src: local('Gotham Book Italic'), local('Gotham-BookItalic'), url('assets/fonts/Gotham-BookItalic.woff2') format('woff2'); }
@font-face { font-family: 'Gotham'; font-weight: 500 600; font-style: normal; font-display: swap; src: local('Gotham Medium'), local('Gotham-Medium'), url('assets/fonts/Gotham-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Gotham'; font-weight: 700; font-style: normal; font-display: swap; src: local('Gotham Bold'), local('Gotham-Bold'), url('assets/fonts/Gotham-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Gotham'; font-weight: 800 900; font-style: normal; font-display: swap; src: local('Gotham Black'), local('Gotham-Black'), url('assets/fonts/Gotham-Black.woff2') format('woff2'); }
/* === FIM GOTHAM === */
/* ==========================================================================
   VISIVO — design tokens
   Laranja extraído da logo: #FC7F10
   ========================================================================== */
:root {
  --black: #0E0E0E;
  --black-2: #161616;
  --black-3: #1f1f1f;
  --white: #ffffff;
  --paper: #EEEBE5;
  --paper-2: #E2DED6;
  --ink: #0E0E0E;
  --mute-dark: #8a8a8a;   /* texto secundário sobre preto */
  --mute-light: #9b9b98;  /* texto secundário sobre claro */
  --orange: #FC7F10;
  --orange-deep: #FC7207;

  --font: 'Gotham', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --grad: linear-gradient(135deg, #FDA322 0%, #FC7207 100%);
  --grad-h: linear-gradient(90deg, #FDA322 0%, #FC7207 100%);
  --pad: clamp(20px, 3vw, 48px);
  --radius: 20px;
  --radius-sm: 12px;

  --t-title: clamp(2.6rem, 5.6vw, 6rem);
  --t-body: clamp(1rem, .95rem + .2vw, 1.125rem);
  --t-lead: clamp(1.25rem, 1rem + 1vw, 2rem);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body { font-family: var(--font); font-size: var(--t-body); line-height: 1.5; color: var(--ink); background: var(--black); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: normal; }
::selection { background: var(--orange); color: var(--black); }

.mute { color: var(--mute-dark); }

/* Títulos: caixa mista, tracking apertado, frase curta com ponto, segunda parte em cinza */
.title {
  font-weight: 500;
  font-size: var(--t-title);
  line-height: .95;
  letter-spacing: -.055em;
  max-width: 16ch;
}

/* ==========================================================================
   PILLS
   ========================================================================== */
.pill {
  display: inline-flex; align-items: center; gap: .6em;
  height: 44px; padding: 0 22px;
  border-radius: 999px;
  font-size: .95rem; font-weight: 500; letter-spacing: -.01em;
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, transform .15s var(--ease);
}
.pill i { font-style: normal; transition: transform .3s var(--ease); }
.pill:active { transform: scale(.97); }
.pill--light { background: var(--white); color: var(--black); }
.pill--dark { background: var(--black); color: var(--white); }
.pill--orange { background: var(--orange); color: var(--black); }
.pill--big { height: 56px; padding: 0 30px; font-size: 1.05rem; }
@media (hover: hover) {
  .pill--light:hover { background: var(--orange); }
  .pill--dark:hover { background: var(--orange); color: var(--black); }
  .pill--orange:hover { background: var(--white); }
  .pill:hover i { transform: translateX(4px); }
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  color: var(--white);
  transition: background-color .4s ease, backdrop-filter .4s ease, padding .4s var(--ease), transform .5s var(--ease);
}
.nav.is-scrolled { background: rgba(10, 10, 10, .72);   padding-block: 12px; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 34px; font-size: .95rem; }
.nav__links a { opacity: .8; transition: opacity .2s ease, color .2s ease; }
.nav__links a:hover { opacity: 1; color: var(--orange); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--black-3); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ==========================================================================
   HERO — o produto é o herói (ref: Huge, Hear AI)
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh; min-height: 640px;
  background: var(--black); color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -1;
  display: grid; place-items: center;
  perspective: 1200px;
}
.hero__media img {
  width: min(118vw, 1900px); height: auto; max-width: none;
  transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -10px + var(--sy, 0px)), 0)
             rotateY(calc(var(--mx, 0) * 5deg)) rotateX(calc(var(--my, 0) * -4deg))
             scale(var(--ss, 1));
  transition: transform .9s var(--ease);
  will-change: transform;
}
.hero__content {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(28px, 5vh, 56px);
}
.hero__word {
  font-weight: 500;
  font-size: clamp(5rem, 19vw, 21rem);
  line-height: .8;
  letter-spacing: -.075em;
  margin-left: -.05em;
  color: var(--white);
}
.hero__sub {
  margin-top: clamp(14px, 2vh, 24px);
  font-size: clamp(1.35rem, 1rem + 1.6vw, 2.75rem);
  font-weight: 500; letter-spacing: -.04em; line-height: 1.05;
  max-width: 22ch;
}
.hero__card {
  position: absolute; right: var(--pad); bottom: clamp(28px, 5vh, 56px);
  width: 230px; border-radius: 16px; overflow: hidden;
  background: var(--black-3);
  transition: transform .4s var(--ease);
}
.hero__card img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero__card span { display: flex; justify-content: space-between; padding: 12px 14px; font-size: .9rem; font-weight: 500; }
.hero__card i { font-style: normal; color: var(--orange); }
@media (hover: hover) { .hero__card:hover { transform: translateY(-4px); } .hero__card:hover img { transform: scale(1.06); } }

/* ==========================================================================
   STATEMENT + SEGMENTOS (ref: Huge "We make things that matter to brands.")
   ========================================================================== */
.statement {
  background: var(--paper); color: var(--ink);
  padding: clamp(110px, 16vh, 200px) var(--pad) clamp(80px, 10vw, 140px);
  border-radius: 28px 28px 0 0;
  margin-top: -28px; position: relative; z-index: 2;
}
.statement__text {
  font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 7.4rem);
  line-height: .95; letter-spacing: -.055em;
  max-width: 15ch;
}
.statement__text em { color: var(--orange); }
.statement__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 80px);
}
.statement__lead { max-width: 46ch; font-size: var(--t-body); color: #3a3a3a; }

.segments {
  margin-top: clamp(56px, 8vw, 110px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.segment {
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; text-align: center;
  transition: background-color .35s ease, color .35s ease;
}
.segment strong { font-size: clamp(1.25rem, 2vw, 2rem); font-weight: 500; letter-spacing: -.045em; }
.segment span { font-size: .9rem; color: #6b6b68; transition: color .35s ease; }
@media (hover: hover) {
  .segment:hover { background: var(--black); color: var(--white); }
  .segment:hover span { color: var(--orange); }
}

/* palavra a palavra: cinza -> tinta conforme o scroll */
[data-fill] .w { color: #c4c4c0; transition: color .35s ease; }
[data-fill] .w.on { color: inherit; }
[data-fill] em .w.on { color: var(--orange); }

/* ==========================================================================
   SERVIÇOS — trilho horizontal fixado (ref: Huge "Our work.", Collins)
   ========================================================================== */
.work { position: relative; background: var(--black); color: var(--white); }
.work__sticky {
  position: sticky; top: 0;
  height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 44px);
  padding-block: 90px 40px;
}
.work__head {
  padding: 0 var(--pad);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.work__hint { max-width: 30ch; font-size: 1.05rem; }
.work__track {
  display: flex; gap: 16px;
  padding: 0 var(--pad);
  width: max-content;
  will-change: transform;
}
.card {
  position: relative; flex: none;
  width: clamp(300px, 46vw, 760px);
  aspect-ratio: 4 / 3;
  max-height: 62svh;
  border-radius: var(--radius); overflow: hidden;
  background: var(--black-3); text-align: left; color: var(--white);
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,.3);
}
.card__txt {
  position: absolute; left: 28px; right: 80px; bottom: 26px; z-index: 1;
  font-size: clamp(1.4rem, 2.3vw, 2.6rem); font-weight: 500; letter-spacing: -.045em; line-height: 1;
}
.card__txt strong { font-weight: 500; }
.card__txt span { color: rgba(255,255,255,.62); }
.card__more {
  position: absolute; right: 22px; bottom: 22px; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--black); font-size: 1.5rem; line-height: 1;
  transition: background-color .3s ease, transform .4s var(--ease);
}
@media (hover: hover) {
  .card:hover img { transform: scale(1.05); }
  .card:hover .card__more { background: var(--orange); transform: rotate(90deg); }
}
.work__progress { margin: 0 var(--pad); height: 2px; background: var(--black-3); border-radius: 2px; overflow: hidden; }
.work__progress span { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ==========================================================================
   24 HORAS — comparador dia / noite
   ========================================================================== */
.night { background: var(--black); color: var(--white); padding: clamp(100px, 12vw, 180px) var(--pad); }
.night__head .title { max-width: 18ch; }
.compare {
  position: relative; margin-top: clamp(40px, 5vw, 72px);
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--black-3);
  user-select: none; touch-action: pan-y;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__day { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--white); pointer-events: none;
}
.compare__handle i {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); color: var(--black);
  display: grid; place-items: center; font-style: normal; font-size: 1.2rem;
}
.compare__tag {
  position: absolute; top: 20px; padding: 6px 14px; border-radius: 999px;
  font-size: .85rem; font-weight: 500; background: rgba(10,10,10,.6); color: var(--white);
   
}
.compare__tag--day { left: 20px; }
.compare__tag--night { right: 20px; background: var(--orange); color: var(--black); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.night__foot {
  margin-top: 36px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
}
.night__foot p { max-width: 56ch; color: #bdbdbd; }

/* ==========================================================================
   PARQUE FABRIL — coluna fixa + mídia (ref: Koto)
   ========================================================================== */
.plant {
  background: var(--paper); color: var(--ink);
  padding: clamp(100px, 12vw, 180px) var(--pad);
  border-radius: 28px 28px 0 0;
}
.plant .mute, .process .mute { color: var(--mute-light); }
.plant .title { font-size: clamp(2.4rem, 4vw, 4.4rem); max-width: none; }
.plant__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 90px); }
.plant__sticky { position: sticky; top: 110px; }
.plant__text { margin-top: 28px; max-width: 40ch; color: #3a3a3a; }
.stats { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.stats dt { font-size: clamp(2.6rem, 4.4vw, 4.6rem); font-weight: 500; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats dd { margin-top: 6px; font-size: .95rem; color: #5c5c5a; max-width: 20ch; }
.plant__list { display: flex; flex-direction: column; gap: 56px; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.shot figcaption { margin-top: 16px; font-size: clamp(1.15rem, 1.6vw, 1.6rem); letter-spacing: -.035em; line-height: 1.15; font-weight: 500; }
.shot figcaption span { color: var(--mute-light); }

/* ==========================================================================
   PROCESSO — linhas (ref: Collins, Colina)
   ========================================================================== */
.process { background: var(--paper); color: var(--ink); padding: 0 var(--pad) clamp(100px, 12vw, 180px); }
.process .title { max-width: 20ch; }
.rows { margin-top: clamp(48px, 6vw, 90px); counter-reset: r; }
.row {
  display: grid; grid-template-columns: 6fr 5fr; gap: 32px; align-items: baseline;
  padding: clamp(22px, 3vw, 40px) 0;
  border: 0;
}
.row:last-child { border: 0; }
.row h3 { font-size: clamp(2rem, 4.6vw, 5rem); font-weight: 500; letter-spacing: -.055em; line-height: 1; }
.row p { max-width: 42ch; color: #4a4a48; font-size: 1.05rem; }

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about {
  background: var(--black); color: var(--white);
  padding: clamp(100px, 12vw, 180px) var(--pad);
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 90px); align-items: start;
}
.about__img { position: sticky; top: 110px; }
.about__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about__statement {
  font-size: clamp(1.8rem, 3.2vw, 3.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.04;
}
.about [data-fill] .w { color: #3d3d3d; }
.about [data-fill] .w.on { color: var(--white); }
.acc { margin-top: clamp(48px, 6vw, 80px); }
.acc__item { border: 0; }
.acc__item:last-child { border: 0; }
.acc__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 0;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem); font-weight: 500; letter-spacing: -.04em;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary i { position: relative; width: 22px; height: 22px; flex: none; }
.acc__item summary i::before, .acc__item summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--orange); transition: transform .35s var(--ease); }
.acc__item summary i::after { transform: rotate(90deg); }
.acc__item[open] summary i::after { transform: rotate(0); }
.acc__item p, .values { padding-bottom: 28px; color: #bdbdbd; max-width: 56ch; font-size: 1.1rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; max-width: none; }
.values li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-right: 10px; vertical-align: middle; }

/* ==========================================================================
   DEPOIMENTO — campo laranja (ref: Colina "Coliners.")
   ========================================================================== */
.quote {
  background: var(--orange); color: var(--black);
  padding: clamp(100px, 12vw, 180px) var(--pad) clamp(60px, 6vw, 90px);
}
.quote__text {
  font-size: clamp(2.4rem, 5.8vw, 6.6rem); font-weight: 500; letter-spacing: -.055em; line-height: .98;
  max-width: 17ch;
  transition: opacity .35s ease, transform .5s var(--ease);
}
.quote__text.is-out { opacity: 0; transform: translateY(14px); }
.quote__foot { margin-top: clamp(48px, 6vw, 90px); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.quote__who { font-size: 1.1rem; }
.quote__who strong { font-weight: 600; margin-right: 10px; }
.quote__who span { opacity: .7; }
.quote__nav { display: flex; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(10,10,10,.25); transition: background-color .3s ease, width .4s var(--ease); }
.dot.is-on { background: var(--black); width: 36px; border-radius: 999px; }

/* ==========================================================================
   CONTATO (ref: Colina "Vamos construir juntos.")
   ========================================================================== */
.contact { background: var(--black); color: var(--white); padding: clamp(100px, 12vw, 180px) var(--pad); }
.contact__grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 6vw, 110px); }
.contact__title { font-size: clamp(3rem, 7.4vw, 8rem); font-weight: 500; letter-spacing: -.065em; line-height: .9; max-width: 9ch; }
.contact__title em { color: var(--orange); }
.contact__lead { margin-top: 32px; max-width: 40ch; color: #bdbdbd; font-size: 1.1rem; }
.contact__info { margin-top: 48px; display: grid; gap: 14px; }
.contact__info li { display: flex; gap: 20px; font-size: 1.05rem; }
.contact__info li > span:first-child { width: 110px; color: var(--mute-dark); flex: none; }
.contact__info a { border: 0; transition: border-color .2s ease, color .2s ease; }
.contact__info a:hover { color: var(--orange); border-color: var(--orange); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: .9rem; color: var(--mute-dark); }
.field input, .field textarea {
  background: var(--black-2); border-radius: 14px;
  padding: 16px 18px; font-size: 1.05rem; color: var(--white);
  outline: 1px solid transparent; transition: outline-color .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline-color: var(--orange); background: var(--black-3); }
.field input.is-bad { outline-color: #ff5a4a; }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin-top: 8px; }
.chips legend { font-size: .9rem; color: var(--mute-dark); margin-bottom: 10px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--black-2); font-size: .95rem; transition: background-color .2s ease, color .2s ease; }
.chips input:checked + span { background: var(--orange); color: var(--black); }
.chips input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.form .pill--big { grid-column: 1 / -1; justify-content: center; margin-top: 10px; }
.form__ok { grid-column: 1 / -1; color: var(--orange); font-weight: 500; }

/* ==========================================================================
   FOOTER — palavra gigante cortada (ref: Huge, Stark, Ivory)
   ========================================================================== */
.footer { background: var(--black); color: var(--white); padding: 0 var(--pad); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 0; border: 0; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; font-size: .95rem; }
.footer__links a { color: #bdbdbd; transition: color .2s ease; }
.footer__links a:hover { color: var(--orange); }
.footer__legal { font-size: .9rem; color: var(--mute-dark); }
.footer__word {
  font-size: 30.5vw; font-weight: 600; letter-spacing: -.08em; line-height: .78;
  color: var(--orange);
  margin: 2vw 0 -6.4vw -.04em;
  white-space: nowrap; user-select: none;
}

/* WhatsApp */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange); color: var(--black);
  
  transition: transform .3s var(--ease), opacity .3s ease;
}
.wa:hover { transform: scale(1.08); }
.wa.is-hidden { opacity: 0; pointer-events: none; transform: scale(.8); }

/* ==========================================================================
   DRAWER
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .4s ease; }
.drawer__panel {
  position: absolute; top: 12px; right: 12px; bottom: 12px;
  width: min(620px, calc(100% - 24px));
  background: var(--black-2); color: var(--white);
  border-radius: var(--radius); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(calc(100% + 24px)); transition: transform .6s var(--ease);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close {
  position: sticky; top: 16px; float: right; margin: 16px 16px 0 0; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--black); font-size: 1.6rem; line-height: 1;
}
.drawer__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-top: -60px; }
.drawer__body { padding: 32px; }
.drawer__title { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.drawer__title span { color: var(--mute-dark); }
.drawer__desc { margin-top: 20px; color: #c9c9c9; font-size: 1.05rem; }
.drawer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; }
.drawer__cols h4 { font-size: 1rem; font-weight: 600; color: var(--orange); margin-bottom: 12px; }
.drawer__cols li { font-size: .95rem; color: #d6d6d6; padding: 8px 0; border: 0; }
.drawer .pill--big { width: 100%; justify-content: center; }

/* ==========================================================================
   MOTION (com fallback: sem JS ou com reduced-motion, tudo visível)
   ========================================================================== */
.reveal-line { display: block; overflow: hidden; padding-bottom: .04em; }
.reveal-line > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal-line > span { transform: translateY(105%); animation: lineUp 1.2s var(--ease) .15s forwards; }
  .js .reveal-up { opacity: 0; transform: translateY(24px); animation: up 1s var(--ease) var(--d, 0s) forwards; }
  .js .hero__media img { animation: heroIn 2s var(--ease) both; }
  .js [data-in] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--stagger, 0s); }
  .js [data-in].is-in { opacity: 1; transform: none; }
}
@keyframes lineUp { to { transform: none; } }
@keyframes up { to { opacity: 1; transform: none; } }
@keyframes heroIn { from { opacity: 0; filter: blur(18px); } to { opacity: 1; filter: none; } }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1000px) {
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 8px;
    padding: 0 var(--pad);
    background: var(--black);
    font-size: 2.6rem; font-weight: 500; letter-spacing: -.05em;
    opacity: 0; pointer-events: none; transition: opacity .4s ease;
  }
  .nav__links a { opacity: 1; }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__burger { display: block; }
  .segments { grid-template-columns: repeat(2, 1fr); }
  .plant__grid, .about, .contact__grid { grid-template-columns: 1fr; }
  .plant__sticky, .about__img { position: static; }
  .about__img img { aspect-ratio: 16 / 11; }
}

@media (max-width: 760px) {
  .nav .pill--light { display: none; }
  .nav__logo img { height: 26px; }
  .hero__media { place-items: start center; padding-top: 70px; }
  .hero__media img { width: 175vw; margin-left: 8vw; }
  .hero__word { font-size: 25vw; }
  .hero__card { display: none; }
  .statement { padding-top: 90px; }
  .segment { aspect-ratio: auto; padding: 26px 12px; }

  /* serviços: sem pin, trilho com swipe nativo */
  .work__sticky { position: static; height: auto; padding-block: 90px 60px; }
  .work__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; transform: none !important; }
  .work__track::-webkit-scrollbar { display: none; }
  .card { width: 84vw; aspect-ratio: 4 / 5; max-height: none; scroll-snap-align: center; }
  .card__txt { left: 20px; right: 70px; bottom: 20px; font-size: 1.5rem; }
  .work__progress { display: none; }

  .compare { aspect-ratio: 4 / 5; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .values, .drawer__cols, .form { grid-template-columns: 1fr; }
  .quote__foot { flex-direction: column; align-items: flex-start; }
  .contact__info li { flex-direction: column; gap: 2px; }
  .footer__word { font-size: 31vw; }
}


/* ==========================================================================
   SITE INSTITUCIONAL — páginas internas
   ========================================================================== */

/* hero: fundo igual ao preto da imagem + bordas esfumadas (sem "caixa" visível) */
.hero { background: #000; }
.hero__media img {
  
          
}

.nav__links a[aria-current="page"] { opacity: 1; color: var(--orange); }

/* segmentos clicáveis na home */
.segment { padding: 0; }
.segment > a { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 20px 12px; }
.plant__more { margin-top: 40px; }

/* mini equipe no "sobre" da home */
.about__team { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 40px 0 36px; }
.about__team li { display: flex; align-items: center; gap: 10px; font-size: 1rem; color: #d6d6d6; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--black-3); color: var(--orange); display: grid; place-items: center; font-size: .85rem; font-weight: 600; letter-spacing: -.02em; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero de página interna ---------- */
.phero { background: var(--black); color: var(--white); padding: clamp(140px, 20vh, 220px) var(--pad) clamp(60px, 7vw, 100px); }
.phero__title { font-size: clamp(2.6rem, 6vw, 6.6rem); font-weight: 500; letter-spacing: -.06em; line-height: .92; max-width: 18ch; }
.phero__lead { margin-top: clamp(28px, 3vw, 44px); max-width: 52ch; font-size: var(--t-lead); letter-spacing: -.03em; line-height: 1.25; color: #cfcfcf; }
.phero__img { margin-top: clamp(48px, 6vw, 90px); border-radius: var(--radius); overflow: hidden; }
.phero__img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.crumb { display: inline-block; margin-bottom: 28px; font-size: .95rem; color: var(--mute-dark); transition: color .2s ease; }
.crumb:hover { color: var(--orange); }

/* ---------- grade de serviços ---------- */
.sgrid { background: var(--black); padding: 0 var(--pad) clamp(100px, 10vw, 160px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
a.card { display: block; }
.card--grid { width: auto; max-height: none; aspect-ratio: 4 / 3; }
.card--small { width: clamp(260px, 26vw, 400px); max-height: none; aspect-ratio: 4 / 5; }
.card--small .card__txt { font-size: clamp(1.2rem, 1.6vw, 1.6rem); left: 22px; bottom: 22px; right: 70px; }

.process--dark { background: var(--black); color: var(--white); padding-top: clamp(40px, 5vw, 80px); }
.process--dark .mute { color: var(--mute-dark); }
.process--dark .row { border-color: #262626; }
.process--dark .row p { color: #bdbdbd; }

/* ---------- faixa de CTA ---------- */
.cta-band { background: var(--orange); color: var(--black); padding: clamp(80px, 10vw, 150px) var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta-band__title { font-size: clamp(2.4rem, 5.4vw, 6rem); font-weight: 500; letter-spacing: -.06em; line-height: .95; max-width: 15ch; }
.cta-band .mute { color: rgba(10,10,10,.55); }
.cta-band .pill--orange { background: var(--black); color: var(--white); }
@media (hover: hover) { .cta-band .pill--orange:hover { background: var(--white); color: var(--black); } }

/* ---------- página de serviço ---------- */
.svc { background: var(--paper); color: var(--ink); padding: clamp(100px, 12vw, 180px) var(--pad); border-radius: 28px 28px 0 0; }
.svc__intro { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.svc__lead { font-size: clamp(1.8rem, 3.4vw, 3.6rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.04; }
.svc__desc p { color: #3a3a3a; font-size: 1.1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tags li { padding: 8px 16px; border-radius: 999px; background: var(--paper-2); font-size: .92rem; }
.svc__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(64px, 8vw, 120px); }
.svc__cols > div { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); }
.svc__cols h2 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); font-weight: 500; letter-spacing: -.045em; margin-bottom: 20px; }
.svc__cols li { padding: 14px 0; border: 0; font-size: 1.05rem; display: flex; gap: 12px; }
.svc__cols li::before { content: ''; width: 7px; height: 7px; margin-top: .55em; border-radius: 50%; background: var(--orange); flex: none; }

.faq { background: var(--paper); color: var(--ink); padding: 0 var(--pad) clamp(100px, 12vw, 180px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 90px); }
.faq .title { font-size: clamp(2.2rem, 4vw, 4.4rem); }
.acc--light { margin-top: 0; }
.acc--light .acc__item { border-color: #d6d6d2; }
.acc--light .acc__item summary { font-size: clamp(1.2rem, 1.8vw, 1.7rem); gap: 24px; }
.acc--light .acc__item p { color: #4a4a48; }

.more { background: var(--black); color: var(--white); padding: clamp(100px, 10vw, 160px) 0 clamp(80px, 8vw, 120px); }
.more__head { padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.more__head .title { font-size: clamp(2.2rem, 4vw, 4.4rem); }
.more__rail { display: flex; gap: 14px; overflow-x: auto; padding: 0 var(--pad) 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.more__rail .card { scroll-snap-align: start; }

/* ---------- segmentos ---------- */
.seglist { background: var(--paper); color: var(--ink); padding: clamp(80px, 10vw, 150px) var(--pad); border-radius: 28px 28px 0 0; }
.segrow { display: grid; grid-template-columns: 6fr 5fr; gap: 32px; padding: clamp(28px, 3.4vw, 48px) 0; border: 0; scroll-margin-top: 100px; transition: padding-left .5s var(--ease); }
.segrow:last-child { border: 0; }
.segrow h2 { font-size: clamp(2.2rem, 5vw, 5.4rem); font-weight: 500; letter-spacing: -.06em; line-height: .95; transition: color .3s ease; }
.segrow p { font-size: 1.08rem; color: #3a3a3a; max-width: 46ch; }
.segrow__where { font-weight: 500; color: var(--ink) !important; margin-bottom: 8px; }
@media (hover: hover) { .segrow:hover { padding-left: 18px; } .segrow:hover h2 { color: var(--orange); } }

/* ---------- parque fabril (página) ---------- */
.plant--flat { border-radius: 28px 28px 0 0; }

/* ---------- quem somos ---------- */
.about--page { padding-top: 0; }
.about__p { margin-top: 32px; color: #bdbdbd; font-size: 1.1rem; max-width: 56ch; }

.team { background: var(--paper); color: var(--ink); padding: clamp(100px, 12vw, 180px) var(--pad); border-radius: 28px 28px 0 0; scroll-margin-top: 60px; }
.team .mute { color: var(--mute-light); }
.team__group { margin: clamp(56px, 6vw, 90px) 0 20px; font-size: 1rem; font-weight: 500; color: #5c5c5a; }
.team__grid { display: grid; gap: 16px; }
.team__grid--4 { grid-template-columns: repeat(4, 1fr); }
.team__grid--crew { grid-template-columns: repeat(4, 1fr); }
.member__photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: var(--paper-2);
  display: grid; place-items: center;
  transition: background-color .4s ease;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s ease, transform 1s var(--ease); }
.member__photo span { font-size: clamp(3rem, 6vw, 6rem); font-weight: 500; letter-spacing: -.06em; color: #b9b9b5; transition: color .4s ease; }
.member--big .member__photo { background: var(--black); }
.member--big .member__photo span { color: #3a3a3a; }
.member__name { margin-top: 16px; font-size: clamp(1.2rem, 1.6vw, 1.6rem); font-weight: 500; letter-spacing: -.04em; }
.member__role { margin-top: 2px; color: var(--mute-light); }
@media (hover: hover) {
  .member:hover .member__photo span { color: var(--orange); }
  .member:hover .member__photo img { filter: none; transform: scale(1.03); }
}

.place { background: var(--paper); color: var(--ink); padding: 0 var(--pad) clamp(100px, 12vw, 180px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 90px); align-items: stretch; }
.place .mute { color: var(--mute-light); }
.place__addr { font-style: normal; margin: 28px 0 32px; font-size: var(--t-lead); letter-spacing: -.03em; line-height: 1.3; }
.place__hours { margin: -16px 0 32px; color: var(--mute-dark); }
.place__map { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--paper-2); }
.place__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) contrast(1.05); }
.place--dark { background: var(--black); color: var(--white); padding-top: clamp(40px, 5vw, 80px); }
.place--dark .mute { color: var(--mute-dark); }
.place--dark .place__map iframe { filter: grayscale(1) invert(.92) contrast(.9); }

.contact-page .contact { padding-top: clamp(140px, 20vh, 220px); }

/* ---------- rodapé institucional ---------- */
.footer__cols { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 32px; padding: clamp(72px, 8vw, 120px) 0 56px; border: 0; }
.footer__claim { font-size: clamp(1.6rem, 2.6vw, 2.6rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.05; max-width: 14ch; margin-bottom: 28px; }
.footer__cols h4 { font-size: .9rem; font-weight: 500; color: var(--mute-dark); margin-bottom: 16px; }
.footer__cols li { padding: 4px 0; }
.footer__cols a { color: #d6d6d6; transition: color .2s ease; }
.footer__cols a:hover { color: var(--orange); }
.footer__cols address { font-style: normal; line-height: 1.5; }
.footer__contact { margin-top: 16px; }
.footer__top { border: 0; }
.footer__up { font-size: .9rem; color: var(--mute-dark); transition: color .2s ease; }
.footer__up:hover { color: var(--orange); }
.footer__word { margin-bottom: -4.6vw; }

@media (max-width: 1000px) {
  .sgrid { grid-template-columns: 1fr; }
  .svc__intro, .faq, .place { grid-template-columns: 1fr; }
  .team__grid--4, .team__grid--crew { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero__media { place-items: start start; }
  .hero__media img { width: 165vw; margin-left: -34vw; }
  .phero__img img { aspect-ratio: 4 / 3; }
  .phero__title { font-size: 11vw; }
  .svc__cols { grid-template-columns: 1fr; }
  .segrow { grid-template-columns: 1fr; gap: 12px; }
  .more__head { flex-direction: column; align-items: flex-start; }
  .card--small { width: 72vw; }
  .about__team { display: none; }
  .place__map, .place__map iframe { min-height: 320px; }
}
