/* ============================================
   YOVANNY BARBER OFICIAL — Luxury Dark Theme
   ============================================ */

:root {
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-dark: #9e7c1a;
  --black: #050505;
  --dark: #0d0d0d;
  --dark2: #111111;
  --dark3: #1a1a1a;
  --dark4: #222222;
  --gray: #888;
  --gray-light: #bbb;
  --white: #ffffff;
  --white-dim: rgba(255,255,255,0.07);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ===== LOADER ===== */
#loader {
  position: fixed; inset: 0;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }

.loader-inner { text-align: center; }

.loader-logo {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 8px;
  margin-bottom: 2rem;
  animation: logoGlow 1s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  from { text-shadow: 0 0 20px rgba(201,162,39,0.3); }
  to   { text-shadow: 0 0 40px rgba(201,162,39,0.8), 0 0 80px rgba(201,162,39,0.3); }
}

.loader-bar {
  width: 200px; height: 2px;
  background: var(--dark4);
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  width: 0%;
  animation: loaderFill 1.8s ease forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ===== CURSOR ===== */
.cursor {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(201,162,39,0.5);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

/* ===== PARTICLES CANVAS ===== */
#particles {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ===== TYPOGRAPHY ===== */
.gold { color: var(--gold); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-desc {
  color: var(--gray-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,162,39,0.4); }
.btn-primary.large { padding: 1.1rem 2.6rem; font-size: 1.05rem; }
.btn-primary.full { width: 100%; justify-content: center; border-radius: var(--radius); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2rem;
  border: 1.5px solid rgba(201,162,39,0.5);
  border-radius: 50px;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: none;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201,162,39,0.08);
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
  padding: 0;
}
#navbar.scrolled {
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201,162,39,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  gap: 2rem;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo .logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}
.nav-logo .logo-sub {
  font-size: 0.55rem;
  letter-spacing: 3px;
  color: var(--gray);
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray-light);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
  cursor: none;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: none;
}
.nav-cta:hover { box-shadow: 0 6px 24px rgba(201,162,39,0.4); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(5,5,5,0.97);
  backdrop-filter: blur(20px);
  padding: 0;
  border-top: 1px solid rgba(201,162,39,0.1);
  gap: 0;
}

/* ===== HERO ===== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.95) 35%, rgba(0,0,0,0.5) 65%, rgba(0,0,0,0.15) 100%),
    linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease 0.3s both;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(201,162,39,0); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(3rem, 7.5vw, 7rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.title-line {
  display: block;
  /* clip apenas para a animação, com espaço suficiente para não cortar letras */
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.title-line:nth-child(1) { animation: slideUp 0.8s ease 0.5s both; }
.title-line:nth-child(2) { animation: slideUp 0.8s ease 0.65s both; }
.title-line:nth-child(3) { animation: slideUp 0.8s ease 0.8s both; }

@keyframes slideUp {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInDown {
  from { transform: translateY(-20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-light);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeIn 0.8s ease 1s both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeIn 0.8s ease 1.1s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  animation: fadeIn 0.8s ease 1.2s both;
}

.stat { text-align: left; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-plus { font-size: 1.5rem; color: var(--gold); font-weight: 700; }
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
}
.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SOBRE ===== */
#sobre {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Fotos do Sobre — layout de retratos sobrepostos */
.sobre-images {
  position: relative;
  height: 680px;
}

.img-frame {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201,162,39,0.2);
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94),
              box-shadow 0.5s ease;
}
.img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s ease;
}
.img-frame:hover { transform: translateY(-8px) scale(1.01); }
.img-frame:hover img { transform: scale(1.04); }

.main-frame {
  width: 62%;
  height: 88%;
  top: 0; left: 0;
  box-shadow: 24px 24px 70px rgba(0,0,0,0.6),
              0 0 0 1px rgba(201,162,39,0.12);
  z-index: 2;
}
.main-frame img { object-position: center 15%; }

.side-frame {
  width: 52%;
  height: 60%;
  bottom: 0; right: 0;
  box-shadow: -12px 20px 60px rgba(0,0,0,0.55),
              0 0 0 1px rgba(201,162,39,0.1);
  z-index: 3;
}
.side-frame img { object-position: center 10%; }

/* Linha dourada decorativa atrás do main-frame */
.sobre-images::before {
  content: '';
  position: absolute;
  top: 16px; left: 16px;
  width: 62%; height: 88%;
  border: 1.5px solid rgba(201,162,39,0.25);
  border-radius: 16px;
  z-index: 1;
  pointer-events: none;
}

