/* ABRALIPRO · site institucional
   Identidade da pós-graduação (poslipedema.com.br): índigo #2C2A4A é a tinta, #4E4797 é o violeta da marca, lilás #B9A8F0 dá luz nos fundos escuros, verde #47B691 só em pequenos detalhes.
   Fontes e estrutura seguem o site da ABRALI (Funnel Display + texto limpo, pílulas, cartões brancos arredondados).
   Estrutura de site da AraujoDev: cabeçalho fixo, rótulos-pílula, títulos com uma palavra de destaque, cartões, faixas escuras, números, FAQ, fechamento. */
:root {
  --noite: #2c2a4a; --profunda: #1c1936; --violeta: #4e4797; --violeta-2: #6034d4; --lima: #b9a8f0; --rosa: #b9a8f0; --gelo: #efeaff; --verde: #47b691;
  --lav: #f4f0ff; --lav-2: #e9e2ff; --lav-3: #dcdaf0; --texto: #4a4868; --apagado: #6a678f; --claro: #b9a8f0;
  --t: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --d: "Funnel Display", "Plus Jakarta Sans", system-ui, sans-serif;
  --caixa: 1240px; --gut: 24px; --raio: 28px;
  --sombra: 0 30px 60px -30px rgba(44, 42, 74, .35), 0 2px 8px rgba(44, 42, 74, .06);
  --mola: cubic-bezier(.2, .9, .25, 1.18); --suave: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--lav); color: var(--noite); font: 400 17px/1.65 var(--t); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--d); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; }
