/* ============================================================
   LUMIÈRE ODONTOLOGIA — Premium Dental Landing Page
   Design tokens: warm ivory / deep charcoal / delicate bordeaux
   Fonts: Cormorant Garamond (display) + Manrope (body)
   ============================================================ */

/* --- CUSTOM FONT: AMORESA (salve o arquivo em dental-premium/fonts/) --- */
@font-face {
  font-family: 'Amoresa';
  src: url('../fonts/amoresa.woff2') format('woff2'),
       url('../fonts/amoresa.otf') format('opentype'),
       url('../fonts/amoresa.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: auto; /* Lenis handles smooth scroll */ }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-on-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- DESIGN TOKENS --- */
:root {
  /* Palette — rich bordeaux + warm neutrals */
  --bg-warm: #F5EDEE;
  --bg-ivory: #FBF6F7;
  --bg-dark: #F4E9EB;
  --bg-charcoal: #EAD9DD;
  --bg-accent: #9C3355;
  --bordeaux: #8B2346;
  --bordeaux-light: #B84A6E;
  --bordeaux-hover: #6A1733;
  --gold-accent: #C8A96E;
  --text-on-light: #1A1416;
  --text-on-dark: #2B141C;
  --text-muted: #7A686D;
  --text-muted-dark: #8A6B74;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Manrope', 'Helvetica Neue', sans-serif;
  --font-script: 'Amoresa', 'Great Vibes', 'Cormorant Garamond', cursive;

  /* Spacing */
  --section-pad: 5vw;
}

::selection {
  background: var(--bordeaux-light);
  color: #fff;
}

/* --- LOADER --- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-brand {
  font-family: var(--font-script);
  font-size: 5rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--bordeaux);
  text-align: center;
  line-height: 1;
  padding: 0 1rem;
  text-shadow: 0 0 60px rgba(139, 35, 70, 0.3);
}
.loader-bar-track {
  width: 200px;
  height: 1px;
  background: rgba(139, 35, 70, 0.14);
  border-radius: 1px;
  overflow: hidden;
}
#loader-bar {
  width: 0%;
  height: 100%;
  background: var(--bordeaux);
  transition: width 0.15s ease;
}
#loader-percent {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted-dark);
}

/* --- HEADER --- */
/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 2 * var(--section-pad));
  max-width: 1200px;
  background: rgba(252, 246, 247, 0.6);
  backdrop-filter: blur(20px) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.05);
  border: 1px solid rgba(139, 35, 70, 0.1);
  border-radius: 40px;
  padding: 0.9rem 2.5rem;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 16px 40px rgba(120, 40, 66, 0.14);
  transition: 
    top 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.site-header.scrolled {
  top: 1rem;
  padding: 0.6rem 2rem;
  background: rgba(252, 246, 247, 0.82);
  border-color: rgba(139, 35, 70, 0.18);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 20px 48px rgba(120, 40, 66, 0.18);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.06),
    transparent 50%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.site-header:hover::before {
  opacity: 1;
}
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 40px;
  padding: 1px;
  background: radial-gradient(
    200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.08) 30%,
    transparent 70%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.site-header:hover::after {
  opacity: 1;
}
.site-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 3;
}
.logo {
  font-family: var(--font-script);
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--bordeaux-light);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  display: inline-block;
  text-shadow: 0 0 30px rgba(139, 35, 70, 0.2);
}
/* Real monogram image — multiply drops the white background on the light theme */
.logo-img {
  height: 2.5rem;
  width: auto;
  display: block;
}
.loader-logo {
  width: min(230px, 60vw);
  height: auto;
  display: block;
  margin: 0 auto;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.nav-links a:hover { opacity: 0.6; }
.nav-cta {
  border: 1px solid rgba(139, 35, 70, 0.45) !important;
  background: rgba(139, 35, 70, 0.06) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.6rem 1.5rem !important;
  border-radius: 20px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  color: var(--bordeaux) !important;
}
.nav-cta:hover {
  background: var(--bordeaux) !important;
  color: var(--bg-dark) !important;
  border-color: var(--bordeaux) !important;
  transform: scale(1.03);
  opacity: 1 !important;
  box-shadow: 0 4px 15px rgba(122, 31, 61, 0.3) !important;
}

/* --- HAMBURGER + MOBILE MENU --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--bordeaux);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}
.site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 95;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(244, 233, 235, 0.98);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--text-on-dark);
  text-decoration: none;
  transition: color 0.25s ease;
}
.mobile-menu a:hover, .mobile-menu a:active { color: var(--bordeaux); }
.mobile-menu .mobile-cta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--bordeaux);
  padding: 1rem 2.6rem;
  border-radius: 30px;
  margin-top: 1rem;
  box-shadow: 0 8px 20px rgba(139, 35, 70, 0.28);
}
.mobile-menu .mobile-cta:hover, .mobile-menu .mobile-cta:active { color: #fff; background: var(--bordeaux-hover); }

/* --- HERO STANDALONE --- */
.hero-standalone {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: var(--section-pad);
  padding-right: 50vw;
  /* clear the fixed header so the label never collides with the logo */
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: var(--bg-dark);
  z-index: 10;
  overflow: hidden;
}
.hero-standalone::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(139, 35, 70, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(139, 35, 70, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }

/* Hero portrait on the right, blended into the dark ground */
.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(0.95) contrast(1.02);
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg-dark) 0%, rgba(244, 233, 235, 0.65) 22%, transparent 55%),
    linear-gradient(0deg, var(--bg-dark) 0%, transparent 22%),
    linear-gradient(180deg, var(--bg-dark) 0%, transparent 18%);
}

