/* ═══════════════════════════════════════════════
   WSA STUDIO — Premium Design System
   styles.css
═══════════════════════════════════════════════ */

/* ════════════════════════════════
   PRELOADER
════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0c0a07;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.preloader-logo {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}
.preloader-mark { color: #faf8f4; }
.preloader-sub  { color: #c9a76e; }
.preloader-cursor {
  color: #c9a76e;
  font-weight: 300;
  animation: preloaderBlink .75s step-end infinite;
  margin-left: -6px;
}
@keyframes preloaderBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.preloader-bar {
  width: 120px;
  height: 1px;
  background: rgba(201,167,110,.15);
  border-radius: 1px;
  overflow: hidden;
}
.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #c9a76e, #e8c87a);
  border-radius: 1px;
  transition: width .4s ease;
}

/* ── TOKENS ── */
:root {
  /* Cores principais */
  --ink:        #0a0908;
  --ink-2:      #1a1814;
  --ink-3:      #2c2820;

  --cream:      #faf8f4;
  --cream-2:    #f3ede2;
  --cream-3:    #ede4d3;

  --gold:       #c9a76e;
  --gold-2:     #dfc08a;
  --gold-3:     #b8904f;
  --gold-soft:  rgba(201,167,110,.12);
  --gold-glow:  rgba(201,167,110,.22);

  --text:       #1a1814;
  --text-muted: #6b6356;
  --text-light: #9c9085;

  --white:      #ffffff;
  --border:     rgba(201,167,110,.2);
  --border-soft: rgba(26,24,20,.08);

  --green:      #2d6a4f;
  --green-2:    #40916c;
  --green-soft: rgba(45,106,79,.1);

  /* Sombras */
  --shadow-sm:  0 2px 12px rgba(10,9,8,.06);
  --shadow-md:  0 8px 32px rgba(10,9,8,.10);
  --shadow-lg:  0 20px 60px rgba(10,9,8,.14);
  --shadow-gold: 0 8px 32px rgba(201,167,110,.25);

  /* Espaços */
  --gutter: 24px;
  --max-w:  1180px;

  /* Bordas */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 999px;

  /* Tipografia */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', -apple-system, sans-serif;

  /* Transições */
  --ease: cubic-bezier(.25,.8,.25,1);
  --t1: 160ms;
  --t2: 280ms;
  --t3: 420ms;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ── UTILITÁRIOS ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  color: var(--gold-3);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 14px;
}

.eyebrow-light { color: var(--gold-2); }

.body-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ── BOTÕES ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--t1) var(--ease),
    box-shadow var(--t2) var(--ease),
    transform var(--t1) var(--ease),
    color var(--t1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:active { transform: scale(0.97) !important; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Gold */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 50%, var(--gold-3) 100%);
  color: var(--ink);
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  filter: brightness(1.05);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-3);
  background: var(--gold-soft);
}

/* Outline gold */
.btn-outline-gold {
  background: transparent;
  color: var(--gold-3);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-3);
}

/* Outline light (sobre fundo escuro) */
.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.7);
}

/* Tamanhos */
.btn-sm  { font-size: .82rem; padding: 8px 22px; }
.btn-md  { font-size: .92rem; padding: 13px 30px; }
.btn-lg  { font-size: .97rem; padding: 15px 34px; }
.btn-xl  { font-size: 1.02rem; padding: 17px 38px; }

/* ════════════════════════════════
   HEADER
════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background var(--t2) var(--ease), box-shadow var(--t2) var(--ease);
}

/* ── Header sobre fundo escuro (hero) ── */
.logo-mark { transition: color var(--t2); }
.nav-link   { transition: color var(--t1); }

.header:not(.scrolled) .logo-mark          { color: var(--cream); }
.header:not(.scrolled) .logo-sub           { color: var(--gold-2); }
.header:not(.scrolled) .nav-link           { color: rgba(250,248,244,.72); }
.header:not(.scrolled) .nav-link:hover     { color: var(--cream); }
.header:not(.scrolled) .nav-toggle span    { background: var(--cream); }
.header:not(.scrolled) .nav-toggle        { border-color: rgba(250,248,244,.25); }

.header.scrolled {
  background: rgba(250,248,244,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-soft), var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 5px;
  text-decoration: none;
}

.logo-mark {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1;
}

.logo-sub {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-3);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-link {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t1);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--gold-3);
  transition: width var(--t2) var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0 8px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t2) var(--ease), opacity var(--t1);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: linear-gradient(118deg, #1c1409 0%, #110f09 28%, #080706 56%, #040302 100%);
  position: relative;
  overflow: hidden;
}

