/* ===========================
   ODONTO FILLA — REBRAND 2025
   Design System & Styles
=========================== */

:root {
  --navy: #669999;
  --navy-dark: #4a7a7a;
  --navy-mid: #5b8a8a;
  --cyan: #669999;
  --cyan-light: #99CCCC;
  --gold: #E8AC41;
  --gold-light: #F7C95E;
  --white: #FFFFFF;
  --off-white: #E8E7E7;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --text: #0F172A;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(2, 62, 138, 0.12);
  --shadow-lg: 0 40px 80px rgba(2, 62, 138, 0.18);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

/* ========== CUSTOM CURSOR ========== */
*, *::before, *::after { cursor: none !important; }

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--cyan-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.2s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 2px solid rgba(72, 202, 228, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.3s,
              opacity 0.3s;
  will-change: transform;
}

/* Hover state — grows and fills */
body.cursor-hover .cursor-dot {
  width: 6px; height: 6px;
  background: white;
}

body.cursor-hover .cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--cyan);
  background: rgba(0, 150, 199, 0.08);
  backdrop-filter: blur(2px);
}

/* Click state */
body.cursor-click .cursor-dot {
  width: 12px; height: 12px;
  background: var(--gold-light);
}

body.cursor-click .cursor-ring {
  width: 28px; height: 28px;
  border-color: var(--gold-light);
}

/* Hide on mobile */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  *, *::before, *::after { cursor: auto !important; }
}

/* ========== LOADING SCREEN ========== */
.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 99997;
  background: linear-gradient(145deg, #011F4B 0%, #023E8A 60%, #0353A4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: loaderFadeIn 0.6s ease both;
}

.loader-icon {
  font-size: 3rem;
  color: var(--cyan-light);
  animation: loaderSpin 3s linear infinite, loaderPulseGlow 2s ease-in-out infinite;
  display: inline-block;
  text-shadow: 0 0 30px rgba(72, 202, 228, 0.8);
}

@keyframes loaderSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes loaderPulseGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(72,202,228,0.5); }
  50% { text-shadow: 0 0 50px rgba(72,202,228,1), 0 0 80px rgba(0,150,199,0.6); }
}

.loader-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  color: white;
  letter-spacing: 1px;
}

.loader-brand strong {
  font-weight: 800;
  color: var(--cyan-light);
}

.loader-bar-wrap {
  width: 240px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  animation: loaderFadeIn 0.6s 0.3s ease both;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-light), var(--gold-light));
  border-radius: 10px;
  transition: width 0.05s linear;
  box-shadow: 0 0 12px rgba(72, 202, 228, 0.8);
}

.loader-percent {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
  font-family: 'Plus Jakarta Sans', monospace;
  animation: loaderFadeIn 0.6s 0.4s ease both;
}

.loader-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  letter-spacing: 0.5px;
  animation: loaderFadeIn 0.6s 0.5s ease both;
}

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

/* Loader particles */
.loader-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.lparticle {
  position: absolute;
  border-radius: 50%;
  animation: lparticleAnim linear infinite;
}

@keyframes lparticleAnim {
  0% { transform: translate(0, 0) scale(0); opacity: 0; }
  20% { opacity: 0.6; transform: scale(1); }
  80% { opacity: 0.3; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--gold-light);
  color: var(--gray-800);
  text-align: center;
  padding: 10px 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  position: relative;
  z-index: 1001;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 36px;
  left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  transition: var(--transition);
}

.navbar.scrolled {
  top: 0;
  background: rgba(1, 31, 75, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.logo-name {
  font-size: 1.25rem;
  color: white;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.logo-name strong { font-weight: 800; color: var(--cyan-light); }

.logo-tagline {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.3s;
  letter-spacing: 0.3px;
}

.nav-links a:hover { color: var(--cyan-light); }

.btn-nav {
  background: linear-gradient(135deg, var(--cyan), var(--navy-mid));
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 150, 199, 0.3);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 150, 199, 0.45);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== GRADIENT TEXT ========== */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-light {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--cyan), #0077B6);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0, 150, 199, 0.35);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 150, 199, 0.5);
}

.btn-primary.large { padding: 1.2rem 2.5rem; font-size: 1.1rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 60%, var(--cyan) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(153, 204, 204, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(102, 153, 153, 0.15) 0%, transparent 60%);
}

/* Animated particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0.4;
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--cyan-light);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--cyan-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-title em {
  font-style: normal;
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
}

.hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cyan-light);
  line-height: 1;
}

.stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.2rem;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* HERO IMAGE */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(153, 204, 204, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero-image-card {
  position: relative;
  width: 460px;
  height: 540px;
  border-radius: 260px 260px 200px 200px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.15);
  background: linear-gradient(180deg, rgba(153, 204, 204, 0.15) 0%, rgba(74, 122, 122, 0.4) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}

.hero-image-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  padding-bottom: 0;
}

.hero-doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: inherit;
}

