/* ════════════════════════════════════════════════════════════
   DECORA SOB MEDIDA — style.css
   Organizado: variáveis → reset → utilitários → componentes → seções → responsivo
════════════════════════════════════════════════════════════ */

/* ── VARIÁVEIS ─────────────────────────────────────────── */
:root {
  --preto:         #0A0A0A;
  --dourado:       #C9A84C;
  --dourado-claro: #E8D5A3;
  --branco:        #FFFFFF;
  --off-white:     #F5F5F0;
  --cinza-escuro:  #1A1A1A;
  --cinza-medio:   #2D2D2D;
  --texto-cinza:   #545454;
  --texto-claro:   #CCCCCC;

  --font-titulo:   'Cormorant Garamond', Georgia, serif;
  --font-corpo:    'Montserrat', Arial, sans-serif;

  --max-w:         1180px;
  --pad-x:         clamp(20px, 5vw, 48px);
  --logo-negativo: url('../img/decora-negativo.webp');
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--font-corpo);
  font-weight: 300;
  background: var(--preto);
  color: var(--preto);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── UTILITÁRIOS ────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.s-label {
  display: block;
  font-family: var(--font-corpo);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.s-label-gold { color: var(--dourado); }
.s-label-light { color: rgba(255,255,255,0.45); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo-mark {
  display: block;
  background-image: var(--logo-negativo);
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: screen;
}

.gold-line {
  display: block;
  width: 0;
  height: 1px;
  background: var(--dourado);
  margin-bottom: 28px;
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}
.gold-line.visible { width: 48px; }

/* ── BOTÕES ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-corpo);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 34px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--dourado);
  color: var(--preto);
  border-color: var(--dourado);
}
.btn-gold:hover {
  background: var(--dourado-claro);
  border-color: var(--dourado-claro);
}
.btn-outline-dark {
  background: transparent;
  color: var(--dourado);
  border-color: var(--dourado);
}
.btn-outline-dark:hover {
  background: var(--dourado);
  color: var(--preto);
}
.btn-outline-white {
  background: transparent;
  color: var(--branco);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
  border-color: var(--branco);
  background: rgba(255,255,255,0.08);
}

/* ── ANIMAÇÕES DE SCROLL ────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: 0.10s; }
[data-reveal][data-delay="2"] { transition-delay: 0.22s; }
[data-reveal][data-delay="3"] { transition-delay: 0.36s; }
[data-reveal][data-delay="4"] { transition-delay: 0.50s; }

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 24px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.97);
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom-color: var(--cinza-medio);
}
.navbar-logo {
  display: block;
  width: 178px;
  height: 56px;
  flex-shrink: 0;
}
.navbar-logo-mark {
  width: 100%;
  height: 100%;
  background-size: 250px 250px;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar-links a {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s;
}
.navbar-links a:hover { color: var(--branco); }
.navbar-cta { font-size: 11px !important; padding: 11px 22px !important; }

/* ════════════════════════════════════════
   S1 — HERO
════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--pad-x) 96px;
  border-bottom: 2px solid var(--dourado);
  overflow: hidden;
}

.diferencial,
.portfolio,
.processo,
.depoimentos,
.mitos,
.cta-final,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--cinza-escuro);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s ease, transform 6.8s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-ph {
  font-family: var(--font-corpo);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cinza-medio);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.50);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* animações de entrada do hero — independentes do scroll reveal */
.hero-tag {
  display: block;
  font-family: var(--font-corpo);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 20px;
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.25s forwards;
}
.hero h1 {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  color: var(--branco);
  margin-bottom: 20px;
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.45s forwards;
}
.hero-sub {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  max-width: 500px;
  margin-bottom: 40px;
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.65s forwards;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.85s forwards;
}

.hero-scroll {
  position: absolute;
  right: var(--pad-x);
  bottom: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 1.2s forwards;
}
.hero-scroll-txt {
  writing-mode: vertical-rl;
  font-family: var(--font-corpo);
  font-size: 8px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: var(--dourado);
  opacity: 0.6;
  animation: scrollPulse 2.4s ease-in-out infinite 1.5s;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1);    }
  50%       { opacity: 0.2; transform: scaleY(0.45); }
}

