/* ============================================================================
   LimpeSanté — Design System (TEMA ESCURO / degradê azul)
   Stack: CSS3 vanilla, mobile-first. Fundo azul em degradê + glassmorphism.
   Paleta: Azul-marinho (Santé) · Turquesa (gota) · Verde (WhatsApp)
   ========================================================================== */

/* ── TOKENS ────────────────────────────────────────────────────────────── */
:root {
  /* Cores de marca */
  --navy:        #16385B;
  --navy-700:    #0F2C49;
  --navy-900:    #07182B;
  --teal:        #25C2DE;
  --teal-600:    #19A6C4;
  --teal-050:    rgba(37,194,222,.14);
  --green:       #25D366;
  --green-600:   #1EB258;

  /* Texto (tema escuro) */
  --head:        #FFFFFF;
  --ink:         #E9F1F7;
  --muted:       #A6BACB;
  --line:        rgba(255,255,255,.12);

  /* Superfícies em vidro */
  --glass:       rgba(255,255,255,.055);
  --glass-2:     rgba(255,255,255,.085);
  --glass-brd:   rgba(255,255,255,.13);
  --band:        rgba(255,255,255,.04);

  /* Tipografia */
  --font-h: "Bricolage Grotesque", system-ui, sans-serif;
  --font-b: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  /* Espaçamento — escala 8px */
  --sp-xs: 8px;  --sp-sm: 16px; --sp-md: 24px; --sp-lg: 32px;
  --sp-xl: 48px; --sp-2xl: 64px; --sp-3xl: 96px;

  /* Raio */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-full: 999px;

  /* Sombra */
  --shadow-sm: 0 2px 10px rgba(0,0,0,.22);
  --shadow-md: 0 10px 30px rgba(0,0,0,.30);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.45);

  /* Layout */
  --container: 1180px;
  --t: 220ms ease;
  --nav-h: 70px;
}

/* Anima suavemente a posição do slider antes/depois */
@property --p { syntax: "<percentage>"; inherits: true; initial-value: 50%; }

