/* ==========================================================================
   DRA. ANTONIA VALERO - ESTÉTICA AVANÇADA & INTEGRATIVA
   Pure CSS Design System & Fully Responsive Stylesheet
   ========================================================================== */

/* --- Root Color Tokens & Variables --- */
:root {
  /* Brand Palette */
  --primary-dark: #3B2C54;      /* Deep Plum / Velvet Dark Violet */
  --primary-hover: #291E3B;     /* Deeper Purple for hover states */
  --accent-purple: #9B63C6;    /* Vibrant Lavender Purple */
  --accent-light: #EBE1F5;     /* Soft Lavender Tint Background */
  --accent-lighter: #F6F1FA;   /* Very Subtle Lavender White */
  --accent-gradient: linear-gradient(135deg, #A871D6 0%, #7B47AD 100%);
  --gold-accent: #D4AF37;       /* Elegant Gold Accent */

  /* Neutral Tones */
  --text-main: #2D2738;
  --text-muted: #6B627A;
  --text-light: #988EA6;
  --bg-page: #FAF8FC;
  --bg-card: #FFFFFF;

  /* UI Elements */
  --shadow-sm: 0 4px 12px rgba(59, 44, 84, 0.05);
  --shadow-md: 0 10px 30px rgba(59, 44, 84, 0.08);
  --shadow-lg: 0 20px 45px rgba(59, 44, 84, 0.12);
  --shadow-purple: 0 10px 25px rgba(155, 99, 198, 0.25);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --font-heading: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body.menu-locked {
  overflow: hidden;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--accent-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px auto;
  font-weight: 400;
}

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

.text-left {
  text-align: left;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  min-height: 48px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-normal);
  text-transform: uppercase;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.35;
}

.btn-primary {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background-color: var(--accent-purple);
  color: #FFFFFF;
  box-shadow: var(--shadow-purple);
}

.btn-accent:hover {
  background-color: #8A4EB8;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(155, 99, 198, 0.4);
}

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

.btn-outline:hover {
  background: var(--primary-dark);
  color: #FFFFFF;
  transform: translateY(-3px);
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 248, 252, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(59, 44, 84, 0.06);
  transition: var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  position: relative;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
}

.logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-purple);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-purple);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-purple);
}

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

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
  min-height: 42px;
}

.mobile-nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  border-radius: var(--radius-sm);
  z-index: 1001;
  border: none;
  outline: none;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-dark);
  border-radius: 2px;
  position: absolute;
  left: 4px;
  transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

.menu-toggle span:nth-child(1) {
  top: 9px;
}

.menu-toggle span:nth-child(2) {
  top: 15px;
}

.menu-toggle span:nth-child(3) {
  top: 21px;
}

.menu-toggle.active span:nth-child(1) {
  top: 15px;
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  top: 15px;
  transform: rotate(-45deg);
}

/* --- Hero Section --- */
.hero-section {
  padding-top: 130px;
  padding-bottom: 70px;
}

