/* ============================================================
   EduXavier — estilos do site (proposta home)
   Paleta oficial (doc 05):
   Off-White #F8F9FA · Forest #007A14 · Lime #45EE00 · Gold #D4A000 · Black #121212
   ============================================================ */

:root {
  --off-white: #f8f9fa;
  --forest: #007a14;
  --forest-dark: #005c0f;
  --lime: #45ee00;
  --gold: #d4a000;
  --black: #121212;

  --text: #1d2321;
  --muted: #5b6460;
  --line: #e4e8e6;
  --white: #ffffff;

  --container: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);

  --font-head: "Roboto", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--black); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--forest); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--forest); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .7rem 1.3rem; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: all .2s ease; text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn-cta { background: var(--forest); color: #fff; border-color: var(--forest); }
.btn-cta:hover { background: var(--forest-dark); border-color: var(--forest-dark); box-shadow: 0 8px 20px rgba(0,122,20,.28); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: #fff; }

.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--forest); margin: 0 0 .6rem;
}
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.logo img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav ul { list-style: none; display: flex; gap: 1.3rem; margin: 0; padding: 0; }
.nav a { color: var(--text); font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--forest); text-decoration: none; }
.nav-cta { margin-left: .3rem; }
.nav a.nav-cta, .nav a.nav-cta:hover { color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--black); transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 112% 0%, rgba(212,160,0,.16), transparent 58%),
    radial-gradient(700px 400px at -5% 110%, rgba(0,122,20,.10), transparent 55%),
    linear-gradient(180deg, #fbf7ee 0%, var(--off-white) 72%);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-sub { font-size: 1.12rem; color: #38423e; max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; padding: 0; margin: 1.5rem 0 0; font-size: .92rem; color: var(--muted); font-weight: 500; }
.hero-badges li { display: flex; align-items: center; gap: .5rem; }
.badge-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); display: inline-block; }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.1rem; }
.hero-tags li {
  display: inline-flex; align-items: center; gap: .38rem;
  background: #e9f6ec; color: var(--forest);
  border: 1px solid rgba(0,122,20,.18); border-radius: 999px;
  padding: .4rem .8rem; font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .01em; line-height: 1;
}
.hero-tags svg { width: 13px; height: 13px; flex-shrink: 0; }
.hero-tags li.is-link { padding: 0; }
.hero-tags li.is-link a {
  display: inline-flex; align-items: center; gap: .38rem;
  color: inherit; text-decoration: none; padding: .4rem .8rem;
  border-radius: 999px; transition: background .15s ease;
}
.hero-tags li.is-link:hover, .hero-tags li.is-link:focus-within { background: #daf0e0; border-color: rgba(0,122,20,.4); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-media-tag {
  position: absolute; bottom: 14px;
  background: rgba(18,18,18,.78); color: #fff; font-family: var(--font-head);
  font-weight: 600; font-size: .82rem; padding: .4rem .85rem; border-radius: 50px;
  backdrop-filter: blur(4px);
}
.hero-tag-left { left: 14px; }
.hero-tag-right { right: 14px; }
/* Detalhe dourado no topo da foto */
.hero-media::before {
  content: ""; position: absolute; inset: -6px -6px auto auto; width: 70px; height: 70px;
  border-top: 4px solid var(--gold); border-right: 4px solid var(--gold);
  border-radius: 0 var(--radius) 0 0; z-index: 1;
}

/* ---------- Autoridade / stats ---------- */
/* Faixa de autoridade em preto com números dourados (quebra o verde, ar premium) */
.autoridade { background: var(--black); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; padding: 2.4rem 20px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--gold); }
.stat span { font-size: .88rem; color: rgba(255,255,255,.75); }
.stat em { color: var(--gold); font-style: normal; }

