/* Clínica Intervir — folha de estilo única. Cores e fontes do site do Bitrix (ouro #AD8F47, Montserrat + Open Sans). */
:root {
  --ouro: #AD8F47;
  --ouro-escuro: #8C7135;
  --ouro-faixa: rgba(173, 143, 71, .95);
  --ouro-claro: rgba(173, 143, 71, .85);
  --logo: #FDB21A;
  --texto: #4f4f4f;
  --suave: #757575;
  --fundo: #ffffff;
  --cinza: #f3f2ef;
  --verde: #0e9f1a;
  --verde-hover: #0b8515;
  --oliva: #6f8d33;
  --oliva-hover: #5b7428;
  --teal: #3f9fa2;
  --escuro: #1f1d19;
  --raio: 22px;
  --larg: 1140px;
  --fonte-t: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fonte: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--fundo); color: var(--texto); font: 400 16px/1.6 var(--fonte); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--ouro-escuro); }
h1, h2, h3, h4 { font-family: var(--fonte-t); line-height: 1.25; margin: 0 0 .6em; overflow-wrap: anywhere; }
p { margin: 0 0 .9em; }
.wrap { width: 100%; max-width: var(--larg); margin: 0 auto; padding: 0 16px; }
.estreito { max-width: 820px; }
.pular { position: absolute; left: -9999px; top: 0; }
.pular:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.s { padding: 48px 0; }
.txt > :last-child { margin-bottom: 0; }

