/* ==========================================================================
   DESIGN SYSTEM - CSS CUSTOM PROPERTIES
========================================================================== */

:root {
  /* Colors */
  --gold-primary: #c89d53;
  --gold-light: #e4c07b;
  --gold-darker: #b8895a;
  --gold-shadow: rgba(200, 157, 83, 0.2);
  --gold-glow: rgba(200, 157, 83, 0.1);
  --gold-subtle: rgba(200, 157, 83, 0.05);
  
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  
  --text-primary: #333;
  --text-secondary: #666;
  --text-light: #999;
  --text-white: #fff;
  
  --bg-primary: #fff;
  --bg-light: #fdf9f3;
  --bg-gray: #f9f9f9;
  --bg-dark: #111;
  --bg-overlay: rgba(0, 0, 0, 0.4);
  --bg-overlay-light: rgba(255, 255, 255, 0.95);
  
  --border-light: rgba(255, 255, 255, 0.1);
  --border-gray: #ddd;
  
  /* Typography Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3rem;
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);
  
  /* Glow Shadows */
  --glow-sm: 0 0 15px var(--gold-glow);
  --glow-md: 0 0 25px var(--gold-glow);
  --glow-lg: 0 0 35px var(--gold-shadow);
  
  /* Z-Index Scale */
  --z-dropdown: 10;
  --z-header: 20;
  --z-overlay: 30;
  --z-lightbox: 40;
  --z-toast: 50;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Container */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  
  /* Breakpoints for JS usage */
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1200px;
}

/* ==========================================================================
   RESET & BASE
========================================================================== */

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.suave-bloqueado {
  scroll-behavior: auto !important;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Subtle ambient glow */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 50% 50%, 
    rgba(200, 157, 83, 0.01) 0%, 
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.2;
  font-weight: 500;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   LAYOUT COMPONENTS
========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

section {
  padding: var(--space-2xl) 0;
}

section h2 {
  margin-bottom: var(--space-xl);
  text-align: center;
  font-size: var(--text-3xl);
  color: var(--text-primary);
}

@media (min-width: 768px) {
  section {
    padding: var(--space-3xl) 0;
  }
  
  section h2 {
    font-size: var(--text-4xl);
  }
}

/* ==========================================================================
   BUTTON SYSTEM
========================================================================== */

.btn-gold {
  display: inline-block;
  background: linear-gradient(45deg, var(--gold-primary), var(--gold-light));
  color: var(--text-white);
  font-weight: 600;
  font-size: var(--text-base);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border: none;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  
  /* Enhanced shadow system */
  box-shadow: 
    var(--shadow-md),
    var(--glow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  
  /* Prevent layout shift */
  transform: translateZ(0);
  will-change: transform, box-shadow;
}

.btn-gold:hover {
  background: linear-gradient(45deg, var(--gold-light), #f0d08f);
  transform: translateY(-2px);
  box-shadow: 
    var(--shadow-lg),
    var(--glow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-gold:active {
  transform: translateY(-1px) scale(0.98);
}

/* WhatsApp button variant */
.btn-whatsapp {
  background: linear-gradient(45deg, var(--whatsapp), var(--whatsapp-dark));
  box-shadow: 
    var(--shadow-md),
    0 0 15px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp:hover {
  background: linear-gradient(45deg, #1ebc58, #0d745d);
  box-shadow: 
    var(--shadow-lg),
    0 0 25px rgba(37, 211, 102, 0.25);
}

/* ==========================================================================
   HEADER
========================================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-overlay-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: var(--z-header);
  transition: all var(--transition-base);
}

header.scrolled {
  box-shadow: 
    var(--shadow-sm),
    0 0 20px var(--gold-subtle);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  min-height: 80px;
}

.logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.02) drop-shadow(0 0 5px var(--gold-subtle));
  transition: filter var(--transition-base);
}

@media (min-width: 768px) {
  .logo {
    height: 80px;
  }
}

/* Navigation */
#menu-toggle {
  display: block;
  font-size: var(--text-2xl);
  color: var(--text-primary);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

#menu-toggle:hover {
  background: var(--bg-gray);
}

nav {
  position: fixed;
  top: 80px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 80px);
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  gap: var(--space-lg);
  transition: left var(--transition-base);
  z-index: var(--z-dropdown);
  box-shadow: var(--shadow-lg);
}

nav.open {
  left: 0;
}

nav a {
  font-weight: 500;
  font-size: var(--text-lg);
  color: var(--text-primary);
  padding: var(--space-md) 0;
  text-align: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--gold-primary);
  text-shadow: 0 0 8px var(--gold-shadow);
  background: var(--gold-subtle);
}

/* Desktop Navigation */
@media (min-width: 1025px) {
  #menu-toggle {
    display: none;
  }
  
  nav {
    position: static;
    width: auto;
    height: auto;
    background: none;
    flex-direction: row;
    padding: 0;
    gap: var(--space-xl);
    box-shadow: none;
  }
  
  nav a {
    font-size: var(--text-base);
    padding: var(--space-sm) var(--space-md);
    background: none;
  }
  
  nav a:hover,
  nav a.active {
    background: none;
  }
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.language-switcher a {
  display: block;
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast);
}

.language-switcher a:hover {
  transform: scale(1.1);
}

.language-switcher a.clicked {
  animation: click-pulse 0.4s ease;
}

@keyframes click-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: calc(var(--z-dropdown) - 1);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO SECTION
========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  background: 
    var(--bg-overlay),
    radial-gradient(ellipse at center, var(--gold-subtle) 0%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-white);
  padding: var(--space-xl);
  min-height: 100vh;
}

.hero-overlay h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-overlay p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero-overlay h1 {
    font-size: var(--text-5xl);
  }
  
  .hero-overlay p {
    font-size: var(--text-xl);
  }
}

/* ==========================================================================
   SOBRE SECTION
========================================================================== */

#sobre {
  background: var(--bg-primary);
}

