/* =====================================================================
   MAKRO ODONTOLOGIA — estilos
   Paleta oficial: Noite #020A1F · Marinho Escuro #00123D · Marinho Makro #000050
   Profundo #002668 · Royal #005FDC · Brilho #3D8BFF · Branco #FFFFFF
   ===================================================================== */

@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --noite: #020A1F; --marinho-escuro: #00123D; --marinho: #000050; --profundo: #002668;
  --royal: #005FDC; --brilho: #3D8BFF; --branco: #FFFFFF;

  --fundo: #F4F8FF;
  --texto: #0B1636;
  --texto-suave: #4A5778;
  --titulo: var(--marinho);
  --destaque: var(--royal);
  --linha: rgba(0, 38, 104, .12);

  --vidro-bg: rgba(255, 255, 255, .42);
  --vidro-borda: rgba(255, 255, 255, .75);
  --vidro-sombra: 0 10px 40px -12px rgba(0, 38, 104, .25);
  --vidro-brilho: rgba(255, 255, 255, .9);

  --osso-1: #f3efe6; --osso-2: #e0d8c6;
  --geng-1: #f4b8c0; --geng-2: #e58f9c;
  --dente-borda: rgba(0, 38, 104, .28);

  --raio: 28px;
  --raio-sm: 16px;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --fundo: #020A1F;
  --texto: #E6ECF8;
  --texto-suave: #9AA8C7;
  --titulo: #FFFFFF;
  --destaque: var(--brilho);
  --linha: rgba(61, 139, 255, .16);

  --vidro-bg: rgba(10, 24, 60, .38);
  --vidro-borda: rgba(120, 170, 255, .22);
  --vidro-sombra: 0 14px 50px -12px rgba(0, 0, 0, .6);
  --vidro-brilho: rgba(160, 200, 255, .35);

  --osso-1: #2a3758; --osso-2: #1a2440;
  --geng-1: #c9707f; --geng-2: #9c4c5c;
  --dente-borda: rgba(160, 200, 255, .35);
  color-scheme: dark;
}

/* st- = cores dos gradientes do SVG (precisam ser CSS por causa do tema) */
.st-osso1 { stop-color: var(--osso-1); } .st-osso2 { stop-color: var(--osso-2); }
.st-geng1 { stop-color: var(--geng-1); } .st-geng2 { stop-color: var(--geng-2); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Poppins", system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  color: var(--texto); background: var(--fundo); overflow-x: hidden;
  transition: background-color .6s var(--ease), color .6s var(--ease);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--titulo); margin: 0; line-height: 1.08; }
h1 em, h2 em { font-family: "Poppins", system-ui, sans-serif; font-style: normal; font-weight: 400; color: #91D7F6; letter-spacing: -.01em; }
[data-theme="light"] h1 em, [data-theme="light"] h2 em, :root:not([data-theme]) h1 em, :root:not([data-theme]) h2 em { color: #3AA0DE; }
:focus-visible { outline: 2px solid var(--brilho); outline-offset: 3px; border-radius: 6px; }
.pular { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--royal); color: #fff; border-radius: 10px; }
.pular:focus { left: 8px; }

/* ---------- fundo animado ---------- */
#fundo { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; filter: blur(70px) saturate(120%); transform: scale(1.15); }
.grao { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- LIQUID GLASS ---------- */
.glass {
  position: relative; isolation: isolate;
  background: var(--vidro-bg);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--vidro-borda);
  box-shadow: var(--vidro-sombra), inset 0 1px 0 var(--vidro-brilho), inset 0 -1px 0 rgba(255, 255, 255, .08);
}
/* reflexo especular que segue o cursor (--mx/--my via JS) */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, .35), transparent 45%);
  opacity: .7; mix-blend-mode: soft-light;
}
/* borda refratada */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 30%, rgba(61, 139, 255, .25) 70%, rgba(255, 255, 255, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
[data-theme="dark"] .glass::before { background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 0%), rgba(120, 170, 255, .22), transparent 45%); mix-blend-mode: screen; }
[data-theme="dark"] .glass::after { background: linear-gradient(135deg, rgba(140, 185, 255, .45), rgba(255, 255, 255, 0) 30%, rgba(61, 139, 255, .3) 70%, rgba(140, 185, 255, .3)); }

/* ---------- botões ---------- */
.btn {
  --pad: 15px 26px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; font: 600 15px/1 "Poppins", sans-serif; letter-spacing: .01em;
  text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s;
}
.btn--sm { --pad: 11px 18px; font-size: 14px; }
.btn--primario { color: #fff; background: linear-gradient(135deg, var(--brilho), var(--royal) 45%, var(--profundo)); box-shadow: 0 10px 30px -10px rgba(0, 95, 220, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--primario:hover { box-shadow: 0 16px 40px -12px rgba(0, 95, 220, .9), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn--vidro { color: var(--titulo); background: var(--vidro-bg); border: 1px solid var(--vidro-borda); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); box-shadow: inset 0 1px 0 var(--vidro-brilho); }
.btn--vidro:hover { background: rgba(255, 255, 255, .6); }
[data-theme="dark"] .btn--vidro:hover { background: rgba(30, 60, 130, .5); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cabeçalho ---------- */
.topo { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; }
.nav { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 10px 12px 10px 22px; border-radius: 999px; }
.nav__logo img { height: 38px; width: auto; }
.logo-escuro { display: none !important; }
[data-theme="dark"] .logo-claro { display: none !important; }
[data-theme="dark"] .logo-escuro { display: block !important; }
.nav__links { display: flex; gap: 6px; list-style: none; margin: 0 auto; padding: 0; }
.nav__links a { display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--texto-suave); transition: color .3s, background .3s; }
.nav__links a:hover, .nav__links a.ativo { color: var(--titulo); background: rgba(61, 139, 255, .12); }
.nav__acoes { display: flex; align-items: center; gap: 8px; }
.tema-btn, .menu-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--vidro-borda); background: var(--vidro-bg); color: var(--titulo); cursor: pointer; }
.tema-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.tema-btn .ic-lua { display: none; }
[data-theme="dark"] .tema-btn .ic-sol { display: none; }
[data-theme="dark"] .tema-btn .ic-lua { display: block; }
.menu-btn { display: none; }
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.menu-btn span + span { margin-top: -14px; transform: translateY(6px); }
.menu-btn span:first-child { transform: translateY(-3px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span + span { transform: rotate(-45deg); }

/* ---------- seções ---------- */
.secao { max-width: var(--max); margin: 0 auto; padding: 120px 24px; }
.secao__cab { max-width: 760px; margin-bottom: 56px; }
.secao h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; letter-spacing: -.02em; }
.rotulo { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--destaque); }
.rotulo::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }

