/* ========================================
   DR. RANIERE SOUSA — LANDING PAGE V2 LIGHT
   ======================================== */

:root {
  /* Paleta Rapport */
  --carvao: #000000;
  --marmore: #f5f6ec;
  --telha: #ca5324;
  --oceano: #111acc;
  --limao: #ebfc9d;
  --violeta: #b537e0;
  --oliva: #4d7040;
  --musgo: #7e662c;

  /* === PALETA FUNCIONAL — BASE CLARA === */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f6ec;
  --bg-tertiary: #eceee2;
  --bg-dark: #0a0a0a;
  --bg-accent: #111acc;

  --text-primary: #0a0a0a;
  --text-secondary: rgba(0, 0, 0, 0.55);
  --text-on-dark: #f5f6ec;
  --text-on-dark-secondary: rgba(245, 246, 236, 0.6);

  --accent-primary: #ca5324;
  --accent-hover: #b5491f;
  --accent-secondary: #ca5324;
  --accent-subtle: rgba(202, 83, 36, 0.08);

  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.06);
  --card-hover-border: rgba(0, 0, 0, 0.12);
  --card-hover-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);

  --divider: rgba(0, 0, 0, 0.08);

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.06);

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-cta: 0 6px 24px rgba(202, 83, 36, 0.2);
  --shadow-cta-hover: 0 8px 32px rgba(202, 83, 36, 0.35);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Shiny CTA */
  --shiny-cta-bg: var(--accent-primary);
  --shiny-cta-color: #ffffff;
  --shiny-cta-glow: rgba(202, 83, 36, 0.25);
  --shiny-cta-glow-hover: rgba(202, 83, 36, 0.4);
}

/* --- Cookie Banner (LGPD) --- */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 1200;
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  padding: 20px 22px;
  display: none;
  animation: cookieSlideUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cookie-banner.visible { display: block; }
@keyframes cookieSlideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.cookie-banner-text {
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
  color: var(--text-primary);
}
.cookie-banner-text a {
  color: var(--accent-primary);
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--card-border);
}
.cookie-btn-reject {
  background: transparent;
  color: var(--text-primary);
}
.cookie-btn-reject:hover { background: var(--bg-secondary); }
.cookie-btn-accept {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}
.cookie-btn-accept:hover { background: var(--accent-hover); }
@media (min-width: 768px) {
  .cookie-banner {
    left: auto;
    right: 24px;
    bottom: 24px;
    max-width: 440px;
    padding: 24px 26px;
  }
  .cookie-banner-actions { justify-content: flex-end; }
}

/* --- Skip to content --- */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--text-primary);
  color: var(--text-on-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 12px;
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-primary);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 10000;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  border-bottom: 1px solid transparent;
}

.navbar.visible {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--glass-bg);
  border-bottom-color: var(--glass-border);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.navbar-cta-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.navbar-cta-desktop {
  display: none !important;
}

/* --- Shiny CTA (identidade Raniere) --- */
@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.shiny-cta {
  --shiny-cta-bg: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  padding: 1.1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--shiny-cta-color);
  background: linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
              conic-gradient(from var(--gradient-angle), var(--accent-primary), transparent 40%, #ffffff 50%, transparent 60%, var(--accent-primary)) border-box;
  border: 2px solid transparent;
  border-radius: 360px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px var(--shiny-cta-glow);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
  animation: shiny-rotate 3s linear infinite;
}

.shiny-cta:hover {
  box-shadow: 0 6px 30px var(--shiny-cta-glow-hover);
  transform: translateY(-2px);
}

.shiny-cta .cta-arrow {
  transition: transform 0.3s ease;
}

.shiny-cta:hover .cta-arrow {
  transform: translateX(4px);
}

@keyframes shiny-rotate {
  0% { --gradient-angle: 0deg; }
  100% { --gradient-angle: 360deg; }
}

.shiny-cta-small {
  padding: 0.7rem 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 1.2px;
}