/* ---------- topo */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(31, 29, 25, .94); backdrop-filter: blur(6px); }
.topo-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { flex: none; }
.logo img { width: 150px; height: auto; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--logo); text-decoration: none; font: 700 13px/1.2 var(--fonte-t); text-transform: uppercase; letter-spacing: .02em; }
.menu a:hover { color: #fff; }
.menu-bt { width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-bt span, .menu-bt span::before, .menu-bt span::after { display: block; width: 24px; height: 2px; background: var(--logo); position: relative; content: ''; transition: transform .2s; }
.menu-bt span::before { position: absolute; top: -7px; }
.menu-bt span::after { position: absolute; top: 7px; }
.menu-bt[aria-expanded="true"] span { background: transparent; }
.menu-bt[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-bt[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 899px) {
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: rgba(31, 29, 25, .98); padding: 8px 16px 16px; }
  .menu.aberto { display: block; }
  .menu li a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (min-width: 900px) {
  .menu-bt { display: none; }
  .menu ul { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: flex-end; }
  .logo img { width: 180px; }
}

/* ---------- botões */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 10px 22px;
  border-radius: var(--raio); font: 700 12.5px/1.25 var(--fonte-t); text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  color: #fff; background: var(--oliva); transition: background .15s, transform .15s; max-width: 100%; }
.btn:hover { background: var(--oliva-hover); transform: translateY(-1px); }
.btn-wa { background: var(--verde); }
.btn-wa:hover { background: var(--verde-hover); }
.btn-wa::before { content: ''; width: 18px; height: 18px; margin-right: 8px; flex: none;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5a9.4 9.4 0 00-8.1 14.2L2.6 21.5l4.9-1.3A9.4 9.4 0 1012 2.5zm0 17.1a7.7 7.7 0 01-4-1.1l-.3-.2-2.9.8.8-2.8-.2-.3A7.7 7.7 0 1112 19.6zm4.2-5.8c-.2-.1-1.4-.7-1.6-.8s-.4-.1-.5.1l-.7.9c-.1.2-.3.2-.5.1a6.3 6.3 0 01-3.1-2.7c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.7-1.7c-.2-.5-.4-.4-.5-.4h-.5a.9.9 0 00-.7.3 2.8 2.8 0 00-.9 2.1 4.9 4.9 0 001 2.6 11.2 11.2 0 004.3 3.8c1.6.7 2.2.7 3 .6a2.6 2.6 0 001.7-1.2 2.1 2.1 0 00.1-1.2c0-.1-.2-.2-.4-.3z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5a9.4 9.4 0 00-8.1 14.2L2.6 21.5l4.9-1.3A9.4 9.4 0 1012 2.5zm0 17.1a7.7 7.7 0 01-4-1.1l-.3-.2-2.9.8.8-2.8-.2-.3A7.7 7.7 0 1112 19.6zm4.2-5.8c-.2-.1-1.4-.7-1.6-.8s-.4-.1-.5.1l-.7.9c-.1.2-.3.2-.5.1a6.3 6.3 0 01-3.1-2.7c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.7-1.7c-.2-.5-.4-.4-.5-.4h-.5a.9.9 0 00-.7.3 2.8 2.8 0 00-.9 2.1 4.9 4.9 0 001 2.6 11.2 11.2 0 004.3 3.8c1.6.7 2.2.7 3 .6a2.6 2.6 0 001.7-1.2 2.1 2.1 0 00.1-1.2c0-.1-.2-.2-.4-.3z'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn-tel { background: var(--ouro-escuro); }
.btn-tel:hover { background: #6f5a2a; }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 14px; }

/* ---------- capa (hero) */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; padding: 72px 0; color: #fff; background: #6b6355; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,14,.38), rgba(20,18,14,.48)); }
.hero-in { text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.hero-t { font-size: clamp(22px, 5.4vw, 34px); font-weight: 700; text-transform: uppercase; display: inline-block; padding-bottom: 10px; margin-bottom: 18px;
  border-bottom: 3px solid rgba(173, 143, 71, .9); max-width: 900px; }
.hero-kicker { display: table; margin-left: auto; margin-right: auto; background: #fff; color: var(--ouro-escuro); text-shadow: none; font: 700 13px/1 var(--fonte-t); text-transform: uppercase; padding: 8px 12px; margin-bottom: 18px; }
.hero-sub { font: 600 clamp(15px, 3.6vw, 19px)/1.4 var(--fonte-t); text-transform: uppercase; max-width: 820px; margin-left: auto; margin-right: auto; }
.hero-txt { max-width: 760px; margin: 0 auto; font-size: 15px; }
.hero-list { list-style: none; padding: 0; margin: 4px auto 0; display: inline-flex; flex-direction: column; gap: 10px; text-align: left; max-width: 760px; }
.hero-list li { position: relative; padding-left: 30px; font: 600 15px/1.35 var(--fonte-t); text-transform: uppercase; }
.hero-list li::before { content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 4px; background: var(--ouro);
  -webkit-mask: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,.0); }
.hero-list li::after { content: ''; position: absolute; left: 6px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.hero .btns { justify-content: center; margin-top: 26px; }
.hero-video { max-width: 640px; margin: 20px auto 0; text-shadow: none; }
@media (min-width: 900px) { .hero { min-height: 70vh; } .hero-list { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px 36px; } }

/* ---------- faixa dourada com título */
.barra { background: var(--ouro); color: #fff; padding: 22px 0; }
.barra-clara { background: var(--ouro-claro); }
.barra h2 { margin: 0; font-size: clamp(19px, 4.4vw, 26px); text-transform: uppercase; font-weight: 700; }
.barra .txt { margin-top: 10px; }
.barra .btns { margin-top: 12px; justify-content: center; }
.barra h2 + .btns { margin-top: 16px; }

/* ---------- títulos de seção */
.sh { text-align: center; padding-bottom: 16px; }
.sh .kicker, .kicker { color: var(--ouro); font: 600 12px/1.4 var(--fonte-t); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.sh h2 { font-size: clamp(22px, 5vw, 32px); text-transform: uppercase; color: #333; }
.sh h2::after { content: ''; display: block; width: 64px; height: 4px; background: var(--ouro); margin: 12px auto 0; }
.sh .txt { color: var(--suave); max-width: 720px; margin: 0 auto; }
.s.sh + .s { padding-top: 16px; }

/* ---------- duas colunas */
.g2, .g3, .g4, .g6 { display: grid; gap: 28px; }
@media (min-width: 768px) { .g2 { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } .g6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .g4 { grid-template-columns: repeat(4, 1fr); } .g6 { grid-template-columns: repeat(6, 1fr); } }
.vt h2, .it h2 { color: var(--ouro); text-transform: uppercase; font-size: clamp(19px, 4.2vw, 25px); }
.vt .txt, .it .txt { font-family: var(--fonte-t); font-size: 15px; color: var(--suave); }
.vt-vid .btns { justify-content: center; }
.it-img img { margin: 0 auto; border-radius: 6px; }

/* ---------- vídeo do YouTube (carrega o player só no clique) */
.yt { position: relative; }
.yt-play { display: block; position: relative; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.yt-ic { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: rgba(33,33,33,.85); transition: background .15s; }
.yt-ic::after { content: ''; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt-play:hover .yt-ic, .yt-play:focus-visible .yt-ic { background: #f00; }
.yt iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; }
.yt-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- separador em onda */
.sep { height: 48px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 24 C200 4 400 44 600 24 S1000 4 1200 24 V48 H0Z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 24 C200 4 400 44 600 24 S1000 4 1200 24 V48 H0Z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; background: #e3e1dc; }

/* ---------- cartões */
.cards .card { text-align: center; }
.card-foto { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; margin: 0 auto 16px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.cards h3 { font-size: 16px; color: #444; }
.cards .txt { font-size: 14.5px; color: var(--suave); }
.card-ic .ic { display: inline-flex; width: 52px; height: 52px; border: 2px solid var(--ouro); color: var(--ouro); border-radius: 50%; align-items: center; justify-content: center; margin-bottom: 14px; }
.card-ic .ic svg { width: 24px; height: 24px; }
.card-ic h3 { text-transform: uppercase; }
.especialidades { background: var(--cinza); }
.esp-ic { width: 92px; height: 92px; object-fit: contain; margin: 0 auto 10px; }
.esp-foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin: 0 auto 12px; }
.pessoa + .pessoa { margin-top: 40px; }
.especialidades h3 { color: var(--ouro); text-transform: uppercase; font-size: 14px; }
.especialidades .txt p { margin-bottom: .5em; font-size: 14px; }

/* ---------- especialistas (home) */
.medico { background: #c9b07a; border-radius: 6px; overflow: hidden; color: #fff; text-align: center; display: flex; flex-direction: column; }
.medico-foto { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; background: #c9b07a; }
.medico-txt { padding: 16px; font-size: 14px; }
.medico h3 { text-transform: uppercase; font-size: 15px; }
.medico ul { list-style: none; padding: 0; margin: 10px 0 0; text-align: left; font-size: 13.5px; }
.medico li { padding: 6px 0; border-top: 1px solid rgba(255,255,255,.35); }

/* ---------- depoimentos */
.depos { background: #fafaf8; }
.depos-capa .sh h2 { color: var(--ouro); }
.carrossel { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 360px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; overscroll-behavior-x: contain; }
.carrossel:focus-visible { outline: 2px solid var(--ouro); }
.depo { scroll-snap-align: start; margin: 0; background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 4px 14px rgba(0,0,0,.07); display: flex; flex-direction: column; justify-content: space-between; }
.depo blockquote { margin: 0 0 16px; font-size: 14.5px; color: #555; }
.depo blockquote::before { content: '“'; display: block; font: 700 40px/0.8 Georgia, serif; color: var(--ouro); margin-bottom: 4px; }
.depo figcaption { display: flex; align-items: center; gap: 12px; }
.depo-foto { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.depo figcaption b { display: block; font: 600 14px/1.3 var(--fonte-t); color: #333; }
.depo figcaption small { color: var(--ouro); font-size: 12.5px; }
.car-nav { display: flex; gap: 8px; justify-content: center; }
.car-nav button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ouro); background: #fff; color: var(--ouro-escuro); font: 700 18px/1 var(--fonte-t); cursor: pointer; }
@media (min-width: 1000px) { .carrossel { grid-auto-columns: calc((100% - 32px) / 3); } }

/* ---------- antes e depois */
.antes-depois .ad { margin: 0; text-align: center; }
.antes-depois .ad img { border-radius: 6px; margin: 0 auto; }
.antes-depois figcaption { margin-top: 8px; }
.antes-depois figcaption b { display: block; color: var(--ouro); font-family: var(--fonte-t); }
.antes-depois figcaption small { color: var(--suave); }

/* ---------- programa (ortomolecular) */
.programa .lead { font: 600 16px/1.4 var(--fonte-t); color: var(--ouro); }
.programa h2 { font-size: clamp(19px, 4.4vw, 26px); color: #333; }
.programa .g3 { margin-top: 32px; }
.programa .card { background: #fff; border-radius: 8px; padding: 20px; text-align: center; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.programa { background: #ebe7e9; }

/* ---------- perguntas frequentes */
.faq { background: var(--ouro-faixa); color: #fff; }
.faq-i { position: relative; padding: 12px 0 12px 38px; }
.faq-i::before { content: ''; position: absolute; left: 6px; top: 16px; width: 8px; height: 15px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.faq h3 { font-size: clamp(17px, 3.8vw, 21px); margin-bottom: 6px; }
.faq .txt { font-family: var(--fonte-t); font-size: 15px; }

/* ---------- redes sociais */
.social { background: rgba(63, 159, 162, .75); padding: 22px 0; }
.social ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; justify-content: center; }
.soc { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,.18); }
.soc svg { width: 22px; height: 22px; }
.soc-facebook { background: #3b5998; } .soc-instagram { background: #bc2a8d; } .soc-whatsapp { background: #25d366; }

/* ---------- contato (antigo formulário do Bitrix) */
.contato { background: var(--cinza); }
.contato h2 { color: var(--ouro); text-transform: uppercase; font-size: clamp(22px, 5vw, 30px); }
.contato h3 { color: var(--ouro); }
.contatos { list-style: none; padding: 0; margin: 0; }
.contatos li { display: flex; align-items: center; gap: 10px; padding: 6px 0; overflow-wrap: anywhere; }
.contatos svg { width: 20px; height: 20px; color: var(--ouro); flex: none; }
.contatos a { color: #444; text-decoration: none; font-weight: 600; }
.wa-box { background: #fff; border-radius: 10px; padding: 24px; box-shadow: 0 6px 22px rgba(0,0,0,.08); text-align: center; }
.wa-box h3 { color: #333; font-size: 20px; }
.wa-box .btn { margin: 6px 0 10px; }
.wa-tel { font-size: 14px; color: var(--suave); margin: 0; }

/* ---------- texto corrido (home, privacidade) */
.texto { font-size: 15.5px; }
.texto .txt { text-align: left; }

/* ---------- chamada com botão */
.cta { text-align: center; padding: 28px 0; }
.cta .btns { justify-content: center; }

/* ---------- rodapé */
.rodape { background: var(--teal); color: #fff; padding: 40px 0; text-align: center; }
.rodape .g3 { align-items: center; gap: 18px; }
.rod-copy { margin: 0; font-size: 14px; }
.rod-sub { margin: 0; font: 800 14px/1.3 var(--fonte-t); text-transform: uppercase; }
.rod-tel { color: #fff; font: 700 22px/1.3 var(--fonte-t); text-decoration: none; }
.rod-bt .btns { justify-content: center; margin: 0; }
@media (min-width: 768px) { .rodape .g3 { grid-template-columns: 1fr 1fr 1fr; } .rod-copy { text-align: left; } .rod-bt .btns { justify-content: flex-end; } }
.legal { background: var(--escuro); color: #bdb7aa; font-size: 13px; padding: 14px 0; text-align: center; }
.legal p { margin: 0; }
.legal a { color: var(--logo); }

/* ---------- 404 */
.nao-achou { padding: 72px 0; text-align: center; }
.nao-achou h1 { color: var(--ouro); font-size: 30px; }
.nao-achou .btns { justify-content: center; }
.lista-paginas { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
