/* ═══════════════════════════════════════════════════════════════════════════
   HELENA FOTOGRAFA — CSS Premium
   Paleta: Preto profundo + Dourado + Branco frio
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --black:       #0A0A0A;
  --dark:        #111111;
  --dark-mid:    #1A1A1A;
  --dark-soft:   #222222;
  --border:      #2A2A2A;
  --gold:        #B8965A;
  --gold-light:  #C9A87A;
  --gold-dim:    rgba(184,150,90,0.10);
  --white:       #F8F8F8;
  --white-soft:  #EEEEEE;
  --grey:        #888888;
  --grey-light:  #AAAAAA;

  --ff-display:  'Playfair Display', Georgia, serif;
  --ff-body:     'Inter', system-ui, sans-serif;
  --ff-accent:   'Cormorant Garamond', Georgia, serif;

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
}

/* ── RESET ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--gold); color: var(--black); }

/* ── CURSOR CUSTOMIZADO ────────────────────────────────────────────────────── */
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(184,150,90,0.35);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out), width 0.3s, height 0.3s, border-color 0.3s;
}
body.cursor-hover .cursor-ring {
  width: 54px; height: 54px;
  border-color: var(--gold); opacity: 0.7;
}

/* ── HEADER ─────────────────────────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(20px, 5vw, 60px);
  height: 72px;
  display: flex; align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s, height 0.4s;
}
.header.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  height: 62px;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  width: 100%; max-width: 1400px; margin: auto;
  display: flex; align-items: center; gap: 40px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.logo-initial {
  width: 38px; height: 38px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}
.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-light);
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.btn-header {
  display: inline-flex; align-items: center;
  padding: 10px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.3s, color 0.3s;
  flex-shrink: 0;
  white-space: nowrap;
}
.btn-header:hover { background: var(--gold); color: var(--black); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 30px; padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; top: 0;
  background: var(--dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 32px; z-index: 99;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}
.mobile-menu.open { transform: none; }
.mobile-link {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 5vw, 2rem);
  color: var(--white-soft);
  transition: color 0.3s;
}
.mobile-link:hover { color: var(--gold); }
.mobile-cta {
  margin-top: 8px;
  padding: 14px 40px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}

/* ── BUTTONS ─────────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 36px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.btn-primary svg { width: 16px; height: 16px; }
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 15px 36px;
  border: 1px solid rgba(248,248,248,0.3);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, background 0.3s;
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(248,248,248,0.08);
}
.btn-full { width: 100%; justify-content: center; }

/* ── SECTION BASE ────────────────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--grey-light);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── HERO ────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh; height: 100dvh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-slides {
  position: absolute; inset: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s var(--ease-in-out), transform 8s linear;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.75) 0%,
    rgba(10,10,10,0.45) 50%,
    rgba(10,10,10,0.65) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 clamp(20px, 5vw, 60px);
  max-width: 900px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s 0.1s var(--ease-out) forwards;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 24px;
  display: flex; flex-direction: column;
}
.hero-title-line {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.7s var(--ease-out) forwards;
}
.hero-title-line:nth-child(1) { animation-delay: 0.15s; }
.hero-title-line:nth-child(2) { animation-delay: 0.3s; }
.hero-title-line:nth-child(3) { animation-delay: 0.45s; }
.hero-title .italic {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(248,248,248,0.8);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.7s 0.55s var(--ease-out) forwards;
  font-family: var(--ff-accent);
  font-style: italic;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.65s var(--ease-out) forwards;
}
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(248,248,248,0.5);
  z-index: 2;
  animation: fadeIn 0.8s 0.8s both;
}
.hero-scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(184,150,90,0.45), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{transform:scaleY(1);opacity:1} 50%{transform:scaleY(0.6);opacity:0.5} }

.hero-dots {
  position: absolute; bottom: 36px; right: 40px;
  display: flex; gap: 8px; z-index: 2;
}
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(248,248,248,0.3);
  transition: background 0.3s, width 0.3s;
  border: none;
}
.hero-dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 3px;
}

/* ── STATS ─────────────────────────────────────────────────────────────────── */
.stats {
  background: var(--dark-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 50px clamp(20px, 5vw, 60px);
}
.stats-inner {
  max-width: 1000px; margin: auto;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.stat-item {
  flex: 1; min-width: 160px;
  text-align: center;
  padding: 20px;
}
.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold);
}
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 8px;
}
.stat-divider {
  width: 1px; height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── PORTFOLIO ────────────────────────────────────────────────────────────── */
.portfolio {
  padding: 100px clamp(20px, 5vw, 60px);
  max-width: 1400px;
  margin: 0 auto;
}

/* Filtros */
.cat-filters {
  display: flex; align-items: center;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 60px;
  justify-content: center;
}
.cat-filter {
  padding: 10px 22px;
  border: 1px solid var(--border);
  color: var(--grey-light);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 100px;
  transition: all 0.3s;
  cursor: none;
}
.cat-filter.active,
.cat-filter:hover {
  border-color: var(--gold); opacity: 0.7;
  color: var(--gold);
  background: var(--gold-dim);
}

/* Carrossel */
.carousel-section {
  margin-bottom: 70px;
  transition: opacity 0.4s, transform 0.4s;
}
.carousel-section.hidden { display: none; }
.carousel-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.carousel-title {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--white-soft);
}
.carousel-controls { display: flex; gap: 10px; }
.carousel-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  color: var(--grey-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all 0.3s;
  cursor: none;
}
.carousel-btn:hover {
  border-color: var(--gold); opacity: 0.7;
  color: var(--gold);
  background: var(--gold-dim);
}