.img-glow {
  position: absolute; inset: 0;
  background: linear-gradient(170deg, rgba(201,162,39,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.experience-badge {
  position: absolute;
  bottom: 28px; left: 52%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  border-radius: 50%;
  width: 100px; height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
  box-shadow: 0 0 0 6px var(--dark),
              0 0 0 7px rgba(201,162,39,0.35),
              0 12px 30px rgba(0,0,0,0.4);
}
.exp-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}
.exp-text {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.3;
  margin-top: 2px;
}

.sobre-desc {
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.sobre-features { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}
.feature-icon {
  width: 44px; height: 44px;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.feature strong { display: block; color: var(--white); margin-bottom: 0.2rem; }
.feature p { font-size: 0.88rem; color: var(--gray); margin: 0; }

/* ===== SERVIÇOS ===== */
#servicos {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--dark2) 50%, var(--black) 100%);
  position: relative;
  z-index: 1;
}
#servicos::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

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

.service-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  border-color: rgba(201,162,39,0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card.featured {
  background: linear-gradient(135deg, #1a1500, #0d0d0d);
  border-color: rgba(201,162,39,0.3);
  box-shadow: 0 0 40px rgba(201,162,39,0.08);
}

.service-badge-top {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
}

.service-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: block;
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  color: var(--white);
}
.service-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.service-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}
.service-line {
  width: 30px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 1rem;
  border-radius: 2px;
}

/* ===== GALERIA ===== */
#galeria {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
}

/* Grid para 3 fotos portrait — layout editorial */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 1rem;
  align-items: end;
}

.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: none;
}

/* Foto central (grande) — retrato completo */
.gallery-item.large {
  aspect-ratio: 3/4;
  transform: translateY(-30px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5),
              0 0 0 1px rgba(201,162,39,0.12);
}

/* Fotos laterais */
.gallery-item:not(.large) {
  aspect-ratio: 3/4.5;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
  display: block;
}
.gallery-item.large img { object-position: center 10%; }
.gallery-item:nth-child(2) img { object-position: center 8%; }
.gallery-item:nth-child(3) img { object-position: center 12%; }

.gallery-item:hover img { transform: scale(1.05); }

/* Borda dourada sutil */
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(201,162,39,0.15);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.4s ease;
}
.gallery-item:hover::after { border-color: rgba(201,162,39,0.45); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.1) 50%, transparent 75%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}
.gallery-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.3;
}

/* ===== DEPOIMENTOS ===== */
#depoimentos {
  padding: 8rem 0;
  background: var(--dark2);
  position: relative;
  z-index: 1;
}
#depoimentos::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,0.3), transparent);
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  border-color: rgba(201,162,39,0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: rgba(201,162,39,0.1);
  line-height: 1;
}

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

.testimonial-card p {
  font-size: 0.92rem;
  color: var(--gray-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.author-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.78rem; color: var(--gray); }

/* ===== CTA BANNER ===== */
#cta-banner {
  padding: 7rem 0;
  position: relative;
  z-index: 1;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(201,162,39,0.12) 0%, transparent 70%),
    linear-gradient(135deg, var(--dark2), var(--black));
}
#cta-banner::before, #cta-banner::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,0.3), transparent);
}
#cta-banner::before { top: 0; }
#cta-banner::after { bottom: 0; }

.cta-content {
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta-content p {
  color: var(--gray-light);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* ===== CONTATO ===== */
#contato {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.info-items { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.8rem; }
.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-icon {
  font-size: 1.4rem;
  width: 48px;
  flex-shrink: 0;
  padding-top: 2px;
}
.info-item strong { display: block; color: var(--white); margin-bottom: 0.3rem; }
.info-item p { color: var(--gray-light); font-size: 0.9rem; line-height: 1.6; }
.info-item a { color: var(--gold); text-decoration: none; }
.info-item a:hover { text-decoration: underline; }

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}
.social-link {
  width: 44px; height: 44px;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-light);
  text-decoration: none;
  transition: var(--transition);
  cursor: none;
}
.social-link:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.contato-form-wrap {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contato-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--white);
}

.form-group {
  position: relative;
  margin-bottom: 1.2rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1rem 1rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(201,162,39,0.5);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.08);
}
.form-group input:not(:placeholder-shown) + label,
.form-group input:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group textarea:focus + label {
  top: -0.5rem;
  font-size: 0.72rem;
  color: var(--gold);
  background: var(--dark3);
  padding: 0 0.4rem;
}
.form-group label {
  position: absolute;
  top: 1rem; left: 1rem;
  font-size: 0.88rem;
  color: var(--gray);
  pointer-events: none;
  transition: all 0.2s ease;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--dark3); color: var(--white); }

/* ===== MAPA ===== */
#mapa {
  padding: 6rem 0 0;
  position: relative;
  z-index: 1;
}

.map-wrap {
  position: relative;
}

.map-frame {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201,162,39,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4),
              0 0 0 1px rgba(201,162,39,0.08);
  position: relative;
}

