/* ============================================================
   MATEUS RIVELLI ADVOCACIA — Design System
   ============================================================ */

:root {
  /* Paleta extraída da identidade visual (logo) */
  --charcoal-950: #1c1a19;
  --charcoal-900: #211f1e;
  --charcoal-800: #2a2827;
  --charcoal-700: #363434; /* cor exata do fundo da logo */
  --charcoal-600: #454241;
  --charcoal-500: #5c5854;

  --gold-100: #f3e6d0;
  --gold-200: #e3c69c;
  --gold-300: #d6b483;
  --gold-400: #cfa675; /* cor exata do dourado da logo */
  --gold-500: #b98d57;
  --gold-600: #a8804d;
  --gold-700: #8a6a3f;

  --cream: #f8f4ec;
  --cream-dim: #eee7d9;
  --white: #ffffff;

  --ink: #262422;
  --ink-soft: #4a453f;
  --ink-muted: #776f66;
  --line: #e7ded0;
  --line-soft: #efe9dd;

  --bg-light: #fbf9f5;
  --bg-card: #ffffff;

  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 2px 10px rgba(28, 26, 25, 0.06);
  --shadow-md: 0 10px 30px rgba(28, 26, 25, 0.10);
  --shadow-lg: 0 24px 60px rgba(28, 26, 25, 0.16);
  --shadow-gold: 0 14px 34px rgba(169, 128, 77, 0.30);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1220px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; height: 100vh; }