.carousel-track-wrap { overflow: hidden; border-radius: var(--radius); }
.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.6s var(--ease-out);
}
.carousel-slide {
  flex: 0 0 calc(33.333% - 11px);
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.slide-inner {
  position: relative; width: 100%; height: 100%;
  overflow: hidden;
}
.slide-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.slide-inner:hover img { transform: scale(1.06); }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 20px;
}
.slide-inner:hover .slide-overlay { opacity: 1; }
.slide-label {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--white-soft);
}
.slide-zoom {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  backdrop-filter: blur(8px);
  transition: background 0.3s;
  cursor: none;
}
.slide-zoom svg { width: 14px; height: 14px; }
.slide-zoom:hover { background: var(--gold); border-color: var(--gold); opacity: 0.7; color: var(--black); }

/* ── SOBRE ────────────────────────────────────────────────────────────────── */
.sobre {
  padding: 100px clamp(20px, 5vw, 60px);
  background: var(--dark-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sobre-inner {
  max-width: 1200px; margin: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.sobre-img-wrap {
  position: relative;
}
.sobre-img-bg {
  position: absolute;
  top: -16px; right: -16px;
  width: 80%; height: 80%;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: 0;
}
.sobre-img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(15%);
  transition: filter 0.5s;
}
.sobre-img:hover { filter: none; }
.sobre-badge {
  position: absolute; bottom: -20px; right: -20px;
  z-index: 2;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  width: 110px; height: 110px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
.badge-num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.badge-txt {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
}
.sobre-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.2;
}
.sobre-title em { color: var(--gold); font-style: italic; }
.sobre-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--grey-light);
  margin-bottom: 18px;
}
.sobre-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.tag {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--grey-light);
  text-transform: uppercase;
}

/* ── DEPOIMENTOS ─────────────────────────────────────────────────────────── */
.depoimentos {
  padding: 100px clamp(20px, 5vw, 60px);
  max-width: 1300px;
  margin: 0 auto;
}
.dep-carousel-wrap { position: relative; }
.dep-carousel {
  display: flex;
  gap: 24px;
  overflow: hidden;
}
.dep-card {
  flex: 0 0 calc(50% - 12px);
  background: var(--dark-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  transition: transform 0.6s var(--ease-out), border-color 0.3s;
  position: relative;
}
.dep-card:hover { border-color: var(--gold); opacity: 0.7; transform: translateY(-4px); }
.dep-quote {
  font-family: var(--ff-display);
  font-size: 6rem;
  color: var(--gold-dim);
  line-height: 0.5;
  margin-bottom: 20px;
  color: var(--gold);
  opacity: 0.2;
}
.dep-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--white-soft);
  font-family: var(--ff-accent);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
}
.dep-footer { display: flex; align-items: center; gap: 14px; }
.dep-avatar {
  width: 46px; height: 46px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
.dep-nome { font-weight: 600; font-size: 0.9rem; margin-bottom: 2px; }
.dep-evento { font-size: 0.75rem; color: var(--grey); letter-spacing: 0.05em; }
.dep-stars { margin-left: auto; color: var(--gold); font-size: 0.85rem; letter-spacing: 2px; }
.dep-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 30px;
}
.dep-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: none;
  transition: all 0.3s;
  border: none;
}
.dep-dot.active {
  background: var(--gold);
  width: 20px;
  border-radius: 3px;
}