.sobre-container {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .sobre-container {
    grid-template-columns: 1fr 0.8fr;
    gap: var(--space-3xl);
  }
}

.sobre-texto {
  position: relative;
}

.sobre-texto h2 {
  text-align: left;
  margin-bottom: var(--space-lg);
  font-size: var(--text-3xl);
}

.sobre-texto p {
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.sobre-texto p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .sobre-texto::after {
    content: '';
    position: absolute;
    right: calc(-1 * var(--space-lg));
    top: 50%;
    transform: translateY(-50%);
    height: 80%;
    width: 1px;
    background: var(--gold-primary);
    box-shadow: var(--glow-sm);
  }
  
  .sobre-texto h2 {
    font-size: var(--text-4xl);
  }
}

.sobre-imagem img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 
    var(--shadow-lg),
    0 0 40px var(--gold-subtle);
  filter: brightness(1.02) saturate(1.05);
  transition: all var(--transition-base);
}

.sobre-imagem img:hover {
  transform: translateY(-4px);
  box-shadow: 
    var(--shadow-xl),
    0 0 60px var(--gold-glow);
}

/* ==========================================================================
   TRATAMENTOS SECTION
========================================================================== */

#tratamentos-novos {
  background: var(--bg-light);
}

#tratamentos-novos h2 {
  color: var(--text-primary);
}

.tratamentos-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Grupo Banner */
.grupo-banner {
  position: relative;
  width: 100%;
  min-height: 200px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  transition: all var(--transition-base);
  background: var(--gold-primary);
}

.grupo-banner:hover {
  transform: translateY(-2px);
  box-shadow: 
    var(--shadow-lg),
    0 0 30px var(--gold-glow);
}

.grupo-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter var(--transition-slow);
}

.grupo-banner:hover img {
  filter: grayscale(0%) brightness(1.05);
}

.grupo-titulo {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--text-2xl);
  font-weight: 700;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--gold-primary);
  filter: drop-shadow(0 1px 3px var(--gold-shadow));
}