/* ── Canvas background ── */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

/* ── Layout centrado ── */
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 72px);
  padding-bottom: 60px;
  padding-top: 20px;
}

.hero-text {
  max-width: 680px;
  text-align: center;
}

/* ── Badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px 6px 12px;
  border: 1px solid rgba(201,167,110,.22);
  border-radius: var(--r-pill);
  background: rgba(201,167,110,.07);
  font-size: .72rem;
  font-weight: 600;
  color: rgba(250,248,244,.7);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,.8);
  flex-shrink: 0;
  animation: none;
}
/* ── Eyebrow ── */
.hero .eyebrow { color: var(--gold-2); margin-bottom: 18px; }

/* ── Título ── */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-2) 0%, var(--gold) 35%, var(--gold-3) 65%, var(--gold-2) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: none;
}

/* ── Desc ── */
.hero-desc {
  font-size: 1.05rem;
  color: rgba(250,248,244,.58);
  line-height: 1.78;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CTAs ── */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 52px;
}

.btn-hero-ghost {
  background: transparent;
  color: rgba(250,248,244,.85);
  border: 1.5px solid rgba(250,248,244,.18);
}
.btn-hero-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
  background: rgba(201,167,110,.08);
}

/* ── Proof stats ── */
.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.proof-item { display: flex; flex-direction: column; gap: 4px; }
.proof-item strong {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}
.proof-item span { font-size: .75rem; color: rgba(250,248,244,.42); font-weight: 500; }
.proof-sep {
  width: 1px; height: 36px;
  background: rgba(201,167,110,.22);
}

/* ── Scroll indicator ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(250,248,244,.25);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(201,167,110,.55), transparent);
  animation: none;
  transform-origin: top;
}

/* ════════════════════════════════
   STRIP DE BENEFÍCIOS
════════════════════════════════ */
.strip-benefits {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: 36px 0;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 40px;
  flex: 1;
  min-width: 240px;
}

.strip-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--gold-soft);
  border: 1px solid rgba(201,167,110,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.strip-item strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 4px;
}

.strip-item p {
  font-size: .8rem;
  color: rgba(250,248,244,.55);
  line-height: 1.5;
}

.strip-divider {
  width: 1px; height: 60px;
  background: rgba(201,167,110,.2);
  align-self: center;
}

/* ════════════════════════════════
   SOBRE
════════════════════════════════ */
.section-sobre {
  background: var(--white);
}

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  justify-items: center;
}

.sobre-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: visible;
  display: flex;
  justify-content: center;
}

.sobre-img-wrap img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.sobre-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-radius: var(--r-lg);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.sobre-badge-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.sobre-badge-txt {
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.3;
}

.sobre-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 36px;
}
.sobre-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.list-icon {
  color: var(--gold-3);
  flex-shrink: 0;
  font-size: .7rem;
  margin-top: 4px;
}

/* ════════════════════════════════
   SERVIÇOS
════════════════════════════════ */
.section-servicos {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition:
    transform var(--t2) var(--ease),
    box-shadow var(--t2) var(--ease),
    border-color var(--t2);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--t2);
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
  outline: none;
}
.service-card:hover::before,
.service-card:focus-visible::before { opacity: 1; }

.service-icon {
  width: 56px; height: 56px;
  background: var(--gold-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ════════════════════════════════
   PORTFÓLIO
════════════════════════════════ */
.section-portfolio {
  background: var(--ink);
}
.section-portfolio .section-title { color: var(--cream); }
.section-portfolio .section-desc { color: rgba(250,248,244,.55); }
.section-portfolio .eyebrow { color: var(--gold-2); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.port-large {
  grid-column: span 2;
  grid-row: span 2;
}

.port-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
}

.port-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.port-item:hover img { transform: scale(1.06); }

/* ── Scroll-reveal: revela a página inteira no hover ── */
.port-item.port-scroll img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: initial;
  transform: translateY(0);
  transition: transform 9s linear;
}
/* cards regulares: 220px de altura */
.port-item.port-scroll:hover img {
  transform: translateY(calc(-100% + 220px));
}
/* card destaque: 2 linhas + gap = 456px */
.port-item.port-large.port-scroll:hover img {
  transform: translateY(calc(-100% + 456px));
}

.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,9,8,.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--t2) var(--ease);
}

.port-item:hover .port-overlay { opacity: 1; }
.port-item.port-scroll .port-overlay { opacity: 1; }

.port-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 6px;
  width: fit-content;
}

