/* ================================
   INDEX.CSS - ESTILOS ESPECÑFICOS DA HOMEPAGE
   ================================ */

/* Body específico */
body {
    padding-top: 80px;
}

/* Hero Slideshow com animações sutis */
.hero {
    position: relative;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 0.5s ease;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(43, 119, 173, 0.75) 50%, rgba(77, 166, 217, 0.65) 100%);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 8s ease-out;
    filter: blur(3px);
}

/* Efeito parallax sutil nas imagens */
.slide.active img {
    transform: scale(1.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    animation: fadeInUp 1s ease-out;
}

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

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: white;
    animation: slideInLeft 1s ease-out 0.3s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.95);
    animation: slideInRight 1s ease-out 0.6s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInScale 1s ease-out 0.9s both;
}

@keyframes fadeInScale {
    from { 
        opacity: 0;
        transform: scale(0.9);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Botões - removendo efeitos duplicados para usar apenas o global */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn > * {
    position: relative;
    z-index: 1;
}

.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.indicator::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.indicator.active::before {
    border-color: rgba(255, 255, 255, 0.6);
    animation: pulseRing 2s infinite ease-out;
}

.indicator:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.7);
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Seção 1: Quem Somos - Com margem extra para evitar sobreposição */
#sobre {
    position: relative;
    z-index: 5; /* Z-index menor que o hero */
    margin-top: var(--space-xl); /* Margem extra para garantir separação */
}
.about-visual {
    position: relative;
}

.about-visual .about-image-main {
    width: 500px;
    height: 450px;
    background: var(--gray-100);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-visual .about-image-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-visual .about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-xl);
    transition: transform 0.5s ease;
}

.about-visual .about-image-main:hover img {
    transform: scale(1.05);
}

.about-visual .about-image-main picture {
    width: 100%;
    height: 100%;
}

.about-image-main::after {
    display: none;
}

/* Bolinhas flutuantes com cores claras */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    backdrop-filter: blur(1px);
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, rgba(77, 166, 217, 0.15), rgba(77, 166, 217, 0.25));
    top: 5%;
    right: 8%;
    animation: floatGentle 8s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(77, 166, 217, 0.1);
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.25));
    bottom: 15%;
    left: 10%;
    animation: floatGentle 8s ease-in-out infinite 2.5s;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.1);
}

.shape-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(43, 119, 173, 0.2), rgba(43, 119, 173, 0.3));
    top: 35%;
    right: 30%;
    animation: floatGentle 8s ease-in-out infinite 5s;
    box-shadow: 0 4px 15px rgba(43, 119, 173, 0.1);
}

.shape-4 {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, rgba(77, 166, 217, 0.2), rgba(77, 166, 217, 0.35));
    top: 60%;
    left: 25%;
    animation: floatGentle 8s ease-in-out infinite 1.5s;
    box-shadow: 0 3px 10px rgba(77, 166, 217, 0.15);
}

.shape-5 {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.35));
    top: 20%;
    left: 20%;
    animation: floatGentle 8s ease-in-out infinite 3.5s;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

@keyframes floatGentle {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
        opacity: 0.7;
    }
    25% { 
        transform: translateY(-15px) translateX(8px) rotate(90deg); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-25px) translateX(-5px) rotate(180deg); 
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-10px) translateX(-8px) rotate(270deg); 
        opacity: 1;
    }
}

/* Seção 2: Nova Grid de Tratamentos - Cards Horizontais */
/* ================================
   ACCORDION TRATAMENTOS - SEÇÃO 2
   ================================ */

.tratamentos-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.tratamento-card {
  background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.tratamento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.tratamento-header {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  user-select: none;
}

.tratamento-header:hover {
  background: rgba(255, 255, 255, 0.1);
}

.tratamento-icon {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--primary-medium);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.tratamento-card:hover .tratamento-icon {
  transform: scale(1.1) rotate(5deg);
}

.tratamento-title {
  flex: 1;
}

.tratamento-title h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
  color: var(--white);
  line-height: 1.2;
}

