/* OxyLife Landing — Médico Premium · Responsivo completo */
:root {
  --brand: #0B4F8A;
  --brand-dark: #083A66;
  --brand-soft: #E8F1F8;
  --accent: #0D9488;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FB;
  --text: #0F172A;
  --text-muted: #5B6B7C;
  --border: #E2E8F0;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(11, 79, 138, 0.07);
  --shadow-lg: 0 16px 48px rgba(11, 79, 138, 0.12);
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
  --header-h: 70px;
  --topbar-h: 36px;
  --card-bg: #FFFFFF;
  --header-bg: rgba(255,255,255,0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 8px); }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
.container { width: min(1140px, 100% - 1.5rem); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1140px, 100% - 2.5rem); } }

.hide-xs { display: none; }
@media (min-width: 480px) { .hide-xs { display: inline; } }
.hide-sm { display: none; }
@media (min-width: 900px) { .hide-sm { display: inline; } }

/* Topbar */
.topbar {
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  height: var(--topbar-h);
  display: flex; align-items: center;
}
.topbar-inner { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.topbar a { color: #fff; opacity: 0.95; }
.topbar-sep { opacity: 0.5; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: 0.65rem; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), var(--accent));
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
}
.logo-mark sub { font-size: 0.65em; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.logo-text small { font-size: 0.68rem; color: var(--text-muted); font-weight: 500; }

.nav { display: none; gap: 1.35rem; align-items: center; }
.nav a { font-size: 0.88rem; font-weight: 500; color: var(--text-muted); transition: color .15s; }
.nav a:hover { color: var(--brand); }
.nav-cta {
  background: var(--brand) !important; color: #fff !important;
  padding: 0.45rem 1rem; border-radius: 999px; font-weight: 600;
}
.header-actions { display: flex; align-items: center; gap: 0.45rem; }
.btn-ghost {
  background: transparent; border: 1px solid var(--border);
  padding: 0.4rem 0.75rem; border-radius: 10px; font-size: 0.82rem;
  color: var(--text-muted); cursor: pointer; display: flex; align-items: center; gap: 0.35rem;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-menu {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--card-bg); cursor: pointer;
  color: var(--text);
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .btn-menu { display: none; }
}
@media (max-width: 959px) {
  .nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: calc(var(--header-h) + var(--topbar-h)); left: 0; right: 0;
    background: var(--card-bg); padding: 1.25rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border); gap: 0.85rem;
    box-shadow: var(--shadow-lg); z-index: 99;
  }
  .nav.open .nav-cta { text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; border-radius: 12px; border: none; cursor: pointer;
  transition: transform .12s, box-shadow .15s, background .15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 6px 18px rgba(11, 79, 138, 0.28);
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline {
  background: transparent; color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-outline:hover { background: var(--brand-soft); }
.btn-light { background: #fff; color: var(--brand); }
.btn-outline-light {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-lg { padding: 0.85rem 1.35rem; font-size: 0.95rem; }
.btn-block { width: 100%; padding: 0.9rem; }

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(165deg, var(--bg-soft) 0%, var(--bg) 55%);
}
@media (min-width: 900px) { .hero { padding: 3.5rem 0 4.5rem; } }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; } }

.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 600; color: var(--brand);
  background: var(--brand-soft); padding: 0.35rem 0.8rem; border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.2vw, 2.65rem);
  line-height: 1.18; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-sub {
  font-size: 1.02rem; color: var(--text-muted); max-width: 36rem;
  margin-bottom: 1.5rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1.5rem; }
.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.85rem 1.25rem;
  font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
}
.hero-trust i { color: var(--accent); margin-right: 0.3rem; }

.hero-panel {
  background: var(--card-bg); border-radius: 20px; padding: 1.5rem;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.hero-panel-title {
  font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 1rem;
}
.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.hstat-num {
  display: block; font-family: var(--font-display);
  font-size: 1.65rem; font-weight: 800; color: var(--brand); line-height: 1.1;
}
.hstat-lbl { font-size: 0.8rem; color: var(--text-muted); }
.hero-note { font-size: 0.72rem; color: var(--text-muted); margin-top: 1rem; opacity: 0.85; }

/* Strip */
.strip {
  background: var(--brand); color: #fff; padding: 1.35rem 0;
}
.strip-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .strip-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .strip-grid { grid-template-columns: repeat(4, 1fr); } }
.strip-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.strip-item i { font-size: 1.25rem; opacity: 0.9; margin-top: 0.15rem; }
.strip-item strong { display: block; font-size: 0.9rem; }
.strip-item span { font-size: 0.78rem; opacity: 0.85; }