/* ── anel dourado pulsante para o botão WhatsApp no mobile ── */
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0    rgba(201, 168, 76, 0.50); }
  65%  { box-shadow: 0 0 0 14px rgba(201, 168, 76, 0);    }
  100% { box-shadow: 0 0 0 0    rgba(201, 168, 76, 0);    }
}

/* ════════════════════════════════════════
   S2 — NÚMEROS
════════════════════════════════════════ */
.numeros {
  background: var(--preto);
  padding: 72px 0;
  border-bottom: 1px solid var(--cinza-medio);
}
.numeros-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.num-item {
  flex: 1;
  text-align: center;
  padding: 20px 16px;
  position: relative;
}
.num-item + .num-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--cinza-medio);
}
.num-val {
  display: block;
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: clamp(52px, 7.5vw, 80px);
  color: var(--dourado);
  line-height: 1;
  letter-spacing: -0.01em;
}
.num-desc {
  display: block;
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--texto-claro);
  margin-top: 10px;
}

/* ════════════════════════════════════════
   S3 — DIFERENCIAL
════════════════════════════════════════ */
.diferencial {
  background: var(--off-white);
  padding: 104px 0;
}
.dif-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

.dif-header {
  max-width: 680px;
  margin-bottom: 64px;
}
.dif-header h2 {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.15;
  color: var(--preto);
  margin-bottom: 24px;
}
.dif-header p {
  font-size: 15px;
  line-height: 1.9;
  color: #4c4c4c;
}

.dif-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.dif-card {
  background: var(--branco);
  padding: 44px 36px;
  border-bottom: 2px solid var(--dourado);
  transition: transform 0.3s ease;
}
.dif-card:hover { transform: translateY(-4px); }

.dif-icon {
  width: 32px;
  height: 32px;
  color: var(--dourado);
  margin-bottom: 24px;
}
.dif-icon svg { width: 100%; height: 100%; }

.dif-card h3 {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: 22px;
  color: var(--preto);
  margin-bottom: 12px;
  line-height: 1.3;
}
.dif-card p {
  font-size: 14px;
  line-height: 1.88;
  color: #4f4f4f;
}

.dif-quote {
  padding: 36px 44px;
  background: var(--branco);
  border-left: 4px solid var(--dourado);
}
.dif-quote blockquote {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  color: var(--preto);
}
.dif-quote cite {
  display: block;
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-top: 20px;
  font-style: normal;
}

/* ════════════════════════════════════════
   S4 — PORTFÓLIO
════════════════════════════════════════ */
.portfolio {
  background: var(--branco);
  padding: 104px 0;
}
.portfolio-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.portfolio-header-left h2 {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.15;
  color: var(--preto);
}

.portfolio-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 20px;
  background: transparent;
  color: var(--texto-cinza);
  border: 1px solid #d4d0c8;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--preto);
  color: var(--branco);
  border-color: var(--preto);
}

.portfolio-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.portfolio-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
}
.portfolio-track::-webkit-scrollbar { display: none; }

.portfolio-arrow {
  flex: none;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--branco);
  color: var(--preto);
  border: 1px solid #d4d0c8;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.portfolio-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.portfolio-arrow:hover {
  background: var(--preto);
  color: var(--dourado);
  border-color: var(--preto);
}
.portfolio-arrow:active { transform: scale(0.96); }
.portfolio-arrow:disabled {
  opacity: 0.32;
  cursor: default;
}
.portfolio-arrow:disabled:hover {
  background: var(--branco);
  color: var(--preto);
  border-color: #d4d0c8;
}

.proj-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--off-white);
  flex: 0 0 calc((100% - 20px) / 3);
  scroll-snap-align: start;
  /* aspect ratio alternado via nth-child */
}
.proj-card:nth-child(3n+1) { aspect-ratio: 3 / 4; }
.proj-card:nth-child(3n+2) { aspect-ratio: 4 / 5; }
.proj-card:nth-child(3n)   { aspect-ratio: 3 / 4; }

.proj-card.hidden { display: none; }

