/* ══════════════════════════════════════════════════════════════
   BARBEARIA VELHA GUARDA — style.css
   ══════════════════════════════════════════════════════════════ */

/* ── 1. VARIÁVEIS ─────────────────────────────────────────────── */
:root {
  --red:           #c0392b;
  --red-dark:      #922b21;
  --blue:          #1a3a5c;
  --blue-light:    #2471a3;
  --gold:          #d4ac0d;
  --black:         #0a0a0a;
  --dark:          #111111;
  --gray:          #1e1e1e;
  --light:         #f5f5f5;
  /* aliases */
  --primary-color: #c0392b;
  --bg-dark:       #0a0a0a;
  --text-light:    #f5f5f5;
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-dur:    0.7s;
}

/* ── 2. PREFERS-REDUCED-MOTION ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ── 3. RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  background: var(--black);
  color: var(--light);
  overflow-x: hidden;
}

/* ── 4. LOADING SCREEN ────────────────────────────────────────── */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loading-content { text-align: center; }
.loading-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 8px;
  animation: fadeInDown 0.8s ease forwards;
}
.loading-logo span { color: var(--red); }
.loading-tagline {
  font-size: 0.75rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(192,57,43,0.2);
  border-top-color: var(--red);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 5. SCROLL PROGRESS ───────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--blue-light), var(--red));
  background-size: 200% 100%;
  z-index: 1002;
  pointer-events: none;
  animation: shimmer-bar 2.5s linear infinite;
}
@keyframes shimmer-bar {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── 6. BACK TO TOP ───────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 9998;
  width: 46px;
  height: 46px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease;
  box-shadow: 0 4px 16px rgba(192,57,43,0.4);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover   { background: var(--red-dark); transform: translateY(-3px); }

/* ── 7. NAVBAR ────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--red);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 70px;
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
nav.scrolled {
  height: 58px;
  background: rgba(5,5,5,0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--light);
  letter-spacing: 1px;
  transition: font-size 0.3s ease;
}
nav.scrolled .nav-logo { font-size: 1.2rem; }
.nav-logo span { color: var(--red); }

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--light); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── 8. HERO KEYFRAMES ────────────────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroPulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 8px 25px rgba(192,57,43,0.4); }
  50%       { transform: scale(1.04); box-shadow: 0 12px 35px rgba(192,57,43,0.65); }
}

/* ── 9. HERO ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background-image: url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.72));
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(192,57,43,0.12) 0%, transparent 55%),
    radial-gradient(circle at 85% 50%, rgba(26,58,92,0.18) 0%, transparent 55%);
  z-index: 0;
}
.hero-scissors {
  position: absolute;
  font-size: 18rem;
  opacity: 0.03;
  color: #fff;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  z-index: 1;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 30px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s var(--ease-out) 0.1s both;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.7), 0 2px 8px rgba(0,0,0,0.5);
  animation: fadeInDown 1s var(--ease-out) 0.2s both;
}
.hero h1 .velha  { color: var(--light); }
.hero h1 .guarda { color: var(--red); }
.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 36px;
  animation: fadeInUp 1s var(--ease-out) 0.45s both;
}
.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  animation: fadeIn 0.8s ease 0.7s both;
}
.stars       { color: var(--gold); font-size: 1.3rem; }
.rating-text { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn 0.8s ease 0.85s both;
}

/* ── 10. BOTÕES ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  width: 12px; height: 12px;
  margin-left: -6px; margin-top: -6px;
  transform: scale(0);
  animation: ripple-anim 0.65s linear;
  pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(32); opacity: 0; } }

.btn-primary {
  background: var(--red);
  color: #fff;
  animation: heroPulse 2.8s ease 1.8s infinite;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: btn-shimmer 2.4s ease-in-out 2.2s infinite;
}
@keyframes btn-shimmer {
  0%   { left: -100%; }
  50%, 100% { left: 150%; }
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192,57,43,0.5);
  animation: none;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  transform: translateY(-2px);
}

/* ── 11. SCROLL REVEAL ────────────────────────────────────────── */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity var(--reveal-dur) ease, transform var(--reveal-dur) ease;
  transition-delay: var(--delay, 0s);
}
.reveal       { transform: translateY(40px); }
.reveal-left  { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0,0);
}

/* Letter-spacing animation for section titles inside reveal containers */
.reveal .section-title,
.reveal-left .section-title {
  letter-spacing: 0;
  transition: letter-spacing 0.9s ease 0.4s;
}
.reveal.visible .section-title,
.reveal-left.visible .section-title {
  letter-spacing: 0.04em;
}

/* ── 12. SECTIONS BASE ────────────────────────────────────────── */
section { padding: 90px 20px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.15;
}
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue-light));
  border-radius: 2px;
  margin-bottom: 50px;
}
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--red) 50%, var(--gold) 80%, transparent);
  opacity: 0.35;
}

/* ── 13. SOBRE ────────────────────────────────────────────────── */
#sobre { background: var(--dark); }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sobre-text p {
  color: #aaa;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 20px;
}
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  color: #ccc;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.badge:hover { border-color: var(--blue-light); transform: translateY(-2px); }
.badge i { color: var(--blue-light); }