/* ---------- Seções ---------- */
.section { padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.section-lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- Cards de tratamento ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: #e9f6ec; color: var(--forest); display: grid; place-items: center; margin-bottom: 1rem; }
/* Alterna verde/dourado para não ficar monocromático */
.cards .card:nth-child(2n) .card-icon { background: #faf1d6; color: var(--gold); }
.card-icon svg { width: 28px; height: 28px; }
.card p { color: var(--muted); font-size: .96rem; }
.card-link { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }

/* ---------- Diferenciais ---------- */
.features { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.feature { padding-left: 1rem; border-left: 3px solid var(--lime); }
.feature p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Tecnologia / vídeo ---------- */
.tech-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.disclaimer { font-size: .82rem; color: var(--muted); font-style: italic; }
/* Selos de certificação Systhex */
.selos { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.selos li { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; padding: .55rem .8rem; }
.selo-nome { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--black); }
.selo-desc { display: block; font-size: .76rem; color: var(--muted); }
.yt-facade {
  position: relative; cursor: pointer; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/9; background: #000; box-shadow: var(--shadow);
}
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.yt-facade iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; }
.yt-play svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); transition: transform .2s; }
.yt-facade:hover .yt-play svg { transform: scale(1.1); }

/* ---------- Vídeo de introdução (vertical 9:16) ---------- */
.intro-video { padding-block: 2.5rem; }
.intro-inner { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; justify-items: center; }
.intro-text { text-align: center; }
.intro-resumo { font-size: 1.05rem; color: var(--muted); margin: 0; }
.intro-resumo + .intro-resumo { margin-top: 1rem; }
/* Celular: título antes do vídeo e sem o texto corrido */
@media (max-width: 860px) {
  .intro-inner { gap: .6rem; }
  .intro-text { display: contents; }
  .intro-text .eyebrow { order: 1; margin: 0; text-align: center; }
  .intro-text h2 { order: 2; margin: 0 0 .6rem; text-align: center; }
  .intro-player { order: 3; }
  .intro-resumo { display: none; }
}
/* Vídeo vertical: nunca passa de 50% da altura da tela (e de 50% da largura) */
.intro-player {
  width: min(100%, calc(90vh * 9 / 16)); aspect-ratio: 9/16; height: auto;
  border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow);
}
.intro-player { position: relative; }
.intro-player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-float { position: absolute; inset: 0; background: #000; }
.intro-fechar { display: none; }
/* Miniplayer: vídeo fixo no canto depois que o player sai da tela */
.intro-player.is-mini .intro-float {
  position: fixed; inset: auto 18px 88px auto; z-index: 70;
  width: 190px; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 34px rgba(0,0,0,.4);
}
.intro-player.is-mini .intro-acoes { display: none; }
.intro-player.is-mini .intro-fechar {
  display: grid; place-items: center; position: absolute; top: 6px; right: 6px; z-index: 3;
  width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff;
  font-size: .85rem; line-height: 1; cursor: pointer;
}
@media (max-width: 860px) {
  .intro-player.is-mini .intro-float { width: 120px; inset: auto 12px 84px auto; }
}
.intro-acoes {
  position: absolute; top: .8rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: none; gap: .5rem; white-space: nowrap;
}
.intro-acoes.is-on { display: flex; }
.intro-btn {
  padding: .55rem 1rem; border: 0; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff;
  font-family: inherit; font-weight: 600; font-size: .9rem; line-height: 1; cursor: pointer; backdrop-filter: blur(4px);
}
.intro-btn:hover { background: rgba(0,0,0,.88); }
.intro-btn[hidden] { display: none; }
@media (min-width: 861px) {
  .intro-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: 900px; margin-inline: auto; justify-items: stretch; }
  .intro-player { justify-self: center; }
  .intro-text { text-align: left; }
}

