﻿/* ============================================================
   JDW Acabamentos e Reformas — Landing Page
   Design tokens, base styles, components, animations
   ============================================================ */

:root {
  --black:      #0A0A0A;
  --black-2:    #1A1A1A;
  --black-3:    #131313;
  --red:        #CC0000;
  --red-dark:   #8B0000;
  --white:      #FFFFFF;
  --gray-light: #F5F5F5;

  --text:       rgba(255,255,255,0.92);
  --text-soft:  rgba(255,255,255,0.58);
  --text-faint: rgba(255,255,255,0.36);
  --line:       rgba(255,255,255,0.09);
  --line-2:     rgba(255,255,255,0.16);

  --maroon-glow: radial-gradient(120% 120% at 80% 0%, rgba(139,0,0,0.28) 0%, rgba(139,0,0,0.06) 38%, transparent 66%);

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1240px;
  --pad: clamp(20px, 5vw, 80px);
}

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

/* Torna <picture> transparente no layout — filhos tornam-se itens diretos do container */
picture { display: contents; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--red); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; padding-block: clamp(80px, 11vw, 160px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--red); display: inline-block; }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: var(--red); display: inline-block; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; text-transform: uppercase; }
.h-display { font-size: clamp(40px, 7vw, 96px); }
.h-section { font-size: clamp(32px, 5vw, 60px); }
.h-section .accent { color: var(--red); }

.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--text-soft); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 18px 32px; border-radius: 2px;
  transition: transform .45s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .45s var(--ease);
  overflow: hidden; will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 14px 40px -14px rgba(204,0,0,0.7); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 22px 54px -16px rgba(204,0,0,0.85); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: #fff; transform: translateY(-3px); }
.btn-lg { padding: 22px 40px; font-size: 15px; }
.btn-wa { background: #25D366; color: #06281a; box-shadow: 0 14px 40px -14px rgba(37,211,102,0.6); }
.btn-wa:hover { background: #1fb457; transform: translateY(-3px); }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0) 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.022) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, #1d1d1d, #0c0c0c);
  display: flex; align-items: center; justify-content: center;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.26em; font-weight: 600;
  text-transform: uppercase; color: var(--text-faint);
  display: flex; align-items: center; gap: 9px;
}
.ph::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid var(--line); pointer-events: none;
}
.ph .ph-ico { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -28px); opacity: .3; }
.ph .ph-ico svg { width: 30px; height: 30px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), border-color .5s var(--ease), padding .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 148px; transition: height .5s var(--ease); }
.header.scrolled {
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.header.scrolled .header-inner { height: 90px; }

.logo { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.logo-mark { display: flex; align-items: baseline; gap: 1px; font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: 0.02em; }
.logo .jdw { color: #fff; }
.logo .dot { color: var(--red); font-size: 29px; line-height: 0; }
.logo-sub { display: block; font-family: var(--font-body); font-size: 9px; font-weight: 600; letter-spacing: 0.3em; color: var(--text-faint); text-transform: uppercase; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative; font-size: 14px; font-weight: 500; color: var(--text-soft);
  letter-spacing: 0.01em; transition: color .3s var(--ease);
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 1.5px; background: var(--red); transition: width .35s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-cta .btn { white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.menu-toggle span { width: 24px; height: 2px; background: #fff; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .ph { width: 100%; height: 120%; position: absolute; top: -10%; }
.hero-bg .ph::before, .hero-bg .ph::after { display: none; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.55) 40%, rgba(10,10,10,0.92) 100%),
    var(--maroon-glow);
}
.hero-grid-lines { position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
}
.hero .container { position: relative; z-index: 2; width: 100%; padding-top: 188px; padding-bottom: 60px; }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px; border: 1px solid var(--line-2); border-radius: 100px; font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text); margin-bottom: 34px; background: rgba(255,255,255,0.03); backdrop-filter: blur(6px); }
.hero-tag .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(204,0,0,0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(204,0,0,0.6);} 70% { box-shadow: 0 0 0 12px rgba(204,0,0,0);} 100% { box-shadow: 0 0 0 0 rgba(204,0,0,0);} }

.hero h1 { max-width: 16ch; }
.hero h1 .accent { color: var(--red); }
.hero-sub { margin-top: 30px; font-size: clamp(16px, 1.6vw, 21px); color: var(--text-soft); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.hero-seals { display: flex; flex-wrap: wrap; gap: 14px 38px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.seal { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--text); font-weight: 500; }
.seal .ck { width: 22px; height: 22px; border-radius: 50%; background: rgba(204,0,0,0.14); display: grid; place-items: center; flex: none; }
.seal .ck svg { width: 12px; height: 12px; stroke: var(--red); }

.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text-faint); font-family: var(--font-display); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; }
.hero-scroll .mouse { width: 22px; height: 36px; border: 1px solid var(--line-2); border-radius: 12px; position: relative; }
.hero-scroll .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: var(--red); border-radius: 2px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0);} 30% { opacity: 1;} 100% { opacity: 0; transform: translate(-50%, 12px);} }