/* Sections */
.section { padding: 3.25rem 0; }
@media (min-width: 768px) { .section { padding: 4.25rem 0; } }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 38rem; margin: 0 auto 2.25rem; }
.eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent);
  margin-bottom: 0.5rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin-bottom: 0.5rem;
}
.section-head p { color: var(--text-muted); font-size: 0.98rem; }

.cards-4 {
  display: grid; gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow);
}
.card-lift { transition: transform .2s, box-shadow .2s; }
.card-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 0.9rem;
}
.icon-blue { background: #DBEAFE; color: #1D4ED8; }
.icon-rose { background: #FFE4E6; color: #E11D48; }
.icon-teal { background: #CCFBF1; color: #0F766E; }
.icon-violet { background: #EDE9FE; color: #6D28D9; }
.card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; font-weight: 700; }
.card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.card-list { list-style: none; font-size: 0.82rem; color: var(--text-muted); }
.card-list li { padding: 0.2rem 0; padding-left: 1rem; position: relative; }
.card-list li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* Benefits */
.benefit-grid {
  display: grid; gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit {
  background: var(--card-bg); border-radius: var(--radius); padding: 1.35rem;
  border: 1px solid var(--border);
}
.benefit-num {
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  color: var(--brand); opacity: 0.45; margin-bottom: 0.4rem;
}
.benefit h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.benefit p { font-size: 0.9rem; color: var(--text-muted); }

/* Timeline */
.timeline { display: grid; gap: 1.25rem; max-width: 720px; margin: 0 auto; }
.tl-item { display: flex; gap: 1rem; align-items: flex-start; }
.tl-dot {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand); color: #fff; font-weight: 700;
  display: grid; place-items: center; font-size: 0.95rem;
}
.tl-body h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.tl-body p { font-size: 0.92rem; color: var(--text-muted); }
.info-banner {
  margin-top: 2rem; display: flex; gap: 0.75rem; align-items: flex-start;
  background: var(--brand-soft); border-radius: 14px; padding: 1rem 1.15rem;
  font-size: 0.9rem; color: var(--text);
}
.info-banner i { color: var(--brand); margin-top: 0.15rem; }

/* Security */
.security-layout {
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 800px) { .security-layout { grid-template-columns: 1.2fr 0.8fr; } }
.security-copy h2 { font-family: var(--font-display); margin-bottom: 0.75rem; }
.security-copy > p { color: var(--text-muted); margin-bottom: 1.25rem; }
.check-list { list-style: none; display: grid; gap: 0.55rem; }
.check-list li { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: 0.92rem; }
.check-list i {
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
  color: #fff; font-size: 0.65rem; display: grid; place-items: center;
}
.security-seals {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem;
}
.seal {
  background: var(--card-bg); border: 2px solid var(--brand);
  border-radius: 16px; padding: 1.15rem 0.75rem; text-align: center;
}
.seal-label {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1rem; color: var(--brand);
}
.seal-sub { font-size: 0.72rem; color: var(--text-muted); }

/* Testimonials */
.testimonials {
  display: grid; gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: var(--card-bg); border-radius: var(--radius); padding: 1.35rem;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.testimonial p { font-size: 0.95rem; margin-bottom: 0.9rem; }
.testimonial .author { font-size: 0.85rem; font-weight: 700; color: var(--brand); }
.skeleton .skel {
  height: 12px; background: #E2E8F0; border-radius: 6px; margin-bottom: 0.55rem;
  animation: pulse 1.4s ease-in-out infinite;
}
.skeleton .skel.short { width: 45%; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.45} }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 0.65rem; }
.faq-item {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 0.15rem 1rem;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; padding: 0.9rem 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-weight: 700; color: var(--brand); font-size: 1.2rem; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { font-size: 0.92rem; color: var(--text-muted); padding-bottom: 0.95rem; }

/* Scheduler */
.scheduler {
  display: grid; gap: 1.5rem;
  background: var(--card-bg); border-radius: 20px; padding: 1.25rem;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
@media (min-width: 768px) {
  .scheduler { grid-template-columns: 1fr 1fr; padding: 1.75rem; }
}
.cal-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.85rem;
}
.cal-header h3 { font-size: 1rem; text-transform: capitalize; }
.cal-header button {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--card-bg); cursor: pointer; color: var(--text);
}
.cal-header button:hover { border-color: var(--brand); color: var(--brand); }
.cal-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day {
  aspect-ratio: 1; border: none; border-radius: 10px; background: transparent;
  font-size: 0.88rem; font-weight: 500; cursor: pointer; color: var(--text);
}
.cal-day:hover:not(:disabled) { background: var(--brand-soft); color: var(--brand); }
.cal-day.selected { background: var(--brand); color: #fff; }
.cal-day.other { color: #CBD5E1; }
.cal-day:disabled { opacity: 0.3; cursor: not-allowed; }
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.55rem;
  max-height: 340px;
  overflow-y: auto;
  padding: 0.15rem;
}
.slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 64px;
  padding: 0.65rem 0.4rem;
  border-radius: 14px;
  border: 1.5px dashed var(--border);
  background: var(--card-bg);
  cursor: pointer;
  text-align: center;
  transition: border-color .15s, background .15s, box-shadow .15s, transform .12s;
}
.slot strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.slot small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #16A34A;
  letter-spacing: 0.01em;
}
.slot:hover:not(.indisponivel) {
  border-color: var(--brand);
  border-style: solid;
  background: var(--brand-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.slot:hover:not(.indisponivel) strong { color: var(--brand-dark); }
.slot.selected {
  background: var(--brand-soft);
  border: 2px solid var(--brand);
  border-style: solid;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}
.slot.selected strong { color: var(--brand-dark); }
.slot.selected small { color: var(--brand-dark); }
.slot.indisponivel {
  background: var(--bg-soft);
  border-style: solid;
  border-color: var(--border);
  cursor: not-allowed;
  opacity: 0.72;
}
.slot.indisponivel strong { color: #94A3B8; }
.slot.indisponivel small { color: #94A3B8; font-weight: 500; }
.slots-empty { color: var(--text-muted); font-size: 0.9rem; grid-column: 1 / -1; }
.slots-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.85rem; }
.slots-hint i { margin-right: 0.25rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, #0D6E8A 100%);
  color: #fff; padding: 3rem 0;
}
.cta-band-inner {
  display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start;
}
@media (min-width: 700px) {
  .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cta-band h2 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.35rem; }
.cta-band p { opacity: 0.9; max-width: 28rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Contact */
.contact-grid {
  display: grid; gap: 2rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1.2fr 0.8fr; align-items: start; } }
.contact-lead { color: var(--text-muted); margin: 0.75rem 0 1.25rem; }
.contact-list { list-style: none; display: grid; gap: 0.65rem; }
.contact-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; }
.contact-list i { color: var(--brand); width: 1.1rem; text-align: center; }
.contact-card {
  background: var(--bg-soft); border-radius: 18px; padding: 1.5rem;
  border: 1px solid var(--border);
}
.contact-card h3 { margin-bottom: 0.4rem; }
.contact-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }

/* Footer */
.footer {
  background: #0B1C2C; color: #94A3B8; padding: 2.75rem 0 1.35rem;
}
.footer-grid {
  display: grid; gap: 1.75rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.75rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-logo { color: #fff; margin-bottom: 0.65rem; }
.footer-logo .logo-text small { color: #94A3B8; }
.footer-desc { font-size: 0.88rem; max-width: 280px; }
.footer h4 { color: #fff; margin-bottom: 0.65rem; font-size: 0.9rem; }
.footer a, .footer p { display: block; font-size: 0.88rem; margin-bottom: 0.35rem; }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1E3348; padding-top: 1.1rem;
  font-size: 0.78rem; text-align: center;
}
.footer-legal { margin-top: 0.35rem; opacity: 0.75; }

/* Modal */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 1rem;
}
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(15,23,42,0.55);
  backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative; background: var(--card-bg); border-radius: 18px;
  padding: 1.6rem; width: min(400px, 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,0.22); z-index: 1;
}
.modal-panel-form { width: min(440px, 100%); }
.modal-close {
  position: absolute; top: 0.9rem; right: 0.9rem;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--card-bg); cursor: pointer;
  color: var(--text);
}
.modal h2 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.modal-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.15rem; }
.acesso-options { display: grid; gap: 0.65rem; }
.acesso-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem;
  padding: 1rem; border-radius: 14px; border: 1px solid var(--border);
  background: var(--card-bg); cursor: pointer; text-align: left;
}
.acesso-card i { font-size: 1.3rem; color: var(--brand); margin-bottom: 0.2rem; }
.acesso-card span { font-weight: 700; }
.acesso-card small { color: var(--text-muted); font-size: 0.78rem; }
.acesso-card:hover { border-color: var(--brand); background: var(--brand-soft); }