img { max-width: 100%; display: block; }
svg { display: block; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-sans); font-weight: 600; color: var(--ink); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; display: block; }
.icon--wa { width: 1.15em; height: 1.15em; }
.icon--lg { width: 34px; height: 34px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

::selection { background: var(--gold-400); color: var(--charcoal-950); }

/* ============ SCROLL REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="immediate"] { transition: opacity 1s var(--ease), transform 1s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__photo,
  .scroll-progress__bar,
  .btn--primary::after { animation: none !important; transition: none !important; }
}

/* ============ TYPOGRAPHY HELPERS ============ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 18px;
}
.eyebrow__line { width: 30px; height: 1px; background: var(--gold-500); display: inline-block; }
.eyebrow--center { justify-content: center; }

.section-title {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1.2;
  margin-bottom: 18px;
}
.section-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 640px;
}
.section-head { text-align: center; margin: 0 auto 56px; max-width: 720px; }
.section-head .section-desc { margin: 0 auto; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--charcoal-950);
  box-shadow: var(--shadow-gold);
}
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s var(--ease);
  z-index: 0;
}
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary:hover::after { left: 140%; }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(169, 128, 77, 0.38); }
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--cream);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255,255,255,0.6); transform: translateY(-3px); }
.btn--lg { padding: 16px 34px; font-size: 0.98rem; }
.btn--sm { padding: 9px 18px; font-size: 0.82rem; }
.btn--block { width: 100%; }
.btn .icon, .btn svg { display: block; align-self: center; }

/* ============================================================
   SPLASH SCREEN
   ============================================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 38%, var(--charcoal-800) 0%, var(--charcoal-950) 68%, #100f0e 100%);
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.splash__glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 560px; height: 560px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(207, 166, 117, 0.22) 0%, transparent 70%);
  filter: blur(10px);
  animation: splashPulse 3.2s ease-in-out infinite;
}
@keyframes splashPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.splash__content { position: relative; z-index: 2; text-align: center; }

.splash__mark { margin-bottom: 22px; }
.splash__monogram {
  width: 96px;
  margin: 0 auto;
  opacity: 0;
  transform: scale(0.8);
  filter: drop-shadow(0 8px 26px rgba(207, 166, 117, 0.35));
  animation: splashMark 1s var(--ease) 0.15s forwards;
}
@keyframes splashMark {
  to { opacity: 1; transform: scale(1); }
}

.splash__word {
  font-family: var(--font-sans);
  color: var(--cream);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: 0.5em;
  margin: 0 0 10px;
  opacity: 0;
  animation: splashWord 1.1s var(--ease) 0.55s forwards;
}
@keyframes splashWord {
  0% { opacity: 0; letter-spacing: 0.9em; }
  100% { opacity: 1; letter-spacing: 0.14em; }
}

.splash__sub {
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold-400);
  text-transform: uppercase;
  opacity: 0;
  animation: splashFade 0.8s ease 1.15s forwards;
}
@keyframes splashFade { to { opacity: 1; } }

.splash__bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  margin: 30px auto 0;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: splashFade 0.6s ease 1.15s forwards;
}
.splash__bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-200));
  animation: splashBar 1.7s var(--ease) 0.7s forwards;
}
@keyframes splashBar { to { width: 100%; } }

.splash__skip {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: none;
  color: rgba(248, 244, 236, 0.55);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  opacity: 0;
  animation: splashFade 0.6s ease 1.3s forwards;
  transition: color 0.3s;
}
.splash__skip:hover { color: var(--gold-300); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 20px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(28, 26, 25, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 6px 30px rgba(0,0,0,0.18);
  border-bottom: 1px solid rgba(207, 166, 117, 0.12);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand__img { height: 54px; width: auto; transition: height 0.4s var(--ease); }
.header.is-scrolled .brand__img { height: 46px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cream);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-400);
  transition: width 0.35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--gold-300); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}
.nav-toggle span {
  width: 100%; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 80px;
  background: linear-gradient(160deg, var(--charcoal-900) 0%, var(--charcoal-700) 58%, var(--charcoal-800) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../assets/img/background-hero.jpg');
  background-image: image-set(
    url('../assets/img/background-hero.webp') type('image/webp'),
    url('../assets/img/background-hero.jpg') type('image/jpeg')
  );
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.1s linear;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero__text .eyebrow { color: var(--gold-300); }
.hero__title {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--cream);
  margin-bottom: 22px;
}
.hero__title span {
  color: var(--gold-300);
  background: linear-gradient(135deg, var(--gold-200), var(--gold-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__subtitle {
  font-size: 1.06rem;
  line-height: 1.75;
  color: rgba(248, 244, 236, 0.78);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero__subtitle strong { color: var(--cream); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.hero__badges li {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.8rem;
  color: rgba(248, 244, 236, 0.68);
  letter-spacing: 0.01em;
}
.hero__badges li .icon { color: var(--gold-400); }

.hero__figure {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -36px;
}
.hero__figure-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 82%;
  height: 78%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(207, 166, 117, 0.28) 0%, rgba(207, 166, 117, 0.08) 45%, transparent 72%);
  filter: blur(6px);
  z-index: 0;
}
.hero__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-width: 540px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid rgba(248, 244, 236, 0.35);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  background: var(--gold-300);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { top: 7px; opacity: 1; }
  70% { top: 22px; opacity: 0; }
  71% { top: 7px; opacity: 0; }
  100% { top: 7px; opacity: 1; }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats { background: var(--charcoal-800); padding: 46px 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stats__item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--cream);
}
.stats__item .icon { color: var(--gold-400); flex-shrink: 0; }
.stats__label { font-size: 0.86rem; line-height: 1.5; color: rgba(248,244,236,0.82); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { position: relative; padding: 120px 0; background: var(--bg-light); overflow: hidden; }
.about__mark {
  position: absolute;
  left: -8%;
  bottom: -10%;
  width: 480px;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}
.about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.about__figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.about__figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(28, 26, 25, 0.18);
}
.about__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2/3;
  transition: transform 0.7s var(--ease);
}
.about__figure:hover img { transform: scale(1.05); }
.about__figure-tag {
  position: absolute;
  left: 20px; bottom: 20px;
  right: 20px;
  background: rgba(28, 26, 25, 0.78);
  backdrop-filter: blur(8px);
  color: var(--cream);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(207, 166, 117, 0.25);
}
.about__figure-tag .icon { color: var(--gold-400); margin-top: 2px; }

.about__lead { font-size: 1.12rem; line-height: 1.7; margin-bottom: 18px; color: var(--ink); }
.about__content p { margin-bottom: 18px; color: var(--ink-soft); line-height: 1.75; }
.about__quote {
  margin: 30px 0 8px;
  padding-left: 22px;
  border-left: 3px solid var(--gold-400);
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
}
.about__signature {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--gold-600);
  margin-bottom: 28px;
}
.about__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.about__list li { display: flex; align-items: center; gap: 10px; font-size: 0.94rem; color: var(--ink-soft); }
.about__list .icon { color: var(--gold-500); flex-shrink: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 120px 0; background: var(--charcoal-700); position: relative; }
.services .section-head .eyebrow { color: var(--gold-300); }
.services .section-title { color: var(--cream); }
.services .section-desc { color: rgba(248,244,236,0.72); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(207, 166, 117, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(207, 166, 117, 0.4);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}
.service-card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(207,166,117,0.22), rgba(207,166,117,0.06));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-300);
  margin-bottom: 22px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.service-card:hover .service-card__icon {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(207, 166, 117, 0.2);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { color: var(--cream); font-size: 1.28rem; margin-bottom: 12px; }
.service-card p { color: rgba(248,244,236,0.68); font-size: 0.92rem; line-height: 1.65; margin-bottom: 20px; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.84rem; font-weight: 600;
  color: var(--gold-300);
  transition: gap 0.3s;
}
.service-card__link:hover { gap: 13px; }

/* ============================================================
   PORTFOLIO / TIMELINE
   ============================================================ */
.portfolio { padding: 120px 0; background: var(--bg-light); }
.portfolio__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 90px;
}
.portfolio__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.portfolio__figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(28, 26, 25, 0.18);
}
.portfolio__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2/3;
  transition: transform 0.7s var(--ease);
}
.portfolio__figure:hover img { transform: scale(1.05); }