.proj-bg {
  position: absolute;
  inset: 0;
  background: #e0dbd4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.4s ease;
  /*
    SUBSTITUIR: Remover display/flex/align acima e adicionar:
    background-image: url('../img/proj-N.jpg');
    background-size: cover;
    background-position: center;
  */
}
/* variação sutil de cor por card para distinguir placeholders */
.proj-card:nth-child(2) .proj-bg { background: #d8d3cc; }
.proj-card:nth-child(3) .proj-bg { background: #e4e0d9; }
.proj-card:nth-child(4) .proj-bg { background: #d0cbc4; }
.proj-card:nth-child(5) .proj-bg { background: #ddd8d0; }
.proj-card:nth-child(6) .proj-bg { background: #cbc6bf; }

.proj-card:hover .proj-bg { transform: scale(1.03); }

/* ── img tags para cards com fotos reais ── */
.proj-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.proj-card:hover > img { transform: scale(1.03); }

.proj-ph-icon {
  width: 38px;
  height: 38px;
  border: 1px solid #bbb6b0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proj-ph-icon::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 1px solid #bbb6b0;
  border-radius: 50%;
}
.proj-ph-label {
  font-family: var(--font-corpo);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b0aba5;
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.70);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.proj-card:hover .proj-overlay { opacity: 1; }

.proj-cat {
  font-family: var(--font-corpo);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 6px;
}
.proj-name {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: 20px;
  color: var(--branco);
  margin-bottom: 16px;
  line-height: 1.3;
}
.proj-cta {
  font-family: var(--font-corpo);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dourado);
  border-bottom: 1px solid var(--dourado);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.3s, border-color 0.3s;
}
.proj-cta:hover { color: var(--branco); border-color: var(--branco); }

/* ════════════════════════════════════════
   S5 — PROCESSO
════════════════════════════════════════ */
.processo {
  background: var(--cinza-escuro);
  padding: 128px 0 112px;
  border-top: 1px solid rgba(201, 168, 76, 0.18);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
}
.processo-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

.processo-header {
  max-width: 760px;
  margin: 0 auto 78px;
  text-align: center;
}
.processo .gold-line {
  margin-left: auto;
  margin-right: auto;
}
.processo h2 {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.05;
  color: var(--branco);
  max-width: none;
  margin-bottom: 20px;
}
.processo h2 em {
  display: inline-block;
  font-weight: 300;
  color: rgba(255,255,255,0.86);
}
.processo-header p {
  max-width: 520px;
  margin: 0 auto;
  font-family: var(--font-corpo);
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255,255,255,0.66);
}

.steps-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-bottom: 68px;
  isolation: isolate;
}
/* linha dourada conectando os números */
.steps-track::before {
  content: '';
  position: absolute;
  top: 64px;
  left: calc(12.5% + 54px);
  right: calc(12.5% + 54px);
  height: 1px;
  background: var(--dourado);
  opacity: 0.28;
  z-index: 0;
}

.step-item {
  position: relative;
  text-align: center;
  padding: 0 4px;
  z-index: 1;
}

.step-num-wrap {
  width: 132px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--cinza-escuro);
  position: relative;
  transition: transform 0.3s ease;
}
.step-item:hover .step-num-wrap {
  transform: translateY(-3px);
}
.step-num-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-corpo);
  font-weight: 500;
  font-size: clamp(74px, 8vw, 118px);
  line-height: 1;
  color: rgba(201, 168, 76, 0.13);
  pointer-events: none;
}
.step-num {
  position: relative;
  font-family: var(--font-corpo);
  font-weight: 500;
  font-size: clamp(34px, 3.5vw, 52px);
  color: var(--dourado);
  line-height: 1;
}
.step-title {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: 22px;
  color: var(--branco);
  margin-bottom: 14px;
  line-height: 1.3;
}
.step-desc {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.68);
  max-width: 260px;
  margin: 0 auto;
}

.processo-cta {
  text-align: center;
  padding-top: 4px;
}

/* ════════════════════════════════════════
   S6 — DEPOIMENTOS
════════════════════════════════════════ */
.depoimentos {
  background: var(--preto);
  padding: 120px 0 112px;
  color: var(--branco);
  overflow: hidden;
  border-top: 1px solid rgba(201, 168, 76, 0.14);
  border-bottom: 1px solid rgba(201, 168, 76, 0.14);
}
.dep-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

.dep-header {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.dep-header .gold-line {
  margin-left: auto;
  margin-right: auto;
}
.depoimentos h2 {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.08;
  color: var(--branco);
  margin-bottom: 18px;
}
.dep-header p {
  max-width: 480px;
  margin: 0 auto;
  font-family: var(--font-corpo);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.64);
}