@media (min-width: 768px) {
  .grupo-banner {
    min-height: 300px;
  }
  
  .grupo-titulo {
    font-size: var(--text-3xl);
  }
}

/* Tratamentos Grupo */
.tratamentos-grupo {
  display: none;
  flex-direction: column;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

/* Subgrupo */
.subgrupo-bloco {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold-primary);
  transition: all var(--transition-base);
}

.subgrupo-bloco:hover {
  box-shadow: 
    var(--shadow-md),
    var(--glow-sm);
  transform: translateY(-1px);
}

.subgrupo-header {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--gold-primary);
  cursor: pointer;
  margin-bottom: var(--space-md);
  transition: color var(--transition-base);
  padding: var(--space-sm) 0;
}

.subgrupo-header:hover {
  color: var(--gold-darker);
  text-shadow: 0 0 8px var(--gold-shadow);
}

.subgrupo-conteudo {
  display: none;
  flex-direction: column;
  gap: var(--space-lg);
}

.subgrupo-conteudo.aberto {
  display: flex;
  box-shadow: inset 0 0 15px var(--gold-subtle);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--bg-light);
}

.subgrupo-descricao p {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Ver Resultados Button */
.ver-resultados {
  align-self: flex-start;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--gold-primary);
  background: transparent;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-lg);
  transition: all var(--transition-base);
  cursor: pointer;
}

.ver-resultados:hover {
  background: var(--gold-primary);
  color: var(--text-white);
  box-shadow: var(--glow-sm);
}

/* Galeria de Imagens */
.subgrupo-imagens {
  display: none;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.subgrupo-imagens.aberta {
  display: flex;
}

.subgrupo-imagens img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 
    var(--shadow-sm),
    var(--glow-sm);
  transition: all var(--transition-base);
  cursor: pointer;
}

.subgrupo-imagens img:hover {
  transform: translateY(-2px);
  box-shadow: 
    var(--shadow-md),
    var(--glow-md);
}

@media (min-width: 768px) {
  .subgrupo-imagens img {
    width: 200px;
    height: 200px;
  }
}

/* Lista de Tratamentos */
.tratamentos-lista {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.tratamento-item {
  background: var(--bg-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.tratamento-item:hover {
  background: #f0f0f0;
  box-shadow: 
    var(--shadow-md),
    var(--glow-sm);
  transform: translateY(-1px);
}

.tratamento-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  font-size: var(--text-lg);
  cursor: pointer;
  color: var(--text-primary);
  transition: background var(--transition-base);
}

.tratamento-header:hover {
  background: rgba(200, 157, 83, 0.05);
}

.toggle-detalhe {
  font-size: var(--text-xl);
  font-weight: bold;
  color: var(--gold-primary);
  transition: transform var(--transition-base);
}

.tratamento-detalhes {
  display: none;
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-gray);
  background: var(--bg-primary);
}

.tratamento-detalhes.aberto {
  display: block;
}

.tratamento-detalhes p {
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   CURSOS SECTION
========================================================================== */

#cursos {
  background: 
    linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)),
    url("../midia/fotos/fundo.avif") no-repeat center center/cover;
}

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  justify-items: center;
}

.curso-card {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  perspective: 1000px;
  transition: transform var(--transition-base);
}

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

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.curso-card:hover .card-inner,
.curso-card:focus-within .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 
    var(--shadow-md),
    var(--glow-sm);
  transition: box-shadow var(--transition-base);
}

.curso-card:hover .card-front,
.curso-card:hover .card-back {
  box-shadow: 
    var(--shadow-lg),
    var(--glow-md);
}

.card-front {
  background: var(--gold-primary);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.card-front::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--gold-primary), var(--gold-light));
  opacity: 0.3;
  pointer-events: none;
}

.card-title {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  text-align: center;
  padding: 0 var(--space-md);
}

.card-title .certificado {
  margin-left: var(--space-sm);
  font-size: var(--text-xl);
}

