/* ============================================================
   TWELVE 2026 - CSS unico, sem framework e sem build.
   Edite as variaveis abaixo (:root) para mudar cores e ritmo.
   Fonte: Helvetica Neue (arquivos em /fonts, carregados via @font-face).
   ============================================================ */

/* ---------- fontes locais ---------- */
@font-face {
  font-family: "Helvetica Neue LT";
  src: url("../fonts/HelveticaNeueLTStd-Bd.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Neue LT";
  src: url("../fonts/HelveticaNeueLTStd-Hv.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --fg: #f4f2ee;
  --white: #ffffff;
  --muted: #8f8c86;
  --card: #141414;
  --border: rgba(255, 255, 255, 0.12);
  --primary: #ff5a00;         /* laranja Twelve */
  --primary-2: #ff7a1f;       /* laranja claro (destaque) */
  --primary-fg: #0a0a0a;

  --font: "Helvetica Neue LT", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --pad: 1.5rem;              /* respiro lateral no mobile */
}
@media (min-width: 768px) { :root { --pad: 3rem; } }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 700;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--primary); color: var(--primary-fg); }

/* ---------- utilitarios ---------- */
.display {
  font-family: var(--font);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: -0.02em;
}
.display-xl {
  font-family: var(--font);
  font-weight: 900;
  font-size: 17vw;
  line-height: 0.78;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
@media (min-width: 768px) { .display-xl { font-size: 11vw; } }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
}
.rule { display: block; width: 3rem; height: 2px; background: var(--primary); }

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-up.is-in { opacity: 1; transform: none; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}
.preloader.is-done { transform: translateY(-100%); }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.preloader__logo { height: 3.5rem; width: auto; }
.preloader__count {
  font-weight: 900;
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
}
@media (min-width: 768px) { .preloader__count { font-size: 6rem; } }
.preloader__bar {
  position: absolute;
  bottom: 2rem; left: 0; right: 0;
  margin: 0 auto;
  width: 70vw; max-width: 48rem; height: 2px;
  background: var(--border);
  overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%; width: 100%;
  background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform 2s ease-in-out;
}

/* ---------- barra do topo (preta ao rolar) ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 5rem; z-index: 80; pointer-events: none;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
@media (min-width: 768px) { .topbar { height: 6rem; } }
.topbar.is-scrolled {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--border);
}

/* ---------- logo + menu fixos ---------- */
.brand {
  position: fixed;
  top: 1.4rem; left: var(--pad);
  z-index: 82;
}
.brand img { height: 2.4rem; width: auto; }
@media (min-width: 768px) { .brand { top: 2rem; } .brand img { height: 2.8rem; } }

.menu-btn {
  position: fixed;
  top: 1.4rem; right: var(--pad);
  z-index: 84;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  background: none; border: 0; cursor: pointer;
  font-family: inherit;
}
@media (min-width: 768px) { .menu-btn { top: 2rem; } }
.menu-btn__bar { display: block; height: 2px; background: var(--primary); transition: all 0.3s ease; }
.menu-btn__bar:nth-child(1) { width: 1.9rem; }
.menu-btn__bar:nth-child(2) { width: 1.1rem; }
.menu-btn.is-open .menu-btn__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.is-open .menu-btn__bar:nth-child(2) { width: 1.9rem; transform: rotate(-45deg); }
.menu-btn__label {
  margin-top: 0.15rem;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--fg);
}

.menu-overlay {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad);
  background: var(--bg);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s cubic-bezier(0.76, 0, 0.24, 1);
  visibility: hidden;
}
.menu-overlay.is-open { clip-path: inset(0 0 0% 0); visibility: visible; }
.menu-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.menu-nav span { display: block; overflow: hidden; }
.menu-nav a {
  display: block;
  font-weight: 900; font-size: 13vw; line-height: 0.95;
  text-transform: uppercase; letter-spacing: -0.02em;
  transform: translateY(110%);
  transition: transform 0.7s var(--ease), color 0.3s;
}
@media (min-width: 768px) { .menu-nav a { font-size: 6.5vw; } }
.menu-overlay.is-open a { transform: none; }
.menu-nav a:hover { color: var(--primary); }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 100;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 999px; background: var(--primary);
  opacity: 0.7; pointer-events: none; display: none;
  transition: transform 0.18s ease-out, opacity 0.2s;
}
.cursor.is-active { transform: scale(2.6); opacity: 0.9; }
@media (pointer: fine) and (min-width: 768px) { .cursor.is-on { display: block; } }