/* ---------- HERO ---------- */
.hero { max-width: var(--max); margin: 0 auto; min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 130px 24px 70px; }
.selo { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--texto-suave); }
.ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--brilho); box-shadow: 0 0 0 0 rgba(61, 139, 255, .6); animation: pulso 2.2s infinite; }
@keyframes pulso { 70% { box-shadow: 0 0 0 10px rgba(61, 139, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 139, 255, 0); } }
.titulo-hero { font-size: clamp(42px, 5.8vw, 82px); font-weight: 600; letter-spacing: -.025em; }
.hero__sub { font-size: clamp(17px, 1.4vw, 20px); color: var(--texto-suave); max-width: 520px; margin: 26px 0 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.etapas { display: flex; gap: 8px; list-style: none; padding: 0; margin: 46px 0 0; counter-reset: e; flex-wrap: wrap; }
.etapas li { counter-increment: e; font-size: 13px; font-weight: 600; color: var(--texto-suave); padding: 7px 13px 7px 9px; border-radius: 999px; border: 1px solid var(--linha); display: flex; align-items: center; gap: 8px; transition: all .5s var(--ease); }
.etapas li::before { content: counter(e); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--linha); transition: all .5s var(--ease); }
.etapas li.on { color: var(--titulo); border-color: rgba(61, 139, 255, .5); background: rgba(61, 139, 255, .1); }
.etapas li.on::before { background: var(--royal); color: #fff; }

.hero__palco { position: relative; border-radius: 40px; aspect-ratio: 400 / 470; overflow: hidden; }
.palco { width: 100%; height: 100%; display: block; }
.palco__brilho { position: absolute; inset: -20%; background: radial-gradient(circle at 50% 35%, rgba(61, 139, 255, .28), transparent 55%); pointer-events: none; }
.palco__legenda { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--titulo); white-space: nowrap; overflow: hidden; }
.palco__legenda span { display: inline-block; }
.osso { opacity: .95; }
.trabeculas circle { fill: none; stroke: var(--osso-2); stroke-width: 2; opacity: .8; }
[data-theme="dark"] .trabeculas circle { stroke: #3a4a72; }
.raiz { fill: url(#gDente); stroke: var(--dente-borda); stroke-width: 1.5; }
.dente { fill: url(#gDente); stroke: var(--dente-borda); stroke-width: 1.5; }
.dente--novo { stroke: var(--brilho); stroke-width: 2; }
.roscas path { fill: none; stroke: rgba(40, 55, 85, .55); stroke-width: 3; stroke-linecap: round; }
.faiscas path { fill: none; stroke: var(--brilho); stroke-width: 2.5; stroke-linecap: round; }
.base-protese { stroke: rgba(150, 60, 80, .3); stroke-width: 1; }
.implante4 rect, .implante4 path { fill: url(#gTitanio); }

/* ---------- marcas parceiras ---------- */
.marcas { padding: 20px 0 10px; text-align: center; }
.marcas__titulo { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--texto-suave); margin: 0 0 18px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__trilho { display: flex; width: max-content; gap: 90px; padding: 8px 45px; }
.marquee__trilho img { height: 64px; width: auto; opacity: .75; transition: opacity .3s, filter .3s; filter: grayscale(1) contrast(1.1); }
.marquee__trilho img:hover { opacity: 1; }
[data-theme="dark"] .marquee__trilho img { filter: grayscale(1) invert(1) brightness(1.6); opacity: .7; }

/* ---------- cards de tratamento ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { padding: 30px 26px 28px; border-radius: var(--raio); transform-style: preserve-3d; will-change: transform; transition: box-shadow .4s; }
.card:hover { box-shadow: 0 24px 60px -20px rgba(0, 95, 220, .45), inset 0 1px 0 var(--vidro-brilho); }
.card__ic { width: 46px; height: 46px; fill: none; stroke: var(--destaque); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.card h3 { font-size: 21px; letter-spacing: -.01em; margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; color: var(--texto-suave); }
.card.destaque { background: linear-gradient(160deg, rgba(61, 139, 255, .22), var(--vidro-bg) 60%); }

/* ---------- quem somos ---------- */
.quem { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.quem__foto { position: relative; }
.quem__aro { position: absolute; inset: 8% 4% 0; border-radius: 50% 50% 40px 40px; background: radial-gradient(circle at 50% 30%, var(--brilho), var(--royal) 45%, var(--marinho) 100%); opacity: .9; }
.quem__moldura { position: relative; border-radius: 300px 300px 40px 40px; overflow: hidden; aspect-ratio: 4 / 5.2; background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.quem__moldura::before, .quem__moldura::after { display: none; }
.quem__moldura img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 0; }
.quem__badge { position: absolute; padding: 14px 18px; border-radius: 20px; display: flex; flex-direction: column; gap: 2px; }
.quem__badge strong { font-size: 17px; color: var(--titulo); }
.quem__badge span { font-size: 13.5px; color: var(--texto-suave); font-weight: 600; }
.quem__badge small { font-size: 12px; color: var(--destaque); font-weight: 700; letter-spacing: .04em; }
.badge-1 { left: -24px; bottom: 12%; }
.badge-2 { right: -18px; top: 37%; max-width: 230px; }
.badge-2 b { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--destaque); }
.badge-2 span { color: var(--titulo); font-weight: 700; font-size: 14.5px; }
.quem__texto > p { color: var(--texto-suave); font-size: 18px; margin: 24px 0 30px; }
.mv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mv__item { padding: 20px; border-radius: var(--raio-sm); }
.mv__item h3 { font-size: 16px; margin-bottom: 6px; }
.mv__item p { margin: 0; font-size: 14px; color: var(--texto-suave); line-height: 1.5; }
.atuacao { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.atuacao li { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; border: 1px solid var(--linha); color: var(--texto-suave); }

/* ---------- galeria / espaços de foto ---------- */
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.galeria figure { margin: 0; position: relative; border-radius: var(--raio); overflow: hidden; }
.galeria figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.galeria figure:nth-child(4) { grid-column: span 2; }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.galeria figure:hover img { transform: scale(1.06); }
.galeria figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--titulo); }
.espaco-foto { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--texto-suave); font-size: 13px; border: 1.5px dashed rgba(61, 139, 255, .45); border-radius: inherit; background: repeating-linear-gradient(135deg, rgba(61, 139, 255, .05) 0 14px, transparent 14px 28px); }
.espaco-foto svg { width: 34px; height: 34px; fill: none; stroke: var(--destaque); stroke-width: 1.6; margin: 0 auto 8px; display: block; }

/* ---------- unidades ---------- */
.abas { display: flex; gap: 6px; padding: 6px; border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 22px; scrollbar-width: none; }
.abas button { position: relative; z-index: 1; border: 0; background: none; padding: 12px 22px; border-radius: 999px; font: 700 15px "Poppins", sans-serif; color: var(--texto-suave); cursor: pointer; white-space: nowrap; transition: color .35s; }
.abas button[aria-selected="true"] { color: #fff; }
.abas .pilula { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; border-radius: 999px; background: linear-gradient(135deg, var(--brilho), var(--royal)); box-shadow: 0 8px 24px -8px rgba(0, 95, 220, .7); }
.unidade { border-radius: 36px; padding: 40px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; min-height: 420px; }
.unidade h3 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.015em; }
.unidade__uf { font-size: 14px; font-weight: 700; color: var(--destaque); letter-spacing: .12em; }
.unidade dl { display: grid; gap: 16px; margin: 28px 0 30px; }
.unidade dl > div { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.unidade dt svg { width: 22px; height: 22px; fill: none; stroke: var(--destaque); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.unidade dd { margin: 0; }
.unidade dd small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-suave); }
.unidade dd a { text-decoration: none; font-weight: 600; }
.unidade dd a:hover { color: var(--destaque); }
.unidade__botoes { display: flex; flex-wrap: wrap; gap: 10px; }
.unidade__foto { border-radius: 26px; overflow: hidden; min-height: 300px; }
.unidade__foto img { width: 100%; height: 100%; object-fit: cover; }
.unidade__reg { font-size: 12.5px; color: var(--texto-suave); margin-top: 18px; }
.falta { background: rgba(255, 196, 0, .22); outline: 1px dashed #e0a800; border-radius: 6px; padding: 1px 6px; color: inherit; font-weight: 600; }

/* ---------- depoimentos ---------- */
.depoimentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.depo { padding: 30px; border-radius: var(--raio); display: flex; flex-direction: column; gap: 18px; }
.depo__aspas { font: 500 80px/0.6 "Cormorant", serif; color: var(--brilho); height: 30px; }
.depo blockquote { margin: 0; font-size: 16.5px; line-height: 1.65; flex: 1; }
.depo__autor { display: flex; align-items: center; gap: 12px; }
.depo__autor img, .depo__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.depo__avatar { display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brilho), var(--profundo)); }
.depo__autor strong { display: block; color: var(--titulo); }
.depo__autor span { font-size: 13px; color: var(--texto-suave); }
.depo__ig { margin-left: auto; }
.depo__ig a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--destaque); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--linha); transition: background .3s; }
.depo__ig a:hover { background: rgba(61, 139, 255, .12); }
.depo__ig svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nota-legal { font-size: 12.5px; color: var(--texto-suave); margin-top: 22px; max-width: 760px; }

/* ---------- avaliar ---------- */
.avaliar__caixa { border-radius: 40px; padding: 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.avaliar__caixa h2 { font-size: clamp(30px, 3.6vw, 48px); }
.avaliar__caixa p:not(.rotulo) { color: var(--texto-suave); }
.avaliar__botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.avaliar__btn { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 22px; text-decoration: none; transition: transform .4s var(--ease); }
.avaliar__btn:hover { transform: translateY(-4px); }
.avaliar__btn strong { color: var(--titulo); font-size: 17px; }
.avaliar__btn span { font-size: 13px; font-weight: 700; color: var(--destaque); display: flex; align-items: center; gap: 6px; }
.estrelas { display: flex; gap: 3px; }
.estrelas svg { width: 16px; height: 16px; fill: #FBBC04; }
.avaliar__btn.desativado { opacity: .55; pointer-events: none; }

/* ---------- final ---------- */
.final { text-align: center; min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.final__titulo { font-size: clamp(40px, 6.4vw, 92px) !important; max-width: 980px; }
.final > p { color: var(--texto-suave); font-size: 18px; margin: 20px 0 30px; }
.final__botoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.final__dica { font-size: 12px !important; letter-spacing: .16em; text-transform: uppercase; opacity: .6; margin-top: 50px !important; }

/* ---------- rodapé ---------- */
.rodape { max-width: var(--max); margin: 0 auto; padding: 60px 24px 40px; border-top: 1px solid var(--linha); }
.rodape__grade { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.rodape__marca img { height: 54px; width: auto; margin-bottom: 18px; }
.rodape h3 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rodape a, .rodape .link-btn { text-decoration: none; color: var(--texto-suave); font-size: 15px; }
.rodape a:hover, .rodape .link-btn:hover { color: var(--destaque); }
.rodape__rt { font-size: 13.5px; color: var(--texto-suave); margin: 0 0 16px; }
.redes { display: flex; gap: 8px; flex-wrap: wrap; }
.redes a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--linha); }
.redes svg { width: 18px; height: 18px; fill: none; stroke: var(--titulo); stroke-width: 1.8; }
.trabalhe { margin-top: 44px; border-radius: 28px; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trabalhe h3 { font-size: 22px; letter-spacing: -.01em; text-transform: none; margin-bottom: 6px; }
.trabalhe p { margin: 0; color: var(--texto-suave); max-width: 620px; font-size: 15px; }
.rodape__base { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--linha); display: grid; gap: 8px; font-size: 12.5px; color: var(--texto-suave); }
.rodape__base p { margin: 0; }

/* ---------- botão Dúvidas + FAQ ---------- */
.duvidas-btn { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 9px; padding: 13px 20px 13px 15px; border-radius: 999px; font: 700 15px "Poppins", sans-serif; color: var(--titulo); cursor: pointer; }
.duvidas-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--destaque); stroke-width: 1.8; stroke-linecap: round; }
.faq { position: fixed; right: 20px; bottom: 84px; z-index: 61; width: min(420px, calc(100vw - 40px)); max-height: min(72vh, 640px); border-radius: 28px; display: flex; flex-direction: column; overflow: hidden; }
.faq[hidden] { display: none; }
.faq__cab { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 12px; }
.faq__cab h2 { font-size: 20px; }
.fechar { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--linha); background: none; color: var(--titulo); font-size: 22px; line-height: 1; cursor: pointer; }
.faq__lista { overflow-y: auto; padding: 0 12px 14px; }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; padding: 15px 10px; font-weight: 700; color: var(--titulo); display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--destaque); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 10px 16px; color: var(--texto-suave); font-size: 15px; }