.dep-rail {
  position: relative;
  min-height: 610px;
  outline: none;
  user-select: none;
  touch-action: pan-y;
}
.dep-rail-stage {
  position: relative;
  z-index: 1;
  height: 430px;
  max-width: 980px;
  margin: 0 auto;
  perspective: 1200px;
}
.dep-card {
  display: flex;
  flex-direction: column;
}
.dep-rail-card {
  position: absolute;
  top: 34px;
  left: 50%;
  width: clamp(280px, 30vw, 360px);
  min-height: 380px;
  transform-style: preserve-3d;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.5s ease,
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.dep-rail-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateZ(0) scale(1);
  filter: blur(0) brightness(1);
  z-index: 3;
}
.dep-rail-card.is-prev {
  opacity: 0.42;
  pointer-events: auto;
  transform: translateX(calc(-50% - 320px)) translateZ(-190px) rotateY(18deg) scale(0.86);
  filter: blur(5px) brightness(0.58);
  z-index: 2;
}
.dep-rail-card.is-next {
  opacity: 0.42;
  pointer-events: auto;
  transform: translateX(calc(-50% + 320px)) translateZ(-190px) rotateY(-18deg) scale(0.86);
  filter: blur(5px) brightness(0.58);
  z-index: 2;
}
.dep-rail-card.is-prev-far {
  opacity: 0.18;
  transform: translateX(calc(-50% - 480px)) translateZ(-280px) rotateY(24deg) scale(0.72);
  filter: blur(9px) brightness(0.38);
  z-index: 1;
}
.dep-rail-card.is-next-far {
  opacity: 0.18;
  transform: translateX(calc(-50% + 480px)) translateZ(-280px) rotateY(-24deg) scale(0.72);
  filter: blur(9px) brightness(0.38);
  z-index: 1;
}
.dep-rail-card.is-hidden {
  transform: translateX(-50%) translateZ(-260px) scale(0.76);
  filter: blur(10px) brightness(0.42);
  z-index: 0;
}
.dep-card-glass {
  min-height: 380px;
  height: 100%;
  padding: 42px 36px 34px;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.18);
  border-bottom-color: rgba(201,168,76,0.74);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.dep-text {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.64;
  color: rgba(255,255,255,0.86);
  flex: 1;
  margin-bottom: 34px;
}
.dep-card-footer {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.dep-name {
  display: block;
  font-family: var(--font-corpo);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dourado);
}
.dep-city {
  font-family: var(--font-corpo);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.42);
  margin-top: 4px;
}
.dep-rail-footer {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.dep-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.dep-nav {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.58);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.dep-nav:hover {
  background: rgba(255,255,255,0.08);
  color: var(--dourado);
}
.dep-nav:active { transform: scale(0.94); }
.dep-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dep-counter {
  min-width: 46px;
  text-align: center;
  font-family: var(--font-corpo);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.40);
}
.dep-cta {
  padding: 15px 24px;
}

/* ════════════════════════════════════════
   S7 — MITOS
════════════════════════════════════════ */
.mitos {
  background: var(--preto);
  padding: 104px 0;
}
.mitos-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

.mitos h2 {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.15;
  color: var(--branco);
  margin-bottom: 56px;
}

.mitos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mito-card {
  background: var(--cinza-escuro);
  border: 1px solid var(--cinza-medio);
  padding: 44px 36px;
}
.mito-x-icon {
  display: block;
  width: 28px;
  height: 28px;
  color: #c53030;
  margin-bottom: 24px;
}
.mito-x-icon svg { width: 100%; height: 100%; }

.mito-myth {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-style: italic;
  font-size: 17px;
  color: var(--texto-claro);
  line-height: 1.5;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--cinza-medio);
}
.mito-truth-label {
  display: block;
  font-family: var(--font-corpo);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 12px;
}
.mito-truth {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,0.72);
}