/* ── RESET ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: #0A2138;
  background-image:
    radial-gradient(1100px 640px at 82% -6%, rgba(37,194,222,.18), transparent 60%),
    radial-gradient(900px 520px at -5% 28%, rgba(37,194,222,.10), transparent 55%),
    radial-gradient(1000px 700px at 100% 100%, rgba(37,194,222,.10), transparent 60%),
    linear-gradient(162deg, #07182B 0%, #0E2C49 38%, #114F6E 70%, #0A2138 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
/* Tamanho padrão de ícone — evita SVGs sem dimensão estourarem. */
svg { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -0.16em; flex-shrink: 0; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.1; color: var(--head); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
p  { color: var(--muted); }
strong { color: #fff; }

/* ── LAYOUT ────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--sp-2xl) 0; position: relative; }
@media (min-width: 768px) { .section { padding: var(--sp-3xl) 0; } }
/* faixas translúcidas para ritmo visual sobre o degradê */
.section--alt  { background: var(--band); backdrop-filter: blur(2px); }
.section--cream { background: rgba(37,194,222,.05); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-h); font-weight: 700; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--teal);
  margin-bottom: var(--sp-sm);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.s-head { max-width: 720px; margin: 0 auto var(--sp-xl); text-align: center; }
.s-head p { margin-top: var(--sp-sm); font-size: 1.05rem; }
.lead { font-size: 1.15rem; color: var(--ink); }

/* ── BOTÕES ────────────────────────────────────────────────────────────── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: var(--r-full);
  font-family: var(--font-h); font-weight: 700; font-size: 1rem;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  text-align: center; line-height: 1;
}
.btn svg { width: 20px; height: 20px; }
/* brilho que varre no hover */
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
.btn:hover::after { left: 130%; }
.btn--wa { background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.4); }
.btn--wa:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37,211,102,.5); }
.btn--primary { background: var(--teal); color: #062231; }
.btn--primary:hover { background: var(--teal-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: rgba(255,255,255,.04); color: #fff; box-shadow: inset 0 0 0 1.5px var(--glass-brd); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal); color: var(--teal); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { min-height: 62px; padding: 0 36px; font-size: 1.08rem; }
.btn--block { display: flex; width: 100%; }
/* pulso para CTA principal */
.btn--pulse { animation: cta-pulse 2.2s ease-in-out infinite; }
@keyframes cta-pulse {
  0%,100% { box-shadow: 0 10px 26px rgba(37,211,102,.40), 0 0 0 0 rgba(37,211,102,.55); }
  50%     { box-shadow: 0 12px 30px rgba(37,211,102,.50), 0 0 0 16px rgba(37,211,102,0); }
}

/* ── NAVBAR ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(8,22,38,.72); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo img { height: 42px; width: auto; filter: brightness(0) invert(1); opacity: .96; }
.nav__links { display: none; align-items: center; gap: var(--sp-md); }
.nav__links a { font-weight: 600; font-size: .95rem; color: var(--ink); transition: color var(--t); }
.nav__links a:hover { color: var(--teal); }
.nav__cta { display: none; }
.nav__burger { display: inline-grid; place-items: center; width: 44px; height: 44px; color: #fff; }
.nav__burger svg { width: 28px; height: 28px; }
.nav__wa-m { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; }
.nav__wa-m svg { width: 24px; height: 24px; }
.nav__mobile { display: none; flex-direction: column; gap: 4px; }
.nav.open .nav__mobile {
  display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,22,38,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
  padding: var(--sp-sm) 20px var(--sp-md); box-shadow: var(--shadow-md);
}
.nav__mobile a { padding: 12px 6px; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--ink); }
.nav__mobile a:last-child { border-bottom: none; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
@media (min-width: 960px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__burger, .nav__wa-m { display: none; }
  .nav.open .nav__mobile { display: none; }
}

/* ── HERO ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative; padding-top: calc(var(--nav-h) + var(--sp-xl)); padding-bottom: var(--sp-2xl);
  overflow: hidden;
}
.hero__grid { display: grid; gap: var(--sp-xl); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: var(--sp-2xl); } }
.hero__title { margin-bottom: var(--sp-md); }
.hero__title .hl { color: var(--teal); }
.hero__sub { font-size: 1.18rem; color: var(--ink); max-width: 540px; margin-bottom: var(--sp-lg); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-sm); margin-bottom: var(--sp-lg); }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .95rem; color: var(--muted); }
.hero__trust .stars { color: #FFC53D; }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: auto; aspect-ratio: 5/4; max-height: 540px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hero__badge {
  position: absolute; bottom: -18px; left: -10px;
  background: rgba(13,33,54,.85); backdrop-filter: blur(10px); border: 1px solid var(--glass-brd);
  border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero__badge b { font-family: var(--font-h); color: #fff; font-size: 1.4rem; display: block; line-height: 1; }
.hero__badge span { font-size: .8rem; color: var(--muted); }
.hero__badge .ic { width: 42px; height: 42px; display: grid; place-items: center; background: var(--teal-050); color: var(--teal); border-radius: 50%; }
.hero__badge .ic svg { width: 22px; height: 22px; }

/* ── BARRA DE STATS ────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-md); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4,1fr); } }
.stat { text-align: center; padding: var(--sp-md) var(--sp-sm); }
.stat b { display: block; font-family: var(--font-h); font-size: clamp(1.9rem,5vw,2.7rem); color: var(--teal); line-height: 1; }
.stat span { font-size: .92rem; color: var(--muted); margin-top: 6px; display: block; }

/* ── GRID DE CARDS ─────────────────────────────────────────────────────── */
.grid { display: grid; gap: var(--sp-md); }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2,1fr); } .grid--2 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3,1fr); } }

.card {
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-md);
  padding: var(--sp-lg); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md), 0 0 0 1px rgba(37,194,222,.35); border-color: rgba(37,194,222,.5); }
.card .ic { width: 52px; height: 52px; display: grid; place-items: center; background: var(--teal-050); color: var(--teal); border-radius: var(--r-sm); margin-bottom: var(--sp-sm); }
.card .ic svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; }

/* Card de serviço com imagem 1:1 */
.serv { padding: 0; overflow: hidden; }
.serv__img { aspect-ratio: 1/1; width: 100%; height: auto; object-fit: cover; transition: transform .55s ease; }
.serv:hover .serv__img { transform: scale(1.07); }
.serv__body { padding: var(--sp-md) var(--sp-md) var(--sp-lg); display: flex; flex-direction: column; flex: 1; }
.serv__body h3 { margin-bottom: 6px; }
.serv__body p { font-size: .94rem; flex: 1; }
.serv__link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--sp-sm); color: var(--teal); font-family: var(--font-h); font-weight: 700; font-size: .92rem; transition: gap var(--t); }
.serv:hover .serv__link { gap: 12px; }

