/* ============================================================
   GRUPO TITTO — hub · "A marca que se desdobra"
   Mobile-first · tokens em /shared/css/tokens.css
   Acento do hub: cobre (a cor oficial do Manual de Marca)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* sem scroll-behavior:smooth no CSS: quebra a medição de pins do ScrollTrigger
   com scroll nativo (âncoras ficam suaves via JS, com behavior explícito) */
body {
  background: var(--carbono);
  color: var(--branco);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; color: var(--acento); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-kicker { color: var(--acento); margin-bottom: 1.3rem; }
.section-kicker em { color: var(--aco); }
h1, h2, h3 { font-weight: 400; }

.grupo__title, .frentes__title, .assinatura__title, .numeros__title, .contato__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8.4vw, 4.6rem);
  line-height: 1.02;
  text-transform: uppercase;
}

/* ============ PLACEHOLDERS (até os assets do Gemini chegarem) ============ */
.ph { position: relative; background: var(--grafite); overflow: hidden; }
.ph::after {
  content: attr(data-ph);
  position: absolute;
  left: 0.7rem; bottom: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(157, 161, 166, 0.4);
  z-index: 2;
}
.ph--hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 130% at 82% -10%, rgba(233, 234, 236, 0.14) 0%, rgba(233, 234, 236, 0) 46%),
    conic-gradient(from 218deg at 72% 34%, #17191d 0deg, #0b0b0d 70deg, #202329 130deg, #0b0b0d 200deg, #14161a 290deg, #17191d 360deg),
    radial-gradient(120% 100% at 20% 100%, #101215 0%, #0b0b0d 60%);
}
.ph--metalurgia::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 55% at 50% 96%, rgba(242, 185, 13, 0.2) 0%, rgba(242, 185, 13, 0) 62%),
    radial-gradient(120% 120% at 50% 0%, #17191d 0%, #0b0b0d 70%);
}
.ph--engenharia::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(110, 155, 197, 0.16) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(110, 155, 197, 0.12) 0 1px, transparent 1px 46px),
    radial-gradient(100% 130% at 30% 0%, #14161a 0%, #0b0b0d 74%);
}
.ph--construtora::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(116deg, #1d2024 0%, #1d2024 46%, #0e1013 46.5%, #0b0b0d 100%),
    radial-gradient(120% 110% at 70% 0%, #191b1f 0%, #0b0b0d 80%);
}
.ph--servicos::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(46% 38% at 52% 46%, rgba(233, 231, 222, 0.16) 0%, rgba(233, 231, 222, 0.045) 46%, transparent 72%),
    radial-gradient(130% 130% at 50% 100%, #131519 0%, #0b0b0d 76%);
}
.ph--aerea::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(64deg, rgba(157, 161, 166, 0.05) 0 2px, transparent 2px 74px),
    repeating-linear-gradient(-26deg, rgba(157, 161, 166, 0.045) 0 1px, transparent 1px 44px),
    radial-gradient(90% 80% at 74% 22%, rgba(200, 122, 55, 0.1) 0%, transparent 55%),
    radial-gradient(140% 120% at 50% 0%, #16181c 0%, #0b0b0d 78%);
}
.ph--carbono::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(123deg, transparent 0 48.9%, rgba(200, 122, 55, 0.55) 49.4%, rgba(242, 185, 13, 0.28) 49.7%, transparent 50.4%),
    conic-gradient(from 40deg at 30% 60%, #101114 0deg, #0b0b0d 90deg, #16181b 170deg, #0b0b0d 260deg, #101114 360deg);
}

/* ============ LINHA DE PRUMO (progresso) ============ */
.seam {
  position: fixed;
  top: 0; right: 0;
  width: 3px; height: 100svh;
  background: rgba(157, 161, 166, 0.12);
  z-index: 60;
  pointer-events: none;
}
.seam i {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--acento-2), var(--acento));
  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform;
}
.seam b {
  position: absolute;
  left: 50%; top: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--acento);
  box-shadow: 0 0 12px 3px rgba(200, 122, 55, 0.7);
  transform: translate(-50%, -50%);
  opacity: 0;
  will-change: transform;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--pad-x);
  background: linear-gradient(180deg, rgba(11, 11, 13, 0.72), rgba(11, 11, 13, 0));
}
.header__logo img {
  width: clamp(150px, 38vw, 210px);
  height: auto;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.5));
}
.footer__logo img { width: clamp(160px, 20vw, 230px); height: auto; }
.header__right { display: flex; align-items: center; gap: 0.9rem; }
.header__cta {
  background: var(--acento);
  color: var(--carbono);
  padding: 0.62rem 0.8rem;
  font-size: 0.56rem;
  white-space: nowrap;
  transition: background 0.25s;
}
@media (min-width: 768px) {
  .header__cta { font-size: 0.62rem; padding: 0.62rem 0.95rem; }
}
.header__cta:hover { background: var(--branco); }
.header__menu-btn {
  width: 44px; height: 40px;
  background: none; border: 0; cursor: pointer;
  display: grid; place-content: center; gap: 6px;
  z-index: 70;
}
.header__menu-btn span {
  width: 26px; height: 2px;
  background: var(--branco);
  transition: transform 0.3s, opacity 0.3s;
}
.header__menu-btn.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__menu-btn.is-open span:nth-child(2) { opacity: 0; }
.header__menu-btn.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ MENU DRAWER ============ */
.menu {
  position: fixed;
  inset: 0 20% 0 0;
  min-width: 300px;
  background: var(--grafite);
  border-right: 1px solid var(--hairline);
  z-index: 65;
  visibility: hidden;
  transform: translateX(-101%);
  overflow-y: auto;
}
.menu__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.8rem;
  padding: 5rem var(--pad-x) 3rem;
}
.menu__nav li { margin-bottom: 0.4rem; }
.menu__nav a {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5.6vw, 2rem);
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.32rem 0;
  transition: color 0.25s;
}
.menu__nav a:hover { color: var(--acento); }
.menu__num { font-family: var(--font-mono); font-size: 0.7rem; color: var(--acento-2); }
.menu__contact { display: grid; gap: 0.45rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--aco); }
.menu__contact a:hover { color: var(--acento); }
.menu__tagline { color: var(--aco); font-size: 0.8rem; }
.menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(11, 11, 13, 0.6);
  z-index: 62;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s;
}
.menu-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn--claro { background: var(--branco); border-color: var(--branco); color: var(--carbono); }
.btn--claro:hover { background: var(--acento); border-color: var(--acento); }
.btn--ghost { border-color: rgba(157, 161, 166, 0.4); }
.btn--ghost:hover { border-color: var(--acento); color: var(--acento); }
.btn--frente { background: var(--cor, var(--acento)); border-color: var(--cor, var(--acento)); color: var(--carbono); }
.btn--frente:hover { background: var(--branco); border-color: var(--branco); }

