/* srypto.css — Complete Srypto-inspired redesign
   Clínica Figueiredo · Midnight Premium
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

/* ── TOKENS — Titanium palette ── */
:root {
  --bg:         #08080C;
  --bg-raised:  #0E0E14;
  --surface:    #14141C;
  --glass:      rgba(255,255,255,0.03);
  --glass-border: rgba(255,255,255,0.05);
  --text:       #F0EBE0;
  --text-muted: #B8BCC8;
  --text-dim:   #9CA0AE;
  --silver:     #A8ACB8;
  --silver-hi:  #C8CCD6;
  --titanium:   #9CA0AE;
  --titanium-hi: #C8CCD6;
  --accent:     #C9A84C;
  --accent-dim: rgba(201,168,76,0.12);
  --c-success:  #25D366;

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.33, 1, 0.68, 1);

  --container:  1140px;
  --nav-h:      120px;
}

/* ── BASE ── */
html {
  font-size: 20px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.65;
  letter-spacing: -0.003em;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* Grain texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
  position: relative;
  z-index: 1;
}

/* Skip nav */
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 9999;
  padding: 8px 16px; background: var(--gold); color: var(--bg);
  font-size: 0.8rem; font-weight: 500; border-radius: 100px;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── Global reduced-motion guard ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], .s-fade-up, .s-hero-portrait,
  .s-hero-headline .word, .s-hero-strip-item,
  .s-hero-strip-sep, .s-hero-strip-num {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Visually hidden */
.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   NAVIGATION — sparse, pill ghost CTA
   ============================================================ */
.s-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.5s var(--ease), backdrop-filter 0.5s;
}

.s-nav.scrolled {
  background: rgba(11,11,16,0.88);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-bottom: 1px solid var(--glass-border);
}

.s-nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 16px;
}

/* Logo */
.s-nav-logo {
  margin-right: auto;
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
}
.s-nav-logo:hover { opacity: 0.75; }
.s-nav-logo img {
  height: 104px !important;
  width: auto !important;
  max-width: none !important;
}

/* Center links */
.s-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.s-nav-links a {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.3s;
  white-space: nowrap;
}
.s-nav-links a {
  padding: 12px 4px;
}
.s-nav-links a:hover,
.s-nav-links a.active { color: var(--text); }
.s-nav-links a:focus-visible,
.s-nav-cta:focus-visible,
.s-nav-icon:focus-visible,
.s-nav-hamburger:focus-visible,
.s-nav-lang span:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Right utility */
.s-nav-util {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.s-nav-lang {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  display: flex;
  gap: 6px;
  align-items: center;
}
.s-nav-lang span { opacity: 0.5; transition: opacity 0.25s, color 0.25s; cursor: pointer; padding: 10px 6px; min-height: 44px; display: inline-flex; align-items: center; }
.s-nav-lang span.active { opacity: 1; color: var(--text); font-weight: 500; }
.s-nav-lang-sep { opacity: 0.2; }

.s-nav-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color 0.3s;
}
.s-nav-icon:hover { color: var(--text); }

/* Ghost pill CTA — clean glass */
.s-nav-cta {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid rgba(201,168,76,0.25);
  background: rgba(201,168,76,0.06);
  padding: 13px 28px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 100px;
  transition: border-color 0.3s, background 0.3s, transform 0.25s var(--ease);
  white-space: nowrap;
}
.s-nav-cta:hover {
  border-color: rgba(201,168,76,0.55);
  background: rgba(201,168,76,0.14);
  transform: translateY(-1px);
}

/* Hamburger */
.s-nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
}
.s-nav-hamburger span {
  display: block; width: 100%; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.s-nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.s-nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.s-nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   SCROLL-SYNC VIDEO INTRO
   ============================================================ */
.s-scroll-video {
  position: relative;
  width: 100%;
  /* Scroll distance: 250vh gives ~1.5x viewport of scroll for the full video duration */
  height: 250vh;
  background: var(--bg);
  z-index: 1;
}

.s-scroll-video-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-scroll-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  will-change: auto;
}