/* Lista de checks */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checks .ck { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; background: var(--teal-050); color: var(--teal); border-radius: 50%; margin-top: 2px; }
.checks .ck svg { width: 14px; height: 14px; }

/* ── ANTES & DEPOIS — SLIDER ───────────────────────────────────────────── */
.gallery { background: var(--band); position: relative; }
.cmp-grid { display: grid; gap: var(--sp-md); grid-template-columns: 1fr; }
@media (min-width: 640px) { .cmp-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .cmp-grid { grid-template-columns: repeat(3,1fr); } }

.cmp {
  position: relative; aspect-ratio: 4/3; border-radius: var(--r-md);
  overflow: hidden; cursor: col-resize; user-select: none; touch-action: pan-y;
  box-shadow: var(--shadow-lg); border: 1px solid var(--glass-brd);
}
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp-before { clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); z-index: 2; }
.cmp-after { z-index: 1; }
.cmp-bar { position: absolute; top: 0; left: var(--p, 50%); transform: translateX(-50%); height: 100%; width: 3px; background: rgba(255,255,255,.9); z-index: 10; touch-action: none; cursor: ew-resize; }
.cmp-bar::before { content: ""; position: absolute; top: 0; bottom: 0; left: -26px; right: -26px; }
.cmp-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; background: #fff; border-radius: 50%;
  display: grid; place-items: center; box-shadow: 0 2px 16px rgba(0,0,0,.5); color: var(--navy);
}
.cmp-handle svg { width: 24px; height: 24px; }
.cmp-label {
  position: absolute; top: 12px; z-index: 15; font-family: var(--font-h); font-weight: 700;
  font-size: .72rem; letter-spacing: .6px; padding: 4px 12px; border-radius: var(--r-full); pointer-events: none;
}
.cmp-label.left { left: 12px; background: rgba(7,24,43,.85); color: #fff; }
.cmp-label.right { right: 12px; background: var(--teal); color: #062231; }
@keyframes cmp-hint { 0%{--p:50%} 30%{--p:32%} 70%{--p:68%} 100%{--p:50%} }
.cmp.hint { animation: cmp-hint 1.6s ease-in-out 1; }

/* ── COMO FUNCIONA — passos ────────────────────────────────────────────── */
.steps { display: grid; gap: var(--sp-md); counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4,1fr); } }
.step { position: relative; padding: var(--sp-lg) var(--sp-md); background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-md); backdrop-filter: blur(8px); transition: transform var(--t), border-color var(--t); }
.step:hover { transform: translateY(-4px); border-color: rgba(37,194,222,.4); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; background: var(--teal); color: #062231; font-family: var(--font-h); font-weight: 800; border-radius: 50%; margin-bottom: var(--sp-sm); }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .92rem; }

/* ── DEPOIMENTOS ───────────────────────────────────────────────────────── */
.tcard { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-md); padding: var(--sp-lg); box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); transition: transform var(--t), border-color var(--t); }
.tcard:hover { transform: translateY(-4px); border-color: rgba(37,194,222,.4); }
.tcard .stars { color: #FFC53D; margin-bottom: var(--sp-sm); }
.tcard p { color: var(--ink); font-size: 1rem; }
.tcard .who { margin-top: var(--sp-md); display: flex; align-items: center; gap: 12px; }
.tcard .av { width: 44px; height: 44px; border-radius: 50%; background: var(--teal-050); color: var(--teal); display: grid; place-items: center; font-family: var(--font-h); font-weight: 800; }
.tcard .who b { color: #fff; display: block; font-size: .95rem; }
.tcard .who span { font-size: .82rem; color: var(--muted); }

/* ── ÁREA DE ATENDIMENTO ───────────────────────────────────────────────── */
.places { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.place { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-full); font-weight: 600; font-size: .92rem; color: var(--ink); transition: var(--t); }
.place:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-sm); overflow: hidden; transition: border-color var(--t); backdrop-filter: blur(8px); }
.faq details[open] { border-color: rgba(37,194,222,.4); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--font-h); font-weight: 700; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--teal); transition: transform var(--t); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 22px 20px; color: var(--muted); }