.hero-card {
  background: linear-gradient(135deg, #F3EAFA 0%, #EDE2F7 100%);
  border-radius: 32px;
  padding: clamp(30px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: rgba(186, 149, 212, 0.25);
  filter: blur(80px);
  border-radius: 50%;
}

.hero-content {
  z-index: 2;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* Presentation Card Dual-Tone Purple Blocks */
.hero-bio-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
  z-index: 2;
  position: relative;
}

.hero-bio-block {
  padding: 16px 22px;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  text-align: left;
}

/* Tone 1: Soft Lavender / Lilac Purple Box */
.hero-bio-block-primary {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(155, 99, 198, 0.22);
  border-left: 5px solid var(--accent-purple);
  box-shadow: 0 4px 14px rgba(59, 44, 84, 0.04);
  backdrop-filter: blur(8px);
}

.hero-bio-block-primary:hover {
  border-color: rgba(155, 99, 198, 0.4);
  box-shadow: 0 6px 18px rgba(155, 99, 198, 0.1);
  transform: translateY(-2px);
}

/* Tone 2: Deeper Velvet Violet / Plum Purple Box */
.hero-bio-block-secondary {
  background: linear-gradient(135deg, rgba(59, 44, 84, 0.09) 0%, rgba(155, 99, 198, 0.18) 100%);
  border: 1px solid rgba(59, 44, 84, 0.18);
  border-left: 5px solid var(--primary-dark);
  box-shadow: 0 4px 14px rgba(59, 44, 84, 0.06);
  backdrop-filter: blur(8px);
}

.hero-bio-block-secondary:hover {
  border-color: var(--primary-dark);
  box-shadow: 0 6px 18px rgba(59, 44, 84, 0.12);
  transform: translateY(-2px);
}

.hero-bio-text {
  font-size: clamp(0.92rem, 1.6vw, 1rem);
  color: var(--text-main);
  line-height: 1.65;
  font-weight: 400;
}

.hero-bio-block-secondary .hero-bio-text strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.hero-frame {
  position: relative;
  width: clamp(250px, 30vw, 320px);
  height: clamp(330px, 40vw, 420px);
  border-radius: 160px 160px 140px 140px;
  border: 4px solid #FFFFFF;
  box-shadow: 0 20px 40px rgba(59, 44, 84, 0.15);
  overflow: hidden;
  background: var(--accent-light);
  transition: var(--transition-normal);
}

.hero-frame:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(59, 44, 84, 0.2);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.floating-badge {
  position: absolute;
  background: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.floating-badge-1 {
  bottom: 20px;
  left: -10px;
}

.badge-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-text-val {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-dark);
  line-height: 1;
}

.badge-text-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

/* --- Social Proof & Testimonials Section --- */
.stats-banner {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 48px) clamp(20px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(59, 44, 84, 0.05);
}

.stats-header {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 800;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  margin-bottom: 36px;
}

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

.testimonial-card {
  background: var(--bg-page);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(59, 44, 84, 0.04);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(155, 99, 198, 0.2);
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.author-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.rating-stars {
  color: #F5A623;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(59, 44, 84, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  width: 24px;
  border-radius: var(--radius-pill);
  background: var(--primary-dark);
}

.procedimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

@media (min-width: 992px) {
  .procedimentos-grid > .procedure-card:last-child:nth-child(3n+1) {
    grid-column: 2;
  }
}

.procedure-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(59, 44, 84, 0.05);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.procedure-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(155, 99, 198, 0.3);
}

.procedure-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.procedure-icon-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: var(--transition-fast);
}

.procedure-card:hover .procedure-icon-box {
  background: var(--primary-dark);
  color: #FFFFFF;
}

.procedure-card:hover .procedure-icon-img {
  filter: brightness(0) invert(1);
  transform: scale(1.08);
}

.procedure-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.procedure-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.quote-highlight {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-style: italic;
  color: var(--primary-dark);
  text-align: center;
  margin: 40px auto 32px auto;
  max-width: 680px;
  padding: 0 16px;
}

.procedimentos-cta-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 16px;
  margin-top: 8px;
}

/* --- Clinic Carousel Section --- */
.clinic-carousel-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 54px;
}

.clinic-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
}

.clinic-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.clinic-slide {
  flex: 0 0 33.333%;
  padding: 0 10px;
  box-sizing: border-box;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  background: var(--accent-light);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(59, 44, 84, 0.22);
  border-color: var(--accent-purple);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(41, 30, 59, 0.38);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: scale(0.85);
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.gallery-item:hover .gallery-zoom-icon {
  transform: scale(1);
}

.gallery-item:hover .gallery-zoom-icon:hover {
  background: var(--accent-purple);
  color: #FFFFFF;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(59, 44, 84, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
  border: 1px solid rgba(59, 44, 84, 0.08);
}

.carousel-btn:hover {
  background: var(--primary-dark);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(59, 44, 84, 0.25);
}

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

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

.clinic-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.clinic-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(155, 99, 198, 0.25);
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  padding: 0;
}

.clinic-dot.active {
  width: 28px;
  border-radius: var(--radius-pill);
  background: var(--accent-purple);
}

/* --- Ebooks & Downloads Section --- */
.ebooks-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ebook-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(59, 44, 84, 0.05);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
  transition: var(--transition-normal);
}

.ebook-card.reverse {
  grid-template-columns: 1fr 240px;
}

.ebook-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.ebook-cover-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 240px;
  margin: 0 auto;
}

.ebook-cover-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition-fast);
}

.ebook-card:hover .ebook-cover-img {
  transform: scale(1.03);
}

.ebook-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ebook-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.ebook-checklist {
  margin-bottom: 24px;
}

.ebook-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.check-icon {
  color: var(--accent-purple);
  font-weight: 800;
}

/* --- Location & Contact Section --- */
.location-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(59, 44, 84, 0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 340px;
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-md);
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.unit-box {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(59, 44, 84, 0.08);
}