.timeline { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-400), rgba(207, 166, 117, 0.15));
}
.timeline__item { display: flex; gap: 22px; align-items: flex-start; }
.timeline__num {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--gold-400);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--bg-card);
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.timeline__item:hover .timeline__num {
  transform: scale(1.08);
  border-color: var(--gold-400);
  box-shadow: 0 8px 22px rgba(207, 166, 117, 0.2);
}
.timeline__item h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--ink); }
.timeline__item p { color: var(--ink-muted); font-size: 0.9rem; line-height: 1.6; }

.portfolio__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.highlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(207, 166, 117, 0.35);
  box-shadow: 0 18px 40px rgba(28, 26, 25, 0.1);
}
.highlight-card .icon--lg { color: var(--gold-500); margin-bottom: 18px; }
.highlight-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.highlight-card p { color: var(--ink-muted); font-size: 0.88rem; line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { position: relative; padding: 120px 0; background: var(--charcoal-800); overflow: hidden; }
.testimonials__mark {
  position: absolute;
  right: -6%;
  top: -12%;
  width: 460px;
  opacity: 0.05;
  pointer-events: none;
}
.testimonials .section-title { color: var(--cream); }
.testimonials .eyebrow { color: var(--gold-300); }

.testimonials__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  margin: 0;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(207, 166, 117, 0.35);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.2);
}
.testimonial-card__quote { width: 28px; height: 28px; color: var(--gold-500); margin-bottom: 18px; opacity: 0.85; }
.testimonial-card blockquote {
  margin: 0 0 22px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(248,244,236,0.85);
  font-style: italic;
}
.testimonial-card figcaption { display: flex; flex-direction: column; gap: 2px; }
.testimonial-card__name { font-weight: 600; color: var(--gold-300); font-size: 0.9rem; }
.testimonial-card__role { font-size: 0.78rem; color: rgba(248,244,236,0.55); }

.testimonials__disclaimer {
  text-align: center;
  margin-top: 44px;
  font-size: 0.78rem;
  color: rgba(248,244,236,0.4);
  font-style: italic;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 120px 0; background: var(--bg-light); }
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}
.contact__list { display: flex; flex-direction: column; gap: 20px; margin: 32px 0 36px; }
.contact__list li { display: flex; align-items: flex-start; gap: 16px; }
.contact__icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--charcoal-700);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact__icon svg { width: 20px; height: 20px; display: block; color: inherit; }
.contact__icon .icon--wa { width: 20px; height: 20px; }
.contact__list strong { display: block; font-size: 0.82rem; color: var(--ink-muted); margin-bottom: 3px; font-weight: 600; }
.contact__list a, .contact__list li > div span { font-size: 0.98rem; color: var(--ink); }
.contact__list a:hover { color: var(--gold-600); }