/* ── CTA FINAL ─────────────────────────────────────────────────────────── */
.cta-final { background: linear-gradient(120deg, rgba(37,194,222,.16), rgba(37,194,222,.04)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.cta-final p { color: var(--ink); max-width: 560px; margin: var(--sp-sm) auto var(--sp-lg); font-size: 1.12rem; }

/* ── FOOTER ────────────────────────────────────────────────────────────── */
.footer { background: rgba(4,13,24,.55); border-top: 1px solid var(--line); color: var(--muted); padding: var(--sp-2xl) 0 var(--sp-lg); font-size: .92rem; backdrop-filter: blur(6px); }
.footer a { color: var(--muted); transition: color var(--t); }
.footer a:hover { color: var(--teal); }
.footer__grid { display: grid; gap: var(--sp-lg); grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: var(--sp-sm); }
.footer__logo img { height: 46px; margin-bottom: var(--sp-sm); filter: brightness(0) invert(1); opacity: .95; }
.footer ul { display: grid; gap: 10px; }
.footer__bottom { border-top: 1px solid var(--line); margin-top: var(--sp-xl); padding-top: var(--sp-md); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .82rem; color: rgba(255,255,255,.4); }

/* ── BOTÃO FLUTUANTE WHATSAPP ──────────────────────────────────────────── */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.5);
  animation: wa-pulse 2.4s ease-in-out infinite; transition: transform var(--t);
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }

/* ── BREADCRUMB ────────────────────────────────────────────────────────── */
.crumb { padding-top: calc(var(--nav-h) + var(--sp-md)); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); list-style: none; }
.crumb a:hover { color: var(--teal); }
.crumb li::after { content: "/"; margin-left: 8px; color: var(--line); }
.crumb li:last-child::after { content: ""; }

/* ── DECORAÇÕES FLUTUANTES (gotas/bolhas) ──────────────────────────────── */
.deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.deco b {
  position: absolute; display: block; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(37,194,222,.22), rgba(37,194,222,.03) 70%);
  animation: floaty 13s ease-in-out infinite;
}
.deco b:nth-child(1){ width:130px; height:130px; top:9%;  left:5%;  animation-duration:15s; }
.deco b:nth-child(2){ width:64px;  height:64px;  top:62%; left:10%; animation-duration:11s; animation-delay:-4s; }
.deco b:nth-child(3){ width:200px; height:200px; top:14%; right:5%; opacity:.6;  animation-duration:18s; animation-delay:-7s; }
.deco b:nth-child(4){ width:46px;  height:46px;  bottom:15%; right:22%; animation-duration:9s; animation-delay:-2s; }
.deco b:nth-child(5){ width:90px;  height:90px;  bottom:6%; left:42%; opacity:.5; animation-duration:14s; animation-delay:-5s; }
@keyframes floaty { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(12px,-28px); } }
/* conteúdo sempre acima das decorações */
.hero > .container, .gallery > .container, .cta-final > .container, .hero__media { position: relative; z-index: 1; }

/* ── ONDAS (divisores de seção) ────────────────────────────────────────── */
.wave { position: absolute; left: 0; width: 100%; height: 40px; z-index: 1; line-height: 0; }
.wave svg { width: 100%; height: 100%; display: block; }
.wave--top { top: -1px; }
.wave--bottom { bottom: -1px; transform: scaleY(-1); }
@media (min-width: 768px){ .wave { height: 60px; } }

/* ── ANIMAÇÕES (scroll reveal) ─────────────────────────────────────────── */
.fade-up, .fade-in { opacity: 0; transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.fade-up { transform: translateY(34px); }
.fade-in { transform: scale(.96); }
.fade-up.visible, .fade-in.visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(2) { transition-delay: .09s; }
.stagger.visible > *:nth-child(3) { transition-delay: .18s; }
.stagger.visible > *:nth-child(4) { transition-delay: .27s; }
.stagger.visible > *:nth-child(5) { transition-delay: .36s; }
.stagger.visible > *:nth-child(6) { transition-delay: .45s; }

/* Utilidades */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--sp-lg); }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: inline-flex; } }