.shiny-cta-large {
  padding: 1.3rem 3rem;
  font-size: 0.92rem;
  letter-spacing: 1.8px;
}

/* On dark sections, adjust the bg */
.section-ocean .shiny-cta {
  --shiny-cta-bg: var(--accent-primary);
}

.section-dark .shiny-cta {
  --shiny-cta-bg: var(--accent-primary);
}

/* --- Labels (underline bar style — identidade Raniere) --- */
.label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  color: var(--accent-secondary);
  background: none;
  padding: 0;
  border-radius: 0;
}

.label::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-secondary);
  border-radius: 2px;
}

/* Centered labels */
[style*="text-align: center"] .label,
.label-center {
  align-items: center;
}

/* Label on dark sections */
.section-dark .label {
  color: rgba(245, 246, 236, 0.7);
}

.section-dark .label::after {
  background: rgba(245, 246, 236, 0.2);
}

.section-ocean .label {
  color: rgba(245, 246, 236, 0.7);
}

.section-ocean .label::after {
  background: rgba(245, 246, 236, 0.2);
}

/* --- Container --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 680px; }
.container-narrow-md { max-width: 800px; }

/* --- Section base --- */
.section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.section-primary { background: var(--bg-primary); color: var(--text-primary); }
.section-secondary { background: var(--bg-secondary); color: var(--text-primary); }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-ocean { background: var(--bg-accent); color: var(--text-on-dark); }

.section-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw + 0.5rem, 3.2rem);
  font-weight: normal;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.section-dark .section-headline,
.section-ocean .section-headline {
  color: var(--text-on-dark);
}

.section-sub {
  font-size: clamp(1.05rem, 1.2vw + 0.5rem, 1.25rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.section-dark .section-sub { color: var(--text-on-dark-secondary); }
.section-ocean .section-sub { color: rgba(245, 246, 236, 0.75); }

.section-divider {
  width: 100%;
  height: 1px;
  background: var(--divider);
  margin: 28px 0 40px;
  transform-origin: left;
}

.section-dark .section-divider { background: rgba(245, 246, 236, 0.08); }

.section-cta { margin-top: 48px; text-align: center; }
.section-cta-procedures { margin-top: 72px; }
@media (min-width: 768px) { .section-cta-procedures { margin-top: 88px; } }

/* --- Headline mask --- */
.headline-mask { overflow: hidden; padding-bottom: 4px; }

/* --- Text Block --- */
.text-block p { margin-bottom: 20px; color: var(--text-secondary); }
.text-block p:last-child { margin-bottom: 0; }

/* --- Image Placeholder --- */
.image-placeholder {
  background: #e8e9df;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  width: 100%;
  overflow: hidden;
}

.section-dark .image-placeholder,
.image-placeholder-dark {
  background: #1a1a1a;
  color: rgba(245, 246, 236, 0.25);
}

/* --- Decorative Elements --- */
.deco-arc {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero-deco {
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.deco-arc-about {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
}

.deco-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
  opacity: 0.025;
  pointer-events: none;
}

.deco-glow-hero { top: -200px; right: -200px; }

.deco-glow-cta {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #ffffff 0%, transparent 70%);
  opacity: 0.05;
}

.deco-line {
  position: absolute;
  width: 1px;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--accent-secondary), transparent);
  opacity: 0.08;
  transform: rotate(15deg);
  pointer-events: none;
  z-index: 0;
}

.deco-line-1 { top: 25%; left: 5%; }
.deco-line-2 { top: 60%; right: 8%; transform: rotate(-12deg); }

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw + 1rem, 5rem);
  font-weight: normal;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.2vw + 0.5rem, 1.25rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--accent-subtle);
  border: 1px solid rgba(202, 83, 36, 0.12);
  padding: 8px 18px;
  border-radius: 50px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-cta-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

.hero-visual {
  position: relative;
  width: 100%;
}

.hero-img-wrapper { position: relative; z-index: 1; }