.hero-cta {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 35, 70, 0.92), rgba(106, 23, 51, 0.92));
  padding: 1.15rem 2.8rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 6px 20px rgba(139, 35, 70, 0.3),
    0 1px 3px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 10px 25px rgba(122, 31, 61, 0.35);
}
.hero-standalone .section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bordeaux-light);
  margin-bottom: 2rem;
}
.hero-standalone .section-label::before {
  display: none;
}
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 7.5vw, 7rem);
  font-weight: 300;
  line-height: 0.96;
  color: var(--text-on-dark);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
.hero-heading .word {
  display: inline-block;
  margin-right: 0.3em;
}
.hero-heading .word.em {
  font-style: italic;
  color: var(--bordeaux-light);
}
.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(43, 20, 28, 0.72);
  max-width: 34ch;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: var(--section-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted-dark);
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* --- CANVAS WRAP --- */
.canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  clip-path: circle(0% at 50% 50%);
  overflow: hidden;
}
/* Parallax layer for image */
.parallax-image-layer {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
}
.parallax-image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.98) saturate(1);
}

/* --- DARK OVERLAY --- */
#dark-overlay {
  position: fixed;
  inset: 0;
  z-index: 3;
  background: var(--bordeaux);
  opacity: 0;
  pointer-events: none;
}

/* --- MARQUEE --- */
.marquee-wrap {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 4;
  transform: translateY(-50%);
  width: 100%;
  pointer-events: none;
  opacity: 0;
  overflow: visible;
}
.marquee-text {
  font-family: var(--font-display);
  font-size: 12vw;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--bordeaux-light);
  text-stroke: 1px var(--bordeaux-light);
  white-space: nowrap;
  will-change: transform;
  line-height: 1;
}

/* --- SCROLL CONTAINER --- */
#scroll-container {
  position: relative;
  width: 100%;
  height: 650vh;
  z-index: 5;
}

/* --- SCROLL SECTIONS --- */
.scroll-section {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 100vh;
  pointer-events: none;
  opacity: 0;
}
.scroll-section.active { pointer-events: auto; }

