/* ==========================================================
   Estilos do site
   Cores, fontes e medidas ficam nas variáveis do :root logo
   abaixo — mudar uma cor ali muda o site inteiro.
   ========================================================== */

@font-face {
  font-family: "General Sans";
  src: url("/fonts/GeneralSans-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* cores */
  --bg: #f2f2f2;          /* fundo claro principal */
  --bg-strong: #e6e6e6;   /* fundo claro mais escuro */
  --bg-subtle: #ffffff;   /* fundo claríssimo / texto claro */
  --stone: #c4c4c4;       /* linhas */
  --grey: #8f8f8f;
  --ink: #0a0a0a;         /* texto principal */
  --dark: #141414;        /* seções escuras */
  --brand: #000000;       /* cor da marca (botão Menu, destaques) */
  --brand-deep: #000000;
  --brand-soft: #6b6b6b;
  --brand-pale: #9e9e9e;
  --brand-mist: #d4d4d4;
  --brand-line: #333333;
  --line-light: rgba(196, 196, 196, .4);

  /* fontes */
  --sans: "General Sans", Arial, sans-serif;
  --mono: "JetBrains Mono", sans-serif;

  /* espaçamentos (fluidos) */
  --s-2xs: clamp(.125rem, .1rem + .125vw, .25rem);
  --s-xs: clamp(.25rem, .2rem + .25vw, .5rem);
  --s-sm: clamp(.5rem, .45rem + .25vw, .75rem);
  --s-md: clamp(.75rem, .7rem + .25vw, 1rem);
  --s-lg: clamp(1rem, .9rem + .5vw, 1.5rem);
  --s-xl: clamp(1.25rem, 1.1rem + .75vw, 2rem);
  --s-2xl: clamp(2rem, 1.8rem + 1vw, 3rem);
  --pad: clamp(2rem, 1rem + 4vw, 4rem);          /* respiro padrão das seções */
  --pad-l: clamp(2rem, 1.5rem + 6vw, 6rem);
  --col2: calc((100% - var(--s-md)) / 2);

  /* tamanhos de texto */
  --h-2xl: clamp(2.375rem, 2rem + 1.875vw, 4.25rem);
  --h-xl: clamp(1.875rem, 1.65rem + 1.125vw, 3rem);
  --h-lg: clamp(1.5rem, 1.375rem + .625vw, 2.125rem);
  --h-md: clamp(1.5rem, 1.45rem + .25vw, 1.75rem);
  --h-sm: clamp(1.125rem, 1.075rem + .25vw, 1.375rem);
  --h-xs: clamp(1rem, .975rem + .125vw, 1.125rem);
  --p-lg: clamp(1.125rem, 1.1rem + .125vw, 1.25rem);
  --p-md: clamp(1rem, .975rem + .125vw, 1.125rem);
  --p-sm: clamp(.9375rem, .9125rem + .125vw, 1rem);
  --p-xs: clamp(.875rem, .8625rem + .0625vw, .9375rem);
  --p-2xs: clamp(.8125rem, .8rem + .0625vw, .875rem);
  --label: clamp(.875rem, .8625rem + .0625vw, .9375rem);

  /* larguras máximas fluidas */
  --mw-2xs: clamp(12rem, 10.4rem + 8vw, 20rem);
  --mw-xs: clamp(15rem, 13rem + 10vw, 25rem);
  --mw-s: clamp(18rem, 15.6rem + 12vw, 30rem);
  --mw-m: clamp(22rem, 19.2rem + 14vw, 36rem);
  --mw-l: clamp(26rem, 22.4rem + 18vw, 44rem);
  --mw-xl: clamp(34rem, 29.2rem + 24vw, 58rem);
  --mw-2xl: clamp(42rem, 36rem + 30vw, 72rem);
  --pad-m: clamp(2rem, 1rem + 4vw, 4rem);
}

@media (max-width: 991px) {
  :root {
    --h-2xl: 3rem; --h-xl: 2.25rem; --h-lg: 1.75rem; --h-md: 1.625rem; --h-sm: 1.25rem; --h-xs: 1.0625rem;
    --p-lg: 1.125rem; --p-md: 1rem; --p-sm: .9375rem; --p-xs: .875rem; --p-2xs: .8125rem;
    --mw-2xs: 17rem; --mw-xs: 20rem; --mw-s: 24rem; --mw-m: 28rem; --mw-l: 34rem; --mw-xl: 40rem; --mw-2xl: 48rem;
    --pad-l: 4rem; --pad-m: 3rem;
  }
}
@media (max-width: 767px) {
  :root {
    --h-2xl: 2.5rem; --h-xl: 2rem; --h-lg: 1.625rem; --h-md: 1.5rem; --h-sm: 1.1875rem; --h-xs: 1rem;
    --p-lg: 1.0625rem; --p-md: 1rem; --p-sm: .9375rem; --p-xs: .875rem; --p-2xs: .8125rem;
    --mw-2xs: 15rem; --mw-xs: 17rem; --mw-s: 20rem; --mw-m: 22rem; --mw-l: 26rem; --mw-xl: 30rem; --mw-2xl: 36rem;
    --pad-l: 3rem; --pad-m: 2.5rem;
  }
}
@media (max-width: 479px) {
  :root {
    --h-2xl: 2.125rem; --h-xl: 1.75rem; --h-lg: 1.5rem; --h-md: 1.375rem; --h-sm: 1.125rem; --h-xs: 1rem;
    --p-lg: 1rem; --p-md: .9375rem; --p-sm: .875rem; --p-xs: .8125rem; --p-2xs: .75rem;
    --mw-2xs: 13rem; --mw-xs: 15rem; --mw-s: 16rem; --mw-m: 18rem; --mw-l: 20rem; --mw-xl: 22rem; --mw-2xl: 26rem;
    --pad-l: 2.5rem; --pad-m: 2rem;
    --label: clamp(.8125rem, .8rem + .0625vw, .875rem);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 130%; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: inline-block; vertical-align: middle; border: 0; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
.main { position: relative; z-index: 99; width: 100%; max-width: 100vw; overflow: clip; }
.page-wrapper { position: relative; }
.cover { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.cover--top { object-position: 50% 0%; }
.o70 { opacity: .7; }
.o80 { opacity: .8; }

/* ---------- texto ---------- */
.label-text { position: relative; z-index: 9; margin: 0; opacity: .9; font-family: var(--mono); font-size: var(--label); line-height: 120%; font-weight: 400; letter-spacing: -.025rem; text-transform: uppercase; }
.label-text.is-small { opacity: .65; font-size: .75rem; }
.label-text.dim { opacity: .6; }
.heading { position: relative; z-index: 9; margin: 0; font-family: var(--sans); font-size: 2rem; line-height: 130%; font-weight: 500; }
.heading.is-medium { font-size: var(--h-md); }
.heading.is-large { font-size: var(--h-lg); }
.heading.is-2xlarge { font-size: var(--h-2xl); line-height: 120%; }
.heading.is-cta { font-size: var(--h-lg); line-height: 120%; text-transform: uppercase; }
.heading.is-typo { font-size: 9vw; line-height: 80%; font-weight: 600; text-transform: uppercase; }
.heading.is-intro { max-width: var(--mw-s); opacity: .9; font-size: var(--h-lg); line-height: 100%; text-transform: uppercase; }
.heading.is-editorial { opacity: .9; font-size: 8vw; line-height: 100%; text-align: center; text-indent: -.8vw; text-transform: uppercase; padding-left: .6vw; }
.heading-bold { position: relative; z-index: 9; margin: 0; font-size: var(--h-md); line-height: 100%; font-weight: 500; text-transform: uppercase; }
.heading-bold.is-xsmall { font-size: var(--h-xs); }
.heading-bold.is-2xlarge { font-size: var(--h-2xl); }
.para { position: relative; z-index: 9; display: block; margin: 0; opacity: .9; font-size: var(--p-md); line-height: 130%; font-weight: 500; }
.para.is-large { font-size: var(--p-lg); }
.para.is-normal { font-weight: 400; }
.pbold { position: relative; z-index: 9; display: block; margin: 0; opacity: .9; font-size: var(--p-md); line-height: 150%; font-weight: 500; text-transform: uppercase; }
.pbold.is-small { font-size: var(--p-sm); }
.pbold.is-xsmall { font-size: var(--p-xs); }

/* ---------- etiqueta com ponto ---------- */
.label { position: relative; z-index: 9; display: flex; flex: none; align-items: center; gap: var(--s-xs); padding: var(--s-2xs) var(--s-xs); border: 1px solid var(--dark); border-radius: 3px; color: var(--ink); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow: hidden; }
.label .label-text { font-size: .75rem; }
.label-dot { width: .25rem; height: .25rem; border-radius: 50%; background: var(--grey); }
.label--light { border-color: var(--bg-subtle); opacity: .7; }
.label--light .label-text { opacity: 1; color: var(--bg-subtle); }
.label--light .label-dot { background: var(--bg-subtle); }

/* ---------- botão grande ---------- */
.btn { position: relative; z-index: 9; display: inline-flex; align-items: center; justify-content: space-between; gap: var(--s-sm); padding: var(--s-sm) var(--s-md); border: 1px solid var(--dark); color: var(--brand-deep); overflow: hidden; }
.btn-text { position: relative; z-index: 9; margin: 0; font-size: var(--p-2xs); line-height: 120%; font-weight: 500; letter-spacing: -.025rem; text-transform: uppercase; white-space: nowrap; transition: transform .35s cubic-bezier(.65,0,.35,1), opacity .35s; }
.btn-text.is-2nd { position: absolute; left: var(--s-md); opacity: 0; color: var(--bg-subtle); transform: translateY(100%); }
.btn-icon { position: relative; z-index: 9; width: 1rem; height: 1rem; opacity: .9; transition: transform .35s, opacity .35s; }
.btn-icon.is-2nd { position: absolute; right: var(--s-md); opacity: 0; transform: translate(-50%, 50%); }
.btn-bg { position: absolute; top: 0; bottom: 0; z-index: 3; width: 50%; background: var(--brand-soft); pointer-events: none; opacity: 0; transform: translateY(40%); transform-origin: bottom; transition: transform .4s cubic-bezier(.65,0,.35,1), opacity .3s; }
.btn-bg.is-1st { left: 0; } .btn-bg.is-2nd { right: 0; transition-delay: .06s; }
.btn-line { position: absolute; bottom: 0; z-index: 2; width: 50%; height: 2px; background: var(--dark); }
.btn-line.is-1st { left: 0; } .btn-line.is-2nd { right: 0; }
.btn:hover .btn-bg { opacity: 1; transform: none; }
.btn:hover .btn-text.is-1st { transform: translateY(-120%); opacity: 0; }
.btn:hover .btn-text.is-2nd { transform: none; opacity: 1; }
.btn:hover .btn-icon.is-1st { opacity: 0; transform: rotate(90deg); }
.btn:hover .btn-icon.is-2nd { opacity: .9; transform: none; }
.btn--dark { border-color: var(--brand-line); color: var(--bg-subtle); }
.btn--dark .btn-text.is-2nd { color: var(--ink); }
.btn--dark .btn-bg { background: var(--brand-mist); }
.btn--dark .btn-line { background: var(--brand-soft); }
.btn--dark .btn-icon.is-1st { filter: invert(1); }

/* ---------- etiqueta-link com fundo (títulos de projeto) ---------- */
.marker { position: relative; z-index: 9; display: flex; align-items: center; gap: var(--s-md); padding: var(--s-xs) var(--s-md); border-radius: 3px; background: var(--bg); color: var(--ink); overflow: hidden; }
.marker-icon { position: relative; z-index: 5; width: 2rem; height: 2rem; transition: transform .3s; }
.marker-bg { position: absolute; inset: 0; z-index: 1; background: var(--brand-soft); opacity: 0; pointer-events: none; transition: opacity .3s; }
.marker:hover .marker-bg { opacity: 1; }
.marker:hover .marker-icon { transform: rotate(90deg); }

/* ==========================================================
   MENU DO TOPO
   ========================================================== */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 999; display: flex; justify-content: space-between; align-items: center; color: var(--bg-subtle); }
.nav-wrap { position: relative; z-index: 9; display: flex; justify-content: space-between; align-items: stretch; gap: 2.5vw; width: 100%; height: 3rem; padding: 0 var(--s-md); }
.nav-left { display: flex; align-self: stretch; gap: 1.75rem; }
.logo-link { position: relative; z-index: 9; display: flex; align-self: stretch; align-items: center; gap: var(--s-xs); color: inherit; }
.brand-name { position: relative; z-index: 9; font-size: var(--h-sm); line-height: 110%; font-weight: 500; text-transform: uppercase; }
/* logo (svg em src/logo.mjs): a cor acompanha o texto do menu */
.brand-logo { position: relative; z-index: 9; display: block; height: 2.25rem; width: auto; }
.burger { position: relative; z-index: 99; display: flex; flex: none; align-self: center; align-items: center; gap: .5rem; padding: .5rem var(--s-sm); border: 0; border-radius: 3px; background: var(--brand); color: var(--brand-mist); cursor: pointer; overflow: hidden; transition: color .2s; }
.burger:hover { color: var(--bg-subtle); }
.burger-lines { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: space-between; width: 1rem; height: .5rem; }
.burger-lines span { display: block; width: 100%; height: 2px; background: var(--brand-pale); transition: transform .3s; }
.menu-open .burger-lines span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .burger-lines span:last-child { transform: translateY(-3px) rotate(-45deg); }
.nav-text { position: relative; z-index: 9; font-size: var(--p-2xs); line-height: 100%; font-weight: 500; text-transform: uppercase; }
/* frase ao lado do nome: aparece quando o mouse passa pelo nome */
.brand-slogan { align-self: center; max-width: 10rem; opacity: 0; font-family: var(--mono); font-size: .75rem; line-height: 130%; text-transform: uppercase; transition: opacity .3s; }
.nav-left:hover .brand-slogan { opacity: .8; }
.nav-right { display: flex; justify-content: space-between; align-items: center; align-self: stretch; min-width: var(--col2); }
.nav-links { position: relative; z-index: 9; display: flex; align-self: stretch; align-items: center; gap: var(--s-xl); }
.nav-link { position: relative; z-index: 9; display: flex; align-self: stretch; align-items: center; border-top: 2px solid transparent; border-bottom: 2px solid transparent; color: inherit; line-height: 120%; transition: color .2s, border-color .2s; overflow: clip; }
.nav-link:hover { border-top-color: var(--brand-soft); color: var(--brand-mist); }
.nav-link.is-current { border-top-color: var(--bg-subtle); }
.nav-more { position: static; display: flex; align-self: stretch; align-items: center; }
.nav-more-btn { position: relative; z-index: 9; display: flex; align-items: center; gap: var(--s-xs); padding: var(--s-xs) var(--s-sm); border: 0; border-radius: 3px; background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s; }
.nav-more-btn:hover, .nav-more.is-open .nav-more-btn { background: var(--bg-subtle); }
.nav-more-btn img { width: 1rem; height: 1rem; transition: transform .3s; }
.nav-more.is-open .nav-more-btn img { transform: rotate(180deg); }
/* menu claro (páginas de fundo claro) */
.nav--light { color: var(--ink); }
.nav--light .nav-link:hover { color: var(--brand); }
.nav--light .nav-link.is-current { border-top-color: var(--dark); }
.nav--dark .nav-more-btn { background: var(--stone); }
.nav--dark .nav-more-btn:hover { background: var(--bg-subtle); }

.mega { position: absolute; top: 3rem; right: 0; z-index: 3; width: 20rem; height: 0; margin-right: var(--s-md); overflow: hidden; }
.mega-layout { position: relative; z-index: 9; height: calc(100svh - var(--s-md) - 3rem); padding: var(--s-md); border-radius: 3px; background: var(--bg-subtle); }
.mega-actions { display: flex; flex-direction: column; justify-content: space-between; height: 100%; gap: var(--s-xl); }
.mega-link { position: relative; z-index: 9; display: flex; justify-content: space-between; align-items: center; width: 100%; padding: var(--s-sm) 0; color: var(--ink); overflow: hidden; }
.mega-link span { font-size: var(--p-sm); line-height: 100%; font-weight: 400; }
.mega-link img { width: 1rem; height: 1rem; transition: transform .3s; }
.mega-line-1, .mega-line-2 { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; }
.mega-line-1 { z-index: 3; background: var(--brand-line); }
.mega-line-2 { z-index: 4; background: #000000; transform: translateX(-101%); transition: transform .4s cubic-bezier(.65,0,.35,1); }
.mega-link:hover .mega-line-2 { transform: none; }
.mega-link:hover img { transform: rotate(90deg); }

/* menu de tela cheia */
.menu { position: fixed; inset: 0; z-index: 8; display: none; flex-direction: column; width: 100%; max-width: 100vw; height: 100vh; color: var(--bg-subtle); overflow: clip; }
.menu-layout { position: relative; z-index: 20; display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: var(--s-md); padding: 3rem var(--s-md) var(--s-md); overflow: auto; }
.menu-row { position: relative; z-index: 8; display: flex; justify-content: space-between; align-items: stretch; gap: var(--s-md); width: 100%; }
.menu-main { position: relative; z-index: 9; display: grid; flex: 1; grid-template-columns: 1fr 1fr 1fr; place-items: center start; gap: var(--s-xs); padding: 5vw; overflow: hidden; border-radius: 3px; background: var(--brand); }
.menu-main-link { position: relative; z-index: 9; padding: var(--s-2xs) 0; color: var(--bg-subtle); font-size: var(--h-md); line-height: 100%; font-weight: 500; transition: opacity .2s; }
.menu-main-link:hover { opacity: .7; }
.menu-main-link.is-current { color: var(--brand-pale); }
.menu-contact { position: relative; z-index: 8; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 2.5vw; padding: 5vw; overflow: hidden; border-radius: 3px; background: var(--brand); }
.menu-contact-links { display: flex; flex-direction: column; align-items: flex-start; }
.menu-small-link { position: relative; z-index: 9; display: block; padding: var(--s-2xs) 0; color: var(--bg-subtle); font-size: var(--p-xs); line-height: 130%; letter-spacing: .05rem; text-transform: uppercase; transition: opacity .2s; }
.menu-small-link:hover { opacity: .7; }
.menu-small-link.is-accent { color: var(--brand); line-height: 120%; font-weight: 500; }
.menu-2nd { position: relative; z-index: 9; display: flex; flex: 1; justify-content: space-between; align-items: stretch; padding: 2.5vw; border-radius: 3px; background: var(--bg); color: var(--ink); overflow: hidden; }
.menu-latest { display: flex; flex: 1; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 5vw; padding: 2.5vw; }
.menu-latest-list { display: flex; flex-direction: column; align-items: flex-start; }
.menu-featured { position: relative; display: flex; align-items: flex-end; width: 50%; min-height: 16rem; padding: 2.5vw; color: var(--bg-subtle); overflow: hidden; border-radius: 3px; }
.menu-featured::after { content: ""; position: absolute; inset: 0; z-index: 5; background: linear-gradient(180deg, transparent 40%, var(--ink)); }
.menu-featured-content { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: var(--s-md); width: 100%; height: 100%; }
.menu-featured-content .label { margin-bottom: auto; }
.menu-blur { position: absolute; inset: 0; z-index: 3; background: rgba(10, 10, 10, .25); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

/* barrinha fixa de navegação da página */
.context-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 96; display: flex; justify-content: center; align-items: center; padding: 0 1.5vw var(--s-md); pointer-events: none; }
.context-wrap { display: flex; align-items: center; height: 3rem; margin-left: var(--s-md); padding: var(--s-xs); border-radius: 3px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); pointer-events: auto; opacity: 0; transform: translateY(5vw) scale(.8); transition: opacity .6s, transform .6s cubic-bezier(.22,1,.36,1); }
.context-ready .context-wrap { opacity: 1; transform: none; }
.context-hide .context-wrap { opacity: 0; transform: translateY(5vw) scale(.8); pointer-events: none; }
.context-link { position: relative; z-index: 9; display: flex; flex: 1; justify-content: center; align-items: center; gap: var(--s-xs); padding: var(--s-xs) var(--s-sm); border-radius: 3px; color: var(--ink); transition: background-color .2s; white-space: nowrap; }
.context-link:hover, .context-link.is-active { background: var(--bg-subtle); }
.context-link img { width: 1rem; height: 1rem; }
.context-divider { align-self: center; width: 1px; height: 60%; margin: 0 var(--s-xs); background: rgba(70, 70, 70, .4); }

/* ==========================================================
   PÁGINA INICIAL — abertura
   ========================================================== */
.hero-display { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: space-between; width: 100%; padding-top: 3rem; background: var(--bg); color: var(--ink); overflow: clip; }
.hd-layout { position: relative; z-index: 9; display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 2.5vw var(--s-md); }
.hd-heading { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: var(--mw-m); margin-bottom: 1.5vw; }
.hd-title { position: relative; z-index: 9; margin: 0; font-size: var(--h-xl); line-height: 100%; font-weight: 500; text-transform: uppercase; }
.hd-line { position: relative; z-index: 5; width: 100%; height: 1px; background: var(--stone); }
.hd-details { position: relative; z-index: 8; top: -1px; display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-md); width: 100%; }
.hd-services { display: flex; flex-direction: column; align-items: flex-start; padding-top: 1.5vw; }
.hd-service { position: relative; z-index: 9; display: flex; justify-content: space-between; align-items: center; gap: var(--s-xs); min-width: 10rem; color: var(--brand); overflow: hidden; transition: color .2s; }
.hd-service:hover { color: var(--brand-deep); }
.hd-service-text { position: relative; z-index: 9; margin: 0; font-size: var(--p-2xs); line-height: 160%; font-weight: 500; text-transform: uppercase; transition: transform .35s cubic-bezier(.65,0,.35,1); }
.hd-service-hover { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; padding-left: .25rem; transform: translateY(100%); transition: transform .35s cubic-bezier(.65,0,.35,1); }
.hd-service-hover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--stone); }
.hd-service:hover .hd-service-hover { transform: none; }
.hd-service:hover > .hd-service-text { transform: translateY(-100%); }
.hd-service img { position: relative; z-index: 9; width: 1rem; height: 1rem; opacity: 0; transition: opacity .2s; }
.hd-service:hover img { opacity: .7; }
.hd-action { position: relative; z-index: 9; display: flex; justify-content: space-between; align-self: stretch; align-items: flex-end; gap: var(--s-md); min-width: var(--col2); padding-top: var(--s-md); }
.hd-action::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--dark); }
.hd-recognition { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: var(--s-xs); }
.hd-rotator { position: relative; z-index: 9; display: grid; width: 100%; padding: var(--s-2xs) 0; overflow: hidden; }
.hd-rotator span { grid-area: 1 / 1; position: relative; z-index: 9; font-size: var(--p-lg); line-height: 100%; font-weight: 400; opacity: 0; transform: translateY(130%); transition: transform .7s cubic-bezier(.65,0,.35,1), opacity .7s; }
.hd-rotator span.is-in { opacity: 1; transform: none; }
.hd-rotator span.is-out { opacity: 0; transform: translateY(-130%); }
.hd-action-btn { padding-top: 1.5vw; }
.hd-bg { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; width: 100%; height: 100vh; overflow: clip; }
.hd-media { position: absolute; inset: 0; z-index: 4; }
.hd-media video { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; object-fit: cover; }
.hd-bigname-wrap { position: relative; z-index: 9; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-md); width: 100%; padding: 1.5vw var(--s-md); color: var(--bg-subtle); }
.hd-bigname { position: relative; z-index: 9; flex: 1; margin: 0; opacity: .9; font-size: 15vw; line-height: 80%; font-weight: 500; letter-spacing: -.5vw; text-transform: uppercase; }
/* nome comprido (ex.: Matheus Lisboa): menor, para caber numa linha */
.hd-bigname.is-long { font-size: 9.4vw; letter-spacing: -.3vw; white-space: nowrap; }
.play-pause { position: absolute; right: var(--s-md); bottom: 1.5vw; z-index: 20; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: rgba(10, 10, 10, .75); cursor: pointer; }
.play-pause svg { width: 100%; height: 100%; }
.preload { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; height: 100vh; padding: 3rem var(--s-md); pointer-events: none; overflow: hidden; transition: opacity .5s; }
.preload.is-hidden { opacity: 0; }
.preload-title { position: relative; z-index: 9; padding: var(--pad) 0; }
.preload-text { max-width: var(--mw-s); font-size: var(--h-lg); line-height: 100%; font-weight: 500; text-transform: uppercase; }
.preload-bg { position: absolute; inset: 0; z-index: 3; background: var(--brand-soft); transition: transform 1s cubic-bezier(.76,0,.24,1) .3s; }
.preload.is-done .preload-bg { transform: translateY(-100%); }