/* ---------- Antes & Depois ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.4rem; }
.ba-ph {
  aspect-ratio: 4/3; border: 2px dashed var(--line); border-radius: var(--radius);
  display: grid; place-items: center; text-align: center; color: var(--muted);
  background: #fafbfb; font-weight: 500;
}
.ba-ph small { color: #9aa29e; font-weight: 400; }
.disclaimer.center { max-width: 70ch; margin: 0 auto; }

/* Casos Reais — galeria de fotos de pacientes (grid + lightbox) */
.casos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-bottom: 1.4rem; }
@media (min-width: 680px) { .casos-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.caso-item {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: #fafbfb; aspect-ratio: 4/5; cursor: pointer;
}
.caso-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.caso-item:hover img, .caso-item:focus-within img { transform: scale(1.05); }
.caso-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem .8rem .6rem;
  color: #fff; font-size: .84rem; background: linear-gradient(transparent, rgba(0,0,0,.65));
}
.caso-item.is-empty {
  display: grid; place-items: center; cursor: default; border: 2px dashed var(--line);
  color: var(--muted); font-weight: 500; text-align: center; font-size: .9rem; padding: .5rem;
}
.caso-item.is-empty small { display: block; color: #9aa29e; font-weight: 400; margin-top: .2rem; }
.casos-grid > .ig-fallback { grid-column: 1 / -1; }

/* Assinatura (ex.: página Sobre) */
.prose .assinatura { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-style: italic; }
.prose .assinatura strong { color: var(--text); font-style: normal; }

/* Formulário de mensagem -> WhatsApp */
.wa-form { max-width: 640px; margin: 0 auto; display: grid; gap: .9rem; }
.wa-form label { font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.wa-form input, .wa-form textarea {
  width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; background: #fff; color: var(--text);
}
.wa-form input:focus, .wa-form textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(0, 122, 20, .15); }
.wa-form textarea { resize: vertical; min-height: 130px; }
.wa-form button { justify-self: start; border: none; cursor: pointer; }
.wa-form .wa-hint { font-size: .82rem; color: var(--muted); margin: 0; }

/* Hero com implante vertical (ex.: Azzo/Systhex) */
.hero-azzo { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #eef1f1; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1rem .9rem; }
.hero-azzo img { height: min(56vh, 470px); width: auto; border-radius: 0; box-shadow: none; }
.hero-azzo figcaption { margin-top: .55rem; font-size: .78rem; color: var(--muted); text-align: center; }
/* Imagem na comparação de conexões */
.conn-figure img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block; }
.conn-labels { display: flex; justify-content: space-around; max-width: 620px; margin: .6rem auto 0; font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.conn-labels .he { color: #b03a3a; }
.conn-labels .cm { color: #0a7a1b; }

/* Lightbox (ampliar foto) */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(12, 12, 12, .92); display: none; align-items: center; justify-content: center; padding: 4vh 5vw; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; box-shadow: 0 12px 44px rgba(0, 0, 0, .55); }
.lightbox .lb-cap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #eee; font-size: .9rem; padding: 0 1rem; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: none; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .28); }
.lb-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Feed do Instagram (widget embutido) */
.ig-feed { margin-bottom: 1.4rem; }
.ig-feed iframe { width: 100%; border: 0; display: block; }
.ig-fallback { border: 2px dashed var(--line); border-radius: var(--radius); background: #fafbfb; padding: 2.4rem 1.2rem; text-align: center; }
.ig-fallback-txt { color: var(--muted); max-width: 56ch; margin: 0 auto 1.2rem; }
.ig-fallback .btn { margin: .25rem; }

/* ---------- Depoimentos ---------- */
.depo-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 2rem; }
.depo-ph {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 1.5rem; margin: 0; box-shadow: var(--shadow-sm);
}
.depo-ph p { font-size: 1.02rem; color: var(--text); }
.depo-ph footer { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--muted); }

/* Depoimentos reais (avaliações do Google) */
.depo-rating { display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.depo-rating .num { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--text); line-height: 1; }
.depo-rating .stars { color: var(--gold); letter-spacing: 2px; font-size: 1.15rem; }
.depo-rating .count { color: var(--muted); font-size: .95rem; }
/* Medidor de estrelas com preenchimento parcial (média, ex.: 4,8) */
.star-meter { position: relative; display: inline-block; font-size: 1.25rem; line-height: 1; letter-spacing: 2px; white-space: nowrap; }
.star-meter .sm-base { color: #d8dcda; }
.star-meter .sm-fill { color: var(--gold); position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; }
.depo-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 1.4rem 1.5rem; margin: 0; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .8rem;
}
.depo-card .stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.depo-card blockquote { margin: 0; font-size: 1rem; color: var(--text); line-height: 1.6; }
.depo-card .depo-head { display: flex; align-items: center; gap: .7rem; margin-top: auto; padding-top: .4rem; }
.depo-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; color: #fff; font-size: .95rem; background: var(--forest);
  position: relative; overflow: hidden;
}
.depo-avatar .da-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.depo-meta { display: flex; flex-direction: column; line-height: 1.25; }
.depo-meta .name { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--text); }
.depo-meta .when { font-size: .78rem; color: var(--muted); }
.depo-meta .when a { color: var(--forest); text-decoration: none; }
.depo-meta .when a:hover { text-decoration: underline; }