.form-group { margin-bottom: 0.95rem; }
.form-group label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 0.3rem; }
.form-group input {
  width: 100%; padding: 0.75rem 0.95rem; border-radius: 12px;
  border: 1px solid var(--border); font-size: 1rem; background: var(--bg); color: var(--text);
}
.form-group input:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 79, 138, 0.15);
}
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.1rem; }

/* Float */
.wa-float {
  position: fixed; bottom: 1.35rem; right: 1.35rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  font-size: 1.55rem; box-shadow: 0 6px 22px rgba(37, 211, 102, 0.4);
}
.wa-float:hover { transform: scale(1.06); }
.theme-fab {
  position: fixed; bottom: 5.4rem; right: 1.5rem; z-index: 88;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card-bg); color: var(--brand);
  box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center;
}
.theme-panel {
  position: fixed; bottom: 9.2rem; right: 1.35rem; z-index: 89;
  width: min(280px, calc(100vw - 2rem)); max-height: 50vh; overflow-y: auto;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 0.9rem; box-shadow: var(--shadow-lg);
}
.theme-panel[hidden] { display: none; }
.theme-panel h4 { font-size: 0.75rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.theme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; }
.theme-btn {
  font-size: 0.72rem; padding: 0.45rem 0.5rem; border-radius: 8px;
  border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer; text-align: left;
}
.theme-btn:hover, .theme-btn.active {
  border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 600;
}