/* ---------- números (conquistas) ---------- */
.achievements { position: relative; z-index: 9; width: 100%; max-width: 100vw; height: 250vh; }
.ach-layout { position: sticky; top: 0; z-index: 9; display: flex; justify-content: space-between; align-items: stretch; gap: var(--s-md); width: 100%; height: 100vh; padding: 5vw var(--s-md) calc(1.25vw + 5vw); overflow: clip; }
.ach-col { position: relative; z-index: 9; display: flex; flex: 0 0 var(--col2); flex-direction: column; justify-content: center; align-items: flex-start; overflow: clip; }
.ach-label { position: absolute; top: 0; left: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 1.25vw 0; }
.ach-thumbs { position: relative; z-index: 9; display: flex; justify-content: flex-start; align-items: flex-end; gap: 1.5vw; width: 100%; height: 15%; padding-right: 2.5vw; }
.ach-thumb { position: relative; z-index: 3; flex: 1; align-self: stretch; overflow: hidden; }
.ach-thumb .cover { clip-path: inset(0 var(--hide, 100%) 0 0); }
.ach-list { display: flex; flex: 0 0 var(--col2); flex-direction: column; justify-content: space-between; align-items: stretch; gap: 2.5vw; width: 100%; border-left: 1px solid var(--stone); }
.ach-item { position: relative; left: -1px; display: flex; flex: 1; justify-content: flex-start; align-items: center; gap: 2.5vw; width: 100%; padding-left: 2.5vw; }
.ach-clip { display: flex; align-items: center; gap: 2.5vw; overflow: hidden; }
.ach-num, .ach-word { display: block; font-size: 4vw; line-height: 100%; font-weight: 500; min-width: 10vw; transform: translateY(var(--rise, 110%)); }
.ach-word { min-width: auto; opacity: .7; font-weight: 200; }
.ach-line { position: absolute; left: -50vw; right: 0; bottom: -1.25vw; height: 1px; background: var(--stone); transform-origin: center; transform: scaleX(var(--grow, 0)); }
.ach-border { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--dark); transform-origin: center; transform: scaleY(var(--grow, 0)); }