/* Stats */
.stats-row {
  display: flex;
  gap: 0;
  margin-top: 40px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,0.06);
  background: var(--gray);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.72rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sobre-visual {
  background: linear-gradient(135deg, var(--blue) 0%, var(--dark) 100%);
  border-radius: 8px;
  padding: 50px 30px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.sobre-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.sobre-visual::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 150px; height: 150px;
  background: rgba(192,57,43,0.15);
  border-radius: 50%;
}
.sobre-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.4s ease;
}
.sobre-visual:hover .sobre-icon { transform: rotate(5deg) scale(1.1); }
.sobre-visual h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.sobre-visual p { color: #888; font-size: 0.9rem; }

/* ── 14. HORÁRIOS ─────────────────────────────────────────────── */
#horarios { background: var(--black); }
.horarios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.horario-card {
  background: var(--gray);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 30px;
  border-top: 3px solid transparent;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-top-color 0.4s ease;
}
.horario-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border-top-color: var(--red);
}
.horario-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--blue-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.horario-card:hover h3 i {
  transform: rotate(5deg) scale(1.1);
  transition: transform 0.4s ease;
  display: inline-block;
}
.horario-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: #bbb;
}
.horario-row:last-child { border-bottom: none; }
.horario-row .day { color: #888; }
.status-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(39,174,96,0.15);
  border: 1px solid rgba(39,174,96,0.3);
  color: #2ecc71;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.status-open::before {
  content: '';
  width: 8px; height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.75); }
}
.horario-tip {
  margin-top: 24px;
  padding: 16px;
  background: rgba(192,57,43,0.08);
  border-radius: 6px;
  border-left: 3px solid var(--red);
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.6;
}
.horario-tip i { color: var(--red); margin-right: 8px; }

/* ── 15. LOCALIZAÇÃO ──────────────────────────────────────────── */
#localizacao { background: var(--dark); }
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.info-card {
  background: var(--gray);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
  border-top: 3px solid transparent;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-top-color 0.4s ease;
  margin-bottom: 20px;
}
.info-card:last-child { margin-bottom: 0; }
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  border-top-color: var(--blue-light);
}
.info-card-header {
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  padding: 16px 24px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.info-list { list-style: none; }
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: #ccc;
}
.info-list li:last-child { border-bottom: none; }
.info-list li i {
  color: var(--red);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}
.info-list a { color: var(--blue-light); text-decoration: none; transition: color 0.2s ease; }
.info-list a:hover { color: var(--red); }
.map-container {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  height: 100%;
  min-height: 320px;
}
.map-container iframe {
  width: 100%; height: 100%;
  min-height: 320px;
  display: block;
  filter: grayscale(40%) invert(90%) hue-rotate(180deg);
}
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px;
}
.access-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 20px 12px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.access-item:hover {
  border-color: var(--blue-light);
  transform: translateY(-3px);
  background: rgba(36,113,163,0.08);
}
.access-item i {
  font-size: 1.8rem;
  color: var(--blue-light);
  margin-bottom: 10px;
  display: block;
  transition: transform 0.3s ease;
}
.access-item:hover i { transform: scale(1.15); }
.access-item p { color: #bbb; font-size: 0.82rem; line-height: 1.4; }

/* ── 16. AVALIAÇÕES / CARROSSEL ───────────────────────────────── */
#avaliacoes { background: var(--black); }
.review-card {
  background: var(--gray);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 40px 36px;
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  border-top: 3px solid var(--gold);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.review-score {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.review-stars  { font-size: 1.8rem; color: var(--gold); margin: 10px 0; }
.review-count  { color: #888; font-size: 0.9rem; }

/* Carrossel de depoimentos */
.testimonials-carousel {
  position: relative;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  min-height: 120px;
}
.testimonial-item {
  opacity: 0;
  position: absolute;
  top: 28px; left: 0; right: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}
.testimonial-item.active {
  opacity: 1;
  position: relative;
  top: auto;
  pointer-events: auto;
}
.testimonial-text {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.75;
  font-style: italic;
}
.testimonial-author {
  color: #555;
  font-size: 0.8rem;
  margin-top: 12px;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.carousel-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ccc;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.carousel-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
}
.carousel-dot.active { background: var(--red); transform: scale(1.3); }

/* ── 17. FOOTER ───────────────────────────────────────────────── */
footer {
  background: #050505;
  border-top: 2px solid var(--red);
  padding: 40px 20px;
  text-align: center;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 10px;
}
.footer-logo span { color: var(--red); }
footer p { color: #555; font-size: 0.85rem; margin-top: 6px; }
footer .social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #888;
  text-decoration: none;
  margin-top: 16px;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
footer .social-link:hover { color: var(--red); }

/* ── 18. WHATSAPP FLOAT ───────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 9999;
}
.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  color: #fff;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: all 0.3s ease;
  animation: float-wa 3s ease-in-out infinite;
}
.whatsapp-float a:hover {
  background: #1ebe57;
  transform: scale(1.1) !important;
  box-shadow: 0 6px 30px rgba(37,211,102,0.7);
  animation: none;
}
@keyframes float-wa {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.whatsapp-tooltip {
  position: absolute;
  right: 70px; top: 50%;
  transform: translateY(-50%);
  background: #25d366;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ── 19. RESPONSIVO ───────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(6,6,6,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 80px 30px 30px;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s var(--ease-out), opacity 0.4s ease;
    pointer-events: none;
    border-bottom: 2px solid var(--red);
    z-index: 1005;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links a  { display: block; padding: 18px 0; font-size: 1.05rem; }

  .sobre-grid,
  .horarios-grid,
  .loc-grid { grid-template-columns: 1fr; }

  .stats-row { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .stat-item:last-child { border-bottom: none; }

  .access-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 3.5rem; }
  .hero { background-attachment: scroll; }

  .back-to-top  { bottom: 100px; right: 16px; }
  .whatsapp-float { bottom: 20px; right: 16px; }
}
@media (max-width: 480px) {
  .access-grid { grid-template-columns: 1fr; }
}
