/* ============================================================
   Dra. Árdala Ariane — Premium Medical Design System
   ============================================================ */
:root {
  --azul-claro: #B7D9F2;
  --azul-medico: #4A90C2;
  --azul-profundo: #0B3D66;
  --azul-titulo: #12324A;
  --branco: #FFFFFF;
  --gelo: #F4F8FB;
  --verde: #5DF28B;
  --cinza-texto: #5E6C78;

  --bg: var(--gelo);
  --surface: rgba(255,255,255,0.65);
  --surface-solid: #ffffff;
  --text: var(--azul-titulo);
  --text-soft: var(--cinza-texto);
  --border: rgba(11,61,102,0.08);
  --shadow-sm: 0 4px 14px rgba(11,61,102,0.06);
  --shadow-md: 0 14px 40px rgba(11,61,102,0.10);
  --shadow-lg: 0 30px 80px rgba(11,61,102,0.16);
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1200px;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-theme="dark"] {
  --bg: #06182A;
  --surface: rgba(18, 50, 74, 0.55);
  --surface-solid: #0E2740;
  --text: #EAF3FB;
  --text-soft: #9BB3C7;
  --border: rgba(183,217,242,0.10);
  --shadow-sm: 0 4px 14px rgba(0,0,0,0.35);
  --shadow-md: 0 14px 40px rgba(0,0,0,0.45);
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.55);
}

/* Reset */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { padding-left: 1.1rem; margin: 0.5rem 0; }
li { margin: 0.25rem 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Typography */
.display, .display-sm {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--text);
  margin: 0 0 1rem;
}
.display { font-size: clamp(2.2rem, 5.2vw, 4rem); }
.display em { font-style: italic; color: var(--azul-medico); }
.display-sm { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--azul-medico);
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.eyebrow.light, .light { color: #cfe5f5 !important; }
.cta-final .display { color: #fff; }
.cta-final .muted { color: rgba(255,255,255,0.78); }
.muted { color: var(--text-soft); }
.small { font-size: 0.85rem; }
.lead { font-size: 1.1rem; color: var(--text-soft); margin: 0 0 1rem; }
.credentials { font-size: 0.92rem; color: var(--azul-medico); font-weight: 600; letter-spacing: 0.04em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--azul-medico), var(--azul-profundo));
  color: #fff;
  box-shadow: 0 10px 28px rgba(11,61,102,0.30);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(11,61,102,0.38); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--surface-solid); transform: translateY(-2px); }
.btn-ghost.light { color: #fff; border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); }
.btn-link { color: var(--azul-medico); padding: 0.5rem 0.6rem; }
.btn-link.light { color: #cfe5f5; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.88rem; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: color-mix(in oklab, var(--bg) 65%, transparent);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  gap: 1rem;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--text); }
.brand-sub { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--azul-medico); }
.nav-desktop { display: none; gap: 1.7rem; }
.nav-desktop a { font-size: 0.93rem; color: var(--text-soft); font-weight: 500; position: relative; }
.nav-desktop a:hover { color: var(--azul-medico); }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); transition: transform .2s;
}
.theme-toggle:hover { transform: rotate(15deg); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.btn-cta { display: none; }
.menu-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
}
.menu-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  flex-direction: column; gap: 0.4rem;
  padding: 1rem 22px 1.5rem;
  background: var(--surface-solid);
  border-bottom: 1px solid var(--border);
}
.nav-mobile.open { display: flex; animation: fadeDown .3s ease; }
.nav-mobile a { padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--border); color: var(--text); }
.nav-mobile .btn { margin-top: 0.8rem; }

@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .btn-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-tint { background: linear-gradient(180deg, var(--bg), color-mix(in oklab, var(--azul-claro) 18%, var(--bg))); }
.section-deep {
  background: radial-gradient(ellipse at top, #14507F, var(--azul-profundo));
  color: #EAF3FB;
}
.section-deep .display-sm, .section-deep h4 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(8rem, 16vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; background: var(--azul-claro); top: -120px; right: -100px; }
.blob-2 { width: 340px; height: 340px; background: #cfe5f5; bottom: -140px; left: -100px; animation-delay: -5s; }
.blob-3 { width: 240px; height: 240px; background: var(--verde); opacity: 0.18; top: 40%; left: 50%; animation-delay: -10s; }
[data-theme="dark"] .blob-1 { background: #1f5c8f; opacity: 0.5; }
[data-theme="dark"] .blob-2 { background: #16466e; opacity: 0.5; }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.4rem 0 1.6rem; }
.hero-cta.center { justify-content: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge-chip {
  display: inline-flex; gap: 0.4rem; align-items: center;
  padding: 0.45rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem; color: var(--text-soft);
  backdrop-filter: blur(10px);
}
.badge-chip strong { color: var(--azul-medico); font-weight: 700; }

.hero-photo-wrap {
  position: relative; aspect-ratio: 4/5; max-width: 480px; margin: 0 auto;
  padding: 0; overflow: visible;
}
.hero-photo-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(0.1) contrast(1.05);
}
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 1rem;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  animation: float 6s ease-in-out infinite;
}
.float-card .fc-title { margin: 0; font-weight: 600; font-size: 0.85rem; color: var(--text); }
.float-card .fc-sub { margin: 0; font-size: 0.72rem; color: var(--text-soft); }
.float-card-1 { top: 8%; left: -10%; }
.float-card-2 { bottom: 20%; right: -12%; animation-delay: -2s; }
.float-card-3 { bottom: -4%; left: 10%; animation-delay: -4s; }
.float-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 10px var(--verde); }
.float-card svg { color: var(--azul-medico); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--azul-medico); box-shadow: 0 0 0 0 rgba(74,144,194,0.6); animation: pulse 2s infinite; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
}

/* Glass card */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
  transition: transform .3s ease, box-shadow .3s ease;
}
.glass-card:hover { box-shadow: var(--shadow-lg); }

