/* Instituto Lipedema Intervir — folha de estilo única.
   Cores e fontes do site do Bitrix: cor principal #7e5d6e (malva), dourado do logotipo, títulos em Roboto Slab
   e texto em Roboto na home; Montserrat em /programa21dias/. Mesma estrutura de classes do site da Clínica Intervir. */
:root {
  --malva: #7e5d6e;
  --malva-escuro: #634857;
  --malva-claro: #efe7eb;
  --ouro: #b38a46;
  --creme: #fbf5f1;
  --texto: #3f3a3c;
  --suave: #6d6569;
  --fundo: #ffffff;
  --verde: #11c80a;
  --verde-hover: #0ea608;
  --verde-texto: #000433;
  --wa: #0e9f1a;
  --wa-hover: #0b8515;
  --escuro: #2b2328;
  --raio: 22px;
  --larg: 1140px;
  --fonte-t: 'Roboto Slab', Georgia, 'Times New Roman', serif;
  --fonte: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.pg-programa { --fonte-t: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif; --fonte: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
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(--malva); }
h1, h2, h3, h4 { font-family: var(--fonte-t); line-height: 1.25; margin: 0 0 .6em; overflow-wrap: anywhere; color: #333; }
p { margin: 0 0 .9em; }
.wrap { width: 100%; max-width: var(--larg); margin: 0 auto; padding: 0 16px; }
.estreito { max-width: 860px; }
.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; }
.forte { font-weight: 700; }
.espaco { height: 24px; }

/* ---------- topo */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(251, 245, 241, .96); backdrop-filter: blur(6px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.topo-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.logo { flex: none; }
.logo img { width: 64px; height: auto; }
.pg-programa .topo { background: var(--malva); }
.pg-programa .logo img { width: 96px; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--malva-escuro); text-decoration: none; font: 700 13px/1.2 var(--fonte-t); text-transform: uppercase; letter-spacing: .04em; }
.menu a:hover { color: var(--ouro); }
.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(--malva); 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(251, 245, 241, .99); padding: 8px 16px 16px; box-shadow: 0 8px 16px rgba(0,0,0,.08); }
  .menu.aberto { display: block; }
  .menu li a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
}
@media (min-width: 900px) {
  .menu-bt { display: none; }
  .menu ul { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: flex-end; }
  .logo img { width: 76px; }
}