/* ============================================================
   HERO (video de fundo em loop)
   ============================================================ */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  width: 100%; min-height: 100svh;
  padding: 7rem var(--pad) 5rem;
  overflow: hidden;
  text-align: center;
}
.hero__video {
  position: absolute; inset: 0; overflow: hidden;
  background: #000 center/cover no-repeat;
  background-image: url("../img/hero-poster.jpg"); /* poster/fallback: troque quando tiver o still do hero */
}
/* o iframe do YouTube e injetado pelo JS dentro deste wrapper.
   A escala abaixo faz o video cobrir a tela inteira (efeito "cover"). */
.hero__video iframe,
.hero__video video {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;          /* 16:9 pela largura */
  min-width: 177.78vh; min-height: 100vh; /* 16:9 pela altura */
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none;
  object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.55), rgba(10,10,10,0.25) 35%, rgba(10,10,10,0.85));
}
.hero__content { position: relative; z-index: 5; max-width: 62rem; }
.hero__title {
  color: var(--white);
  font-weight: 900; text-transform: uppercase;
  line-height: 0.98; letter-spacing: -0.02em;
  font-size: clamp(1.05rem, 5.35vw, 3.9rem);
}
.hero__title .strong { font-size: 1.18em; }
.hero__title .line { display: block; }
.hero__title .line--nowrap { white-space: nowrap; }
.hero__sub {
  margin-top: 2rem;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.06em; color: var(--white);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}
@media (min-width: 768px) { .hero__sub { font-size: 1.05rem; } }
body.is-ready .hero__sub { opacity: 0.92; transform: none; }
.hero__social {
  position: absolute; left: var(--pad); bottom: 1.8rem; z-index: 6;
  display: flex; gap: 0.8rem;
}
.hero__social a {
  display: grid; place-items: center;
  width: 2.2rem; height: 2.2rem;
  border: 2px solid var(--primary); border-radius: 6px;
  color: var(--primary); transition: background 0.25s, color 0.25s;
}
.hero__social a:hover { background: var(--primary); color: var(--primary-fg); }
.hero__social svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }

/* ============================================================
   FAIXA / FRASE (separador entre secoes)
   ============================================================ */
.band {
  padding: 3.5rem var(--pad);
  text-align: center;
}
@media (min-width: 768px) { .band { padding: 4.5rem var(--pad); } }
.band__title {
  font-weight: 900; text-transform: uppercase;
  line-height: 0.92; letter-spacing: -0.02em;
  color: var(--primary);
  font-size: 8vw;
}
@media (min-width: 768px) { .band__title { font-size: 3.4vw; } }
.band__title .big { color: var(--primary-2); font-size: 1.15em; }
.band__sub {
  margin-top: 0.9rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 90, 0, 0.6);
}
@media (min-width: 768px) { .band__sub { font-size: 0.85rem; } }
.band--dual .band__title + .band__title { margin-top: 0.1rem; }

/* ============================================================
   MANIFESTO (bloco laranja + texto + foto do predio + adesivos)
   ============================================================ */
.manifesto { position: relative; }
.manifesto__grid {
  display: grid; grid-template-columns: 1fr;
}
@media (min-width: 900px) { .manifesto__grid { grid-template-columns: 1.05fr 0.95fr; } }

.manifesto__left { position: relative; }
.manifesto__block {
  background: var(--primary); color: var(--white);
  padding: 2.5rem var(--pad) 3rem;
}
@media (min-width: 768px) { .manifesto__block { padding: 3.5rem 3rem 4rem; } }
.manifesto__block .small {
  font-weight: 900; text-transform: uppercase;
  line-height: 0.95; letter-spacing: -0.01em;
  font-size: 8vw;
}
.manifesto__block .big {
  font-weight: 900; text-transform: uppercase;
  line-height: 0.9; letter-spacing: -0.02em;
  font-size: 12vw; margin-top: 0.4rem;
}
@media (min-width: 768px) {
  .manifesto__block .small { font-size: 2.6rem; }
  .manifesto__block .big { font-size: 4.2rem; }
}
.manifesto__text {
  padding: 2.5rem var(--pad) 3.5rem;
}
@media (min-width: 768px) { .manifesto__text { padding: 3rem 3rem 4rem; } }
.manifesto__text p {
  font-size: 0.92rem; font-weight: 700; line-height: 1.55;
  letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--fg); margin-bottom: 1.3rem;
  max-width: 40rem;
}
.manifesto__text p.hl { color: var(--primary); }