/* ---------- cookies ---------- */
.cookies { position: fixed; left: 20px; bottom: 20px; z-index: 70; width: min(520px, calc(100vw - 40px)); padding: 20px 22px; border-radius: 24px; font-size: 14px; }
.cookies[hidden] { display: none; }
.cookies p { margin: 0 0 14px; color: var(--texto); }
.cookies__acoes { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- animação: estado inicial (JS revela) ---------- */
.js .revelar { opacity: 0; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .galeria { grid-template-columns: repeat(2, 1fr); }
  .galeria figure:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 900px) {
  .nav__links { position: fixed; top: 82px; left: 16px; right: 16px; flex-direction: column; padding: 12px; border-radius: 26px;
    background: var(--vidro-bg); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border: 1px solid var(--vidro-borda);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .35s var(--ease); }
  .nav__links.aberto { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { font-size: 17px; padding: 14px 16px; }
  .menu-btn { display: grid; }
  .nav { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; padding-top: 120px; gap: 30px; min-height: auto; }
  .hero__palco { max-width: 460px; width: 100%; margin: 0 auto; }
  .quem, .unidade, .avaliar__caixa { grid-template-columns: 1fr; }
  .quem { gap: 50px; }
  .quem__foto { max-width: 420px; margin: 0 auto; width: 100%; }
  .badge-1 { left: 0; } .badge-2 { right: 0; }
  .depoimentos { grid-template-columns: 1fr; }
  .rodape__grade { grid-template-columns: 1fr 1fr; }
  .rodape__marca { grid-column: 1 / -1; }
  .secao { padding: 90px 20px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav__acoes .btn { display: none; }
  .cards, .mv, .avaliar__botoes { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .galeria figure:nth-child(1) { grid-column: auto; grid-row: span 1; }
  .unidade, .avaliar__caixa { padding: 26px; border-radius: 28px; }
  .rodape__grade { grid-template-columns: 1fr; }
  .duvidas-btn span { display: none; }
  .duvidas-btn { padding: 14px; }
  .cookies { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ponto { animation: none; }
}

/* ---------- páginas legais ---------- */
.legal { max-width: 860px; margin: 0 auto; padding: 130px 22px 80px; }
.legal__caixa { border-radius: 32px; padding: clamp(26px, 5vw, 56px); }
.legal h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -.02em; margin-bottom: 8px; }
.legal h2 { font-size: 22px; letter-spacing: -.01em; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--texto-suave); }
.legal strong { color: var(--texto); }
.legal .atualizado { font-size: 14px; margin-bottom: 30px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0; }
.legal th, .legal td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--linha); vertical-align: top; }
.legal th { color: var(--titulo); }
.legal__voltar { display: inline-flex; margin-bottom: 26px; }
.topo--simples .nav { justify-content: space-between; }

/* ícones gerados pelo JS */
.avaliar__btn span svg, .depo__ig svg, .unidade__botoes svg, .final__botoes svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn svg { width: 18px; height: 18px; }
.avaliar__btn .estrelas svg { fill: #FBBC04; stroke: none; width: 16px; height: 16px; }
.quem__badge { background: rgba(255, 255, 255, .72); }
[data-theme="dark"] .quem__badge { background: rgba(4, 14, 44, .78); }
@media (max-width: 600px) {
  .card { padding: 22px 22px 20px; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
  .card__ic { width: 36px; height: 36px; margin: 2px 0 0; grid-row: span 2; }
  .card h3 { font-size: 19px; margin-bottom: 4px; }
}

/* =====================================================================
   v2 — BARRA AZUL DE PONTA A PONTA
   ===================================================================== */
.topo { top: 0; padding: 0; }
.nav {
  max-width: none; height: 72px; margin: 0; border-radius: 0; gap: 20px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2 + 24px));
  background: linear-gradient(90deg, rgba(0, 38, 104, .96), rgba(0, 95, 220, .94) 50%, rgba(0, 38, 104, .96));
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 0; border-bottom: 1px solid rgba(0, 18, 61, .6);
  box-shadow: 0 10px 30px -12px rgba(0, 38, 104, .55), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.nav::before, .nav::after { display: none; }
[data-theme="dark"] .nav { background: linear-gradient(90deg, rgba(0, 18, 61, .96), rgba(0, 60, 160, .94) 50%, rgba(0, 18, 61, .96)); }
.nav__logo img { height: 40px; }
.nav .logo-claro { display: none !important; }
.nav .logo-escuro { display: block !important; }
.nav__links { gap: 0; height: 100%; align-items: stretch; }
.nav__links li { display: flex; align-items: center; }
.nav__links li + li { border-left: 1px solid rgba(0, 18, 61, .55); }
.nav__links a { position: relative; height: 100%; display: flex; align-items: center; padding: 0 24px; border-radius: 0; color: rgba(255, 255, 255, .86); font-size: 14.5px; letter-spacing: .01em; }
.nav__links a::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 14px; height: 2px; border-radius: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__links a:hover, .nav__links a.ativo { color: #fff; background: rgba(0, 18, 61, .22); }
.nav__links a:hover::after, .nav__links a.ativo::after { transform: scaleX(1); }
.nav .tema-btn, .nav .menu-btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
.nav .btn--primario { background: #fff; color: var(--royal); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .35); }

/* =====================================================================
   v2 — HERO COM A DRA. CINARA SEGURANDO A PRÓTESE
   ===================================================================== */
.hero { padding: 72px 24px 0; align-items: stretch; }
.hero__texto { align-self: center; padding: 60px 0; }
.hero__visual { position: relative; align-self: end; height: min(calc(100svh - 72px), 860px); display: flex; justify-content: center; }
.hd { position: relative; height: 100%; aspect-ratio: 1100 / 1578; }
.hd__quadro { position: absolute; inset: 0; z-index: 2; }
.hd__foto {
  width: 100%; height: 100%; object-fit: contain;
  -webkit-mask: linear-gradient(#000 82%, transparent); mask: linear-gradient(#000 82%, transparent);
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .6)) drop-shadow(-14px 0 30px rgba(61, 139, 255, .35)) drop-shadow(18px 10px 40px rgba(0, 38, 104, .35));
}
[data-theme="dark"] .hd__foto { filter: drop-shadow(0 0 1px rgba(160, 200, 255, .55)) drop-shadow(-16px 0 34px rgba(61, 139, 255, .55)) drop-shadow(20px 10px 40px rgba(0, 0, 0, .5)); }
/* luz de estúdio atrás (key + halo azul) */
.hd__luz { position: absolute; z-index: 0; left: -18%; right: -18%; top: 4%; bottom: 10%; border-radius: 50%;
  background: radial-gradient(closest-side at 55% 32%, rgba(255, 255, 255, .95), rgba(156, 195, 255, .55) 38%, rgba(61, 139, 255, .25) 62%, transparent 100%); filter: blur(8px); }
[data-theme="dark"] .hd__luz { background: radial-gradient(closest-side at 55% 32%, rgba(61, 139, 255, .7), rgba(0, 95, 220, .38) 40%, rgba(0, 38, 104, .25) 65%, transparent 100%); }
.hd__aro { position: absolute; z-index: 1; width: 92%; aspect-ratio: 1; left: 6%; top: 6%; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .75); box-shadow: inset 0 0 60px rgba(61, 139, 255, .25), 0 0 40px rgba(61, 139, 255, .2); }
[data-theme="dark"] .hd__aro { border-color: rgba(120, 170, 255, .4); }
/* prótese apoiada na palma (palma ≈ 18,2% / 66,1% da foto) */
.hd__protese { position: absolute; z-index: 3; width: 36%; left: calc(19% - 18%); top: 66.4%; transform: translateY(-88%); transform-origin: 50% 92%; will-change: transform; }
.hd__protese img { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 10px rgba(0, 20, 60, .35)) saturate(1.05) contrast(1.04); }
.hd__sombra { position: absolute; left: 14%; right: 14%; bottom: -6%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 20, 20, .45), transparent); filter: blur(4px); z-index: -1; }
.hd__reflexo { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .75) 48%, transparent 60%); mix-blend-mode: overlay;
  -webkit-mask: url("/assets/img/marca/protese-protocolo-480.webp") center / 100% 100% no-repeat; mask: url("/assets/img/marca/protese-protocolo-480.webp") center / 100% 100% no-repeat;
  background-size: 250% 100%; background-position: 120% 0; }