/* ============ 00 HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg picture, .hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.55) 0%, rgba(11, 11, 13, 0.15) 40%, rgba(11, 11, 13, 0.9) 100%);
  z-index: 1;
}
/* colunas hairline (referência donate/ABOUT) */
.colunas {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 1;
  pointer-events: none;
}
.colunas i { border-right: 1px solid rgba(157, 161, 166, 0.09); }
.colunas i:last-child { border-right: 0; }

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem var(--pad-x) 5.5rem;
}
.hero__kicker {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-left: 3px solid var(--acento);
  padding-left: 0.9rem;
  margin-bottom: 1.4rem;
  font-size: 0.7rem;
  color: var(--branco);
  text-shadow: 0 1px 10px rgba(11, 11, 13, 0.7);
}
.hero__kicker-loc { color: var(--acento); }

.hero__wordmark { position: relative; }
.hero__grupo {
  font-size: 0.72rem;
  letter-spacing: 0.62em;
  color: var(--steel-1);
  margin-bottom: 0.4rem;
}
.hero__brand {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 22vw, 17rem);
  line-height: 0.9;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  margin-left: -0.05em;
}
/* ecos fantasma (referência GIF ABOUT) */
.hero__eco {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 22vw, 17rem);
  line-height: 0.9;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  margin-left: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 234, 236, 0.13);
  transform: translateY(-38%);
  pointer-events: none;
  user-select: none;
}
.hero__eco--2 { -webkit-text-stroke-color: rgba(233, 234, 236, 0.055); transform: translateY(-4%); }