/* ---------- blocos divididos (texto + foto) ---------- */
.split { position: relative; z-index: 9; display: flex; flex-direction: row; gap: var(--s-md); width: 100%; max-width: 100vw; padding: var(--s-md); background: var(--brand); color: var(--bg-subtle); overflow: clip; }
.split-content { position: relative; z-index: 9; display: flex; flex: 0 0 calc((100% - var(--s-md)) * .4); flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: var(--s-lg); }
.split-wrap { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s-lg); max-width: var(--mw-m); text-align: left; }
.split-image { position: relative; z-index: 9; display: flex; flex: 0 0 calc((100% - var(--s-md)) * .6); min-height: 45rem; padding: 2.5vw; }
.split-action { position: relative; z-index: 9; flex: none; width: 50%; }
.split--b { background: var(--brand-soft); color: var(--ink); flex-direction: row-reverse; }
.split--b .split-content { justify-content: space-between; }
.split--c { background: var(--bg); color: var(--ink); flex-direction: row-reverse; }
.split--d { background: var(--stone); color: var(--ink); }
.split--d .split-content { justify-content: flex-start; }
.split--c .split-action, .split--d .split-action { width: auto; }
.parallax-wrap { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; overflow: hidden; }
.parallax-img { position: absolute; top: -10%; left: 0; right: 0; width: 100%; height: 110%; object-fit: cover; object-position: 50% 25%; will-change: transform; }
.fparallax-img { position: absolute; top: -20%; left: 0; right: 0; width: 100%; height: 140%; object-fit: cover; will-change: transform; }
.fparallax-img.is-small { top: -10%; height: 120%; }
.fparallax-img.is-xlarge { top: -40%; height: 180%; }
.img-gradient { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; height: 70%; background: linear-gradient(0deg, var(--ink), transparent); mix-blend-mode: multiply; }

/* ---------- títulos gigantes ---------- */
.typo { position: relative; z-index: 9; display: flex; flex: 1; flex-direction: column; justify-content: flex-start; align-items: flex-start; width: 100%; max-width: 100vw; margin: 0 auto; padding: var(--pad-l) var(--s-md) var(--pad); background: var(--bg); overflow: clip; }
.typo-block { position: relative; z-index: 9; display: flex; justify-content: center; align-items: center; gap: 2.5vw; }
.typo-block.is-1st { justify-content: flex-start; align-items: flex-end; text-align: left; }
.typo-block.is-2nd { margin-left: auto; text-align: right; }
.typo-block.is-3rd { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 1.5vw; width: 100%; text-align: left; }
.typo--centered .typo-block.is-2nd { margin-left: auto; margin-right: auto; }
.typo--centered .typo-block.is-3rd { margin-left: auto; }
.typo-image { position: relative; z-index: 5; flex: none; align-self: stretch; width: 20vw; height: 15vw; border-radius: 3px; overflow: hidden; opacity: 0; transform: translateX(2rem); transition: opacity .8s, transform .8s cubic-bezier(.22,1,.36,1); }
.typo-image.is-in { opacity: 1; transform: none; }
.typo-flex { display: flex; justify-content: space-between; align-items: center; gap: 2.5vw; width: 100%; }
.typo-action { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; }
.typo-text { max-width: var(--mw-s); margin: 0; opacity: .9; font-size: var(--p-md); line-height: 150%; font-weight: 500; text-align: left; text-transform: uppercase; }

/* ---------- disciplinas (cartões com foto) ---------- */
.solutions { position: relative; z-index: 9; width: 100%; max-width: 100vw; background: var(--bg); overflow: clip; }
.solutions-wrap { position: relative; z-index: 9; width: 100%; margin: 0 auto; padding: var(--s-md); }
.solutions-list { display: flex; flex-direction: column; gap: var(--s-md); width: 100%; }
.solution { position: relative; display: flex; justify-content: space-between; align-items: flex-end; width: 100%; padding: 25vw var(--s-md) 0; }
.solution-bg { position: absolute; inset: 0; z-index: 3; flex: 1; border-radius: 3px; overflow: hidden; }
.solution-gradient { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; height: 50%; background: linear-gradient(180deg, transparent, var(--ink)); opacity: .9; mix-blend-mode: multiply; }
.solution-link { position: relative; z-index: 9; display: grid; grid-template-columns: 1fr 2fr 1fr; place-items: center; gap: var(--s-xs); width: 100%; margin: 0 auto; padding: 2.5vw var(--s-md); border-top: 1px solid rgba(255, 255, 255, .5); color: var(--bg-subtle); text-align: center; overflow: hidden; }
.solution-label { position: relative; z-index: 7; display: flex; justify-content: flex-start; align-items: center; width: 100%; }
.solution-title { position: relative; z-index: 9; display: flex; justify-content: center; align-items: center; padding: var(--s-xs) var(--s-sm); overflow: hidden; }
.solution-title h2 { position: relative; z-index: 9; margin: 0; font-size: var(--h-lg); line-height: 100%; font-weight: 500; text-transform: uppercase; }
.solution-title-bg { position: absolute; inset: 0; z-index: 1; background: var(--brand-soft); transform: translateX(-105%); transition: transform .45s cubic-bezier(.65,0,.35,1); }
.solution-link:hover .solution-title-bg { transform: none; }
.solution-about { position: relative; z-index: 9; display: flex; justify-content: flex-end; align-items: center; width: 100%; max-width: var(--mw-2xs); margin-left: auto; opacity: .8; text-align: left; }
.solution-about .pbold { opacity: 0; transform: translateY(1rem); transition: opacity .35s, transform .35s; }
.solution-plus { position: absolute; left: 0; right: 0; z-index: 1; display: flex; justify-content: center; align-items: center; transition: opacity .3s; }
.solution-plus img { width: 1.25rem; height: 1.25rem; opacity: .7; }
.solution-link:hover .solution-about .pbold { opacity: .9; transform: none; }
.solution-link:hover .solution-plus { opacity: 0; }
.solution-tint { position: absolute; inset: 0; z-index: 3; background: var(--brand); opacity: 0; pointer-events: none; transition: opacity .4s; }
.solution:hover .solution-tint { opacity: .25; }
/* variante "abertura" (página Disciplinas) */
.solutions--hero .solutions-wrap { padding: 0 0 5vw; margin-top: -8vw; margin-bottom: -5vw; }
.solutions--hero .solutions-list { gap: 0; }
.solutions--hero .solution { min-height: 100vh; }
.solutions--hero .solution-link { padding-top: 5vw; }
.solutions--hero .solution-title h2 { font-size: 5vw; }
.solutions--hero .solution-bg { margin-bottom: -8vw; }
.solutions--hero .solution-about .pbold { opacity: .9; transform: none; }
.solutions--hero .solution-plus { display: none; }

/* ---------- citação ---------- */
.quote { position: relative; z-index: 9; width: 100%; max-width: 100vw; padding: var(--pad) 0; background: var(--bg); color: var(--ink); overflow: clip; }
.quote-grid { position: relative; z-index: 9; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: var(--s-md); width: 100%; padding: 5vw var(--s-md); overflow: clip; }
.quote-image { position: relative; width: 50%; height: 12vw; }
.quote-content { grid-column: span 3; display: flex; flex-direction: column; align-items: flex-start; }
.quote-line { position: relative; width: 100%; height: 1px; background: var(--dark); }
.quote-row { display: flex; justify-content: flex-start; align-items: flex-start; gap: 5vw; width: 100%; }
.quote-layout { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: var(--s-lg); max-width: var(--mw-2xl); margin: 0 auto; }
.quote-icon-wrap { display: flex; justify-content: space-between; align-items: flex-end; height: 12vw; }
.quote-icon { width: 4rem; height: 4rem; }
.quote-text-wrap { display: flex; flex: 1; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 2.5vw; }
.quote-text { margin: 0; font-size: var(--h-xl); line-height: 120%; font-weight: 500; }
.quote-name { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: var(--s-2xs) 1.5vw; width: 100%; }
.quote-dot { flex: none; width: .15rem; height: .15rem; background: var(--dark); }
.quote-label { display: flex; justify-content: flex-start; align-items: flex-end; height: 12vw; max-width: 20rem; }