.card-back {
  background: var(--bg-primary);
  color: var(--text-primary);
  transform: rotateY(180deg);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.card-back p {
  font-size: var(--text-base);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.card-back .descricao {
  font-style: italic;
  color: var(--text-secondary);
  flex-grow: 1;
}

.card-back .btn-gold {
  align-self: flex-start;
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  padding: var(--space-sm) var(--space-lg);
}

/* Mobile Simplified Courses */
.curso-simplificado {
  display: none;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
  margin-bottom: var(--space-sm);
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gold-primary);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.curso-simplificado:hover {
  background: var(--bg-gray);
  box-shadow: var(--shadow-md);
}

.curso-simplificado::after {
  content: "+";
  font-size: var(--text-2xl);
  font-weight: bold;
  color: var(--gold-primary);
}

.curso-simplificado.ativo::after {
  content: "−";
}

.curso-detalhes {
  display: none;
  padding: var(--space-lg);
  background: var(--bg-light);
  border-left: 4px solid var(--gold-primary);
  margin-bottom: var(--space-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: var(--text-base);
  color: var(--text-secondary);
  box-shadow: inset var(--glow-sm);
}

.curso-detalhes p {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.curso-detalhes .btn-gold {
  margin-top: var(--space-md);
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
}

/* ==========================================================================
   VIDEOS SECTION
========================================================================== */

#videos {
  background: linear-gradient(to bottom, var(--bg-primary), var(--bg-light));
}

#videos h2 {
  font-size: var(--text-4xl);
  font-weight: 500;
  margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
  #videos h2 {
    font-size: var(--text-5xl);
  }
}

.videos-slider {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-3xl);
}

.videos-wrapper {
  display: flex;
  gap: var(--space-xl);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: var(--space-md) 0;
  scrollbar-width: none;
}

.videos-wrapper::-webkit-scrollbar {
  display: none;
}

.videos-wrapper:focus-within {
  filter: drop-shadow(var(--glow-sm));
}

.video-item {
  flex: 0 0 320px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
}

.video-item:hover {
  transform: translateY(-4px);
  box-shadow: 
    var(--shadow-lg),
    var(--glow-sm);
}

.video-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.video-item:hover .video-thumb-image {
  transform: scale(1.02);
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  background: url('/midia/icones/play-golden.svg') no-repeat center center;
  background-size: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 8px var(--gold-shadow));
  transition: filter var(--transition-base);
}

.video-item:hover .play-overlay {
  filter: drop-shadow(0 0 12px var(--gold-primary));
}

.video-caption {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  text-align: center;
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: 1.5;
  font-weight: 400;
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-primary);
  border: 2px solid var(--gold-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  font-size: var(--text-lg);
  color: var(--gold-primary);
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    var(--shadow-sm),
    var(--glow-sm);
}

.slider-btn:hover {
  background: var(--gold-primary);
  color: var(--text-white);
  box-shadow: 
    var(--shadow-md),
    var(--glow-md);
  transform: translateY(-50%) scale(1.05);
}

.slider-btn.prev-video {
  left: -20px;
}

.slider-btn.next-video {
  right: -20px;
}

.slider-btn.prev {
  left: 0;
}

.slider-btn.next {
  right: 0;
}

@media (max-width: 767px) {
  .slider-btn {
    display: none;
  }
  
  .videos-slider,
  .depoimentos-slider {
    padding: 0 var(--space-md);
  }
}

/* ==========================================================================
   DEPOIMENTOS SECTION
========================================================================== */

#depoimentos {
  padding: var(--space-2xl) 0;
}

.depoimentos-slider {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-3xl);
}

.depoimentos-wrapper {
  display: flex;
  overflow-x: auto;
  gap: var(--space-xl);
  padding: var(--space-md) 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.depoimentos-wrapper::-webkit-scrollbar {
  display: none;
}

.depoimentos-wrapper:focus-within {
  filter: drop-shadow(var(--glow-sm));
}

.depoimento-card {
  background: var(--bg-primary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  width: 300px;
  min-height: 280px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.depoimento-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    var(--shadow-lg),
    var(--glow-sm);
}

.depoimento-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.depoimento-header img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--gold-primary);
  font-size: var(--text-base);
  text-shadow: 0 0 6px var(--gold-shadow);
}

