/*
Theme Name: Fisioterapia Campinas
Theme URI: https://fisioterapiacampinas.com.br
Author: Fisioterapia Campinas
Author URI: https://fisioterapiacampinas.com.br
Description: Tema leve e moderno para clínica de fisioterapia em Campinas
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fisioterapia-campinas
Tags: one-column, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   CSS Variables / Design Tokens
   ========================================================================== */
:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 20%;
  --card: 220 20% 97%;
  --card-foreground: 0 0% 20%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 20%;
  --primary: 0 65% 51%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 20% 97%;
  --secondary-foreground: 0 0% 20%;
  --muted: 220 14% 96%;
  --muted-foreground: 0 0% 45%;
  --accent: 0 65% 51%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 13% 91%;
  --input: 220 13% 91%;
  --ring: 0 65% 51%;
  --radius: 0.75rem;
  
  /* Custom Colors */
  --cherry-red: 0 65% 51%;
  --cherry-red-dark: 0 72% 36%;
  --off-white: 220 20% 97%;
  --gray-dark: 0 0% 20%;
  --gray-medium: 0 0% 45%;
  --gray-light: 220 13% 91%;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 hsl(0 0% 0% / 0.05);
  --shadow-md: 0 4px 6px -1px hsl(0 0% 0% / 0.1), 0 2px 4px -2px hsl(0 0% 0% / 0.1);
  --shadow-lg: 0 10px 15px -3px hsl(0 0% 0% / 0.1), 0 4px 6px -4px hsl(0 0% 0% / 0.1);
  --shadow-xl: 0 20px 25px -5px hsl(0 0% 0% / 0.1), 0 8px 10px -6px hsl(0 0% 0% / 0.1);
  --shadow-soft: 0 4px 20px -4px hsl(0 0% 0% / 0.08);
  --shadow-card: 0 8px 30px -8px hsl(0 0% 0% / 0.1);
  --shadow-elevated: 0 20px 50px -12px hsl(0 0% 0% / 0.15);
  --shadow-primary: 0 4px 14px hsl(var(--primary) / 0.4);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--foreground));
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 3.75rem; }
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container-max {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container-max {
    padding: 0 2rem;
  }
}