.hero-img {
  border-radius: 0 24px 0 24px;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ========================================
   JOURNEY (3 Steps)
   ======================================== */
.journey-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}

.journey-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--accent-secondary);
  border-radius: 0 12px 12px 0;
  padding: 32px;
}

.journey-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent-secondary);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}

.journey-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: normal;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.journey-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.journey-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
  transform: rotate(90deg);
  height: 40px;
}

.journey-connector-svg { width: 40px; height: 4px; }

/* ========================================
   BEFORE / AFTER SLIDER
   ======================================== */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ba-before, .ba-after { width: 100%; }
.ba-before { position: relative; }

.ba-after {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  clip-path: inset(0 50% 0 0);
}

.ba-after .image-placeholder { height: 100%; aspect-ratio: auto; }

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.ba-handle-line { flex: 1; width: 2px; background: var(--text-primary); }
.section-secondary .ba-handle-line { background: var(--text-primary); }

.ba-handle-knob {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-primary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.ba-caption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 12px;
}

/* ========================================
   PROCEDURE CARDS
   ======================================== */
.procedures-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--accent-secondary);
  border-radius: 0 12px 12px 0;
  padding: 0;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--card-hover-border);
  border-left-color: var(--accent-primary);
  box-shadow: var(--card-hover-shadow);
}

.card-img { overflow: hidden; }
.card-img .image-placeholder { border-radius: 0; }

.card-body { padding: 24px; }

.card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: normal;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   ABOUT
   ======================================== */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.about-image { width: 100%; max-width: 400px; }
.about-img {
  border-radius: 0 24px 0 24px;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.about-content { flex: 1; }

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--divider);
  align-items: flex-start;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--divider);
  align-self: center;
  display: none;
}

.stat-item { display: flex; flex-direction: column; gap: 4px; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-primary);
  line-height: 1;
}

.stat-text-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ========================================
   DIFFERENTIALS
   ======================================== */
/* Legado — mantido pra compatibilidade, atualmente não usado */
.differentials-list { display: flex; flex-direction: column; }
.differential-item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--divider);
}
.differential-item:first-child { padding-top: 0; }
.differential-arrow {
  font-size: 1.25rem;
  color: var(--accent-secondary);
  flex-shrink: 0;
  line-height: 1.4;
}
.differential-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: normal;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.differential-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Diferenciais — grid editorial */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--divider);
}

.diff-card {
  position: relative;
  padding: 28px 0 28px;
  border-bottom: 1px solid var(--divider);
  transition: background 0.35s ease;
}

.diff-card-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent-primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--accent-primary);
}

.diff-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.diff-card-text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* Tablet e desktop: 2 colunas x 3 linhas — garante espaço pros títulos respirarem */
@media (min-width: 640px) {
  .diff-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .diff-card {
    padding: 36px 32px 36px;
    border-right: 1px solid var(--divider);
  }
  .diff-card:nth-child(2n) { border-right: none; }
  .diff-card:nth-last-child(-n+2) { border-bottom: none; }
  .diff-card-title { font-size: 1.3rem; }
}

@media (min-width: 1024px) {
  .diff-card {
    padding: 44px 44px 44px;
  }
  .diff-card-title { font-size: 1.4rem; }
}

/* ========================================
   TESTIMONIALS (dark section)
   ======================================== */
.testimonials-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--accent-primary);
  border-radius: 0 12px 12px 0;
  padding: 28px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.testimonial-stars {
  color: #f5c518;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-on-dark-secondary);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonial-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.testimonial-time {
  font-size: 0.75rem;
  color: var(--text-on-dark-secondary);
}

/* ========================================
   FAQ
   ======================================== */
.faq-list { display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid var(--divider); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  transition: color 0.3s;
}

.faq-question:hover { color: var(--accent-secondary); }

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.4s ease;
  color: var(--accent-secondary);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1), padding 0.5s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
   CTA FINAL
   ======================================== */
.section-ocean { padding: 100px 0; }