/* ---------- serviços (revelação) ---------- */
.reveal { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: space-between; width: 100%; min-height: 300vh; background: var(--dark); color: var(--bg-subtle); overflow: clip; }
.reveal-1st { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--s-md); width: 100%; min-height: 100vh; padding: 0 var(--s-md); }
.reveal-content { position: relative; z-index: 9; display: flex; flex-direction: column; align-items: center; width: 100%; padding: var(--s-2xl) 0; text-align: center; }
.reveal-heading { position: relative; z-index: 9; margin: 0; font-size: 2vw; line-height: 100%; font-weight: 500; letter-spacing: 1vw; text-indent: 1vw; text-transform: uppercase; }
.reveal-2nd { position: relative; z-index: 10; display: flex; flex: 1; justify-content: center; align-items: flex-start; }
.reveal-2nd-wrap { position: sticky; top: 0; z-index: 8; display: flex; flex-direction: column; justify-content: space-between; align-items: center; width: 100%; min-height: 100vh; padding: 10vh 2.5vw; }
.reveal-big { position: relative; z-index: 9; margin: 0; font-size: 8vw; line-height: 100%; font-weight: 600; text-align: center; letter-spacing: -.5vw; text-transform: uppercase; opacity: 0; transform: translateY(3rem); }
.reveal-big.is-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.reveal-big.with-icon { display: flex; justify-content: center; align-items: center; gap: 2vw; }
.reveal-small-img { position: relative; top: .1vw; width: 8vw; height: 6vw; object-fit: cover; }
.reveal-bg { position: absolute; inset: 0; z-index: 3; border-radius: 3px; overflow: clip; }
.reveal-sticky { position: sticky; top: 0; display: flex; justify-content: center; align-items: center; width: 100%; height: 100vh; overflow: clip; }
.reveal-image { position: relative; width: 100%; height: 100%; border-radius: 3px; overflow: hidden; }
.reveal-shade { position: absolute; inset: 0; z-index: 6; background: var(--ink); opacity: 0; pointer-events: none; }

/* ---------- lista de serviços (fundo escuro) ---------- */
.svc-full { position: relative; z-index: 9; display: flex; width: 100%; max-width: 100vw; min-height: 100vh; background: var(--dark); color: var(--bg-subtle); overflow: clip; }
.svc-full-wrap { position: relative; z-index: 9; width: 100%; border-top: 1px solid var(--brand-soft); }
.svc-full-list { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.svc-full-item { position: relative; z-index: 9; display: flex; flex: 1; border-bottom: 1px solid var(--brand-soft); }
.svc-full-item:last-child { border-bottom-width: 0; }
.svc-full-link { position: relative; z-index: 9; display: flex; justify-content: space-between; align-items: center; gap: 1.5vw; width: 100%; padding: var(--s-md) 5vw; color: var(--brand-pale); overflow: clip; }
.svc-full-content { position: relative; z-index: 9; display: flex; justify-content: space-between; align-items: center; gap: var(--s-md); width: 100%; transition: opacity .3s; }
.svc-full-big { position: absolute; left: 0; right: 0; z-index: 5; margin: 0; text-align: center; color: #e0e0e0; font-size: 3vw; line-height: 100%; font-weight: 500; text-transform: uppercase; opacity: 0; transform: translateY(40%); transition: opacity .35s, transform .35s; }
.svc-full-bg { position: absolute; top: 0; bottom: 0; z-index: 1; width: 50%; background: var(--brand); opacity: 0; pointer-events: none; transform: scaleY(0); transition: transform .4s cubic-bezier(.65,0,.35,1), opacity .4s; }
.svc-full-bg.is-1st { left: 0; transform-origin: top; } .svc-full-bg.is-2nd { right: 0; transform-origin: bottom; }
.svc-full-link:hover .svc-full-bg { opacity: 1; transform: none; }
.svc-full-link:hover .svc-full-big { opacity: 1; transform: none; }
.svc-full-link:hover .svc-full-content { opacity: 0; }

/* ---------- títulos de seção (rótulo | título | rótulo) ---------- */
.section { position: relative; z-index: 9; width: 100%; max-width: 100vw; padding: var(--pad) 0; background: var(--bg); color: var(--ink); overflow: clip; }
.section.no-top { padding-top: 0; }
.section.dark { background: var(--dark); color: var(--bg-subtle); }
.title-block { position: relative; z-index: 9; width: 100%; max-width: 100vw; padding: var(--pad) var(--s-md); overflow: hidden; }
.title-grid { position: relative; z-index: 9; display: grid; grid-template-columns: 1fr 4fr 1fr; place-items: start stretch; gap: var(--s-md); width: 100%; margin: 0 auto; padding-top: var(--s-md); border-top: 1px solid var(--stone); }
.title-side { place-self: start; }
.title-side.is-right { place-self: start end; }
.title-max { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: var(--s-md); width: 100%; max-width: var(--mw-m); margin: 0 auto; text-align: center; }
.title-block.is-dark { color: var(--bg-subtle); }
.title-block.is-dark .title-grid { border-top-color: rgba(196, 196, 196, .5); }
.title-block.is-dark .label { border-color: var(--bg-subtle); color: var(--bg-subtle); opacity: .7; }
.title-block.is-dark .label .label-text { opacity: 1; }
.title-block.is-dark .label-dot { background: var(--bg-subtle); }
.section-bg-dark { position: absolute; inset: 0; z-index: 1; background: var(--dark); }

/* ---------- grade de clientes ---------- */
.logo-grid { position: relative; z-index: 9; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--s-md); width: 100%; padding: 0 var(--s-md); overflow: clip; }
.logo-block { position: relative; z-index: 9; display: flex; justify-content: center; align-items: center; width: 100%; min-height: 18vw; }
.logo-block.is-name { padding: var(--s-md); }
.logo-image { position: relative; z-index: 9; height: 3vw; object-fit: contain; }
.logo-photo { position: absolute; inset: 0; z-index: 9; border-radius: 3px; overflow: hidden; }
.logo-line { position: absolute; bottom: 0; width: 70%; height: 1px; background: var(--stone); }
.logo-name { position: relative; display: flex; justify-content: center; align-items: center; gap: var(--s-sm); max-width: 15rem; text-align: center; }

/* ---------- lista de projetos (fotos grandes) ---------- */
.projects { position: relative; z-index: 10; width: 100%; max-width: 100vw; margin-top: -2vw; overflow: clip; }
.projects-list { position: relative; z-index: 3; display: flex; flex-direction: column; width: 100%; }
.project { position: relative; display: flex; flex-direction: row; justify-content: flex-start; align-items: flex-end; gap: var(--s-xs); width: 100%; min-height: 80svh; padding: var(--pad) 5vw; color: var(--bg-subtle); overflow: visible; }
.project:nth-child(2n) { flex-direction: row-reverse; background: var(--bg); }
.project-image { position: absolute; inset: 0 0 -5% 0; z-index: 4; flex: 1; }
.project-about { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: var(--s-md); width: 100%; height: 100%; max-width: var(--mw-l); border-radius: 3px; }
.project-desc { opacity: .8; }
.project-details-wrap { position: relative; z-index: 9; width: 100%; }
.project-details { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-md); width: 100%; padding: var(--s-xs) 0; border-top: 1px solid var(--line-light); opacity: .8; }
.project-details.is-dark { padding: var(--s-sm) 0; border-bottom: 1px solid var(--line-light); }

/* ---------- chamada compacta ---------- */
.cta { position: relative; z-index: 9; display: grid; grid-template-columns: 1fr 1fr 1fr; place-items: center stretch; gap: var(--s-md); width: calc(100% - 2 * var(--s-md)); max-width: 100vw; margin: var(--s-md) auto; padding: var(--pad) var(--s-md); border-radius: 3px; background: var(--bg); overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: 1; background: var(--bg-strong); pointer-events: none; transform: translateY(-100%); transition: transform 1s cubic-bezier(.76,0,.24,1); }
.cta.is-in .cta-bg { transform: none; }
.cta-block { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--s-lg); width: 100%; padding: var(--pad) 0; text-align: center; overflow: hidden; }
.cta-block.is-image { height: 100%; min-height: 18vw; padding: 0; border-radius: 3px; transform: scale(.6); transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.cta.is-in .cta-block.is-image { transform: none; }
.cta-max { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--s-lg); max-width: var(--mw-xs); }

/* ---------- depoimentos ---------- */
.reviews { position: relative; z-index: 9; display: flex; justify-content: center; align-items: flex-start; gap: var(--s-2xs); width: 100%; margin: 0 auto; padding: var(--pad) 2.5vw; overflow: clip; }
.review { position: relative; z-index: 9; display: flex; flex-direction: column; align-self: stretch; gap: var(--s-xl); width: 100%; max-width: 30rem; padding: var(--s-2xl); background: var(--bg-subtle); }
.review-quote { position: absolute; top: -1.3rem; z-index: 9; width: 2.5rem; height: 2.5rem; }
.review-image { position: relative; z-index: 3; width: 50%; min-width: 12rem; height: 15rem; border-radius: 3px; overflow: hidden; }
.review-content { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: var(--s-md); }

/* ---------- duas imagens ---------- */
.image-split { position: relative; z-index: 9; width: 100%; max-width: 100vw; background: var(--bg); }
.image-split-layout { position: relative; z-index: 9; display: flex; justify-content: center; align-items: center; gap: var(--s-md); width: 100%; height: 120vh; padding: 2.5vw var(--s-md); }
.image-split-left { position: relative; z-index: 9; flex: 0 0 calc((100% - 2 * var(--s-md)) / 3); height: 60%; margin: 0 auto; border-radius: 3px; overflow: hidden; }
.image-split-right { position: relative; z-index: 9; flex: 0 0 var(--col2); height: 100%; border-radius: 3px; overflow: hidden; }

/* ---------- jornal ---------- */
.blog { position: relative; z-index: 9; width: 100%; max-width: 100vw; background: var(--bg-strong); overflow: clip; }
.blog-listing { display: flex; flex-direction: column; gap: var(--s-md); width: 100%; padding: var(--pad) var(--s-md) var(--s-md); overflow: clip; }
.blog-title { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: var(--s-md); width: 100%; padding-bottom: 2.5vw; text-align: left; }
.blog-divider { width: 100%; height: 1px; margin-top: 1.5vw; background: var(--dark); }
.blog-details { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-md) var(--s-xl); width: 100%; }
.blog-cats { display: flex; align-items: center; gap: var(--s-md); }
.blog-cat { display: block; padding: var(--s-2xs) 0; color: var(--brand); font-size: var(--p-2xs); line-height: 110%; font-weight: 500; text-transform: uppercase; transition: padding .2s, background-color .2s, color .2s; }
.blog-cat:hover { padding-left: var(--s-xs); padding-right: var(--s-xs); background: var(--brand); color: var(--brand-mist); }
.blog-grid { display: flex; flex-direction: column; gap: var(--s-md); width: 100%; }
.blog-item { position: relative; z-index: 9; display: flex; justify-content: space-between; align-items: stretch; gap: var(--s-md); width: 100%; min-height: 80vh; padding: 1.5vw; border-radius: 3px; overflow: hidden; }
.blog-item:nth-child(2n) { flex-direction: row-reverse; }
.blog-image { position: absolute; inset: 0; border-radius: 3px; }
.blog-content { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: center; align-items: center; align-self: center; gap: var(--s-xs); width: 50%; max-width: var(--mw-l); padding: 5vw 2.5vw; border-radius: 3px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: var(--ink); overflow: clip; }
.blog-max { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--s-md); width: 100%; max-width: var(--mw-s); text-align: center; }

/* ==========================================================
   RODAPÉ
   ========================================================== */