.floating-badge {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  animation: floatBadge 3s ease-in-out infinite;
}

.fb1 { top: 60px; right: -50px; }
.fb2 { bottom: 100px; left: -60px; animation-delay: 1.5s; }

.floating-badge span {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.floating-badge small {
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-top: 0.1rem;
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse::after {
  content: '';
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ========== TRUST BAR ========== */
.trust-bar {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 2rem;
}

.trust-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
}

.trust-item svg { color: var(--cyan); flex-shrink: 0; }

/* ========== SECTION COMMONS ========== */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0,150,199,0.1), rgba(72,202,228,0.1));
  border: 1px solid rgba(0,150,199,0.2);
  color: var(--cyan);
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-label.light {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.section-title.light { color: white; }

.section-sub {
  margin-top: 1rem;
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-sub.light { color: rgba(255,255,255,0.6); }

/* ========== SOBRE ========== */
.sobre {
  background: var(--white);
}

.sobre .section-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.sobre-card-wrap {
  position: relative;
  max-width: 400px;
}

.sobre-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--navy-dark), var(--cyan));
  border-radius: 200px 200px 120px 120px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.sobre-doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.sobre-img-placeholder:hover .sobre-doctor-photo {
  transform: scale(1.04);
}

.sobre-floating-stat {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.sobre-floating-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan);
}

.sobre-floating-stat span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.sobre-text {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.sobre-text strong { color: var(--navy); }

.sobre-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2rem 0 2.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--cyan);
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(0,150,199,0.06);
  transform: translateX(4px);
}

.feature-icon { font-size: 1.5rem; flex-shrink: 0; }

.feature-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.feature-item p { font-size: 0.85rem; color: var(--gray-600); margin: 0; }

/* ========== SERVIÇOS ========== */
.servicos { background: var(--off-white); }

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

/* With 5 cards: featured spans 2 cols, remaining 4 flow around it */
.featured-card {
  grid-column: span 2;
}

.servico-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.servico-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.servico-card:hover::before { transform: scaleX(1); }

.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.servico-card.featured-card {
  background: linear-gradient(145deg, var(--navy-dark), var(--navy));
  color: white;
  border: 1px solid rgba(153,204,204,0.3);
  grid-column: span 2;
  box-shadow: 0 20px 40px rgba(102, 153, 153, 0.2);
}

.servico-card.featured-card h3 { color: white; }
.servico-card.featured-card p { color: rgba(255,255,255,0.7); font-size: 1rem; }
.servico-card.featured-card .card-link { color: var(--cyan-light); }

.servico-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.servico-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.servico-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.card-link {
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  display: block;
  margin-top: auto;
  transition: var(--transition);
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.featured-card .card-link { border-top-color: rgba(255,255,255,0.1); }
.card-link:hover { letter-spacing: 0.5px; }

/* ========== RESULTADOS ========== */
.resultados {
  background: linear-gradient(145deg, var(--navy-dark), var(--navy));
  position: relative;
  overflow: hidden;
}

.resultados::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0, 150, 199, 0.15) 0%, transparent 70%);
}

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

.result-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.result-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.result-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.result-before, .result-after {
  position: relative;
  aspect-ratio: 3/4;
}

.result-label {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}

.result-label.after { background: rgba(0,150,199,0.8); }

.result-img-ph {
  width: 100%; height: 100%;
  object-fit: cover;
}