.cta-info { margin-top: 72px; }
@media (min-width: 768px) { .cta-info { margin-top: 88px; } }
.cta-info p {
  color: var(--text-on-dark-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ========================================
   FOOTER (dark)
   ======================================== */
.footer {
  background: var(--bg-dark);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(245, 246, 236, 0.08);
  color: var(--text-on-dark);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  display: block;
  color: var(--text-on-dark);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-on-dark-secondary);
  display: block;
  margin-bottom: 20px;
}

.footer-address p,
.footer-contact p {
  font-size: 0.85rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.6;
}

.footer-contact { margin-top: 12px; }

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

.footer-social a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-on-dark-secondary);
  transition: color 0.3s;
}

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

.footer-map { width: 100%; }
.footer-map iframe { width: 100%; height: 240px; border: 0; border-radius: 12px; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 246, 236, 0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.7rem;
  color: rgba(245, 246, 236, 0.35);
  line-height: 1.8;
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-cta);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-cta-hover);
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  opacity: 0;
  animation: waPulse 2.5s ease-out infinite;
}

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

/* ========================================
   LOADER
   ======================================== */
.loader {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

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

.loader-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: #f5f6ec;
  letter-spacing: 0.12em;
  animation: loaderPulse 1.4s ease-in-out infinite;
}

.loader-title {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent-primary);
  animation: loaderPulse 1.4s ease-in-out infinite 0.2s;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.2; }
  50%       { opacity: 1; }
}

/* ========================================
   ANIMATED GRID BACKGROUND
   ======================================== */
.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.grid-bg svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* ========================================
   AMBIENT GLOW + HERO DECO ANIMATIONS
   ======================================== */
@keyframes glowBreath {
  0%, 100% { opacity: 0.025; }
  50%       { opacity: 0.055; }
}

.deco-glow-hero {
  animation: glowBreath 9s ease-in-out infinite;
}

@keyframes glowBreathCTA {
  0%, 100% { opacity: 0.04; }
  50%       { opacity: 0.09; }
}

.deco-glow-cta {
  animation: glowBreathCTA 9s ease-in-out infinite 3s;
}

@keyframes heroDeco {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.9; }
  50%       { transform: translate(-50%, -50%) scale(1.06); opacity: 0.55; }
}

.hero-deco {
  animation: heroDeco 14s ease-in-out infinite;
}

/* ========================================
   RESPONSIVE — Tablet (768px+)
   ======================================== */
@media (min-width: 768px) {
  .container { padding: 0 40px; }
  .navbar-inner { padding: 14px 40px; }
  .section { padding: 120px 0; }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    padding: 0 40px;
    gap: 40px;
  }

  .hero-content { flex: 0 0 55%; }
  .hero-visual { flex: 0 0 40%; }

  .navbar-cta-mobile { display: none !important; }
  .navbar-cta-desktop { display: inline-flex !important; }

  .ba-grid { grid-template-columns: 1fr 1fr; }
  .procedures-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .about-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }

  .about-image { flex: 0 0 40%; max-width: none; }
  .stat-divider { display: block; }

  .journey-grid { flex-direction: row; align-items: stretch; }
  .journey-card { flex: 1; }

  .journey-connector {
    transform: none;
    height: auto;
    padding: 0;
    align-self: center;
    width: 60px;
    flex-shrink: 0;
  }

  .journey-connector-svg { width: 100%; height: 4px; }
  .testimonial-card { flex: 0 0 calc(50% - 10px); }
}

/* ========================================
   RESPONSIVE — Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  .container { padding: 0 80px; }
  .navbar-inner { padding: 14px 80px; }
  .section { padding: 140px 0; }
  .hero-inner { padding: 0 80px; }
  .hero-content { flex: 0 0 55%; }
  .hero-visual { flex: 0 0 38%; }

  .footer-grid { flex-direction: row; gap: 60px; }
  .footer-info { flex: 1; }
  .footer-map { flex: 0 0 400px; }
  .footer-map iframe { height: 280px; }

  .testimonial-card { flex: 0 0 calc(33.333% - 14px); }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 767px) {
  .deco-line { display: none; }
  .deco-arc { width: 300px; height: 300px; }
  .deco-glow { width: 300px; height: 300px; }
}

/* ========================================
   CASOS — GRID DE CARDS
   ======================================== */