.footer { position: relative; z-index: 98; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; width: 100%; background: var(--brand-deep); color: var(--bg-subtle); overflow: clip; }
.footer-action-wrap { position: relative; height: 200svh; }
.footer-action { position: sticky; top: 0; z-index: 8; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; height: 100vh; }
.footer-cta-size { position: sticky; top: 0; z-index: 8; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--s-xl); width: 100%; min-height: 100vh; padding: var(--pad) 0; }
.footer-cta-title { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s-md); width: 100%; max-width: var(--mw-s); margin: 8vh auto auto 9vw; color: var(--bg-subtle); text-align: left; }
.footer-cta-btn { position: relative; z-index: 9; }
.footer-cta-image { position: absolute; z-index: 5; display: flex; justify-content: center; align-items: center; width: 90vw; height: 84vh; border-radius: 3px; overflow: hidden; }
.footer-cta-resize { position: absolute; width: 55.5556%; height: 47.6191%; overflow: hidden; border-radius: 3px; }
.footer-cta-gradient { position: absolute; inset: 0; z-index: 9; background: linear-gradient(135deg, var(--ink), transparent 65%); mix-blend-mode: multiply; }
.footer-arrow { position: absolute; bottom: 2.5svh; z-index: 9; width: 1.5rem; height: 1.5rem; opacity: .5; }
.footer-big { position: absolute; top: 0; left: 0; right: 0; z-index: 9; display: flex; justify-content: center; align-items: center; height: 100vh; padding: 12rem 0; pointer-events: none; }
.footer-big-text { position: relative; z-index: 9; width: 100%; margin: 0 auto; opacity: .5; color: var(--bg-subtle); font-size: 9vw; line-height: 80%; font-weight: 500; text-align: center; letter-spacing: 1vw; text-indent: 1vw; text-transform: uppercase; }
.footer-content { position: relative; z-index: 9; display: flex; padding: 5vw 2.5vw 2.5vw; background: var(--bg-strong); color: var(--ink); }
.footer-layout { position: relative; z-index: 9; display: flex; flex: 1; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: var(--s-sm); width: 100%; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; place-items: center start; width: 100%; }
.footer-grid.is-1st { margin-bottom: 2.5vw; place-items: start stretch; }
.footer-logo { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; align-self: start; gap: var(--s-2xs); color: var(--ink); }
.footer-brand-logo { display: block; width: 100%; max-width: 18rem; height: auto; }
.footer-about { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; text-align: left; }
.footer-address { opacity: .8; font-family: var(--mono); font-size: var(--p-xs); line-height: 130%; text-transform: uppercase; }
.footer-address.is-title { opacity: .5; font-size: var(--p-2xs); }
.footer-contacts { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.footer-contact { padding: var(--s-2xs) 0; color: var(--brand); font-size: var(--p-2xs); line-height: 130%; font-weight: 500; text-transform: uppercase; }
.footer-contact:hover { color: var(--brand-deep); }
.footer-link { position: relative; z-index: 9; display: block; padding: var(--s-xs) 0 var(--s-xs) var(--s-md); border-left: 1px solid var(--stone); opacity: .8; color: var(--ink); font-size: var(--p-2xs); line-height: 110%; font-weight: 500; text-transform: uppercase; transition: border-color .2s, opacity .2s; }
.footer-link:hover { border-left-color: var(--dark); opacity: 1; }
.footer-link.is-current { border-left-color: var(--dark); opacity: 1; font-weight: 600; }
.footer-link.is-2nd { padding-left: 0; border-left-color: transparent; opacity: .6; }
.footer-divider { width: 100%; height: 1px; margin-top: var(--s-xl); background: var(--dark); }

/* ==========================================================
   PÁGINA SOBRE
   ========================================================== */
.hero-intro { position: relative; z-index: 8; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; width: 100%; min-height: 100vh; padding-top: 3rem; padding-left: var(--s-md); background: var(--dark); color: var(--bg-subtle); overflow: clip; }
.hi-title { position: relative; z-index: 9; width: 100%; padding: var(--s-md) 0; text-align: left; }
.hi-content { position: relative; z-index: 9; display: flex; justify-content: flex-start; align-items: center; width: 100%; }
.hi-about { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: center; align-items: flex-start; padding: var(--s-md) 0; }
.hi-text-max { max-width: var(--mw-s); text-align: left; }
.hi-text { position: relative; z-index: 9; margin: 0; font-size: var(--p-md); line-height: 130%; font-weight: 500; text-transform: uppercase; }
.hi-stats-wrap { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; align-items: flex-start; gap: 2vw; width: var(--col2); padding: 2.5vw; }
.hi-stats { position: relative; z-index: 9; display: flex; justify-content: space-between; align-items: stretch; width: 100%; gap: var(--s-2xs); }
.hi-stat { display: flex; flex: 1; flex-direction: column; align-self: stretch; gap: var(--s-2xs); padding: 0 1.5vw; border-left: 1px solid var(--line-light); color: var(--bg-strong); }
.hi-number { font-size: var(--h-xl); line-height: 100%; font-weight: 200; text-align: left; }
.hi-stats-bg { position: absolute; inset: 0; z-index: 3; border-left: 1px solid var(--line-light); background: rgba(196, 196, 196, .1); pointer-events: none; }
.hi-timeline { position: absolute; top: 0; left: 0; right: 0; z-index: 9; height: 1px; margin-top: 1px; background: var(--line-light); }
.hi-timeline span { position: absolute; inset: 0; background: var(--bg-subtle); transform-origin: left; transform: scaleX(0); }
.hi-bg { position: absolute; top: 0; left: 0; right: 0; height: 200vh; }
.hi-bg-size { position: sticky; top: 0; z-index: 3; width: 100%; height: 100vh; }
.hi-gradient { position: absolute; inset: 0; z-index: 9; background: linear-gradient(180deg, var(--ink), transparent 20%, transparent 80%, var(--ink) 94%); opacity: .8; mix-blend-mode: multiply; }
.hi-overlay { position: absolute; inset: 0; z-index: 8; background: var(--dark); opacity: .1; mix-blend-mode: multiply; }
.hi-slides { position: absolute; inset: 0; z-index: 7; overflow: clip; }
.hi-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; opacity: 0; transition: opacity 1.2s ease; }
.hi-slide.is-active { opacity: 1; }

/* frases com imagens */
.statement { position: relative; z-index: 9; width: 100%; max-width: 100vw; background: var(--bg); overflow: clip; }
.statement-reveal { position: sticky; top: 0; z-index: 8; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; padding: 15vh 15vw 25vh; }
.statement-reveal.is-2nd { z-index: 9; background: var(--bg); }
.statement-layout { position: sticky; top: 0; z-index: 9; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: var(--s-xl); width: 100%; max-width: var(--mw-2xl); }
.statement-images { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10vw; width: 100%; height: 100vh; }
.st-img-1 { position: relative; z-index: 9; width: 85%; height: 80vh; overflow: hidden; }
.st-img-2 { position: absolute; top: 30vh; right: 4vw; z-index: 9; width: 20%; height: 20%; overflow: hidden; }
.st-img-3 { position: absolute; bottom: 30vh; left: 2.8vw; z-index: 9; width: 23%; height: 30%; overflow: hidden; }
.statement-images-bg { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 50%; background: var(--bg); }