/* ---------- 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(--malva); transition: background .15s, transform .15s; max-width: 100%; }
.btn:hover { background: var(--malva-escuro); transform: translateY(-1px); }
.btn-verde { background: var(--verde); color: var(--verde-texto); border-radius: 0; }
.btn-verde:hover { background: var(--verde-hover); }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: var(--wa-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-compra { width: 100%; border-radius: 10px; font-size: 16px; }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 14px; }
.btn-compra.btn-lg { font-size: 16px; }

/* ---------- capa (hero) */
.hero { position: relative; min-height: 60vh; display: flex; align-items: center; padding: 80px 0; color: #fff; background: #8a7a72; 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(90deg, rgba(43,35,40,.55), rgba(43,35,40,.25)); }
.hero-in { text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.hero-t { color: #fff; font-size: clamp(26px, 5.6vw, 44px); font-weight: 700; max-width: 760px; }
.hero-txt { max-width: 640px; font-size: 17px; }
.hero-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.hero-list li { position: relative; padding-left: 30px; font: 700 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(--malva); }
.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-programa .hero-t { text-transform: uppercase; font-size: clamp(24px, 5vw, 38px); }
.hero-programa .hero-bg::after { background: linear-gradient(90deg, rgba(43,35,40,.15), rgba(43,35,40,.55)); }
@media (min-width: 900px) { .hero-programa .hero-in { padding-left: 45%; } }

/* ---------- 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: var(--malva-claro); }

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

/* ---------- grades */
.g2, .g3, .g4 { 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); } }
@media (min-width: 1000px) { .g4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- cartões (O que oferecemos?) */
.cards { background: var(--malva); color: #fff; }
.cards .card { text-align: center; }
.cards h3 { font-size: 17px; color: #fff; text-transform: uppercase; }
.cards .kicker { color: #f1dcc0; }
.cards .txt { font-size: 14.5px; color: rgba(255,255,255,.9); }
.card-ic .ic { display: inline-flex; width: 56px; height: 56px; border: 2px solid currentColor; border-radius: 50%; align-items: center; justify-content: center; margin-bottom: 14px; }
.ic svg { width: 26px; height: 26px; }

/* ---------- faixas (imagens com texto) */
.faixas img { border-radius: 6px; width: 100%; }
.faixas .g2 { gap: 20px; }

/* ---------- método */
.metodo { background: var(--creme); }
.metodo .g2 { align-items: start; }
@media (min-width: 768px) { .metodo .g2 { grid-template-columns: 5fr 7fr; } }
.metodo-img img { border-radius: 8px; margin: 0 auto; max-height: 820px; width: auto; }
.metodo h2 { font-size: clamp(22px, 4.6vw, 30px); }
.metodo .txt { color: var(--suave); }
.feats { display: grid; gap: 22px; margin-top: 28px; }
@media (min-width: 1000px) { .feats { grid-template-columns: 1fr 1fr; } }
.feat { display: flex; gap: 14px; align-items: flex-start; }
.feat .ic { flex: none; display: inline-flex; width: 46px; height: 46px; border-radius: 50%; background: var(--malva); color: #fff; align-items: center; justify-content: center; }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 15px; text-transform: uppercase; color: var(--malva-escuro); margin-bottom: 6px; }
.feat .txt { font-size: 14.5px; }

/* ---------- tratamentos */
.tratamentos .g2 { align-items: center; }
.trat-img img { margin: 0 auto; border-radius: 8px; }
.tratamentos h2 { font-size: clamp(22px, 4.6vw, 30px); }
.trat-intro { font-size: 15px; text-transform: uppercase; color: var(--malva-escuro); }
.trat-grupo { background: var(--malva); color: #fff; border-radius: 8px; padding: 16px 18px; margin-top: 12px; }
.trat-grupo h3 { color: #fff; font-size: 14.5px; text-transform: uppercase; margin-bottom: 8px; }
.estrelas { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.estrelas li { padding: 2px 0; }

/* ---------- contato (antigo formulário do Bitrix) */
.contato { background: var(--malva-claro); }
.contato h2 { color: var(--malva); text-transform: uppercase; font-size: clamp(22px, 5vw, 30px); }
.contato h3 { color: var(--malva); }
.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(--malva); flex: none; }
.contatos a { color: #444; text-decoration: none; font-weight: 700; font-size: 18px; }
.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; }

/* ---------- rodapé da home (bloco do Bitrix) */
.rodape { background: var(--escuro); 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: 700 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; }
.rodape .btn-verde { border-radius: 20px; }
@media (min-width: 768px) { .rodape .g3 { grid-template-columns: 1fr 1fr 1fr; } .rod-copy { text-align: left; } .rod-bt .btns { justify-content: flex-end; } }

/* ---------- /programa21dias/: imagem + texto, vídeo + texto */
.it .g2, .vt .g2 { align-items: center; }
.it-img img { margin: 0 auto; border-radius: 8px; max-height: 640px; width: auto; }
.it h2, .vt h2 { color: var(--malva); text-transform: uppercase; font-size: clamp(19px, 4.2vw, 24px); font-weight: 700; }
.it .txt, .vt .txt { font-size: 15px; }
.it blockquote { margin: 0 0 0 4px; padding-left: 14px; border-left: 3px solid var(--malva); }
.video { padding-top: 32px; }

/* ---------- 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); }

/* ---------- redes sociais */
.social { padding: 18px 0; }
.social ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; justify-content: center; }
.soc { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; }
.soc svg { width: 22px; height: 22px; }
.soc-instagram { background: #bc2a8d; }

/* ---------- 404 */
.nao-achou { padding: 72px 0; text-align: center; }
.nao-achou h1 { color: var(--malva); font-size: 30px; }
.nao-achou .btns { justify-content: center; }

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