.unit-box:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.unit-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.unit-address {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.unit-box .btn {
  padding: 8px 22px;
  font-size: 0.8rem;
  min-height: 38px;
}

/* --- Footer --- */
.site-footer {
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 60px 0 30px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  filter: brightness(0) invert(1);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--accent-purple);
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--accent-purple);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Modals --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(47, 36, 69, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

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

.modal-card {
  background: #FFFFFF;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 40px);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(59, 44, 84, 0.15);
  font-size: 0.95rem;
  background: var(--bg-page);
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(155, 99, 198, 0.15);
}

/* --- Gallery Lightbox Modal --- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 28, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-content {
  position: relative;
  z-index: 2001;
  width: 90%;
  max-width: 1000px;
  height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
  user-select: none;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--accent-purple);
  transform: scale(1.08);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background: var(--accent-purple);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -64px;
}

.lightbox-next {
  right: -64px;
}

.lightbox-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
}

@media (max-width: 991px) {
  .lightbox-content {
    width: 92%;
    height: 72vh;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close {
    top: -42px;
    right: 0;
  }
}

/* ==========================================================================
   FLOATING PERSISTENT WHATSAPP WIDGET
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1500;
}

.wa-float-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  border: 2.5px solid #FFFFFF;
  transition: var(--transition-normal);
  position: relative;
}

.wa-float-btn:hover {
  transform: scale(1.08) rotate(6deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #FF3B30;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  animation: pulseBadge 2s infinite;
}

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

.wa-chat-box {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 340px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(47, 36, 69, 0.2);
  border: 1px solid rgba(59, 44, 84, 0.08);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: var(--transition-normal);
}

.wa-chat-box.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-chat-header {
  background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
  color: #FFFFFF;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.wa-avatar-box {
  position: relative;
  width: 44px;
  height: 44px;
}

.wa-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FFFFFF;
}

.wa-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #25D366;
  border-radius: 50%;
  border: 2px solid #075E54;
}

.wa-header-info {
  display: flex;
  flex-direction: column;
}

.wa-name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.wa-status {
  font-size: 0.72rem;
  opacity: 0.85;
}

.wa-close-btn {
  margin-left: auto;
  background: none;
  color: #FFFFFF;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.wa-close-btn:hover {
  opacity: 1;
}

.wa-chat-body {
  padding: 20px 16px;
  background: #E5DDD5;
  background-image: radial-gradient(rgba(0,0,0,0.04) 1px, transparent 0);
  background-size: 12px 12px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
}

.wa-message-bubble {
  background: #FFFFFF;
  padding: 12px 16px;
  border-radius: 0 14px 14px 14px;
  font-size: 0.85rem;
  color: #303030;
  line-height: 1.45;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
  position: relative;
  align-self: flex-start;
  max-width: 90%;
}

.wa-message-bubble p {
  margin-bottom: 6px;
}

.wa-message-bubble p:last-of-type {
  margin-bottom: 0;
}

.wa-time {
  display: block;
  font-size: 0.65rem;
  color: #888;
  text-align: right;
  margin-top: 4px;
}

.wa-quick-replies {
  padding: 10px 16px;
  background: #F0F2F5;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.wa-reply-btn {
  background: #FFFFFF;
  color: var(--primary-dark);
  border: 1px solid rgba(59, 44, 84, 0.12);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.wa-reply-btn:hover {
  background: var(--accent-light);
  border-color: var(--accent-purple);
}

.wa-chat-footer {
  padding: 12px 16px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.wa-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0,0,0,0.12);
  font-size: 0.85rem;
  background: #F0F2F5;
}

.wa-input:focus {
  border-color: #128C7E;
  background: #FFFFFF;
}

.wa-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #128C7E;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.wa-send-btn:hover {
  background: #075E54;
  transform: scale(1.05);
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM & MEDIA QUERIES
   ========================================================================== */

/* --- Tablet Landscape / Laptop (992px to 1199px) --- */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }

  .procedimentos-grid {
    gap: 20px;
  }

  .procedure-card {
    padding: 28px 20px;
  }
}