.tratamento-title p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  line-height: 1.4;
}

.accordion-arrow {
  font-size: var(--text-xl);
  transition: transform 0.3s ease;
  color: var(--white);
  flex-shrink: 0;
}

.tratamento-card.active .accordion-arrow {
  transform: rotate(180deg);
}

.tratamento-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: rgba(255, 255, 255, 0.95);
  color: var(--gray-700);
}

.tratamento-card.active .tratamento-content {
  max-height: 1000px;
  padding: var(--space-xl);
  border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.tratamento-content p {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--gray-700);
  margin: 0;
}

.tratamento-content strong {
  color: var(--primary-dark);
  display: block;
  margin-bottom: var(--space-sm);
}

/* Seção 3: Pilates com Background */
.pilates-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.pilates-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.pilates-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(5px);
}

.pilates-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(43, 119, 173, 0.7) 50%, rgba(77, 166, 217, 0.6) 100%);
}

.pilates-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pilates-content h2,
.pilates-content h3 {
    color: white;
    animation: subtleGlow 3s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    from { text-shadow: 0 0 5px rgba(255, 255, 255, 0.3); }
    to { text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
}

.pilates-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--text-lg);
    margin-bottom: var(--space-xl);
}

.pilates-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-xl);
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: var(--text-sm);
    animation: badgePulse 2s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Seção 4: Nosso Espaço - Layout Album */
/* ================================
   GALERIA.CSS - Estilos da Galeria "Nosso Espaço"
   ================================ */

/* Preview Grid (thumbnails) */
.galeria-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.galeria-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: var(--gray-200);
}

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

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

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

.preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 54, 93, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-preview-item:hover .preview-overlay {
    opacity: 1;
}

.preview-overlay i {
    color: white;
    font-size: 2rem;
}

/* ================================
   MODAL DA GALERIA
   ================================ */

.galeria-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

/* Botão Fechar (X) */
.galeria-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeria-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Contador (1 / 10) */
.galeria-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
    z-index: 10002;
}

/* Botões de Navegação (< >) */
.galeria-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeria-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.galeria-prev {
    left: 20px;
}

.galeria-next {
    right: 20px;
}

/* Conteúdo Central (Imagem + Legenda) */
.galeria-content {
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.galeria-imagem {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease-in-out;
    opacity: 1;
}

.galeria-legenda {
    color: white;
    font-size: 1.125rem;
    text-align: center;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.5);
    padding: 12px 24px;
    border-radius: 8px;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.stat-mini {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.25);
  min-width: 180px;
  transition: all 0.3s ease;
}

.stat-mini:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
}

.stat-mini-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-xs);
  line-height: 1;
}

.stat-mini-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

/* Depoimentos - Cards Brancos com Contraste */
.testimonials-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.testimonial-mini {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-mini:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-quote {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-medium));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.testimonial-mini p {
  color: var(--gray-700);
  font-size: var(--text-base);
  line-height: 1.6;
  margin: var(--space-lg) 0 var(--space-md) 0;
  font-style: italic;
}

.testimonial-author-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-sm);
  border-top: 2px solid var(--gray-200);
}

.author-info-mini {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.author-avatar-img {
  width: 48px;
  height: 48px;
  min-width: 48px;  /* Força o tamanho mínimo */
  max-width: 48px;  /* Força o tamanho máximo */
  border-radius: 50%;
  object-fit: cover;  /* Corta a imagem para caber */
  object-position: center;  /* Centraliza o corte */
  border: 3px solid var(--primary-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: block;  /* Remove espaços extras */
  flex-shrink: 0;  /* Não permite encolher */
}

.testimonial-mini:hover .author-avatar-img {
  transform: scale(1.1);
  border-color: var(--primary-medium);
}

.author-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-details strong {
  color: var(--primary-dark);
  font-size: var(--text-sm);
  font-weight: 600;
}

.author-details span {
  color: var(--gray-500);
  font-size: var(--text-xs);
}

.testimonial-stars-mini {
  color: #FFB800;
  font-size: 0.875rem;
  letter-spacing: 2px;
}

/* CTA Compacto e Centralizado */
.cta-mini {
  text-align: center;
}

/* Seção 5: Avaliações Compactas */
.evaluation-steps-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

.step-card-compact {
    background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-height: 180px;
}

.step-card-compact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.step-card-compact:hover::before {
    transform: scale(1);
}

.step-card-compact:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px) scale(1.02);
}