/* ============================================================
   SOBRE
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy p + p { margin-top: 20px; }
.about-visual { position: relative; }
.about-visual .ph { aspect-ratio: 4/5; border-radius: 3px; }
.about-visual .badge { position: absolute; bottom: -28px; left: -28px; background: var(--red); color: #fff; padding: 26px 30px; border-radius: 3px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7); }
.about-visual .badge .n { font-family: var(--font-display); font-weight: 800; font-size: 42px; line-height: 1; }
.about-visual .badge .l { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; opacity: .85; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(60px, 8vw, 110px); background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--black); padding: 40px 30px; text-align: center; transition: background .4s var(--ease); }
.stat:hover { background: var(--black-2); }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 4.4vw, 56px); line-height: 1; color: #fff; }
.stat .num .accent { color: var(--red); }
.stat .lbl { margin-top: 14px; font-size: 13px; letter-spacing: 0.04em; color: var(--text-soft); text-transform: uppercase; }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.section-head .lead { margin-top: 18px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service {
  position: relative; background: var(--black); padding: 46px 40px 52px; overflow: hidden;
  transition: background .5s var(--ease);
}
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.service:hover { background: var(--black-2); }
.service:hover::before { transform: scaleY(1); }
.service .s-num { position: absolute; top: 30px; right: 36px; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--text-faint); letter-spacing: 0.1em; }
.service .s-ico { width: 56px; height: 56px; border-radius: 3px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 30px; transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease); }
.service:hover .s-ico { background: rgba(204,0,0,0.14); border-color: rgba(204,0,0,0.4); transform: translateY(-4px); }
.service .s-ico svg { width: 28px; height: 28px; stroke: #fff; transition: stroke .5s var(--ease); }
.service:hover .s-ico svg { stroke: var(--red); }
.service h3 { font-size: 22px; margin-bottom: 14px; }
.service p { font-size: 15px; color: var(--text-soft); line-height: 1.65; }

.band { padding-block: clamp(54px, 7vw, 84px); background: linear-gradient(120deg, var(--red-dark), var(--red)); position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 16px); }
.band .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.band h3 { font-size: clamp(24px, 3vw, 38px); color: #fff; max-width: 22ch; }
.band p { color: rgba(255,255,255,0.82); margin-top: 8px; font-size: 16px; }
.band .btn-primary { background: #fff; color: var(--black); box-shadow: 0 14px 40px -14px rgba(0,0,0,0.5); }
.band .btn-primary:hover { background: var(--black); color: #fff; }

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.diff {
  position: relative; padding: 40px 34px; border: 1px solid var(--line); border-radius: 4px;
  background: linear-gradient(160deg, rgba(255,255,255,0.025), transparent);
  transition: transform .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
}
.diff:hover { transform: translateY(-6px); border-color: var(--line-2); background: linear-gradient(160deg, rgba(204,0,0,0.07), transparent); }
.diff .d-ico { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; color: var(--red); }
.diff .d-ico svg { width: 32px; height: 32px; stroke: var(--red); }
.diff h3 { font-size: 19px; margin-bottom: 12px; }
.diff p { font-size: 14.5px; color: var(--text-soft); }
.diff .d-no { position: absolute; right: 28px; bottom: 22px; font-family: var(--font-display); font-size: 56px; font-weight: 800; color: rgba(255,255,255,0.03); line-height: 1; }

/* ============================================================
   ANTES E DEPOIS — Cards Verticais 9:16
   ============================================================ */