.depoimento-card p {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
  overflow-y: auto;
  flex-grow: 1;
  padding-right: var(--space-sm);
}

.depoimento-card p::-webkit-scrollbar {
  width: 4px;
}

.depoimento-card p::-webkit-scrollbar-track {
  background: transparent;
}

.depoimento-card p::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: var(--radius-sm);
}

.depoimento-card p::-webkit-scrollbar-thumb:hover {
  background: var(--gold-darker);
}

/* ==========================================================================
   INFORMAÇÕES (COMO FUNCIONA)
========================================================================== */

#informacoes {
  background: var(--bg-light);
}

.passos {
  display: grid;
  gap: var(--space-xl);
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .passos {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.passo {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  max-width: 320px;
  transition: all var(--transition-base);
  position: relative;
  text-align: left;
  border: 1px solid transparent;
  justify-self: center;
}

.passo:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 
    var(--shadow-lg),
    var(--glow-sm);
  background: #fffdf7;
}

.numero {
  position: absolute;
  top: -15px;
  left: var(--space-lg);
  background: var(--gold-primary);
  color: var(--text-white);
  font-weight: bold;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-lg);
  box-shadow: 
    var(--shadow-sm),
    var(--glow-sm);
}

.passo p {
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
}

.passo .btn-gold {
  display: block;
  margin-top: var(--space-lg);
  text-align: center;
  width: 100%;
}

/* ==========================================================================
   FOOTER
========================================================================== */

#footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: var(--space-3xl) var(--space-md) var(--space-xl);
  border-top: 3px solid var(--gold-primary);
}

.footer-container {
  display: grid;
  gap: var(--space-xl);
  max-width: var(--container-xl);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-2xl);
  }
}

.footer-col {
  min-width: 250px;
}

.footer-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-lg);
  filter: brightness(1.2) drop-shadow(var(--glow-sm));
}

.footer-col h4 {
  color: var(--gold-primary);
  margin-bottom: var(--space-lg);
  font-size: var(--text-xl);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  color: var(--text-white);
  transition: color var(--transition-base);
}