h1 { font-size: clamp(42px, 6.4vw, 92px); }
h2 { font-size: clamp(32px, 4.4vw, 60px); }
h3 { font-size: clamp(21px, 2vw, 26px); letter-spacing: -.02em; line-height: 1.15; }
.pv { background: linear-gradient(95deg, var(--violeta-2), var(--violeta) 55%, var(--rosa)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.escuro .pv, .hero .pv.lima { background: linear-gradient(95deg, var(--lima), #efeaff 55%, var(--claro)); -webkit-background-clip: text; background-clip: text; }
.caixa { width: min(100% - var(--gut) * 2, var(--caixa)); margin-inline: auto; position: relative; }
.estreita { max-width: 800px; }
.pular { position: absolute; left: -999px; top: 8px; background: var(--noite); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 200; }
.pular:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--violeta); outline-offset: 3px; border-radius: 8px; }

/* rótulo-pílula */
.rot { display: inline-flex; align-items: center; gap: 8px; background: var(--lav-2); color: var(--violeta-2); font: 700 12px/1 var(--t); letter-spacing: .14em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px; }
.rot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.escuro .rot { background: rgba(185, 168, 240, .16); color: var(--claro); }
.rot.lima { background: var(--lima); color: var(--noite); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--texto); max-width: 660px; }
.escuro .lead, .escuro p { color: #d2d0f0; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; border: 0; border-radius: 999px; padding: 15px 26px; font: 700 16px/1.1 var(--t); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .35s var(--mola), background-color .2s, box-shadow .2s, color .2s; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lima { background: var(--violeta-2); color: #fff; box-shadow: 0 14px 30px -14px rgba(96, 52, 212, .7); }
.btn-lima:hover { background: #4e2bb0; }
.escuro .btn-lima { background: var(--lima); color: var(--noite); box-shadow: 0 14px 30px -14px rgba(185, 168, 240, .6); }
.escuro .btn-lima:hover { background: #cbbcf7; }
.btn-noite { background: var(--noite); color: #fff; box-shadow: 0 14px 30px -14px rgba(44, 42, 74, .8); }
.btn-noite:hover { background: #3d3a66; }
.btn-linha { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-linha:hover { background: rgba(78, 71, 151, .1); }
.btn-pq { padding: 11px 18px; font-size: 14px; }
.botoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.link-seta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--violeta-2); text-decoration: none; }
.link-seta::after { content: "→"; transition: transform .3s var(--mola); }
.link-seta:hover::after { transform: translateX(5px); }
.escuro .link-seta { color: var(--lima); }

/* cabeçalho */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 14px 0; transition: transform .45s var(--suave), background-color .3s, box-shadow .3s, padding .3s; }
.topo.rolou { background: rgba(250, 248, 255, .86); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(78, 71, 151, .2); padding: 10px 0; }
.topo.some { transform: translateY(-110%); }
.topo .caixa { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.marca img { height: 40px; width: auto; }
.menu { display: flex; align-items: center; gap: 6px; }
.menu a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 999px; transition: background-color .2s, color .2s; }
.menu a:not(.btn):hover, .menu a[aria-current="page"] { background: var(--lav-2); color: var(--violeta-2); }
.menu .btn { margin-left: 8px; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--noite); cursor: pointer; padding: 0; position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--mola), opacity .2s; }
.burger i:nth-child(1) { top: 17px; } .burger i:nth-child(2) { top: 22px; } .burger i:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* seções */
.sec { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.sec-curta { padding: clamp(40px, 5vw, 70px) 0; }
.escuro { background: var(--noite); color: #fff; }
.escuro.profundo { background: var(--profunda); }
.folha { background: var(--lav-2); }
.cab { margin-bottom: clamp(36px, 5vw, 64px); display: grid; gap: 18px; justify-items: start; }
.cab.centro { justify-items: center; text-align: center; margin-inline: auto; }
.cab.centro .lead { margin-inline: auto; }

/* hero */
.hero { padding: 150px 0 0; background: radial-gradient(900px 500px at 85% 10%, rgba(96, 52, 212, .2), transparent 60%), radial-gradient(700px 420px at 0% 80%, rgba(96, 52, 212, .12), transparent 60%), var(--lav); overflow: hidden; position: relative; }
.hero .caixa { display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: end; }
.hero-txt { padding-bottom: clamp(56px, 8vw, 110px); display: grid; gap: 26px; justify-items: start; align-self: center; }
.hero h1 .pv { display: inline-block; }
.hero .lead { max-width: 560px; }
.hero-foto { position: relative; align-self: end; }
.hero-foto .moldura { border-radius: 40px 40px 0 0; overflow: hidden; background: #2c2a4a; box-shadow: var(--sombra); aspect-ratio: 5 / 4.4; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.dado { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 20px; padding: 12px 18px 12px 12px; box-shadow: var(--sombra); font-size: 14px; line-height: 1.25; animation: flutua 6s ease-in-out infinite; }
.dado b { display: block; font: 800 20px/1 var(--d); }
.dado .ic { width: 42px; height: 42px; border-radius: 14px; background: var(--lav-2); display: grid; place-items: center; color: var(--violeta-2); }
.dado .ic svg { width: 22px; height: 22px; }
.dado.a { left: -28px; bottom: 56px; }
.dado.b { right: 18px; top: 22px; animation-delay: -3s; }
@keyframes flutua { 50% { transform: translateY(-9px); } }
.faixa-marcas { border-top: 1px solid var(--lav-3); background: #fff; }
.faixa-marcas .caixa { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; padding-block: 22px; }
.faixa-marcas .vinc { display: grid; gap: 6px; justify-items: center; text-decoration: none; transition: transform .35s var(--mola); }
.faixa-marcas .vinc:hover { transform: translateY(-3px); }
.faixa-marcas img { height: 40px; width: auto; max-width: 150px; object-fit: contain; }
.faixa-marcas .vinc small { font-size: 12px; color: var(--apagado); font-weight: 600; }
.faixa-marcas .sep { width: 1px; height: 44px; background: var(--lav-3); }
.faixa-marcas span { font: 700 12px/1.2 var(--t); letter-spacing: .14em; text-transform: uppercase; color: var(--apagado); }

/* grades e cartões */
.grade-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grade-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: #fff; border-radius: var(--raio); padding: 34px 30px 30px; box-shadow: var(--sombra); display: grid; gap: 14px; align-content: start; text-decoration: none; position: relative; transition: transform .45s var(--suave), box-shadow .3s; transform-style: preserve-3d; }
.card:hover { box-shadow: 0 40px 70px -30px rgba(78, 71, 151, .45), 0 2px 8px rgba(44, 42, 74, .06); }
.card p { margin: 0; color: var(--texto); }
.card .ico { width: 56px; height: 56px; border-radius: 18px; background: var(--lav-2); color: var(--violeta-2); display: grid; place-items: center; }
.card .ico svg { width: 28px; height: 28px; }
.card ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 15px; color: var(--texto); }
.card li { padding-left: 26px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 50%; background: var(--verde); box-shadow: inset 0 0 0 4px #fff; }
.card.destaque li::before { box-shadow: inset 0 0 0 4px var(--noite); }
.card.destaque { background: var(--noite); color: #fff; }
.card.destaque p, .card.destaque li { color: #d2d0f0; }
.card.destaque .ico { background: rgba(185, 168, 240, .18); color: var(--lima); }

/* quem somos (home) */
.duas { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.duas.inv { grid-template-columns: 1.05fr .95fr; }
.foto-card { border-radius: 36px; overflow: hidden; box-shadow: var(--sombra); position: relative; background: var(--lav-2); }
.foto-card img { width: 100%; height: 100%; object-fit: cover; }
.foto-card.alta { aspect-ratio: 4 / 5; }
.foto-card.larga { aspect-ratio: 16 / 11; }
.foto-card .dado { left: 18px; bottom: 18px; animation: none; }
.dupla { position: relative; }
.dupla .foto-card:nth-child(2) { position: absolute; width: 46%; right: -4%; bottom: -8%; border: 8px solid var(--lav); border-radius: 30px; }
.texto-bloco { display: grid; gap: 20px; justify-items: start; }
.texto-bloco p { color: var(--texto); margin: 0; max-width: 620px; }
.escuro .texto-bloco p { color: #d2d0f0; }
.citacao { border-left: 4px solid var(--violeta); padding: 4px 0 4px 20px; font: 600 20px/1.4 var(--d); color: var(--noite); letter-spacing: -.01em; }

/* números */
.numeros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.numeros > div { padding: 8px 0 8px 22px; border-left: 2px solid rgba(185, 168, 240, .3); }
.numeros b { display: block; font: 800 clamp(44px, 5.4vw, 76px)/1 var(--d); letter-spacing: -.04em; color: var(--lima); }
.numeros span { display: block; margin-top: 8px; color: #d2d0f0; font-size: 15px; max-width: 220px; }

/* pilares numerados */
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: p; }
.passos li { background: #fff; border-radius: var(--raio); padding: 28px 26px; box-shadow: var(--sombra); position: relative; }
.passos .n { font: 800 44px/1 var(--d); color: var(--lav-3); display: block; margin-bottom: 14px; }
.passos h3 { margin-bottom: 10px; font-size: 22px; }
.passos p { margin: 0; color: var(--texto); font-size: 15.5px; }

/* docentes */
.carrossel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gut) 26px; margin-inline: calc((100vw - min(100vw - var(--gut) * 2, var(--caixa))) / -2); scrollbar-width: thin; scrollbar-color: var(--violeta) transparent; }
.docente { flex: 0 0 min(280px, 74vw); scroll-snap-align: start; position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 3 / 4; background: linear-gradient(165deg, #f1edff 0%, #d9d1f8 55%, #b9a8f0 100%); box-shadow: var(--sombra); isolation: isolate; transition: transform .5s var(--suave), box-shadow .4s; }
.docente:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -28px rgba(78, 71, 151, .55); }
.docente::before { content: attr(data-n); position: absolute; left: 14px; top: 10px; right: 6px; font: 800 clamp(58px, 6.2vw, 86px)/.9 var(--d); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(78, 71, 151, .28); text-transform: uppercase; overflow: hidden; white-space: nowrap; z-index: 0; transition: transform .7s var(--suave); }
.docente:hover::before { transform: translateX(8px); }
.docente .f { position: absolute; inset: 0; z-index: 1; mix-blend-mode: multiply; }
.docente .f img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform-origin: 50% 100%; transition: transform .8s var(--suave); }
.docente:hover .f img { transform: scale(1.05); }
.docente .i { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 56px 20px 18px; background: linear-gradient(to top, rgba(44, 42, 74, .96) 0%, rgba(44, 42, 74, .78) 45%, transparent 100%); color: #fff; }
.docente h3 { font-size: 17px; line-height: 1.18; letter-spacing: -.01em; color: #fff; }
.docente small { display: inline-flex; align-items: center; gap: 7px; margin-top: 9px; background: rgba(185, 168, 240, .18); border: 1px solid rgba(185, 168, 240, .35); color: var(--gelo); font-weight: 700; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.docente small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--verde); }
.docente.intl small { background: var(--lima); border-color: var(--lima); color: var(--noite); }
.docente.intl small::before { background: var(--verde); }
.grade-doc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grade-doc .docente { flex: none; }
.grade-doc.intl { grid-template-columns: repeat(3, 1fr); }

/* faixas escuras com mapa */
.estrelas { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1.5px 1.5px at 20% 30%, #b9a8f0 50%, transparent 52%), radial-gradient(1.5px 1.5px at 70% 60%, #b9a8f0 50%, transparent 52%), radial-gradient(1px 1px at 45% 80%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 85% 15%, #fff 50%, transparent 52%); background-size: 340px 300px; opacity: .55; }
.mapa-prev { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }

/* mapa interativo */
.mapa-wrap { position: relative; background: radial-gradient(500px 400px at 50% 40%, rgba(96, 52, 212, .2), transparent 70%); }
.mapa-wrap svg { width: 100%; height: auto; overflow: visible; }
.mapa-wrap .uf { fill: #38356a; stroke: #6a64b8; stroke-width: .8; transition: fill .3s; }
.mapa-wrap .uf.tem { fill: #5a53ad; }
.mapa-wrap .uf:hover { fill: #7a6fe0; }
.pin { cursor: pointer; }
.pin .halo { fill: var(--lima); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulsa 2.8s ease-out infinite; }
.pin .est { fill: var(--lima); stroke: var(--noite); stroke-width: 1.2; transition: transform .3s var(--mola); transform-box: fill-box; transform-origin: center; }
.pin:hover .est, .pin.ativo .est { transform: scale(1.6); fill: #fff; }
.pin.fora .est { fill: var(--rosa); }
.pin text { font: 800 9px var(--d); fill: var(--noite); text-anchor: middle; pointer-events: none; }
@keyframes pulsa { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2.4); opacity: 0; } }
.dica-mapa { position: absolute; z-index: 5; pointer-events: none; background: #fff; color: var(--noite); border-radius: 14px; padding: 9px 14px; font-size: 13.5px; font-weight: 700; box-shadow: var(--sombra); transform: translate(-50%, -125%); white-space: nowrap; opacity: 0; transition: opacity .15s; }
.dica-mapa.v { opacity: 1; }
.dica-mapa small { display: block; font-weight: 500; color: var(--apagado); }
.fora-brasil { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip-btn { border: 0; cursor: pointer; font: 700 13px/1 var(--t); padding: 9px 14px; border-radius: 999px; background: rgba(185, 168, 240, .16); color: #efeaff; }
.chip-btn:hover { background: rgba(185, 168, 240, .3); }

/* filtros e cartões de profissional */
.filtros { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr) auto; gap: 12px; align-items: end; background: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--sombra); }
.filtros label { display: grid; gap: 6px; font: 700 11px/1 var(--t); letter-spacing: .12em; text-transform: uppercase; color: var(--apagado); }
.filtros input, .filtros select { font: 500 15px var(--t); padding: 13px 14px; border-radius: 14px; border: 2px solid var(--lav-3); background: var(--lav); color: var(--noite); width: 100%; min-width: 0; }
.filtros input:focus, .filtros select:focus { outline: none; border-color: var(--violeta); }
.filtros .limpar { background: none; border: 0; font: 700 14px var(--t); color: var(--violeta-2); cursor: pointer; padding: 14px 6px; }
.contagem { margin: 26px 0 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--apagado); font-weight: 600; }
.profs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vazio { text-align: center; padding: 60px 20px; color: var(--apagado); grid-column: 1 / -1; }
.mais { display: flex; justify-content: center; margin-top: 34px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(19, 15, 29, .7); backdrop-filter: blur(6px); }
.modal.v { display: flex; }
.modal-c { background: #fff; border-radius: 32px; width: min(640px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 36px; position: relative; animation: entra .4s var(--mola); }
@keyframes entra { from { transform: translateY(24px) scale(.97); opacity: 0; } }
.modal-c .fechar { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--lav-2); font-size: 20px; cursor: pointer; }
.modal-cab { display: flex; gap: 20px; align-items: center; margin-bottom: 18px; }
.modal-cab .av { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 3px var(--violeta); }
.modal-cab .av img { width: 100%; height: 100%; object-fit: cover; }
.modal-c h3 { font-size: 26px; }
.modal-c .meta { color: var(--apagado); font-size: 15px; margin: 6px 0 0; }
.modal-c .bio { white-space: pre-line; color: var(--texto); font-size: 15.5px; margin-top: 14px; }
.modal-c dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 18px 0; font-size: 14.5px; }
.modal-c dt { color: var(--apagado); font-weight: 600; }
.modal-c dd { margin: 0; font-weight: 600; }

/* selos explicados */
.legenda { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.legenda > div { background: #fff; border-radius: 24px; padding: 24px; box-shadow: var(--sombra); display: grid; gap: 8px; }
.legenda .selo { justify-self: start; }
.legenda h3 { font-size: 20px; }
.legenda p { margin: 0; font-size: 15px; color: var(--texto); }

/* linha do tempo */
.tempo { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--lav-3); margin-left: 8px; }
.tempo li { padding: 0 0 34px 34px; position: relative; }
.tempo li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--lima); border: 4px solid var(--noite); box-sizing: border-box; box-shadow: 0 0 0 2px var(--violeta); }
.tempo b { font: 800 22px/1.1 var(--d); display: block; margin-bottom: 6px; }
.tempo p { margin: 0; color: var(--texto); }

/* faixa de selos / parceiros */
.parceiros { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: center; }
.parceiros img { height: 70px; width: auto; max-width: 200px; object-fit: contain; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 22px; padding: 0 24px; box-shadow: 0 10px 30px -20px rgba(44, 42, 74, .35); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 34px 22px 0; font: 700 18px/1.3 var(--d); letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; background: var(--lav-2); color: var(--violeta-2); display: grid; place-items: center; font-size: 20px; transition: transform .3s var(--mola), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lima); color: var(--noite); }
.faq p { margin: 0 0 22px; color: var(--texto); }

/* fechamento */
.final { text-align: center; overflow: hidden; }
.final .caixa { display: grid; gap: 22px; justify-items: center; }
.final .lead { margin-inline: auto; }
.final .botoes { justify-content: center; }
.final .halo { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(185, 168, 240, .35), transparent); left: 50%; top: -240px; translate: -50% 0; pointer-events: none; }

/* cabeçalho de páginas internas */
.pag-cab { padding: 150px 0 clamp(56px, 7vw, 90px); background: radial-gradient(800px 420px at 90% 0%, rgba(96, 52, 212, .18), transparent 60%), var(--lav-2); }
.pag-cab .caixa { display: grid; gap: 22px; justify-items: start; }
.pag-cab .lead { max-width: 720px; }
.pag-cab h1 { font-size: clamp(38px, 5.4vw, 76px); max-width: 980px; }

/* rodapé */
.rodape { background: var(--profunda); color: #d2d0f0; padding: 70px 0 30px; }
.rodape .grade { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.rodape img.lg { height: 46px; width: auto; margin-bottom: 18px; }
.rodape h3 { font: 700 12px/1 var(--t); letter-spacing: .14em; text-transform: uppercase; color: var(--claro); margin-bottom: 18px; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--lima); }
.rodape p { font-size: 15px; max-width: 360px; }
.rodape .fim { border-top: 1px solid rgba(185, 168, 240, .18); margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #a9a6cf; }

/* movimento: só com JS (sem JS nada fica escondido) */
/* entrada dos blocos: aqui só o estado escondido; o movimento de cada tipo de bloco está no bloco ENTRADAS do v3.css (modo total) e o fade curto do modo suave também */
.js .surge { opacity: 0; }
.js .surge.vis { opacity: 1; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js [data-split] .w > i { display: inline-block; font-style: normal; transform: translateY(110%); transition: transform .8s var(--suave); transition-delay: calc(var(--k) * 55ms); }
.js [data-split].vis .w > i { transform: none; }
.progresso { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--violeta), var(--lima)); z-index: 150; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dado, .pin .halo { animation: none; }
}

/* responsivo */
@media (max-width: 1080px) {
  .grade-3, .passos { grid-template-columns: repeat(2, 1fr); }
  .profs, .grade-doc { grid-template-columns: repeat(3, 1fr); }
  .filtros { grid-template-columns: 1fr 1fr; }
  .filtros .busca { grid-column: 1 / -1; }
  .numeros { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .rodape .grade { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 0; background: var(--noite); flex-direction: column; justify-content: center; align-items: stretch; gap: 6px; padding: 90px 28px 40px; transform: translateY(-100%); transition: transform .5s var(--suave); z-index: -1; }
  .menu.aberto { transform: none; }
  .menu a:not(.btn) { color: #fff; font: 800 28px var(--d); padding: 12px 6px; background: none !important; }
  .menu .btn { margin: 16px 0 0; }
  .topo .burger { z-index: 2; }
  .topo.menu-aberto .marca img { filter: brightness(0) invert(1); }
  .hero .caixa, .duas, .duas.inv, .mapa-prev { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-foto { order: -1; margin-top: 0; }
  .hero-foto .moldura { aspect-ratio: 5 / 4; border-radius: 32px 32px 0 0; }
  .hero-txt { padding-bottom: 50px; }
  .dado.a { left: 8px; bottom: 16px; } .dado.b { right: 8px; top: 12px; }
  .dupla .foto-card:nth-child(2) { right: 0; }
  .grade-2, .legenda { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grade-3, .passos, .grade-2 { grid-template-columns: 1fr; }
  .profs { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prof { padding: 18px 10px 16px; border-radius: 22px; }
  .prof .av { width: 84px; height: 84px; }
  .grade-doc, .grade-doc.intl { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .filtros { grid-template-columns: 1fr; }
  .rodape .grade { grid-template-columns: 1fr; }
  .modal-c { padding: 28px 22px; }
  .modal-cab { flex-direction: column; align-items: flex-start; }
  .dado.b { display: none; }
  .faixa-marcas img { height: 30px; }
}

.card.destaque .link-seta { color: var(--lima); }

/* ===== VIDA: cor, movimento e camadas ===== */
.sec { overflow: hidden; }
.sec::before, .sec::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.sec::before { width: 560px; height: 560px; right: -170px; top: -140px; background: radial-gradient(closest-side, rgba(96, 52, 212, .17), transparent); animation: deriva 16s ease-in-out infinite alternate; }
.sec::after { width: 440px; height: 440px; left: -150px; bottom: -130px; background: radial-gradient(closest-side, rgba(185, 168, 240, .5), transparent); animation: deriva 19s ease-in-out infinite alternate-reverse; }
.escuro.sec::before { background: radial-gradient(closest-side, rgba(185, 168, 240, .3), transparent); }
.escuro.sec::after { background: radial-gradient(closest-side, rgba(96, 52, 212, .55), transparent); }
.sec > .caixa { z-index: 1; }
@keyframes deriva { to { transform: translate(40px, 30px) scale(1.12); } }
.folha { background: linear-gradient(180deg, #e9e2ff 0%, #f4f0ff 100%); }
.escuro.profundo { background: linear-gradient(170deg, #2c2a4a, #1c1936); }
.escuro.indigo { background: radial-gradient(800px 420px at 12% 0%, rgba(185, 168, 240, .32), transparent 60%), linear-gradient(160deg, #4e4797 0%, #2c2a4a 100%); }
.escuro ul.card li { color: #e6e3fa; }
.escuro ul.card li::before { box-shadow: inset 0 0 0 4px #3b3779; }

/* cabeçalho sobre fundo escuro */
.topo:not(.rolou) .menu a:not(.btn) { color: #fff; }
.topo:not(.rolou) .menu a:not(.btn):hover, .topo:not(.rolou) .menu a[aria-current="page"] { background: rgba(255, 255, 255, .16); color: #fff; }
.topo:not(.rolou) .marca img { filter: brightness(0) invert(1); }
.topo:not(.rolou) .btn-noite { background: #fff; color: var(--noite); }
.topo:not(.rolou) .burger { background: #fff; }
.topo:not(.rolou) .burger i { background: var(--noite); }

/* hero */
.hero.escuro { background: radial-gradient(900px 560px at 82% 18%, rgba(185, 168, 240, .34), transparent 60%), radial-gradient(700px 520px at 0% 100%, rgba(96, 52, 212, .55), transparent 60%), linear-gradient(155deg, #2c2a4a 0%, #3b3779 55%, #4e4797 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.5px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 100%); mask-image: linear-gradient(100deg, transparent 30%, #000 100%); pointer-events: none; }
.hero .caixa { z-index: 1; }
.hero-foto::before { content: ""; position: absolute; left: 50%; top: -4%; width: 112%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(185, 168, 240, .6), rgba(185, 168, 240, .14) 70%, transparent); animation: respira 7s ease-in-out infinite; }
@keyframes respira { 50% { transform: scale(1.06); opacity: .8; } }
.hero-foto .moldura { position: relative; z-index: 1; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.hero .dado { z-index: 2; }
.giro { position: absolute; z-index: 3; width: 124px; height: 124px; left: -30px; top: 6%; animation: gira 24s linear infinite; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .35)); }
@keyframes gira { to { transform: rotate(360deg); } }
.hero .rot { background: rgba(185, 168, 240, .18); }

/* fita em movimento */
.fita { background: var(--lima); color: var(--noite); overflow: hidden; rotate: -1.4deg; margin: -22px -30px 0; width: calc(100% + 60px); padding: 15px 0; position: relative; z-index: 4; box-shadow: 0 18px 40px -20px rgba(44, 42, 74, .6); }
.fita-trilho { display: flex; width: max-content; animation: corre 32s linear infinite; }
.fita span { font: 800 26px/1 var(--d); letter-spacing: .03em; text-transform: uppercase; white-space: pre; padding-right: 12px; }
@keyframes corre { to { transform: translateX(-25%); } }
.hero + .fita + .sec { padding-top: clamp(90px, 10vw, 150px); }

/* cabeçalho das páginas internas */
.pag-cab { background: radial-gradient(700px 420px at 88% 20%, rgba(185, 168, 240, .4), transparent 60%), radial-gradient(600px 420px at 0% 100%, rgba(96, 52, 212, .55), transparent 60%), linear-gradient(150deg, #2c2a4a, #4e4797); color: #fff; position: relative; overflow: hidden; }
.pag-cab::after { content: "✦"; position: absolute; right: 5%; top: 18%; font-size: min(34vw, 440px); line-height: 1; color: rgba(185, 168, 240, .13); animation: gira 60s linear infinite; pointer-events: none; }
.pag-cab .caixa { z-index: 1; }
.pag-cab .lead { color: #d2d0f0; }

/* cartões coloridos */
.card.destaque { background: linear-gradient(160deg, #4e4797, #2c2a4a); }
.card.lilas { background: linear-gradient(160deg, #f3efff, #d6ccf8); }
.card.lilas .ico { background: #fff; }
.card.violeta { background: linear-gradient(160deg, #6034d4, #4e4797); color: #fff; }
.card.violeta p { color: #e6e3fa; }
.card.violeta .ico { background: rgba(255, 255, 255, .18); color: #fff; }
.card.violeta .link-seta { color: #fff; }
.card .ico { transition: transform .5s var(--mola); }
.card:hover .ico { transform: rotate(-8deg) scale(1.1); }

/* fotos inclinadas */
.tilt-a, .tilt-b, .tilt-c { border: 8px solid #fff; border-radius: 30px; }
.tilt-a { rotate: -3deg; } .tilt-b { rotate: 2.2deg; translate: 0 26px; } .tilt-c { rotate: -1.6deg; }
.dupla .foto-card:first-child { rotate: -2deg; }
.dupla .foto-card:nth-child(2) { rotate: 3deg; }
.foto-card.larga { border: 8px solid #fff; rotate: 1.2deg; }

@media (max-width: 900px) {
  .giro { width: 92px; height: 92px; left: 6px; top: 12px; }
  .fita span { font-size: 19px; }
  .tilt-b { translate: 0 0; }
  .sec::before { width: 360px; height: 360px; } .sec::after { width: 300px; height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .sec::before, .sec::after, .giro, .fita-trilho, .hero-foto::before, .pag-cab::after { animation: none; } }

/* docentes da home: duas faixas em movimento, largura total */
.trilhos { display: grid; gap: 18px; overflow: hidden; padding: 8px 0 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.trilho { display: grid; grid-auto-flow: column; width: max-content; animation: corre-d 80s linear infinite; }   /* grade em vez de flex: o Safari calculava a largura do trilho em 640 px e os dois grupos de cartões ficavam um sobre o outro */
.trilho.rev { animation-direction: reverse; animation-duration: 90s; }
.trilhos:hover .trilho { animation-play-state: paused; }
.trilho .grupo { display: grid; grid-auto-flow: column; grid-auto-columns: 218px; gap: 18px; padding-right: 18px; }
.trilho .docente { flex: 0 0 218px; }
.trilho .docente::before { font-size: 54px; }
@keyframes corre-d { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trilhos { overflow-x: auto; } .trilho { animation: none; } .trilho .grupo[aria-hidden] { display: none; } }
@media (max-width: 640px) { .trilho .docente { flex-basis: 170px; } .trilho .grupo { grid-auto-columns: 170px; } }

/* mapa na primeira dobra */
.mapa-topo { padding: 116px 0 40px; position: relative; overflow: hidden; min-height: 100svh; display: flex; align-items: center; }
.mapa-topo .caixa { z-index: 1; }
.grade-mapa { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(24px, 4vw, 70px); align-items: center; }
.mapa-info { display: grid; gap: 20px; justify-items: start; }
.mapa-info h1 { font-size: clamp(36px, 4.4vw, 64px); }
.stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 8px; }
.stats > div { padding-left: 16px; border-left: 2px solid rgba(185, 168, 240, .4); }
.stats b { display: block; font: 800 clamp(34px, 3.6vw, 50px)/1 var(--d); color: var(--lima); letter-spacing: -.03em; }
.stats span { font-size: 13px; color: #d2d0f0; }
.fonte { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #a9a6cf; }
.fonte i { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 4px rgba(71, 182, 145, .25); }
.mapa-grande .mapa-wrap svg { max-height: calc(100svh - 190px); margin-inline: auto; }
.mapa-wrap .uf.ativo { fill: #7a6fe0; }
.pin.ativo .est { fill: #fff; }

/* cartões de profissional (sem foto: monograma) */
.prof { --c1: #6034d4; --c2: #4e4797; position: relative; background: #fff; border-radius: 28px; padding: 0 0 18px; box-shadow: var(--sombra); text-align: left; display: grid; align-content: start; cursor: pointer; border: 0; font: inherit; color: inherit; overflow: hidden; animation: entra-c .55s var(--suave) both; transition: transform .45s var(--suave), box-shadow .3s; }
.prof:hover { transform: translateY(-7px); box-shadow: 0 40px 60px -28px rgba(78, 71, 151, .55); }
.prof::before { content: ""; height: 74px; background: linear-gradient(120deg, var(--c1), var(--c2)); position: relative; }
.prof::after { content: "✦"; position: absolute; right: 14px; top: 6px; font-size: 54px; line-height: 1; color: rgba(255, 255, 255, .2); transition: transform .8s var(--suave); }
.prof:hover::after { transform: rotate(90deg) scale(1.1); }
.prof.c0 { --c1: #6034d4; --c2: #4e4797; } .prof.c1 { --c1: #4e4797; --c2: #2c2a4a; } .prof.c2 { --c1: #8a6ff0; --c2: #6034d4; }
.prof.c3 { --c1: #b9a8f0; --c2: #8a7fd6; } .prof.c4 { --c1: #3b3779; --c2: #6034d4; } .prof.c5 { --c1: #47b691; --c2: #4e4797; }
.mono { position: absolute; left: 20px; top: 34px; width: 80px; height: 80px; border-radius: 50%; background: #fff; color: var(--c1); display: grid; place-items: center; font: 800 28px/1 var(--d); letter-spacing: -.02em; box-shadow: 0 0 0 5px #fff, 0 10px 24px -8px rgba(44, 42, 74, .45); z-index: 1; }
.mono.grande { position: static; width: 84px; height: 84px; font-size: 30px; flex: none; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; box-shadow: none; }
.prof .corpo { display: grid; gap: 4px; padding: 52px 20px 0; }
.prof h3 { font-size: 18px; letter-spacing: -.01em; line-height: 1.2; }
.prof .ar { font-size: 13px; color: var(--violeta-2); font-weight: 800; letter-spacing: .02em; }
.prof .lo { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--apagado); }
.prof .lo svg { width: 15px; height: 15px; flex: none; color: var(--violeta); }
.prof .esp { font-size: 13px; color: var(--texto); font-style: italic; }
.selos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.selo { font: 700 10.5px/1 var(--t); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: var(--lav-2); color: var(--violeta-2); }
.selo.pos { background: var(--noite); color: #e6e3fa; }
.selo.afil { background: #fff; color: var(--violeta-2); box-shadow: inset 0 0 0 1.5px var(--violeta-2); }
.prof .ver { margin: 16px 20px 0; padding-top: 14px; border-top: 1px dashed var(--lav-3); font-weight: 800; font-size: 13.5px; color: var(--violeta-2); display: flex; justify-content: space-between; }
.prof .ver i { font-style: normal; transition: transform .3s var(--mola); }
.prof:hover .ver i { transform: translateX(5px); }
/* destaque (futuro plano com foto) */
.prof.platinum::before { display: none; }
.prof.platinum .foto { aspect-ratio: 4 / 3.4; overflow: hidden; background: linear-gradient(160deg, #f1edff, #b9a8f0); }
.prof.platinum .foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.prof.platinum .tag { position: absolute; left: 14px; top: 14px; background: var(--noite); color: #fff; font: 800 10.5px/1 var(--t); letter-spacing: .12em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; z-index: 2; }
.prof.platinum .corpo { padding-top: 16px; }
@keyframes entra-c { from { opacity: 0; transform: translateY(22px) scale(.97); } }
#sentinela { height: 1px; }
.modal-cab .mono.grande { border-radius: 50%; }
@media (max-width: 900px) {
  .mapa-topo { align-items: flex-start; padding-top: 104px; min-height: auto; }
  .grade-mapa { grid-template-columns: 1fr; }
  .mapa-grande .mapa-wrap svg { max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .prof { animation: none; } }

html, body { overflow-x: clip; }
.fita { margin-inline: -30px; max-width: none; }

.filtros { grid-template-columns: repeat(5, 1fr) auto; }
.filtros .busca { grid-column: 1 / -1; }
.modal-cab .av { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 3px var(--violeta); background: linear-gradient(160deg, #f1edff, #b9a8f0); }
.modal-cab .av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
@media (max-width: 1080px) { .filtros { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .filtros { grid-template-columns: 1fr; } }

.dado, .escuro .dado { color: var(--noite); }
.dado b { color: var(--noite); }

/* ===== idiomas, migalha, páginas novas ===== */
.menu a:not(.btn) { white-space: nowrap; }
@media (max-width: 1440px) { .menu a:not(.btn) { padding: 9px 11px; font-size: 14.5px; } }
.migalha { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: #cfcdee; margin-bottom: 4px; }
.migalha a { text-decoration: none; opacity: .85; } .migalha a:hover { opacity: 1; text-decoration: underline; }
.migalha i { font-style: normal; opacity: .5; } .migalha span { font-weight: 700; color: #fff; }
.nota-mapa { margin: 10px 0 0; color: #d2d0f0; font-size: 14px; }
.aviso { margin: 4px 0 0; padding: 12px 16px; border-radius: 16px; background: rgba(185, 168, 240, .16); font-size: 14px; color: #e6e3fa; max-width: 720px; }
.faixa-lip { display: flex; align-items: center; gap: 22px; padding: 22px 28px; border-radius: 999px; background: linear-gradient(100deg, #e9e2ff, #d6ccf8); text-decoration: none; box-shadow: var(--sombra); transition: transform .4s var(--mola); }
.faixa-lip:hover { transform: translateY(-3px); }
.faixa-lip .ico { flex: none; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--violeta-2); display: grid; place-items: center; }
.faixa-lip .ico svg { width: 26px; height: 26px; }
.faixa-lip .tx { display: grid; gap: 2px; flex: 1; }
.faixa-lip b { font: 800 clamp(18px, 2vw, 24px)/1.15 var(--d); letter-spacing: -.02em; }
.faixa-lip small { font-size: 15px; color: var(--texto); }
.faixa-lip .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #fff; background: var(--violeta-2); padding: 12px 20px; border-radius: 999px; white-space: nowrap; }
.faixa-lip .go svg { width: 16px; height: 16px; }
.passos.cinco { grid-template-columns: repeat(5, 1fr); }
.passos.cinco h3 { font-size: 19px; }
.estados { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.estados a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 20px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px -20px rgba(44, 42, 74, .5); text-decoration: none; transition: transform .35s var(--mola), background-color .2s; }
.estados a:hover { transform: translateY(-3px); background: var(--noite); color: #fff; }
.estados b { font: 700 16px/1.2 var(--d); } .estados span { flex: none; min-width: 30px; height: 30px; border-radius: 50%; background: var(--lav-2); color: var(--violeta-2); display: grid; place-items: center; font: 800 13px/1 var(--t); }
.uf-lista { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.uf-lista li { background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--sombra); display: grid; gap: 4px; border-left: 5px solid var(--violeta); }
.uf-lista b { font: 800 18px/1.2 var(--d); } .uf-lista .ar { font-size: 13px; font-weight: 800; color: var(--violeta-2); }
.uf-lista .lo { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--apagado); } .uf-lista .lo svg { width: 15px; height: 15px; color: var(--violeta); }
.nota { color: var(--apagado); font-size: 14px; }
.rodape .dev a { color: var(--claro); font-weight: 800; } .rodape .dev a:hover { color: #fff; }
@media (max-width: 1439px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 0; background: var(--noite); flex-direction: column; justify-content: center; align-items: stretch; gap: 6px; padding: 96px 28px 40px; transform: translateY(-100%); transition: transform .5s var(--suave); z-index: -1; overflow-y: auto; }
  .menu.aberto { transform: none; }
  .menu a:not(.btn) { color: #fff; font: 800 clamp(22px, 6vw, 30px) var(--d); padding: 10px 6px; background: none !important; }
  .menu a:not(.btn):hover, .menu a[aria-current="page"] { color: var(--lima); }
  .menu .btn { margin: 14px 0 0; width: 100%; padding: 16px; }
  .topo .burger { z-index: 2; }
  .topo.menu-aberto .marca img { filter: brightness(0) invert(1); }
}
@media (max-width: 1080px) { .passos.cinco { grid-template-columns: repeat(2, 1fr); } .estados { grid-template-columns: repeat(3, 1fr); } .uf-lista { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .faixa-lip { flex-wrap: wrap; border-radius: 32px; padding: 20px; gap: 14px; }
  .faixa-lip .go { width: 100%; justify-content: center; }
  .estados { grid-template-columns: repeat(2, 1fr); } .estados a { padding: 14px; } .estados b { font-size: 14px; }
  .uf-lista { grid-template-columns: 1fr; } .passos.cinco { grid-template-columns: 1fr; }
}

/* botões flutuantes: idioma e WhatsApp */
.flutuantes { position: fixed; inset: auto 0 0 0; z-index: 120; pointer-events: none; display: flex; justify-content: flex-end; align-items: flex-end; padding: 0 max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.flutuantes > * { pointer-events: auto; }
.fl-lang { position: relative; }
.fl-btn { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; color: var(--noite); font: 800 14px/1 var(--t); letter-spacing: .06em; cursor: pointer; box-shadow: 0 14px 32px -10px rgba(44, 42, 74, .55), 0 0 0 1px rgba(78, 71, 151, .12); transition: transform .35s var(--mola); }
.fl-btn:hover { transform: translateY(-3px); }
.fl-btn svg:first-child { width: 20px; height: 20px; color: var(--violeta-2); }
.fl-btn svg:last-child { width: 10px; height: 10px; transition: transform .3s var(--mola); }
.fl-btn[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.fl-lista { position: absolute; right: 0; bottom: calc(100% + 10px); min-width: 180px; margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: 22px; box-shadow: var(--sombra), 0 0 0 1px rgba(78, 71, 151, .1); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .3s var(--mola), visibility .2s; }
.fl-btn[aria-expanded="true"] + .fl-lista { opacity: 1; visibility: visible; transform: none; }
.fl-lista a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 15px; text-decoration: none; font: 600 15px/1 var(--t); color: var(--noite); }
.fl-lista a:hover, .fl-lista a[aria-current="true"] { background: var(--lav-2); color: var(--violeta-2); }
.fl-lista b { display: inline-grid; place-items: center; width: 32px; height: 26px; border-radius: 9px; background: var(--noite); color: #fff; font: 800 11px/1 var(--t); letter-spacing: .06em; }
@media (max-width: 640px) {
  .fl-btn { height: 48px; padding: 0 14px; }
}
body.modal-aberto .flutuantes, .menu-aberto-body .flutuantes { display: none; }

/* WhatsApp flutuante (aparece quando ativado em ferramentas/config.json) */
.flutuantes { justify-content: space-between; }
.flutuantes:not(:has(.fl-zap)) { justify-content: flex-end; }
.fl-zap { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: #25d366; color: #fff; text-decoration: none; font: 800 15px/1 var(--t); animation: onda 2.8s ease-out infinite; transition: transform .35s var(--mola); }
.fl-zap:hover { transform: translateY(-3px) scale(1.03); }
.fl-zap svg { width: 28px; height: 28px; }
@keyframes onda { 0% { box-shadow: 0 16px 34px -10px rgba(18, 140, 70, .7), 0 0 0 0 rgba(37, 211, 102, .5); } 70%, 100% { box-shadow: 0 16px 34px -10px rgba(18, 140, 70, .7), 0 0 0 20px rgba(37, 211, 102, 0); } }
@media (max-width: 640px) { .fl-zap { width: 56px; padding: 0; justify-content: center; } .fl-zap span { display: none; } }
@media (prefers-reduced-motion: reduce) { .fl-zap { animation: none; } }

/* ===== revisão mobile, rodada 1 ===== */
/* blobs desaparecem antes da borda da seção: sem corte seco entre seções */
.sec::before { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 55%); mask-image: linear-gradient(180deg, transparent 0, #000 55%); }
.sec::after { -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 55%); mask-image: linear-gradient(0deg, transparent 0, #000 55%); }
.docente small { white-space: nowrap; }
.trilho .docente .i { padding: 48px 14px 14px; }
.trilho .docente small { font-size: 9.5px; letter-spacing: .08em; padding: 4px 9px; }
@media (max-width: 900px) {
  .hero-foto .moldura { border-radius: 30px; }
  .hero-foto { margin-bottom: 8px; }
  .dupla .foto-card:nth-child(2) { width: 42%; right: 0; bottom: -4%; }
  .foto-card .dado { max-width: calc(58% - 12px); left: 12px; bottom: 12px; padding: 10px 14px 10px 10px; font-size: 12.5px; }
  .foto-card .dado b { font-size: 15px; }
  .foto-card .dado .ic { width: 34px; height: 34px; flex: none; }
  .dupla { margin-bottom: 26px; }
}

/* revisão mobile, rodada 2 */
.mapa-wrap { background: radial-gradient(closest-side, rgba(185, 168, 240, .2), transparent); }
.selo { line-height: 1.25; }
@media (max-width: 640px) {
  .prof .corpo { padding: 50px 14px 0; }
  .prof .ver { margin: 14px 14px 0; }
  .selo { font-size: 9.5px; letter-spacing: .05em; padding: 5px 8px; }
  .prof h3 { font-size: 16px; }
}

.lip-wrap { margin-top: clamp(48px, 6vw, 80px); }
.sec:has(.lip-wrap) { padding-bottom: clamp(72px, 9vw, 130px); }

/* ===== página "o que é lipedema" ===== */
.pag-cab.com-foto .caixa { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 80px); align-items: center; justify-items: stretch; }
.pag-cab.com-foto .pag-txt { display: grid; gap: 22px; justify-items: start; }
.pag-cab.com-foto h1 { max-width: none; }
.pag-foto .foto-card { max-width: 440px; margin-inline: auto; rotate: 2deg; border: 8px solid #fff; border-radius: 34px; }
.numeros.tres { grid-template-columns: repeat(3, 1fr); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento .card { align-content: start; min-height: 220px; }
.bento .b1 { grid-column: span 3; } .bento .b2 { grid-column: span 3; }
.bento .b3 { grid-column: span 2; } .bento .b4 { grid-column: span 2; } .bento .b5 { grid-column: span 2; }
.bento .b1 h3, .bento .b2 h3 { font-size: clamp(22px, 2.4vw, 30px); }
.cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.cmp > div { background: #fff; border-radius: var(--raio); padding: 30px 28px; box-shadow: var(--sombra); display: grid; gap: 16px; align-content: start; border-top: 6px solid var(--lav-3); }
.cmp > div.foco { background: linear-gradient(160deg, #6034d4, #4e4797); color: #fff; border-top-color: var(--lima); transform: translateY(-10px); }
.cmp h3 { font-size: 26px; }
.cmp ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 15.5px; }
.cmp li { padding-left: 24px; position: relative; color: var(--texto); }
.cmp .foco li { color: #ece8ff; }
.cmp li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--violeta); }
.cmp .foco li::before { background: var(--lima); }
.exames { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.exames li { background: #fff; border: 2px solid var(--lav-3); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 14px; color: var(--violeta-2); }
@media (max-width: 900px) {
  .pag-cab.com-foto .caixa { grid-template-columns: 1fr; }
  .pag-foto { order: -1; } .pag-foto .foto-card { max-width: 300px; margin-inline: 0; }
  .numeros.tres { grid-template-columns: 1fr; gap: 24px; }
  .bento { grid-template-columns: 1fr 1fr; } .bento .card { min-height: 0; grid-column: span 2 !important; }
  .cmp { grid-template-columns: 1fr; } .cmp > div.foco { transform: none; }
}

/* correção iOS/Android: texto com gradiente.
   Dentro dos títulos animados o texto fica em <i> com transform; o Safari não pinta background-clip:text herdado por filhos transformados.
   O gradiente passa a ser aplicado no próprio <i>. */
.pv { -webkit-text-fill-color: transparent; }
.pv .w > i { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .pv, .pv .w > i { background: none; color: var(--violeta-2); -webkit-text-fill-color: currentColor; }
  .escuro .pv, .escuro .pv .w > i, .hero .pv.lima, .hero .pv.lima .w > i { color: var(--lima); }
}

/* correção menu mobile: backdrop-filter (e transform) no cabeçalho cria um bloco de contenção para
   filhos position:fixed, então o menu ficava preso à altura do cabeçalho depois de rolar.
   O desfoque vai para um pseudo-elemento, e o menu usa 100dvh. */
@media (max-width: 1439px) {
  .topo.rolou { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .topo::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: rgba(250, 248, 255, .9); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(78, 71, 151, .2); pointer-events: none; }
  .topo.rolou::before { opacity: 1; }
  .topo.menu-aberto::before { opacity: 0; }
  .menu { height: 100vh; height: 100dvh; width: 100%; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .menu:not(.aberto) { visibility: hidden; transition: transform .5s var(--suave), visibility 0s .5s; }
  .topo.some.menu-aberto { transform: none; }
}

/* Safari (iOS e macOS): sem gradiente no texto, só cor sólida */
.safari .pv, .safari .pv .w > i { background: none !important; -webkit-background-clip: border-box; background-clip: border-box; color: var(--violeta-2); -webkit-text-fill-color: var(--violeta-2); }
.safari .escuro .pv, .safari .escuro .pv .w > i, .safari .hero .pv.lima, .safari .hero .pv.lima .w > i { color: var(--lima); -webkit-text-fill-color: var(--lima); }
@supports (-webkit-touch-callout: none) {
  .pv, .pv .w > i { background: none !important; -webkit-background-clip: border-box; background-clip: border-box; color: var(--violeta-2); -webkit-text-fill-color: var(--violeta-2); }
  .escuro .pv, .escuro .pv .w > i, .hero .pv.lima, .hero .pv.lima .w > i { color: var(--lima); -webkit-text-fill-color: var(--lima); }
}

/* mapa-múndi (países e cidades da rede, com zoom no Brasil) */
.mapa-wrap svg { aspect-ratio: 1000 / 442; }
.mapa-wrap .pais { fill: #3c3974; stroke: #6a64b8; stroke-width: .6; vector-effect: non-scaling-stroke; transition: fill .3s; }
.mapa-wrap .pais.tem { fill: #7468d6; cursor: pointer; }
.mapa-wrap .pais.tem:hover, .mapa-wrap .pais.ativo { fill: #7a6fe0; }
.mapa-wrap .uf { stroke-width: .5; vector-effect: non-scaling-stroke; cursor: pointer; }
.mapa-wrap .uf:not(.tem) { cursor: default; }
.mapa-wrap svg:not(.m-brasil) .uf:not(.tem) { fill: #3c3974; }
.pin .pc { transform: scale(var(--pz, 1)); }
.pin.br-cidade { display: none; }
.m-brasil .pin.br-cidade { display: inline; }
.m-brasil .pin.br-total { display: none; }
.pin.br-total .est { fill: var(--lima); }
.mapa-modo { position: absolute; z-index: 3; top: 6px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(20, 18, 48, .72); backdrop-filter: blur(6px); }
.mapa-modo button { border: 0; cursor: pointer; font: 700 13px/1 var(--t); padding: 9px 16px; border-radius: 999px; background: transparent; color: #d9d6f5; }
.mapa-modo button[aria-pressed="true"] { background: var(--lima); color: var(--noite); }
.mapa-modo button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (min-width: 901px) {
  .grade-mapa { grid-template-columns: 1fr; gap: 22px; }
  .mapa-info { justify-items: center; text-align: center; gap: 16px; }
  .mapa-info .lead { max-width: 64ch; margin: 0; }
  .mapa-info .botoes { justify-content: center; margin-top: 0 !important; }
  .mapa-topo { align-items: flex-start; min-height: auto; padding-top: 104px; }
  .mapa-grande { width: 100%; max-width: 1100px; margin-inline: auto; }
  .mapa-grande .mapa-wrap svg { max-height: calc(100svh - 120px); }
  .mapa-grande .nota-mapa { text-align: center; }
  .mapa-grande .fora-brasil { justify-content: center; }
}
.mapa-wrap svg:not(.m-brasil) .uf.tem { fill: #7468d6; }

/* destaque do Brasil na vista de mundo */
.mapa-wrap svg:not(.m-brasil) .brasil { filter: drop-shadow(0 0 6px rgba(185, 168, 240, .75)); }
.mapa-wrap svg:not(.m-brasil) .uf.tem { stroke: #d9d0ff; stroke-width: .8; }
.pin.br-total .rot-br { font: 800 7px var(--d); fill: #fff; letter-spacing: .14em; text-anchor: middle; paint-order: stroke; stroke: rgba(20,18,48,.8); stroke-width: 2px; pointer-events: none; }
.mapa-prev .stats { margin: 22px 0 6px; }
.mapa-wrap svg { overflow: hidden; border-radius: 24px; }

/* cartão: selo principal ABRALIPRO no lugar do círculo com a inicial; selos de mentoria e filiação menores ao lado */
.selo-main { position: absolute; left: 16px; top: 8px; width: 92px; height: auto; z-index: 1; filter: drop-shadow(0 8px 10px rgba(20, 18, 48, .45)); }
.selos-lado { position: absolute; left: 118px; top: 14px; z-index: 1; display: flex; gap: 8px; }
.selos-lado img { width: 44px; height: auto; filter: drop-shadow(0 4px 6px rgba(20, 18, 48, .4)); }

/* duas fotos na faixa do congresso: centralizadas */
@media (min-width: 700px) { .grade-3:has(> .foto-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; } }

/* Quem somos: credenciais e marcas no hero */
.linha-cred { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-c { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font: 700 14.5px/1.3 var(--t); color: #fff; }
.chip-c i { width: 26px; height: 26px; border-radius: 50%; background: var(--lima); color: var(--noite); display: grid; place-items: center; flex: none; }
.chip-c i svg { width: 15px; height: 15px; }
.marcas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; width: 100%; margin-top: 8px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); }
.marcas img { height: 34px; width: auto; }
.marcas .lwa { height: 38px; }
.marcas .sep { width: 1px; height: 32px; background: rgba(255, 255, 255, .28); }
.marcas .proj { font: 700 13px/1.3 var(--t); color: #d2d0f0; letter-spacing: .02em; }
.marcas .proj a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(185, 168, 240, .7); }
@media (max-width: 600px) { .marcas { gap: 14px; } .marcas .sep { display: none; } .chip-c { font-size: 13.5px; } }
.chip-c .tag-mec { font: 800 10.5px/1 var(--t); font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--lima); color: var(--noite); white-space: nowrap; }

/* hero da home: mapa-múndi ao fundo, definição da ABRALIPRO e três pilares */
.hero-mundo h1 { font-size: clamp(38px, 5.6vw, 84px); }
.hero-mundo .caixa { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-bottom: 70px; }
.hero-mundo .hero-txt { justify-items: center; padding-bottom: 0; }
.hero-mundo .lead { max-width: 680px; }
.hero-mundo .botoes { justify-content: center; }
.hero-mundo::after { display: none; }
.hero-mundo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(closest-side at 50% 45%, rgba(28, 25, 54, .78), rgba(28, 25, 54, .15) 80%); pointer-events: none; }
.hero-mundo .caixa { z-index: 2; }
.mapa-fundo { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1s; pointer-events: none; display: grid; place-items: center; }
.mapa-fundo.v { opacity: .5; }
.mapa-fundo svg { width: min(1250px, 112%); height: auto; }
.mapa-fundo .pais { fill: rgba(185, 168, 240, .16); stroke: rgba(185, 168, 240, .28); stroke-width: .5; }
.mapa-fundo .pais.tem, .mapa-fundo .br { fill: rgba(185, 168, 240, .5); stroke: rgba(255, 255, 255, .55); stroke-width: .6; }
.chip-u { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); font: 700 14px/1.3 var(--t); color: #fff; }
.chip-u i { width: 24px; height: 24px; border-radius: 50%; background: var(--lima); color: var(--noite); display: grid; place-items: center; flex: none; }
.chip-u i svg { width: 14px; height: 14px; }
.chip-u em { font: 800 10.5px/1 var(--t); font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--lima); color: var(--noite); white-space: nowrap; }
.tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 1040px; margin-top: 18px; text-align: left; }
.tres a { display: grid; gap: 8px; align-content: start; padding: 22px 24px; border-radius: 24px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); color: #fff; text-decoration: none; transition: transform .3s var(--mola), background .3s; }
.tres a:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .14); }
.tres .t { display: flex; align-items: center; gap: 12px; font: 800 19px/1.2 var(--d); }
.tres .t i { width: 38px; height: 38px; border-radius: 12px; background: var(--lima); color: var(--noite); display: grid; place-items: center; flex: none; }
.tres .t i svg { width: 20px; height: 20px; }
.tres p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #d2d0f0; }
.tres p b { color: #fff; font-weight: 800; }
.tres .fim { font: 800 13.5px/1 var(--t); color: var(--lima); margin-top: 4px; }
@media (max-width: 800px) { .tres { grid-template-columns: 1fr; } .hero-mundo .caixa { padding-bottom: 50px; } }
/* países com profissionais: mesma borda clara dos estados brasileiros ativos */
.mapa-wrap .pais.tem { stroke: #d9d0ff; stroke-width: .8; }

/* seletor de idioma no menu, com bandeiras */
.lang-top { position: relative; margin-left: 6px; }
.lang-top .bd { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(44, 42, 74, .18); }
.lg-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 9px; border: 0; border-radius: 999px; background: #fff; color: var(--noite); font: 800 13px/1 var(--t); letter-spacing: .04em; cursor: pointer; box-shadow: 0 2px 10px rgba(44, 42, 74, .16); transition: transform .3s var(--mola); }
.lg-btn:hover { transform: translateY(-2px); }
.lg-btn:focus-visible, .lg-lista a:focus-visible { outline: 2px solid var(--violeta-2); outline-offset: 2px; }
.lg-btn svg:last-child { width: 10px; height: 10px; transition: transform .3s var(--mola); }
.lg-btn[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.lg-lista { position: absolute; right: 0; top: calc(100% + 10px); min-width: 176px; margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: 20px; box-shadow: var(--sombra), 0 0 0 1px rgba(44, 42, 74, .06); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--mola), visibility .2s; z-index: 10; }
.lg-btn[aria-expanded="true"] + .lg-lista { opacity: 1; visibility: visible; transform: none; }
.topo .menu .lang-top .lg-lista a { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 14px; color: var(--noite); background: none; font: 600 15px/1 var(--t); white-space: nowrap; text-decoration: none; }
.topo .menu .lang-top .lg-lista a:hover, .topo .menu .lang-top .lg-lista a[aria-current="true"] { background: var(--lav-2); color: var(--violeta-2); }
@media (max-width: 1439px) {
  .lang-top { margin: 14px 0 0; align-self: flex-start; }
  .lg-lista { position: static; display: none; opacity: 1; visibility: visible; transform: none; margin-top: 10px; }
  .lg-btn[aria-expanded="true"] + .lg-lista { display: block; }
}

/* ===== Mapa na estética do mapa da ABRALI (abralipedema.com.br/profissionais) ===== */
.mapa-wrap { background: #110822; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.mapa-wrap svg { border-radius: 0; }
#mapa-svg .pais { fill: rgba(154, 102, 255, .2); stroke: #1a1033; stroke-width: .5; }
#mapa-svg .pais.tem { fill: #4d2c9c; stroke: #9a66ff; stroke-width: 1.5; cursor: pointer; }
#mapa-svg .pais.tem:hover { fill: #6b3ad4; }
#mapa-svg .pais.ativo { fill: #9a66ff; }
#mapa-svg .uf { fill: #2d1d58; stroke: #1a1033; stroke-width: .8; transition: fill .2s; }
#mapa-svg:not(.m-brasil) .uf:not(.tem) { fill: #2d1d58; }
#mapa-svg .uf.tem { fill: #4d2c9c; stroke: #9a66ff; stroke-width: 1.5; }
#mapa-svg .uf.tem:hover { fill: #6b3ad4; }
#mapa-svg .uf.ativo { fill: #9a66ff; }
#mapa-svg:not(.m-brasil) .uf.tem { fill: #4d2c9c; stroke: #9a66ff; stroke-width: 1.5; }
.mapa-wrap svg:not(.m-brasil) .brasil { filter: none; }
#mapa-svg .pin { cursor: pointer; }
#mapa-svg .pin .halo { fill: rgba(223, 244, 62, .35); opacity: 1; transform-box: fill-box; transform-origin: center; animation: pulsa 2.8s ease-out infinite; }
#mapa-svg .pin .anel { fill: rgba(154, 102, 255, .4); }
#mapa-svg .pin .st-prin { fill: #dff43e; stroke: #1a1033; stroke-width: .6; filter: drop-shadow(0 0 5px rgba(223, 244, 62, .9)); transition: transform .3s var(--mola); transform-box: fill-box; transform-origin: center; }
#mapa-svg .pin .st-prin { transform: scale(1.1); }
#mapa-svg .pin .st-prin.gr { transform: scale(1.35); }
#mapa-svg .pin:hover .st-prin, #mapa-svg .pin.ativo .st-prin { transform: scale(1.45); }
#mapa-svg .pin .st-cid { transform: scale(.9); }
#mapa-svg .pin .selo-n { fill: #9a66ff; stroke: #fff; stroke-width: 1; }
#mapa-svg .pin .num-n { font: 900 9px var(--t); fill: #fff; text-anchor: middle; pointer-events: none; }
#mapa-svg .pin .br-halo { fill: rgba(223, 244, 62, .5); }
#mapa-svg .pin .st-cid { fill: #fff; stroke: #9a66ff; stroke-width: .5; filter: drop-shadow(0 0 3px rgba(255, 255, 255, .8)); transition: transform .3s var(--mola); transform-box: fill-box; transform-origin: center; }
#mapa-svg .pin.br-cidade:hover .st-cid, #mapa-svg .pin.br-cidade.ativo .st-cid { transform: scale(1.6); fill: #dff43e; }
#mapa-svg .pin .rot-br { font: 800 8px var(--d); fill: #fff; letter-spacing: .14em; text-anchor: middle; paint-order: stroke; stroke: #110822; stroke-width: 2.5px; pointer-events: none; }
#mapa-svg .pin.br-cidade, #mapa-svg .pin.br-estado { display: none; }
#mapa-svg.m-brasil .pin.br-cidade, #mapa-svg.m-brasil .pin.br-estado { display: inline; }
#mapa-svg.m-brasil .pin.br-total { display: none; }
.mapa-modo { background: rgba(26, 16, 51, .85); border: 1px solid rgba(154, 102, 255, .35); }
.mapa-modo button { color: #cfc2ff; }
.mapa-modo button[aria-pressed="true"] { background: #9a66ff; color: #fff; }

/* Brasil "flutuando" no centro do mapa; só a escala muda entre Brasil e Mundo */
#mapa-svg .grupo-br .pin .pc { transform: scale(var(--pzb, 1)); }
#mapa-svg.m-brasil .pin.sob-br { display: none; }
#mapa-svg .grupo-br { filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .55)); }
#mapa-svg:not(.m-brasil) .grupo-br { filter: none; }

/* fundo do mapa: mundo escurecido por um véu preto; o Brasil grande se encaixa sobre o Brasil de fundo */
#mapa-svg .veu { fill: #000; opacity: .3; pointer-events: none; transition: opacity .7s; }
#mapa-svg.m-brasil .veu { opacity: .6; }

/* ===== o mapa ocupa a seção toda (sem caixa); textos e botões ficam por cima ===== */
.mapa-topo, #mapa { background: #110822; }
.mapa-topo .estrelas, #mapa .estrelas { display: none; }
.mapa-wrap { background: none; border-radius: 0; box-shadow: none; overflow: visible; }
.mapa-wrap svg, #mapa-svg { overflow: visible; border-radius: 0; }
.mapa-wrap svg { position: relative; z-index: 1; }
.mapa-info, .mapa-prev .texto-bloco, .nota-mapa, .fora-brasil { position: relative; z-index: 3; }
.mapa-modo { z-index: 4; }
/* página do mapa: o desenho sai da caixa, ocupa a largura toda e sobe um pouco para ficar por baixo do texto */
.mapa-grande { position: static; }
.mapa-grande .mapa-wrap { position: relative; left: 50%; transform: translateX(-50%); width: min(100vw, 1560px); margin-top: -70px; }
.mapa-grande .mapa-wrap svg { max-height: none; }
.mapa-grande .mapa-modo { top: 80px; }
/* home: o mapa é o fundo da seção; o texto fica por cima, à esquerda */
#mapa { position: relative; overflow: hidden; min-height: min(760px, 100svh); display: flex; align-items: center; }
#mapa .mapa-prev { position: static; width: min(100% - var(--gut) * 2, var(--caixa)); margin-inline: auto; }
#mapa .mapa-prev > .mapa-col { position: static; }
#mapa .mapa-wrap { position: absolute; inset: 0; width: auto; margin: 0; transform: none; left: 0; z-index: 1; }
#mapa .mapa-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto !important; }
#mapa .mapa-modo { top: 14px; }
#mapa .fora-brasil { margin-top: 18px; }
@media (max-width: 900px) {
  #mapa { display: block; padding-bottom: 30px; }
  #mapa .mapa-wrap { position: relative; inset: auto; height: auto; margin-top: 18px; }
  #mapa .mapa-wrap svg { position: relative; height: auto; aspect-ratio: 1000 / 442 !important; }
  .mapa-grande .mapa-wrap { margin-top: -30px; }
}
@media (min-width: 901px) {
  #mapa { min-height: min(820px, 100svh); padding-bottom: 150px; align-items: flex-start; padding-top: 110px; }
  #mapa .mapa-wrap { left: 36%; right: 0; bottom: 150px; top: 0; }
  #mapa .mapa-prev { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  #mapa .mapa-prev > .mapa-col { align-self: end; grid-column: 2; }
  #mapa .mapa-modo { top: 100px; }
  #mapa .fora-brasil { position: absolute; left: 0; right: 0; bottom: 22px; padding-inline: var(--gut); justify-content: center; margin: 0; }
}
#mapa-svg:not(.m-brasil) .br-fundo, #mapa-svg:not(.m-brasil) .grupo-br .uf { cursor: pointer; }
/* Quem somos: parágrafos de abertura */
.sobre-cab .lead + .lead { margin-top: -6px; }
.sobre-cab .hero-fim { font-weight: 700; color: #fff; }
.tempo li p { max-width: 62ch; }

/* home, "Quem somos": texto longo composto para equilibrar com as fotos */
.sobre-home .duas { align-items: start; }
.sobre-home .dupla { position: sticky; top: 110px; }
.sobre-home h2 { font-size: clamp(30px, 3.5vw, 50px); }
.sobre-home .texto-bloco { gap: 16px; }
.sobre-home .texto-bloco p { font-size: 16.5px; line-height: 1.62; max-width: 600px; }
.sobre-home .texto-bloco p.lead { font-size: 19px; line-height: 1.5; color: var(--noite); font-weight: 500; }
.sobre-home .pontos { display: grid; gap: 12px; width: 100%; max-width: 600px; margin-top: 4px; }
.sobre-home .ponto { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 20px; background: #fff; box-shadow: var(--sombra); }
.sobre-home .ponto .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--lav-2); color: var(--violeta-2); display: grid; place-items: center; }
.sobre-home .ponto .ico svg { width: 22px; height: 22px; }
.sobre-home .ponto p { font-size: 15px; line-height: 1.55; }
.sobre-home .citacao { font-size: 19px; max-width: 600px; }
@media (max-width: 900px) { .sobre-home .dupla { position: relative; top: auto; } }
@media (min-width: 901px) {
  .sobre-home .duas { grid-template-columns: .9fr 1.1fr; }
  .sobre-home .texto-bloco p, .sobre-home .pontos, .sobre-home .citacao { max-width: 660px; }
}
@media (min-width: 901px) {
  .sobre-home .foto-card.alta { aspect-ratio: 4 / 5.3; }
  .sobre-home .texto-bloco { gap: 13px; }
  .sobre-home .texto-bloco p { font-size: 16px; line-height: 1.58; }
  .sobre-home .texto-bloco p.lead { font-size: 18px; }
  .sobre-home .ponto { padding: 13px 16px; }
  .sobre-home .ponto p { font-size: 14.5px; line-height: 1.5; }
  .sobre-home .citacao { font-size: 18px; }
}

/* home, "Nossa história": texto + jornada Vivência → ABRALI → ABRALIPRO */
.hist .duas { align-items: center; grid-template-columns: 1.1fr .9fr; }
.hist h2 { font-size: clamp(30px, 3.6vw, 52px); }
.hist .texto-bloco { gap: 15px; }
.hist .texto-bloco p { font-size: 16.5px; line-height: 1.62; max-width: 640px; }
.jornada { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 440px; width: 100%; justify-self: center; }
.jornada li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 24px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.jornada li:not(:last-child) { margin-bottom: 30px; }
.jornada li:not(:last-child)::after { content: ""; position: absolute; left: 49px; top: 100%; width: 2px; height: 30px; background: linear-gradient(var(--lima), rgba(185, 168, 240, .15)); }
.jornada .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--lima); color: var(--noite); display: grid; place-items: center; }
.jornada .ic svg { width: 26px; height: 26px; }
.jornada .tx { display: grid; gap: 3px; font-size: 14.5px; color: #d2d0f0; line-height: 1.35; }
.jornada .tx b { font: 800 21px/1.2 var(--d); color: #fff; }
.hist-fecho { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 860px; text-align: center; font: 700 clamp(21px, 2.5vw, 31px)/1.3 var(--d); letter-spacing: -.015em; color: #fff; }
.hist-fecho::before { content: "✦"; display: block; margin-bottom: 12px; color: var(--lima); font-size: 22px; }
@media (max-width: 900px) { .hist .duas { grid-template-columns: 1fr; } .jornada { max-width: none; } }

/* "Nossa história" na horizontal: título + texto em duas colunas, jornada em linha, fecho */
.hist .hist-topo { display: grid; gap: 22px; }
.hist .hist-txt { columns: 2; column-gap: clamp(32px, 5vw, 72px); }
.hist .hist-txt p { margin: 0 0 15px; break-inside: avoid; color: #d2d0f0; font-size: 16.5px; line-height: 1.62; }
.hist .jornada { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; max-width: none; margin-top: clamp(36px, 4.5vw, 56px); }
.hist .jornada li { padding: 22px 24px; }
.hist .jornada li:not(:last-child) { margin-bottom: 0; }
.hist .jornada li:not(:last-child)::after { left: 100%; top: 50%; width: 56px; height: 2px; background: linear-gradient(90deg, var(--lima), rgba(185, 168, 240, .2)); }
.hist .jornada li:not(:last-child)::before { content: ""; position: absolute; left: calc(100% + 44px); top: calc(50% - 5px); width: 10px; height: 10px; border-top: 2px solid var(--lima); border-right: 2px solid var(--lima); transform: rotate(45deg); opacity: .8; }
@media (max-width: 900px) {
  .hist .hist-txt { columns: 1; }
  .hist .jornada { grid-template-columns: 1fr; gap: 30px; }
  .hist .jornada li:not(:last-child)::after { left: 49px; top: 100%; width: 2px; height: 30px; background: linear-gradient(var(--lima), rgba(185, 168, 240, .15)); }
  .hist .jornada li:not(:last-child)::before { left: 44px; top: calc(100% + 20px); transform: rotate(135deg); }
}

/* "Nossa história": os três convivem juntos (um só bloco dividido em três, sem setas) */
.hist .jornada { gap: 0; border-radius: 28px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); overflow: hidden; }
.hist .jornada li, .hist .jornada li:not(:last-child) { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; padding: 30px 24px; border: 0; border-radius: 0; background: none; backdrop-filter: none; margin: 0; }
.hist .jornada li:not(:last-child)::before { display: none; }
.hist .jornada li:not(:last-child)::after { content: ""; position: absolute; left: 100%; top: 18%; width: 1px; height: 64%; background: rgba(255, 255, 255, .2); }
.hist .jornada .tx { justify-items: center; }
@media (max-width: 900px) {
  .hist .jornada li:not(:last-child)::after { left: 12%; top: 100%; width: 76%; height: 1px; }
}

/* "Nossa história": fundo vivo e discreto (estrelas girando + constelação) */
.hist { isolation: isolate; }
.hist .caixa { position: relative; z-index: 2; }
.hist-fundo { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hf-star { position: absolute; line-height: 1; color: rgba(185, 168, 240, .15); animation: gira 110s linear infinite; }
.hf-star.a { right: -7%; top: 4%; font-size: min(36vw, 480px); }
.hf-star.b { left: -9%; bottom: -16%; font-size: min(24vw, 320px); color: rgba(185, 168, 240, .07); animation-duration: 150s; animation-direction: reverse; }
.hist-fundo svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hf-linha { fill: none; stroke: rgba(185, 168, 240, .4); stroke-width: 1.2; stroke-dasharray: 3 9; vector-effect: non-scaling-stroke; animation: hf-fluxo 40s linear infinite; }
.hf-linha.l2 { stroke: rgba(185, 168, 240, .18); animation-duration: 60s; animation-direction: reverse; }
.hf-pontos circle { fill: #d9d0ff; opacity: .5; animation: hf-brilho 5s ease-in-out infinite; }
.hf-pontos circle:nth-child(2n) { animation-delay: -1.7s; } .hf-pontos circle:nth-child(3n) { animation-delay: -3.2s; }
@keyframes hf-fluxo { to { stroke-dashoffset: -240; } }
@keyframes hf-brilho { 50% { opacity: .12; } }
@media (prefers-reduced-motion: reduce) { .hf-star, .hf-linha, .hf-pontos circle { animation: none; } }

/* Quem somos (home): fotos da instituição; retrato da Dra. Paula passa para "Nossa história" */
.sobre-home .dupla > .foto-card:first-child { aspect-ratio: 5 / 4.6; }
.sobre-home .dupla > .foto-card:first-child img { width: 100%; height: 100%; object-fit: cover; }
.sobre-home .dupla > .foto-card:nth-child(2) { aspect-ratio: 4 / 5; }
.hist .hist-topo { grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hist .hist-corpo { display: grid; gap: 22px; }
.hist .hist-txt { columns: 1; }
.hist .hist-txt p { margin: 0 0 14px; }
.hist .hist-foto { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.hist .hist-foto .foto-card { rotate: -2deg; }
.hist .hist-foto .dado { left: -18px; bottom: 28px; }
@media (max-width: 900px) { .hist .hist-topo { grid-template-columns: 1fr; } .hist .hist-foto { max-width: 360px; } }
.sobre-home .dupla > .foto-card:first-child { aspect-ratio: 1 / 1.12; }
.sobre-home .dupla > .foto-card:first-child img { object-position: 46% 30%; }
.sobre-home .dupla .dado { left: 16px; top: 16px; bottom: auto; right: auto; max-width: calc(100% - 32px); }
.sobre-home .dupla > .foto-card:nth-child(2) { width: 44%; right: -3%; bottom: -6%; }

/* "Quem somos" (home): uma foto só, com o selo de certificação logo abaixo */
.sobre-home .dupla > .foto-card:first-child { aspect-ratio: 1 / 1.2; }
.sobre-home .selo-cert { display: flex; align-items: center; gap: 14px; margin: 18px 0 0 auto; width: fit-content; max-width: 100%; padding: 14px 22px 14px 14px; border-radius: 22px; background: #fff; box-shadow: var(--sombra); font-size: 14px; line-height: 1.3; color: var(--noite); position: relative; z-index: 1; }
.sobre-home .selo-cert b { display: block; font: 800 18px/1.15 var(--d); }
.sobre-home .selo-cert .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--lav-2); color: var(--violeta-2); display: grid; place-items: center; flex: none; }
.sobre-home .selo-cert .ic svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .sobre-home .selo-cert { margin-inline: auto; } }
.sobre-home .dupla > .foto-card:first-child { rotate: 0deg; }
.sobre-home .selo-cert { margin: 18px 0 0 0; }
@media (max-width: 900px) { .sobre-home .selo-cert { margin-inline: 0; } }

/* "Quem somos" (home): frase de fecho centralizada, acima da faixa "Primeira vez aqui?" */
.sobre-fecho { margin: clamp(36px, 5vw, 64px) auto clamp(28px, 3.5vw, 44px); max-width: 820px; text-align: center; font: 700 clamp(21px, 2.4vw, 30px)/1.3 var(--d); letter-spacing: -.015em; color: var(--noite); }
.sobre-fecho::before { content: "✦"; display: block; margin-bottom: 10px; color: var(--violeta-2); font-size: 20px; }
/* "Nossa história": retrato novo, mais alto, reto */
.hist .hist-foto { max-width: 460px; }
.hist .hist-foto .foto-card { aspect-ratio: 3 / 4; rotate: 0deg; background: #f1eefb; }
.hist .hist-foto .foto-card img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 901px) {
  .hist .hist-topo { grid-template-columns: .9fr 1.1fr; }
  .hist .hist-foto { max-width: 480px; }
  .hist .hist-foto .foto-card { aspect-ratio: 3 / 4.3; }
  .hist .hist-foto .foto-card img { object-position: 50% 12%; }
}
/* retrato da Dra. Paula: ela estava deslocada para a direita no enquadramento original; recentralizada */
.hist .hist-foto .foto-card img { transform: none; }

/* home, "Nossa jornada": linha do tempo vertical, cartões alternados em volta de uma linha central */
.jornada-sec { background: linear-gradient(180deg, var(--lav) 0%, #fff 100%); }
.ltempo { position: relative; list-style: none; margin: clamp(36px, 5vw, 64px) auto 0; padding: 0; max-width: 1040px; display: grid; gap: 30px; }
.ltempo::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 3px; margin-left: -1.5px; border-radius: 3px; background: linear-gradient(180deg, var(--violeta-2), var(--lima) 55%, rgba(185, 168, 240, .25)); }
.ltempo li { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 76px; align-items: start; }
.ltempo li.esq .cartao { grid-column: 1; }
.ltempo li.dir .cartao { grid-column: 2; }
.ltempo .no { position: absolute; left: 50%; top: 18px; translate: -50% 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--violeta-2); box-shadow: 0 0 0 5px var(--lav), 0 10px 22px -8px rgba(78, 71, 151, .5); border: 2px solid var(--violeta-2); z-index: 2; }
.ltempo .no svg { width: 24px; height: 24px; }
.ltempo .cartao { position: relative; padding: 22px 26px 24px; border-radius: 24px; background: #fff; box-shadow: var(--sombra); border: 1px solid var(--lav-3); }
.ltempo li.esq .cartao::after, .ltempo li.dir .cartao::after { content: ""; position: absolute; top: 43px; width: 52px; height: 2px; background: linear-gradient(90deg, var(--lav-3), var(--violeta-2)); }
.ltempo li.esq .cartao::after { right: -52px; }
.ltempo li.dir .cartao::after { left: -52px; transform: scaleX(-1); }
.ltempo .ano { display: inline-block; font: 800 12px/1 var(--t); letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--lav-2); color: var(--violeta-2); }
.ltempo h3 { margin: 12px 0 8px; font: 800 clamp(18px, 1.7vw, 22px)/1.2 var(--d); letter-spacing: -.01em; color: var(--noite); }
.ltempo p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--texto); }
.ltempo li.destaque .cartao { background: linear-gradient(150deg, #2c2a4a, #4e4797); border-color: transparent; }
.ltempo li.destaque h3 { color: #fff; } .ltempo li.destaque p { color: #d9d6f6; } .ltempo li.destaque .ano { background: var(--lima); color: var(--noite); }
.ltempo li.destaque .no { background: var(--violeta-2); color: #fff; border-color: #fff; }
.ltempo li.previsto .cartao { border-style: dashed; border-color: var(--violeta-2); background: rgba(255, 255, 255, .6); box-shadow: none; }
.ltempo li.previsto .no { border-style: dashed; }
.tl-fim { max-width: 760px; margin: clamp(40px, 5vw, 64px) auto 0; text-align: center; font-size: 17px; line-height: 1.65; color: var(--texto); }
.tl-ass { margin: 18px auto 0; text-align: center; font: 800 clamp(20px, 2.2vw, 28px)/1.3 var(--d); letter-spacing: -.015em; color: var(--noite); max-width: 820px; }
.tl-ass::before { content: "✦"; display: block; margin-bottom: 8px; color: var(--violeta-2); font-size: 20px; }
@media (max-width: 900px) {
  .ltempo::before { left: 26px; }
  .ltempo li { grid-template-columns: 1fr; padding-left: 70px; }
  .ltempo li.esq .cartao, .ltempo li.dir .cartao { grid-column: 1; }
  .ltempo .no { left: 26px; width: 46px; height: 46px; top: 14px; }
  .ltempo li.esq .cartao::after, .ltempo li.dir .cartao::after { left: -44px; right: auto; top: 36px; width: 44px; transform: scaleX(-1); }
}
.tl-marca { display: flex; align-items: center; justify-content: center; gap: 22px; margin: clamp(30px, 4vw, 48px) auto 0; flex-wrap: wrap; }
.tl-marca img { height: 30px; width: auto; }
.tl-marca img:last-child { height: 38px; }
.tl-marca span { font: 800 28px/1 var(--d); color: var(--violeta-2); }
.tl-marca + .tl-ass { margin-top: 14px; }
.tl-marca + .tl-ass::before { display: none; }
/* "Nossa história": selo da foto dentro do cartão (antes saía pela borda e era cortado) */
.hist .hist-foto .dado { left: 16px; right: auto; bottom: 18px; max-width: calc(100% - 32px); }
/* o mapa só aparece quando já está desenhado na escala certa (sem "pulo" na primeira pintura) */
#mapa-svg { opacity: 0; transition: opacity .6s ease; }
#mapa-svg.pronto { opacity: 1; }
/* ABRALI e ABRALIPRO sempre em negrito */
.marca-n { font-weight: 800; }
/* hero da home: fundo mais escuro para o mapa-múndi se destacar */
.hero.escuro.hero-mundo { background: radial-gradient(900px 560px at 82% 18%, rgba(185, 168, 240, .2), transparent 60%), radial-gradient(700px 520px at 0% 100%, rgba(96, 52, 212, .38), transparent 60%), linear-gradient(155deg, #17142e 0%, #231f45 55%, #342f6a 100%); }
.hero-mundo .mapa-fundo.v { opacity: .62; }
.hero-mundo .mapa-fundo .pais { fill: rgba(185, 168, 240, .2); stroke: rgba(185, 168, 240, .34); }
.hero-mundo::before { background: radial-gradient(closest-side at 50% 45%, rgba(23, 20, 46, .5), rgba(23, 20, 46, .08) 80%); }
.hero-mundo .mapa-fundo.v { opacity: .75; }

/* ===== Departamento científico (começo da proposta B + corpo da proposta C) ===== */
.ci-topo { position: relative; overflow: hidden; padding: 130px 0 70px; background: radial-gradient(900px 500px at 80% 0%, rgba(96, 52, 212, .35), transparent 60%), linear-gradient(170deg, #17142e, #231f45 60%, #2c2a4a); color: #fff; }
.ci-topo .caixa { position: relative; z-index: 1; }
.ci-hero { display: grid; gap: 16px; max-width: 900px; padding: 22px 0 34px; }
.ci-hero h1 { font-size: clamp(38px, 5.4vw, 76px); color: #fff; }
.ci-hero p { margin: 0; color: #d2d0f0; max-width: 720px; }
.ci-lwa { border-radius: 28px; padding: clamp(22px, 2.6vw, 38px); background: linear-gradient(150deg, rgba(96, 52, 212, .55), rgba(78, 71, 151, .35)); border: 1px solid rgba(255, 255, 255, .16); }
.ci-lwa p { margin: 0 0 12px; color: #d2d0f0; font-size: 15.5px; line-height: 1.62; }
.ci-lwa .cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(22px, 3vw, 40px); align-items: center; }
.ci-num { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ci-num div { padding: 18px 14px; border-radius: 20px; background: rgba(20, 18, 48, .5); text-align: center; }
.ci-num b { display: block; font: 800 clamp(34px, 4vw, 56px)/1 var(--d); color: var(--lima); letter-spacing: -.03em; }
.ci-num span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; color: #d2d0f0; }
.ci-lav { background: var(--lav-2); }
.ci-pipe { list-style: none; margin: clamp(30px, 4vw, 50px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: ci; }
.ci-pipe li { position: relative; padding: 0 clamp(14px, 2vw, 28px); text-align: center; }
.ci-pipe li::before { counter-increment: ci; content: counter(ci); display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--violeta-2); color: #fff; font: 800 22px var(--d); box-shadow: 0 0 0 7px var(--lav-2); position: relative; z-index: 2; }
.ci-pipe li:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 3px; background: linear-gradient(90deg, var(--violeta-2), var(--lima)); z-index: 1; }
.ci-pipe p { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--texto); }
.ci-duas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); }
.ci-duas h2 { font-size: clamp(24px, 2.6vw, 36px); margin-bottom: 16px; }
.ci-duas p { margin: 0 0 14px; line-height: 1.65; color: var(--texto); }
.ci-lanes { display: grid; gap: 12px; max-width: 900px; margin: 34px auto 0; }
.ci-lane { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: center; padding: 18px 22px; border-radius: 22px; background: #fff; box-shadow: var(--sombra); }
.ci-lane .ic { width: 54px; height: 54px; border-radius: 16px; background: var(--lav-2); color: var(--violeta-2); display: grid; place-items: center; }
.ci-lane .ic svg { width: 26px; height: 26px; }
.ci-lane b { display: block; font: 800 19px/1.2 var(--d); color: var(--noite); }
.ci-lane small { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: var(--texto); }
.ci-lane small::first-letter { text-transform: uppercase; }
.ci-part { max-width: 860px; margin: 0 auto; padding: clamp(28px, 4vw, 52px); border-radius: 32px; background: linear-gradient(150deg, #2c2a4a, #4e4797); text-align: center; }
.ci-part h2 { color: #fff; margin-bottom: 14px; }
.ci-part p { margin: 12px 0 0; color: #dcd9f7; line-height: 1.65; }
.ci-part .aviso { padding-top: 16px; margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 14.5px; color: #d2d0f0; }
.ci-part .comp { color: #fff; font-weight: 700; }
.ci-cg { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(26px, 4vw, 64px); align-items: start; margin-top: clamp(28px, 4vw, 44px); }
.ci-cg .grande { position: sticky; top: 100px; padding: 34px 26px; border-radius: 30px; background: linear-gradient(150deg, var(--violeta-2), #4e4797); text-align: center; color: #fff; }
.ci-cg .grande b { display: block; font: 800 clamp(80px, 10vw, 140px)/.9 var(--d); letter-spacing: -.05em; color: #fff; }
.ci-cg .grande span { display: block; margin-top: 8px; font-size: 16px; color: #ebe8fb; }
.ci-cg p { margin: 0 0 14px; line-height: 1.65; color: var(--texto); }
.ci-cg h3 { margin: 24px 0 10px; font-size: clamp(20px, 2vw, 26px); }
.ci-slogan { background: #fff; text-align: center; }
.ci-slogan .caixa { display: grid; justify-items: center; gap: 18px; }
.ci-slogan img { height: clamp(40px, 5vw, 62px); width: auto; }
.ci-slogan p { margin: 0; max-width: 780px; font: 800 clamp(22px, 2.8vw, 36px)/1.3 var(--d); letter-spacing: -.02em; color: var(--noite); }
.ci-slogan p::before { content: "✦"; display: block; margin-bottom: 10px; color: var(--violeta-2); font-size: 20px; }
@media (max-width: 900px) {
  .ci-lwa .cols, .ci-duas, .ci-cg { grid-template-columns: 1fr; }
  .ci-pipe { grid-template-columns: 1fr; gap: 30px; }
  .ci-pipe li:not(:last-child)::after { display: none; }
  .ci-cg .grande { position: static; }
}

/* Departamento científico: ajustes para ficar igual à proposta D (4 passos, rótulos, "em breve", galeria e fecho escuro com logo) */
.ci-hero { max-width: none; }
.ci-hero .rot, .ci-lwa .rot, .ci-duas .rot, .ci-part .rot { justify-self: start; }
.ci-lwa .rot { background: rgba(185, 168, 240, .2); color: var(--claro); margin-bottom: 14px; }
.ci-lwa h2 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 16px; }
.ci-pipe { grid-template-columns: repeat(4, 1fr); }
.ci-pipe h3 { font-size: 19px; margin-bottom: 8px; color: var(--noite); }
.ci-pipe p { font-size: 14.5px; line-height: 1.55; }
.ci-duas h2 { margin-top: 12px; }
.ci-lane { grid-template-columns: 54px 1fr auto; }
.ci-lane em { font: 800 11px/1 var(--t); font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--lav-2); color: var(--violeta-2); }
.ci-part .rot { background: rgba(185, 168, 240, .2); color: #d9d0ff; justify-self: center; margin-bottom: 14px; }
.ci-cg .grande small { display: block; margin-top: 12px; font-size: 14px; line-height: 1.5; color: #e6e3fa; }
.ci-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.ci-gal div { aspect-ratio: 4 / 3; border-radius: 20px; background: var(--lav-2); border: 1px dashed var(--violeta-2); display: grid; place-items: center; color: var(--violeta-2); font: 600 14px var(--t); text-align: center; padding: 10px; }
.ci-slogan { background: var(--noite); color: #fff; }
.ci-slogan p { color: #fff; }
.ci-slogan p::before { color: var(--lima); }
.ci-slogan img { height: clamp(38px, 4.6vw, 58px); }
@media (max-width: 900px) { .ci-pipe { grid-template-columns: 1fr 1fr; gap: 28px 0; } .ci-lane { grid-template-columns: 44px 1fr; } .ci-lane em { display: none; } .ci-gal { grid-template-columns: 1fr; } }
/* o cartão "12" acompanha a rolagem: o overflow:hidden da seção impedia o sticky; clip corta igual sem criar área de rolagem */
.ci-lav { overflow: clip; }
.ci-cg { align-items: start; }
.ci-cg .grande { align-self: start; }

/* Departamento científico: mapa-múndi de fundo no topo, faixa com fundo fixo e fotos de Roma */
.ci-topo .mapa-fundo { z-index: 0; }
.ci-topo .mapa-fundo.v { opacity: .55; }
.ci-topo .estrelas { z-index: 0; }
.ci-faixa { position: relative; padding: clamp(64px, 8vw, 120px) 0; color: #fff; background: linear-gradient(180deg, rgba(23, 20, 46, .88), rgba(44, 42, 74, .8)), url(../img/aula-4.webp) center 30% / cover fixed; }
.ci-fx { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 48px); text-align: center; }
.ci-fx b { display: block; font: 800 clamp(48px, 7vw, 104px)/1 var(--d); letter-spacing: -.04em; color: var(--lima); text-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.ci-fx span { display: block; margin-top: 10px; font: 700 clamp(14px, 1.5vw, 18px)/1.3 var(--t); color: #ece9fb; }
.ci-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.ci-fotos figure { margin: 0; border-radius: 22px; overflow: hidden; background: var(--lav-2); box-shadow: var(--sombra); }
.ci-fotos figure.larga { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.ci-fotos figure:not(.larga) { aspect-ratio: 4 / 5; }
.ci-fotos img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--suave); }
.ci-fotos figure:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .ci-faixa { background-attachment: scroll; } .ci-fx { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ci-fotos img { transition: none; } .ci-faixa { background-attachment: scroll; } }

/* home, "Quem somos": vídeo institucional no lugar da foto */
.sobre-video .sv-cab { display: grid; justify-items: center; text-align: center; gap: 14px; max-width: 900px; margin: 0 auto clamp(26px, 3.4vw, 40px); }
.sv-midia { max-width: 1040px; margin: 0 auto; }
.sv-player { position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: #1a1730; box-shadow: var(--sombra); aspect-ratio: 16 / 9; }
.sv-player video { display: block; width: 100%; height: 100%; object-fit: cover; background: #1a1730; }
.sv-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; border: 0; cursor: pointer; color: #fff; font: 800 15px/1 var(--t); letter-spacing: .06em; text-transform: uppercase; background: linear-gradient(180deg, rgba(23, 20, 46, .1), rgba(23, 20, 46, .55)); transition: background .3s; }
.sv-play:hover { background: linear-gradient(180deg, rgba(23, 20, 46, .05), rgba(23, 20, 46, .45)); }
.sv-play svg { width: 88px; height: 88px; padding: 22px 18px 22px 26px; border-radius: 50%; background: var(--lima); color: var(--noite); box-shadow: 0 0 0 12px rgba(185, 168, 240, .28); transition: transform .3s var(--mola); }
.sv-play:hover svg { transform: scale(1.08); }
.sv-play:focus-visible { outline: 3px solid var(--lima); outline-offset: -6px; }
.sv-player.tocando .sv-play, .sv-player.tocando .selo-cert { display: none; }
.sobre-home .sv-player .selo-cert { position: absolute; left: 18px; top: 18px; margin: 0; z-index: 2; }
.sv-texto { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 4vw, 60px); max-width: 1040px; margin: clamp(30px, 4vw, 48px) auto 0; align-items: start; }
.sv-col { display: grid; gap: 14px; justify-items: start; }
.sv-col p { margin: 0; max-width: 600px; }
.sobre-video .pontos { margin-top: 0; }
@media (max-width: 900px) { .sv-texto { grid-template-columns: 1fr; } .sv-play svg { width: 68px; height: 68px; padding: 17px 14px 17px 20px; } .sobre-home .sv-player .selo-cert { left: 12px; top: 12px; } }

/* cartões de profissional: um só degradê, sem variações de cor (e sem verde) */
.prof.c1, .prof.c2, .prof.c3, .prof.c4, .prof.c5 { --c1: #6034d4; --c2: #4e4797; }

/* botão "voltar ao topo" */
.voltar-topo { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 110; width: 52px; height: 52px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: linear-gradient(140deg, var(--violeta-2), var(--violeta)); box-shadow: 0 14px 30px -10px rgba(44, 42, 74, .65), 0 0 0 1px rgba(255, 255, 255, .25) inset; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9); transition: opacity .3s, transform .35s var(--mola), visibility .3s; }
.voltar-topo.v { opacity: 1; visibility: visible; transform: none; }
.voltar-topo:hover { transform: translateY(-3px); background: linear-gradient(140deg, #7a52e6, var(--violeta-2)); }
.voltar-topo:focus-visible { outline: 3px solid var(--lima); outline-offset: 3px; }
.voltar-topo svg { width: 22px; height: 22px; }
body.modal-aberto .voltar-topo, .menu-aberto-body .voltar-topo { display: none; }
@media (max-width: 600px) { .voltar-topo { width: 46px; height: 46px; right: 14px; bottom: 14px; } }
@media (prefers-reduced-motion: reduce) { .voltar-topo { transition: opacity .2s; } }
/* Quem somos: título menor para acompanhar a altura da foto ao lado */
.pag-cab.sobre-cab h1 { font-size: clamp(32px, 3.9vw, 56px); line-height: 1.08; }
.sobre-cab .pag-foto .foto-card { max-width: 500px; }
@media (max-width: 900px) { .sobre-cab .pag-foto .foto-card { max-width: 300px; } }

/* espaço reservado para imagem a trocar (temporário) */

.ci-slogan { padding: clamp(56px, 7vw, 96px) 0; }

/* save the date (próximo congresso mundial): marcador discreto no mapa */
#mapa-svg .pais.ev { fill: rgba(255, 143, 200, .22); cursor: pointer; }
#mapa-svg .pais.ev:hover { fill: rgba(255, 143, 200, .4); }
#mapa-svg .pin.evento { cursor: pointer; }
#mapa-svg .pin.evento .ev-bolha { fill: #ff6fb1; stroke: #fff; stroke-width: 1.2; transition: transform .25s var(--mola); transform-box: fill-box; transform-origin: center; }
#mapa-svg .pin.evento:hover .ev-bolha { transform: scale(1.18); }
#mapa-svg .pin.evento .ev-ico { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
#mapa-svg .pin.evento .rot-ev { font: 800 7px var(--d); fill: #fff; letter-spacing: .14em; text-anchor: end; paint-order: stroke; stroke: #110822; stroke-width: 2.4px; pointer-events: none; }
#mapa-svg.m-brasil .pin.evento { display: inline; }
@media (max-width: 600px) { #mapa-svg .pin.evento .rot-ev { font-size: 5.6px; stroke-width: 2px; } }

/* save the date na página do departamento científico: botão flutuante à esquerda */
.fl-save { position: fixed; left: max(18px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 105; display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; color: var(--noite); text-decoration: none; box-shadow: 0 12px 28px -12px rgba(44, 42, 74, .55), 0 0 0 1px rgba(44, 42, 74, .1); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .35s var(--mola), visibility .3s; }
.fl-save.v { opacity: 1; visibility: visible; transform: none; }
.fl-save:hover { transform: translateY(-3px); }
.fl-save:focus-visible { outline: 3px solid var(--violeta-2); outline-offset: 3px; }
.fl-save .ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #ff6fb1; color: #fff; }
.fl-save .ic svg { width: 20px; height: 20px; }
.fl-save .tx { display: grid; gap: 2px; line-height: 1.15; }
.fl-save b { font: 800 11px/1.1 var(--t); letter-spacing: .14em; text-transform: uppercase; color: #d6338a; }
.fl-save span.d { font: 600 13px/1.2 var(--t); }
body.modal-aberto .fl-save, .menu-aberto-body .fl-save { display: none; }
@media (max-width: 600px) { .fl-save { left: 14px; bottom: 14px; padding: 6px 14px 6px 6px; gap: 10px; } .fl-save .ic { width: 34px; height: 34px; } .fl-save span.d { display: none; } }
.ci-slogan .botoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }

/* Lipedema (profissionais): consenso e relatos em vídeo */
.cons-box { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 3.4vw, 44px); border-radius: 24px; background: #f3f0fb; border: 1px solid #dcd7ee; }
.cons-box h2 { margin: 6px 0 12px; font-size: clamp(24px, 2.8vw, 36px); }
.cons-box p { margin: 0 0 14px; line-height: 1.65; }
.cons-num { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 22px; }
.cons-num > div { padding-left: 16px; border-left: 2px solid #b9a8f0; }
.cons-num b { display: block; font: 800 clamp(34px, 4vw, 52px)/1 var(--d); letter-spacing: -.03em; color: var(--violeta-2); }
.cons-num span { display: block; margin-top: 4px; font-size: 14px; color: var(--texto); }
@media (max-width: 800px) { .cons-box { grid-template-columns: 1fr; } }
.vp-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.vp { display: grid; gap: 12px; margin: 0; align-content: start; }
.vp-tela { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #17142e; }
.vp-tela video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vp.tocando video { object-fit: contain; background: #000; }
.vp-btn { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--noite); font: 700 13px/1 var(--t); cursor: pointer; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .55); transition: transform .25s var(--mola); }
.vp-btn:hover { transform: translateY(-2px); }
.vp-btn:focus-visible { outline: 3px solid var(--violeta-2); outline-offset: 2px; }
.vp-btn svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--violeta-2); color: #fff; }
.vp.tocando .vp-btn { display: none; }
.vp figcaption b { display: block; font: 700 17px/1.3 var(--d); color: var(--noite); }
.vp figcaption span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--texto); }
.vp-fecho { margin: 38px 0 6px; text-align: center; font: 700 clamp(20px, 2.4vw, 28px)/1.3 var(--d); color: var(--noite); }
.vp-leg { margin: 0; text-align: center; font-size: 13px; color: var(--texto); opacity: .8; }
@media (max-width: 900px) { .vp-grade { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* página Cursos */
.curso-tag { display: block; margin-bottom: 4px; font: 800 11px/1 var(--t); letter-spacing: .12em; text-transform: uppercase; color: var(--violeta-2); }
.card.destaque .curso-tag { color: #cfc3ff; }
.curso-nota { margin: 24px 0 0; text-align: center; font-size: 15px; color: var(--texto); }
.cab-doc { margin-bottom: 40px; }

/* manejo: lista ao lado da foto de apoio */
.mj-lista { display: grid; gap: 0; margin: 26px 0 0; padding: 0; list-style: none; }
.mj-lista li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.mj-lista li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.mj-lista .ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(185, 168, 240, .18); color: var(--lima); }
.mj-lista .ico svg { width: 22px; height: 22px; }
.mj-lista h3 { margin: 0 0 4px; font-size: 19px; color: #fff; }
.mj-lista p { margin: 0; font-size: 15.5px; line-height: 1.55; color: #d2d0f0; }
.manejo-duas .foto-card { max-width: 480px; margin-inline: auto; width: 100%; }

/* índice da página no topo do lipedema */
.nav-pag { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.nav-pag a { padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; color: #fff; font: 600 14px/1.2 var(--t); text-decoration: none; transition: background .25s, border-color .25s; }
.nav-pag a:hover, .nav-pag a:focus-visible { background: rgba(255, 255, 255, .12); border-color: #fff; }
#consenso { scroll-margin-top: 80px; }   /* (os outros ids desta regra eram da página Lipedema antiga; o html já tem scroll-padding-top: 96px) */
.pag-cab.lip-cab h1 { font-size: clamp(34px, 4.1vw, 60px); line-height: 1.08; }
/* o destaque ("do tecido ao cuidado") vai inteiro para a linha de baixo, em vez de quebrar depois de "do" */
.pag-cab.lip-cab h1 .pv { display: inline-block; }

/* chamada para os cursos no meio da página do lipedema */
.cta-sec { padding-block: clamp(8px, 2vw, 24px); }
.cta-cursos { max-width: 980px; margin: 0 auto; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: linear-gradient(150deg, #2c2a4a, #4e4797); color: #fff; text-align: center; display: grid; justify-items: center; gap: 4px; }
.cta-cursos h2 { margin: 8px 0 6px; color: #fff; font-size: clamp(24px, 3vw, 38px); max-width: 24ch; }
.cta-cursos p { margin: 0 0 14px; max-width: 60ch; color: #dcd9f7; line-height: 1.6; }
.cta-cursos .botoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
body.v3 .cta-cursos .pv, body.v3 .cta-cursos .pv .w > i { color: #cfc3ff; }
.cta-cursos .rot, body.v3 .cta-cursos .rot { color: #cfc3ff; }
.cta-cursos .btn-linha { color: #fff; }

/* celular: alvos de toque maiores e rótulos legíveis */
@media (max-width: 760px) {
  .rodape li a, .rodape ul a { display: inline-block; padding: 8px 0; }
  .rodape .dev a { display: inline-block; padding: 7px 2px; }
  .migalha a { display: inline-block; padding: 8px 2px; }
  .link-seta { min-height: 40px; }
  .chip-btn { padding: 12px 16px; }
  .mapa-modo button { padding: 12px 18px; }
  .trilho .docente small { font-size: 11px; padding: 5px 10px; }
  .selo { font-size: 11px; padding: 6px 9px; }
}
.cta-cursos { grid-template-columns: minmax(0, 1fr); }
.cta-cursos .btn { white-space: normal; text-align: center; }
@media (max-width: 480px) { .cta-cursos .botoes { width: 100%; } .cta-cursos .btn { width: 100%; justify-content: center; } }

/* página Cursos: formações e chamadas para o site da pós */
.curso-tag { display: block; margin-bottom: 4px; font: 800 11px/1 var(--t); letter-spacing: .12em; text-transform: uppercase; color: var(--violeta-2); }
.card.destaque .curso-tag { color: #cfc3ff; }
.curso-fatos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.curso-fatos li { padding: 8px 16px; border: 1px solid #cfc6ec; border-radius: 999px; background: #fff; font: 700 14px/1.2 var(--t); color: var(--noite); }
@media (min-width: 700px) { .grade-3.duas-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; } }
.rg { margin-left: 1px; font-size: .55em; font-weight: 400; line-height: 0; vertical-align: super; }
/* a logo da ABRALIPRO fica maior que a da ABRALI */
.tl-marca img { height: 24px; }
.tl-marca img:last-child { height: 52px; }
@media (max-width: 480px) { .tl-marca img { height: 20px; } .tl-marca img:last-child { height: 44px; } }
.ponto > div p { margin: 0; }
.ponto > div p + p { margin-top: 12px; }
/* celular: ABRALIPRO em cima, ABRALI embaixo, sem o "&" */
@media (max-width: 600px) { .tl-marca { flex-direction: column-reverse; gap: 18px; } .tl-marca span { display: none; } }
/* celular: o bloco de abertura do mapa não pode ficar mais largo que a tela (título e texto estavam cortados à direita) */
.grade-mapa { grid-template-columns: minmax(0, 1fr); }
.grade-mapa > *, .mapa-info > * { min-width: 0; max-width: 100%; }
.mapa-info { grid-template-columns: minmax(0, 1fr); }
.mapa-info h1, .mapa-info .lead { overflow-wrap: break-word; }

/* contagem nos botões de fora do Brasil, em selo */
.chip-btn { display: inline-flex; align-items: center; gap: 8px; }
.chip-btn em { padding: 3px 8px; border-radius: 999px; background: rgba(154, 102, 255, .55); color: #fff; font: 800 11px/1 var(--t); font-style: normal; }
/* celular: o seletor Mundo/Brasil fica acima do mapa (antes cobria o meio dele) e os botões ficam mais arrumados */
@media (max-width: 760px) {
  .mapa-modo, .mapa-grande .mapa-modo, #mapa .mapa-modo { position: static; transform: none; width: max-content; margin: 0 auto 14px; }
  .mapa-grande .fora-brasil, #mapa .fora-brasil { justify-content: center; gap: 10px; margin-top: 22px; padding-bottom: 6px; }
  .fora-brasil .chip-btn { padding: 10px 14px 10px 16px; font-size: 13px; border: 1px solid rgba(185, 168, 240, .28); background: rgba(185, 168, 240, .12); }
}

/* artigos publicados (Departamento Científico) */
.ci-artigos .card { gap: 8px; }
.ci-artigos .art-tit { font-style: italic; font-size: 14.5px; line-height: 1.5; }
.ci-artigos .art-aut, .ci-artigos .art-doi { font-size: 13.5px; opacity: .8; margin: 0; }
.ci-artigos .art-doi { word-break: break-all; }

/* hero da home: países da rede fora do Brasil em destaque (um pouco menos que o Brasil) e estrelinha sutil no save the date */
.hero-mundo .mapa-fundo .pais.tem { fill: rgba(185, 168, 240, .42); stroke: rgba(255, 255, 255, .5); stroke-width: .6; }
.mapa-fundo .hf-ev polygon { fill: rgba(255, 255, 255, .78); filter: drop-shadow(0 0 3px rgba(185, 168, 240, .9)); transform-box: fill-box; transform-origin: center; animation: hf-ev-brilho 4.5s ease-in-out infinite; }
@keyframes hf-ev-brilho { 50% { opacity: .35; transform: scale(.82); } }
@media (prefers-reduced-motion: reduce) { .mapa-fundo .hf-ev polygon { animation: none; } }

/* selos do cartão: os que a pessoa não tem ficam apagados */
.selo-main.off, .selos-lado img.off { opacity: .2; filter: grayscale(1) brightness(1.15); }
/* os três selos ficam lado a lado; a opacidade baixa marca os que a pessoa não tem. Em cartões estreitos (celular) encolhem para caber */
.selo-main.off, .selos-lado img.off { opacity: .28; }
.prof { container-type: inline-size; }
@container (max-width: 240px) {
  .selo-main { left: 12px; width: 66px; }
  .selos-lado { left: 84px; top: 12px; gap: 4px; }
  .selos-lado img { width: 34px; }
}

/* fotos de apoio ao texto (duas fotos sobrepostas + cartão com um dado da página) */
.linha-apoio { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: 40px; }
.linha-apoio .cab { margin: 0; text-align: left; }
.apoio { position: relative; width: 100%; max-width: 500px; margin-inline: auto; aspect-ratio: 1 / 1; }
.apoio figure { position: absolute; margin: 0; overflow: hidden; border-radius: 26px; background: var(--lav-2); box-shadow: var(--sombra); aspect-ratio: 4 / 5; }
.apoio img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.apoio .f1 { right: 0; top: 0; width: 58%; }
.apoio .f2 { left: 0; top: 24%; width: 47%; border: 5px solid #fff; z-index: 2; }
.apoio .chip { position: absolute; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; max-width: 62%; background: #fff; border-radius: 18px; box-shadow: 0 14px 34px rgba(40, 20, 80, .18); }
.apoio .chip .ic { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-2); color: var(--violeta); }
.apoio .chip .ic svg { width: 20px; height: 20px; }
.apoio .chip b { display: block; font-size: 17px; line-height: 1.15; color: var(--noite); }
.apoio .chip small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.3; color: var(--texto-2, #5b5878); }
@media (max-width: 860px) { .linha-apoio { grid-template-columns: 1fr; } .apoio { max-width: 420px; } }
@media (max-width: 480px) { .apoio .chip { max-width: 72%; padding: 10px 14px 10px 10px; } .apoio .chip b { font-size: 15px; } }

/* cartão de turma com foto no topo (Cursos) */
.card.com-foto { padding: 0; overflow: hidden; gap: 0; }
.card.com-foto > :not(.card-foto) { margin-inline: 30px; }
.card.com-foto > .ico { display: none; }
.card.com-foto > .link-seta { margin-bottom: 30px; margin-top: 14px; }
.card.com-foto > .curso-tag { margin-top: 18px; }
.card.com-foto h3 { margin-top: 4px; }
.card.com-foto > p { margin-top: 10px; }
.card-foto { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lav-2); }
.card-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .8s var(--suave); }
.card.com-foto:hover .card-foto img { transform: scale(1.05); }

/* bento do Departamento científico: fotos + dado + compromisso */
.ci-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 190px 190px; gap: 14px; margin-top: 34px; }
.ci-bento .t-foto { margin: 0; overflow: hidden; border-radius: 24px; background: var(--lav-2); box-shadow: var(--sombra); }
.ci-bento .t-foto.grande { grid-column: 1 / 3; grid-row: 1 / 3; }
.ci-bento .t-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.ci-bento .t-stat { grid-column: 4; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 22px; border-radius: 24px; background: var(--violeta-2); color: #fff; }
.ci-bento .t-stat b { font: 800 clamp(26px, 3vw, 38px)/1 var(--d); letter-spacing: -.02em; }
.ci-bento .t-stat small { font-size: 13.5px; line-height: 1.35; color: #e7e0ff; }
.ci-bento .t-quote { grid-column: 3 / 5; grid-row: 2; margin: 0; display: flex; align-items: center; padding: 22px 26px; border-radius: 24px; background: var(--noite); color: #fff; font: 600 clamp(15px, 1.5vw, 18px)/1.45 var(--t); }
@media (max-width: 760px) { .ci-bento { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 150px auto; } .ci-bento .t-foto.grande { grid-column: 1 / 3; grid-row: 1; } .ci-bento .t-foto:not(.grande) { grid-column: 1; grid-row: 2; } .ci-bento .t-stat { grid-column: 2; grid-row: 2; } .ci-bento .t-quote { grid-column: 1 / 3; grid-row: 3; } }

/* faixa de largura total com foto à direita (Quem somos) */
.faixa-foto { position: relative; overflow: hidden; isolation: isolate; padding: clamp(64px, 9vw, 120px) 0; color: #fff; background: linear-gradient(110deg, var(--noite) 10%, #46279c 100%); }
.faixa-foto > img { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; object-position: 50% 9%; z-index: -1; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%); mask-image: linear-gradient(90deg, transparent 0, #000 42%); }
.faixa-foto blockquote { margin: 0; max-width: 540px; font: 700 clamp(22px, 2.6vw, 33px)/1.3 var(--d); letter-spacing: -.015em; }
.faixa-foto blockquote::before { content: "✦"; display: block; margin-bottom: 12px; color: var(--lima); font-size: 22px; }
@media (max-width: 760px) { .faixa-foto > img { width: 100%; opacity: .32; -webkit-mask-image: none; mask-image: none; } }
@media (prefers-reduced-motion: reduce) { .card-foto img { transition: none; } }

/* linha do tempo: foto genérica de fundo, bem suave, em cada cartão */
.ltempo .tl-fundo { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: 0; pointer-events: none; }
.ltempo .tl-fundo img { width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: saturate(.85); -webkit-mask-image: linear-gradient(100deg, transparent 0, #000 70%); mask-image: linear-gradient(100deg, transparent 0, #000 70%); }
.ltempo li.dir .tl-fundo img { -webkit-mask-image: linear-gradient(260deg, transparent 0, #000 70%); mask-image: linear-gradient(260deg, transparent 0, #000 70%); }
.ltempo li.destaque .tl-fundo img { opacity: .26; }
.ltempo .cartao > :not(.tl-fundo) { position: relative; z-index: 1; }

/* linha do tempo: foto em duotone violeta, com leve paralaxe (a foto se move mais devagar que o cartão) */
.ltempo .tl-fundo img { position: absolute; left: 0; top: -14%; width: 100%; height: 128%; opacity: .17; will-change: transform; }
.ltempo li.destaque .tl-fundo img { opacity: .26; }
@media (prefers-reduced-motion: reduce) { .ltempo .tl-fundo img { top: 0; height: 100%; will-change: auto; } }

/* marco da linha do tempo: miniatura redonda da foto (o ícone vira um selinho) */
.ltempo .no { width: 76px; height: 76px; top: 10px; background: #fff; }
.ltempo .no-foto { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.ltempo .no svg { position: absolute; right: -8px; bottom: -6px; width: 30px; height: 30px; padding: 6px; box-sizing: border-box; border-radius: 50%; background: var(--violeta-2); color: #fff; box-shadow: 0 0 0 3px var(--lav); }
.ltempo li.destaque .no svg { background: var(--lima); color: var(--noite); }
.ltempo li.esq .cartao::after, .ltempo li.dir .cartao::after { top: 47px; }

/* ano grande em marca-d'água dentro do cartão */
.ltempo .tl-fundo::after { content: attr(data-ano); position: absolute; right: 16px; bottom: -8px; font: 800 clamp(64px, 7.5vw, 96px)/1 var(--d); letter-spacing: -.04em; color: var(--violeta-2); opacity: .085; white-space: nowrap; }
.ltempo li.longo .tl-fundo::after { font-size: clamp(40px, 4.6vw, 58px); bottom: -4px; }
.ltempo li.destaque .tl-fundo::after { color: #fff; opacity: .14; }
@media (max-width: 900px) {
  .ltempo::before { left: 28px; }
  .ltempo li { padding-left: 80px; }
  .ltempo .no { left: 28px; width: 56px; height: 56px; top: 10px; }
  .ltempo .no svg { width: 24px; height: 24px; padding: 5px; right: -6px; bottom: -4px; }
  .ltempo li.esq .cartao::after, .ltempo li.dir .cartao::after { left: -52px; top: 36px; width: 52px; }
}


/* estrelas dos países (fora do Brasil): conjunto menor (estrela, brilho e número) */
#mapa-svg .pin.fora .pc { transform: scale(calc(var(--pz, 1) * .78)); }

/* fotos do congresso (início): foto grande com marcação do local e miniaturas; a foto troca sozinha, com pausa */
.dm { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 30px; align-items: start; margin-top: 8px; }
.dm-grande { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--sombra); aspect-ratio: 4 / 5; background: var(--lav-2); }
.dm-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: opacity .5s ease; }
.dm-img.sai { opacity: 0; }
.dm-pin { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--noite); padding: 8px 14px 8px 8px; border-radius: 999px; font: 800 14px/1 var(--t); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.dm-pin i { width: 26px; height: 26px; border-radius: 50%; background: var(--rosa-2, #ee6fa4); color: #fff; display: grid; place-items: center; }
.dm-pin svg { width: 15px; height: 15px; }
.dm-pausa { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(30, 28, 61, .82); color: #fff; display: grid; place-items: center; cursor: pointer; }
.dm-pausa svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.dm-pausa .i-play, .dm.pausado .dm-pausa .i-pausa { display: none; }
.dm.pausado .dm-pausa .i-play { display: block; }
.dm-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dm-mini button { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; aspect-ratio: 1; background: var(--lav-2); outline: 3px solid transparent; outline-offset: 2px; transition: outline-color .2s, transform .2s; }
.dm-mini button:hover { transform: translateY(-3px); }
.dm-mini button[aria-current="true"] { outline-color: var(--menta, #2fc9a2); }
.dm-mini img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
@media (max-width: 760px) { .dm { grid-template-columns: 1fr; } .dm-mini { grid-template-columns: repeat(4, 1fr); gap: 8px; } }

/* miniaturas do congresso: ocupam só a altura da foto grande (4 colunas x 2 linhas), sem passar dela */
.dm { align-items: stretch; }
.dm-mini { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); min-height: 0; }
.dm-mini button { aspect-ratio: auto; min-height: 0; }
@media (max-width: 760px) { .dm-mini { grid-template-rows: none; } .dm-mini button { aspect-ratio: 1; } }

/* docentes: a última linha incompleta fica centralizada, em vez de encostada à esquerda */
.grade-doc { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; width: 100%; }
.grade-doc > .docente { flex: 0 0 calc((100% - 60px) / 4); min-width: 0; }
.grade-doc.intl > .docente { flex-basis: calc((100% - 40px) / 3); }
@media (max-width: 1080px) { .grade-doc > .docente { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 640px) { .grade-doc, .grade-doc.intl { gap: 12px; } .grade-doc > .docente, .grade-doc.intl > .docente { flex-basis: calc((100% - 12px) / 2); } }

/* fotos de grupo: o cartão toma a proporção da própria imagem, sem cortar rostos nas bordas */
.foto-card.inteira, .foto-card.alta.inteira, .foto-card.larga.inteira { aspect-ratio: auto; }
.foto-card.inteira img { width: 100%; height: auto; display: block; object-fit: initial; transform: none; }
.sobre-cab .pag-foto .foto-card.inteira { max-width: 560px; }

/* selo "Coautoria no 1º consenso": agora é um link para a seção do consenso no Departamento científico */
a.chip-c { text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
a.chip-c:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .45); transform: translateY(-2px); }
a.chip-c::after { content: "→"; margin-left: 2px; font-weight: 800; opacity: .8; }