.step-card-compact .step-number {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--text-base);
    margin: 0 auto var(--space-sm);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step-card-compact:hover .step-number {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-card-compact h4 {
    color: var(--white);
    position: relative;
    z-index: 2;
    font-size: var(--text-base);
    margin-bottom: var(--space-xs);
}

.step-card-compact p {
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 2;
    font-size: var(--text-sm);
    line-height: 1.5;
    margin: 0;
}

/* ================================
   MELHORIAS NA SEÇÃO DE AVALIAÇÕES + CARDS DE UNIDADES
   Adicionar no FINAL de style/index.css
   ================================ */

/* Melhorias nos Steps de Avaliação */
.step-card-compact {
    position: relative;
    overflow: visible;
}

.step-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.step-card-compact:hover .step-icon {
    color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) rotate(-10deg);
    transition: all 0.3s ease;
}

/* Destaque de Confiança */
.avaliacao-destaque {
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--success-green) 0%, #128C7E 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    box-shadow: var(--shadow-lg);
}

.avaliacao-destaque i {
    font-size: 3rem;
    color: white;
    flex-shrink: 0;
}

.avaliacao-destaque p {
    color: white;
    font-size: var(--text-lg);
    margin: 0;
    line-height: 1.6;
}

.avaliacao-destaque strong {
    color: white;
    font-weight: 700;
}

/* ================================
   SEÇÃO DE UNIDADES
   ================================ */

.unidades-section {
    position: relative;
    overflow: hidden;
}

.unidades-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

/* Card da Unidade */
.unidade-card {
    position: relative;
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl);
    min-height: 320px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    border-radius: 10px;
}

.unidade-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

/* Gradientes específicos de cada unidade */
.jundiai-card {
    background: linear-gradient(135deg, #1a365d 0%, #2b77ad 100%);
}

.itatiba-card {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.varzea-card {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

/* Decoração com círculos */
.unidade-decoracao {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatCircle 8s ease-in-out infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: -30px;
    right: -30px;
}

.circle-2 {
    width: 80px;
    height: 80px;
    bottom: 20px;
    left: -20px;
    animation-delay: 2s;
}

.circle-3 {
    width: 50px;
    height: 50px;
    top: 50%;
    left: 20px;
    animation-delay: 4s;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
    }
}

/* Conteúdo do Card */
.unidade-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    height: 100%;
}

.unidade-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.unidade-card h3 {
    color: white;
    font-size: var(--text-2xl);
    margin: 0;
    font-weight: 700;
}

.unidade-diferencial {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--text-base);
    line-height: 1.6;
    margin: var(--space-sm) 0;
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    flex: 1;
}