.comp-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 840px;
  margin: 54px auto 0;
}

.comp-card {
  flex: 1;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 4px 16px rgba(0,0,0,0.35),
    0 28px 64px -16px rgba(0,0,0,0.85);
  transition:
    transform .65s var(--ease),
    box-shadow .65s var(--ease),
    border-color .65s var(--ease);
  cursor: default;
}

.comp-card:hover {
  transform: translateY(-10px) scale(1.016);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.5),
    0 48px 88px -18px rgba(0,0,0,0.95);
  border-color: rgba(255,255,255,0.26);
  z-index: 2;
}

.comp-after:hover {
  border-color: rgba(204,0,0,0.55);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.5),
    0 48px 88px -18px rgba(0,0,0,0.95),
    0 0 0 1px rgba(204,0,0,0.28);
}

.comp-img-wrap {
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  display: block;
  position: relative;
}

.comp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 1.3s var(--ease-2), filter .7s var(--ease);
}

.comp-before .comp-img {
  filter: brightness(0.82) saturate(0.70) contrast(1.06);
}

.comp-after .comp-img {
  filter: brightness(0.97) saturate(1.02);
}

.comp-before:hover .comp-img {
  transform: scale(1.04);
  filter: brightness(0.9) saturate(0.82) contrast(1.03);
}

.comp-after:hover .comp-img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1.08);
}

/* Etiqueta ANTES / DEPOIS */
.comp-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  border-radius: 100px;
  background: rgba(8,8,8,0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.16);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  z-index: 3;
  transition: transform .4s var(--ease);
}

.comp-card:hover .comp-tag { transform: translateY(-2px); }

.comp-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: rgba(255,255,255,0.45);
}

.comp-tag-after {
  background: rgba(204,0,0,0.88);
  border-color: rgba(204,0,0,0.5);
}

.comp-tag-after .comp-tag-dot {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 0 5px rgba(255,255,255,0.7);
}

/* Gradiente inferior para legibilidade */
.comp-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(8,8,8,0.55) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Divisor com seta vermelha */
.comp-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 64px;
  align-self: center;
  z-index: 5;
}

.comp-arrow-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  box-shadow:
    0 8px 28px -6px rgba(204,0,0,0.75),
    0 0 0 6px rgba(204,0,0,0.14);
  flex: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.comp-arrow-wrap:hover {
  transform: scale(1.1);
  box-shadow:
    0 12px 36px -6px rgba(204,0,0,0.9),
    0 0 0 8px rgba(204,0,0,0.18);
}