/* princípios (sanfona) */
.acc-layout { position: relative; z-index: 9; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-md); width: 100%; padding: 2.5vw var(--s-md); }
.acc-list-wrap { position: relative; z-index: 9; align-self: stretch; width: 100%; max-width: 90rem; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.acc-list { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: var(--s-2xs); width: 100%; }
.acc-item { display: flex; justify-content: flex-start; align-items: flex-start; width: 100%; color: var(--ink); }
.acc-number { display: flex; justify-content: center; align-items: center; align-self: stretch; min-width: 2.5rem; min-height: 3rem; padding: var(--s-sm); background: rgba(0, 0, 0, .2); color: var(--bg-subtle); }
.acc-block { width: 100%; }
.accordion { position: relative; z-index: 10; display: block; align-self: stretch; width: 100%; padding: 0 var(--s-md); background: rgba(255, 255, 255, .5); transition: background-color .2s; overflow: hidden; }
.accordion:hover, .accordion.is-open { background: rgba(255, 255, 255, .8); }
.acc-toggle { position: relative; z-index: 10; display: flex; justify-content: flex-start; align-items: center; gap: var(--s-md); width: 100%; min-height: 5rem; padding: var(--s-2xs) var(--s-xl) var(--s-2xs) 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; }
.acc-min { display: flex; justify-content: flex-start; align-items: center; min-width: 13rem; }
.acc-icon { position: absolute; right: 0; z-index: 10; flex: none; width: 1rem; height: 1rem; transition: transform .3s; }
.accordion.is-open .acc-icon { transform: rotate(45deg); }
.acc-dropdown { position: relative; height: 0; overflow: hidden; transition: height .4s cubic-bezier(.65,0,.35,1); }
.acc-spacing { display: flex; justify-content: flex-start; align-items: flex-start; gap: var(--s-md); padding-bottom: var(--s-md); }
.acc-bg { position: absolute; inset: 0; z-index: 3; width: 100%; }
.acc-overlay { position: absolute; inset: 0; z-index: 9; background: var(--ink); opacity: .3; mix-blend-mode: multiply; }
.acc-gradient { position: absolute; inset: 0; z-index: 9; background: linear-gradient(180deg, var(--ink), transparent 50%); opacity: .8; mix-blend-mode: multiply; }

/* faixa de texto rolando */
.marquee { position: relative; z-index: 9; display: flex; justify-content: center; align-items: center; gap: 5vw; width: 100%; max-width: 100vw; padding: var(--s-sm) 0; border-top: 1px solid var(--dark); border-bottom: 1px solid var(--dark); white-space: nowrap; overflow: hidden; }
.marquee-track { display: flex; flex: none; justify-content: center; align-items: center; gap: 5vw; animation: marquee 40s linear infinite; }
.marquee-text { position: relative; z-index: 9; flex: none; margin: 0; opacity: .9; font-size: .8vw; line-height: 150%; font-weight: 500; text-transform: uppercase; }
@keyframes marquee { to { transform: translateX(calc(-100% - 5vw)); } }

/* galeria */
.gallery { position: relative; z-index: 9; display: flex; justify-content: space-between; align-items: stretch; width: 100%; max-width: 100vw; min-height: 100vh; background: var(--dark); color: var(--bg-subtle); overflow: clip; }
.gallery-bg { position: absolute; inset: 0; z-index: 4; border-radius: 3px; overflow: clip; }
.gallery-gradient { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; height: 20rem; background: linear-gradient(180deg, transparent, var(--ink) 85%); opacity: .9; mix-blend-mode: multiply; pointer-events: none; }
.gallery-content { position: relative; z-index: 9; display: flex; justify-content: space-around; align-items: flex-end; gap: 5vw; width: 100%; padding: 2.5vw; }
.gallery-thumbs { position: relative; z-index: 8; display: flex; flex: 1; justify-content: space-between; align-items: stretch; gap: var(--s-md); height: 6.5rem; max-width: var(--mw-l); }
.gallery-thumb { position: relative; z-index: 9; flex: 1; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 3px; overflow: hidden; cursor: zoom-in; background: none; }
.gallery-thumb img.cover { transition: transform .5s; }
.gallery-thumb:hover img.cover { transform: scale(1.06); }
.gallery-text { position: relative; z-index: 9; display: flex; justify-content: flex-end; align-items: flex-end; width: 50%; max-width: var(--mw-l); border-radius: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 10000; display: none; justify-content: center; align-items: center; padding: 5vw; background: rgba(10, 10, 10, .92); cursor: zoom-out; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 3px; }

/* equipe (abas) */
.team { position: relative; z-index: 9; display: flex; justify-content: flex-start; align-items: flex-start; width: 100%; margin: 0 auto; padding: var(--pad) var(--s-md); background: var(--bg); overflow: clip; }
.tabs-menu { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: var(--s-md); }
.tab-link { padding: var(--s-2xs) var(--s-xs); border: 1px solid transparent; background: var(--brand-mist); color: var(--dark); text-align: center; cursor: pointer; transition: border-color .2s; }
.tab-link:hover { border-bottom-color: rgba(70, 70, 70, .2); }
.tab-link.is-current { background: var(--brand); color: var(--bg-subtle); font-weight: 600; }
.tab-text { position: relative; z-index: 9; display: block; margin: 0; opacity: .8; font-size: var(--p-2xs); line-height: 120%; font-weight: 500; text-transform: uppercase; }
.tabs-content { width: 100%; overflow: clip; }
.tab-pane { display: none; width: 100%; }
.tab-pane.is-active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.team-wrap { display: grid; grid-template-columns: .75fr 1fr; justify-content: flex-start; align-items: flex-start; gap: var(--s-md); width: 100%; }
.team-about { position: sticky; top: var(--s-md); display: flex; flex: 1; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: var(--s-md); max-width: var(--mw-s); margin: 0 auto var(--pad) auto; }
.team-grid-wrap { position: relative; z-index: 9; width: 100%; max-width: 64rem; margin: 0 auto; }
.team-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-lg); width: 100%; }
.team-item { position: relative; width: 100%; }
.team-card { position: relative; z-index: 9; display: flex; flex: 1; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: var(--s-xs); width: 100%; height: 100%; background: rgba(255, 255, 255, .05); }
.team-photo { position: relative; z-index: 3; display: flex; justify-content: flex-start; align-items: flex-end; width: 100%; height: clamp(15rem, 30vw, 30rem); border-radius: 3px; background: var(--stone); overflow: hidden; }
.team-photo .cover { object-position: 50% 20%; }
.team-name { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; padding: var(--s-md); border-radius: 3px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: var(--bg-subtle); }
.team-card-about { position: relative; z-index: 9; display: flex; flex: 1; flex-direction: column; justify-content: center; align-items: center; gap: var(--s-sm); width: 100%; padding: var(--s-md); border-radius: 3px; background: var(--bg-subtle); opacity: 0; transform: translateY(.5rem); transition: opacity .3s, transform .3s; }
.team-card:hover .team-card-about, .team-card:focus-within .team-card-about { opacity: 1; transform: none; }
.team-contact { display: flex; flex: none; justify-content: space-between; align-items: stretch; width: 100%; margin-top: auto; }
.team-contact a { position: relative; display: flex; flex: 1; justify-content: center; align-items: center; margin-left: -1px; padding: var(--s-xs); border: 1px solid var(--brand-mist); color: var(--brand); font-family: var(--mono); font-size: .85rem; line-height: 100%; text-align: center; text-transform: uppercase; }
.team-contact a:hover { color: #000000; }
.team-plus { position: absolute; left: 0; right: 0; bottom: 2rem; z-index: 5; width: .75rem; height: .75rem; margin: 0 auto; transition: opacity .3s; }
.team-card:hover .team-plus { opacity: 0; }

/* prêmios */
.awards { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: var(--s-md); width: 100%; max-width: 100vw; padding: var(--pad) var(--s-md); background: var(--bg-strong); overflow: hidden; }
.awards-list { width: 100%; }
.award { display: flex; justify-content: space-between; align-items: center; gap: var(--s-md); width: 100%; padding: var(--s-sm) 0; border-bottom: 1px solid var(--stone); opacity: .85; transition: padding .2s; }
.award:hover { padding: var(--s-md) 0; }
.award.is-title { border-bottom: 2px solid var(--dark); }
.award-block { display: flex; justify-content: space-between; align-items: flex-start; width: calc((100% - var(--s-md)) * .6); text-align: right; }

/* projetos em tela cheia (Sobre e Disciplinas) */
.showcase { position: relative; z-index: 9; width: 100%; max-width: 100vw; background: var(--bg-strong); overflow: clip; }
.showcase-wrap { position: relative; z-index: 9; width: 100%; margin: 0 auto; color: var(--bg-subtle); }
.showcase-item { position: relative; z-index: 10; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; width: 100%; min-height: 250lvh; margin-bottom: -100lvh; overflow: clip; }
.showcase-layout { position: sticky; top: 0; z-index: 9; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: var(--s-lg); width: 94%; max-width: 120rem; min-height: 100dvh; margin: 0 auto; padding: 5rem 0; overflow: hidden; }
.showcase-about { position: relative; z-index: 10; display: flex; justify-content: flex-start; align-items: flex-end; gap: 2.5vw; width: 100%; }
.showcase-text { display: flex; justify-content: flex-start; align-items: center; gap: 2.5vw; max-width: var(--mw-s); margin-right: auto; }
.showcase-action { display: flex; justify-content: center; align-items: center; gap: 3vw; }
.showcase-details { display: flex; justify-content: flex-start; align-items: flex-start; gap: 2.5vw; width: 100%; }
.showcase-bg { position: absolute; inset: 0; z-index: 3; }
.showcase-bg-size { position: sticky; top: 0; z-index: 1; width: 100%; height: 100dvh; overflow: hidden; }
.showcase-overlay { position: absolute; inset: -1px; z-index: 6; background-image: linear-gradient(180deg, transparent 65%, var(--ink) 90%), linear-gradient(45deg, var(--ink) 28%, transparent 62%); opacity: .9; }
.showcase-media { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ==========================================================
   PÁGINA SERVIÇOS
   ========================================================== */
.hero-basic { position: relative; z-index: 9; display: flex; justify-content: flex-start; align-items: flex-start; gap: var(--s-md); width: 100%; padding: 3rem var(--s-md) 0; background: var(--bg-strong); color: var(--ink); overflow: clip; }
.hb-title { position: relative; left: -.2rem; display: flex; justify-content: space-between; align-items: center; gap: var(--s-md); width: 100%; padding: 2.5vw 0; }
.hb-word { position: relative; z-index: 9; margin: 0; font-size: 9.85vw; line-height: 100%; font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.hb-word.is-right { margin-left: auto; text-align: right; }
.svc-listing { position: relative; z-index: 9; display: flex; justify-content: space-between; align-items: flex-start; width: 100%; max-width: 100vw; padding: 0 var(--s-md) var(--pad); border-top: 1px solid var(--dark); background: var(--bg-strong); color: var(--ink); overflow: clip; }
.svc-list { display: flex; flex-direction: column; width: 100%; }
.svc-item { position: relative; z-index: 9; display: grid; grid-template-columns: .25fr 1.5fr 1fr; gap: 2.5vw; width: 100%; margin-bottom: -10vw; overflow: hidden; }
.svc-item-label { display: flex; justify-content: center; align-items: center; }
.svc-media { position: relative; z-index: 9; display: flex; flex: none; justify-content: center; align-items: flex-end; width: 100%; height: 120vh; transform: translateY(6.25vw); }
.svc-card { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s-sm); width: 100%; height: 100%; max-width: var(--mw-s); margin: 0 auto; overflow: hidden; }
.svc-card-title { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: var(--s-xs); width: 100%; color: var(--ink); border-radius: 3px; }
.svc-details { position: relative; z-index: 9; display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; gap: var(--s-xl); width: 100%; margin: var(--s-xl) 0 var(--s-sm); }
.svc-detail { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s-2xs); }

/* números com fotos */
.stats { position: relative; z-index: 9; display: flex; gap: var(--s-sm); width: 100%; max-width: 100vw; padding: var(--s-md); background: var(--bg); overflow: clip; }
.stats-col { position: relative; z-index: 9; display: flex; flex: 0 0 var(--col2); flex-direction: column; justify-content: flex-start; align-items: stretch; gap: var(--s-md); }
.stats-layout { position: sticky; top: var(--s-md); z-index: 9; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; width: 100%; height: calc(100svh - 2 * var(--s-md)); border-radius: 3px; }
.stats-list { display: flex; flex-direction: column; justify-content: flex-start; gap: var(--s-sm); width: 100%; height: 100%; }
.stats-item { position: relative; z-index: 9; display: flex; flex: 1; flex-direction: column; justify-content: space-between; align-self: stretch; align-items: flex-start; gap: var(--s-md); width: 100%; padding: 2.5vw; border-radius: 3px; background: var(--bg-strong); color: var(--ink); text-align: left; overflow: hidden; transition: opacity .6s; }
.stats-item.is-waiting { opacity: 0; }
.stats-item[data-stat="0"].is-waiting { opacity: .45; }
.stats-about { max-width: 30rem; }
.stats-number { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-md); width: 100%; padding-bottom: var(--s-sm); border-bottom: 1px solid var(--dark); }
.stats-number-text { font-size: var(--h-2xl); line-height: 90%; font-weight: 500; text-align: left; }
.stats-images { position: relative; display: flex; flex-direction: column; gap: var(--s-sm); width: 100%; height: 100%; }
.stats-image { position: sticky; top: 0; z-index: 5; flex: none; width: 100%; height: 50vw; border-radius: 3px; overflow: hidden; }