/* a fusão: 4 frentes → 1 barra cobre */
.fusao {
  position: relative;
  height: 40px;
  margin: 1.2rem 0 1.2rem;
  width: clamp(150px, 34vw, 420px);
}
.fusao__linha {
  position: absolute;
  left: 0;
  height: 3px;
  background: var(--cor);
  transform-origin: left center;
}
.fusao__linha:nth-child(1) { top: 0;    width: 62%; }
.fusao__linha:nth-child(2) { top: 11px; width: 84%; }
.fusao__linha:nth-child(3) { top: 22px; width: 48%; }
.fusao__linha:nth-child(4) { top: 33px; width: 71%; }
.fusao__bar {
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 6px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, var(--acento-2), var(--acento));
  transform-origin: left center;
}
.hero__tag {
  font-size: clamp(1rem, 4.4vw, 1.5rem);
  color: var(--branco);
  margin-bottom: 1.8rem;
  text-shadow: 0 1px 12px rgba(11, 11, 13, 0.8);
}
.hero__cta { display: flex; flex-direction: column; gap: 0.8rem; }
.hero__scroll {
  position: absolute;
  right: var(--pad-x); bottom: 1.2rem;
  z-index: 2;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.62rem;
  color: var(--aco);
}
.hero__scroll svg { width: 16px; }

/* ============ MARQUEE ============ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--grafite);
  padding: 0.85rem 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: max-content;
  color: var(--aco);
  font-size: 0.68rem;
  white-space: nowrap;
}
.marquee__track span { flex-shrink: 0; }
.marquee__track i {
  flex-shrink: 0;
  width: 7px; height: 7px;
  background: var(--acento-2);
  transform: rotate(45deg);
}

/* ============ 01 O GRUPO: full-bleed ============ */
.grupo {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: var(--pad-y) var(--pad-x) 0;
}
.grupo__bg { position: absolute; inset: 0; }
.grupo__bg img { width: 100%; height: 100%; object-fit: cover; }
.grupo__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.62) 0%, rgba(11, 11, 13, 0.18) 42%, rgba(11, 11, 13, 0.9) 100%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.55), rgba(11, 11, 13, 0.05) 55%);
}
.grupo__inner { position: relative; z-index: 2; max-width: 46rem; }
.grupo__title { margin-bottom: 1.4rem; text-shadow: 0 2px 18px rgba(11, 11, 13, 0.6); }
.grupo__p { color: var(--steel-1); margin-bottom: 1rem; max-width: 46ch; text-shadow: 0 1px 10px rgba(11, 11, 13, 0.7); }
.grupo__p strong { color: var(--branco); font-weight: 600; }

/* trajetória: régua mono no rodapé da foto */
.grupo__linha {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 5vh, 3.4rem);
  padding: 1.3rem 0 1.6rem;
  border-top: 1px solid rgba(244, 244, 242, 0.22);
}
.grupo__linha li { position: relative; padding-left: 1rem; }
.grupo__linha li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 6px; height: 6px;
  background: var(--aco);
  transform: rotate(45deg);
}
.grupo__linha li.is-atual::before { background: var(--acento); }
.grupo__linha span { display: block; color: var(--aco); font-size: 0.58rem; margin-bottom: 0.15rem; }
.grupo__linha li.is-atual span { color: var(--acento); }
.grupo__linha p { font-size: 0.85rem; color: var(--steel-1); }
.grupo__linha li.is-atual p { color: var(--branco); font-weight: 600; }