.port-overlay p {
  color: var(--cream);
  font-size: .9rem;
  font-weight: 600;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10,9,8,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t3) var(--ease);
  backdrop-filter: blur(6px);
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-inner {
  position: relative;
  max-width: 960px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--r-lg);
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.lightbox-inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-lg);
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 9001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(250,248,244,.1);
  border: 1.5px solid rgba(250,248,244,.2);
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t2), transform var(--t2);
  font-family: var(--font-sans);
}
.lightbox-close:hover {
  background: rgba(201,167,110,.25);
  transform: scale(1.1);
}
.port-item.port-scroll { cursor: zoom-in; }

.portfolio-cta {
  text-align: center;
  margin-top: 48px;
}

/* ════════════════════════════════
   POR QUE WSA
════════════════════════════════ */
.section-why {
  background: var(--cream-2);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
}
.why-item:last-child { border-bottom: none; }

.why-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-icon-gold { background: var(--gold-soft); color: var(--gold-3); border: 1px solid var(--border); }
.why-icon-green { background: var(--green-soft); color: var(--green-2); border: 1px solid rgba(45,106,79,.15); }
.why-icon-blue { background: rgba(59,130,246,.08); color: #3b82f6; border: 1px solid rgba(59,130,246,.15); }

.why-item strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.why-item p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ════════════════════════════════
   DEPOIMENTOS
════════════════════════════════ */
.section-testimonials {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--t2) var(--ease), box-shadow var(--t2);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-featured {
  background: var(--ink);
  border-color: rgba(201,167,110,.3);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.testimonial-featured:hover { transform: scale(1.02) translateY(-4px); }
.testimonial-featured p { color: rgba(250,248,244,.75) !important; }
.testimonial-featured footer strong { color: var(--cream) !important; }
.testimonial-featured footer span { color: rgba(250,248,244,.5) !important; }
.testimonial-featured .stars { color: var(--gold-2) !important; }

.stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

.testimonial-card footer strong {
  display: block;
  font-size: .9rem;
  color: var(--ink);
  font-weight: 700;
}
.testimonial-card footer span {
  font-size: .78rem;
  color: var(--text-light);
}

/* ════════════════════════════════
   BLOG
════════════════════════════════ */
.section-blog {
  background: var(--cream-2);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform var(--t2) var(--ease), box-shadow var(--t2);
  position: relative;
  cursor: pointer;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.blog-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.blog-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.blog-card:hover .blog-img img { transform: scale(1.06); }

.blog-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: var(--ink);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: var(--r-pill);
}

.blog-body {
  padding: 24px;
}
.blog-body h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-body p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.blog-link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold-3);
  transition: color var(--t1);
  letter-spacing: .02em;
}
.blog-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.blog-link:hover { color: var(--ink); }

/* ════════════════════════════════
   CTA FINAL
════════════════════════════════ */
.section-cta {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 60%, var(--ink-3) 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-orb {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,167,110,.12) 0%, transparent 65%);
  top: 50%; left: 30%;
  transform: translate(-50%,-50%);
  filter: blur(60px);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto;
  gap: 60px;
  align-items: end;
  padding-top: 80px;
  padding-bottom: 0;
}

.cta-text { grid-column: 1; grid-row: 1; max-width: 540px; align-self: center; }
.cta-actions { grid-column: 1; grid-row: 2; display: flex; gap: 16px; flex-wrap: wrap; padding-bottom: 80px; }
.cta-photo { grid-column: 2; grid-row: 1 / 3; align-self: end; }

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-title em { font-style: italic; color: var(--gold-2); }

.cta-desc {
  font-size: 1rem;
  color: rgba(250,248,244,.6);
  line-height: 1.7;
}

.cta-photo img {
  width: 340px;
  height: 420px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: var(--shadow-lg);
  filter: brightness(.95) contrast(1.05);
  display: block;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer {
  background: var(--ink-2);
  border-top: 1px solid rgba(201,167,110,.12);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: .88rem;
  color: rgba(250,248,244,.45);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-brand .logo-mark { color: var(--cream); }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-link {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: rgba(201,167,110,.08);
  border: 1px solid rgba(201,167,110,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,248,244,.5);
  transition: background var(--t1), color var(--t1), border-color var(--t1);
}
.social-link:hover {
  background: var(--gold-soft);
  color: var(--gold-2);
  border-color: var(--border);
}

.footer-links h4 {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold-3);
  margin-bottom: 20px;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: .88rem;
  color: rgba(250,248,244,.45);
  transition: color var(--t1);
}
.footer-links a:hover { color: var(--cream); }

.footer-contact h4 {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold-3);
  margin-bottom: 20px;
}
.footer-contact p { margin-bottom: 10px; }
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: rgba(250,248,244,.45);
  transition: color var(--t1);
}
.footer-contact a:hover { color: var(--gold-2); }