/* formulário */
.form-section { position: relative; z-index: 9; width: 100%; max-width: 100vw; background: var(--bg); overflow: clip; }
.form-title-wrap { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: 100%; padding: 0 var(--s-md) var(--pad); text-align: left; }
.form-big { position: relative; left: -.75vw; z-index: 9; margin: 0; font-size: 11vw; line-height: 90%; font-weight: 500; text-align: center; letter-spacing: -.5vw; text-transform: uppercase; white-space: nowrap; }
.form-big.is-2nd { opacity: .7; }
.form-big-block { display: flex; justify-content: flex-end; align-items: center; gap: 2.5vw; width: 100%; }
.form-big-image { position: relative; z-index: 5; width: 15vw; height: 8vw; border-radius: 3px; overflow: hidden; }
.form-wrap { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; padding: 0 var(--s-md); overflow: clip; }
.form-head { position: relative; display: flex; justify-content: space-between; align-items: center; width: 100%; padding: var(--s-lg) 0; }
.form-head-col { position: relative; z-index: 9; width: 50%; }
.form-head-line { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; width: 100%; height: .15rem; background: var(--brand-soft); }
.form-size { position: relative; z-index: 9; width: 50%; margin-left: auto; padding-bottom: var(--pad); }
.form-field { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-self: stretch; align-items: flex-start; width: 100%; }
.form-field.is-radio { padding: var(--s-sm) 0; }
.field-label { position: relative; top: 2rem; z-index: 1; margin-bottom: .15rem; color: var(--dark); font-size: 1.5rem; font-weight: 400; line-height: 1.5; transition: top .25s, font-size .25s, opacity .25s; pointer-events: none; }
.form-field.is-filled .field-label, .form-field:focus-within .field-label { top: 0; font-size: 1rem; opacity: .7; }
.field-label.is-2nd { top: 0; margin-bottom: .5rem; color: #0a0a0a; }
.field { position: relative; z-index: 2; width: 100%; height: 3rem; min-height: 3rem; margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--dark); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: var(--p-lg); line-height: 1.2; outline: none; transition: border-color .2s; }
.field.is-message { height: 7rem; min-height: 7rem; max-height: 10rem; font-size: 1.25rem; resize: vertical; }
.tab-options { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; gap: var(--s-2xs); }
.tab-option { position: relative; margin: 0; padding: .75em 1.15rem .65em; cursor: pointer; }
.tab-option input { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tab-option-bg { position: absolute; inset: 0; z-index: 1; border: 1px solid var(--grey); border-radius: 999rem; background: rgba(196, 196, 196, .3); transition: background-color .1s, border-color .1s; }
.tab-option:hover .tab-option-bg, .tab-option input:checked + .tab-option-bg { border-color: var(--dark); background: var(--grey); }
.radio-label { position: relative; z-index: 3; margin: 0; font-size: 1.15rem; font-weight: 400; line-height: 1; pointer-events: none; }
.check-field { display: flex; justify-content: flex-start; align-items: center; margin-top: .4em; cursor: pointer; }
.check-field input { appearance: none; -webkit-appearance: none; flex: none; width: 1.25rem; height: 1.25rem; margin: 0 8px 0 0; border: 1px solid var(--dark); border-radius: 50%; background: rgba(196, 196, 196, .1); cursor: pointer; transition: border-width .1s, background-color .1s; }
.check-field input:checked { border-width: 4px; background: #a3a3a3; }
.form-buttons { position: relative; z-index: 9; display: flex; justify-content: flex-start; align-items: center; gap: var(--s-md); margin-top: var(--s-md); }
.form-submit { position: relative; z-index: 99; padding: 1rem 1.5rem; border: 0; border-radius: 3px; background: var(--brand); color: var(--bg-subtle); font-size: 1rem; font-weight: 500; text-align: center; text-transform: uppercase; cursor: pointer; transition: background-color .2s; }
.form-submit:hover { background: var(--brand-deep); }
.form-error { margin: var(--s-sm) 0 0; color: #b42318; font-size: 1rem; }
.form-error:empty { display: none; }
.form-ok { display: none; padding: var(--pad-l) var(--s-md); border-radius: 3px; background: var(--dark); color: var(--bg-subtle); text-align: center; }
.form-done form { display: none; }
.form-done .form-ok { display: block; }

/* ==========================================================
   PÁGINA PROJETOS
   ========================================================== */
.hero-editorial { position: relative; z-index: 9; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; width: 100%; min-height: 250vh; padding: 3rem var(--s-md) 0; background: var(--dark); color: var(--bg-subtle); overflow: clip; }
.he-layout { position: sticky; top: 0; z-index: 9; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; width: 100%; padding: var(--s-md) 0; }
.he-wrap { position: relative; left: -.2vw; z-index: 9; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.he-wrap.is-1st { justify-content: flex-start; }
.he-wrap.is-2nd { flex: 0 0 var(--col2); justify-content: space-between; align-items: flex-end; gap: var(--s-2xs); }
.he-dot { position: relative; top: -.5vw; width: 1vw; height: 1vw; background: #636363; }
.he-bg { position: absolute; inset: 0; z-index: 3; width: 100%; overflow: clip; }
.he-bg-layout { position: sticky; top: 0; width: 100%; height: 100vh; margin-top: 50vh; overflow: clip; }
.he-image { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; }

/* ==========================================================
   RESPONSIVO — tablet (até 991px)
   ========================================================== */
@media (max-width: 991px) {
  .nav-right, .brand-slogan { display: none; }
  .nav-left { justify-content: space-between; align-items: center; gap: 2.5vw; width: 100%; }
  .brand-name { letter-spacing: .05rem; }

  .menu { height: 100dvh; }
  .menu-row { flex-direction: column; }
  .menu-main { flex: 0 auto; width: 100%; }
  .menu-main-link { padding: var(--s-xs) 0; }
  .menu-small-link { font-size: var(--p-sm); }
  .menu-contact { flex-flow: row wrap; justify-content: space-between; gap: var(--s-sm); }
  .menu-contact-links { padding: var(--s-sm) 0; }

  .hd-details { gap: 6vw; }
  .hd-service { justify-content: flex-start; padding: var(--s-2xs) 0; }
  .hd-service img { opacity: .7; }
  .hd-bg { height: 50rem; }
  .preload { height: 100svh; }

  .achievements { height: auto; }
  .ach-layout { position: relative; flex-direction: column; justify-content: flex-start; align-items: flex-start; height: auto; min-height: 100vh; }
  .ach-col { flex: 0 auto; width: 100%; }
  .ach-label { position: relative; }
  .ach-thumbs { height: 7rem; }
  .ach-list { flex: 1; }
  .ach-num { min-width: 18vw; font-size: 6vw; }
  .ach-word { font-size: 6vw; }

  .split { flex-direction: column; gap: 0; }
  .split--b, .split--c { flex-direction: column; }
  .split-content { flex: 0 auto; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: var(--s-2xl); width: 100%; padding: var(--pad) 0; }
  .split--c .split-content, .split--d .split-content { flex-direction: column; justify-content: center; align-items: center; gap: var(--s-md); }
  .split--c .split-wrap, .split--d .split-wrap { max-width: var(--mw-l); }
  .split-image { flex: 0 auto; width: 100%; height: 50vw; min-height: 50vw; }
  .split-action { width: auto; }
  .parallax-img { object-position: 50% 50%; }

  .typo { padding: var(--pad) var(--s-md); gap: 2vw; }
  .heading.is-typo { font-size: 9vw; }
  .typo-text { max-width: 50vw; font-size: 2vw; line-height: 2.5vw; }
  .typo-image { width: 18vw; height: 10vw; }

  .solution { min-height: 50vw; }
  .solution-link { grid-template-columns: 1fr 1.25fr 1fr; padding-bottom: 1.5vw; }
  .solution-gradient { height: 80%; }
  .solution-about { flex-direction: row; justify-content: flex-start; align-items: flex-end; gap: 2.5vw; }
  .solution-about .pbold { opacity: .9; transform: none; }
  .solution-plus { display: none; }
  .solutions--hero .solution { min-height: 90svh; }
  .solutions--hero .solution-link { padding-top: 5vw; padding-bottom: 5vw; }
  .solutions--hero .solution-title h2 { font-size: 3.5vw; }

  .quote-text { font-size: var(--h-md); }
  .quote-row { gap: 2.5vw; }

  .reveal { min-height: 100svh; }
  .reveal-bg { width: 68%; height: 73%; margin: auto; }
  .reveal-2nd { z-index: 9; }
  .reveal-2nd-wrap { min-height: 100svh; padding-top: 10svh; padding-bottom: 10svh; }
  .reveal-sticky { position: absolute; inset: 0; height: auto; }
  .reveal-1st { min-height: auto; }
  .reveal-small-img { display: none; }
  .reveal-big { opacity: 1; transform: none; }

  .svc-full { min-height: 100svh; }
  .svc-full-link { padding-top: var(--s-xl); padding-bottom: var(--s-xl); }

  .logo-image { height: 2rem; }

  .projects { margin-top: 0; }
  .project:nth-child(2n) { flex-direction: row; }
  .project-about { padding: 0; }
  .project-image { bottom: 0; }

  .cta { grid-template-columns: 1fr; gap: 0; padding-top: 0; padding-bottom: 0; }
  .cta-block.is-image { height: 40vw; min-height: auto; }

  .reviews { display: grid; grid-template-columns: 1fr 1fr 1fr; justify-content: flex-start; overflow: auto; }
  .review { flex: none; width: 43vw; max-width: none; }
  .review-image { height: 20vw; }
  .review-quote { top: -2.6vw; }

  .image-split-layout { height: 80svh; padding-top: var(--pad); padding-bottom: var(--pad); }

  .blog-item { flex-direction: column; justify-content: center; align-items: center; gap: var(--s-xs); min-height: auto; padding: var(--pad); }
  .blog-item:nth-child(2n) { flex-direction: column; }
  .blog-content { width: 100%; max-width: 33rem; margin: var(--pad) auto; padding: var(--pad); }
  .blog-max { max-width: none; }
  .blog-title { padding-top: var(--pad); }

  .footer-action { height: 100svh; }
  .footer-cta-size { min-height: 100svh; }
  .footer-cta-image { width: 50vw; }
  .footer-cta-resize { width: 100%; height: 100%; }
  .footer-big { height: 100svh; }
  .footer-big-text { letter-spacing: .5vw; text-indent: .5vw; font-size: 10vw; }
  .footer-layout { gap: var(--s-lg); }
  .footer-link { padding-top: var(--s-sm); padding-bottom: var(--s-sm); font-size: var(--p-xs); }
  .footer-contact { padding: var(--s-xs) 0; font-size: var(--p-xs); }
  .footer-grid.is-1st { grid-template-columns: 1fr 1fr; row-gap: var(--s-xl); }

  .context-wrap { margin-left: 0; }

  .hero-intro { min-height: 100svh; padding-right: var(--s-md); }
  .hi-content { flex-direction: column; justify-content: flex-start; align-items: stretch; }
  .hi-stats-wrap { width: 100%; border-top: 1px solid var(--line-light); border-right: 1px solid var(--line-light); }
  .hi-about { width: 100%; }
  .hi-gradient { background: linear-gradient(180deg, var(--ink) 8%, transparent 35%, transparent 54%, var(--ink) 80%); }
  .hi-text-max { max-width: var(--mw-m); }

  .statement-reveal { height: 100svh; padding: 0 12vw; }
  .statement-layout { justify-content: center; min-height: 100svh; }
  .statement-images { height: 80svh; }

  .acc-toggle { flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s-xs); min-height: auto; padding-top: var(--s-sm); padding-bottom: var(--s-sm); }
  .acc-min { min-width: auto; }
  .acc-spacing .acc-min { display: none; }

  .marquee-text { font-size: 1.5vw; }

  .gallery { min-height: 100svh; }
  .gallery-content { flex-direction: column-reverse; justify-content: flex-start; align-items: stretch; }
  .gallery-thumbs { flex: 0 auto; width: 100%; height: 5rem; }
  .gallery-text { width: 100%; }

  .team { flex-direction: column; padding-left: 0; padding-right: 0; }
  .tabs-menu { width: 100%; padding: 0 var(--s-md); }
  .team-wrap { display: flex; flex-direction: column; }
  .team-about { position: relative; top: 0; width: 100%; max-width: none; margin: 0; padding: 0 var(--s-md); }
  .team-grid-wrap { padding: var(--s-md); overflow: auto; }
  .team-list { display: flex; flex-direction: row; gap: var(--s-md); }
  .team-item { flex: none; align-self: stretch; width: 70vw; min-width: 70vw; max-width: 70vw; }
  .team-photo { height: clamp(30rem, 60vw, 60rem); }
  .team-photo .cover { object-position: 50% 10%; }
  .team-card-about { opacity: 1; transform: none; }
  .team-plus { display: none; }

  .award { gap: var(--s-xs); }
  .award:hover { padding: var(--s-sm) 0; }
  .award-block { text-align: left; }

  .showcase-media { aspect-ratio: 2 / 3; }
  .showcase-about { flex-wrap: wrap; padding: 1rem 0; }
  .showcase-layout { gap: var(--s-sm); }
  .showcase-details { flex-direction: column; gap: 0; }
  .showcase-text { width: 50%; }

  .svc-item { display: flex; flex-direction: column; gap: 2.5vw; margin-bottom: 0; padding: var(--pad) var(--s-md); border-radius: 3px; }
  .svc-item:nth-child(2n) { background: var(--bg); }
  .svc-card { max-width: var(--mw-m); }
  .svc-media { height: 50vw; border-radius: 3px; overflow: hidden; transform: none; }
  .svc-item-label { justify-content: flex-start; }

  .stats { flex-direction: column-reverse; }
  .stats-layout { position: relative; top: 0; height: auto; min-height: auto; }
  .stats-col { flex: 0 auto; width: 100%; }
  .stats-item { gap: var(--s-2xl); }
  .stats-item.is-waiting { opacity: 1; }
  .stats-images { flex-direction: row; height: auto; }
  .stats-image { position: relative; flex: 1; width: auto; height: 20vw; }

  .form-big { font-size: 10vw; }
  .form-size { width: 100%; }
  .form-head-col { width: auto; }

  .hero-editorial { min-height: 250svh; }
  .he-bg-layout { height: 100svh; margin-top: 50svh; }
}

/* ==========================================================
   RESPONSIVO — celular deitado (até 767px)
   ========================================================== */
@media (max-width: 767px) {
  .heading.is-intro { max-width: none; }
  .heading.is-typo { font-size: 10vw; top: 0; }
  .footer-link { font-size: var(--p-sm); }
  .menu-main { display: flex; flex-direction: column; align-items: flex-start; }
  .menu-2nd { flex-direction: column; }
  .menu-featured { width: 100%; }
  .menu-latest { margin-bottom: 1.5vw; }
  .menu-latest-list { flex-flow: row wrap; gap: 0 var(--s-xl); }
  .hi-text-max { max-width: var(--mw-l); }
  .statement-reveal.is-2nd { justify-content: center; align-items: center; }
  .showcase-layout { padding: 2rem 0 2.5rem; }
  .image-split-layout { height: 60svh; max-height: 30rem; }
  .footer-cta-image { height: 50%; }
  .hd-details { flex-direction: column; gap: 3vw; }
  .showcase-text { width: 100%; max-width: none; }
  .solution { min-height: 70vw; }
  .solutions--hero .solution { min-height: 90svh; }
  .solution-link { grid-template-columns: 1fr; place-items: center; gap: var(--s-sm); padding-top: 2.5vw; padding-bottom: 2.5vw; }
  .solutions--hero .solution-link { padding-top: 2.5vw; padding-bottom: 2.5vw; }
  .solution-about { max-width: var(--mw-m); margin-left: 0; text-align: center; }
  .solution-label { justify-content: center; }
  .solutions--hero .solution-title h2 { font-size: 4vw; }
  .split-content { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: var(--s-lg); }
  .split-wrap { max-width: none; }
  .typo { gap: 1vw; }
  .typo-block { z-index: 6; }
  .typo-block.is-2nd { z-index: 10; flex-direction: column-reverse; gap: 0; }
  .typo-block.is-1st { flex-direction: column; position: static; }
  .typo-block.is-3rd { margin-bottom: var(--s-md); }
  .typo-text { max-width: 70vw; font-size: 2.5vw; line-height: 130%; }
  .typo-image { width: 34vw; height: 20vw; }
  .typo-action { margin-top: 2vw; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hd-services { flex-flow: row wrap; gap: 0 var(--s-md); }
  .hd-service { min-width: auto; padding: var(--s-sm) 0; }
  .marker { gap: var(--s-xs); }
  .gallery { height: 100svh; min-height: auto; max-height: 50rem; }
  .quote-image { width: 15vw; height: 17vw; }
  .quote-layout { flex: 0 auto; width: 100%; max-width: none; position: static; }
  .logo-grid { gap: 0; }
  .logo-block { min-height: 30vw; }
  .quote-row { flex-direction: column-reverse; padding-top: var(--s-lg); }
  .quote-icon-wrap { position: absolute; top: 0; right: var(--s-md); height: auto; }
  .quote-label { height: auto; }
  .quote-grid { grid-template-columns: 1fr; padding-top: 0; padding-bottom: 0; }
  .quote-content { grid-column: auto; }
  .review { width: 60vw; }
  .review-image { height: 30vw; }
  .review-quote { top: -3.2vw; }
  .title-grid { grid-template-columns: 1fr 3fr 1fr; }
  .award { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: var(--s-2xs); }
  .award-block { width: 100%; }
  .context-wrap { height: 2rem; padding: var(--s-2xs); }
  .marquee-text { font-size: 2vw; }
  .project-about { max-width: var(--mw-xl); }
  .svc-listing { padding-left: 0; padding-right: 0; }
  .svc-card { max-width: var(--mw-l); }
  .stats-images { display: grid; grid-template-columns: 1fr 1fr; }
  .stats-image { height: 30vw; }
  .play-pause { width: 2rem; height: 2rem; }
  .preload-text { max-width: var(--mw-m); }
}

/* ==========================================================
   RESPONSIVO — celular (até 479px)
   ========================================================== */
@media (max-width: 479px) {
  .footer-link { font-size: var(--p-md); line-height: 120%; }
  .footer-link.is-2nd { font-size: var(--p-xs); }
  .reveal-bg { width: 100%; height: 100%; }
  .reveal-content { padding-left: var(--s-md); padding-right: var(--s-md); }
  .team-photo { height: clamp(20rem, 40vw, 40rem); }
  .reveal-big { font-size: 9vw; }
  .reveal-big.is-flex { flex-flow: row wrap; }
  .team-item { width: 80vw; min-width: 80vw; max-width: 80vw; }
  .project-about { width: 100%; max-width: var(--mw-2xl); }
  .menu-main { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-sm); }
  .hi-text-max { max-width: none; }
  .statement-reveal { padding-left: 10vw; padding-right: 10vw; }
  .showcase-layout { gap: var(--s-2xs); padding-bottom: 4rem; }
  .image-split-layout { max-height: 25rem; }
  .footer-cta-image { width: 60vw; height: 40%; }
  .hd-bigname-wrap { flex-direction: column; justify-content: space-between; align-items: flex-start; }
  .solution { min-height: 100vw; }
  .solutions--hero .solution { min-height: 90svh; }
  .solution-link { padding: var(--s-md); }
  .blog-content { padding-left: 2.5vw; padding-right: 2.5vw; }
  .typo-text { max-width: none; font-size: 3.5vw; }
  .team { width: 96%; }
  .reveal-heading { font-size: 4vw; }
  .solutions--hero .solution-title h2 { font-size: 8vw; }
  .tabs-menu { margin-bottom: var(--s-sm); }
  .solution-about { flex-direction: column; justify-content: flex-end; align-items: flex-start; }
  .footer-grid.is-1st { grid-template-columns: 1fr; }
  .marker-icon { width: 1.5rem; height: 1.5rem; }
  .gallery { max-height: 40rem; }
  .footer-contact { font-size: var(--p-md); }
  .quote-image { width: 30vw; height: 33vw; }
  .ach-num { min-width: 25vw; font-size: 8vw; }
  .ach-word { font-size: 8vw; }
  .quote-icon { width: 3rem; height: 3rem; }
  .reviews { padding-left: var(--s-md); }
  .review { width: 80vw; padding-left: var(--s-lg); padding-right: var(--s-lg); }
  .review-image { height: 40vw; }
  .review-quote { width: 1.75rem; height: 1.75rem; top: -3.7vw; }
  .title-grid { grid-template-columns: 1fr; place-items: start; }
  .title-max { text-align: left; justify-content: flex-start; align-items: flex-start; max-width: none; margin-left: 0; }
  .title-side { display: none; }
  .award-block { margin-left: auto; }
  .typo-action { flex-direction: column; gap: 2vw; margin-top: 5vw; }
  .marquee-text { font-size: 3vw; }
  .preload-text { max-width: var(--mw-l); }
  .play-pause { width: 1.5rem; height: 1.5rem; }
  .svc-item { padding-top: var(--s-md); }
  .svc-card { max-width: none; }
  .svc-detail { padding: var(--s-2xs) 0; }
  .stats-image { height: 40vw; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* entradas ao rolar (só quando o JavaScript está ativo) */
.js [data-reveal] { opacity: 0; transform: translateY(2rem); transition: opacity .8s, transform .8s cubic-bezier(.22,1,.36,1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-row] > * { opacity: 0; transform: translateX(2rem); transition: opacity .8s, transform .8s cubic-bezier(.22,1,.36,1); }
.js [data-reveal-row] > *.is-in { opacity: 1; transform: none; }
.js [data-reveal-row] > *:nth-child(2) { transition-delay: .1s; }
.js [data-reveal-row] > *:nth-child(3) { transition-delay: .2s; }
/* ao voltar para cima, escondem na hora (sem animação) */
.js [data-reveal]:not(.is-in), .js [data-reveal-row] > *:not(.is-in), .typo-image:not(.is-in),
.cta:not(.is-in) .cta-bg, .cta:not(.is-in) .cta-block.is-image { transition: none; }

@media (max-width: 991px) {
  .he-layout { min-height: 50svh; }
}
@media (max-width: 767px) {
  .hero-editorial { min-height: auto; }
  .he-bg { position: relative; height: 50vw; }
  .he-layout { min-height: auto; }
  .he-wrap { gap: var(--s-md); }
  .he-bg-layout { position: absolute; inset: 0; height: auto; margin-top: 0; }
}
@media (max-width: 991px) {
  .ach-num, .ach-word { transform: none; }
  .ach-line, .ach-border { transform: none; }
  .ach-thumb .cover { clip-path: none; }
}

/* fundo cinza da chamada final do rodapé */
.footer-bg-light { position: absolute; inset: 0; z-index: 1; background: #a3a3a3; }

/* formulário no celular */
@media (max-width: 767px) {
  .field, .field.is-message { font-size: 1.2rem; }
  .field-label { font-size: 1.25rem; }
}
@media (max-width: 479px) {
  .form-title-wrap { padding-top: 35vw; }
  .form-big-image { position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 30vw; }
  .field-label, .field-label.is-2nd { font-size: 1rem; font-weight: 500; }
  .tab-option { font-size: .8rem; }
  .radio-label { font-size: 1rem; }
  .form-buttons { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================
   PÁGINA DE CADA PROJETO (/projects/<slug>)
   ========================================================== */
.pj-hero { position: relative; z-index: 9; display: flex; align-items: flex-end; width: 100%; min-height: 100svh; padding: 6rem var(--s-md) var(--s-2xl); background: var(--dark); color: var(--bg-subtle); overflow: clip; }
.pj-hero-bg { position: absolute; inset: 0; z-index: 3; }
.pj-hero-gradient { position: absolute; inset: 0; z-index: 6; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, transparent 30%, transparent 45%, rgba(0, 0, 0, .8) 100%); pointer-events: none; }
.pj-hero-content { position: relative; z-index: 9; display: flex; flex-direction: column; gap: var(--s-lg); width: 100%; }
.pj-hero-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-md); }
.pj-back { display: inline-flex; align-items: center; gap: var(--s-xs); color: inherit; opacity: .85; transition: opacity .2s; }
.pj-back:hover { opacity: 1; }
.pj-back img { width: 1rem; height: 1rem; transform: rotate(180deg); }
.pj-title { max-width: 100%; overflow-wrap: anywhere; }
.pj-lead { max-width: var(--mw-l); opacity: .9; }
.pj-ia .label { opacity: .85; }

.pj-intro { position: relative; z-index: 9; padding: var(--pad) var(--s-md); background: var(--bg); color: var(--ink); }
.pj-intro-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 5vw; align-items: start; }
.pj-data { display: flex; flex-direction: column; }
.pj-data .project-details { opacity: 1; border-color: var(--stone); }
.pj-text { display: flex; flex-direction: column; gap: var(--s-lg); max-width: var(--mw-l); }

.pj-gallery { position: relative; z-index: 9; padding: 0 var(--s-md) var(--pad); background: var(--bg); }
.pj-gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-md); margin-bottom: var(--s-lg); padding-top: var(--s-lg); border-top: 1px solid var(--stone); }
/* grade em colunas: cada foto mantém a proporção original */
.pj-grid { column-count: 3; column-gap: var(--s-md); }
.pj-thumb { position: relative; display: block; width: 100%; margin: 0 0 var(--s-md); padding: 0; border: 0; border-radius: 3px; background: var(--bg-strong); overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.pj-thumb > img:first-child { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.pj-thumb:hover > img:first-child { transform: scale(1.04); }
.pj-thumb .zoom { position: absolute; top: var(--s-sm); right: var(--s-sm); width: 2rem; height: 2rem; opacity: 0; transition: opacity .3s; }
.pj-thumb:hover .zoom, .pj-thumb:focus-visible .zoom { opacity: 1; }

.pj-next { position: relative; z-index: 9; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 70svh; padding: var(--pad) var(--s-md); color: var(--bg-subtle); text-align: center; overflow: clip; }
.pj-next-bg { position: absolute; inset: 0; z-index: 3; }
.pj-next-bg .cover { transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.pj-next:hover .pj-next-bg .cover { transform: scale(1.04); }
.pj-next-overlay { position: absolute; inset: 0; z-index: 6; background: rgba(0, 0, 0, .55); transition: background-color .4s; }
.pj-next:hover .pj-next-overlay { background: rgba(0, 0, 0, .4); }
.pj-next-content { position: relative; z-index: 9; display: flex; flex-direction: column; align-items: center; gap: var(--s-md); }
.pj-next-title { font-size: 7vw; }
.pj-next-icon { width: 2.5rem; height: 2.5rem; transition: transform .3s; }
.pj-next:hover .pj-next-icon { transform: rotate(90deg); }

/* galeria ampliada: setas, contador e fechar (usada quando as fotos são de um grupo) */
.lightbox figure { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; margin: 0; }
.lb-btn { position: absolute; z-index: 2; display: flex; justify-content: center; align-items: center; width: 3rem; height: 3rem; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; font: 500 1.25rem/1 var(--sans); cursor: pointer; transition: background-color .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .15); }
.lb-prev { left: var(--s-md); top: 50%; transform: translateY(-50%); }
.lb-next { right: var(--s-md); top: 50%; transform: translateY(-50%); }
.lb-close { top: var(--s-md); right: var(--s-md); }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { display: none; }
.lb-count { position: absolute; bottom: var(--s-md); left: 50%; z-index: 2; transform: translateX(-50%); color: #fff; font-family: var(--mono); font-size: .8rem; letter-spacing: .05rem; opacity: .8; }

@media (max-width: 991px) {
  .pj-intro-grid { grid-template-columns: 1fr; }
  .pj-grid { column-count: 2; }
}
@media (max-width: 479px) {
  .pj-hero { min-height: 85svh; }
  .pj-title { font-size: 13vw; }
  .pj-grid { column-gap: var(--s-xs); }
  .pj-thumb { margin-bottom: var(--s-xs); }
  .pj-next-title { font-size: 12vw; }
  .lb-btn { width: 2.5rem; height: 2.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: var(--s-md); transform: none; }
}