/* ============ 02 AS FRENTES (pórticos) ============ */
.frentes { background: var(--grafite); overflow: hidden; }
.frentes__pin { position: relative; }
.frentes__head {
  padding: clamp(2.4rem, 6vh, 4rem) var(--pad-x) 1rem;
}
.frentes__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5.6vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1.05;
}
.frentes__track { display: block; }

.portico {
  position: relative;
  min-height: 100svh;
  background: var(--grafite);
  border-top: 1px solid var(--hairline);
  padding: 4.6rem var(--pad-x) 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.portico:nth-child(1) { z-index: 1; }
.portico:nth-child(2) { z-index: 2; }
.portico:nth-child(3) { z-index: 3; }
.portico:nth-child(4) { z-index: 4; }
.portico__bg { position: absolute; inset: 0; }
.portico__bg img { width: 100%; height: 100%; object-fit: cover; }
.portico__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.55) 0%, rgba(11, 11, 13, 0.1) 38%, rgba(11, 11, 13, 0.88) 100%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.4), rgba(11, 11, 13, 0.02) 60%);
}
.portico__nome {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  /* mobile: CONSTRUTORA (11 letras) ocupa ~8,4x o font-size — a conta garante
     a palavra inteira dentro de 100vw - 2*pad-x em telas de 320 a 767px */
  font-size: clamp(1.8rem, 11.2vw - 0.3rem, 12rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-top: auto;
  margin-bottom: auto;
  text-shadow: 0 3px 26px rgba(11, 11, 13, 0.65);
}
.portico__nome span { color: transparent; -webkit-text-stroke: 1.5px rgba(244, 244, 242, 0.75); }
/* card flutuante (referência donate) */
.portico__card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.7rem;
  max-width: 30rem;
  padding: 1.2rem 1.3rem 1.3rem;
  background: rgba(11, 11, 13, 0.74);
  border: 1px solid rgba(157, 161, 166, 0.22);
  border-left: 3px solid var(--cor);
}
.portico__cod { color: var(--cor); font-size: 0.64rem; }
.portico__breve {
  color: var(--aco);
  border: 1px solid var(--hairline);
  padding: 0.14rem 0.4rem;
  margin-left: 0.5rem;
  font-size: 0.54rem;
}
.portico__promessa {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 4.6vw, 1.7rem);
  text-transform: uppercase;
}
.portico__servicos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.4rem;
  color: var(--aco);
  font-size: 0.62rem;
}
.portico__servicos li { position: relative; padding-left: 0.9rem; }
.portico__servicos li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 5px; height: 5px;
  background: var(--cor);
  transform: translateY(-50%) rotate(45deg);
}
.portico__card .btn { justify-self: start; margin-top: 0.4rem; }

/* acento "acende" quando o pórtico ativa — overlay barato (nada de filter em imagem grande) */
.portico__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 13, 0.55);
  opacity: 1;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.portico.is-active .portico__bg::after { opacity: 0; }
.portico__cod, .portico__servicos li::before, .portico .btn--frente {
  opacity: 0.5;
  transition: opacity 0.45s ease;
}
.portico.is-active .portico__cod,
.portico.is-active .portico__servicos li::before,
.portico.is-active .btn--frente { opacity: 1; }

/* ============ 03 UMA ASSINATURA (tipográfico, numerais fantasma) ============ */
.assinatura {
  background: var(--carbono);
  padding: var(--pad-y) var(--pad-x);
  overflow: hidden;
}
.assinatura__head { margin-bottom: clamp(2rem, 6vh, 3.6rem); }
.assinatura__title { max-width: 16ch; }