.manifesto__photo {
  position: relative; min-height: 60vh;
  background: #111 center/cover no-repeat;
  background-image: url("../img/predio-twelve.jpg");
}
@media (min-width: 900px) { .manifesto__photo { min-height: 100%; } }

/* adesivos */
.sticker { position: absolute; z-index: 6; pointer-events: none; }
.sticker--lets {
  width: 26vw; max-width: 180px;
  top: -2.6rem; right: 5%;
}
@media (min-width: 900px) { .sticker--lets { top: -2.4rem; right: 7%; left: auto; width: 11vw; } }
.sticker--enjoy {
  width: 40vw; max-width: 250px;
  right: 4%; bottom: -3rem;
}
@media (min-width: 900px) { .sticker--enjoy { width: 15vw; left: 0; right: auto; transform: translateX(-50%); bottom: -4rem; } }

/* ============================================================
   EXPERTISES
   ============================================================ */
.expertises { padding: 5rem var(--pad) 2rem; }
@media (min-width: 768px) { .expertises { padding: 7rem var(--pad) 3rem; } }
.section-head { margin-bottom: 2.5rem; }
.expertise-grid {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--border);
}
@media (min-width: 640px) { .expertise-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .expertise-grid { grid-template-columns: repeat(4, 1fr); } }
.expertise {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-start;
  min-height: 42vh; background: var(--bg); padding: 2rem;
}
@media (min-width: 768px) { .expertise { min-height: 46vh; padding: 2.2rem; } }
.expertise::before {
  content: ""; position: absolute; inset: 0;
  background: var(--primary); transform: translateY(100%);
  transition: transform 0.6s var(--ease);
}
.expertise:hover::before { transform: none; }
.expertise__ghost {
  position: absolute; right: -0.4rem; bottom: -2.5rem;
  font-weight: 900; font-size: 16vh; line-height: 1;
  color: rgba(244, 242, 238, 0.06); pointer-events: none; user-select: none;
}
.expertise__label, .expertise h3, .expertise p { position: relative; z-index: 1; }
.expertise__label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--muted); transition: color 0.4s;
}
.expertise h3 {
  margin-top: 1.1rem; font-weight: 900; font-size: 2rem; line-height: 0.95;
  text-transform: uppercase; transition: color 0.4s;
}
@media (min-width: 768px) { .expertise h3 { font-size: 2.4rem; } }
.expertise p {
  margin-top: auto; padding-top: 2rem; max-width: 24rem;
  font-size: 0.86rem; font-weight: 700; line-height: 1.55;
  color: var(--muted); transition: color 0.4s;
}
.expertise:hover .expertise__label,
.expertise:hover h3,
.expertise:hover p { color: var(--primary-fg); }

/* ============================================================
   CASES (scroll horizontal)
   ============================================================ */
.cases { position: relative; height: 560vh; background: var(--bg); }
.cases__sticky {
  position: sticky; top: 0;
  display: flex; flex-direction: column; justify-content: center;
  height: 100svh; overflow: hidden;
}
.cases__head {
  display: flex; align-items: baseline; gap: 1.25rem;
  padding: 0 var(--pad); margin-bottom: 2rem;
}
.cases__count {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--muted);
}
.cases__track { display: flex; gap: 1.25rem; padding: 0 var(--pad); will-change: transform; }
.case {
  position: relative; flex: 0 0 auto;
  display: flex; flex-direction: column; justify-content: space-between;
  height: 62vh; width: 80vw; overflow: hidden;
  border: 1px solid var(--border); background: var(--card);
  padding: 1.4rem; transition: border-color 0.4s;
}
@media (min-width: 640px) { .case { width: 44vw; } }
@media (min-width: 1024px) { .case { width: 30vw; } }
.case__bg {
  position: absolute; inset: 0; z-index: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  transform: scale(1.02); transition: transform 0.6s var(--ease);
}
.case::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,10,10,0.85), rgba(10,10,10,0.15) 55%, rgba(10,10,10,0.35));
  transition: opacity 0.4s;
}
.case:hover { border-color: var(--primary); }
.case:hover .case__bg { transform: scale(1.08); }
.case__top, .case__foot, .case__cta { position: relative; z-index: 2; }
.case__top { display: flex; align-items: flex-start; justify-content: flex-end; }
.case__foot { display: flex; flex-direction: column; gap: 0.7rem; }
.case__title {
  font-weight: 900; font-size: 1.6rem; line-height: 1; color: var(--white);
  text-transform: uppercase; letter-spacing: -0.01em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
@media (min-width: 768px) { .case__title { font-size: 1.9rem; } }
.case__tag {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--white);
}
.case__cta {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--white);
}
.case__cta i { font-style: normal; transition: transform 0.4s; }
.case:hover .case__cta { color: var(--primary); }
.case:hover .case__cta i { transform: translateX(8px); }
/* dica de rolagem no mobile (onde nao ha scroll horizontal amarrado) */

