/* Dom Moura Barbearia */
/* Dark + Gold (#D4AF37) | Playfair Display + Montserrat */

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

:root {
  --bg-primary: #121212;
  --bg-secondary: #1E1E1E;
  --bg-tertiary: #2a2a2a;
  --accent: #B8860B;
  --gold: #D4AF37;
  --gold-light: #FFD700;
  --text-primary: #f5f5dc;
  --text-secondary: #B0B0B0;
  --text-muted: #888;
  --error: #ff6b6b;
  --success: #25D366;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--gold-light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
  color: var(--bg-primary);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--bg-primary);
}

.btn-clube {
  background: linear-gradient(135deg, var(--gold), var(--accent));
  color: var(--bg-primary);
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 8px;
}

.btn-clube:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
  color: var(--bg-primary);
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  padding: 20px 0;
}

header.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 10px 0;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--gold);
  transition: color 0.3s ease;
}

.logo:hover .logo-text {
  color: var(--gold-light);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-menu a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-secondary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(30, 30, 30, 0.5) 0%, rgba(18, 18, 18, 0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-top: 80px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 16px;
  animation: fadeInUp 1s ease;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 32px;
  animation: fadeInUp 1s ease 0.2s both;
}

/* Video Container */
.video-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.08);
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-secondary);
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 24px;
  text-align: center;
}

.video-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.video-subtitle {
  color: var(--accent);
  font-size: 0.95rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s both;
}

/* Pulse animation */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 134, 11, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(184, 134, 11, 0); }
}

.pulse {
  animation: pulse 2s infinite;
}

.pulse:hover {
  animation: none;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--accent);
  margin: 15px auto 0;
}

/* ===== SOBRE ===== */
.sobre {
  background-color: var(--bg-secondary);
}

.sobre-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.sobre-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ===== SERVIÇOS ===== */
.servicos {
  background-color: var(--bg-primary);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.servico-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.servico-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.servico-icon {
  margin-bottom: 20px;
}

.servico-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.servico-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.servicos-cta {
  text-align: center;
}

/* ===== PLANOS ===== */
.planos {
  background-color: var(--bg-secondary);
}

.planos-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: -30px;
  margin-bottom: 50px;
}

.planos-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.plano-card {
  background: var(--bg-tertiary);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plano-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.plano-card.plano-destaque {
  border: 2px solid var(--gold);
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.12);
}

.plano-card.plano-destaque:hover {
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
  transform: scale(1.05) translateY(-4px);
}

.plano-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--accent));
  color: var(--bg-primary);
  padding: 6px 24px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.plano-titulo {
  font-size: 1.8rem;
  margin-bottom: 20px;
  margin-top: 10px;
}

.plano-preco {
  margin-bottom: 12px;
}

.preco-valor {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
}

.preco-periodo {
  font-size: 1rem;
  color: var(--text-muted);
}

.plano-economia {
  display: inline-block;
  background: rgba(37, 211, 102, 0.12);
  color: var(--success);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.plano-servicos {
  list-style: none;
  text-align: left;
  width: 100%;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.plano-servicos li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding-left: 28px;
  position: relative;
}

.plano-servicos li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.85rem;
}

.plano-beneficios {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.plano-beneficios li {
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-left: 28px;
  position: relative;
}

.plano-beneficios li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.plano-card .btn-clube {
  margin-top: auto;
  width: 100%;
}

/* ===== GALERIA ===== */
.galeria {
  background-color: var(--bg-primary);
}

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

.galeria-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* ===== CONTATO ===== */
.contato {
  background-color: var(--bg-secondary);
}

.contato-container {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contato-info {
  flex: 0 0 45%;
  min-width: 300px;
}

.contato-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.contato-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.contato-info-item h4 {
  color: var(--gold);
  margin-bottom: 4px;
  font-size: 1.05rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.contato-info-item p {
  line-height: 1.6;
  color: var(--text-primary);
}

.contato-info-item a {
  color: var(--success);
  font-weight: 500;
}

.mapa-container {
  flex: 1;
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--bg-primary);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--gold);
}

.footer-links-group h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links-group ul {
  list-style: none;
}

.footer-links-group li {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links-group a {
  color: var(--text-muted);
}

.footer-links-group a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.footer-grupo a {
  color: var(--gold);
  font-size: 0.85rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .planos-container {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 32px;
  }

  .plano-card.plano-destaque {
    transform: none;
    order: -1;
  }

  .plano-card.plano-destaque:hover {
    transform: translateY(-4px);
  }

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

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(18, 18, 18, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .hero-content {
    padding-top: 100px;
  }

  .section {
    padding: 60px 0;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .contato-container {
    flex-direction: column;
  }

  .contato-info {
    flex: none;
    width: 100%;
    min-width: auto;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .footer-social {
    justify-content: center;
  }

  .galeria-grid {
    grid-template-columns: 1fr;
  }

  .plano-card {
    padding: 32px 20px;
  }

  .logo-text {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

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

  .pulse {
    animation: none;
  }
}