.hd__faisca { position: absolute; z-index: 4; width: 14px; height: 14px; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff 0 18%, transparent 20%), linear-gradient(#fff, #fff) center / 2px 100% no-repeat, linear-gradient(90deg, #fff, #fff) center / 100% 2px no-repeat;
  filter: drop-shadow(0 0 6px rgba(160, 200, 255, .9)); border-radius: 50%; }
.f1 { left: 9%; top: 46%; } .f2 { left: 27%; top: 50%; width: 10px; height: 10px; } .f3 { left: 3%; top: 56%; width: 9px; height: 9px; }
.hd__nome { position: absolute; z-index: 5; right: -4%; bottom: 20%; padding: 12px 18px; border-radius: 18px; display: flex; flex-direction: column; background: rgba(255, 255, 255, .72); }
[data-theme="dark"] .hd__nome { background: rgba(4, 14, 44, .78); }
.hd__nome strong { color: var(--titulo); font-size: 16px; }
.hd__nome span { color: var(--texto-suave); font-size: 12.5px; font-weight: 600; }
/* mini-apresentação implante → protocolo, flutuando sobre a cena */
.hero__visual .hero__palco { position: absolute; z-index: 6; width: 210px; right: -2%; top: 12%; border-radius: 26px; }
.hero__visual .palco__legenda { font-size: 11px; padding: 6px 11px; bottom: 10px; }

@media (max-width: 900px) {
  .hero { padding-top: 72px; }
  .hero__texto { padding: 40px 0 10px; }
  .hero__visual { height: min(78svh, 640px); }
  .hero__visual .hero__palco { width: 150px; right: 0; top: 4%; }
  .hd__nome { right: 0; bottom: 16%; }
  .nav__links { top: 72px; left: 0; right: 0; border-radius: 0 0 24px 24px; background: linear-gradient(180deg, rgba(0, 38, 104, .97), rgba(0, 60, 160, .97)); border-color: rgba(0, 18, 61, .6); }
  .nav__links li + li { border-left: 0; border-top: 1px solid rgba(0, 18, 61, .55); }
  .nav__links a { padding: 16px 18px; }
  .nav__links a::after { bottom: 8px; left: 18px; right: auto; width: 30px; }
}
@media (max-width: 600px) {
  .hero__visual .hero__palco { width: 118px; border-radius: 18px; }
  .hero__visual .palco__legenda { display: none; }
  .hd__nome strong { font-size: 14px; }
}
/* brilho de recorte aplicado no grupo (fora da máscara) para não ser cortado */
.hd__foto { filter: none !important; }
.hd__quadro { filter: drop-shadow(-12px 0 26px rgba(61, 139, 255, .32)) drop-shadow(16px 12px 34px rgba(0, 38, 104, .28)); }
[data-theme="dark"] .hd__quadro { filter: drop-shadow(-14px 0 30px rgba(61, 139, 255, .5)) drop-shadow(18px 12px 36px rgba(0, 0, 0, .45)); }
.hero__visual .hero__palco { right: -16%; top: 6%; width: 200px; }
@media (max-width: 1280px) { .hero__visual .hero__palco { right: -6%; width: 170px; } }
@media (max-width: 900px) { .hero__visual .hero__palco { right: 0; top: 4%; width: 140px; } }
@media (max-width: 600px) { .hero__visual .hero__palco { width: 112px; } }
.hero > * { min-width: 0; }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { height: auto; overflow: visible; }
  .hd { height: auto; width: min(88vw, 460px); }
  .hd__quadro { position: relative; }
  .hd__foto { height: auto; }
}
@media (max-width: 900px) { .hero__visual { overflow-x: clip; } }
html, body { overflow-x: clip; }
@media (min-width: 901px) { .hero__visual { padding-top: 40px; } }

/* =====================================================================
   v3 — MENU MINIMALISTA + ÍCONES DE CONTATO/REDES
   ===================================================================== */