.contact__form-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.contact__form-wrap:hover {
  transform: translateY(-4px);
  border-color: rgba(207, 166, 117, 0.3);
  box-shadow: 0 20px 48px rgba(28, 26, 25, 0.12);
}
.form-row { margin-bottom: 20px; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  font-size: 0.94rem;
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(207, 166, 117, 0.18);
}
.form-row input.is-invalid, .form-row select.is-invalid, .form-row textarea.is-invalid {
  border-color: #c0554a;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  cursor: pointer;
}
.checkbox-row input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--gold-500); flex-shrink: 0; }
.form-note { text-align: center; font-size: 0.76rem; color: var(--ink-muted); margin-top: 14px; }

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success.is-visible { display: block; }
.form-success .icon { width: 48px; height: 48px; color: var(--gold-500); margin: 0 auto 16px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--ink-muted); font-size: 0.92rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--charcoal-950); color: rgba(248,244,236,0.7); padding: 80px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo { height: 46px; margin-bottom: 18px; }
.footer__brand p { font-size: 0.86rem; line-height: 1.7; color: rgba(248,244,236,0.55); margin-bottom: 22px; max-width: 320px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(207, 166, 117, 0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-300);
  background: rgba(207, 166, 117, 0.08);
  transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s;
}
.footer__social a svg { width: 18px; height: 18px; display: block; color: inherit; }
.footer__social a .icon--wa { width: 18px; height: 18px; }
.footer__social a:hover { border-color: var(--gold-400); color: var(--gold-200); background: rgba(207, 166, 117, 0.16); transform: translateY(-3px); }

.footer__col h4 { color: var(--cream); font-size: 0.9rem; letter-spacing: 0.04em; margin-bottom: 20px; font-family: var(--font-sans); font-weight: 600; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col li { font-size: 0.85rem; color: rgba(248,244,236,0.55); }
.footer__col a:hover { color: var(--gold-300); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0 30px;
  flex-wrap: wrap;
}
.footer__bottom p { font-size: 0.78rem; color: rgba(248,244,236,0.4); }
.footer__disclaimer { text-align: right; max-width: 420px; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 400;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  color: var(--charcoal-950);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
  transition: transform 0.35s var(--ease);
}
.whatsapp-float svg,
.whatsapp-float .icon--wa { width: 30px; height: 30px; display: block; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float__ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(207, 166, 117, 0.55);
  animation: ringPulse 2.4s ease-out infinite;
}
@keyframes ringPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__highlights { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(360px, 86vw);
    background: rgba(28,26,25,0.98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 40px 40px; gap: 40px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.3);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav__link { font-size: 1.05rem; }
  .nav__cta { margin-top: 10px; }
  .nav-toggle { display: flex; z-index: 600; }

  .hero { min-height: auto; padding: 118px 0 56px; }
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "figure"
      "text";
    text-align: center;
    gap: 20px;
  }
  .hero__figure {
    grid-area: figure;
    max-width: min(300px, 78vw);
    margin: 0 auto;
    margin-top: 0;
  }
  .hero__text {
    grid-area: text;
    width: 100%;
  }
  .hero__photo {
    max-width: 100%;
    animation: none;
  }
  .hero__actions, .hero__badges { justify-content: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .scroll-cue { display: none; }

  .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .portfolio__grid { grid-template-columns: 1fr; gap: 44px; }
  .portfolio__figure { max-width: 420px; margin: 0 auto; }
  .contact__grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .services__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; gap: 26px; }
  .form-row--split { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: 30px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__disclaimer { text-align: left; }
  .hero { padding-top: 130px; }
  .whatsapp-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
}

@media (max-width: 480px) {
  .splash__word { letter-spacing: 0.3em; }
  .hero__title { font-size: 1.9rem; }
}

/* ============================================================
   MODERN EFFECTS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-200), var(--gold-400));
  box-shadow: 0 0 12px rgba(207, 166, 117, 0.55);
  transition: width 0.08s linear;
}

.section-title {
  position: relative;
}
.section-head .section-title::after,
.about__content .section-title::after,
.portfolio__content .section-title::after,
.contact__info .section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}
.section-head .section-title::after { margin-left: auto; margin-right: auto; }

.stats__item {
  transition: transform 0.4s var(--ease);
}
.stats__item:hover {
  transform: translateY(-4px);
}

.services__grid .service-card:nth-child(1).is-visible { transition-delay: 0ms; }
.services__grid .service-card:nth-child(2).is-visible { transition-delay: 80ms; }
.services__grid .service-card:nth-child(3).is-visible { transition-delay: 160ms; }
.services__grid .service-card:nth-child(4).is-visible { transition-delay: 240ms; }
.services__grid .service-card:nth-child(5).is-visible { transition-delay: 320ms; }
.services__grid .service-card:nth-child(6).is-visible { transition-delay: 400ms; }

.testimonials__grid .testimonial-card:nth-child(1).is-visible { transition-delay: 0ms; }
.testimonials__grid .testimonial-card:nth-child(2).is-visible { transition-delay: 100ms; }
.testimonials__grid .testimonial-card:nth-child(3).is-visible { transition-delay: 200ms; }

[data-reveal].is-visible {
  transition-delay: var(--reveal-delay, 0ms);
}