.s-scroll-video-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(8,8,12,0.35) 70%, rgba(8,8,12,0.75) 100%),
    linear-gradient(to bottom, rgba(8,8,12,0.45) 0%, transparent 25%, transparent 70%, var(--bg) 100%);
}

.s-scroll-video-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(24px, 5vw, 64px);
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
}

.s-scroll-video-eyebrow {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.s-scroll-video-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #F0EBE0;
  text-shadow: 0 4px 32px rgba(0,0,0,0.6);
}
.s-scroll-video-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.s-scroll-video-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,235,224,0.7);
  margin-top: clamp(20px, 3vw, 36px);
  animation: sScrollHint 2.4s ease-in-out infinite;
}
.s-scroll-video-hint svg {
  animation: sScrollHintArrow 2.4s ease-in-out infinite;
}

@keyframes sScrollHint {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}
@keyframes sScrollHintArrow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .s-scroll-video-hint,
  .s-scroll-video-hint svg { animation: none !important; }
}

/* ============================================================
   HERO — centered text, stat strip, clean
   ============================================================ */
.s-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Fade-to-black transition at the bottom of hero → next section */
.s-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, var(--bg, #0A0A0F) 100%);
}

.s-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg);
}

.s-hero-portrait {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 58%;
  max-width: 960px;
  object-fit: cover;
  object-position: center right;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 18%, rgba(0,0,0,0.85) 42%, #000 65%),
    linear-gradient(to bottom, #000 0%, #000 55%, rgba(0,0,0,0.5) 80%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 18%, rgba(0,0,0,0.85) 42%, #000 65%),
    linear-gradient(to bottom, #000 0%, #000 55%, rgba(0,0,0,0.5) 80%, transparent 100%);
          mask-composite: intersect;
  animation: sHeroPortraitIn 1.4s var(--ease, cubic-bezier(.2,.7,.2,1)) 200ms both;
}

@keyframes sHeroPortraitIn {
  from { opacity: 0; transform: translateX(24px) scale(1.02); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

.s-hero-glow {
  position: absolute;
  left: 50%;
  bottom: -20%;
  transform: translateX(-50%);
  width: 85%;
  height: 55%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.28) 0%, rgba(201, 168, 76, 0.10) 35%, transparent 70%);
  filter: blur(40px);
}

@media (max-width: 820px) {
  .s-hero-portrait {
    width: 100%;
    max-width: none;
    opacity: 0.32;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
            mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
  }
}

.s-hero > .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--nav-h));
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(32px, 4vw, 48px);
}

.s-hero-center {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.s-hero-tag {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: clamp(12px, 1.5vw, 20px);
}

.s-hero-headline {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #E8E8EC;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.s-hero-headline .line,
.s-hero-headline .line-accent,
.s-hero-headline .word {
  background: linear-gradient(180deg, #FFFFFF 0%, #E8E8EE 45%, #9CA0AE 92%, #6E7280 110%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.s-hero-headline .line { display: block; }

.s-hero-headline .line-accent {
  font-style: italic;
  font-weight: 400;
}

/* Word reveal */
.s-hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  animation: sWordReveal 0.6s var(--ease) forwards;
}
@keyframes sWordReveal {
  to { opacity: 1; transform: translateY(0); }
}

.s-hero-sub {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: clamp(24px, 3vw, 36px);
  max-width: 440px;
}

@media (max-width: 820px) {
  .s-hero-sub {
    display: inline-block;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(8,8,12,0.55);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text);
  }
}

.s-hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Horizontal stat strip */
.s-hero-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: auto;
  padding-top: clamp(48px, 6vw, 72px);
  width: 100%;
  position: relative;
  z-index: 3;
}

.s-hero-strip-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 clamp(20px, 3vw, 40px);
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  animation: sStripItemIn 0.9s var(--ease, cubic-bezier(.2,.7,.2,1)) forwards;
  position: relative;
}

.s-hero-strip-item:nth-child(1) { animation-delay: 900ms; }
.s-hero-strip-item:nth-child(3) { animation-delay: 1050ms; }
.s-hero-strip-item:nth-child(5) { animation-delay: 1200ms; }
.s-hero-strip-item:nth-child(7) { animation-delay: 1350ms; }