/* ── REDUCED MOTION ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .fade-up, .fade-in, .stagger > * { opacity: 1 !important; transform: none !important; }
}
.footer__credit { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.4); letter-spacing: .02em; }
.footer__credit img { height: 16px; width: auto; opacity: .85; transition: opacity .2s; }
.footer__credit a:hover img { opacity: 1; }
.reasons { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-md); }
.reasons .reason:nth-child(5) { grid-column: 1 / -1; }
@media (min-width: 900px) { .reasons { grid-template-columns: repeat(5,1fr); } .reasons .reason:nth-child(5) { grid-column: auto; } }
.reason { text-align: center; padding: var(--sp-lg) var(--sp-sm); background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-md); backdrop-filter: blur(8px); transition: transform var(--t), border-color var(--t); }
.reason:hover { transform: translateY(-4px); border-color: rgba(37,194,222,.4); }
.reason .ric { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto var(--sp-sm); border-radius: 50%; background: var(--teal-050); border: 1px solid rgba(37,194,222,.35); }
.reason .ric svg { width: 30px; height: 30px; stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reason h3 { font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 8px; }
.reason p { font-size: .88rem; }
.vgrid { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-md); }
@media (min-width: 900px) { .vgrid { grid-template-columns: repeat(4,1fr); } }
.vcard { position: relative; margin: 0; background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-md); overflow: hidden; transition: transform var(--t), border-color var(--t); }
.vcard:hover { transform: translateY(-4px); border-color: rgba(37,194,222,.4); }
.vcard video { display: block; width: 100%; height: auto; aspect-ratio: 9/16; object-fit: cover; background: var(--navy-900); }
.vcard figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 42px 16px 16px; background: linear-gradient(180deg, rgba(7,24,43,0), rgba(7,24,43,.88)); pointer-events: none; transition: opacity .3s; }
.vcard figcaption b { display: block; font-family: var(--font-h); font-size: 1.02rem; color: #fff; margin-bottom: 2px; }
.vcard figcaption span { display: block; font-size: .84rem; color: rgba(255,255,255,.75); line-height: 1.35; }
.vplay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7,24,43,.12); border: 0; cursor: pointer; padding: 0; transition: opacity .3s, background .3s; }
.vplay:hover { background: rgba(7,24,43,.28); }
.vplay span { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform var(--t); }
.vplay:hover span { transform: scale(1.08); }
.vplay svg { width: 26px; height: 26px; color: var(--navy); margin-left: 3px; }

.vgrid--2 { grid-template-columns: repeat(2,1fr); max-width: 680px; margin-inline: auto; }
.vgrid--1 { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
.poder { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); align-items: start; }
.poder__img { grid-column: 1 / -1; order: -1; }
.poder__img img { display: block; width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--glass-brd); }
.poder__tags { display: flex; gap: 10px; margin-top: 12px; }
.poder__tags span { flex: 1; text-align: center; padding: 8px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.poder__tags .tag--bad { background: rgba(226,87,76,.16); color: #ff9d94; border: 1px solid rgba(226,87,76,.35); }
.poder__tags .tag--good { background: rgba(37,211,102,.14); color: #7ce8a8; border: 1px solid rgba(37,211,102,.35); }
.poder__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; align-content: center; }
.poder__list li { display: flex; align-items: center; gap: 9px; }
.poder__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.poder__list--bad { color: var(--muted); }
.poder__list--bad li::before { background: #e2574c; }
.poder__list--good li::before { background: var(--green); }
@media (min-width: 900px) { .poder { grid-template-columns: 1fr 2.6fr 1fr; align-items: center; } .poder__img { grid-column: auto; order: 0; } }
.poder2 { position: relative; max-width: 980px; margin: 0 auto; }
.poder2 img { display: block; width: 100%; height: auto; }
.poder2::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px 60px #113353; }
.footer__grid--center { grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 640px; margin-inline: auto; }
.footer__grid--center .footer__logo { justify-content: center; }

html, body { overflow-x: clip; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }
.cmp-grid--2 { max-width: 860px; margin-inline: auto; }
@media (min-width: 1024px) { .cmp-grid--2 { grid-template-columns: repeat(2,1fr); } }

@media (max-width: 639px) {
  .cmp-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .cmp-grid::-webkit-scrollbar { display: none; }
  .cmp-grid > .cmp { flex: 0 0 84%; scroll-snap-align: center; }
}