.nav__links li + li { border-left: 0; }
.nav__links a::after { display: none; }
.nav__links { gap: 6px; }
.nav__links a { padding: 0 18px; background: none !important; transition: transform .25s var(--ease), color .25s; }
.nav__links a:hover, .nav__links a:focus-visible { color: #fff; transform: scale(1.08); }
.nav__links a.ativo { color: #fff; }
.nav__redes-mobile { display: none !important; }

.nav__acoes { gap: 6px; }
.nav__redes { display: flex; align-items: center; gap: 2px; margin-right: 8px; }
.rede { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 0; background: none; color: rgba(255, 255, 255, .88); cursor: pointer; text-decoration: none; transition: transform .25s var(--ease), color .25s, background .25s; }
.rede svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rede:hover, .rede:focus-visible, .rede-pop.aberto > .rede { color: #fff; transform: scale(1.12); background: rgba(255, 255, 255, .12); }
.rede.desativado { opacity: .35; cursor: default; }
.rede.desativado:hover { transform: none; background: none; }

.rede-pop { position: relative; }
.rede-caixa {
  position: absolute; top: calc(100% + 14px); right: -10px; z-index: 80; min-width: 290px; padding: 10px; border-radius: 20px;
  display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97); transform-origin: top right;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  background: rgba(255, 255, 255, .86);
}
[data-theme="dark"] .rede-caixa { background: rgba(4, 14, 44, .9); }
.rede-caixa::selection { background: none; }
/* ponte invisível para o mouse não "cair" entre o ícone e a caixa */
.rede-pop::after { content: ""; position: absolute; left: -10px; right: -10px; top: 100%; height: 16px; }
.rede-pop.aberto .rede-caixa { opacity: 1; visibility: visible; transform: none; }
.rede-caixa__titulo { margin: 4px 10px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--destaque); }
.rede-caixa a, .rede-caixa .desativado { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: var(--titulo); font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: background .2s, transform .2s var(--ease); }
.rede-caixa a:hover, .rede-caixa a:focus-visible { background: rgba(61, 139, 255, .14); transform: translateX(3px); }
.rede-caixa svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--destaque); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rede-caixa .desativado { opacity: .5; cursor: default; }
.rede-caixa small { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--texto-suave); }