@keyframes sStripItemIn {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.s-hero-strip-num {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 600;
  color: #F0EBE0;
  letter-spacing: -0.01em;
  display: inline-block;
}

.s-hero-strip-label {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,235,224,0.65);
}

.s-hero-strip-sep {
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, transparent, rgba(201,168,76,0.5), transparent);
  flex-shrink: 0;
  transform: scaleY(0);
  transform-origin: center;
  animation: sStripSepIn 0.7s var(--ease, cubic-bezier(.2,.7,.2,1)) forwards;
}
.s-hero-strip-sep:nth-child(2) { animation-delay: 1000ms; }
.s-hero-strip-sep:nth-child(4) { animation-delay: 1150ms; }
.s-hero-strip-sep:nth-child(6) { animation-delay: 1300ms; }

@keyframes sStripSepIn {
  to { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .s-hero-strip-item,
  .s-hero-strip-sep,
  .s-hero-strip-num {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ── Glass buttons — clean ── */
.s-btn-pill {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 16px 34px;
  min-height: 48px;
  border-radius: 100px;
  transition: background 0.3s, border-color 0.3s, transform 0.25s var(--ease), box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
}
.s-btn-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.s-btn-solid {
  background: linear-gradient(180deg, rgba(201,168,76,0.22) 0%, rgba(201,168,76,0.10) 100%);
  color: var(--text);
  border: 1px solid rgba(201,168,76,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px -12px rgba(201,168,76,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  text-transform: uppercase;
}
.s-btn-solid:hover {
  background: linear-gradient(180deg, rgba(201,168,76,0.32) 0%, rgba(201,168,76,0.16) 100%);
  border-color: rgba(201,168,76,0.7);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -10px rgba(201,168,76,0.5), inset 0 1px 0 rgba(255,255,255,0.12);
}

.s-btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.07);
}
.s-btn-ghost:hover {
  border-color: rgba(255,255,255,0.14);
  color: var(--text);
}

/* ── Fade-up init ── */
.s-fade-up {
  opacity: 0;
  animation: sFadeUp 0.85s var(--ease) forwards;
}
@keyframes sFadeUp {
  from { opacity: 0; transform: translateY(24px); filter: blur(2px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ============================================================
   SECTIONS — reusable below-hero styles
   ============================================================ */
.s-section {
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
  z-index: 1;
}

.s-section-label {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: clamp(24px, 4vw, 40px);
}

.s-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.45) 50%, transparent);
  position: relative;
  z-index: 3;
  margin: 0 auto;
  width: min(92%, 1200px);
  overflow: visible;
}

/* Soft gold halo around divider — pure decoration, pointer-events off */
.s-divider::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 320px;
  height: 60px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.22) 0%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

/* Subtle animated shimmer sweeping across the divider line */
.s-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: sDividerShimmer 3s ease-in-out 1.5s 1 forwards;
  pointer-events: none;
}

@keyframes sDividerShimmer {
  0%   { left: -40%; opacity: 0; }
  15%  { opacity: 1; }
  60%  { left: 100%; opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* First section after hero — gentler top padding + subtle in-transition */
.s-hero + .s-divider + .s-section {
  padding-top: clamp(32px, 4vw, 56px);
}

@media (prefers-reduced-motion: reduce) {
  .s-divider::after { animation: none; display: none; }
}

/* Section headlines */
.s-headline {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.s-headline-accent { color: var(--titanium-hi); font-weight: 300; }

.s-sub {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 580px;
}

/* ============================================================
   STATS
   ============================================================ */
.s-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
}

.s-stat {
  background: var(--bg);
  padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 32px);
  text-align: center;
}

.s-stat-num {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.s-stat-label {
  font-size: 0.76rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   AI AUTHORITY
   ============================================================ */
.s-authority {
  max-width: 800px;
}

.s-authority-updated {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.s-authority p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.s-authority strong {
  color: var(--text);
  font-weight: 500;
}

/* ============================================================
   BENTO GRID
   ============================================================ */
.s-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.s-bento-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 28px;
  padding: clamp(24px, 2.8vw, 36px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}

/* Inner top highlight like glass pill buttons */
.s-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 35%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
}

.s-bento-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.08) inset;
}

.s-bento-card--span2 { grid-column: span 2; }

.s-bento-icon {
  color: var(--titanium-hi);
  margin-bottom: 20px;
}

.s-bento-title {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.s-bento-text {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Card with image */
.s-bento-card--visual {
  display: flex;
  gap: 24px;
  align-items: center;
}
.s-bento-card--visual .s-bento-img {
  width: 120px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* Reserve space for async images to prevent CLS */
.s-doctor-img,
.s-odonto-img,
.s-video-thumb { aspect-ratio: 1; object-fit: cover; }

/* ============================================================
   TEAM — Specialists horizontal cards
   ============================================================ */

/* Gold eyebrow above the equipe section label */
#equipe .s-section-label {
  position: relative;
  padding-top: 32px;
}
#equipe .s-section-label::before {
  content: 'ESPECIALISTAS';
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--ff-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
}

.s-team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2vw, 28px);
  max-width: 960px;
}

.s-doctor-card {
  position: relative;
  display: grid;
  grid-template-columns: clamp(140px, 18vw, 200px) 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  background: linear-gradient(135deg, rgba(28,28,40,0.85) 0%, rgba(14,14,20,0.95) 100%);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 18px;
  padding: clamp(22px, 2.8vw, 34px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}
.s-doctor-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at top right, rgba(201,168,76,0.08) 0%, transparent 55%);
  pointer-events: none;
}
.s-doctor-card:hover {
  border-color: rgba(201,168,76,0.45);
  transform: translateY(-2px);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,168,76,0.1) inset;
}