/* Two col layout */
.two-col {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.photo-frame { padding: 0; overflow: hidden; aspect-ratio: 4/5; max-width: 480px; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.chip-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.chip {
  padding: 0.5rem 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text);
  backdrop-filter: blur(8px);
}

/* Procedures */
.proc-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.proc-card { display: flex; flex-direction: column; gap: 0.8rem; }
.proc-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 0; color: var(--text); }
.proc-card ul { color: var(--text-soft); font-size: 0.92rem; }
.proc-card .btn { align-self: flex-start; margin-top: auto; }
.proc-icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--azul-claro), #e7f2fb);
  color: var(--azul-profundo);
}
[data-theme="dark"] .proc-icon { background: linear-gradient(135deg, #1d4d75, #133a5a); color: #cfe5f5; }
.proc-icon svg { width: 26px; height: 26px; }

/* Gallery */
.filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center; margin: 0 0 2rem;
}
.filter {
  padding: 0.55rem 1.1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.88rem; color: var(--text-soft);
  transition: .25s;
}
.filter:hover { color: var(--text); }
.filter.active {
  background: var(--azul-profundo); color: #fff; border-color: transparent;
}
.gallery {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.gallery-item {
  margin: 0; background: var(--surface-solid);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item.hide { display: none; }
.img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #000; }
.img-wrap img, .img-wrap video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; cursor: zoom-in; }
.img-wrap:hover img { transform: scale(1.04); }
.img-wrap.blurred img { filter: blur(22px); transform: scale(1.1); cursor: default; }
.img-wrap.blurred .reveal-btn { display: inline-flex; }
.img-wrap.video-wrap { aspect-ratio: 9/16; max-height: 480px; }
.img-wrap.video-wrap video { cursor: default; }
.reveal-btn {
  display: none;
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  padding: 0.7rem 1.2rem; border-radius: 999px;
  background: rgba(255,255,255,0.92); color: var(--azul-profundo);
  font-weight: 600; font-size: 0.88rem;
  box-shadow: var(--shadow-md);
}
.gallery-item figcaption {
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem; color: var(--text-soft);
}
.disclaimer {
  margin-top: 2rem; text-align: center;
  font-size: 0.85rem; color: var(--text-soft);
  max-width: 720px; margin-left: auto; margin-right: auto;
}

/* Journey */
.journey {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  counter-reset: step;
}
.journey li {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 1.4rem;
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}
.journey li span {
  display: inline-block; font-family: var(--font-display);
  font-size: 1.4rem; color: var(--azul-claro); margin-bottom: 0.5rem;
}
.journey h4 { margin: 0 0 0.4rem; font-size: 1.05rem; font-weight: 600; }
.journey p { margin: 0; color: #b8cee0; font-size: 0.92rem; }

/* Quiz */
.quiz-card { max-width: 760px; margin: 0 auto; }
.quiz-progress {
  height: 6px; background: var(--border); border-radius: 999px;
  overflow: hidden; margin-bottom: 1.6rem;
}
.quiz-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--azul-medico), var(--verde));
  transition: width .4s ease;
}
.quiz-q { animation: fadeUp .4s ease; }
.quiz-q h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 1.2rem; color: var(--text); }
.quiz-options { display: grid; gap: 0.6rem; }
.quiz-options button {
  text-align: left; padding: 0.9rem 1.1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; color: var(--text);
  transition: .25s;
}
.quiz-options button:hover { border-color: var(--azul-medico); background: var(--surface-solid); transform: translateX(4px); }
.quiz-meta { display: flex; justify-content: space-between; margin-top: 1.2rem; font-size: 0.85rem; color: var(--text-soft); }
.quiz-result h3 { font-family: var(--font-display); font-size: 1.8rem; color: var(--azul-medico); }
.quiz-result ul { list-style: none; padding: 0; margin: 1rem 0; }
.quiz-result li { padding: 0.5rem 0; padding-left: 1.6rem; position: relative; }
.quiz-result li::before {
  content: "✓"; position: absolute; left: 0; color: var(--verde); font-weight: 700;
}