.comp-arrow-wrap svg { width: 22px; height: 22px; stroke: #fff; }

.comp-hint {
  text-align: center;
  margin-top: 34px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Mobile: empilha verticalmente */
@media (max-width: 700px) {
  .comp-wrap {
    flex-direction: column;
    gap: 20px;
    max-width: 380px;
  }
  .comp-divider {
    width: 100%;
    height: 56px;
  }
  .comp-arrow-wrap { transform: rotate(90deg); }
  .comp-arrow-wrap:hover { transform: rotate(90deg) scale(1.1); }
  .comp-card:hover { transform: translateY(-4px); }
}

/* ============================================================
   PORTFÓLIO
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 46px; }
.filter { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 11px 22px; border: 1px solid var(--line); border-radius: 100px; color: var(--text-soft); transition: all .35s var(--ease); }
.filter:hover { color: #fff; border-color: var(--line-2); }
.filter.active { background: var(--red); border-color: var(--red); color: #fff; }

.masonry { columns: 3; column-gap: 18px; }
.tile { position: relative; break-inside: avoid; margin-bottom: 18px; border-radius: 4px; overflow: hidden; cursor: pointer; }
.tile .ph { width: 100%; }
.tile.t-tall .ph { aspect-ratio: 3/4; }
.tile.t-sq .ph { aspect-ratio: 1/1; }
.tile.t-wide .ph { aspect-ratio: 4/3; }
.tile-ov { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.1) 55%, transparent 100%); opacity: 0; transition: opacity .45s var(--ease); display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; z-index: 2; }
.tile-ov .cat { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.tile-ov .ti { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; }
.tile .zoom { position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transform: scale(0); transition: transform .45s var(--ease); z-index: 2; }
.tile .zoom svg { width: 18px; height: 18px; stroke: #fff; }
.tile:hover .tile-ov { opacity: 1; }
.tile:hover .zoom { transform: scale(1); }
.tile .ph { transition: transform .7s var(--ease); }
.tile:hover .ph { transform: scale(1.06); }
.tile.hide { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,6,6,0.94); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 40px; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-stage { position: relative; max-width: 1000px; width: 100%; }
.lb-frame { aspect-ratio: 16/10; border-radius: 4px; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.open .lb-frame { transform: scale(1); }
.lb-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; gap: 20px; }
.lb-meta .cat { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }
.lb-meta .ti { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; margin-top: 4px; }
.lb-count { font-family: var(--font-display); font-size: 13px; color: var(--text-soft); }
.lb-close { position: absolute; top: -54px; right: 0; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; transition: all .35s var(--ease); }
.lb-close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }
.lb-close svg { width: 18px; height: 18px; stroke: #fff; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; background: rgba(10,10,10,0.5); transition: all .35s var(--ease); }
.lb-nav:hover { background: var(--red); border-color: var(--red); }
.lb-nav svg { width: 20px; height: 20px; stroke: #fff; }
.lb-prev { left: -76px; } .lb-next { right: -76px; }

/* ============================================================
   PROCESSO
   ============================================================ */
.timeline { position: relative; margin-top: 30px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 30px; padding-block: 26px; }
.step .dot { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--black); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--text-soft); z-index: 1; transition: all .5s var(--ease); }
.step.in .dot { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 6px rgba(204,0,0,0.12); }
.step .st-body { padding-top: 8px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 15px; max-width: 60ch; }
.step .st-tag { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; display: block; }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.testi { overflow: hidden; }
.testi-track { display: flex; gap: 24px; transition: transform .7s var(--ease-2); }
.tcard { flex: 0 0 calc((100% - 48px) / 3); background: linear-gradient(160deg, rgba(255,255,255,0.03), transparent); border: 1px solid var(--line); border-radius: 6px; padding: 38px 34px; }
.tcard .quote { color: var(--red); font-family: var(--font-display); font-size: 60px; line-height: .6; height: 30px; }
.tcard .stars { display: flex; gap: 3px; margin: 18px 0; }
.tcard .stars svg { width: 18px; height: 18px; fill: var(--red); }
.tcard p { font-size: 16px; color: var(--text); line-height: 1.7; }
.tcard .who { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.tcard .who .av { width: 50px; height: 50px; border-radius: 50%; flex: none; }
.tcard .who .nm { font-family: var(--font-display); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.02em; }
.tcard .who .rl { font-size: 13px; color: var(--text-soft); }
.testi-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 40px; }
.testi-dots { display: flex; gap: 9px; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); transition: all .35s var(--ease); }
.testi-dots button.active { background: var(--red); width: 28px; border-radius: 5px; }
.testi-arrows { display: flex; gap: 12px; }
.testi-arrows button { width: 50px; height: 50px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; transition: all .35s var(--ease); }
.testi-arrows button:hover { background: var(--red); border-color: var(--red); }
.testi-arrows svg { width: 18px; height: 18px; stroke: #fff; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final { position: relative; overflow: hidden; }
.cta-final .ph { position: absolute; inset: 0; z-index: 0; }
.cta-final .ph::before, .cta-final .ph::after { display: none; }
.cta-final .cta-ov { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,10,0.84), rgba(10,10,10,0.92)), var(--maroon-glow); }
.cta-final .container { position: relative; z-index: 2; text-align: center; }
.cta-final h2 { font-size: clamp(38px, 6vw, 80px); max-width: 18ch; margin-inline: auto; }
.cta-final p { margin: 28px auto 44px; max-width: 50ch; font-size: clamp(16px, 1.5vw, 20px); color: var(--text-soft); }
.cta-final .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-top: clamp(60px, 8vw, 100px); padding-bottom: 40px; background: var(--black-3); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.footer .logo { margin-bottom: 22px; }
.footer-about p { color: var(--text-soft); font-size: 15px; max-width: 38ch; }
.footer-social { display: flex; gap: 12px; margin-top: 26px; }
.footer-social a { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: all .35s var(--ease); }
.footer-social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; stroke: #fff; fill: none; }
.footer-col h4 { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.footer-col ul li { margin-bottom: 13px; }
.footer-col ul a { color: var(--text-soft); font-size: 15px; transition: color .3s var(--ease); }
.footer-col ul a:hover { color: var(--red); }
.footer-contact .ci { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 15px; color: var(--text-soft); }
.footer-contact .ci svg { width: 18px; height: 18px; stroke: var(--red); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: var(--text-faint); }
.footer-bottom .mk { font-size: 13px; color: var(--text-faint); }
.footer-bottom .mk b { color: var(--text-soft); font-weight: 600; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 36px -8px rgba(37,211,102,0.6); transition: transform .4s var(--ease); animation: wafloat 3s ease-in-out infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: waring 2.4s ease-out infinite; }
@keyframes waring { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes wafloat { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-6px);} }
.wa-tip { position: absolute; right: 74px; top: 50%; transform: translateY(-50%) translateX(8px); background: #fff; color: #0A0A0A; font-size: 13px; font-weight: 600; padding: 9px 15px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: all .35s var(--ease); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.wa-tip::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; background: #fff; }
.wa-float:hover .wa-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   V2 PREMIUM ADDITIONS
   ============================================================ */

/* Hero content is visible on first paint regardless of JS/observer timing:
   opacity stays 1, entrance animates transform only (can't get stuck hidden) */
.hero .reveal { opacity: 1; transform: none; animation: heroRise 1s var(--ease) both; }
.hero .reveal.reveal-d1 { animation-delay: .10s; }
.hero .reveal.reveal-d2 { animation-delay: .22s; }
.hero .reveal.reveal-d3 { animation-delay: .34s; }
.hero .reveal.reveal-d4 { animation-delay: .46s; }
@keyframes heroRise { from { transform: translateY(34px); } to { transform: none; } }

/* ---- Bigger CTA ---- */
.btn-xl { padding: 24px 46px; font-size: 16px; letter-spacing: 0.07em; border-radius: 3px; }
.btn-xl svg { width: 22px; height: 22px; }
.btn-primary.btn-xl { box-shadow: 0 18px 50px -16px rgba(204,0,0,0.8); }
.btn-primary.btn-xl:hover { box-shadow: 0 26px 64px -18px rgba(204,0,0,0.95); }

/* ---- Hero premium backdrop (behind drag-drop photo) ---- */
.hero-slot { z-index: 0; }
image-slot { color: rgba(255,255,255,0.5); }
image-slot::part(frame) { background: transparent; }
image-slot::part(ring) { border-color: rgba(255,255,255,0.16); }
.hero-backdrop {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 80% at 78% -10%, rgba(139,0,0,0.34), transparent 55%),
    radial-gradient(70% 60% at 10% 110%, rgba(204,0,0,0.10), transparent 60%),
    linear-gradient(160deg, #181818 0%, #0c0c0c 55%, #060606 100%);
}
.hero-backdrop::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
  mask-image: radial-gradient(120% 100% at 70% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 100% at 70% 30%, #000 30%, transparent 80%);
  opacity: .7;
}
.hero-backdrop::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 70px);
}