/* Overlay para integrar o mapa ao tema escuro */
.map-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,162,39,0.15);
  pointer-events: none;
  z-index: 2;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(30%) brightness(0.88) contrast(1.1) saturate(0.9);
  transition: filter 0.4s ease;
}
.map-frame:hover iframe {
  filter: grayscale(0%) brightness(1) contrast(1) saturate(1);
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(201,162,39,0.3);
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  transition: var(--transition);
  float: right;
}
.map-btn:hover {
  background: rgba(201,162,39,0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .map-frame { height: 300px; }
  .map-btn { float: none; width: 100%; justify-content: center; margin-top: 1rem; }
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark2);
  border-top: 1px solid rgba(201,162,39,0.12);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}
.footer-inner { text-align: center; }
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
}
.footer-logo .logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
}
.footer-logo .logo-sub {
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: var(--gray);
  text-transform: uppercase;
}
.footer-tagline {
  color: var(--gray);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin: 0.5rem 0 2rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: 0.85rem;
  transition: color 0.3s ease;
  cursor: none;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.2); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: #25d366;
  color: white;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: none;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.5);
}
.whatsapp-pulse {
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: waPulse 2.5s ease-in-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 4rem; }
  .sobre-images { height: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .contato-grid { grid-template-columns: 1fr; gap: 4rem; }
  .gallery-grid { gap: 0.8rem; }
  .gallery-item.large { transform: translateY(-20px); }
}

/* ===== MOBILE HEADER — REDESIGN PROFISSIONAL ===== */
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }

  /* Navbar sempre com fundo escuro no mobile */
  #navbar {
    background: rgba(5,5,5,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201,162,39,0.12);
  }
  #navbar.scrolled {
    background: rgba(5,5,5,0.99);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
  }

  .nav-inner {
    padding: 0.9rem 1.2rem;
    gap: 0;
  }

  /* Logo mobile — maior e mais legível */
  .nav-logo {
    flex: 1;
  }
  .nav-logo .logo-text {
    font-size: 1.2rem;
    letter-spacing: 1.5px;
  }
  .nav-logo .logo-sub {
    font-size: 0.5rem;
    letter-spacing: 2px;
    margin-top: 1px;
  }

  /* Esconde links e botão desktop */
  .nav-links, .nav-cta { display: none; }

  /* Hamburger — botão profissional */
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(201,162,39,0.08);
    border: 1px solid rgba(201,162,39,0.2);
    border-radius: 10px;
    padding: 0;
    gap: 0;
    flex-direction: column;
    row-gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .hamburger span {
    width: 20px;
    height: 1.5px;
    background: var(--gold);
    border-radius: 2px;
    display: block;
    transition: var(--transition);
  }
  .hamburger.open {
    background: rgba(201,162,39,0.15);
    border-color: rgba(201,162,39,0.4);
  }
  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

  /* Menu mobile — elegante e completo */
  .mobile-menu {
    background: rgba(5,5,5,0.98);
    backdrop-filter: blur(20px);
    padding: 0;
    border-top: 1px solid rgba(201,162,39,0.15);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                padding 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  .mobile-menu.open {
    max-height: 480px;
    padding: 0.5rem 0 1.5rem;
  }
  .mobile-menu a {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-light);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    letter-spacing: 0.3px;
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
  }
  .mobile-menu a:hover {
    color: var(--gold);
    background: rgba(201,162,39,0.04);
    padding-left: 2rem;
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu .mobile-cta {
    margin: 1rem 1.5rem 0;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    text-align: center;
    border-radius: 50px;
    padding: 0.9rem 1rem;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    border: none;
    justify-content: center;
    display: flex;
  }
  .mobile-menu .mobile-cta:hover {
    padding-left: 1rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
  }

  /* Restante do layout mobile */
  .hero-title { font-size: clamp(2.6rem, 11vw, 4.5rem); letter-spacing: -0.5px; line-height: 1.08; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr 1fr; }

  /* Galeria mobile — 3 retratos em coluna única */
  .gallery-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.6rem;
  }
  .gallery-item.large { transform: translateY(-16px); }
  .gallery-item { aspect-ratio: 3/5 !important; border-radius: 12px; }
  .gallery-item.large { aspect-ratio: 3/5 !important; }

  .testimonials-track { grid-template-columns: 1fr; }

  /* Sobre mobile — empilhado verticalmente */
  .sobre-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sobre-images {
    height: 420px;
  }
  .main-frame { width: 65%; height: 85%; }
  .side-frame { width: 55%; height: 55%; }
  .sobre-images::before { width: 65%; height: 85%; }
}

@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0.8rem 1rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .stat-divider { display: none; }
  .hero-content { padding: 0 1rem; padding-top: 80px; }
}