@media (max-width: 1100px) { .nav__links a { padding: 0 12px; font-size: 14px; } }
@media (max-width: 900px) {
  .nav__redes { display: none; }
  .nav__links a:hover { transform: none; }
  .nav__redes-mobile { display: flex !important; flex-wrap: wrap; gap: 4px; padding: 12px 10px 6px; border-top: 1px solid rgba(255, 255, 255, .14) !important; }
  .nav__redes-mobile .rede-pop { position: static; }
  .nav__redes-mobile .rede-caixa { position: static; display: none; min-width: 0; width: 100%; margin-top: 8px; transform: none; }
  .nav__redes-mobile .rede-pop.aberto { flex-basis: 100%; order: 9; }
  .nav__redes-mobile .rede-pop.aberto .rede-caixa { display: grid; }
  .nav__redes-mobile .rede-caixa a, .nav__redes-mobile .rede-caixa .desativado { white-space: normal; }
}
/* botão do menu (hambúrguer → X) */
.menu-btn { position: relative; }
.menu-btn span { position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px !important; transform: translateY(-4px); transition: transform .3s var(--ease); }
.menu-btn span + span { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span + span { transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav__links { height: auto; max-height: calc(100svh - 90px); overflow-y: auto; align-items: stretch; padding: 8px 10px 14px; gap: 0; }
  .nav__links li { display: block; }
  .nav__links > li > a { height: auto; padding: 15px 12px; font-size: 17px; }
  .nav__redes-mobile .rede { width: 46px; height: 46px; }
  .nav__redes-mobile .rede svg { width: 22px; height: 22px; }
}
@media (max-width: 900px) {
  .nav__links { background: linear-gradient(180deg, #00266B, #003E9E) !important; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 24px 50px -10px rgba(0, 10, 40, .6); }
  [data-theme="dark"] .nav__links { background: linear-gradient(180deg, #00123D, #002668) !important; }
  .nav__redes-mobile .rede-caixa a, .nav__redes-mobile .rede-caixa .desativado { font-size: 14.5px; padding: 11px 12px; }
}

/* ===== v4: ícones de redes em imagem (círculo azul-claro) ===== */
.rede { background: none !important; }
.rede__img { width: 32px; height: 32px; display: block; border-radius: 50%; }
.rede:hover .rede__img, .rede:focus-visible .rede__img, .rede-pop.aberto > .rede .rede__img { box-shadow: 0 0 0 3px rgba(255, 255, 255, .22), 0 6px 18px rgba(0, 0, 0, .25); }
.rede-caixa .rede__img { width: 26px; height: 26px; flex: none; }
.nav__redes-mobile .rede .rede__img { width: 40px; height: 40px; }
.redes a { border: 0; width: 42px; height: 42px; transition: transform .25s var(--ease); }
.redes a:hover { transform: scale(1.1); }
.redes .rede__img { width: 40px; height: 40px; }
.rede { flex: none; }
@media (max-width: 900px) {
  /* ícones sempre na mesma ordem; a caixa aberta desce para a linha de baixo */
  .nav__redes-mobile { display: grid !important; grid-template-columns: repeat(5, 50px); justify-content: start; gap: 8px; }
  .nav__redes-mobile .rede-pop { display: contents; }
  .nav__redes-mobile .rede-pop.aberto { order: 0; }
  .nav__redes-mobile .rede-caixa { grid-column: 1 / -1; grid-row: 2; margin-top: 4px; }
  .nav__redes-mobile .rede { width: 50px; height: 50px; }
}
@media (max-width: 900px) {
  .nav__redes-mobile { grid-template-columns: repeat(5, 50px) 1fr; }
  .nav__links > li.nav__redes-mobile > a.rede, .nav__redes-mobile .rede { padding: 0; height: 50px; width: 50px; font-size: 0; }
}
/* ícones uniformes: sem padding de botão, sempre quadrados */
.rede { padding: 0; width: 38px; height: 38px; }
.rede__img { flex: none; aspect-ratio: 1; object-fit: contain; width: 32px !important; height: 32px !important; min-width: 32px; }
.rede-caixa .rede__img { width: 26px !important; height: 26px !important; min-width: 26px; }
.redes .rede__img { width: 40px !important; height: 40px !important; }
@media (max-width: 900px) { .nav__redes-mobile .rede .rede__img { width: 40px !important; height: 40px !important; } }

/* ===== v5: botão verde do WhatsApp no topo (balança + pisca) ===== */
.zap-cta { position: relative; display: inline-flex; }
.zap-pop { display: inline-flex; }
.btn--zap { position: relative; gap: 10px; border: 0; cursor: pointer; font: inherit; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #3BE07A, #1FAF55 55%, #128C3E);
  box-shadow: 0 10px 30px -8px rgba(18, 140, 62, .75), inset 0 1px 0 rgba(255, 255, 255, .45);
  animation: zap-pisca 1.6s ease-in-out infinite; will-change: transform; }
.btn--zap svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn--zap::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(80, 235, 130, .65); animation: zap-onda 1.6s ease-out infinite; pointer-events: none; }
.btn--zap:hover, .zap-pop.aberto > .btn--zap { filter: brightness(1.08) saturate(1.1); }
@keyframes zap-pisca {
  0%, 100% { background-color: #1FAF55; box-shadow: 0 10px 30px -8px rgba(18, 140, 62, .75), inset 0 1px 0 rgba(255, 255, 255, .45); filter: brightness(1); }
  50% { box-shadow: 0 10px 38px -4px rgba(90, 240, 140, .9), 0 0 22px rgba(120, 255, 160, .55), inset 0 1px 0 rgba(255, 255, 255, .6); filter: brightness(1.22) saturate(1.15); }
}
@keyframes zap-onda { 0% { box-shadow: 0 0 0 0 rgba(80, 235, 130, .6); } 100% { box-shadow: 0 0 0 16px rgba(80, 235, 130, 0); } }

/* caixinha verde das unidades (abre acima do botão) */
.zap-caixa { top: auto; bottom: calc(100% + 14px); left: 0; right: auto; min-width: 310px; transform: translateY(8px);
  background: linear-gradient(160deg, rgba(20, 150, 70, .96), rgba(8, 92, 44, .97)) !important; border: 1px solid rgba(140, 255, 180, .35);
  box-shadow: 0 24px 50px -12px rgba(0, 60, 25, .6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.zap-pop::after { top: auto; bottom: 100%; height: 18px; left: 0; right: 0; }
.zap-caixa .rede-caixa__titulo { color: #C9FFD9; }
.zap-caixa a, .zap-caixa .desativado { color: #fff; }
.zap-caixa a:hover, .zap-caixa a:focus-visible { background: rgba(255, 255, 255, .16); }
.zap-caixa small { color: rgba(220, 255, 230, .8); }
.zap-caixa { transform-origin: bottom left; }
@media (max-width: 600px) { .zap-caixa { min-width: 0; width: calc(100vw - 48px); } .zap-caixa a, .zap-caixa .desativado { white-space: normal; } }
.zap-caixa svg { width: 22px; height: 22px; flex: none; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.js .zap-cta { visibility: hidden; opacity: 0; }
.hero__ctas { align-items: center; } .cta-item { display: inline-flex; }
.btn--zap { font-size: 15px; line-height: 1; border: 1px solid rgba(140, 255, 180, .35); }
.hero__ctas .btn { height: 52px; padding-top: 0; padding-bottom: 0; box-sizing: border-box; }
h1 em .pont, h2 em .pont { color: var(--titulo); }
/* máscara das linhas dos títulos com folga para acentos e letras como g, j, p (sem corte) */
.linha-mask { padding: .14em 0 .2em; margin: -.14em 0 -.2em; }
@media (max-width: 600px) { .badge-2 { top: 47%; } .badge-1 { bottom: 2%; } }

/* ===== v8: fotos do consultório no fundo de "Quem somos" (uma de cada lado, 85% transparentes, sem cor) ===== */
.quem { position: relative; }
.quem-fundo { position: absolute; top: -10%; bottom: -10%; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none; overflow: hidden; opacity: .15; }
.qf { position: absolute; top: 50%; height: 100%; max-height: 1100px; width: auto; max-width: 42vw; object-fit: cover; opacity: 0; visibility: hidden; }
.qf--esq { left: 0; }
.qf--dir { right: 0; }
html:not(.js) .quem-fundo { display: none; }
@media (max-width: 900px) { .qf { max-width: 70vw; height: 70%; } .qf--dir { top: 75%; } .qf--esq { top: 25%; } }

/* ===== v9: vídeo da Dra. no fundo de Especialidades (lado esquerdo, 85% transparente, sem cor) ===== */
.esp { position: relative; }
.esp-fundo { position: absolute; top: -6%; bottom: -6%; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none; overflow: hidden; opacity: .15; }
.esp-video { position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: 46vw; object-fit: cover; object-position: center top; opacity: 0; visibility: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 100%), linear-gradient(180deg, transparent, #000 14%, #000 82%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #000 45%, transparent 100%), linear-gradient(180deg, transparent, #000 14%, #000 82%, transparent); mask-composite: intersect; }
html:not(.js) .esp-fundo { display: none; }
@media (max-width: 900px) { .esp-video { max-width: 90vw; height: 70%; top: 2%; } }
/* vídeo mais para a esquerda, mostrando mais a prótese na mão dela */
.esp-video { max-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent 100%), linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent);
  mask-image: linear-gradient(90deg, #000 82%, transparent 100%), linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent); }
@media (max-width: 900px) { .esp-video { max-width: none; width: auto; } }

/* v10: fundos mesclados no tom do site (luminosidade sobre o azul) + foto da esquerda encaixada ao lado da moldura */
.quem-fundo, .esp-fundo { mix-blend-mode: luminosity; opacity: .22; }
[data-theme="dark"] .quem-fundo, [data-theme="dark"] .esp-fundo { opacity: .2; }
@media (min-width: 901px) { .qf--esq { height: auto; max-height: none; max-width: none; } }
/* v11: sem bordas/cortes visíveis — esfumaçado oval em todas as imagens de fundo */
.esp-video {
  -webkit-mask-image: radial-gradient(ellipse 58% 46% at 58% 52%, #000 35%, rgba(0,0,0,.55) 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 46% at 58% 52%, #000 35%, rgba(0,0,0,.55) 62%, transparent 100%);
  -webkit-mask-composite: source-over; mask-composite: add; }
.qf {
  -webkit-mask-image: radial-gradient(ellipse 62% 52% at 50% 50%, #000 40%, rgba(0,0,0,.5) 66%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 52% at 50% 50%, #000 40%, rgba(0,0,0,.5) 66%, transparent 100%); }
.esp-video.sem-espaco, .qf--esq.sem-espaco { display: none; }
/* v12: esmaecimento que termina DENTRO da imagem (sem borda reta) e com curva suave */
.esp-video {
  -webkit-mask-image: radial-gradient(ellipse closest-side at 56% 52%, #000 0%, rgba(0,0,0,.92) 25%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.45) 62%, rgba(0,0,0,.2) 78%, rgba(0,0,0,.06) 90%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side at 56% 52%, #000 0%, rgba(0,0,0,.92) 25%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.45) 62%, rgba(0,0,0,.2) 78%, rgba(0,0,0,.06) 90%, transparent 100%); }
.qf {
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 0%, rgba(0,0,0,.92) 25%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.45) 62%, rgba(0,0,0,.2) 78%, rgba(0,0,0,.06) 90%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 0%, rgba(0,0,0,.92) 25%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.45) 62%, rgba(0,0,0,.2) 78%, rgba(0,0,0,.06) 90%, transparent 100%); }
/* v15: foto da direita mais afastada (próteses inteiras à vista) */
@media (min-width: 901px) { .qf--dir { height: auto; width: min(44vw, 760px); max-width: none; max-height: none; } }
/* v16: foto da esquerda grande atrás da Dra., com o foco (esmaecimento) centrado nas mãos/boca da paciente */
.qf--esq {
  -webkit-mask-image: radial-gradient(ellipse closest-side at 56% 54%, #000 0%, rgba(0,0,0,.92) 30%, rgba(0,0,0,.72) 50%, rgba(0,0,0,.45) 66%, rgba(0,0,0,.2) 80%, rgba(0,0,0,.06) 91%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side at 56% 54%, #000 0%, rgba(0,0,0,.92) 30%, rgba(0,0,0,.72) 50%, rgba(0,0,0,.45) 66%, rgba(0,0,0,.2) 80%, rgba(0,0,0,.06) 91%, transparent 100%); }
/* v19: ícone 3D do WhatsApp como está — sem recorte redondo, sem anel/borda */
.rede__img--zap { border-radius: 0 !important; box-shadow: none !important; object-fit: contain; background: none; }
.rede:hover .rede__img--zap, .rede:focus-visible .rede__img--zap, .rede-pop.aberto > .rede .rede__img--zap { box-shadow: none !important; }
.rede > .rede__img--zap { width: 36px !important; height: 36px !important; min-width: 36px; }
.rede-pop.aberto > .rede:has(.rede__img--zap), .rede:has(.rede__img--zap):hover, .rede:has(.rede__img--zap):focus-visible { background: none !important; }

/* ===== v20: quadro "por que fazer" das Especialidades ===== */
.cards { position: relative; }
.card[data-esp] { cursor: pointer; outline: none; }
.card[data-esp]:focus-visible { box-shadow: 0 0 0 3px var(--brilho); }
.esp-pop { position: absolute; z-index: 30; width: min(370px, 100%); border-radius: 22px; overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none;
  background: rgba(255, 255, 255, .9); box-shadow: 0 30px 70px -20px rgba(0, 30, 90, .55); }
[data-theme="dark"] .esp-pop { background: rgba(4, 16, 52, .93); }
.esp-pop.aberto { pointer-events: auto; }
.esp-pop__foto { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.esp-pop .espaco-foto.esp-pop__foto { min-height: 0; height: auto; border-radius: 0; border: 0; border-bottom: 1px dashed var(--linha); font-size: 13px; }
.esp-pop__corpo { padding: 18px 22px 22px; }
.esp-pop__rot { margin: 0 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--destaque); }
.esp-pop__rot--ap { margin-top: 16px; }
.esp-pop h4 { margin: 0 0 8px; font-size: 20px; color: var(--titulo); }
.esp-pop__txt { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--texto-suave); }
.esp-pop__aps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.esp-pop__aps li { display: flex; flex-direction: column; gap: 2px; padding: 10px 11px; border-radius: 14px; border: 1px solid var(--linha); background: rgba(61, 139, 255, .07); }
.esp-pop__aps strong { font-size: 13.5px; color: var(--titulo); }
.esp-pop__aps span { font-size: 12px; line-height: 1.4; color: var(--texto-suave); }
.esp-pop__apfoto { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; margin-bottom: 6px; }
.esp-pop__aps .espaco-foto.esp-pop__apfoto { min-height: 0; height: auto; font-size: 10px; padding: 4px; }
.esp-pop__aps .espaco-foto.esp-pop__apfoto svg { width: 16px; height: 16px; }
.esp-pop { position: fixed; max-height: calc(100vh - 100px); overflow-y: auto; }
.esp-pop__apfoto { aspect-ratio: 16 / 9; }
@media (max-width: 900px) { .esp-pop { width: min(370px, calc(100vw - 28px)); } }
/* o quadro não "rouba" o mouse: dá para passar direto para o cartão vizinho */
.esp-pop, .esp-pop.aberto { pointer-events: none; overflow: hidden; max-height: none; }
.esp-pop.largo { width: min(540px, calc(100vw - 28px)); }
.esp-pop.largo .esp-pop__foto { aspect-ratio: 21 / 8; }
.esp-pop.largo .esp-pop__corpo { padding: 16px 20px 18px; }
.esp-pop.largo .esp-pop__aps { grid-template-columns: repeat(4, 1fr); gap: 7px; }
.esp-pop.largo .esp-pop__aps li { padding: 8px; }
.esp-pop.largo .esp-pop__apfoto { aspect-ratio: 1 / 1; }
.esp-pop.largo .esp-pop__aps .espaco-foto.esp-pop__apfoto { font-size: 9px; }
@media (max-width: 600px) { .esp-pop.largo .esp-pop__aps { grid-template-columns: 1fr 1fr; } .esp-pop.largo .esp-pop__apfoto { aspect-ratio: 16 / 9; } }
/* quadro bem opaco para não misturar com o texto dos cartões por baixo */
.esp-pop.glass { background: rgba(255, 255, 255, .98); }
[data-theme="dark"] .esp-pop.glass { background: rgba(6, 18, 58, .98); }
.esp-pop.glass::before { display: none; }
img.esp-pop__foto { background: #eef4ff; }

/* ===== v21: assinatura cursiva acima da foto da Dra. ===== */
@font-face { font-family: "Great Vibes"; src: url("/assets/fonts/great-vibes.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
.quem__foto { position: relative; }
.assinatura { position: absolute; z-index: 4; top: -6%; left: -14%; margin: 0; transform: rotate(-8deg); pointer-events: none;
  font: 400 clamp(34px, 3.4vw, 52px)/1 "Great Vibes", "Segoe Script", cursive; color: #91D7F6; white-space: nowrap; text-shadow: 0 2px 18px rgba(0, 40, 120, .35); }
.assinatura span { display: inline-block; padding: .1em .25em .25em; }
[data-theme="light"] .assinatura { color: #2E8FD6; text-shadow: none; }
@media (max-width: 900px) { .assinatura { top: -4%; left: 0; font-size: 34px; } }
.assinatura { font-size: clamp(28px, 2.5vw, 40px); top: -9%; left: -20%; }
@media (max-width: 900px) { .assinatura { font-size: 27px; top: -6%; left: -2%; } }
/* v22: assinatura em SVG (fonte Parisienne, licença OFL) desenhada traço a traço */
.assinatura { font: inherit; color: #91D7F6; line-height: 0; }
.assinatura__svg { display: block; width: clamp(170px, 15vw, 250px); height: auto; overflow: visible; }
.assinatura__svg path { fill: currentColor; stroke: currentColor; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="light"] .assinatura { color: #2E8FD6; }
.assinatura { top: -12%; left: -16%; }
@media (max-width: 900px) { .assinatura { top: -9%; left: -1%; } .assinatura__svg { width: 160px; } }
.assinatura__svg { shape-rendering: geometricPrecision; width: clamp(180px, 16vw, 270px); }
.assinatura__svg path { stroke-width: 4; }
@media (max-width: 900px) { .assinatura { top: -11%; } .assinatura__svg { width: 150px; } }

/* ===== v23: seção Tecnologia (imagem chega girando com o scroll + balanço) ===== */
.tec__lista { display: grid; gap: 0; }
.tec__item { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(24px, 5vw, 80px); min-height: 46vh; padding: 3vh 0; }
.tec__item--inv .tec__visual { order: 2; }
.tec__visual { position: relative; display: grid; place-items: center; height: min(40vh, 400px); }
.tec__visual::before { content: ""; position: absolute; width: min(34vh, 340px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 139, 255, .45), rgba(61, 139, 255, .12) 55%, transparent 72%); filter: blur(6px); }
.tec__giro { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%; will-change: transform; }
.tec__img { max-width: min(90%, 420px); max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(0, 20, 70, .45)); transform-origin: 50% 85%; will-change: transform; }
.tec__sombra { position: absolute; bottom: 4%; left: 27%; width: 46%; height: 16px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 10, 40, .45), transparent 70%); }
.tec__num { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--destaque); }
.tec__texto h3 { font-size: clamp(26px, 2.6vw, 38px); margin: 0 0 6px; letter-spacing: -.01em; }
.tec__sub { margin: 0 0 14px; font-size: 17px; font-weight: 600; color: var(--destaque); }
.tec__texto p:last-child { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--texto-suave); max-width: 52ch; }
@media (max-width: 900px) {
  .tec__item { grid-template-columns: 1fr; min-height: 0; padding: 30px 0; gap: 14px; }
  .tec__item--inv .tec__visual { order: 0; }
  .tec__visual { height: 260px; }
  .tec__texto { text-align: center; }
  .tec__texto p:last-child { margin: 0 auto; }
}
.tec__img { max-height: min(34vh, 340px); max-width: min(86%, 400px); }
.tec__visual { overflow: visible; }
.tec__item { position: relative; }
.tec__texto { position: relative; z-index: 2; }
@media (max-width: 900px) { .tec__img { max-height: 220px; max-width: 80%; } .tec__visual { height: 250px; } }
/* v24: equipamentos bem grandes, entrando de fora da tela (sem giro) */
@media (min-width: 901px) { .tec__item { grid-template-columns: 1.25fr 1fr; min-height: 72vh; } }
.tec__visual { height: min(66vh, 640px); }
.tec__visual::before { width: min(56vh, 560px); }
.tec__img { max-height: min(62vh, 600px); max-width: min(100%, 720px); }
.tec__sombra { width: 60%; left: 20%; }
@media (max-width: 900px) { .tec__item { min-height: 0; } .tec__visual { height: 360px; } .tec__img { max-height: 340px; max-width: 96%; } }
/* v25: menu com "Tecnologia" — mais espaço entre o menu e os ícones; aperta em telas médias */
@media (min-width: 901px) { .nav__redes { margin-left: 28px; } }
@media (max-width: 1200px) and (min-width: 901px) { .nav__links a { padding: 0 10px; font-size: 14px; } .nav__redes { margin-left: 14px; gap: 2px; } }
@media (max-width: 1060px) and (min-width: 901px) { .nav__links a { padding: 0 7px; font-size: 13px; } .nav__redes .rede { width: 32px; height: 32px; } .nav__redes .rede .rede__img { width: 26px !important; height: 26px !important; min-width: 26px; } .nav__redes .rede > .rede__img--zap { width: 30px !important; height: 30px !important; } }

/* ===== v26: faixa escura de ponta a ponta para cada aparelho, com vídeo no fundo ===== */
.tec__lista { gap: 26px; }
.tec__item { isolation: isolate; padding: 6vh 0; }
.tec__faixa { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); overflow: hidden; background: #020B26; }
.tec__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.85); }
.tec__faixa::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(1, 8, 30, .9), rgba(1, 10, 40, .55) 50%, rgba(1, 8, 30, .9)),
              linear-gradient(180deg, rgba(1, 8, 30, .5), transparent 25%, transparent 75%, rgba(1, 8, 30, .5)); }
.tec__faixa::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 1; background: linear-gradient(90deg, transparent, rgba(145, 215, 246, .45), transparent); }
/* texto sempre claro dentro da faixa escura (nos dois temas) */
.tec__item .tec__texto h3 { color: #fff; }
.tec__item .tec__texto p:last-child { color: rgba(225, 236, 255, .82); }
.tec__item .tec__sub, .tec__item .tec__num { color: #91D7F6; }
/* v27: faixas com FOTO (não vídeo) em azul bem escuro, mesclada por luminosidade */
.tec__faixa { background: #01092A; }
.tec__midia { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .42; filter: contrast(1.05); }
.tec__faixa::after {
  background: linear-gradient(90deg, rgba(1, 7, 32, .92), rgba(2, 16, 70, .45) 50%, rgba(1, 7, 32, .92)),
              linear-gradient(180deg, rgba(1, 7, 32, .55), transparent 28%, transparent 72%, rgba(1, 7, 32, .55));
  mix-blend-mode: normal; }
.tec__faixa { isolation: isolate; }

/* ===== v28: frase correndo nas faixas entre os aparelhos ===== */
.tec__lista { gap: 0; }
.tec__frase { position: relative; display: block; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; padding: 16px 0; text-decoration: none;
  background: linear-gradient(90deg, #001A55, #00236E 50%, #001A55); border-top: 1px solid rgba(145, 215, 246, .18); border-bottom: 1px solid rgba(145, 215, 246, .18); }
[data-theme="light"] .tec__frase { background: linear-gradient(90deg, #0A3C9A, #0E4BB8 50%, #0A3C9A); }
.tec__trilho { display: flex; width: max-content; animation: tec-corre 38s linear infinite; }
.tec__frase--inv .tec__trilho { animation-direction: reverse; }
.tec__frase:hover .tec__trilho, .tec__frase:focus-visible .tec__trilho { animation-play-state: paused; }
.tec__grupo { display: block; flex: none; white-space: nowrap; padding-right: 0; font-size: clamp(15px, 1.25vw, 19px); font-weight: 600; letter-spacing: .02em; color: #EAF4FF; }
.tec__ponto { color: #91D7F6; margin: 0 22px; }
@keyframes tec-corre { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.assinatura__svg path { stroke: none; }
/* v29: quadro de especialidades mais abaixo (3 especialidades) */
.badge-2 { top: 46%; }
.badge-2 span + span { margin-top: 2px; }
@media (max-width: 600px) { .badge-2 { top: 50%; } }
@media (max-width: 600px) { .badge-2 { top: 38%; } .badge-1 { bottom: 1%; } }

/* v30 — unidades: ponto de referência abaixo do endereço */
.unidade dd small.unidade__ref { display: block; text-transform: none; letter-spacing: 0; margin-top: 4px; font-size: 13.5px; font-weight: 400; color: var(--texto-suave); }

/* v31 — avaliações do Google: faixa que passa de lado e cartões balançando */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gav-faixa { position: relative; overflow: hidden; margin: 0 calc(50% - 50vw); padding: 34px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.gav-trilho { display: flex; align-items: center; gap: 22px; width: max-content; padding-left: 22px; will-change: transform; }
.gav { width: 360px; flex: none; padding: 24px 26px 26px; border-radius: var(--raio); display: flex; flex-direction: column; gap: 14px; will-change: transform; }
.gav__topo { display: flex; align-items: center; gap: 12px; }
.gav__foto, .gav__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.gav__quem { min-width: 0; flex: 1; }
.gav__quem strong { display: block; color: var(--titulo); font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gav__quem span { font-size: 12.5px; color: var(--texto-suave); }
.gav__g { width: 24px; height: 24px; flex: none; }
.gav__nota { display: flex; align-items: center; }
.gav__estrelas svg { width: 18px; height: 18px; fill: #FBBC04; }
.gav__estrelas svg.vazia { fill: rgba(255, 255, 255, .25); }
.gav blockquote { margin: 0; font-size: 15px; line-height: 1.6; }
@media (max-width: 600px) { .gav { width: 290px; padding: 20px; } .gav-trilho { gap: 14px; } .gav blockquote { font-size: 14.5px; } }

/* v32 — setor exclusivo de prótese protocolo (entre Quem somos e Unidades), mesma animação da Tecnologia */
.protocolo { padding-top: 40px; padding-bottom: 40px; }
.protocolo__faixa { background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(40, 110, 230, .35), transparent 70%), linear-gradient(180deg, #03113A, #020B26); }
.protocolo__faixa::after { background: linear-gradient(180deg, rgba(1, 8, 30, .35), transparent 25%, transparent 75%, rgba(1, 8, 30, .35)); }
.protocolo .tec__texto h3 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; }
.protocolo .tec__texto h3 em { font-style: normal; font-weight: 400; color: #91D7F6; }
.protocolo .tec__img { max-width: min(100%, 760px); }
@media (max-width: 900px) { .protocolo { padding-top: 20px; padding-bottom: 20px; } .protocolo .tec__visual { height: 220px; } }

/* v34 — implante com coroa na seção final (imagem, mesma animação da prótese) + botões 2 x 2 centralizados */
.final { position: relative; isolation: isolate; }
.final__visual { position: absolute; z-index: -1; pointer-events: none; display: grid; place-items: center; }
.final__giro { will-change: transform; display: grid; place-items: center; }
.final__img { width: auto; height: 100%; max-height: min(64vh, 560px); filter: drop-shadow(0 26px 30px rgba(0, 20, 70, .45)); transform-origin: 50% 85%; will-change: transform; }
.final__sombra { bottom: -4%; left: 25%; width: 50%; }
.final__botoes { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 14px; }
.final__botoes .cta-item { display: flex; }
.final__botoes .btn { width: 100%; justify-content: center; }
@media (min-width: 1000px) {
  .final { align-items: flex-start; }
  .final > h2, .final > p, .final__botoes, .final__dica { width: 62%; max-width: 62%; text-align: center; }
  .final__titulo { font-size: clamp(40px, 5.4vw, 82px) !important; }
  .final__visual { top: 50%; height: min(70vh, 610px); transform: translateY(-50%); right: 0; width: 36%; }
  .final__img { max-height: min(66vh, 580px); }
}
@media (max-width: 999px) {
  .final { padding-top: 330px; }
  .final__visual { top: 40px; left: 0; right: 0; height: 260px; }
  .final__img { height: 250px; }
}
.final__botoes { grid-template-columns: repeat(2, minmax(0, 220px)); }
@media (max-width: 460px) { .final__botoes { gap: 10px; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); } .final__botoes .btn { padding-left: 10px; padding-right: 10px; font-size: 13.5px; gap: 7px; } }

/* =====================================================================
   DESEMPENHO — animações só com transform/opacity (rodam na GPU)
   ===================================================================== */
.ponto { position: relative; box-shadow: none; animation: none; }
.ponto::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(61, 139, 255, .6); animation: pulso-anel 2.2s infinite; will-change: transform, opacity; }
@keyframes pulso-anel { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(3.4); opacity: 0; } }
.btn--zap::before { box-shadow: 0 0 0 3px rgba(80, 235, 130, .6); animation: zap-anel 1.6s ease-out infinite; will-change: transform, opacity; }
@keyframes zap-anel { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.12, 1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ponto::after, .btn--zap::before { animation: none; opacity: 0; } }

/* celular / toque: sem desfoque de fundo (backdrop-filter), vidro mais opaco
   e o botão do WhatsApp pulsa só com escala (sem repintar sombra a cada quadro) */
@media (max-width: 900px), (pointer: coarse) {
  :root { --vidro-bg: rgba(255, 255, 255, .8); }
  [data-theme="dark"] { --vidro-bg: rgba(10, 24, 60, .82); }
  .glass, .btn--vidro, .nav, .nav__links, .zap-caixa { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .glass::before { display: none; }
  /* granulado em SVG e blur gigante do fundo custam muito para pintar no celular;
     o fundo já é desenhado com gradientes suaves, então fica praticamente igual */
  .grao { display: none; }
  #fundo { filter: saturate(120%); }
  /* sombra da Dra. vai para a foto (parada) e não para o quadro com a prótese animada,
     assim o celular não refaz o filtro a cada quadro da animação */
  .hd__quadro, [data-theme="dark"] .hd__quadro { filter: none; }
  .hd__foto { filter: drop-shadow(-12px 0 26px rgba(61, 139, 255, .32)) drop-shadow(16px 12px 34px rgba(0, 38, 104, .28)) !important; }
  [data-theme="dark"] .hd__foto { filter: drop-shadow(-14px 0 30px rgba(61, 139, 255, .5)) drop-shadow(18px 12px 36px rgba(0, 0, 0, .45)) !important; }
  .btn--zap { animation: zap-pulso 1.6s ease-in-out infinite; }
  @keyframes zap-pulso { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
}