/* ════════════════════════════════════════
   S8 — CTA FINAL
════════════════════════════════════════ */
.cta-final {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--pad-x) 80px;
  background-color: var(--cinza-escuro);
  background-size: cover;
  background-position: 50% 66%
}
.cta-final.bg-loaded {
  background-image: url('../img/cozinha-gourmet-area-externa-armario-planejado-piracicaba.webp');
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.70);
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.cta-final h2 {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.12;
  color: var(--branco);
  margin-bottom: 20px;
}
.cta-final p {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
  max-width: 460px;
  margin: 0 auto 44px;
}
.cta-final .btn { font-size: 13px; padding: 18px 44px; }

.cta-info-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cta-info-bar span,
.cta-info-bar a {
  font-family: var(--font-corpo);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  transition: color 0.3s;
}
.cta-info-bar a:hover { color: var(--dourado); }
.cta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   S9 — FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--preto);
  border-top: 1px solid var(--cinza-medio);
  padding: 64px var(--pad-x) 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--cinza-medio);
  margin-bottom: 32px;
}
.footer-logo {
  display: block;
  width: 218px;
  height: 78px;
  margin-bottom: 12px;
  background-size: 360px 360px;
}
.footer-tagline {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  line-height: 1.55;
  max-width: 220px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--dourado); }

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.footer-social a {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--dourado); }

.footer-bottom {
  text-align: center;
  font-family: var(--font-corpo);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.18);
}

/* ════════════════════════════════════════
   LIGHTBOX — portfólio
   Ativo apenas nos cards com foto real
════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-lock { overflow: hidden; }
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.95);
  cursor: zoom-out;
}
.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1100px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  pointer-events: none;
}
.lightbox-img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  display: block;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.24s ease, transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox.open .lightbox-img {
  transform: scale(1);
}
.lightbox-caption {
  width: min(100%, 760px);
  text-align: center;
  pointer-events: none;
}
.lightbox-cat {
  display: block;
  font-family: var(--font-corpo);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 8px;
}
.lightbox-title {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
  color: var(--branco);
  margin-bottom: 10px;
}
.lightbox-desc {
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.58);
}

/* cursor zoom nos cards com imagem real */
.portfolio .proj-card:has(> img) { cursor: zoom-in; }

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.70);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.lightbox-close:hover { border-color: var(--dourado); color: var(--dourado); }
.lightbox-close svg  { pointer-events: none; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.60);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.lightbox-nav:hover { border-color: var(--dourado); color: var(--dourado); }
.lightbox-nav svg   { pointer-events: none; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.32);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .lightbox-nav     { display: none; }
  .lightbox-counter { bottom: 14px; }
  .lightbox-content {
    max-width: 92vw;
    max-height: 84vh;
    gap: 18px;
  }
  .lightbox-img     { max-height: 56vh; }
  .lightbox-close {
    top: 14px;
    right: 14px;
  }
  .lightbox-title { font-size: 25px; }
  .lightbox-desc {
    font-size: 12px;
    line-height: 1.65;
  }
}

/* ════════════════════════════════════════
   WHATSAPP FLUTUANTE
════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--dourado);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px) scale(0.82);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease;
  pointer-events: none;
}
.wa-float.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.wa-float:hover { background: var(--dourado-claro); }
.wa-float svg { width: 24px; height: 24px; fill: var(--preto); }

/* pulse ativo no mobile depois de 1.8s para dar tempo de aparecer */
@media (max-width: 768px) {
  .wa-float.show {
    animation: waPulse 2.4s ease-out infinite;
    animation-delay: 1.8s;
  }
}

/* ════════════════════════════════════════
   RESPONSIVO
════════════════════════════════════════ */