/* ---- Prova social strip ---- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.015); }
.proof-inner { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); padding-block: 30px; flex-wrap: wrap; justify-content: center; }
.proof-rating { display: flex; align-items: center; gap: 16px; }
.pr-stars { display: flex; gap: 3px; }
.pr-stars svg { width: 20px; height: 20px; fill: var(--red); }
.pr-text { font-size: 15px; color: var(--text-soft); }
.pr-text b { font-family: var(--font-display); font-size: 19px; color: #fff; font-weight: 800; margin-right: 4px; }
.pr-text span { color: var(--text-faint); }
.proof-divider { width: 1px; height: 34px; background: var(--line-2); }
.proof-points { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.pp { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.pp svg { width: 19px; height: 19px; stroke: var(--red); }

/* ---- About slot + badge star ---- */
.about-slot::part(frame), .inst-slot::part(frame) {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.022) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, #1d1d1d, #0c0c0c);
}
.badge .n .star { color: #fff; font-size: 24px; margin-left: 4px; vertical-align: 6px; }

/* ---- Institucional ---- */
.institucional { background: var(--black-3); }
.inst-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.inst-visual { position: relative; }
.inst-float {
  position: absolute; right: -24px; bottom: -24px; display: flex; align-items: center; gap: 14px;
  background: var(--black); border: 1px solid var(--line); border-radius: 4px; padding: 18px 22px;
  box-shadow: 0 30px 60px -22px rgba(0,0,0,0.8);
}
.inst-float .if-ico { width: 44px; height: 44px; border-radius: 3px; background: rgba(204,0,0,0.14); display: grid; place-items: center; flex: none; }
.inst-float .if-ico svg { width: 24px; height: 24px; stroke: var(--red); }
.inst-float .if-n { font-family: var(--font-display); font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: 0.02em; }
.inst-float .if-l { font-size: 12px; color: var(--text-soft); }
.inst-copy h2 { margin-bottom: 24px; }
.inst-list { margin: 28px 0 36px; display: flex; flex-direction: column; gap: 14px; }
.inst-list li { display: flex; align-items: center; gap: 13px; font-size: 16px; color: var(--text); }
.inst-list .il-ck { width: 24px; height: 24px; border-radius: 50%; background: rgba(204,0,0,0.14); display: grid; place-items: center; flex: none; }
.inst-list .il-ck svg { width: 13px; height: 13px; stroke: var(--red); }

@media (max-width: 760px) {
  .inst-grid { grid-template-columns: 1fr; }
  .inst-visual { order: -1; }
  .inst-float { right: 16px; bottom: -20px; }
  .proof-divider { display: none; }
  .proof-inner { flex-direction: column; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .tcard { flex: 0 0 calc((100% - 24px) / 2); }
  .masonry { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1180px) {
  .logo-sub { display: none; }
  .nav { gap: 24px; }
}
@media (max-width: 992px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .nav.mobile-open { display: flex; position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: rgba(10,10,10,0.97); backdrop-filter: blur(20px); padding: 12px var(--pad) 30px; border-bottom: 1px solid var(--line); }
  .nav.mobile-open a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 420px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .tcard { flex: 0 0 100%; }
  .masonry { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .lb-close { top: -50px; }
  .band .container { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   V3 — REAL IMAGERY & PREMIUM REFINEMENTS
   ============================================================ */

/* ---- Premium scroll reveal: add cinematic blur + smoother curve ---- */
.reveal { opacity: 0; transform: translateY(46px); filter: blur(8px);
  transition: opacity 1.05s var(--ease-2), transform 1.15s var(--ease-2), filter 1.05s var(--ease-2); }
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
.hero .reveal { filter: none; }

/* ---- Image load fade-in ---- */
.fade-img { opacity: 0; transition: opacity 1.1s var(--ease-2); }
.fade-img.img-in { opacity: 1; }

/* ---- HERO cinematic image ---- */
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  transform: scale(1.08); animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns { from { transform: scale(1.08) translate3d(0,0,0); } to { transform: scale(1.2) translate3d(-2%, -2.5%, 0); } }
/* richer cinematic overlay over the photo */
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.32) 32%, rgba(10,10,10,0.78) 78%, rgba(10,10,10,0.97) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.30) 48%, transparent 78%),
    radial-gradient(90% 70% at 82% 8%, rgba(139,0,0,0.40), transparent 55%);
}
.hero-grid-lines { opacity: .22; }
.hero h1 { text-wrap: balance; text-shadow: 0 2px 40px rgba(0,0,0,0.5); letter-spacing: -0.025em; }
.hero h1 .accent { color: var(--red); text-shadow: 0 0 60px rgba(204,0,0,0.45); }
.hero-sub { text-shadow: 0 1px 20px rgba(0,0,0,0.6); }

/* ---- Figures (Quem Somos / Institucional) ---- */
.figure { position: relative; overflow: hidden; border-radius: 5px; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.85); }
.figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease-2); }
.figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 55%, rgba(10,10,10,0.45)); pointer-events: none; }
.figure:hover img { transform: scale(1.06); }
.about-fig { aspect-ratio: 4/5; }
.inst-fig { aspect-ratio: 5/4; }
.about-slot::part(frame), .inst-slot::part(frame) { background: none; }