/* Side alignment */
.align-left {
  padding-left: var(--section-pad);
  padding-right: 55vw;
  justify-content: flex-start;
}
.align-right {
  padding-left: 55vw;
  padding-right: var(--section-pad);
  justify-content: flex-end;
}
.align-left .section-inner,
.align-right .section-inner {
  max-width: 42vw;
  background: rgba(252, 246, 247, 0.86);
  backdrop-filter: blur(30px) saturate(170%) brightness(0.92);
  -webkit-backdrop-filter: blur(30px) saturate(170%) brightness(0.92);
  border: 1px solid rgba(139, 35, 70, 0.12);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 24px 60px rgba(120, 40, 66, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s ease;
}

.align-left .section-inner:hover,
.align-right .section-inner:hover {
  transform: translateY(-4px);
  background: rgba(255, 251, 252, 0.94);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 32px 70px rgba(120, 40, 66, 0.2);
}

.align-left .section-inner::before,
.align-right .section-inner::before,
.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.05),
    transparent 50%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.align-left .section-inner:hover::before,
.align-right .section-inner:hover::before,
.cta-inner:hover::before {
  opacity: 1;
}

.align-left .section-inner::after,
.align-right .section-inner::after,
.cta-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.08) 35%,
    transparent 70%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.align-left .section-inner:hover::after,
.align-right .section-inner:hover::after,
.cta-inner:hover::after {
  opacity: 1;
}

.section-inner > *,
.cta-inner > * {
  position: relative;
  z-index: 3;
}

/* Section typography */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bordeaux-light);
  margin-bottom: 1.5rem;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--bordeaux);
  opacity: 0.5;
  flex-shrink: 0;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  margin-bottom: 1.5rem;
}
.section-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(43, 20, 28, 0.75);
  max-width: 38ch;
}

/* Section images */
.section-image {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  max-width: 100%;
  border: 1px solid rgba(139, 35, 70, 0.1);
}
.section-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.85) brightness(0.95);
  transition: filter 0.6s ease, transform 0.6s ease;
}
.section-image:hover img {
  filter: saturate(1.05) brightness(1);
  transform: scale(1.02);
}

/* --- REVIEWS SECTION --- */
.section-stats {
  justify-content: center;
  text-align: center;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 0 var(--section-pad);
  max-width: 1300px;
  margin: 0 auto;
}
.reviews-label {
  grid-column: 1 / -1;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 1.5rem;
}
.review {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  text-align: left;
  background: rgba(252, 246, 247, 0.84);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(139, 35, 70, 0.12);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 24px rgba(120, 40, 66, 0.12);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.review:hover {
  transform: translateY(-5px);
  background: rgba(255, 251, 252, 0.94);
  border-color: rgba(139, 35, 70, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 12px 28px rgba(120, 40, 66, 0.16);
}
.review::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: radial-gradient(
    140px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.22),
    transparent 70%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.review:hover::after { opacity: 1; }
.review > * { position: relative; z-index: 3; }
.review-stars {
  color: var(--gold-accent);
  letter-spacing: 0.18em;
  font-size: 0.9rem;
}
.review-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(43, 20, 28, 0.86);
  flex: 1;
}
.review-name {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bordeaux-light);
}
.review-name::before {
  content: '— ';
  color: var(--text-muted-dark);
}

/* --- CTA SECTION --- */
.section-cta {
  justify-content: center;
  text-align: center;
  flex-direction: column;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 650px;
  background: rgba(252, 246, 247, 0.86);
  backdrop-filter: blur(30px) saturate(170%) brightness(0.92);
  -webkit-backdrop-filter: blur(30px) saturate(170%) brightness(0.92);
  border: 1px solid rgba(139, 35, 70, 0.12);
  border-radius: 28px;
  padding: 4rem 3rem;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 24px 60px rgba(120, 40, 66, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cta-inner:hover {
  transform: translateY(-4px);
  background: rgba(255, 251, 252, 0.94);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 32px 70px rgba(120, 40, 66, 0.2);
}
.cta-inner .section-heading {
  text-align: center;
}
.cta-inner .section-body {
  text-align: center;
  max-width: 45ch;
}
.cta-button {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 35, 70, 0.88), rgba(106, 23, 51, 0.88));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.15rem 3rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 6px 20px rgba(139, 35, 70, 0.25);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}
.cta-button:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, rgba(122, 31, 61, 0.95), rgba(92, 20, 43, 0.95));
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 10px 25px rgba(122, 31, 61, 0.35);
  border-color: rgba(255, 255, 255, 0.4);
}
.cta-button:active {
  transform: translateY(1px) scale(0.98);
}
.cta-contact {
  display: flex;
  gap: 2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted-dark);
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