.camadas { display: block; }
.camada {
  position: relative;
  display: grid;
  padding: clamp(1.5rem, 4vh, 2.6rem) 0;
  border-top: 1px solid var(--hairline);
  overflow: hidden;
}
/* numeral gigante fantasma, cortado pela linha (referência how-we-work) */
.camada__num {
  position: absolute;
  right: -0.06em;
  top: 50%;
  transform: translateY(-46%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 26vw, 17rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(233, 234, 236, 0.11);
  pointer-events: none;
  user-select: none;
}
.camada__corpo { position: relative; z-index: 1; display: grid; gap: 0.35rem; }
.camada__frente { color: var(--cor); font-size: 0.62rem; }
.camada__nome {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 4.6rem);
  line-height: 1;
  text-transform: uppercase;
  font-weight: 400;
}
.camada__desc { color: var(--aco); font-size: 0.92rem; max-width: 46ch; }
/* o traço da frente cresce na base da linha */
.camada__traco {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--cor);
  transform: scaleX(0);
  transform-origin: left center;
}
.no-motion .camada__traco { transform: none; }

/* os 4 traços assinam na barra cobre */
.assinatura__fecho { margin-top: clamp(2rem, 5vh, 3rem); }
.assinatura__bar {
  display: block;
  width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--acento-2), var(--acento));
  transform: scaleX(0);
  transform-origin: left center;
}
.no-motion .assinatura__bar { transform: none; }
.assinatura__note {
  margin-top: 1.4rem;
  color: var(--aco);
  max-width: 44ch;
  font-size: 0.95rem;
}
.assinatura__note strong { color: var(--branco); font-weight: 600; }

/* ============ 04 NÚMEROS ============ */
.numeros {
  position: relative;
  overflow: hidden;
  padding: var(--pad-y) var(--pad-x);
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
}
.numeros__bg { position: absolute; inset: 0; }
.numeros__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.16);
  transform-origin: 60% 40%;
}
.numeros__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 13, 0.6), rgba(11, 11, 13, 0.3) 40%, rgba(11, 11, 13, 0.92) 88%);
}
.numeros__inner { position: relative; z-index: 2; width: 100%; }
.numeros__title { max-width: 14ch; margin-bottom: 2.2rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.7rem 1.2rem; }
.stats__item { border-left: 1px solid rgba(244, 244, 242, 0.25); padding-left: 1rem; }
.stats__item--frentes { grid-column: span 2; }
.stats__num, .stats__plus {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 9.5vw, 4.6rem);
  line-height: 1;
}
.stats__plus { color: var(--acento); }
.stats__label { display: block; color: var(--aco); margin-top: 0.5rem; font-size: 0.62rem; }

/* ============ 05 CONTATO ============ */
.contato { position: relative; overflow: hidden; background: var(--carbono); }
.contato__bg { position: absolute; inset: 0; }
.contato__bg img { width: 100%; height: 100%; object-fit: cover; }
.contato__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 13, 0.82), rgba(11, 11, 13, 0.45) 45%, rgba(11, 11, 13, 0.9));
}
.contato__inner {
  position: relative; z-index: 2;
  display: grid;
  gap: 2.5rem;
  padding: var(--pad-y) var(--pad-x);
}
.contato__title { max-width: 12ch; }
.contato__text { color: var(--aco); max-width: 44ch; margin-top: 1.3rem; }
.contato__text strong { color: var(--branco); font-weight: 600; }
.contato__links { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.8rem; }
.contato__dados { display: grid; gap: 0.6rem; margin-top: 2.2rem; color: var(--branco); font-size: 0.72rem; }
.contato__dados span { display: inline-block; width: 6.2rem; color: var(--aco); }

.form {
  background: rgba(20, 21, 24, 0.94);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--acento);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  align-self: start;
}
.form__label { color: var(--acento); margin-bottom: 1.4rem; }
.form__field { margin-bottom: 1.05rem; }
.form__field label {
  display: block;
  font-size: 0.66rem;
  color: var(--aco);
  margin-bottom: 0.4rem;
}
.form__field input, .form__field textarea, .form__field select {
  width: 100%;
  background: var(--carbono);
  border: 1px solid var(--hairline);
  color: var(--branco);
  font-family: var(--font-body);
  font-size: 1rem; /* 16px: sem zoom do iOS */
  padding: 0.85rem 1rem;
  transition: border-color 0.25s;
  resize: vertical;
}
.form__field select { appearance: none; cursor: pointer; }
.form__field input:focus, .form__field textarea:focus, .form__field select:focus {
  outline: none;
  border-color: var(--acento);
}
.form__field input::placeholder, .form__field textarea::placeholder { color: rgba(157, 161, 166, 0.45); }
.btn--submit { width: 100%; margin-top: 0.3rem; }
.form__hint { color: var(--aco); font-size: 0.62rem; margin-top: 0.9rem; text-transform: none; letter-spacing: 0.05em; }