/* ---- PORTFOLIO bigger, premium grid ---- */
.section-head { margin-bottom: 72px; }
.masonry { column-gap: 22px; }
.tile { margin-bottom: 22px; border: 1px solid var(--line); box-shadow: 0 24px 50px -34px rgba(0,0,0,0.9); }
.tile-img { width: 100%; display: block; object-fit: cover; transition: transform .9s var(--ease-2), filter .6s var(--ease); filter: saturate(0.96) brightness(0.94); }
.tile.t-tall .tile-img { aspect-ratio: 3/4; }
.tile.t-sq .tile-img { aspect-ratio: 1/1; }
.tile.t-wide .tile-img { aspect-ratio: 4/3; }
.tile:hover .tile-img { transform: scale(1.07); filter: saturate(1.05) brightness(1); }
.tile-ov { background: linear-gradient(0deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.15) 52%, transparent 100%); padding: 30px; }

/* ---- Testimonial avatars ---- */
.tcard .who .av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid rgba(204,0,0,0.5); }

/* ---- CTA FINAL real photo ---- */
.cta-final .cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.04); animation: kenburns 28s ease-in-out infinite alternate; }
.cta-final .cta-ov { background: linear-gradient(180deg, rgba(10,10,10,0.86), rgba(10,10,10,0.93)), radial-gradient(80% 80% at 50% 30%, rgba(139,0,0,0.30), transparent 60%); }
.cta-final h2 { text-wrap: balance; text-shadow: 0 2px 40px rgba(0,0,0,0.6); }