.casos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 8px;
}

.caso-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.4s;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.caso-card:hover,
.caso-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--card-hover-border);
  box-shadow: var(--card-hover-shadow);
  outline: none;
}

.caso-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.caso-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease, transform 0.8s ease;
}

.caso-card-before { opacity: 1; }
.caso-card-after {
  opacity: 0;
  transform: scale(1.02);
}

.caso-card:hover .caso-card-before,
.caso-card:focus-visible .caso-card-before { opacity: 0; }

.caso-card:hover .caso-card-after,
.caso-card:focus-visible .caso-card-after {
  opacity: 1;
  transform: scale(1);
}

.caso-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 10, 10, 0.82);
  color: var(--text-on-dark);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}

.caso-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.caso-card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.caso-card-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 2px 0 0;
}

.caso-card-title {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.caso-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  transition: gap 0.3s ease, color 0.3s;
}

.caso-card:hover .caso-card-more,
.caso-card:focus-visible .caso-card-more {
  gap: 10px;
  color: var(--accent-primary);
}

/* Tablet & desktop columns */
@media (min-width: 640px) {
  .casos-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

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

/* ========================================
   B/A SLIDER — suporte a <img> (além do placeholder)
   ======================================== */
.caso-ba-slider { aspect-ratio: 4/3; }
.caso-ba-slider .ba-before,
.caso-ba-slider .ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Override: "depois" (after) aparece do lado direito, revelado conforme handle se move */
.caso-ba-slider .ba-after {
  clip-path: inset(0 0 0 50%);
}

.caso-ba-slider .ba-before img,
.caso-ba-slider .ba-after img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  top: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.82);
  color: var(--text-on-dark);
  z-index: 5;
  pointer-events: none;
}

.ba-label-before { left: 14px; }
.ba-label-after  { right: 14px; }

/* ========================================
   CASO — MODAL
   ======================================== */
body.modal-open {
  overflow: hidden;
}

.caso-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: stretch;
  justify-content: center;
}

.caso-modal.open {
  display: flex;
  animation: caso-modal-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes caso-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.caso-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.caso-modal-panel {
  position: relative;
  margin: auto;
  width: 100%;
  max-width: 920px;
  max-height: 100dvh;
  background: var(--bg-primary);
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: caso-panel-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes caso-panel-in {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

@media (min-width: 768px) {
  .caso-modal { padding: 32px; }
  .caso-modal-panel {
    max-height: calc(100dvh - 64px);
    border-radius: 20px;
  }
}

.caso-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-primary);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, background 0.2s;
}

.caso-modal-close:hover { transform: scale(1.05); background: var(--bg-secondary); }

.caso-modal-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.caso-modal-content {
  padding: 24px 22px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .caso-modal-content { padding: 40px 48px 56px; gap: 32px; }
}

.caso-modal-header { padding-right: 56px; }

.caso-modal-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.caso-modal-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.caso-modal-name {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.caso-modal-slider .ba-slider {
  aspect-ratio: 4/3;
  max-height: 70dvh;
}

.caso-modal-slider-hint {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}

.caso-modal-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  padding: 20px 22px;
  background: var(--bg-secondary);
  border-radius: 12px;
}

.caso-modal-text p { margin: 0; }

@media (min-width: 768px) {
  .caso-modal-text { padding: 24px 28px; font-size: 1.05rem; }
}

/* Galeria */
.caso-modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.caso-gallery-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0;
  color: var(--text-primary);
}

.caso-gallery-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: -8px 0 4px;
  line-height: 1.5;
}