/* ---------- Como funciona ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.step-n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--black); font-family: var(--font-head); font-weight: 700; margin-bottom: .8rem;
}
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Contato ---------- */
/* Bloco de contato em verde (momento de marca intencional) */
.contato { background: linear-gradient(135deg, var(--forest) 0%, #0a9b22 100%); color: #fff; scroll-margin-top: 80px; }
.contato h2 { color: #fff; }
.contato .eyebrow { color: #c7f3d1; }
.contato p { color: rgba(255,255,255,.92); }
.contato-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.contato-list { list-style: none; padding: 0; margin: 1.3rem 0; }
.contato-list li { padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.22); font-size: .98rem; }
.contato-list strong { color: #fff; }
.contato-list a { color: #fff; text-decoration: underline; }
.contato-list .muted { color: rgba(255,255,255,.8); }
.contato-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.contato .btn-cta { background: #fff; color: var(--forest); border-color: #fff; }
.contato .btn-cta:hover { background: var(--off-white); color: var(--forest-dark); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.contato .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.contato .btn-ghost:hover { background: #fff; color: var(--forest); }
.contato-map iframe, .contato-map .mapa-sat { width: 100%; min-height: 300px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.contato-map .mapa-sat { height: 340px; overflow: hidden; }
.contato-map .mapa-sat .leaflet-container { background: #0b1a12; }
.contato-map .mapa-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; margin-top: 1rem; }
.contato-map .mapa-gmaps { margin: 0; }
.contato-map .ride { display: none; align-items: center; justify-content: center; height: 44px; padding: 0 1.05rem; border-radius: 12px; font-family: var(--font-head); font-weight: 700; font-size: .98rem; letter-spacing: .01em; text-decoration: none; box-shadow: var(--shadow-sm); }
.contato-map .ride-uber { background: #000; color: #fff; }
.contato-map .ride-uber .uber-logo { height: 15px; width: auto; display: block; }
/* ícones de apps de corrida: só em dispositivos de toque (celular/tablet) */
@media (hover: none) and (pointer: coarse) {
  .contato-map .ride { display: inline-flex; }
}

/* ---------- Rodapé ---------- */
.site-footer { margin-top: 2rem; }

/* Faixa clara: EduXavier em Vizzual Odonto (duas logos) */
.partner-band { background: var(--off-white); border-top: 1px solid var(--line); }
.partner-inner {
  display: grid; grid-template-columns: 1fr; gap: 1.4rem;
  align-items: center; justify-items: center; text-align: center; padding: 2.4rem 20px;
}
.partner-logo { height: auto; max-height: 52px; width: auto; }
.partner-logo-sm { max-height: 100px; }
.partner-text strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--black); margin-bottom: .35rem; }
.partner-text p { font-size: .9rem; color: var(--muted); margin: .15rem 0; }
.partner-text a { color: var(--forest); font-weight: 600; }

/* Barra inferior escura */
.footer-bottom { background: var(--black); color: #c9cfcc; padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; gap: .55rem; text-align: center; }
.footer-social { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; }
.footer-social a { color: var(--lime); font-weight: 500; font-size: .92rem; }
.footer-tech { font-size: .85rem; margin: 0; }
.footer-tech strong { color: #fff; }
.footer-bottom .muted { font-size: .8rem; margin: 0; color: #8a918e; }

/* ---------- Janela de mensagem do WhatsApp ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wa-dialog {
  border: 0; border-radius: 16px; padding: 0; width: min(92vw, 420px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35); color: inherit;
}
.wa-dialog::backdrop { background: rgba(12,12,12,.6); }
.wa-form { position: relative; display: grid; gap: .8rem; padding: 1.6rem 1.4rem 1.4rem; }
.wa-form h2 { margin: 0; font-size: 1.3rem; padding-right: 2rem; }
.wa-form p { margin: 0; color: var(--muted); font-size: .95rem; }
.wa-form textarea {
  width: 100%; resize: vertical; min-height: 7rem; padding: .8rem; font: inherit;
  border: 1px solid var(--line); border-radius: 10px;
}
.wa-form textarea:focus { outline: 2px solid #25d366; outline-offset: 1px; }
.wa-fechar {
  position: absolute; top: .7rem; right: .7rem; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: transparent; font-size: 1rem; cursor: pointer; color: var(--muted);
}
.wa-fechar:hover { background: rgba(0,0,0,.06); }
.wa-form .wa-fone { text-align: center; font-size: .95rem; }
.wa-fone a { font-weight: 700; color: #0a7a1b; white-space: nowrap; }
.wa-enviar { justify-content: center; width: 100%; cursor: pointer; }

/* ---------- Botão flutuante WhatsApp ---------- */
.whats-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s;
}
.whats-float:hover { transform: scale(1.08); text-decoration: none; }
.whats-float svg { width: 32px; height: 32px; }

/* ---------- Acento dourado (eyebrows) ---------- */
.eyebrow-gold { color: var(--gold); }

/* ---------- Tratamentos em detalhe (slideshow dos cards da marca) ---------- */
.section-detalhe { background: var(--off-white); }
.slider { position: relative; }
.slider-track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding: .3rem 0 .6rem;
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide {
  margin: 0; flex: 0 0 82%; scroll-snap-align: center;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff;
}
.slide img { width: 100%; height: auto; display: block; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--forest); box-shadow: var(--shadow);
  font-size: 1.7rem; line-height: 1; display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.slider-btn:hover { background: var(--forest); color: #fff; }
.slider-prev { left: 2px; }
.slider-next { right: 2px; }
.slider-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: background .2s; }
.slider-dots button.active { background: var(--gold); }

/* ---------- Equipe ---------- */
.section-equipe { background: #fff; }
.team { display: grid; grid-template-columns: 1fr; gap: 1.4rem; max-width: 760px; margin: 0 auto; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* altura reduzida (paisagem); enquadra o rosto no topo */
.team-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; height: 380px; }
.team-info { padding: 1.1rem 1.3rem 1.4rem; border-top: 3px solid var(--gold); }
.team-info h3 { margin-bottom: .2rem; }
.team-role { color: var(--forest); font-weight: 600; font-family: var(--font-head); margin: .1rem 0; }
.team-cro { color: var(--muted); font-size: .9rem; margin: 0; }
.team-bio { color: var(--text); font-size: .92rem; margin: .7rem 0 0; }
.team-valida { margin: .55rem 0 0; }
.team-valida a { font-family: var(--font-head); font-weight: 600; font-size: .82rem; }

/* ---------- Dropdown de navegação (Tratamentos) ---------- */
.has-sub { position: relative; }
.sub-toggle {
  background: none; border: 0; cursor: pointer; font-family: var(--font-body);
  font-weight: 500; font-size: .98rem; color: var(--text); padding: 0;
  display: inline-flex; align-items: center; gap: .25rem;
}
.sub-toggle:hover, .sub-toggle.active { color: var(--forest); }
.caret { font-size: .7em; transition: transform .2s; }
.submenu {
  list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + 12px); left: 0;
  min-width: 232px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 40;
}
.submenu li { border: 0; }
.submenu a { display: block; padding: .55rem .7rem; border-radius: 8px; font-size: .95rem; color: var(--text); }
.submenu a:hover { background: #eef6ef; color: var(--forest); text-decoration: none; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub:hover .caret, .has-sub.open .caret { transform: rotate(180deg); }
.nav a.active { color: var(--forest); }

/* ---------- Hero de página interna + breadcrumb ---------- */
.page-hero {
  background: radial-gradient(800px 400px at 112% -20%, rgba(212,160,0,.14), transparent 60%),
    linear-gradient(180deg, #f0f6f1 0%, var(--off-white) 100%);
  padding: clamp(2rem, 5vw, 3.2rem) 0 clamp(1.6rem, 4vw, 2.4rem); border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb span[aria-current] { color: var(--black); }
.page-hero h1 { margin-bottom: .4rem; }
.page-hero .lead { font-size: 1.1rem; color: #38423e; max-width: 62ch; margin: 0; }

/* ---------- Hero de página com mídia (foto lateral) ---------- */
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.page-hero-media { margin: 0; }
.page-hero-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 861px) { .page-hero-grid { grid-template-columns: 1.1fr .9fr; } }

/* Vídeo ilustrativo com botão de play/pausar (ex.: coroa encaixando no pino) */
.hero-video { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.hero-video video { width: 100%; height: auto; display: block; }
.video-toggle {
  position: absolute; left: 12px; bottom: 12px;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(18, 18, 18, .6); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .1s;
}
.video-toggle:hover { background: rgba(18, 18, 18, .82); }
.video-toggle:active { transform: scale(.94); }
.video-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.video-toggle svg { width: 20px; height: 20px; display: block; }
.video-toggle .vt-play { display: none; margin-left: 2px; }
.hero-video.is-paused .video-toggle .vt-pause { display: none; }
.hero-video.is-paused .video-toggle .vt-play { display: block; }

/* Demonstração de clareamento (transição amarelo → branco) + barra de sessões */
.whiten-demo { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.whiten-stage { position: relative; }
.whiten-stage img { width: 100%; height: auto; display: block; border-radius: 0; box-shadow: none; }
.whiten-stage .whiten-after { position: absolute; inset: 0; animation: whiten 6s ease-in-out infinite; }
@keyframes whiten { 0%, 12% { opacity: 0; } 40%, 82% { opacity: 1; } 100% { opacity: 0; } }
.whiten-badge {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: rgba(18,18,18,.78); color: #fff; font-family: var(--font-head);
  font-weight: 600; font-size: .76rem; padding: .32rem .75rem; border-radius: 50px; backdrop-filter: blur(4px);
}
/* Barra de sessões com cursor sincronizado */
.whiten-sessions { padding: .75rem 1.1rem 1rem; background: #fff; border-top: 1px solid var(--line); }
.ws-title { margin: 0 0 .3rem; font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--black); text-align: center; }
.ws-track { position: relative; height: 6px; background: var(--line); border-radius: 50px; margin: .5rem 10px 0; }
.ws-fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 50px; background: linear-gradient(90deg, var(--gold), var(--forest)); animation: wsFill 6s ease-in-out infinite; }
.ws-knob { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--forest); box-shadow: var(--shadow-sm); transform: translate(-50%, -50%); animation: wsKnob 6s ease-in-out infinite; z-index: 2; }
@keyframes wsFill { 0%, 12% { width: 0%; } 40%, 82% { width: 100%; } 100% { width: 0%; } }
@keyframes wsKnob { 0%, 12% { left: 0%; } 40%, 82% { left: 100%; } 100% { left: 0%; } }
.ws-labels { display: flex; justify-content: space-between; margin: .5rem 3px 0; font-size: .72rem; color: var(--muted); font-family: var(--font-head); font-weight: 600; }
.ws-labels span.on { color: var(--forest); }
@media (prefers-reduced-motion: reduce) {
  .whiten-stage .whiten-after { animation: none; opacity: 1; }
  .ws-fill { animation: none; width: 100%; }
  .ws-knob { animation: none; left: 100%; }
}

/* Espaço reservado para foto real (a ser substituído por <img>) */
.photo-slot {
  position: relative; border: 2px dashed var(--line); border-radius: var(--radius);
  background: linear-gradient(135deg, #f0f6f1 0%, #fbf7ee 100%);
  display: grid; place-content: center; place-items: center; text-align: center;
  color: var(--muted); aspect-ratio: 4 / 3; padding: 1.4rem;
}
.photo-slot svg { width: 44px; height: 44px; color: var(--forest); opacity: .55; margin-bottom: .6rem; }
.photo-slot strong { display: block; color: var(--black); font-family: var(--font-head); font-size: .98rem; margin-bottom: .25rem; }
.photo-slot small { font-size: .78rem; color: #9aa29e; }

/* ---------- Conteúdo (prose) ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.4rem; font-size: 1.1rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.lead-list { list-style: none; padding: 0; }
.lead-list li { padding-left: 1.6rem; position: relative; margin-bottom: .6rem; }
.lead-list li::before { content: "✓"; position: absolute; left: 0; color: var(--forest); font-weight: 700; }

/* ---------- Faixa de CTA reutilizável ---------- */
.cta-band { background: linear-gradient(135deg, var(--forest) 0%, #0a9b22 100%); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 55ch; margin: 0 auto 1.4rem; }
.cta-band .btn-cta { background: #fff; color: var(--forest); border-color: #fff; }
.cta-band .btn-cta:hover { background: var(--off-white); color: var(--forest-dark); box-shadow: 0 8px 20px rgba(0,0,0,.2); }

/* ---------- FAQ (sanfona) ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--black); padding: 1.1rem 2rem 1.1rem 0; position: relative; }
.faq-q::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--forest); font-size: 1.4rem; line-height: 1; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a p { padding: 0 0 1.1rem; color: var(--muted); margin: 0; }

/* ---------- Comparativo de conexão (HE x Cone Morse) ---------- */
.conn-figure { max-width: 620px; margin: 0 auto 2.2rem; }
.conn-figure svg { width: 100%; height: auto; display: block; }
.conn-figure figcaption { text-align: center; font-size: .8rem; color: var(--muted); margin-top: .7rem; max-width: 60ch; margin-left: auto; margin-right: auto; }
.compare { display: grid; grid-template-columns: 1fr; gap: 1.2rem; max-width: 880px; margin: 0 auto; }
.compare .card { padding: 1.5rem; }
.compare .card h3 { margin-bottom: .3rem; }
.compare .card.is-recommended { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(212,160,0,.28), var(--shadow-sm); }
.compare .ribbon { display: inline-block; background: var(--gold); color: var(--black); font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .02em; padding: .22rem .7rem; border-radius: 50px; margin-bottom: .7rem; }
.compare .neutral-list { list-style: none; padding: 0; margin: .4rem 0 0; }
.compare .neutral-list li { padding-left: 1.3rem; position: relative; margin-bottom: .5rem; color: var(--muted); font-size: .95rem; }
.compare .neutral-list li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }
.compare .lead-list { margin-top: .4rem; }
.compare .lead-list li { color: var(--text); font-size: .95rem; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }

/* ---------- Redes (embed do feed) ---------- */
.redes-embed { max-width: 920px; margin: 0 auto; }
.embed-ph { border: 2px dashed var(--line); border-radius: var(--radius); padding: 2.6rem 1.5rem; text-align: center; color: var(--muted); background: #fafbfb; }
.embed-ph strong { display: block; color: var(--black); font-family: var(--font-head); margin-bottom: .5rem; }

/* ---------- Links do rodapé ---------- */
.footer-nav { background: #fff; border-top: 1px solid var(--line); }
.footer-nav-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; padding: 1.1rem 20px; }
.footer-nav a { color: var(--text); font-size: .92rem; font-weight: 500; }
.footer-nav a:hover { color: var(--forest); }

/* ============================================================
   Responsivo (mobile-first → telas maiores)
   ============================================================ */
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 20px 1.5rem;
    gap: .5rem; box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .28s ease;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { display: block; padding: .8rem 0; }
  .nav-cta { margin: .8rem 0 0; }
  .nav-toggle { display: flex; }
  /* Submenu em modo mobile (acordeão) */
  .has-sub { border-bottom: 1px solid var(--line); }
  .sub-toggle { width: 100%; justify-content: space-between; padding: .8rem 0; color: var(--text); }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .6rem .7rem; min-width: 0; display: none; }
  .has-sub.open .submenu { display: block; }
  .submenu li { border: 0; }
  .submenu a { padding: .6rem 0; }
}

@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: repeat(3, 1fr); }
  .depo-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .slide { flex-basis: 46%; }
  /* Três colunas: logo EduXavier | credencial centralizada | logo Vizzual */
  .partner-inner { grid-template-columns: auto 1fr auto; gap: 2rem; }
}

@media (min-width: 861px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .hero-inner { grid-template-columns: 1.1fr .9fr; }
  .tech-inner { grid-template-columns: 1fr 1fr; }
  .contato-inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .features { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .slide { flex-basis: 31%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