.unidade-diferencial i {
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.unidade-card .btn {
    margin-top: auto;
    background: white;
    color: var(--primary-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.unidade-card .btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* CTA Final Verde */
.cta-final-green {
    background: linear-gradient(135deg, var(--success-green) 0%, var(--success-green-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final-green::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20,80 Q40,20 60,80 T100,80' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='2'/%3E%3C/svg%3E") repeat;
    opacity: 0.3;
    animation: backgroundDrift 10s linear infinite;
}

@keyframes backgroundDrift {
    0% { transform: translateX(0px) translateY(0px); }
    100% { transform: translateX(-100px) translateY(-50px); }
}

.cta-final-green .cta-content {
    position: relative;
    z-index: 2;
}

.cta-final-green h2 {
    color: white;
    margin-bottom: var(--space-lg);
    animation: textFloat 4s ease-in-out infinite;
}

@keyframes textFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.cta-final-green p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-xl);
    font-size: var(--text-lg);
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--success-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: var(--shadow-xl);
    z-index: var(--z-tooltip);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulseWhats 3s infinite ease-in-out;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 3px solid var(--success-green);
    border-radius: 50%;
    opacity: 0;
    animation: rippleEffect 2s infinite ease-out;
}

@keyframes pulseWhats {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes rippleEffect {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
    color: white;
}

/* Animações de entrada */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsividade específica */
@media (max-width: 768px) {

    .mobile-fix{
        font-size: 2.0rem !important;
    }
    body {
        padding-top: 70px;
    }

    .hero {
        min-height: calc(100vh - 80px);
        padding-top: 2rem;
        padding-bottom: 5rem;
    }

    .hero-content {
        padding-bottom: 2rem; 
        margin-bottom: 3rem; 
    }

    .hero-content h1 {
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        margin-bottom: 1.5rem; 
    }
    
    .hero-buttons {
        margin-top: 1.5rem; 
        flex-direction: column;
        align-items: center;
        gap: 1rem; 
    }

    .slide-indicators {
        bottom: 20px;
        z-index: 10; 
    }
    
    .indicator {
        width: 10px; /* Reduzido de 12px */
        height: 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Forçar grid vertical no mobile */
    .unidades-cards-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--space-lg);
    }
    
    .unidade-card {
        width: 100%;
        min-height: auto;
        padding: var(--space-xl);
    }
    
    /* Avaliação destaque */
    .avaliacao-destaque {
        flex-direction: column;
        text-align: center;
        padding: var(--space-lg);
    }
    
    .avaliacao-destaque i {
        font-size: 2.5rem;
    }
    
    .avaliacao-destaque p {
        font-size: var(--text-base);
    }
    
    /* Cards de unidades */
    .shape-circle {
        opacity: 0.5;
    }
    
    /* Garantir que cada card ocupe linha inteira */
    .jundiai-card,
    .itatiba-card,
    .varzea-card {
        width: 100%;
        margin-bottom: var(--space-md);
    }
    
    /* Seção Sobre - Reorganizar ordem no mobile */
    #sobre .grid.grid-2 {
        display: flex;
        flex-direction: column;
    }
    
    /* Container do texto e conteúdo */
    #sobre .grid.grid-2 > div:first-child {
        order: 1;
        display: flex;
        flex-direction: column;
    }
    
    /* Botão vai para o final (depois da imagem) */
    #sobre .grid.grid-2 > div:first-child a.btn {
        order: 3;
        margin-top: var(--space-xl);
    }
    
    /* Parágrafos ficam no topo */
    #sobre .grid.grid-2 > div:first-child h3,
    #sobre .grid.grid-2 > div:first-child p {
        order: 0;
    }
    
    /* Imagem fica no meio (order 2) */
    #sobre .about-visual {
        order: 2;
        margin-top: var(--space-xl);
        margin-bottom: 0;
    }
    
    /* Ajustar tamanho da imagem para mobile */
    #sobre .about-image-main {
        width: 100%;
        height: 300px;
        max-width: 100%;
    }
    
    /* Remover floating shapes no mobile */
    #sobre .floating-shape {
        display: none;
    }
    
    .about-visual .about-image-main {
        width: 100%;
        height: 250px;
    }
    
    /* Bolinhas flutuantes menores em mobile */
    .shape-1 {
        width: 80px;
        height: 80px;
        top: 8%;
        right: 5%;
    }
    
    .shape-2 {
        width: 60px;
        height: 60px;
        bottom: 20%;
        left: 8%;
    }
    
    .shape-3 {
        width: 45px;
        height: 45px;
        top: 40%;
        right: 25%;
    }
    
    .shape-4 {
        width: 30px;
        height: 30px;
        top: 65%;
        left: 20%;
    }
    
    .shape-5 {
        display: none;
    }
    
    /* Tratamentos: Manter horizontal em mobile */
    .tratamento-header {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
    padding: var(--space-lg);
  }

  .tratamento-icon {
    width: 60px;
    height: 60px;
    font-size: var(--text-xl);
  }

  .tratamento-title h3 {
    font-size: var(--text-xl);
  }

  .tratamento-title p {
    font-size: 1rem;
  }

  .tratamento-content {
    font-size: 1rem;
  }

  .tratamento-card.active .tratamento-content {
    padding: var(--space-lg);
  }
  
    .galeria-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* Botões menores */
    .galeria-close,
    .galeria-nav {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .galeria-close {
        top: 10px;
        right: 10px;
    }

    .galeria-nav {
        width: 40px;
        height: 40px;
    }

    .galeria-prev {
        left: 10px;
    }

    .galeria-next {
        right: 10px;
    }

    /* Contador menor */
    .galeria-counter {
        font-size: 1rem;
        padding: 6px 16px;
        top: 15px;
    }

    /* Legenda menor */
    .galeria-legenda {
        font-size: 0.875rem;
        padding: 8px 16px;
    }

    /* Imagem menor */
    .galeria-imagem {
        max-height: 70vh;
    }

    .galeria-content {
        max-width: 95%;
    }
    
    /* Pilates section mobile */
    .pilates-section {
        min-height: 50vh;
    }
    
    /* Espaço - Images stack mobile */
    .espaco-images {
        height: 300px;
        margin-top: var(--space-lg);
    }
    
    .image-back {
        width: 200px;
        height: 160px;
        left: 5%;
    }
    
    .image-front {
        width: 180px;
        height: 140px;
        right: 10%;
    }
    
    /* Avaliações: Timeline em mobile */
    .evaluation-steps-compact {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        position: relative;
    }
    
    .evaluation-steps-compact::before {
        content: '';
        position: absolute;
        left: 20px;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(var(--primary-light), var(--primary-medium));
        border-radius: 2px;
    }
    
    .step-card-compact {
        margin-left: var(--space-xl);
        position: relative;
        min-height: auto;
        text-align: left;
        padding: var(--space-md);
    }
    
    .step-card-compact::after {
        content: '';
        position: absolute;
        left: -35px;
        top: 20px;
        width: 15px;
        height: 15px;
        background: var(--primary-light);
        border-radius: 50%;
        border: 3px solid var(--white);
        box-shadow: var(--shadow-sm);
    }
    
    .step-card-compact .step-number {
        width: 30px;
        height: 30px;
        margin: 0 0 var(--space-xs) 0;
        font-size: var(--text-sm);
    }
    
    /* Reduz intensidade das animações em mobile */
    .tratamento-card:hover,
    .step-card-compact:hover {
        transform: translateY(-3px) scale(1.01);
    }

     .avaliacao-destaque {
        flex-direction: column;
        text-align: center;
        padding: var(--space-lg);
    }
    
    .avaliacao-destaque i {
        font-size: 2.5rem;
    }
    
    .avaliacao-destaque p {
        font-size: var(--text-base);
    }
    
    /* Cards de unidades */
    .unidade-card {
        padding: var(--space-xl);
    }
    
    .shape-circle {
        opacity: 0.5;
    }

    .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .stats-row {
    gap: var(--space-lg);
  }

  .stat-mini {
    min-width: 140px;
    padding: var(--space-md);
  }

  .stat-mini-number {
    font-size: 2rem;
  }

  .stat-mini-label {
    font-size: var(--text-xs);
  }

  .testimonials-row {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .testimonial-mini {
    padding: var(--space-lg);
  }

  .testimonial-mini p {
    font-size: var(--text-sm);
  }

  /* Avatar menor no mobile */
  .author-avatar-img {
    width: 40px;
    height: 40px;
    min-width: 40px;
    max-width: 40px;
  }

  .author-details strong {
    font-size: var(--text-xs);
  }

  .author-details span {
    font-size: 0.65rem;
  }
}

/* Performance otimizada */
.floating-shape,
.slide,
.btn,
.card {
    will-change: transform;
}

/* Transições suaves */
* {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}