/* Map */
.map-frame { padding: 0; overflow: hidden; aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 0.6rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
  backdrop-filter: blur(10px);
}
.faq-q {
  width: 100%; padding: 1.1rem 1.3rem;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left; font-weight: 600; color: var(--text);
}
.faq-q .plus { color: var(--azul-medico); font-size: 1.3rem; transition: transform .3s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
  color: var(--text-soft); padding: 0 1.3rem;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.2rem; }

/* CTA final */
.cta-final { text-align: center; }
.cta-final .container { max-width: 820px; }

/* Footer */
.site-footer { background: #061829; color: #cfe0ed; padding: 3rem 0 1.5rem; }
[data-theme="dark"] .site-footer { background: #03101D; }
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 2rem;
}
.footer-grid h5 { margin: 0 0 0.6rem; color: #fff; font-size: 0.95rem; letter-spacing: 0.05em; }
.footer-grid a:hover { color: var(--azul-claro); }
.site-footer .brand-name { color: #fff; }
.site-footer .muted { color: #8fa9bd; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }

/* Float WhatsApp */
.float-wa {
  position: fixed; bottom: 22px; left: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37,211,102,0.45);
  animation: pulse-wa 2.4s infinite;
}
.float-wa:hover { transform: scale(1.06); }

/* Chat IA */
.chat-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--azul-medico), var(--azul-profundo));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(11,61,102,0.40);
  transition: .25s;
}
.chat-fab:hover { transform: scale(1.06); }
.chat-panel {
  position: fixed; bottom: 90px; right: 22px; z-index: 61;
  width: min(360px, calc(100vw - 44px));
  height: 520px; max-height: calc(100vh - 120px);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; overflow: hidden;
  backdrop-filter: blur(20px);
}
.chat-panel.open { display: flex; animation: chatIn .3s ease; }
.chat-header {
  background: linear-gradient(135deg, var(--azul-medico), var(--azul-profundo));
  color: #fff; padding: 1rem 1.2rem;
  display: flex; justify-content: space-between; align-items: center;
}
.chat-title { margin: 0; font-weight: 600; }
.chat-sub { margin: 0; font-size: 0.75rem; opacity: 0.85; }
.chat-close { color: #fff; font-size: 1.6rem; line-height: 1; padding: 0 0.4rem; }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.chat-msg { padding: 0.7rem 0.95rem; border-radius: 14px; max-width: 85%; font-size: 0.9rem; line-height: 1.45; }
.chat-msg.bot { background: var(--gelo); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
[data-theme="dark"] .chat-msg.bot { background: #133554; color: #eaf3fb; }
.chat-msg.user { background: var(--azul-medico); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-typing { display: inline-flex; gap: 4px; align-items: center; padding: 0.7rem 0.95rem; background: var(--gelo); border-radius: 14px; align-self: flex-start; }
[data-theme="dark"] .chat-typing { background: #133554; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--azul-medico); animation: blink 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
.chat-disclaimer { margin: 0; padding: 0.4rem 1rem; font-size: 0.7rem; color: var(--text-soft); text-align: center; border-top: 1px solid var(--border); }
.chat-form {
  display: flex; gap: 0.5rem; padding: 0.7rem; border-top: 1px solid var(--border);
  background: var(--surface);
}
.chat-form input {
  flex: 1; padding: 0.7rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface-solid);
  color: var(--text); font-size: 0.9rem; outline: none;
}
.chat-form input:focus { border-color: var(--azul-medico); }
.chat-form button {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--azul-medico), var(--azul-profundo));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(6,24,42,0.92); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; animation: fadeUp .25s ease; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: #fff;
  font-size: 1.7rem; line-height: 1;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Keyframes */
@keyframes float {
  0%,100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-14px) translateX(6px); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,144,194,0.6); }
  70% { box-shadow: 0 0 0 14px rgba(74,144,194,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,144,194,0); }
}
@keyframes pulse-wa {
  0% { box-shadow: 0 12px 30px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 12px 30px rgba(37,211,102,0.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 30px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes blink {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
@keyframes chatIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .float-card-1 { left: 0; }
  .float-card-2 { right: 0; }
  .float-card-3 { left: 5%; }
  .hero { padding-top: 7rem; }
  .float-wa { width: 50px; height: 50px; bottom: 16px; left: 16px; }
  .chat-fab { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .chat-panel { bottom: 78px; right: 16px; }
}