/* ---- LIGHTBOX real image ---- */
.lb-frame { overflow: hidden; background: #0c0c0c; border: 1px solid var(--line-2); }
.lb-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Section head typography polish ---- */
.h-section { letter-spacing: -0.028em; text-wrap: balance; }
.eyebrow { letter-spacing: 0.32em; }

@media (max-width: 760px) {
  .hero-overlay { background:
    linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.45) 30%, rgba(10,10,10,0.92) 85%),
    radial-gradient(90% 60% at 80% 6%, rgba(139,0,0,0.35), transparent 55%); }
}

/* ============================================================
   LOGO OFICIAL JDW
   ============================================================ */

/* --- Header --- */
.logo-img {
  height: 128px;       /* ~237% do tamanho original — presença de marca forte */
  width: auto;
  display: block;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
  transition: height .5s var(--ease);
}
/* Encolhe levemente ao rolar */
.header.scrolled .logo-img { height: 74px; }

/* Garante alinhamento horizontal no anchor */
.header .logo { flex-direction: row; align-items: center; }

/* --- Footer --- */
.footer .logo-img {
  height: 220px;       /* ~333% — dominante, sem margem para dúvida de marca */
  margin-bottom: 28px;
  border-radius: 14px;
}

/* ---- Responsividade da logo ---- */
/* Tablet */
@media (max-width: 1100px) {
  .logo-img             { height: 96px; }
  .footer .logo-img     { height: 180px; }
}
/* Mobile nav-break */
@media (max-width: 992px) {
  .header-inner         { height: 108px !important; }
  .header.scrolled .header-inner { height: 80px !important; }
  .logo-img             { height: 82px; }
  .header.scrolled .logo-img { height: 62px; }
  .hero .container      { padding-top: 140px; }
  .footer .logo-img     { height: 160px; }
}
/* Mobile pequeno */
@media (max-width: 600px) {
  .header-inner         { height: 88px !important; }
  .header.scrolled .header-inner { height: 70px !important; }
  .logo-img             { height: 68px; }
  .header.scrolled .logo-img { height: 52px; }
  .hero .container      { padding-top: 118px; }
  .footer .logo-img     { height: 130px; }
}

/* ============================================================
   FOOTER CONTATO — hierarquia visual aprimorada
   ============================================================ */
.footer-contact .ci {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.4;
}
.footer-contact .ci svg {
  width: 22px;
  height: 22px;
  stroke: var(--red);
  flex: none;
  margin-top: 2px;
}
.footer-contact a.ci {
  text-decoration: none;
  color: var(--text-soft);
  transition: color .3s var(--ease);
}
.footer-contact a.ci:hover { color: #fff; }
.footer-contact a.ci:hover svg { stroke: #fff; }