/* ============================================================
   CLIENTES (grade estatica)
   ============================================================ */
.clientes {
  border-top: 1px solid var(--border);
  padding: 5rem var(--pad) 0;
}
@media (min-width: 768px) { .clientes { padding: 7rem var(--pad) 0; } }
.clientes__title { position: relative; display: inline-block; }
.clientes__title .dot {
  position: absolute; top: 0.1em; right: -0.35em;
  width: 0.22em; height: 0.22em; border-radius: 999px; background: var(--primary);
}
.clientes__wall {
  --cg: clamp(1rem, 2.4vw, 2.2rem);
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  column-gap: var(--cg); row-gap: clamp(1.9rem, 3.2vw, 2.9rem);
  max-width: 74rem;
  /* ESPACO ACIMA/ABAIXO DO BLOCO DE LOGOS: mude o 64px (vale para topo e base) */
  margin: 64px auto;
}
.client {
  flex: 0 0 calc((100% - 2 * var(--cg)) / 3);
  height: 2.7rem;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 640px) { .client { flex-basis: calc((100% - 3 * var(--cg)) / 4); } }
@media (min-width: 980px) { .client { flex-basis: calc((100% - 4 * var(--cg)) / 5); height: 3.3rem; } }
.client img {
  max-height: 100%; max-width: 8.2rem; width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1); opacity: 0.72;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s var(--ease);
}
.client:hover img { filter: none; opacity: 1; transform: scale(1.12); }
/* gap de ~30px tambem abaixo do bloco (ate a faixa seguinte) */
.clientes + .band { padding-top: 0; }

/* ============================================================
   CONTATO / RODAPE
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem var(--pad) 2.5rem;
}
@media (min-width: 768px) { .footer { padding: 5rem var(--pad) 3rem; } }
.footer__mail {
  display: block; color: var(--fg);
  font-weight: 900; font-size: 11vw; line-height: 0.85;
  letter-spacing: -0.03em; text-transform: uppercase;
  word-break: break-word; transition: color 0.3s;
}
@media (min-width: 768px) {
  .footer__mail { font-size: 5.9vw; white-space: nowrap; letter-spacing: -0.045em; }
}
.footer__mail:hover { color: var(--primary); }
.footer__note {
  margin-top: 1.5rem; max-width: 34rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.footer__info {
  display: flex; flex-direction: column; gap: 2rem;
  margin-top: 3.5rem;
}
@media (min-width: 768px) {
  .footer__info { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}
.footer__addr {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary); line-height: 1.7;
}
.footer__contact { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
@media (min-width: 768px) { .footer__contact { align-items: flex-end; } }
.footer__social { display: flex; gap: 0.7rem; }
.footer__social a {
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem;
  border: 2px solid var(--primary); border-radius: 6px; color: var(--primary);
  transition: background 0.25s, color 0.25s;
}
.footer__social a:hover { background: var(--primary); color: var(--primary-fg); }
.footer__social svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.footer__phone {
  font-size: 1rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--primary); text-decoration: underline; text-underline-offset: 4px;
}
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border);
}
.footer__logo { height: 1.9rem; width: auto; }
.footer__copy {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- botões flutuantes (WhatsApp + topo) ---------- */
.fabs {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  display: flex; flex-direction: column; gap: 0.7rem;
}
@media (min-width: 768px) { .fabs { right: 1.6rem; bottom: 1.6rem; } }
.fab {
  display: grid; place-items: center;
  width: 3.2rem; height: 3.2rem; border-radius: 999px;
  border: 0; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease), opacity 0.3s, background 0.25s;
}
.fab:hover { transform: translateY(-3px); }
.fab svg { width: 1.6rem; height: 1.6rem; fill: currentColor; }
.fab--wa { background: #25d366; color: #0a0a0a; }
.fab--wa:hover { background: #2ee06f; }
.fab--top {
  background: var(--primary); color: var(--primary-fg);
  opacity: 0; visibility: hidden; transform: translateY(12px);
}
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab--top:hover { background: var(--primary-2); }

/* ---------- acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