/* --- FOOTER --- */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 3.5rem var(--section-pad) 2rem;
  background: var(--bg-dark);
  border-top: 1px solid rgba(139, 35, 70, 0.12);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.5fr;
  gap: 2.5rem;
  align-items: start;
}
.footer-col { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  color: var(--text-on-dark);
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.footer-head {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bordeaux);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.footer-line {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  line-height: 1.55;
}
.footer-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--bordeaux);
  text-decoration: none;
  margin-top: 0.35rem;
  transition: color 0.25s ease;
  cursor: pointer;
}
.footer-link:hover { color: var(--bordeaux-hover); text-decoration: underline; }
.footer-map {
  height: 190px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(139, 35, 70, 0.14);
  box-shadow: 0 12px 30px rgba(120, 40, 66, 0.12);
}
.footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(139, 35, 70, 0.1);
  text-align: center;
}
.footer-copy {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--text-muted-dark);
  letter-spacing: 0.05em;
  opacity: 0.85;
}

/* --- GRAIN OVERLAY --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
  mix-blend-mode: overlay;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .site-header {
    width: 92%;
    padding: 0.7rem 1.5rem;
    top: 1rem;
  }
  .hero-standalone {
    padding-right: var(--section-pad);
    align-items: center;
    text-align: center;
  }
  .hero-heading {
    font-size: clamp(2rem, 8.5vw, 4rem);
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-tagline { max-width: 34ch; margin-left: auto; margin-right: auto; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
  /* On phones the portrait sits behind the text as a soft backdrop */
  .hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
  }
  .hero-photo {
    width: 100%;
    opacity: 0.28;
  }
  .hero-photo::after {
    background:
      linear-gradient(180deg, rgba(244, 233, 235, 0.55) 0%, rgba(244, 233, 235, 0.8) 100%);
  }

  .align-left,
  .align-right {
    padding-left: var(--section-pad);
    padding-right: var(--section-pad);
    justify-content: center;
  }
  .align-left .section-inner,
  .align-right .section-inner {
    max-width: 90vw;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .section-heading { font-size: clamp(2rem, 8vw, 3rem); }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding: 0 1.5rem;
  }
  .review {
    padding: 1.5rem 1.3rem;
  }
  .review-text { font-size: 1.05rem; }

  #scroll-container { height: 600vh; }
  .marquee-text { font-size: 18vw; }

  .cta-inner {
    padding: 2.5rem 1.5rem;
    max-width: 90vw;
  }
  .cta-contact { flex-direction: column; gap: 0.5rem; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; text-align: center; }
  .footer-col { align-items: center; }
  .footer-map { height: 200px; }
}

/* ============================================================
   MODAL DE AGENDAMENTO
   ============================================================ */
.booking-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(244, 233, 235, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.booking-modal {
  background: rgba(252, 246, 247, 0.97);
  border: 1px solid rgba(139, 35, 70, 0.14);
  box-shadow: 0 20px 50px rgba(120, 40, 66, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  padding: 3rem;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-on-dark);
}

.booking-modal-overlay.active .booking-modal {
  transform: translateY(0) scale(1);
}

.booking-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted-dark);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease;
}

.booking-modal-close:hover {
  color: var(--text-on-dark);
}

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

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted-dark);
}

.form-group input,
.form-group select {
  background: rgba(139, 35, 70, 0.05);
  border: 1px solid rgba(139, 35, 70, 0.22);
  padding: 1rem;
  border-radius: 8px;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--bordeaux-light);
  background: rgba(139, 35, 70, 0.09);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239E8A90' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

.form-group select option {
  background: var(--bg-charcoal);
  color: var(--text-on-dark);
}

@media (max-width: 768px) {
  .booking-modal {
    padding: 2rem 1.5rem;
  }
}