.footer-col ul li a:hover {
  color: var(--gold-primary);
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.footer-redes {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-redes img {
  width: 36px;
  height: 36px;
  opacity: 0.8;
  transition: all var(--transition-base);
  border-radius: var(--radius-sm);
}

.footer-redes img:hover {
  transform: scale(1.1);
  opacity: 1;
  filter: brightness(1.1) drop-shadow(var(--glow-sm));
}

.footer-selos {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.footer-selos img {
  height: 24px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity var(--transition-base);
}

.footer-selos img:hover {
  opacity: 1;
}

.footer-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  font-size: var(--text-sm);
  color: #bbb;
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: #0a0a0a;
  border-top: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.footer-selos-copy {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.footer-selos-copy img {
  height: 22px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity var(--transition-base);
}

.footer-selos-copy img:hover {
  opacity: 1;
}

/* Map responsive */
iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: var(--z-toast);
  background: var(--whatsapp);
  padding: var(--space-md);
  border-radius: var(--radius-full);
  box-shadow: 
    var(--shadow-md),
    0 0 20px rgba(37, 211, 102, 0.15);
  transition: all var(--transition-base);
  animation: pulse 2.5s infinite;
}

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

.whatsapp-float img {
  width: 40px;
  height: 40px;
  display: block;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 
      var(--shadow-md),
      0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 
      var(--shadow-md),
      0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 
      var(--shadow-md),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   LIGHTBOX
========================================================================== */

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: var(--z-lightbox);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: var(--text-white);
  cursor: pointer;
  transition: all var(--transition-base);
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

/* ==========================================================================
   UTILITY CLASSES
========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.aparecendo {
  opacity: 1;
  transform: translateY(0);
}

.separador {
  height: 1px;
  background: linear-gradient(
    to right, 
    transparent, 
    var(--gold-primary), 
    transparent
  );
  margin: var(--space-2xl) auto;
  width: 100px;
  opacity: 0;
  transition: all var(--transition-slow);
}

.separador.visivel {
  opacity: 1;
  width: 200px;
  box-shadow: var(--glow-sm);
}

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Display utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Margin utilities */
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ==========================================================================
   MOBILE SPECIFIC OVERRIDES (max-width: 1024px)
========================================================================== */

@media (max-width: 1024px) {
  /* Curso cards - hide flip version, show simplified */
  .curso-card {
    display: none;
  }
  
  .curso-simplificado {
    display: flex;
  }
  
  /* Tratamentos - mobile banners */
  .grupo-banner img {
    display: none;
  }
  
  .grupo-banner {
    min-height: auto;
    padding: var(--space-lg);
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-bottom: var(--space-sm);
  }
  
  .grupo-banner:hover {
    background: var(--bg-gray);
    box-shadow: var(--shadow-md);
  }
  
  .grupo-banner .grupo-titulo {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--gold-primary);
    background: none;
    backdrop-filter: none;
    padding: 0;
    margin: 0;
    filter: none;
  }
  
  .grupo-banner::after {
    content: "+";
    font-size: var(--text-2xl);
    font-weight: bold;
    color: var(--gold-primary);
  }
  
  .grupo-banner.ativo::after {
    content: "−";
  }
  
  .tratamentos-grupo {
    padding: var(--space-lg);
    background: var(--bg-light);
    border-left: 4px solid var(--gold-primary);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: var(--space-lg);
    box-shadow: inset var(--glow-sm);
  }
  
  /* Adjust typography for mobile */
  .hero-overlay h1 {
    font-size: var(--text-2xl);
  }
  
  .hero-overlay p {
    font-size: var(--text-base);
  }
  
  section h2 {
    font-size: var(--text-2xl);
  }
  
  /* Sobre section mobile */
  .sobre-container {
    text-align: center;
    gap: var(--space-xl);
  }
  
  .sobre-texto::after {
    display: none;
  }
  
  .sobre-texto h2 {
    text-align: center;
    font-size: var(--text-2xl);
  }
  
  /* Videos mobile */
  .video-item {
    flex: 0 0 100%;
  }
  
  .play-overlay {
    width: 72px;
    height: 72px;
  }
  
  /* Depoimentos mobile */
  .depoimento-card {
    width: 90%;
    min-height: auto;
    padding: var(--space-lg);
  }
  
  .depoimento-header img {
    width: 40px;
    height: 40px;
  }
  
  .depoimento-card p {
    font-size: var(--text-sm);
    max-height: 110px;
  }
  
  /* Passos mobile */
  .passo {
    padding: var(--space-lg);
    max-width: none;
  }
  
  .numero {
    top: -10px;
    font-size: var(--text-base);
  }
  
  /* Footer mobile */
  .footer-container {
    gap: var(--space-xl);
  }
  
  .footer-copy {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }
}

/* ==========================================================================
   PRINT STYLES
========================================================================== */

@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  .whatsapp-float,
  .menu-overlay,
  .lightbox-overlay,
  nav,
  #menu-toggle {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  img {
    max-width: 100% !important;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
}

/* ==========================================================================
   CORREÇÕES ESPECÍFICAS - Substitua as seções correspondentes no CSS
========================================================================== */

/* 1. CORREÇÃO DOS DEPOIMENTOS - Altura fixa com scroll dourado */
.depoimento-card {
  background: var(--bg-primary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  width: 300px;
  height: 320px; /* ALTURA FIXA - não muda mais */
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Importante para o scroll funcionar */
}

.depoimento-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    var(--shadow-lg),
    var(--glow-sm);
}

.depoimento-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-shrink: 0; /* Header sempre visível */
}

.depoimento-header img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--gold-primary);
  font-size: var(--text-base);
  text-shadow: 0 0 6px var(--gold-shadow);
}