/* Pares antes/depois lado a lado */
.caso-pairs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.caso-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  background: var(--bg-secondary);
  border-radius: 14px;
}

.caso-pair-thumb {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-tertiary);
  padding: 0;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.caso-pair-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caso-pair-thumb:hover { transform: scale(1.02); }
.caso-pair-thumb:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; }

.caso-pair-label {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.78);
  color: var(--text-on-dark);
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.caso-pair-label-after {
  background: var(--accent-primary);
  color: #fff;
}

@media (min-width: 768px) {
  .caso-pair { gap: 12px; padding: 12px; }
  .caso-pair-label { font-size: 0.68rem; padding: 5px 11px; }
}

/* Sobras (fotos sem par) */
.caso-extras {
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.caso-extras-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  color: var(--text-primary);
}

/* ========================================
   ESPECIALIDADES — CARDS EDITORIAIS (sem foto)
   ======================================== */
.procedures-grid-editorial {
  gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--divider);
}

.spec-card {
  position: relative;
  padding: 32px 4px 32px;
  border-bottom: 1px solid var(--divider);
  transition: background 0.35s ease, padding 0.35s ease;
}

.spec-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.spec-card:hover {
  background: var(--bg-secondary);
  padding-left: 20px;
  padding-right: 20px;
}

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

.spec-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.spec-card-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  font-feature-settings: "lnum";
}

.spec-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-subtle);
  color: var(--accent-primary);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.spec-card:hover .spec-card-icon {
  transform: scale(1.08) rotate(-4deg);
}

.spec-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.spec-card-text {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
  max-width: 52ch;
}

/* Tablet: duas colunas com divisor vertical */
@media (min-width: 640px) {
  .procedures-grid-editorial {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .spec-card {
    padding: 36px 28px;
    border-right: 1px solid var(--divider);
  }
  .spec-card:nth-child(2n) { border-right: none; }
  .spec-card:hover { padding-left: 32px; padding-right: 24px; }
}

/* Desktop: três colunas */
@media (min-width: 1024px) {
  .procedures-grid-editorial {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .spec-card {
    padding: 40px 32px;
    border-right: 1px solid var(--divider);
  }
  .spec-card:nth-child(2n) { border-right: 1px solid var(--divider); }
  .spec-card:nth-child(3n) { border-right: none; }
  .spec-card-number { font-size: 2.8rem; }
  .spec-card-title { font-size: 1.5rem; }
}

.caso-gallery-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.caso-gallery-label {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.caso-gallery-label-after {
  background: var(--accent-primary);
  color: #fff;
}

.caso-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (min-width: 640px) {
  .caso-thumbs { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}

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

.caso-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-tertiary);
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.caso-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caso-thumb:hover { transform: scale(1.03); }
.caso-thumb:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; }

.caso-modal-cta {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

/* ========================================
   LIGHTBOX
   ======================================== */
.caso-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.94);
  padding: 16px;
}

.caso-lightbox.open {
  display: flex;
  animation: caso-modal-in 0.25s ease;
}

.caso-lightbox-figure {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.caso-lightbox-img {
  max-width: 100%;
  max-height: 82dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.caso-lightbox-caption {
  font-size: 0.85rem;
  color: rgba(245, 246, 236, 0.85);
  text-align: center;
}

.caso-lightbox-close,
.caso-lightbox-nav {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.caso-lightbox-close:hover,
.caso-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
}

.caso-lightbox-close { top: 16px; right: 16px; }
.caso-lightbox-prev  { left: 16px;  top: 50%; transform: translateY(-50%); }
.caso-lightbox-next  { right: 16px; top: 50%; transform: translateY(-50%); }

.caso-lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.caso-lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

@media (max-width: 640px) {
  .caso-lightbox-close { top: 12px; right: 12px; width: 42px; height: 42px; }
  .caso-lightbox-nav   { width: 42px; height: 42px; }
  .caso-lightbox-prev  { left: 8px; }
  .caso-lightbox-next  { right: 8px; }
}