/* tablet largo → 2 colunas no portfolio */
@media (max-width: 1024px) {
  :root { --pad-x: clamp(18px, 4vw, 36px); }
  .navbar { gap: 18px; }
  .navbar-links { gap: 22px; }
  .navbar-cta { padding: 10px 18px !important; }
  .hero { min-height: 620px; padding-bottom: 84px; }
  .diferencial,
  .portfolio,
  .mitos { padding: 88px 0; }
  .dif-cards { gap: 16px; }
  .dif-card,
  .mito-card { padding: 36px 28px; }
  .proj-card { flex-basis: calc((100% - 10px) / 2); }
  .steps-track     { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps-track::before { display: none; }
  .dep-rail-card.is-prev {
    transform: translateX(calc(-50% - 250px)) translateZ(-170px) rotateY(16deg) scale(0.84);
  }
  .dep-rail-card.is-next {
    transform: translateX(calc(-50% + 250px)) translateZ(-170px) rotateY(-16deg) scale(0.84);
  }
  .dep-rail-card.is-prev-far {
    transform: translateX(calc(-50% - 380px)) translateZ(-260px) rotateY(22deg) scale(0.70);
  }
  .dep-rail-card.is-next-far {
    transform: translateX(calc(-50% + 380px)) translateZ(-260px) rotateY(-22deg) scale(0.70);
  }
  .footer-top      { grid-template-columns: 1fr 1fr; }
  .footer-social   { align-items: flex-start; }
}

/* tablet */
@media (max-width: 768px) {
  :root { --pad-x: clamp(16px, 5vw, 28px); }
  .btn {
    min-height: 46px;
    padding: 13px 22px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }
  .navbar {
    padding: 16px var(--pad-x);
    gap: 14px;
  }
  .navbar.scrolled {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .navbar-logo {
    width: 160px;
    height: 50px;
    max-width: 52vw;
  }
  .navbar-logo-mark {
    background-size: 230px 230px;
  }
  .navbar-links { display: none; }
  .navbar-cta {
    flex-shrink: 0;
    max-width: 42vw;
    padding: 10px 12px !important;
    font-size: 9px !important;
    letter-spacing: 0.10em;
  }
  .hero {
    min-height: 580px;
    padding-bottom: 70px;
  }
  .hero-overlay { background: rgba(10, 10, 10, 0.58); }
  .hero-content { max-width: 620px; }
  .hero h1 {
    font-size: clamp(38px, 9vw, 58px);
    line-height: 1.04;
  }
  .hero-sub {
    max-width: 420px;
    margin-bottom: 32px;
  }
  .numeros { padding: 56px 0; }
  .diferencial,
  .portfolio,
  .mitos { padding: 76px 0; }
  .dif-header,
  .portfolio-header,
  .mitos h2 { margin-bottom: 42px; }
  .dif-card,
  .mito-card,
  .dep-card-glass { padding-left: 28px; padding-right: 28px; }
  .processo { padding: 96px 0 88px; }
  .processo-header { margin-bottom: 54px; }
  .depoimentos { padding: 96px 0 88px; }
  .dep-header { margin-bottom: 28px; }
  .dep-rail { min-height: 570px; }
  .dep-rail-stage { height: 400px; }
  .dep-rail-card.is-prev {
    transform: translateX(calc(-50% - 190px)) translateZ(-150px) rotateY(14deg) scale(0.8);
    opacity: 0.28;
  }
  .dep-rail-card.is-next {
    transform: translateX(calc(-50% + 190px)) translateZ(-150px) rotateY(-14deg) scale(0.8);
    opacity: 0.28;
  }
  .dep-rail-card.is-prev-far {
    transform: translateX(calc(-50% - 285px)) translateZ(-240px) rotateY(20deg) scale(0.66);
    opacity: 0.12;
  }
  .dep-rail-card.is-next-far {
    transform: translateX(calc(-50% + 285px)) translateZ(-240px) rotateY(-20deg) scale(0.66);
    opacity: 0.12;
  }
  .dif-cards    { grid-template-columns: 1fr; gap: 16px; }
  .mitos-grid   { grid-template-columns: 1fr; gap: 16px; }
  .hero-scroll  { display: none; }
  .dif-quote    { padding: 28px 28px; }
  .cta-final {
    min-height: 520px;
    padding: 96px var(--pad-x) 96px;
  }
  .cta-final .btn { padding: 16px 28px; }
  .footer-top   { grid-template-columns: 1fr; gap: 32px; }
  .footer-social { align-items: flex-start; }
}

/* mobile */
@media (max-width: 640px) {
  .navbar { align-items: flex-start; }
  .hero {
    min-height: 100svh;
    padding-top: 112px;
    padding-bottom: 56px;
    align-items: flex-end;
  }
  .hero-tag {
    font-size: 9px;
    letter-spacing: 0.20em;
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: clamp(36px, 12vw, 48px);
    margin-bottom: 16px;
  }
  .hero-sub {
    font-size: 14px;
    line-height: 1.65;
  }
  .hero-btns { width: 100%; max-width: 360px; }
  .hero-btns .btn { width: 100%; }
  .numeros-grid { flex-direction: column; gap: 22px; }
  .num-item { width: 100%; padding: 12px 0; }
  .num-item + .num-item::before { display: none; }
  .num-val { font-size: clamp(44px, 16vw, 64px); }
  .num-desc { font-size: 10px; line-height: 1.5; }
  .dif-header h2,
  .portfolio-header-left h2,
  .processo h2,
  .depoimentos h2,
  .mitos h2,
  .cta-final h2 {
    font-size: clamp(32px, 11vw, 44px);
  }
  .dif-header p,
  .processo-header p,
  .dep-header p,
  .cta-final p {
    font-size: 14px;
    line-height: 1.75;
  }
  .dif-card,
  .mito-card {
    padding: 32px 24px;
  }
  .dif-quote {
    padding: 26px 24px;
  }
  .portfolio-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 8px;
    margin: 0 calc(var(--pad-x) * -1) 28px;
    padding: 0 var(--pad-x) 2px;
  }
  .portfolio-filters::-webkit-scrollbar { display: none; }
  .filter-btn {
    flex: none;
    white-space: nowrap;
    padding: 10px 18px;
    font-size: 10px;
    letter-spacing: 0.10em;
  }
  .proj-card { flex-basis: 88%; }
  .portfolio-carousel { gap: 0; }
  .portfolio-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(212, 208, 200, 0.9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .portfolio-arrow-prev { left: 6px; }
  .portfolio-arrow-next { right: 6px; }
  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .portfolio-header .btn { width: 100%; }
  .proj-overlay {
    opacity: 1;
    padding: 22px;
    background: rgba(10, 10, 10, 0.62);
  }
  .proj-name { font-size: 19px; }
  .steps-track { grid-template-columns: 1fr; gap: 28px; }
  .step-num-wrap { width: 118px; height: 112px; margin-bottom: 12px; }
  .step-title { font-size: 21px; }
  .step-desc { max-width: 310px; }
  .dep-rail { min-height: 610px; }
  .dep-rail-stage { height: 410px; }
  .dep-rail-card {
    top: 24px;
    width: min(82vw, 330px);
  }
  .dep-card-glass {
    min-height: 370px;
    padding: 34px 28px 28px;
  }
  .dep-text {
    font-size: 18px;
    line-height: 1.58;
  }
  .dep-rail-card.is-prev {
    transform: translateX(calc(-50% - 155px)) translateZ(-140px) rotateY(12deg) scale(0.76);
    opacity: 0.18;
  }
  .dep-rail-card.is-next {
    transform: translateX(calc(-50% + 155px)) translateZ(-140px) rotateY(-12deg) scale(0.76);
    opacity: 0.18;
  }
  .dep-rail-card.is-prev-far {
    transform: translateX(calc(-50% - 220px)) translateZ(-230px) rotateY(18deg) scale(0.62);
    opacity: 0.10;
  }
  .dep-rail-card.is-next-far {
    transform: translateX(calc(-50% + 220px)) translateZ(-230px) rotateY(-18deg) scale(0.62);
    opacity: 0.10;
  }
  .dep-rail-footer { flex-direction: column; margin-top: 10px; }
  .dep-cta { width: min(100%, 320px); }
  .hero-btns   { flex-direction: column; }
  .hero-btns .btn { text-align: center; }
  .cta-info-bar {
    position: relative;
    margin-top: 48px;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .cta-info-bar span,
  .cta-info-bar a {
    font-size: 9px;
    letter-spacing: 0.14em;
  }
  .step-item { padding: 0; }
  .footer { padding-top: 48px; }
  .footer-bottom {
    line-height: 1.7;
    letter-spacing: 0.08em;
  }
  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
  /* aspect ratios uniformes no mobile */
  .proj-card:nth-child(3n+1),
  .proj-card:nth-child(3n+2),
  .proj-card:nth-child(3n)   { aspect-ratio: 4 / 3; }
}

@media (max-width: 420px) {
  :root { --pad-x: 16px; }
  .navbar-logo {
    width: 150px;
    height: 48px;
    max-width: 50vw;
  }
  .navbar-logo-mark {
    background-size: 215px 215px;
  }
  .navbar-cta {
    max-width: 44vw;
    padding: 9px 10px !important;
    font-size: 8px !important;
    letter-spacing: 0.08em;
  }
  .hero { padding-top: 96px; }
  .hero h1 { font-size: clamp(33px, 12vw, 42px); }
  .btn { padding-left: 18px; padding-right: 18px; }
  .proj-card { flex-basis: 92%; }
  .dep-rail { min-height: 640px; }
  .dep-rail-stage { height: 430px; }
  .dep-rail-card { width: min(88vw, 310px); }
  .dep-card-glass { padding: 30px 22px 24px; }
  .dep-text { font-size: 17px; }
  .dep-name,
  .dep-city { letter-spacing: 0.10em; }
  .dep-rail-card.is-prev {
    transform: translateX(calc(-50% - 132px)) translateZ(-140px) rotateY(10deg) scale(0.72);
  }
  .dep-rail-card.is-next {
    transform: translateX(calc(-50% + 132px)) translateZ(-140px) rotateY(-10deg) scale(0.72);
  }
  .dep-rail-card.is-prev-far {
    transform: translateX(calc(-50% - 188px)) translateZ(-220px) rotateY(16deg) scale(0.58);
    opacity: 0.08;
  }
  .dep-rail-card.is-next-far {
    transform: translateX(calc(-50% + 188px)) translateZ(-220px) rotateY(-16deg) scale(0.58);
    opacity: 0.08;
  }
  .cta-final { padding-bottom: 64px; }
}

@media (max-width: 360px) {
  .navbar {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .navbar-logo {
    width: 138px;
    height: 44px;
    max-width: 48vw;
  }
  .navbar-logo-mark {
    background-size: 200px 200px;
  }
  .navbar-cta {
    max-width: 46vw;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .hero h1 { font-size: 32px; }
  .hero-btns { max-width: none; }
  .dep-rail { min-height: 675px; }
  .dep-rail-stage { height: 462px; }
  .dep-card-glass { min-height: 410px; }
  .dep-rail-card.is-prev-far {
    transform: translateX(calc(-50% - 164px)) translateZ(-220px) rotateY(14deg) scale(0.54);
  }
  .dep-rail-card.is-next-far {
    transform: translateX(calc(-50% + 164px)) translateZ(-220px) rotateY(-14deg) scale(0.54);
  }
  .dep-controls { width: 100%; justify-content: center; }
  .dep-cta { width: 100%; }
  .cta-final .btn { width: 100%; }
}

/* ════════════════════════════════════════
   ACESSIBILIDADE — prefers-reduced-motion
   Usuários com sensibilidade a movimento
   recebem o conteúdo imediatamente, sem
   animações de deslocamento ou duração longa.
════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

  /* 1. Zera todas as transições e animações globais */
  *,
  *::before,
  *::after {
    animation-duration:        0.01ms !important;
    animation-iteration-count: 1      !important;
    transition-duration:       0.01ms !important;
    transition-delay:          0ms    !important;
  }

  /* 2. Scroll reveal: mostra tudo de imediato sem deslocamento */
  [data-reveal] {
    opacity:    1    !important;
    transform:  none !important;
    transition: none !important;
  }

  /* 3. Linha dourada: aparece no estado final sem animação de largura */
  .gold-line {
    width:      48px !important;
    transition: none !important;
  }

  /* 4. Hero: elementos aparecem sem fade-up */
  .hero-tag,
  .hero h1,
  .hero-sub,
  .hero-btns,
  .hero-scroll {
    opacity:   1    !important;
    animation: none !important;
    transform: none !important;
  }

  /* 5. Scroll indicator: sem pulsação */
  .hero-scroll-line { animation: none !important; }

  /* 6. WhatsApp flutuante: sem pulse ring */
  .wa-float,
  .wa-float.show {
    animation:  none !important;
    transition: opacity 0.01ms, transform 0.01ms !important;
  }

  /* 7. Cards do portfólio: hover sem escala (bg-div e img tag) */
  .proj-card:hover .proj-bg { transform: none !important; }
  .proj-card:hover > img    { transform: none !important; }

  /* 8. Cards diferenciais: hover sem translateY */
  .dif-card:hover { transform: none !important; }
  .step-item:hover .step-num-wrap { transform: none !important; }
  .dep-rail-card { transition: none !important; }

  /* 9. html: desativa scroll suave do navegador */
  html { scroll-behavior: auto !important; }
}