.s-doctor-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(201,168,76,0.3);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 12px 32px -14px rgba(0,0,0,0.8);
}
.s-doctor-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,15,0.6) 100%);
  pointer-events: none;
}
.s-doctor-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.s-doctor-card > div:last-child,
.s-doctor-card > .s-doctor-name {
  position: relative;
  z-index: 1;
}

.s-doctor-name {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 4px 0;
  position: relative;
  z-index: 1;
}

.s-doctor-cro {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 4px;
  display: block;
  position: relative;
  z-index: 1;
}

.s-doctor-specialty {
  font-family: var(--ff-display);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
  position: relative;
  z-index: 1;
}

.s-doctor-creds {
  text-align: left;
  display: grid;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.s-doctor-creds li {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  padding: 2px 0 2px 18px;
  border: none;
  line-height: 1.55;
  position: relative;
}
.s-doctor-creds li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.s-doctor-creds li:last-child { border-bottom: none; }

@media (max-width: 680px) {
  .s-doctor-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .s-doctor-photo {
    max-width: 160px;
    margin: 0 auto;
  }
  .s-doctor-creds { text-align: left; }
}

/* ============================================================
   ADVANTAGES
   ============================================================ */
.s-adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.s-adv-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: clamp(18px, 2.5vw, 28px);
  transition: border-color 0.3s;
}
.s-adv-card:hover {
  border-color: rgba(255,255,255,0.09);
}

.s-adv-icon {
  color: var(--titanium-hi);
  margin-bottom: 16px;
}