/* ============ FOOTER ============ */
.footer {
  background: var(--carbono);
  border-top: 1px solid var(--hairline);
  padding: clamp(2.6rem, 6vh, 4.5rem) var(--pad-x) 1.8rem;
}
.footer__top {
  display: grid;
  gap: 1.8rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 1.6rem;
}
.footer__lockup strong { font-size: 1.8rem; }
.footer__nav {
  display: flex; flex-wrap: wrap;
  gap: 0.9rem 1.6rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.92rem;
}
.footer__nav a:hover { color: var(--acento); }
.footer__contact { display: grid; gap: 0.45rem; color: var(--aco); font-size: 0.72rem; }
.footer__contact a:hover { color: var(--acento); }
.footer__bottom {
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem 2rem;
  padding-top: 1.4rem;
  color: var(--aco);
  font-size: 0.64rem;
}

/* ============================================================
   DESKTOP (min-width: 768px)
   ============================================================ */
@media (min-width: 768px) {
  .hero__content { padding-bottom: 7rem; }
  .hero__kicker { flex-direction: row; align-items: center; gap: 0.9rem; font-size: 0.75rem; }
  .hero__kicker-loc { position: relative; padding-left: 1.1rem; }
  .hero__kicker-loc::before { content: "·"; position: absolute; left: 0; color: var(--aco); }
  .hero__brand, .hero__eco { font-size: min(19vw, 16rem); }
  .hero__cta { flex-direction: row; gap: 1rem; }
  .colunas { grid-template-columns: repeat(6, 1fr); }

  .grupo__inner { max-width: 52rem; }
  .grupo__linha { grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }

  /* pórticos: trilho horizontal pinado (o JS liga) */
  .frentes__track.is-horizontal { display: flex; width: 400vw; will-change: transform; }
  .frentes__track.is-horizontal .portico {
    position: relative;
    top: auto;
    width: 100vw;
    min-height: calc(100svh - 9.5rem);
    border-top: 0;
    border-left: 1px solid var(--hairline);
    padding-top: 1rem;
  }
  .portico__nome { font-size: clamp(4rem, 11vw, 11rem); }
  .portico__card { max-width: 27rem; }

  .camada { padding: clamp(2rem, 6vh, 3.2rem) 0; }
  .camada__desc { font-size: 1rem; }
  .assinatura__note { font-size: 1.05rem; }

  /* números espalhados em diagonal (referência Signature) */
  .stats { grid-template-columns: repeat(5, 1fr); gap: 2rem; align-items: start; }
  .stats__item--frentes { grid-column: auto; }
  .stats__item:nth-child(1) { transform: translateY(0); }
  .stats__item:nth-child(2) { transform: translateY(3.4rem); }
  .stats__item:nth-child(3) { transform: translateY(6.8rem); }
  .stats__item:nth-child(4) { transform: translateY(10.2rem); }
  .stats__item:nth-child(5) { transform: translateY(13.6rem); }
  .numeros { padding-bottom: calc(var(--pad-y) + 14rem); }

  .contato__inner { grid-template-columns: 1fr minmax(340px, 500px); gap: clamp(3rem, 6vw, 6rem); }
  .contato__links { flex-direction: row; }

  .footer__top { grid-template-columns: auto 1fr auto; align-items: start; gap: 3rem; }
  .footer__nav { justify-content: center; font-size: 1rem; }
  .footer__contact { text-align: right; }
}

/* ============ ACESSIBILIDADE ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