.section-padding {
  padding: 5rem 1rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 7rem 2rem;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background-color: hsl(var(--cherry-red-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px hsl(var(--primary) / 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  color: hsl(var(--foreground));
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid hsl(var(--border));
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: hsl(var(--background) / 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

/* Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: hsl(var(--primary));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon span {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: hsl(var(--primary-foreground));
}

.logo-text {
  display: none;
}

@media (min-width: 640px) {
  .logo-text {
    display: block;
  }
}

.logo-fisio {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: hsl(var(--foreground));
}

.logo-campinas {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: hsl(var(--primary));
}

/* Navigation */
.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: block;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

/* Header Actions */
.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .header-actions {
    display: flex;
  }
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-phone:hover {
  color: hsl(var(--primary));
}

.header-cta {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: hsl(var(--foreground));
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-elevated);
  padding: 1rem;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav li {
  padding: 0.75rem 1rem;
}

.mobile-nav a {
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: hsl(var(--primary));
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: linear-gradient(
    to right,
    hsl(var(--background)) 0%,
    hsl(var(--background) / 0.9) 40%,
    hsl(var(--background) / 0.75) 100%
  ), url('assets/capa.jpg');
}

.hero-decoration-1 {
  position: absolute;
  top: 5rem;
  right: 2.5rem;
  width: 18rem;
  height: 18rem;
  background-color: hsl(var(--primary) / 0.05);
  border-radius: 50%;
  filter: blur(3rem);
}

.hero-decoration-2 {
  position: absolute;
  bottom: 5rem;
  left: 2.5rem;
  width: 24rem;
  height: 24rem;
  background-color: hsl(var(--primary) / 0.05);
  border-radius: 50%;
  filter: blur(3rem);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  padding-top: 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: hsl(var(--primary));
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero h1 span {
  color: hsl(var(--primary));
}

.hero-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 36rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator-inner {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid hsl(var(--muted-foreground) / 0.3);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-indicator-dot {
  width: 0.375rem;
  height: 0.75rem;
  background-color: hsl(var(--primary));
  border-radius: 9999px;
  animation: pulse 2s infinite;
}

/* ==========================================================================
   Section Header
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.section-badge-text {
  display: inline-block;
  color: hsl(var(--primary));
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
}

@media (min-width: 768px) {
  .section-header p {
    font-size: 1.125rem;
  }
}

.text-primary {
  color: hsl(var(--primary));
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
  background-color: hsl(var(--secondary));
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: hsl(var(--background));
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon-red {
  background-color: hsl(0 65% 51% / 0.1);
  color: hsl(0 65% 51%);
}

.service-icon-blue {
  background-color: hsl(217 91% 60% / 0.1);
  color: hsl(217 91% 60%);
}

.service-icon-green {
  background-color: hsl(142 71% 45% / 0.1);
  color: hsl(142 71% 45%);
}

.service-icon-purple {
  background-color: hsl(262 83% 58% / 0.1);
  color: hsl(262 83% 58%);
}

.service-icon-orange {
  background-color: hsl(25 95% 53% / 0.1);
  color: hsl(25 95% 53%);
}

.service-icon-teal {
  background-color: hsl(173 80% 40% / 0.1);
  color: hsl(173 80% 40%);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: hsl(var(--primary));
}

.service-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--primary));
  font-weight: 600;
  font-size: 0.875rem;
  transition: gap 0.3s ease;
}

.service-card:hover .service-link {
  gap: 0.75rem;
}

.services-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
  background-color: hsl(var(--background));
}

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

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-image-wrapper {
  position: relative;
}

.about-image-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--foreground) / 0.2), transparent);
}

.about-floating-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background-color: hsl(var(--background));
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-elevated);
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .about-floating-card {
    right: 1rem;
  }
}

.about-floating-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
}

.about-floating-text h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.about-floating-text p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.about-decoration {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 6rem;
  height: 6rem;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  filter: blur(2rem);
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content > p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background-color: hsl(var(--secondary));
  border-radius: var(--radius);
}

.about-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 500;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

/* Map Section */
.map-section {
  margin-top: 5rem;
}

.map-header {
  text-align: center;
  margin-bottom: 2rem;
}

.map-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.map-header p {
  color: hsl(var(--muted-foreground));
}

.map-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats {
  background-color: hsl(var(--primary));
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 10rem;
  height: 10rem;
  background-color: hsl(var(--primary-foreground) / 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.stats::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 15rem;
  height: 15rem;
  background-color: hsl(var(--primary-foreground) / 0.1);
  border-radius: 50%;
  transform: translate(50%, 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--primary-foreground));
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 3rem;
  }
}

.stat-label {
  font-size: 0.9375rem;
  color: hsl(var(--primary-foreground) / 0.8);
  font-weight: 500;
}

/* ==========================================================================
   Treatments Section
   ========================================================================== */
.treatments {
  background-color: hsl(var(--background));
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .treatments-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .treatments-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.treatment-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

.treatment-card:hover img {
  transform: scale(1.1);
}

.treatment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(0 0% 0% / 0.8) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  transition: background 0.3s ease;
}

.treatment-card:hover .treatment-overlay {
  background: linear-gradient(to top, hsl(var(--primary) / 0.9) 0%, hsl(var(--primary) / 0.4) 100%);
}

.treatment-card h3 {
  color: white;
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
}

@media (min-width: 768px) {
  .treatment-card h3 {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Professionals Section
   ========================================================================== */
.professionals {
  background-color: hsl(var(--secondary));
}

.professionals-carousel {
  position: relative;
  overflow: hidden;
}

.professionals-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
}

.professional-card {
  flex: 0 0 calc(100% - 1rem);
  background-color: hsl(var(--background));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .professional-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .professional-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

.professional-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.professional-info {
  padding: 1.5rem;
  text-align: center;
}

.professional-info h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.professional-role {
  color: hsl(var(--primary));
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.professional-crefito {
  color: hsl(var(--muted-foreground));
  font-size: 0.8125rem;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: hsl(var(--border));
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background-color: hsl(var(--primary));
  width: 1.5rem;
  border-radius: 9999px;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials {
  background-color: hsl(var(--secondary));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: hsl(var(--background));
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial-quote-icon {
  position: absolute;
  top: -1rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: hsl(var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 0.125rem;
}

.testimonial-author p {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.testimonials-badge {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.testimonials-badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background-color: hsl(var(--background));
  padding: 1rem 1.5rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-soft);
}

.testimonials-badge-stars {
  display: flex;
  gap: 0.25rem;
}

.testimonials-badge-divider {
  width: 1px;
  height: 1.5rem;
  background-color: hsl(var(--border));
}

.testimonials-badge-text {
  font-size: 0.875rem;
}

.testimonials-badge-rating {
  font-weight: 600;
  color: hsl(var(--foreground));
}

.testimonials-badge-label {
  color: hsl(var(--muted-foreground));
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
  background-color: hsl(var(--background));
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  background-color: hsl(var(--secondary));
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: hsl(var(--foreground));
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: hsl(var(--primary));
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* ==========================================================================
   Insurance Section
   ========================================================================== */
.insurance {
  background-color: hsl(var(--background));
}

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

@media (min-width: 640px) {
  .insurance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .insurance-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .insurance-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.insurance-item {
  background-color: hsl(var(--secondary));
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  filter: grayscale(100%);
  opacity: 0.6;
}

.insurance-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.insurance-item img {
  max-height: 2.5rem;
  width: auto;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
  background-color: hsl(var(--background));
}

.contact-centered {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.contact-centered h2 {
  margin-bottom: 1.5rem;
}

.contact-subtitle {
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

.contact-items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .contact-items-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-item-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background-color: hsl(var(--secondary));
  border-radius: var(--radius);
  text-align: left;
  transition: background-color 0.3s ease;
}

.contact-item-card:hover {
  background-color: hsl(var(--secondary) / 0.8);
}

.contact-item-card .contact-item-icon {
  width: 3rem;
  height: 3rem;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item-card:hover .contact-item-icon {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.contact-item-content {
  flex: 1;
}

.contact-item-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.25rem;
}

.contact-item-value {
  font-weight: 500;
  color: hsl(var(--foreground));
  margin: 0;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #22c55e;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px hsl(142 71% 45% / 0.4);
}

.whatsapp-btn:hover {
  background-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsl(142 71% 45% / 0.5);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: hsl(var(--foreground));
  color: hsl(var(--primary-foreground));
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  color: hsl(var(--primary-foreground) / 0.7);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 1.5rem 0;
}

.footer-logo .logo-fisio,
.footer-logo .logo-campinas {
  color: hsl(var(--primary-foreground));
}

.footer-logo .logo-campinas {
  color: hsl(var(--primary));
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: hsl(var(--primary-foreground) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: hsl(var(--primary));
}

.footer-column h4 {
  color: hsl(var(--primary-foreground));
  font-size: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: hsl(var(--primary-foreground) / 0.7);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: hsl(var(--primary));
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: hsl(var(--primary-foreground) / 0.7);
  font-size: 0.875rem;
}

.footer-contact-item svg {
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact-item a {
  color: hsl(var(--primary-foreground) / 0.7);
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: hsl(var(--primary));
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--primary-foreground) / 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  color: hsl(var(--primary-foreground) / 0.5);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: hsl(var(--primary-foreground) / 0.5);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: hsl(var(--primary));
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

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

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

.animate-fade-up {
  animation: fadeUp 0.6s ease forwards;
}

.animate-fade-up-delay-1 {
  animation: fadeUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.animate-fade-up-delay-2 {
  animation: fadeUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.animate-fade-up-delay-3 {
  animation: fadeUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.bg-primary {
  background-color: hsl(var(--primary));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* WordPress Specific */
.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}