.footer-bottom {
  border-top: 1px solid rgba(201,167,110,.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(250,248,244,.3);
}

/* ════════════════════════════════
   FADE-IN ANIMAÇÃO
════════════════════════════════ */

/* Keyframes reutilizáveis */
@keyframes enterUp {
  from {
    opacity: 0;
    transform: translateY(44px);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes enterSection {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Elementos internos (cards, textos, etc) */
.reveal {
  opacity: 0;
  will-change: opacity, transform, filter;
}
.reveal.visible {
  animation: enterUp .75s cubic-bezier(.22,.68,0,1.2) forwards;
}
.reveal-delay-1.visible { animation-delay: .06s; }
.reveal-delay-2.visible { animation-delay: .14s; }
.reveal-delay-3.visible { animation-delay: .22s; }
.reveal-delay-4.visible { animation-delay: .30s; }

/* Seções inteiras */
.section-reveal {
  opacity: 0;
  will-change: opacity, transform, filter;
}
.section-reveal.visible {
  animation: enterSection .85s cubic-bezier(.22,.68,0,1.1) forwards;
}

/* Hero — anima ao carregar a página */
@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-title {
  animation: heroEnter .9s cubic-bezier(.22,.68,0,1.1) .15s both;
}
.hero-desc {
  animation: heroEnter .9s cubic-bezier(.22,.68,0,1.1) .32s both;
}
.hero-ctas {
  animation: heroEnter .9s cubic-bezier(.22,.68,0,1.1) .48s both;
}

/* ════════════════════════════════
   RESPONSIVIDADE
════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 40px; }
  .hero-text { text-align: center; max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-visual { min-height: 420px; }
  .hero-photo { max-width: 380px; }
  .hero-badge { margin: 0 auto 24px; }
  .hero-desc { margin: 0 auto 36px; }

  .sobre-inner { grid-template-columns: 1fr; gap: 40px; }
  .sobre-img-wrap img { height: 400px; }
  .sobre-badge { right: 16px; }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .port-large { grid-column: span 2; grid-row: span 1; }
  .port-item.port-scroll:hover img { transform: translateY(calc(-100% + 220px)); }

  .why-inner { grid-template-columns: 1fr; gap: 40px; }

  /* ── Carrossel depoimentos mobile ── */
  .testimonials-carousel-wrap {
    overflow: hidden;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
  }
  .testimonials-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 20px;
    cursor: grab;
    user-select: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonials-grid.is-dragging { cursor: grabbing; }
  .testimonial-card {
    flex: 0 0 78vw;
    max-width: 300px;
    transform: none !important;
  }
  .testimonial-featured { transform: none; }
  .testimonial-featured:hover { transform: none; }

  .blog-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-photo { display: none; }
  .cta-actions { padding-bottom: 60px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --gutter: 18px; }
  .section { padding: 72px 0; }

  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(250,248,244,.98);
    backdrop-filter: blur(20px);
    padding: 24px var(--gutter);
    gap: 0;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .nav.open .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: .97rem;
  }
  .nav.open .btn-outline-gold {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
  }
  .nav-toggle { display: flex; }

  /* ── Carrossel mobile ── */
  .services-carousel-wrap {
    overflow: hidden;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
  }
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 20px;
  }
  .carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .3s, transform .3s;
  }
  .carousel-dot.active {
    background: var(--gold);
    transform: scale(1.35);
  }
  .services-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 20px;
    cursor: grab;
    user-select: none;
  }
  .services-grid::-webkit-scrollbar { display: none; }
  .services-grid.is-dragging { cursor: grabbing; scroll-behavior: auto; }
  .service-card {
    flex: 0 0 78vw;
    max-width: 300px;
    transform: none !important;
  }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .port-large { grid-column: span 1; }
  .port-item.port-scroll:hover img { transform: translateY(calc(-100% + 200px)); }
  .blog-grid { grid-template-columns: 1fr; }

  .strip-inner { flex-direction: column; gap: 0; }
  .strip-item { padding: 14px 20px; }
  .strip-divider { width: 100%; height: 1px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .cta-actions { padding-bottom: 60px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .hero-badge { font-size: .65rem; justify-content: center; }
  .hero-scroll-hint { display: none; }
  .hero-deco-ui, .hero-deco-dots { display: none; }
  .hero-code-bg { display: none; }

}