.before-ph { background: linear-gradient(180deg, #c4a882 0%, #a08060 100%); }
.after-ph { background: linear-gradient(180deg, #f5f5f0 0%, #e8e8e0 100%); }
.after-ph2 { background: linear-gradient(180deg, #f8f8f5 0%, #ebebee 100%); }
.after-ph3 { background: linear-gradient(180deg, #f0f5f0 0%, #e0ece0 100%); }

.result-info {
  padding: 1.2rem;
}

.result-info strong {
  display: block;
  color: white;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.result-info p { color: rgba(255,255,255,0.5); font-size: 0.8rem; margin: 0; }

.results-cta {
  text-align: center;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.results-cta p { color: rgba(255,255,255,0.6); margin-bottom: 1rem; font-size: 0.95rem; }

/* ========== DEPOIMENTOS ========== */
.depoimentos { background: var(--white); }

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

.depo-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}

.depo-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 5rem;
  color: var(--gray-200);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.depo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.depo-card.featured-depo {
  background: linear-gradient(145deg, var(--navy-dark), var(--navy));
  border: none;
  color: white;
}

.depo-card.featured-depo p { color: rgba(255,255,255,0.85); }
.depo-card.featured-depo::before { color: rgba(255,255,255,0.1); }
.depo-card.featured-depo .depo-author strong { color: white; }
.depo-card.featured-depo .depo-author span { color: rgba(255,255,255,0.5); }

.stars { font-size: 1rem; margin-bottom: 1rem; }

.depo-card p {
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.depo-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.depo-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--cyan), var(--navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.depo-author strong { display: block; font-size: 0.9rem; color: var(--text); }
.depo-author span { font-size: 0.78rem; color: var(--gray-400); }

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,150,199,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .section-container {
  display: flex;
  justify-content: center;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin: 1rem 0 1.2rem;
  letter-spacing: -0.5px;
}

.cta-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-locations {
  display: flex;
  gap: 1rem;
}

.location-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ── Maps layout ── */
.maps-container {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 800px;
  justify-content: center;
}

.map-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.map-block .location-pill {
  text-align: center;
}

.map-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo { font-size: 1.4rem; margin-bottom: 0.75rem; display: block; }

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

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

.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--cyan);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li { font-size: 0.88rem; }

.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom strong { color: var(--cyan-light); }

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: waBounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

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

/* ========== RESPONSIVE ========== */

/* ── Tablet (≤1024px) ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-image-wrap { order: -1; }
  .hero-image-card { width: 320px; height: 380px; }
  .fb1 { right: -20px; }
  .fb2 { left: -20px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .sobre .section-container { grid-template-columns: 1fr; }
  .sobre-card-wrap { max-width: 320px; margin: 0 auto; }
  .servicos-grid { grid-template-columns: 1fr; }
  .featured-card { grid-column: span 1; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .depoimentos-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile (≤768px) ────────────────────────────────────────── */
@media (max-width: 768px) {

  /* NAVBAR — mobile menu */
  .navbar { top: 30px; padding: 0 1rem; }
  .navbar.scrolled { top: 0; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0.5rem 0 1.5rem;
    z-index: 999;
  }
  .navbar.menu-open .nav-links { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  /* CTA button inside mobile menu */
  .navbar.menu-open::after {
    content: '';
    display: none;
  }

  .btn-nav { display: none; }
  .hamburger { display: flex; margin-left: auto; }

  /* Hamburger → X animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* TOP BAR */
  .top-bar { font-size: 0.78rem; padding: 7px 1rem; line-height: 1.4; }
  .top-bar .tb-sub { display: none; }

  /* SECTION PADDING */
  .section-container { padding: 3.5rem 1.25rem; }

  /* HERO */
  .hero-container { padding-top: 5rem; gap: 2rem; }
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 0.92rem; }
  .hero-badge { font-size: 0.74rem; padding: 0.4rem 0.9rem; }
  .hero-image-card { width: 240px; height: 290px; }
  .fb1 { display: none; }
  .fb2 { left: -10px; bottom: 60px; font-size: 0.75rem; padding: 0.5rem 0.8rem; }
  .hero-actions { flex-direction: column; align-items: center; gap: 0.75rem; width: 100%; }
  .btn-primary { width: 100%; max-width: 320px; justify-content: center; }
  .btn-ghost { width: 100%; max-width: 320px; justify-content: center; text-align: center; }
  .hero-stats { gap: 1.25rem; flex-wrap: wrap; }

  /* TRUST BAR */
  .trust-container { gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
  .trust-item { flex-direction: column; gap: 0.25rem; font-size: 0.72rem; }
  .trust-item span { display: block; }

  /* SOBRE */
  .sobre-card-wrap { max-width: 100%; }

  /* SERVIÇOS — redundante mas garante override */
  .servicos-grid { grid-template-columns: 1fr !important; }
  .featured-card { grid-column: span 1 !important; }

  /* RESULTADOS */
  .results-grid { grid-template-columns: 1fr; }

  /* DEPOIMENTOS */
  .depoimentos-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-locations { flex-direction: column; align-items: center; }
  .btn-primary.large { width: 100%; max-width: 320px; justify-content: center; }
  .maps-container { flex-direction: column; max-width: 100%; }
  .map-block { flex: none; width: 100%; }

  /* FOOTER */
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Small phones (≤480px) ──────────────────────────────────── */
@media (max-width: 480px) {
  .section-container { padding: 3rem 1rem; }
  .hero-image-card { width: 200px; height: 240px; }
  .hero-title { font-size: 1.8rem; }
  .fb2 { display: none; }
  .hero-stats { gap: 0.75rem; }
  .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .cta-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
}
