/* ==========================================================================
   BRILHO BUCAL - Design System
   Inspirado na experiência Odontoclinic
   ========================================================================== */

:root {
  /* Colors - Baseadas no logotipo Brilho Bucal */
  --color-primary: #1a5a9c;          /* Azul do logo */
  --color-primary-dark: #134a7f;
  --color-primary-light: #2d7ac4;
  --color-accent: #6fb845;           /* Verde do logo */
  --color-accent-dark: #5a9a38;
  --color-accent-light: #e8f5e0;     /* Verde bem claro para fundos */
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1da851;
  
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #64748b;
  
  --color-bg: #ffffff;
  --color-bg-light: #f8fafc;
  --color-bg-muted: #f1f5f9;
  
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  --gradient-hero: linear-gradient(135deg, var(--color-accent-light) 0%, rgba(255,255,255,0.8) 50%, #fff 100%);
  
  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --container-max: 1280px;
  --section-padding: 80px;
  --section-padding-mobile: 48px;
  
  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
}

/* ==========================================================================
   BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

.reveal {
  /* Base state (before JS enables reveal) */
  opacity: 1;
  transform: none;
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(16px);
}

html.reveal-enabled .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  html.reveal-enabled .reveal,
  html.reveal-enabled .reveal.is-visible {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  z-index: 9999;
}

.skip-link:focus {
  top: 10px;
  color: #fff;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

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

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid #fff;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--color-bg-light);
  border-color: var(--color-bg-light);
  color: var(--color-primary);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  border: 2px solid var(--color-whatsapp);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp-dark);
  color: #fff;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 17px;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */

.topbar {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 0;
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-social a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar-social a:hover {
  color: #fff;
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 13px;
}

.topbar-contact:hover {
  color: #fff;
}

.topbar-whatsapp {
  background: var(--color-whatsapp);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
}

.topbar-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  color: #fff;
}

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

.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 20px;
  min-height: 72px;
  transition: all var(--transition);
}

.site-header.scrolled .header-inner {
  padding: 11px 20px;
  min-height: 50px;
  gap: 24px;
}

.brand {
  flex-shrink: 0;
  transition: all var(--transition);
}

.brand-logo {
  height: 64px;
  width: auto;
  transition: all var(--transition);
}

.site-header.scrolled .brand-logo {
  height: 45px;
}

.nav {
  display: none;
  align-items: center;
  gap: 40px;
}

.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
  padding: 8px 0;
  position: relative;
  transition: all var(--transition);
}

.site-header.scrolled .nav a {
  font-size: 13px;
  padding: 6px 0;
}

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

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

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

.header-cta {
  display: none;
  padding: 10px 20px;
  font-size: 14px;
  transition: all var(--transition);
}