.s-adv-title {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.s-adv-text {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   STEPS
   ============================================================ */
.s-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.s-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: clamp(20px, 2.5vw, 32px);
}

.s-step-num {
  font-family: var(--ff-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.s-step-title {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.22;
}

.s-step-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.s-step-tag {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.s-testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.s-testi-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: clamp(20px, 2.5vw, 32px);
}

.s-testi-stars {
  color: var(--titanium-hi);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.s-testi-quote {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.s-testi-name {
  font-family: var(--ff-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.s-testi-verified {
  font-size: 0.7rem;
  color: var(--text-dim);
  display: block;
  margin-top: 2px;
}

/* ============================================================
   FAQ
   ============================================================ */
.s-faq-list {
  max-width: 800px;
}

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

.s-faq-q {
  width: 100%;
  min-height: 48px;
  text-align: left;
  padding: 22px 0;
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.3s;
}
.s-faq-q:hover { color: var(--accent); }
.s-faq-q::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.s-faq-q[aria-expanded="true"]::after {
  content: '\2212';
  transform: rotate(180deg);
}

.s-faq-a-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.s-faq-a {
  padding-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   VIDEO SHOWCASE
   ============================================================ */
.s-video-header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.s-video-tagline {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.s-video-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.s-video-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.s-video-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

.s-video-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--glass-border);
}

.s-video-frame video {
  width: 100%;
  display: block;
}

.s-video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0,0,0,0.35);
  transition: background 0.3s;
}
.s-video-frame:hover .s-video-play-overlay {
  background: rgba(0,0,0,0.25);
}

.s-video-play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.s-video-frame:hover .s-video-play-btn {
  transform: scale(1.08);
  background: rgba(255,255,255,0.15);
}
.s-video-play-btn svg {
  width: 20px; height: 20px;
  fill: var(--text);
  margin-left: 3px;
}

.s-video-play-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.8;
}

.s-video-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.s-video-pill {
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.s-cta-section {
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0;
}

.s-cta-headline {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.s-cta-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.s-cta-exclusive {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.s-btn-primary {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 400;
  padding: 13px 36px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s, border-color 0.3s, transform 0.25s var(--ease);
  letter-spacing: 0.01em;
  cursor: pointer;
}
.s-btn-primary:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.16);
}

.s-cta-address {
  margin-top: 32px;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.8;
}
.s-cta-address a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.s-cta-address a:hover { color: var(--text); }

.s-cta-map {
  width: 100%;
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
  opacity: 0.7;
  border: 1px solid var(--glass-border);
}

/* Map → "Como chegar" card (replaces unembeddable Google Maps iframe) */
.s-cta-map-card {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 560px;
  margin: 32px auto 0;
  padding: 20px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(28,28,40,0.85) 0%, rgba(20,20,28,0.85) 100%);
  border: 1px solid rgba(201, 168, 76, 0.22);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}
.s-cta-map-card:hover,
.s-cta-map-card:focus-visible {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.12);
  outline: none;
}
.s-cta-map-card-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.10);
  color: var(--accent);
}
.s-cta-map-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.s-cta-map-card-eyebrow {
  font-family: var(--ff-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
}
.s-cta-map-card-title {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}
.s-cta-map-card-sub {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.4;
}
.s-cta-map-card-cta {
  flex: 0 0 auto;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .s-cta-map-card {
    flex-wrap: wrap;
    padding: 18px 18px;
    gap: 14px;
  }
  .s-cta-map-card-cta {
    flex: 1 1 100%;
    text-align: right;
    padding-top: 4px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
}

/* Inline CTA */
.s-inline-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: clamp(48px, 6vw, 72px);
  text-align: center;
}
.s-inline-cta-note {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ============================================================
   FOOTER
   ============================================================ */
.s-footer {
  border-top: 1px solid var(--glass-border);
  padding: clamp(48px, 6vw, 80px) 0 clamp(24px, 4vw, 48px);
}

.s-footer-top {
  margin-bottom: clamp(32px, 4vw, 56px);
}
.s-footer-logo img {
  height: 32px;
  opacity: 0.7;
}

.s-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.s-footer-col-title {
  font-family: var(--ff-display);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
}

.s-footer-col li,
.s-footer-col a {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 2;
  transition: color 0.3s;
}
.s-footer-col a:hover { color: var(--text); }

.s-footer-social {
  display: flex;
  gap: 12px;
  flex-direction: column;
}
.s-footer-social a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.3s;
}
.s-footer-social a:hover { color: var(--text); }

.s-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}
.s-footer-bottom span {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ============================================================
   TECH SECTION
   ============================================================ */
.s-tech-header {
  margin-bottom: clamp(40px, 6vw, 72px);
}
.s-tech-headline {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.s-tech-headline-accent { color: var(--titanium-hi); font-weight: 300; }
.s-tech-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.s-tech-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.s-tech-block:last-child { margin-bottom: 0; }
.s-tech-block-reverse { direction: rtl; }
.s-tech-block-reverse > * { direction: ltr; }

.s-tech-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--titanium-hi);
  margin-bottom: 12px;
  display: block;
}

.s-tech-title {
  font-family: var(--ff-display);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}

.s-tech-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.s-tech-points {
  list-style: none;
}
.s-tech-points li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.s-tech-check {
  color: var(--titanium-hi);
  font-weight: 600;
  flex-shrink: 0;
}

.s-tech-visual {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.s-tech-visual svg {
  width: 100%;
  max-width: 300px;
}

/* ============================================================
   ODONTOPEDIATRIA
   ============================================================ */
.s-odonto-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.s-odonto-headline {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.s-odonto-line-accent { color: var(--accent); font-weight: 400; font-style: italic; display: block; }
.s-odonto-line-muted { color: var(--text-dim); font-weight: 300; display: block; }

.s-odonto-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.s-odonto-doctor {
  text-align: center;
}
.s-odonto-doctor-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 2px solid rgba(255,255,255,0.06);
}
.s-odonto-doctor-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.s-odonto-doctor-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.s-odonto-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.s-odonto-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: clamp(18px, 2.5vw, 28px);
}

.s-odonto-card-num {
  font-family: var(--ff-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.s-odonto-card-title {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.22;
}

.s-odonto-card-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   MID CTA
   ============================================================ */
.s-mid-cta {
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 0;
}
.s-mid-cta-label {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.s-mid-cta-headline {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.s-mid-cta-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.s-cookie {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 700px;
  width: calc(100% - 40px);
}
.s-cookie-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  flex: 1;
}
.s-cookie-text a { color: var(--titanium); text-decoration: underline; }
.s-cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.s-cookie-accept {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--text);
  color: var(--bg);
}
.s-cookie-decline {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 8px 12px;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.s-whatsapp {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  right: max(24px, env(safe-area-inset-right));
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-success);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.s-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
}
.s-whatsapp:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

/* Back to top */
.s-back-top {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 90;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s var(--ease), background 0.3s;
  pointer-events: none;
}
.s-back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.s-back-top:hover { background: rgba(255,255,255,0.08); }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.s-scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--titanium), var(--titanium-hi));
  z-index: 200;
  transition: width 0.1s linear;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .s-bento { grid-template-columns: repeat(2, 1fr); }
  .s-bento-card--span2 { grid-column: span 2; }
  .s-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .s-adv-grid { grid-template-columns: repeat(2, 1fr); }
  .s-steps { grid-template-columns: 1fr; }
  .s-team-grid { grid-template-columns: repeat(2, 1fr); }
  .s-tech-block,
  .s-tech-block-reverse { grid-template-columns: 1fr; }
  .s-tech-block-reverse { direction: ltr; }
  .s-odonto-hero { grid-template-columns: 1fr; }
  .s-odonto-cards { grid-template-columns: repeat(2, 1fr); }
  .s-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .s-testi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .s-nav-links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(11,11,16,0.95); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column; gap: 0; padding: 16px 0; border-bottom: 1px solid var(--glass-border); z-index: 99; }
  .s-nav-links.nav-open { display: flex; }
  .s-nav-links a { padding: 14px clamp(24px, 5vw, 52px); font-size: 0.95rem; }
  .s-nav-hamburger { display: flex; }
  .s-nav-lang { display: none; }
  .s-nav-cta { font-size: 0.72rem; padding: 8px 16px; }

  .s-hero-headline { font-size: clamp(1.5rem, 7vw, 2.4rem); }
  .s-hero-strip { flex-wrap: wrap; gap: 12px; }
  .s-hero-strip-sep { display: none; }
  .s-hero-strip-item { padding: 0; }

  .s-bento { grid-template-columns: 1fr; }
  .s-bento-card--span2 { grid-column: span 1; }
  .s-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .s-adv-grid { grid-template-columns: 1fr; }
  .s-team-grid { grid-template-columns: 1fr; }
  .s-odonto-cards { grid-template-columns: 1fr; }
  .s-footer-grid { grid-template-columns: 1fr; }

  .s-cookie { flex-direction: column; border-radius: 16px; padding: 20px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