/* ── CONTATO ─────────────────────────────────────────────────────────────── */
.contato {
  padding: 100px clamp(20px, 5vw, 60px);
  background: var(--dark-mid);
  border-top: 1px solid var(--border);
}
.contato-inner {
  max-width: 1200px; margin: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contato-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.15;
}
.contato-title em { color: var(--gold); font-style: italic; }
.contato-sub {
  font-size: 1rem;
  color: var(--grey-light);
  line-height: 1.7;
  margin-bottom: 40px;
}
.social-links { display: flex; flex-direction: column; gap: 14px; }
.social-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--dark-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.social-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  transition: background 0.3s;
}
.social-card.whatsapp::before  { background: #25D366; }
.social-card.instagram::before { background: linear-gradient(to bottom, #F58529, #DD2A7B, #8134AF); }
.social-card.facebook::before  { background: #1877F2; }
.social-card.email::before     { background: var(--gold); }
.social-card:hover {
  border-color: transparent;
  transform: translateX(4px);
  background: var(--dark);
}
.social-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.social-icon svg { width: 20px; height: 20px; }
.social-card.whatsapp  .social-icon { color: #25D366; }
.social-card.instagram .social-icon { color: #E1306C; }
.social-card.facebook  .social-icon { color: #1877F2; }
.social-card.email     .social-icon { color: var(--gold); }
.social-info { flex: 1; }
.social-name { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 2px; }
.social-handle { display: block; font-size: 0.78rem; color: var(--grey); }
.social-arrow { color: var(--grey); font-size: 1.1rem; transition: transform 0.3s, color 0.3s; }
.social-card:hover .social-arrow { transform: translateX(4px); color: var(--gold); }

/* Formulário */
.contato-form-wrap {
  background: var(--dark-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.form-title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 32px;
}
.form-group {
  position: relative;
  margin-bottom: 22px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 16px 8px;
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); opacity: 0.7; }
.form-group label {
  position: absolute;
  left: 16px; top: 14px;
  font-size: 0.85rem;
  color: var(--grey);
  transition: all 0.25s var(--ease-out);
  pointer-events: none;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:not([value=""]) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--gold);
}
.form-group select option { background: var(--dark); }
.form-group textarea { resize: vertical; min-height: 110px; padding-top: 22px; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 50px clamp(20px, 5vw, 60px) 40px;
}
.footer-inner {
  max-width: 600px; margin: auto;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ff-display);
  font-size: 1.1rem; font-weight: 600;
}
.footer-sub { font-size: 0.8rem; color: var(--grey); letter-spacing: 0.1em; text-transform: uppercase; }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey);
  transition: all 0.3s;
}
.footer-socials a:hover { border-color: var(--gold); opacity: 0.7; color: var(--gold); background: var(--gold-dim); }
.footer-socials a svg { width: 16px; height: 16px; }
.footer-copy { font-size: 0.75rem; color: var(--grey); margin-top: 4px; }

/* ── LIGHTBOX ─────────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  font-size: 1.3rem; color: var(--white);
  z-index: 2; padding: 8px;
  transition: color 0.3s, transform 0.3s;
  cursor: none;
}
.lightbox-close:hover { color: var(--gold); transform: rotate(90deg); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 1.8rem; color: rgba(255,255,255,0.5);
  z-index: 2; padding: 16px;
  transition: color 0.3s;
  cursor: none;
}
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--gold); }
.lightbox-img-wrap {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 85vh;
  text-align: center;
}
.lightbox-img-wrap img {
  max-width: 100%; max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-out);
}
.lightbox.open .lightbox-img-wrap img { transform: scale(1); }
.lightbox-caption {
  color: var(--grey-light);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-top: 14px;
  text-transform: uppercase;
}

/* ── WHATSAPP FLOAT ───────────────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.whatsapp-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse { 0%{transform:scale(1);opacity:0.5} 100%{transform:scale(2.2);opacity:0} }

/* ── ANIMAÇÕES ────────────────────────────────────────────────────────────── */
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-left.revealed, .reveal-right.revealed {
  opacity: 1; transform: none;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .carousel-slide { flex: 0 0 calc(50% - 8px); }
  .sobre-inner { grid-template-columns: 1fr; gap: 50px; }
  .sobre-img-wrap { max-width: 500px; margin: auto; }
  .contato-inner { grid-template-columns: 1fr; gap: 50px; }
  .dep-card { flex: 0 0 100%; }
}

/* ── TABLET / MOBILE (≤768px) ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Cursor */
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  button, a { cursor: pointer; }

  /* Hero — altura corrigida para mobile browsers com barra de navegação */
  .hero { height: calc(100vh - 62px); height: calc(100dvh - 62px); min-height: 500px; }

  /* Reveal — desativa animação no mobile para evitar elementos invisíveis */
  .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Header */
  .nav, .btn-header { display: none; }
  .hamburger { display: flex; }
  .header { height: 62px; padding: 0 20px; }
  .header-inner { gap: 0; }
  .logo-text { font-size: 1rem; }

  /* Menu mobile mais elegante */
  .mobile-menu { gap: 24px; padding: 0 32px; }
  .mobile-link { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  /* Hero */
  .hero-content { padding: 0 24px; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 4rem); }
  .hero-sub { font-size: 1rem; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 0 8px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    text-align: center;
    justify-content: center;
    padding: 16px 24px;
    font-size: 0.82rem;
  }
  .hero-scroll { display: none; }
  .hero-dots { bottom: 20px; right: 20px; }

  /* Stats */
  .stats { padding: 36px 20px; }
  .stats-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat-divider { display: none; }
  .stat-item {
    min-width: unset;
    padding: 20px 12px;
    border-bottom: 1px solid var(--border);
  }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-number { font-size: 2.2rem; }

  /* Portfolio */
  .portfolio { padding: 64px 16px; }
  .section-header { margin-bottom: 36px; }
  .cat-filters {
    gap: 8px;
    margin-bottom: 36px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cat-filters::-webkit-scrollbar { display: none; }
  .cat-filter {
    flex-shrink: 0;
    padding: 9px 18px;
    font-size: 0.78rem;
  }
  .carousel-slide { flex: 0 0 78%; }
  .carousel-section { margin-bottom: 48px; }
  .carousel-header { margin-bottom: 16px; }
  .carousel-title { font-size: 1.1rem; }
  .carousel-btn { width: 38px; height: 38px; font-size: 0.9rem; }

  /* Sobre */
  .sobre { padding: 64px 20px; }
  .sobre-inner { gap: 40px; }
  .sobre-img-wrap { max-width: 100%; }
  .sobre-img { aspect-ratio: 3/2; }
  .sobre-img-bg { display: none; }
  .sobre-badge {
    width: 88px; height: 88px;
    bottom: -14px; right: 10px;
  }
  .badge-num { font-size: 1.8rem; }
  .badge-txt { font-size: 0.6rem; }
  .sobre-title { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .sobre-text { font-size: 0.95rem; }
  .sobre-tags { gap: 6px; margin: 20px 0; }
  .tag { padding: 5px 12px; font-size: 0.7rem; }

  /* Depoimentos */
  .depoimentos { padding: 64px 16px; }
  .dep-card {
    flex: 0 0 100%;
    padding: 28px 22px;
    border-radius: var(--radius);
  }
  .dep-quote { font-size: 4rem; }
  .dep-text { font-size: 1rem; margin-bottom: 20px; }
  .dep-stars { font-size: 0.75rem; }

  /* Contato */
  .contato { padding: 64px 20px; }
  .contato-inner { gap: 40px; }
  .contato-title { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .contato-sub { font-size: 0.95rem; margin-bottom: 28px; }
  .social-links { gap: 10px; }
  .social-card { padding: 14px 16px; gap: 12px; }
  .social-icon { width: 36px; height: 36px; border-radius: 8px; }
  .social-icon svg { width: 18px; height: 18px; }
  .social-name { font-size: 0.85rem; }
  .social-handle { font-size: 0.72rem; }
  .contato-form-wrap {
    padding: 28px 20px;
    border-radius: var(--radius);
  }
  .form-title { font-size: 1.25rem; margin-bottom: 24px; }
  .form-group { margin-bottom: 18px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; /* evita zoom no iOS */ }

  /* Footer */
  .footer { padding: 40px 20px 32px; }
  .footer-socials a { width: 38px; height: 38px; }

  /* Lightbox */
  .lightbox-prev { left: 4px; padding: 10px; }
  .lightbox-next { right: 4px; padding: 10px; }
  .lightbox-close { top: 14px; right: 14px; }

  /* WhatsApp float */
  .whatsapp-float { bottom: 20px; right: 16px; width: 54px; height: 54px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

/* ── MOBILE PEQUENO (≤480px) ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Header */
  .logo-initial { width: 32px; height: 32px; font-size: 1rem; }

  /* Hero */
  .hero-title { font-size: clamp(2rem, 12vw, 3rem); }
  .hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.18em; }

  /* Stats — empilha vertical em telas muito estreitas */
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.72rem; }

  /* Portfolio */
  .carousel-slide { flex: 0 0 88%; }
  .carousel-track { gap: 12px; }

  /* Sobre */
  .sobre-img { aspect-ratio: 4/3; }
  .sobre-badge { width: 80px; height: 80px; right: 8px; bottom: -12px; }

  /* Depoimentos */
  .dep-card { padding: 22px 16px; }
  .dep-footer { flex-wrap: wrap; gap: 10px; }
  .dep-stars { width: 100%; text-align: right; }

  /* Contato */
  .social-card { padding: 12px 14px; }
  .contato-form-wrap { padding: 22px 16px; }

  /* Botões hero mais compactos */
  .btn-primary, .btn-ghost { padding: 14px 20px; font-size: 0.8rem; }
}

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

/* ── CARTÓRIO — DESTAQUE ESPECIALIDADE ───────────────────────────────────── */
.cat-filter-destaque {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  background: var(--gold-dim) !important;
  font-weight: 600;
  position: relative;
}
.filter-star {
  margin-left: 4px;
  font-size: 0.7rem;
  color: var(--gold);
}
.badge-especialidade {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 12px;
  background: linear-gradient(135deg, #B8965A, #C9A87A);
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-left: 12px;
  vertical-align: middle;
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 3px 12px rgba(0,0,0,0.3); }
  50%      { box-shadow: 0 3px 12px rgba(0,0,0,0.3); }
}

/* Seção de destaque: borda dourada sutil + fundo diferenciado */
.carousel-section[data-cat="cartorio"] {
  background: linear-gradient(135deg, rgba(184,150,90,0.04), transparent);
  border: 1px solid rgba(184,150,90,0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 70px;
  position: relative;
}
.carousel-section[data-cat="cartorio"]::before {
  content: 'ESPECIALIDADE';
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  padding: 3px 12px;
  border-radius: 100px;
}
.carousel-section[data-cat="cartorio"] .carousel-title {
  color: var(--gold-light);
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
}
.carousel-section[data-cat="cartorio"] .slide-inner img {
  filter: none;
}

/* ── Ícones SVG das categorias ─────────────────────────────────────────────── */
.cat-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  /* Filtro para tornar branco (os SVGs são pretos por padrão) */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.badge-star-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 2px;
  filter: brightness(0) invert(1);
}
/* Ícones nos filtros (fundo escuro → branco) */
.cat-filter .cat-icon {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
/* Filtro ativo */
.cat-filter.active .cat-icon {
  filter: brightness(0) invert(1);
  opacity: 1;
}
/* Nos títulos do carrossel (gold-light) */
.carousel-title .cat-icon {
  filter: brightness(0) saturate(100%) invert(82%) sepia(40%) saturate(400%) hue-rotate(5deg) brightness(105%);
  width: 22px;
  height: 22px;
}

/* ── MOBILE MENU APRIMORADO ───────────────────────────────────────────────── */
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}
.mobile-socials {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  width: 100%;
  justify-content: center;
}
.mobile-socials a {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-light);
  transition: all 0.3s;
}
.mobile-socials a svg { width: 18px; height: 18px; }
.mobile-socials a:hover { border-color: var(--gold); opacity: 0.7; color: var(--gold); background: var(--gold-dim); }