/* --- Tablet Portrait / Medium Screen (991px and down) --- */
@media (max-width: 991px) {
  .container {
    max-width: 720px;
    padding: 0 20px;
  }

  /* Navigation & Menu Hambúrguer */
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .nav-links {
    position: fixed;
    top: 84px;
    left: 0;
    width: 100%;
    max-width: 100vw;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 20px 32px 20px;
    box-shadow: 0 20px 40px rgba(59, 44, 84, 0.15);
    border-bottom: 2px solid var(--accent-light);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s;
    pointer-events: none;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.mobile-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links .nav-link {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    width: 100%;
    display: block;
    transition: var(--transition-fast);
  }

  .nav-links .nav-link::after {
    display: none;
  }

  .nav-links .nav-link:hover,
  .nav-links .nav-link:active {
    background: var(--accent-lighter);
    color: var(--accent-purple);
    padding-left: 20px;
  }

  .mobile-nav-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }

  /* Hero Section */
  .hero-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 44px 24px;
    gap: 36px;
  }

  .hero-bio-container {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrapper {
    margin-top: 16px;
    width: 100%;
  }

  .floating-badge-1 {
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    animation: none;
    white-space: nowrap;
    max-width: calc(100% - 20px);
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Procedures */
  .procedimentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .procedimentos-grid > .procedure-card:last-child:nth-child(2n+1) {
    grid-column: span 2;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  /* Clinic Carousel */
  .clinic-carousel-container {
    padding: 0 44px;
  }

  .clinic-slide {
    flex: 0 0 50%;
  }

  /* Ebooks */
  .ebook-card, .ebook-card.reverse {
    grid-template-columns: 200px 1fr;
    gap: 24px;
  }

  /* Location */
  .location-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .map-wrapper {
    height: 280px;
  }
}

/* --- Mobile / Small Tablet (767px and down) --- */
@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.86rem;
    white-space: normal;
    word-break: normal;
  }

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

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

  .procedimentos-grid > .procedure-card:last-child:nth-child(2n+1) {
    grid-column: span 1;
    max-width: 100%;
  }

  .procedimentos-cta-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 12px;
  }

  .procedimentos-cta-wrapper .btn {
    max-width: 100%;
  }

  .clinic-carousel-container {
    padding: 0 40px;
  }

  .clinic-slide {
    flex: 0 0 100%;
    padding: 0 4px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
  }

  .ebook-card, .ebook-card.reverse {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 16px;
  }

  .ebook-checklist li {
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .whatsapp-widget {
    bottom: 20px;
    right: 20px;
    max-width: calc(100vw - 32px);
  }

  .wa-chat-box {
    width: calc(100vw - 32px);
    max-width: 360px;
    right: 0;
  }
}

/* --- Mobile Portrait / Extra Small Devices (< 480px) --- */
@media (max-width: 480px) {
  .navbar {
    height: 72px;
  }

  .site-header {
    height: 72px;
  }

  .nav-links {
    top: 72px;
    max-height: calc(100vh - 72px);
  }

  .brand-logo {
    gap: 8px;
  }

  .logo-img {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: clamp(0.85rem, 3.8vw, 1.05rem);
    letter-spacing: 0.2px;
  }

  .brand-tag {
    font-size: clamp(0.55rem, 2.2vw, 0.65rem);
    letter-spacing: 0.2px;
  }

  .hero-section {
    padding-top: 96px;
    padding-bottom: 48px;
  }

  .hero-card {
    padding: 28px 16px;
    border-radius: 24px;
  }

  .hero-bio-block {
    padding: 14px 16px;
  }

  .hero-frame {
    width: 230px;
    height: 300px;
  }

  .floating-badge {
    padding: 8px 14px;
    gap: 8px;
  }

  .badge-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .badge-text-val {
    font-size: 0.95rem;
  }

  .badge-text-lbl {
    font-size: 0.68rem;
  }

  .btn {
    padding: 12px 16px;
    font-size: clamp(0.75rem, 3.2vw, 0.84rem);
    letter-spacing: 0.2px;
  }

  .procedimentos-cta-wrapper .btn {
    width: 100%;
    max-width: 340px;
  }

  .unit-box .btn {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 14px;
  }

  .whatsapp-widget {
    bottom: 16px;
    right: 16px;
  }

  .wa-chat-box {
    width: calc(100vw - 32px);
  }
}

/* ==========================================================================
   UTILITY CLASSES & REUSABLE COMPONENTS
   ========================================================================== */
.section-alt-bg {
  background-color: var(--accent-lighter);
}

.section-compact-top {
  padding-top: 20px;
}

.btn-block-submit {
  width: 100%;
  margin-top: 12px;
}

.input-readonly-accent {
  background: rgba(59, 44, 84, 0.05);
  font-weight: 600;
}