.site-header.scrolled .header-cta {
  padding: 7px 16px;
  font-size: 13px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.menu-toggle:hover {
  background: var(--color-bg-light);
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav a:last-of-type:not(.btn) {
  border-bottom: none;
}

.mobile-nav .btn {
  margin-top: 16px;
}

.mobile-nav .btn + .btn {
  margin-top: 8px;
}

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

.hero {
  background: var(--gradient-hero);
  padding: var(--section-padding-mobile) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 90, 156, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 40px;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-subtitle {
  display: block;
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 500;
  color: var(--color-text-muted);
}

.hero-title {
  display: block;
  font-size: clamp(42px, 8vw, 64px);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.hero-lead {
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-lead strong {
  color: var(--color-primary);
  font-weight: 700;
}

.hero-text {
  color: var(--color-text);
  font-size: 16px;
}

/* Prova social no topo */
.hero-proof {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-proof-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-proof-quote {
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.55;
}

.hero-proof-quote p {
  margin: 0 0 8px;
}

.hero-proof-quote cite {
  display: block;
  font-style: normal;
  font-weight: 800;
  color: var(--color-primary);
  font-size: 14px;
}

.hero-proof-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
}

/* Hero Form */
.hero-form-wrapper {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--color-border);
  position: relative;
  z-index: 1;
}

.form-title {
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 20px;
  text-align: center;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.form-group label small {
  display: block;
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 12px;
}

.form-group input {
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  background: #fff;
}

.form-group input:focus {
  border-color: var(--color-primary);
  border-width: 2px;
  box-shadow: 0 0 0 3px rgba(26, 90, 156, 0.1);
}


.form-group input::placeholder {
  color: var(--color-text-light);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
  padding: var(--section-padding-mobile) 0;
  position: relative;
}

.section-light {
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-title {
  font-size: clamp(28px, 5vw, 42px);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  display: block;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.content-block {
  max-width: 800px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--color-text);
  line-height: 1.8;
}

.content-block p {
  color: var(--color-text-muted);
}

/* ==========================================================================
   WHY CHOOSE
   ========================================================================== */

.why-block {
  max-width: 900px;
  margin: 0 auto;
}

.why-lead {
  text-align: center;
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 8px;
}

.why-sublead {
  text-align: center;
  color: var(--color-text-muted);
  margin: 0 auto 18px;
  max-width: 760px;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 18px;
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.why-list li {
  position: relative;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px 16px 14px 48px;
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
}

.why-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 14px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  font-weight: 900;
}

.why-list strong {
  color: var(--color-primary);
}

.why-tagline {
  text-align: center;
  font-weight: 900;
  color: var(--color-primary-dark);
  background: rgba(111, 184, 69, 0.12);
  border: 2px solid rgba(111, 184, 69, 0.25);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  max-width: 760px;
  margin: 0 auto;
}

/* ==========================================================================
   CLINIC SECTION
   ========================================================================== */

.clinic-grid {
  display: grid;
  gap: 32px;
}

.clinic-intro {
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 24px;
}

.info-block {
  margin-bottom: 20px;
}

.info-block h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-block p {
  color: var(--color-text);
  margin: 0;
  font-weight: 500;
}

.clinic-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-muted);
  position: relative;
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.carousel-container {
  position: relative;
  width: 100%;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--color-primary);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.carousel-wrapper:hover .carousel-btn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.carousel-wrapper:hover .carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.carousel-wrapper:hover .carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
  left: 16px;
}

.carousel-btn-next {
  right: 16px;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

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

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

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

.carousel-indicator.active {
  background: #fff;
  border-color: #fff;
  width: 24px;
  border-radius: 5px;
}

/* ==========================================================================
   TREATMENTS
   ========================================================================== */

.section-treatments {
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-treatments .section-title {
  color: var(--color-primary);
}

.section-treatments .content-block {
  color: var(--color-text-muted);
}

.section-treatments .content-block strong {
  color: var(--color-primary);
}

.treatments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.treatment-card {
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.treatment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-accent);
  transform: scaleY(0);
  transition: transform var(--transition);
}

.treatment-card:hover::before {
  transform: scaleY(1);
}

.treatment-card:hover {
  border-color: var(--color-primary);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.treatment-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  background: var(--color-accent-light);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.treatment-icon img {
  width: 32px;
  height: 32px;
  filter: none;
}

.treatment-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.treatment-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

.treatments-cta {
  text-align: center;
  padding: 32px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.treatments-cta p {
  font-size: 16px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.9);
}

.treatments-cta strong {
  color: #fff;
}

.treatments-cta .btn-primary {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.treatments-cta .btn-primary:hover {
  background: var(--color-bg-light);
  border-color: var(--color-bg-light);
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

.cta-banner {
  background: var(--gradient-primary);
  padding: var(--section-padding-mobile) 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(111, 184, 69, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(28px, 5vw, 40px);
  color: #fff;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   CONVENIOS
   ========================================================================== */

.convenios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 32px;
}

.convenio-card {
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.convenio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 90, 156, 0.02) 0%, rgba(111, 184, 69, 0.02) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.convenio-card:hover::after {
  opacity: 1;
}

.convenio-card:hover {
  border-color: var(--color-primary);
  border-width: 2px;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px) scale(1.02);
}

.convenio-card img {
  max-height: 50px;
  max-width: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.convenio-dark {
  background: var(--color-primary-dark);
}

.convenios-cta {
  text-align: center;
  padding: 24px;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.convenios-cta p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials-grid {
  display: grid;
  gap: 20px;
}

.testimonial-card {
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 0;
  transition: all var(--transition);
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 64px;
  font-weight: 700;
  color: var(--color-accent-light);
  line-height: 1;
  opacity: 0.3;
}

.testimonial-card:hover {
  border-color: var(--color-accent);
  border-width: 2px;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-card blockquote {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-card strong {
  font-weight: 700;
  color: var(--color-text);
}

.testimonial-card span {
  font-size: 13px;
  color: var(--color-text-light);
}

/* ==========================================================================
   LOCATION
   ========================================================================== */

.location-grid {
  display: grid;
  gap: 24px;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-muted);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.map-wrapper iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

.location-info {
  background: var(--color-bg-light);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.location-info h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.location-info p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.location-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.location-note small {
  color: var(--color-text-light);
  font-style: italic;
}

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

.site-footer {
  background: var(--gradient-primary);
  color: #fff;
  padding: var(--section-padding-mobile) 0 24px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand img {
  height: 35px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

.footer-social a:hover {
  color: var(--color-accent);
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact p,
.footer-hours p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-contact a {
  color: rgba(255,255,255,0.9);
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-bottom: 4px;
}

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

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all var(--transition);
}

.floating-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  transform: scale(1.1);
  color: #fff;
}

/* ==========================================================================
   TOAST
   ========================================================================== */

.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-text);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  font-size: 14px;
}

.toast[hidden] {
  display: none;
}

/* ==========================================================================
   RESPONSIVE - TABLET
   ========================================================================== */

@media (min-width: 640px) {
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .convenios-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  .convenio-card {
    min-height: 90px;
    padding: 16px;
  }
  
  .convenio-card img {
    max-height: 60px;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   RESPONSIVE - DESKTOP
   ========================================================================== */

@media (min-width: 900px) {
  .section {
    padding: var(--section-padding) 0;
  }
  
  /* Topbar */
  .topbar {
    padding: 12px 0;
  }
  
  .topbar-contacts {
    gap: 32px;
  }
  
  /* Header */
  .header-inner {
    padding: 0 20px;
    min-height: 80px;
  }
  
  .site-header.scrolled .header-inner {
    padding: 0 20px;
    min-height: 56px;
  }
  
  .brand-logo {
    height: 72px;
  }
  
  .site-header.scrolled .brand-logo {
    height: 50px;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .nav {
    display: flex;
  }
  
  .header-cta {
    display: inline-flex;
  }
  
  .mobile-nav {
    display: none !important;
  }
  
  /* Hero */
  .hero {
    padding: var(--section-padding) 0;
  }
  
  /* CTA Banner */
  .cta-banner {
    padding: var(--section-padding) 0;
  }
  
  /* Footer */
  .site-footer {
    padding: var(--section-padding) 0 24px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr 420px;
    align-items: center;
    gap: 60px;
  }
  
  .hero-content {
    text-align: left;
  }
  
  .hero-form-wrapper {
    padding: 36px;
  }
  
  /* Clinic */
  .clinic-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  
  .carousel-wrapper {
    aspect-ratio: 4/3;
  }
  
  .carousel-btn {
    width: 48px;
    height: 48px;
  }
  
  .carousel-btn-prev {
    left: 20px;
  }
  
  .carousel-btn-next {
    right: 20px;
  }
  
  /* Convenios */
  .convenios-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  
  .convenio-card {
    min-height: 100px;
    padding: 18px;
  }
  
  .convenio-card img {
    max-height: 65px;
    max-width: 90%;
  }
  
  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Location */
  .map-wrapper iframe {
    height: 450px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

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

@media (min-width: 1100px) {
  .container {
    padding: 0 40px;
  }
}