/* Logo image */
.logo-img {
  width: 42px; height: 42px; border-radius: 12px; object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.footer-logo .logo-img { width: 40px; height: 40px; }
.btn-icon {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--brand); background: var(--card-bg);
}
.btn-icon:hover { border-color: var(--brand); background: var(--brand-soft); }

/* Intro + bolhas */
.intro {
  position: fixed; inset: 0; z-index: 9999;
  background: #020b18;
  display: grid; place-items: center;
  transition: opacity .7s ease, visibility .7s;
}
.intro.is-done {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.intro-inner { text-align: center; position: relative; z-index: 2; padding: 1.5rem; }
.intro-logo {
  width: min(280px, 70vw); height: auto; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(14, 165, 233, 0.25);
  animation: introPop 1s ease both;
}
.intro-tag {
  color: #94A3B8; margin-top: 1rem; font-size: 0.9rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  animation: fadeUp .8s .3s ease both;
}
.intro-loader {
  margin: 1.5rem auto 0; width: 120px; height: 3px;
  background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden;
}
.intro-loader span {
  display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, #38BDF8, #0EA5E9);
  animation: loadBar 1.2s ease-in-out infinite;
}
@keyframes introPop {
  from { opacity: 0; transform: scale(0.85) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes loadBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}
.bubbles-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
}
.bubbles-bg {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.35;
}

/* Hero photo */
.hero-photo-wrap {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.hero-photo { width: 100%; height: auto; display: block; min-height: 240px; object-fit: cover; max-height: 380px; }
.hero-photo-badge {
  position: absolute; left: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.94); padding: 0.45rem 0.75rem;
  border-radius: 12px; font-size: 0.78rem; font-weight: 600; color: var(--text);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.hero-photo-badge img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }

/* Clínica section */
.clinica-grid {
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 800px) {
  .clinica-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.clinica-photo img {
  width: 100%; border-radius: 20px; object-fit: cover;
  max-height: 420px; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.clinica-copy h2 { font-family: var(--font-display); margin: 0.4rem 0 0.75rem; }
.clinica-copy > p { color: var(--text-muted); margin-bottom: 1rem; }
.clinica-social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.contact-logo {
  width: 72px; height: 72px; border-radius: 16px; object-fit: cover;
  margin-bottom: 0.75rem; box-shadow: var(--shadow);
}

/* ========== Mobile polish: centralizar e legibilidade ========== */
@media (max-width: 639px) {
  .container { width: min(100% - 1.25rem, 100%); }

  .topbar-inner {
    justify-content: center;
    text-align: center;
    font-size: 0.72rem;
    gap: 0.35rem;
  }

  .header-inner {
    gap: 0.5rem;
  }
  .logo-text strong { font-size: 1rem; }
  .logo-text small { font-size: 0.62rem; }

  .nav.open {
    text-align: center;
    align-items: stretch;
  }
  .nav.open a {
    padding: 0.75rem;
    border-radius: 12px;
    background: var(--bg-soft);
  }
  .nav.open .nav-cta {
    margin-top: 0.25rem;
  }

  .hero {
    padding: 1.75rem 0 2.25rem;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero h1 {
    font-size: 1.55rem;
    text-align: center;
  }
  .hero-sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
  }
  .hero-ctas {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
    text-align: left;
  }
  .hero-aside {
    margin-top: 0.5rem;
  }
  .hero-photo {
    max-height: 260px;
    width: 100%;
  }
  .hero-photo-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    width: max-content;
    max-width: calc(100% - 20px);
  }

  .strip {
    padding: 1.1rem 0;
  }
  .strip-grid {
    text-align: center;
  }
  .strip-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .strip-item i { margin-top: 0; }

  .section { padding: 2.5rem 0; }
  .section-head {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
  }
  .section-head h2 { font-size: 1.35rem; }

  .cards-4, .benefit-grid {
    grid-template-columns: 1fr;
  }
  .card, .benefit {
    text-align: center;
  }
  .card-icon {
    margin-left: auto;
    margin-right: auto;
  }
  .card-list {
    display: inline-block;
    text-align: left;
  }

  .timeline {
    text-align: left;
  }
  .tl-item {
    gap: 0.75rem;
  }

  .clinica-grid {
    text-align: center;
  }
  .clinica-copy .check-list {
    display: inline-grid;
    text-align: left;
  }
  .clinica-social {
    justify-content: center;
  }
  .clinica-social .btn {
    flex: 1 1 auto;
    min-width: 140px;
    justify-content: center;
  }

  .security-layout {
    text-align: center;
  }
  .check-list {
    justify-items: start;
    display: inline-grid;
    text-align: left;
  }
  .security-seals {
    max-width: 280px;
    margin: 0 auto;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }
  .testimonial { text-align: center; }

  .faq-item summary {
    text-align: left;
    gap: 0.5rem;
  }

  .scheduler {
    padding: 1rem;
  }
  .cal-day {
    font-size: 0.82rem;
    min-height: 40px;
  }
  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .slot {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .slots-title, #slots-title {
    text-align: center;
  }

  .cta-band {
    text-align: center;
    padding: 2.25rem 0;
  }
  .cta-band-inner {
    align-items: center;
  }
  .cta-band-actions {
    width: 100%;
    flex-direction: column;
  }
  .cta-band-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-grid {
    text-align: center;
  }
  .contact-list {
    display: inline-grid;
    text-align: left;
  }
  .contact-card {
    text-align: center;
  }
  .contact-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer {
    text-align: center;
  }
  .footer-grid {
    justify-items: center;
  }
  .footer-logo {
    justify-content: center;
  }
  .footer a, .footer p {
    text-align: center;
  }
  .footer-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .modal-panel {
    width: min(100%, 100%);
    margin: 0.5rem;
    max-height: 90vh;
    overflow-y: auto;
  }
  .acesso-card {
    align-items: center;
    text-align: center;
  }

  .wa-float {
    bottom: 1rem;
    right: 1rem;
    width: 52px;
    height: 52px;
  }

  .intro-logo {
    width: min(220px, 72vw);
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .hero-grid {
    gap: 1.75rem;
  }
  .hero h1 { font-size: 1.85rem; }
  .cards-4 {
    grid-template-columns: 1fr 1fr;
  }
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .scheduler {
    grid-template-columns: 1fr;
  }
  .slots-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .cta-band-inner {
    text-align: center;
    align-items: center;
  }
}

/* Touch-friendly */
@media (hover: none) {
  .btn, .slot, .cal-day, .acesso-card, .nav a {
    min-height: 44px;
  }
}


/* Galeria (conteúdo do CRM) */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 560px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: var(--bg-soft);
}
.gallery-item .gallery-caption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.gallery-item a.gallery-video-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 600;
  text-decoration: none;
  gap: 0.5rem;
}

/* Pré-cadastro + termo + assinatura */
.modal-panel-wide { max-width: 560px; max-height: 92vh; overflow-y: auto; }
.form-row-2 { display: grid; gap: 0.75rem; }
@media (min-width: 520px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.termo-box {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.termo-box h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.termo-box h3 i { color: var(--brand); }
.termo-texto {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-height: 120px;
  overflow-y: auto;
  margin-bottom: 0.75rem;
  padding-right: 0.35rem;
}
.termo-texto p { margin: 0 0 0.5rem; }
.termo-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.85rem;
  cursor: pointer;
}
.termo-check input { margin-top: 0.2rem; accent-color: var(--brand); }
.assinatura-wrap label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.assinatura-pad {
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  touch-action: none;
}
.assinatura-pad canvas {
  display: block;
  width: 100%;
  height: 160px;
  cursor: crosshair;
}
.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.8rem; margin-top: 0.45rem; }

/* Hover effects profissionais */
.slot:not(.indisponivel):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14,165,233,.18);
  border-color: var(--brand);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.card-hover, .depoimento-card, .blog-card, .galeria-item {
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-hover:hover, .depoimento-card:hover, .blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.galeria-item:hover { transform: scale(1.02); }
.nav a:hover, .nav-link:hover { color: var(--brand); }
.wa-float:hover { transform: scale(1.08); }
img { max-width: 100%; height: auto; }