.depoimento-card p {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
  overflow-y: auto;
  flex-grow: 1; /* Ocupa o espaço restante */
  padding-right: var(--space-sm);
  margin: 0;
  /* Scroll customizado dourado */
  scrollbar-width: thin;
  scrollbar-color: var(--gold-primary) transparent;
}

/* Webkit scroll customizado */
.depoimento-card p::-webkit-scrollbar {
  width: 6px;
}

.depoimento-card p::-webkit-scrollbar-track {
  background: rgba(200, 157, 83, 0.1);
  border-radius: var(--radius-sm);
}

.depoimento-card p::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: var(--radius-sm);
  transition: background var(--transition-base);
}

.depoimento-card p::-webkit-scrollbar-thumb:hover {
  background: var(--gold-darker);
}

/* Mobile - também altura fixa */
@media (max-width: 1024px) {
  .depoimento-card {
    width: 90%;
    height: 280px; /* Altura fixa no mobile também */
    padding: var(--space-lg);
  }
  
  .depoimento-header img {
    width: 40px;
    height: 40px;
  }
  
  .depoimento-card p {
    font-size: var(--text-sm);
  }
}

/* ==========================================================================
   2. CORREÇÃO DO MENU MOBILE - Transparência 30%
========================================================================== */

nav {
  position: fixed;
  top: 80px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 80px);
  background: rgba(255, 255, 255, 0.7); /* 30% transparência */
  backdrop-filter: blur(15px); /* Maior blur para compensar transparência */
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  gap: var(--space-lg);
  transition: left var(--transition-base);
  z-index: var(--z-dropdown);
  box-shadow: var(--shadow-lg);
  border-right: 1px solid rgba(200, 157, 83, 0.2); /* Sutil borda dourada */
}

nav.open {
  left: 0;
}

/* Desktop mantém sem transparência */
@media (min-width: 1025px) {
  nav {
    position: static;
    width: auto;
    height: auto;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: row;
    padding: 0;
    gap: var(--space-xl);
    box-shadow: none;
    border: none;
  }
}

/* ==========================================================================
   3. CORREÇÃO DO VÍDEO HERO - Filtro mais charmoso e escuro
========================================================================== */

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  /* Filtros charmosos para melhorar qualidade visual */
  filter: 
    brightness(0.75)     /* Mais escuro */
    contrast(1.15)       /* Mais contraste */
    saturate(1.1)        /* Cores mais vivas */
    sepia(0.05)          /* Leve tom quente */
    blur(0.5px);         /* Suaviza imperfeições */
  transition: filter var(--transition-slow);
}

/* Overlay com gradiente mais sofisticado */
.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  background: 
    /* Gradiente principal mais suave */
    linear-gradient(
      135deg, 
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.3) 30%,
      rgba(200, 157, 83, 0.15) 70%,
      rgba(0, 0, 0, 0.4) 100%
    ),
    /* Gradiente radial central para foco */
    radial-gradient(
      ellipse at center, 
      rgba(200, 157, 83, 0.08) 0%, 
      transparent 60%
    );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-white);
  padding: var(--space-xl);
  min-height: 100vh;
}

/* Efeito sutil no hover do hero (opcional) */
.hero:hover .hero-video {
  filter: 
    brightness(0.8)      /* Menos escuro no hover */
    contrast(1.1)
    saturate(1.05)
    sepia(0.03)
    blur(0.3px);
}

/* Texto com sombras mais refinadas */
.hero-overlay h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
  text-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(200, 157, 83, 0.3);
}

.hero-overlay p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  text-shadow: 
    0 1px 5px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(200, 157, 83, 0.2);
}

@media (min-width: 768px) {
  .hero-overlay h1 {
    font-size: var(--text-5xl);
    text-shadow: 
      0 3px 15px rgba(0, 0, 0, 0.5),
      0 0 30px rgba(200, 157, 83, 0.3);
  }
  
  .hero-overlay p {
    font-size: var(--text-xl);
    text-shadow: 
      0 2px 8px rgba(0, 0, 0, 0.4),
      0 0 20px rgba(200, 157, 83, 0.2);
  }
}