/* Colégio-Curso Tamandaré · identidade da marca (manual): azul meia-noite #20366D, azul oceano #008B9C,
   laranja #AF3E10 (ação), dourado #FF9700 (números e traço), Montserrat. Linguagem: vidro + cartões arredondados
   (o Antonio prefere a estética "glass" da Alfa CEM), largura total no topo, fotos reais em todas as seções. */
:root {
  --navy: #20366D; --navy-d: #14244A; --navy-dd: #0C1733;
  --ocean: #008B9C; --ocean-d: #006B78;
  --orange: #AF3E10; --orange-d: #8F320C; --orange-glow: rgba(175, 62, 16, .4);
  --gold: #FF9700;
  --ink: #14213D; --ink-2: #4A5468; --ink-3: #6B7488;
  --screen: #F4F7FC; --white: #fff; --line: rgba(20, 33, 61, .1);
  --wa: #128C4A;
  --r-s: 10px; --r-m: 14px; --r-l: 22px; --r-xl: 32px;
  --sh: 0 1px 2px rgba(20, 33, 61, .05), 0 12px 30px rgba(20, 33, 61, .08);
  --sh-l: 0 2px 6px rgba(20, 33, 61, .08), 0 26px 60px rgba(20, 33, 61, .2);
  --dark: linear-gradient(140deg, #20366D 0%, #0C1733 72%);
  --wrap: 1400px;
  --font: 'Montserrat', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--screen); text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--orange); }
h1, h2, h3 { font-family: var(--font); color: var(--navy); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { max-width: 880px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(255, 151, 0, .75); outline-offset: 2px; border-radius: 8px; }
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: -.14em; height: .3em; z-index: -1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11 C 50 4, 120 3, 197 8' fill='none' stroke='%23FF9700' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
/* O traço só é desenhado quando o título entra na área visível. */
.rv .mark::after { clip-path: inset(0 100% 0 0); transition: clip-path 600ms var(--ease-out) 150ms; }
.rv .mark.mark-in::after { clip-path: inset(0); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12.5px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ocean-d); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.sec { padding: 84px 0; }
.sec-tight { padding: 34px 0; }
.sec-alt { background: var(--white); }
.sec > .wrap > h2, .sec > .wrap > .eyebrow, .sec > .wrap > .sec-sub { text-align: center; }
.sec > .wrap > .eyebrow { display: flex; justify-content: center; }
.sec-sub { max-width: 66ch; margin: 0 auto 38px; color: var(--ink-2); font-size: 1.05rem; }
.sec-txt { color: var(--ink-2); font-size: 1.03rem; }
.two .eyebrow, .two h2, .two .sec-sub { text-align: left; }
.two .eyebrow { display: inline-flex; }
.centro { text-align: center; margin: 36px 0 0; }
.nota { margin: 18px 0 0; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.lead { font-size: 1.1rem; line-height: 1.6; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 100px; border: 2px solid transparent; font: 700 15px var(--font); text-decoration: none; cursor: pointer; transition: background-color .2s ease, transform .2s var(--ease-out), box-shadow .2s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--orange); color: #fff; box-shadow: 0 0 0 4px rgba(175, 62, 16, .16), 0 10px 24px var(--orange-glow); }
.btn-gold:hover { background: var(--orange-d); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(32, 54, 109, .25); }
.btn-ghost:hover { background: rgba(32, 54, 109, .06); }
.btn-ghost-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0E7A40; }
.btn-link { color: var(--navy); background: none; }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-1px); } }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* faixa do topo */
.topbar { background: var(--navy-dd); color: #fff; font-size: 14px; }
.topbar-in { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 40px; padding: 6px 0; text-align: center; }
.topbar p { margin: 0; }
.topbar strong { font-weight: 600; }
.tb-s { display: none; }
.topbar-cta { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); font-weight: 700; text-decoration: none; white-space: nowrap; }
.topbar-cta svg { width: 16px; height: 16px; }

/* cabeçalho: pílula de vidro flutuante */
.hdr { position: sticky; top: 10px; z-index: 40; margin: 10px auto 0; width: calc(100% - 24px); border-radius: 100px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 10px 30px rgba(20, 33, 61, .12); border: 1px solid rgba(255, 255, 255, .7); }
.hdr-in { display: flex; align-items: center; gap: 24px; height: 74px; padding: 0 clamp(18px, 2.4vw, 40px); }
.brand img { width: 172px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { background: none; border: 0; cursor: pointer; padding: 10px 14px; border-radius: 100px; font: 600 15px var(--font); color: var(--navy); text-decoration: none; }
.nav-link:hover { background: rgba(32, 54, 109, .07); }
.has-mega { position: relative; }
.has-mega > .nav-link::after { content: '▾'; margin-left: 6px; font-size: 11px; }
.mega { position: absolute; top: calc(100% + 14px); left: -20px; display: none; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 6px; padding: 16px; min-width: 520px; background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-l); }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-mega.open .mega { display: grid; }
.mega a { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-m); text-decoration: none; }
.mega a:hover { background: var(--screen); }
.mega b { color: var(--navy); font-size: 15px; }
.mega span { color: var(--ink-3); font-size: 13px; }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--navy); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; }
.mnav { display: grid; gap: 2px; padding: 8px 18px 18px; }
.mnav[hidden] { display: none; }
@media (min-width: 1181px) { .mnav { display: none !important; } }
.mnav a { padding: 12px 6px; color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav a.btn { border: 0; margin-top: 10px; color: #fff; }

/* banners da home */
.banners { position: relative; width: calc(100% - 24px); margin: 18px auto 0; border-radius: var(--r-xl); overflow: hidden; background: var(--navy-dd); box-shadow: var(--sh-l); }
.bn-track { position: relative; min-height: clamp(520px, 74vh, 700px); }
.bn { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease-out), visibility 0s .9s; }
.bn.on { opacity: 1; visibility: visible; transition: opacity .9s var(--ease-out), visibility 0s; }
.bn::before { content: ''; position: absolute; inset: 0 0 0 30%; background: var(--foto) var(--foco) / cover no-repeat; transform: scale(1.06); transition: transform 7s linear; }
.bn.on::before { transform: scale(1); }
.bn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0C1733 0%, #0C1733 30%, rgba(12, 23, 51, .82) 46%, rgba(12, 23, 51, .1) 75%, rgba(12, 23, 51, 0) 100%); }
.bn-txt { position: relative; z-index: 1; width: min(100%, 640px); margin-left: clamp(24px, 6vw, 110px); padding: 60px 0 96px; color: #fff; }
.bn-h { color: #fff; font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.6rem); font-weight: 800; margin: 0 0 18px; }
.bn .lead { color: rgba(255, 255, 255, .88); max-width: 52ch; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 100px; background: rgba(255, 151, 0, .14); color: var(--gold); border: 1px solid rgba(255, 151, 0, .45); font: 700 13px var(--font); letter-spacing: .03em; margin-bottom: 18px; }
.chip svg { width: 15px; height: 15px; }
.bn-ctl { position: absolute; z-index: 2; left: clamp(24px, 6vw, 110px); bottom: 28px; display: flex; align-items: center; gap: 14px; }
.bn-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.bn-arrow svg { width: 18px; height: 18px; }
.bn-arrow:hover { background: rgba(255, 255, 255, .2); }
.bn-dots { display: flex; gap: 8px; }
.bn-dots button { width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.bn-dots i { display: block; width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.bn-dots i::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.bn-dots button.on i::after { animation: bn-prog var(--bn-ms, 8000ms) linear forwards; }
.banners.pausa .bn-dots button.on i::after { animation-play-state: paused; }
@keyframes bn-prog { to { transform: scaleX(1); } }

/* faixa rolante */
.ticker { width: calc(100% - 24px); margin: 14px auto 0; overflow: hidden; border-radius: 100px; background: var(--navy); color: #fff; }
.ticker-in { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; font: 600 14.5px var(--font); white-space: nowrap; }
.ticker svg { width: 15px; height: 15px; color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* atalhos */
.atalhos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.at { position: relative; display: grid; gap: 4px; padding: 22px 52px 22px 22px; border-radius: var(--r-l); color: #fff; text-decoration: none; box-shadow: var(--sh); transition: transform .25s var(--ease-out); }
.at b { font-size: 1.08rem; }
.at span { font-size: 13.5px; opacity: .88; }
.at svg { position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; }
.at-1 { background: linear-gradient(135deg, #AF3E10, #D9601F); }
.at-2 { background: linear-gradient(135deg, #006B78, #00A3B5); }
.at-3 { background: linear-gradient(135deg, #20366D, #3556A8); }
.at-4 { background: linear-gradient(135deg, #0C1733, #20366D); }
@media (hover: hover) and (pointer: fine) { .at:hover { transform: translateY(-3px); } }

/* duas colunas, listas, fotos */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.feat { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.feat li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.feat svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(0, 139, 156, .14); color: var(--ocean-d); }
.foto-r { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--sh-l); }
.mosaico { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(380px, 38vw, 540px); }
.mosaico img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-l); box-shadow: var(--sh); }
.mosaico img:first-child { grid-row: span 2; }

/* placar */
.sec-dark { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.sec-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(0, 139, 156, .35), transparent 40%), radial-gradient(circle at 90% 80%, rgba(255, 151, 0, .18), transparent 40%); pointer-events: none; }
.sec-dark .wrap { position: relative; }
.sec-dark h2 { color: #fff; }
.sec-dark .eyebrow { color: #7FD6E0; }
.sec-dark .sec-sub { color: rgba(255, 255, 255, .78); }
.placar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.placar-1 { grid-template-columns: minmax(0, 360px); margin-top: 22px; }
.placar-3 { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.pl { padding: 24px 22px; border-radius: var(--r-l); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); display: grid; align-content: start; gap: 6px; }
.pl b { font: 800 clamp(2rem, 1.4rem + 1.6vw, 2.8rem)/1 var(--font); color: var(--gold); letter-spacing: -.02em; }
.pl p { margin: 0; font: 600 15px/1.35 var(--font); color: #fff; }
.pl span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.sec:not(.sec-dark) .pl { background: var(--navy); border: 0; box-shadow: var(--sh); }

/* segmentos */
.segs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.segs > .seg { grid-column: span 2; }
.segs > .seg:nth-child(4):nth-last-child(2), .segs > .seg:nth-child(5):last-child { grid-column: span 3; }
.seg { position: relative; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; border-radius: var(--r-l); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--sh); }
.seg::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--foto) var(--foco) / cover; transition: transform .6s var(--ease-out); }
.seg::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 23, 51, 0) 30%, rgba(12, 23, 51, .9) 100%); }
.seg h3 { color: #fff; font-size: 1.45rem; margin: 10px 0 6px; }
.seg p { margin: 0 0 12px; font-size: 14.5px; color: rgba(255, 255, 255, .88); }
.seg-tag { align-self: flex-start; padding: 5px 12px; border-radius: 100px; background: var(--gold); color: var(--navy-dd); font: 800 12px var(--font); letter-spacing: .03em; }
.seg-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.seg-go svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .seg:hover::before { transform: scale(1.05); } }
.segs-mini .seg { min-height: 220px; }

/* pilares */
.pils { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pil { display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; background: var(--white); box-shadow: var(--sh); text-decoration: none; transition: transform .25s var(--ease-out); }
.sec-alt .pil { background: var(--screen); }
.pil img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pil div { padding: 18px 20px 22px; }
.pil h3 { margin-bottom: 6px; }
.pil p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .pil:hover { transform: translateY(-4px); } }

/* extracurriculares */
.exs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ex { position: relative; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border-radius: var(--r-l); overflow: hidden; color: #fff; isolation: isolate; box-shadow: var(--sh); }
.ex::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--foto) center / cover; }
.ex::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 23, 51, .05) 25%, rgba(12, 23, 51, .88) 100%); }
.ex span { align-self: flex-start; padding: 4px 12px; border-radius: 100px; background: rgba(255, 255, 255, .92); color: var(--navy); font: 800 11.5px var(--font); letter-spacing: .06em; text-transform: uppercase; }
.ex h3 { color: #fff; margin: 10px 0 4px; font-size: 1.25rem; }
.ex p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .88); }

/* depoimentos */
.deps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dep { margin: 0; border-radius: var(--r-l); overflow: hidden; background: var(--white); box-shadow: var(--sh); display: flex; flex-direction: column; }
.sec-alt .dep { background: var(--screen); }
.dep-v { position: relative; aspect-ratio: 16 / 10; border: 0; padding: 0; cursor: pointer; background: #000 center / cover no-repeat; display: grid; place-items: center; color: var(--orange); }
.dep-v svg { width: 60px; height: 60px; transition: transform .2s var(--ease-out); filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .35)); }
.dep-v:hover svg { transform: scale(1.08); }
.dep figcaption { padding: 18px 20px 20px; display: grid; gap: 4px; }
.dep figcaption p { margin: 0 0 8px; font: 700 15px/1.4 var(--font); color: var(--ink); }
.dep figcaption b { color: var(--navy); }
.dep figcaption span { color: var(--orange); font-size: 13px; font-weight: 600; }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.quotes blockquote { margin: 0; padding: 26px 28px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--sh); border-left: 5px solid var(--gold); }
.quotes p { color: var(--ink-2); font-size: 15.5px; }
.quotes footer { display: grid; gap: 2px; }
.quotes b { color: var(--navy); }
.quotes span { color: var(--ocean-d); font-size: 13.5px; font-weight: 600; }

/* faixas: Bolsão, EAD, CTA final */
.bolsao-band { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(40px, 6vw, 80px); color: #fff; isolation: isolate; }
.bolsao-band::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--foto) 50% 30% / cover; }
.bolsao-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(175, 62, 16, .96) 0%, rgba(175, 62, 16, .85) 45%, rgba(175, 62, 16, .2) 100%); }
.bolsao-band > div { max-width: 620px; }
.bolsao-band h2 { color: #fff; }
.bolsao-band .eyebrow { color: #FFE2B8; }
.bolsao-band .eyebrow::before { background: #fff; }
.bolsao-band .btn-gold { background: #fff; color: var(--orange); box-shadow: none; }
.band, .ead-band, .central { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(30px, 4vw, 52px); border-radius: var(--r-xl); background: var(--dark); color: #fff; box-shadow: var(--sh-l); }
.band h2, .ead-band h2, .central h2 { color: #fff; margin-bottom: 8px; }
.band p, .ead-band p, .central p { margin: 0; color: rgba(255, 255, 255, .82); max-width: 60ch; }
.ead-band .eyebrow, .central .eyebrow { color: #7FD6E0; }
.band-ctas { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.central .big { font: 800 2rem var(--font); color: var(--gold); margin: 4px 0 8px; }
.central .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }

/* unidades */
.uns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.un { padding: 24px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--sh); display: flex; flex-direction: column; }
.sec-alt .un { background: var(--screen); }
.un-r { margin: 0 0 4px; font: 700 12px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--ocean-d); }
.un h3 { font-size: 1.4rem; }
.un-e { display: flex; gap: 8px; color: var(--ink-2); font-size: 14.5px; flex: 1; }
.un-e svg { flex: none; width: 18px; height: 18px; color: var(--orange); margin-top: 2px; }
.un-a { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.un-a a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 100px; background: rgba(32, 54, 109, .07); color: var(--navy); font: 600 13.5px var(--font); text-decoration: none; }
.un-a a svg { width: 16px; height: 16px; }
.un-a a[data-wa] { background: var(--wa); color: #fff; }

/* páginas internas */
.hero-in-pg { padding: 18px 0 30px; }
.hip { position: relative; width: calc(100% - 24px); min-height: 480px; display: flex; align-items: center; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: var(--navy-dd); box-shadow: var(--sh-l); }
.hip::before { content: ''; position: absolute; inset: 0 0 0 32%; z-index: -2; background: var(--foto) var(--foco) / cover; }
.hip::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0C1733 0%, #0C1733 32%, rgba(12, 23, 51, .78) 50%, rgba(12, 23, 51, .05) 85%); }
.hip-txt { width: min(100%, 680px); padding: 56px clamp(24px, 6vw, 110px); color: #fff; }
.hip h1 { color: #fff; }
.hip .lead { color: rgba(255, 255, 255, .88); }
.crumbs { font-size: 13.5px; margin-bottom: 18px; color: rgba(255, 255, 255, .7); }
.crumbs a { color: rgba(255, 255, 255, .85); }
.ficha { padding: 28px; border-radius: var(--r-xl); background: var(--white); box-shadow: var(--sh-l); display: grid; gap: 10px; }
.ficha-t { margin: 0; font: 800 13px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--ocean-d); }
.ficha dl { margin: 0 0 8px; display: grid; }
.ficha dl div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ficha dt { font-weight: 700; color: var(--navy); }
.ficha dd { margin: 0; color: var(--ink-2); }
.dests { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dest { border-radius: var(--r-l); overflow: hidden; background: var(--white); box-shadow: var(--sh); }
.dest img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dest h3 { margin: 18px 20px 6px; }
.dest p { margin: 0 20px 22px; color: var(--ink-2); font-size: 14.5px; }
.galeria { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.galeria img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--r-l); }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--r-m); background: var(--white); box-shadow: var(--sh); }
.sec-alt .faq details { background: var(--screen); }
.faq summary { cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--orange); transition: transform .2s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); }
.trilha { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trilha article { position: relative; padding: 26px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--sh); border-top: 4px solid var(--ocean); }
.tr-n { font: 800 1.6rem/1 var(--font); color: var(--gold); }
.tr-f { margin: 10px 0 2px; font: 700 12.5px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ocean-d); }
.trilha p:last-child { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.destinos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.destinos > div { padding: 24px; border-radius: var(--r-l); background: var(--screen); }
.ds-t { font: 800 14px var(--font); color: var(--navy); margin-bottom: 12px; }
.destinos span { display: inline-block; margin: 0 6px 8px 0; padding: 6px 12px; border-radius: 100px; background: #fff; color: var(--navy); font-size: 13.5px; font-weight: 600; box-shadow: var(--sh); }
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.passos article { padding: 28px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--sh); }
.sec-alt .passos article { background: var(--screen); }
.passos span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold); font: 800 1.2rem var(--font); margin-bottom: 14px; }
.passos p { margin: 0; color: var(--ink-2); }
.rostos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rostos article { border-radius: var(--r-l); overflow: hidden; background: var(--white); box-shadow: var(--sh); }
.rostos img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 20%; }
.rostos div { padding: 18px 20px 22px; display: grid; gap: 4px; }
.rostos b { font-size: 1.3rem; color: var(--navy); }
.rostos p { margin: 0; color: var(--ink-2); }
.rostos span { color: var(--orange); font-weight: 700; font-size: 13.5px; }
.enem { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.enem div { padding: 22px 14px; text-align: center; border-radius: var(--r-l); background: var(--screen); }
.enem b { font: 800 2.2rem/1 var(--font); color: var(--navy); }
.enem p { margin: 8px 0 2px; font-weight: 700; color: var(--ink); font-size: 14px; }
.enem span { color: var(--ink-3); font-size: 13px; }
.linha { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.linha li { padding: 26px; border-radius: var(--r-l); background: var(--screen); border-top: 4px solid var(--gold); }
.linha b { color: var(--orange); font-size: 14px; }
.linha h3 { margin: 8px 0 6px; }
.linha p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mvv article { padding: 30px; border-radius: var(--r-xl); background: var(--dark); color: #fff; }
.mvv h3 { color: var(--gold); font-size: 1.4rem; }
.mvv p { margin: 0; color: rgba(255, 255, 255, .86); }

/* rodapé */
.ftr { background: var(--navy-dd); color: rgba(255, 255, 255, .78); padding: 64px 0 0; font-size: 14.5px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.ftr-grid > div { display: grid; align-content: start; gap: 10px; }
.ftr-brand img { width: 200px; height: auto; margin-bottom: 8px; }
.ftr a { color: rgba(255, 255, 255, .86); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.ftr a:hover { color: #fff; }
.ftr a svg { width: 16px; height: 16px; }
.ftr-t { margin: 0 0 6px; font: 800 13px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.ftr-redes { display: flex; flex-wrap: wrap; gap: 14px; }
.ftr-h { margin: 0; font-size: 13px; }
.ftr-base { margin-top: 48px; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.ftr-base p { margin: 0; }

/* WhatsApp e modais */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(18, 140, 74, .45); }
.wa-float svg { width: 30px; height: 30px; }
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(12, 23, 51, .6); backdrop-filter: blur(4px); }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(100%, 460px); padding: 34px 30px 26px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-l); animation: modal-in .35s var(--ease-out); }
.modal-box h2 { font-size: 1.6rem; }
.modal-box p { color: var(--ink-2); }
.modal-box .btn + .btn { margin-top: 6px; }
.modal-x { position: absolute; right: 14px; top: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--screen); font-size: 22px; cursor: pointer; color: var(--navy); }
.modal-vbox { position: relative; width: min(100%, 960px); }
.modal-vbox .modal-x { right: 0; top: -48px; background: #fff; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-l); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ---------- Temas coloridos: Educação Infantil e Fundamental I (pedido do Antonio: "muito coloridos e infantis") ---------- */
body.tema-infantil { --screen: #FFF9EC; --ocean-d: #E0558A; }
.tema-infantil .hip { background: #FFB703; }
.tema-infantil .hip::after { background: linear-gradient(90deg, #F48C06 0%, #F48C06 30%, rgba(244, 140, 6, .82) 48%, rgba(244, 140, 6, 0) 85%); }
.tema-infantil .sec-dark { background: linear-gradient(140deg, #3A86FF 0%, #6C4AD9 80%); }
.tema-infantil .sec-dark::before { background: radial-gradient(circle at 10% 20%, rgba(255, 214, 10, .35), transparent 35%), radial-gradient(circle at 90% 80%, rgba(255, 95, 162, .35), transparent 40%); }
.tema-infantil .pl b { color: #FFD60A; }
.tema-infantil .dest:nth-child(4n+1) { border-top: 6px solid #FFB703; }
.tema-infantil .dest:nth-child(4n+2) { border-top: 6px solid #3A86FF; }
.tema-infantil .dest:nth-child(4n+3) { border-top: 6px solid #2BB673; }
.tema-infantil .dest:nth-child(4n+4) { border-top: 6px solid #FF5FA2; }
.tema-infantil .dest, .tema-infantil .galeria img, .tema-infantil .ficha { border-radius: 28px; }
.tema-infantil .feat svg { background: #FFE8A3; color: #E07A00; }
.tema-infantil .sec-alt { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Ccircle cx='20' cy='30' r='7' fill='%23FFB703' opacity='.35'/%3E%3Ccircle cx='150' cy='60' r='5' fill='%233A86FF' opacity='.3'/%3E%3Ccircle cx='90' cy='170' r='8' fill='%23FF5FA2' opacity='.25'/%3E%3Ccircle cx='200' cy='190' r='5' fill='%232BB673' opacity='.35'/%3E%3C/svg%3E"); }
body.tema-fund1 { --screen: #F1FAF7; --ocean-d: #0E8A6A; }
.tema-fund1 .hip { background: #0E8A6A; }
.tema-fund1 .hip::after { background: linear-gradient(90deg, #0A6E55 0%, #0A6E55 30%, rgba(10, 110, 85, .8) 48%, rgba(10, 110, 85, 0) 85%); }
.tema-fund1 .sec-dark { background: linear-gradient(140deg, #0E8A6A 0%, #20366D 80%); }
.tema-fund1 .dest:nth-child(odd) { border-top: 6px solid #FFB703; }
.tema-fund1 .dest:nth-child(even) { border-top: 6px solid #2EC4B6; }
.tema-fund1 .feat svg { background: #D5F5EC; color: #0E8A6A; }

/* revelação ao rolar (mesma do site do EAD) */
.rv [data-rv] { opacity: 0; translate: 0 28px; transition: opacity 700ms var(--ease-out), translate 700ms var(--ease-out); transition-delay: var(--rv-d, 0ms); }
.rv [data-rv].rv-in { opacity: 1; translate: 0 0; }

/* responsivo */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hdr-actions .btn-ghost { display: none; }
  .hdr { border-radius: 28px; }
  .pils, .deps, .dests { grid-template-columns: repeat(2, 1fr); }
  .placar { grid-template-columns: repeat(2, 1fr); }
  .enem { grid-template-columns: repeat(3, 1fr); }
  .linha { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .two, .mvv { grid-template-columns: 1fr; }
  .segs, .exs, .uns, .trilha, .destinos, .passos, .rostos, .atalhos { grid-template-columns: repeat(2, 1fr); }
  .segs > .seg, .segs > .seg:nth-child(n) { grid-column: auto; }
  .band, .ead-band, .central { flex-direction: column; align-items: flex-start; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .bn::before { inset: 0; }
  .bn::after { background: linear-gradient(180deg, rgba(12, 23, 51, .15) 0%, rgba(12, 23, 51, .55) 40%, #0C1733 72%); }
  .bn { align-items: flex-end; }
  .bn-txt { padding: 40px 0 92px; margin: 0 22px; }
  .hip::before { inset: 0 0 45% 0; }
  .hip::after { background: linear-gradient(180deg, rgba(12, 23, 51, 0) 20%, rgba(12, 23, 51, .9) 52%, #0C1733 70%); }
  .tema-infantil .hip::after { background: linear-gradient(180deg, rgba(244, 140, 6, 0) 20%, rgba(244, 140, 6, .92) 52%, #F48C06 70%); }
  .tema-fund1 .hip::after { background: linear-gradient(180deg, rgba(10, 110, 85, 0) 20%, rgba(10, 110, 85, .92) 52%, #0A6E55 70%); }
  .hip { align-items: flex-end; min-height: 600px; }
  .hip-txt { padding: 40px 24px 36px; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .sec { padding: 60px 0; }
  .tb-l { display: none; }
  .tb-s { display: inline; }
  .hdr-in { height: 64px; gap: 12px; }
  .brand img { width: 138px; }
  .hdr-actions .btn-gold { display: none; }
  .bn-track { min-height: 640px; }
  .segs, .exs, .uns, .trilha, .destinos, .passos, .rostos, .pils, .deps, .dests, .quotes, .placar, .placar-3, .linha { grid-template-columns: 1fr; }
  .placar { grid-template-columns: 1fr 1fr; }
  .atalhos { grid-template-columns: 1fr 1fr; }
  .at { padding: 18px 16px; }
  .at svg { display: none; }
  .enem { grid-template-columns: 1fr 1fr; }
  .mosaico { height: 360px; }
  .galeria { grid-template-columns: 1fr; }
  .galeria img { height: 220px; }
  .ficha dl div { grid-template-columns: 1fr; gap: 2px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .ctas .btn, .band-ctas .btn { width: 100%; }
  .bn-ctl { left: 22px; bottom: 22px; }
  .hip h1, .bn-h { font-size: 1.85rem; }
  .bn .chip { background: rgba(12, 23, 51, .7); }
}
@media (max-width: 400px) { .mark { white-space: normal; } }
@media (prefers-reduced-motion: reduce) {
  .rv .mark::after { clip-path: none; transition: none; }
  .ticker-in { animation: none; }
  .bn, .bn::before { transition: none; }
  .rv [data-rv] { translate: none; transition: opacity 300ms ease; transition-delay: 0ms; }
  .bn-dots button.on i::after { animation: none; transform: scaleX(1); }
}

/* ---------- v2 (30/11): banners por tipo, cards com ícone, mapa, Educação Infantil colorida ---------- */
/* banner "retrato": aluno em card (nada de rosto esticado em tela cheia) */
.bn-retrato { background: radial-gradient(circle at 78% 45%, rgba(0, 139, 156, .45), transparent 42%), radial-gradient(circle at 92% 90%, rgba(255, 151, 0, .25), transparent 38%), linear-gradient(120deg, #0C1733 0%, #20366D 100%); }
.bn-retrato::before, .bn-retrato::after { display: none; }
.bn-ret { position: absolute; z-index: 1; right: clamp(40px, 9vw, 160px); top: 50%; width: clamp(240px, 24vw, 340px); margin: 0; transform: translateY(-50%) rotate(2.5deg); }
.bn-ret img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 26px; border: 6px solid #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.bn-ret figcaption { position: absolute; left: -36px; bottom: 28px; display: grid; padding: 14px 20px; border-radius: 18px; background: var(--gold); color: var(--navy-dd); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); transform: rotate(-4deg); }
.bn-ret b { font: 900 1.9rem/1 var(--font); }
.bn-ret span { font: 700 13px var(--font); }
/* banner "cambridge": vermelho Cambridge + logo oficial (sem imagem gerada por IA) */
.bn-cambridge { background: linear-gradient(115deg, #5E0A12 0%, #9E1222 48%, #B3121F 60%); }
.bn-cambridge::before, .bn-cambridge::after { display: none; }
.bn-camb { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 40%; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 0 4%; background: linear-gradient(115deg, transparent 0 12%, rgba(0, 0, 0, .18) 12%); clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.bn-camb::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 0 11.6%, #D9A441 11.6% 12.6%, transparent 12.6%); }
.bn-camb img { width: min(100%, 360px); height: auto; margin-left: 10%; }
.bn-camb p { margin: 0 0 0 10%; font: 800 13px var(--font); letter-spacing: .14em; text-transform: uppercase; color: #F3D27A; }
.bn-cambridge .chip { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); color: #fff; }
/* banner "arte": arte original do American Dream ocupando o slide todo */
.bn-arte::before { inset: 0 0 0 22%; transform: none; }
.bn-arte { background: #0C1733; }
.bn-arte::after { background: linear-gradient(90deg, #0C1733 0%, #0C1733 28%, rgba(12, 23, 51, .7) 40%, rgba(12, 23, 51, 0) 52%); }

/* cards com ícone */
.icards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.icard { display: grid; align-content: start; gap: 8px; padding: 26px 24px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--sh); text-decoration: none; transition: transform .25s var(--ease-out); }
.sec-alt .icard { background: var(--screen); }
.icard h3 { margin: 6px 0 0; }
.icard p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.icard-i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(0, 139, 156, .12); color: var(--ocean-d); }
.icard:nth-child(4n+2) .icard-i { background: rgba(175, 62, 16, .1); color: var(--orange); }
.icard:nth-child(4n+3) .icard-i { background: rgba(32, 54, 109, .1); color: var(--navy); }
.icard:nth-child(4n+4) .icard-i { background: rgba(255, 151, 0, .16); color: #B86B00; }
.icard-i svg, .ex-i svg { width: 28px; height: 28px; }
a.icard:hover { transform: translateY(-4px); }
/* extracurriculares com ícone e cor */
.ex { min-height: 0; justify-content: flex-start; color: var(--ink); background: var(--white); padding: 26px 24px; border-top: 5px solid var(--cor); }
.ex::before, .ex::after { display: none; }
.sec-alt .ex { background: var(--screen); }
.ex-i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--cor); color: #fff; margin-bottom: 10px; }
.ex .ex-tag { margin: 0; font: 800 11.5px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--cor); }
.ex h3 { color: var(--navy); margin: 4px 0 6px; }
.ex p:last-child { color: var(--ink-2); }

/* mapa das unidades */
.two-mapa { grid-template-columns: .9fr 1.1fr; }
.mapa-box #tam-unidades { max-width: none; }
/* unidades: fachada e "em breve" */
.un { position: relative; }
.un-f { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center bottom; border-radius: 0; }
.un-f-ambiente { object-position: center; }
.un h3, .un-e { padding-right: 0; }
.un { padding: 0; overflow: hidden; scroll-margin-top: 125px; }
.un-info { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.un-info .un-a { margin-top: auto; padding-top: 12px; }
.un-breve h3, .un-breve .un-r, .un-breve .un-e { padding-right: 0; }
.un-breve { border: 2px dashed rgba(0, 139, 156, .45); background: linear-gradient(135deg, #fff, #EAF7F8); }
.un-chip { align-self: flex-start; margin: -4px 0 8px; padding: 4px 12px; border-radius: 100px; background: var(--ocean); color: #fff; font: 800 12px var(--font); letter-spacing: .05em; }
.un-breve .un-e svg { color: var(--gold); }

/* bilinguismo: topo Cambridge e arte do American Dream */
.hip-camb { background: linear-gradient(115deg, #5E0A12 0%, #9E1222 48%, #B3121F 60%); }
.hip-camb::before, .hip-camb::after { display: none; }
.hip-camb .crumbs, .hip-camb .crumbs a { color: rgba(255, 255, 255, .8); }
.ad-banner { aspect-ratio: 2078 / 757; border-radius: var(--r-xl); background: var(--foto) center / cover; box-shadow: var(--sh-l); margin-bottom: 48px; }

/* Educação Infantil colorida (padrão aprovado do novo.tamandare.com) */
.btn-sol { background: #FFA91F; color: var(--navy-dd); box-shadow: 0 10px 24px rgba(255, 169, 31, .45); }
.btn-sol:hover { background: #F59A00; }
.inf-hero { padding: 18px 0 10px; }
.inf-hero-in { position: relative; width: calc(100% - 24px); min-height: 560px; display: flex; align-items: center; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: #EAF3FF; }
.inf-hero-in::before { content: ''; position: absolute; inset: 0 0 0 38%; z-index: -2; background: var(--foto) var(--foco, 50% 40%) / cover; }
.inf-hero-in::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 8% 90%, rgba(255, 169, 31, .25), transparent 30%), linear-gradient(90deg, #F4F8FF 0%, #F4F8FF 36%, rgba(244, 248, 255, .85) 48%, rgba(244, 248, 255, 0) 70%); }
.inf-hero-txt { width: min(100%, 640px); padding: 56px clamp(24px, 6vw, 110px); }
.inf-hero .crumbs, .inf-hero .crumbs a { color: var(--ink-3); }
.inf-hero h1 { color: var(--navy); }
.inf-hero .lead { color: var(--ink-2); }
.inf-selos { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 26px; }
.inf-selos li { display: flex; align-items: center; gap: 10px; }
.inf-selos svg { width: 30px; height: 30px; flex: none; }
.inf-selos li:nth-child(1) svg { color: #1F5FD6; } .inf-selos li:nth-child(2) svg { color: #D7263D; } .inf-selos li:nth-child(3) svg { color: #F6B800; } .inf-selos li:nth-child(4) svg { color: #14918A; }
.inf-selos span { display: grid; font-size: 14px; color: var(--ink-2); line-height: 1.25; }
.inf-selos b { color: var(--navy); }
.inf-moldura { position: relative; margin: 0; padding: 26px; }
.inf-moldura::before { content: ''; position: absolute; inset: 0; border-radius: 46% 54% 48% 52% / 52% 44% 56% 48%; background: radial-gradient(circle at 70% 25%, #FFE36E 0 18%, transparent 19%), #FFC233; transform: rotate(-4deg); }
.inf-moldura img { position: relative; width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 34px; border: 6px solid #fff; box-shadow: var(--sh-l); transform: rotate(1.5deg); }
.inf-pilulas { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.inf-pilulas li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 100px; background: var(--cor); color: #fff; font: 800 15px var(--font); box-shadow: 0 8px 18px rgba(20, 33, 61, .12); }
.inf-pilulas svg { width: 24px; height: 24px; }
.inf-pils { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.inf-pils article { position: relative; display: flex; flex-direction: column; min-height: 540px; border-radius: 30px; overflow: hidden; background: var(--cor); color: #fff; box-shadow: var(--sh-l); }
.inf-pil-t { position: relative; z-index: 1; padding: 28px 26px 0; }
.inf-pil-t svg { width: 40px; height: 40px; margin-bottom: 14px; }
.inf-pil-t h3 { color: #fff; font-size: 1.2rem; }
.inf-pil-t p { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .92); }
.inf-pils article:nth-child(3) { color: var(--navy-dd); }
.inf-pils article:nth-child(3) h3, .inf-pils article:nth-child(3) p { color: var(--navy-dd); }
.inf-pil-f { position: relative; flex: 1; margin-top: -10px; min-height: 270px; background: var(--foto) center / cover; }
.inf-pil-f::before { content: ''; position: absolute; left: -2%; right: -2%; top: -1px; height: 64px; background: var(--cor); clip-path: path('M0 0 H2000 V20 C 1500 80, 700 -10, 0 60 Z'); }
.tema-infantil .inf-pil-f::before { clip-path: ellipse(75% 100% at 30% 0%); }

@media (max-width: 1180px) {
  .icards, .inf-pils { grid-template-columns: repeat(2, 1fr); }
  .bn-camb { width: 34%; }
}
@media (max-width: 900px) {
  .two-mapa { grid-template-columns: 1fr; }
  .bn-ret { top: 26px; right: 50%; width: 46%; max-width: 230px; transform: translateX(50%) rotate(2.5deg); }
  .bn-ret figcaption { left: -18px; bottom: 14px; padding: 10px 14px; }
  .bn-ret b { font-size: 1.4rem; }
  .bn-retrato .bn-txt { padding-top: 330px; }
  .bn-camb { top: 0; bottom: auto; left: 0; width: 100%; height: 150px; clip-path: none; }
  .bn-camb img { width: 240px; margin: 0; }
  .bn-camb p { margin: 0; font-size: 11px; }
  .bn-camb::before { display: none; }
  .bn-cambridge .bn-txt, .hip-camb .hip-txt { padding-top: 180px; }
  .hip-camb { align-items: flex-start; min-height: 0; }
  .inf-hero-in::before { inset: 0 0 50% 0; }
  .inf-hero-in::after { background: linear-gradient(180deg, rgba(244, 248, 255, 0) 30%, #F4F8FF 52%); }
  .inf-hero-in { align-items: flex-end; min-height: 760px; }
  .inf-hero-txt { padding: 40px 24px 36px; }
}
@media (max-width: 640px) {
  .icards, .icards-4, .inf-pils { grid-template-columns: 1fr; }
  .inf-pils article { min-height: 460px; }
  .bn-arte::after { background: linear-gradient(180deg, rgba(12, 23, 51, .2) 0%, rgba(12, 23, 51, .7) 40%, #0C1733 70%); }
}
/* celular: banners com card/selo e topo da Educação Infantil sem sobrepor o texto */
@media (max-width: 640px) {
  .bn-track { min-height: 780px; }
  .bn-ret { top: 22px; width: 42%; max-width: 180px; }
  .bn-ret figcaption { left: -24px; bottom: 10px; }
  .bn-retrato .bn-txt { padding-top: 0; }
  .bn-camb { height: 140px; }
  .bn-cambridge .bn-txt { padding-top: 0; }
  .inf-hero-in::before { inset: 0 0 60% 0; }
  .inf-hero-in::after { background: linear-gradient(180deg, rgba(244, 248, 255, 0) 30%, #F4F8FF 41%); }
  .inf-hero-in { min-height: 860px; }
}
@media (max-width: 640px) {
  .inf-hero-in { align-items: flex-start; min-height: 0; }
  .inf-hero-in::before { inset: 0 0 auto 0; height: 340px; }
  .inf-hero-in::after { background: linear-gradient(180deg, rgba(244, 248, 255, 0) 0, rgba(244, 248, 255, 0) 280px, #F4F8FF 345px); }
  .inf-hero-txt { padding-top: 330px; }
}
@media (max-width: 900px) { .bn-txt { width: auto; } .bn .ctas .btn { white-space: normal; text-align: center; } }

/* ---------- v3 (30/11): ajustes do Antonio ---------- */
/* Placar: número e texto centralizados em cada caixa. */
.pl { text-align: center; justify-items: center; align-content: center; }

/* "Uma jornada, todas as fases": o estilo do site anterior (degradê colorido por fase + etiqueta). */
.jorn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.jc { position: relative; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 20px; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--cor); box-shadow: var(--sh); }
.jc::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--foto) var(--foco) / cover no-repeat; transition: transform .6s var(--ease-out); }
.jc::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 26, 98, 0) 30%, var(--cor) 100%); }
.jc-tag { padding: 6px 14px; border-radius: 100px; background: var(--chip); color: #fff; font: 700 12px var(--font); text-transform: uppercase; letter-spacing: 1.5px; box-shadow: 0 0 10px rgba(0, 0, 0, .08); }
.jc-txt { display: grid; gap: 4px; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.jc h3 { color: #fff; font: 800 1.25rem/1.2 var(--font); margin: 0; }
.jc p { margin: 0 0 8px; font-size: 14.5px; color: rgba(255, 255, 255, .94); }
.jc-go { font: 700 14px var(--font); }
@media (hover: hover) and (pointer: fine) { .jc:hover::before { transform: scale(1.05); } }

/* Vídeos da home (institucional, Bolsão, OLIMTAM). */
.vid { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--r-xl); background: #000 center / cover no-repeat; cursor: pointer; display: grid; place-items: center; color: var(--orange); box-shadow: var(--sh-l); overflow: hidden; }
.vid svg { width: 84px; height: 84px; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .4)); transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .vid:hover svg { transform: scale(1.08); } }
.bolsao-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.bolsao-band > div { max-width: none; }
.bolsao-band::after { background: linear-gradient(90deg, rgba(175, 62, 16, .96) 0%, rgba(175, 62, 16, .9) 55%, rgba(175, 62, 16, .7) 100%); }
.bolsao-band .vid { color: var(--navy); border: 4px solid rgba(255, 255, 255, .9); }

/* Avaliações do Google. */
.gr { display: grid; grid-template-columns: 250px 1fr; gap: 20px; align-items: stretch; }
.gr-resumo { display: grid; align-content: center; justify-items: center; text-align: center; gap: 8px; padding: 28px 20px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--sh); text-decoration: none; color: var(--ink-2); }
.gr-resumo b { font: 900 1.6rem var(--font); color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.gr-resumo .gr-st { font-size: 24px; }
.gr-fonte { display: inline-flex; gap: 8px; align-items: center; margin-top: 6px; font: 700 15px var(--font); color: var(--ink-2); }
.gr-st { color: #FBBC04; font-size: 15px; letter-spacing: 2px; line-height: 1; }
.gr-st i { color: #D9DEE7; font-style: normal; }
.gr-g { width: 20px; height: 20px; flex: none; }
.gr-lista { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gr-c { margin: 0; padding: 20px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--sh); display: flex; flex-direction: column; gap: 14px; }
.gr-c header { display: flex; align-items: center; gap: 10px; }
.gr-c header > span:nth-child(2) { display: grid; gap: 4px; flex: 1; min-width: 0; }
.gr-c b { font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gr-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ocean); color: #fff; font: 800 16px var(--font); flex: none; }
.gr-c:nth-child(2) .gr-av { background: var(--orange); } .gr-c:nth-child(3) .gr-av { background: var(--navy); } .gr-c:nth-child(4) .gr-av { background: #7B4AE2; }
.gr-c p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

/* Cambridge: a arte original do site anterior como fundo (brasão e nome corretos). */
.bn-cambridge { background: #5E0A12; }
.bn-cambridge::before, .bn-cambridge::after { display: block; }
.bn-cambridge::before { inset: 0; }
.bn-cambridge::after { background: linear-gradient(90deg, rgba(58, 4, 10, .94) 0%, rgba(58, 4, 10, .8) 36%, rgba(58, 4, 10, .25) 54%, rgba(58, 4, 10, 0) 62%); }
.hip-camb { background: #5E0A12; }
.hip-camb::before, .hip-camb::after { display: block; }
.hip-camb::before { inset: 0; }
.hip-camb::after { background: linear-gradient(90deg, rgba(58, 4, 10, .94) 0%, rgba(58, 4, 10, .8) 40%, rgba(58, 4, 10, .25) 56%, rgba(58, 4, 10, 0) 64%); }

@media (max-width: 1180px) {
  .gr { grid-template-columns: 1fr; }
  .gr-lista { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .jorn { grid-template-columns: repeat(2, 1fr); }
  .bolsao-band { grid-template-columns: 1fr; }
  .two-vid .vid { order: 2; }
  /* celular: a arte inteira no topo (3:1), com o brasão visível, e o texto embaixo */
  .bn-cambridge::before, .hip-camb::before { inset: 0 0 auto 0; height: calc((100vw - 24px) / 3); background-size: 100% auto; background-position: 50% 0; transform: none; }
  .bn-cambridge::after, .hip-camb::after { background: linear-gradient(180deg, rgba(94, 10, 18, 0) 0, rgba(94, 10, 18, 0) calc((100vw - 24px) / 3 - 24px), #5E0A12 calc((100vw - 24px) / 3)); }
  .bn-cambridge .bn-txt { padding-top: 0; }
  .hip-camb { align-items: flex-start; min-height: 0; }
  .hip-camb .hip-txt { padding-top: calc((100vw - 24px) / 3 + 20px); }
}
@media (max-width: 640px) {
  .jorn, .gr-lista { grid-template-columns: 1fr; }
  .jc { min-height: 260px; }
}

/* ---------- Retratos de aprovados (30/11): a pessoa grande no banner, em pose de destaque ---------- */
.bn-hero { position: absolute; z-index: 1; right: clamp(0px, 5vw, 90px); bottom: 0; height: 100%; width: min(44vw, 560px); margin: 0; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.bn-hero::before { content: ''; position: absolute; left: 50%; top: 12%; width: 92%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 151, 0, .5) 0%, rgba(0, 139, 156, .32) 42%, rgba(0, 139, 156, 0) 70%); }
.bn-hero-n { position: absolute; top: 4%; left: 50%; transform: translateX(-50%); font: 900 clamp(7rem, 15vw, 14rem)/1 var(--font); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .22); white-space: nowrap; }
.bn-hero img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }
.bn-hero figcaption { position: absolute; left: 0; bottom: 16%; display: grid; padding: 14px 22px; border-radius: 18px; background: var(--gold); color: var(--navy-dd); box-shadow: 0 16px 34px rgba(0, 0, 0, .35); transform: rotate(-4deg); }
.bn-hero b { font: 900 2.2rem/1 var(--font); }
.bn-hero span:not(.bn-hero-n) { font: 700 14px var(--font); }
.bn.on .bn-hero img { animation: hero-in 1s var(--ease-out) both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@media (max-width: 1180px) {
  .bn-retrato .bn-txt { width: min(100%, 520px); }
  .bn-hero { width: min(46vw, 460px); right: 0; }
}
@media (max-width: 900px) {
  .bn-hero { top: 0; bottom: auto; right: 50%; transform: translateX(50%); width: min(86vw, 380px); height: 380px; }
  .bn-hero img { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 96%); mask-image: linear-gradient(180deg, #000 62%, transparent 96%); }
  .bn-hero figcaption { left: auto; right: -4%; bottom: 26%; padding: 10px 16px; }
  .bn-hero b { font-size: 1.6rem; }
  .bn-hero span:not(.bn-hero-n) { font-size: 12px; }
  .bn-hero-n { font-size: 7.5rem; top: 2%; }
  .bn-retrato .bn-txt { padding-top: 330px; }
}
@media (max-width: 640px) {
  .bn-hero { height: 350px; width: min(88vw, 340px); }
  .bn-retrato .bn-txt { padding-top: 0; }
  .bn-hero-n { font-size: 6rem; }
}
@media (prefers-reduced-motion: reduce) { .bn.on .bn-hero img { animation: none; } }
.rosto-ret img { background: radial-gradient(circle at 50% 40%, rgba(255, 151, 0, .45), rgba(0, 139, 156, .25) 45%, transparent 70%), linear-gradient(160deg, #0C1733, #20366D); object-fit: cover; object-position: 50% 0; }

/* ---------- Segmentos mais completos (30/11): o que está incluído + contraturno + ENEM por área ---------- */
.pl { grid-template-rows: auto 1fr; min-height: 132px; }
.pl b { align-self: end; }
.pl p { align-self: start; }
.oferta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.oferta article { padding: 26px 22px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--sh); }
.oferta h3 { font-size: 1.05rem; margin: 14px 0 8px; }
.oferta p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.oferta-i { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(0, 139, 156, .1); color: var(--ocean); }
.oferta-i svg { width: 26px; height: 26px; }
.oferta article:nth-child(2) .oferta-i { background: rgba(175, 62, 16, .1); color: var(--orange); }
.oferta article:nth-child(3) .oferta-i { background: rgba(32, 54, 109, .1); color: var(--navy); }
.oferta article:nth-child(4) .oferta-i { background: rgba(255, 151, 0, .16); color: #B86E00; }
.tema-infantil .oferta article { border-radius: 26px; }
.ct { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; align-items: stretch; }
.ct-sem-curso { grid-template-columns: minmax(0, 640px); justify-content: center; }
.ct-curso { padding: 30px 28px; border-radius: var(--r-xl); background: linear-gradient(150deg, #0C1733, #20366D); color: #fff; box-shadow: var(--sh-l); display: flex; flex-direction: column; align-items: flex-start; }
.ct-curso h3 { color: #fff; font-size: 1.35rem; margin: 12px 0 10px; }
.ct-curso p { margin: 0 0 22px; color: rgba(255, 255, 255, .86); font-size: 15px; line-height: 1.6; flex: 1; }
.ct-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 100px; background: rgba(255, 151, 0, .18); color: var(--gold); font: 800 12px var(--font); letter-spacing: .06em; text-transform: uppercase; }
.ct-tag svg { width: 14px; height: 14px; }
.ct-curso p.ct-tag { flex: none; margin: 0; color: var(--gold); }
.ct-box { padding: 26px 24px; border-radius: var(--r-xl); background: var(--white); box-shadow: var(--sh); }
.ct-box h3 { font-size: 1.1rem; margin: 14px 0 14px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 13px; border-radius: 100px; background: var(--screen); border: 1px solid var(--line); font: 600 13.5px var(--font); color: var(--navy); }
.ct-n { margin: 16px 0 0; font-size: 13.5px; color: var(--ink-3); }
.enem .enem-top { background: var(--navy); }
.enem .enem-top b { color: var(--gold); }
.enem .enem-top p { color: #fff; }
.enem .enem-top span { color: rgba(255, 255, 255, .7); }
.enem-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.btn svg { flex: none; }
.enem-ctas .btn svg, .ad-ctas .btn svg { width: 18px; height: 18px; }
.inf-moldura-b::before { background: radial-gradient(circle at 30% 75%, #8FD3FF 0 16%, transparent 17%), #2FA7E0; transform: rotate(3deg); }
@media (max-width: 1180px) { .oferta { grid-template-columns: repeat(2, 1fr); } .ct { grid-template-columns: 1fr 1fr; } .ct-curso { grid-column: 1 / -1; } }
@media (max-width: 640px) { .oferta, .ct { grid-template-columns: 1fr; } }
.ct-2 { grid-template-columns: 1.2fr 1fr; }
.enem div { background: var(--white); box-shadow: var(--sh); }
.enem .enem-top { background: var(--navy); }
@media (max-width: 1180px) { .ct-2 { grid-template-columns: 1fr 1fr; } .ct-2 .ct-curso { grid-column: auto; } }
@media (max-width: 640px) { .ct-2 { grid-template-columns: 1fr; } }

/* ---------- Rodada 5 (01/12): banners de campanha, seções extras, avaliações em mural ---------- */
/* Banner de campanha: a cena inteira de fundo (pessoa grande à direita) + selo dourado. */
.bn-campanha { background: #0C1733; }
.bn-campanha::before { inset: 0; }
.bn-campanha::after { background: linear-gradient(90deg, #0C1733 0%, rgba(12, 23, 51, .88) 28%, rgba(12, 23, 51, .35) 50%, rgba(12, 23, 51, 0) 64%); }
.bn-selo { position: absolute; z-index: 1; right: clamp(20px, 5vw, 90px); bottom: clamp(70px, 12%, 110px); margin: 0; display: grid; padding: 14px 22px; border-radius: 18px; background: var(--gold); color: var(--navy-dd); box-shadow: 0 16px 34px rgba(0, 0, 0, .35); transform: rotate(-4deg); }
.bn-selo b { font: 900 2.1rem/1 var(--font); }
.bn-selo span { font: 700 14px var(--font); }
@media (max-width: 900px) { .bn-selo { top: 26px; bottom: auto; right: 22px; padding: 10px 16px; } .bn-selo b { font-size: 1.5rem; } .bn-selo span { font-size: 12px; } }

/* Educação Infantil: a arte do topo em tela cheia. */
.inf-hero-cheio::before { inset: 0 0 0 34%; }
@media (max-width: 900px) { .inf-hero-cheio::before { background-position: 70% 50%; } }

/* Seções extras dos segmentos. */
.two-inv > :first-child { order: 2; }
.chips-l { margin: 4px 0 18px; }
.fx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fx article { padding: 30px 26px; border-radius: var(--r-l); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); text-align: center; }
.fx b { display: block; font: 900 clamp(2.2rem, 1.6rem + 1.6vw, 3rem)/1 var(--font); color: var(--gold); letter-spacing: -.02em; }
.fx h3 { color: #fff; font-size: 1.05rem; margin: 12px 0 8px; }
.fx p { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.sc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sc-4 { grid-template-columns: repeat(4, 1fr); }
.sc article { position: relative; padding: 28px 24px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--sh); overflow: hidden; }
.sc-n { font: 900 2.6rem/1 var(--font); color: rgba(32, 54, 109, .12); }
.sc-tag { margin: 10px 0 0; font: 800 12px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.sc h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.sc p:not(.sc-tag) { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.areas article { padding: 22px 20px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--sh); border-top: 4px solid var(--ocean); }
.areas article:nth-child(2) { border-color: var(--orange); } .areas article:nth-child(3) { border-color: #1E9E57; } .areas article:nth-child(4) { border-color: var(--navy); } .areas article:nth-child(5) { border-color: var(--gold); }
.areas h3 { font-size: 1.02rem; margin: 0 0 12px; }
.areas-nota { margin-top: 18px; color: var(--ink-3); font-size: 14px; }
.cit { margin: 0; text-align: center; }
.cit blockquote { margin: 0 0 18px; font: 700 clamp(1.25rem, 1rem + .9vw, 1.7rem)/1.45 var(--font); color: var(--navy); }
.cit figcaption { display: grid; gap: 2px; }
.cit b { color: var(--ink); } .cit span { color: var(--orange); font-weight: 600; font-size: 14px; }
.icards-3 { grid-template-columns: repeat(3, 1fr); }
.ad-ex { margin-top: 26px; font-size: 16px; color: var(--ink-2); }

/* Avaliações do Google: total por unidade + mural com todas. */
.gr-topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-bottom: 26px; }
.gr-total { margin: 0; display: inline-flex; align-items: center; gap: 10px; font: 600 16px var(--font); color: var(--ink-2); }
.gr-total b { font: 900 1.6rem var(--font); color: var(--navy); }
.gr-mural { columns: 3 300px; column-gap: 16px; }
.gr-mural .gr-c { break-inside: avoid; margin: 0 0 16px; }
.gr-c footer { margin-top: 2px; font: 700 12px var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--ocean); }
@media (max-width: 1180px) { .sc-4, .areas { grid-template-columns: repeat(2, 1fr); } .icards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .two-inv > :first-child { order: 0; } .fx, .sc { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .sc-4, .areas, .icards-3 { grid-template-columns: 1fr; } }

/* Resultados: os retratos são as cenas de campanha (pessoa à direita). */
.rosto-ret img { object-position: 72% 30%; background: none; }
/* Campanha: a cena inteira na altura do banner (aparecem os braços cruzados), alinhada à direita. */
@media (min-width: 901px) { .bn-campanha::before { background-size: auto 100%; background-position: 100% 50%; background-color: #0C1733; } }
@media (min-width: 901px) { .bn-campanha .bn-selo { right: 31%; bottom: 14%; } }

/* Ajustes editoriais: preservar as artes originais e a navegação do site. */
.inf-arte { margin: 0; }
.inf-arte img { display: block; width: 100%; height: auto; object-fit: contain; }
.inf-pilulas li:nth-child(3) { color: var(--navy-dd); }
.historia-texto { max-width: 72ch; margin: 28px auto 48px; }
.historia-texto p { margin: 0 0 1.2em; }
.profile-breadcrumb { display: flex; gap: 12px; align-items: center; padding-block: 24px; font-size: 14px; }
.profile-document { display: block; width: 100%; height: 80vh; border: 0; background: #fff; }
@media (max-width: 600px) {
  .inf-essencia { gap: 24px; }
}

.inf-essencia-sec { background: #F5F7FC; }
.inf-essencia .inf-pilulas { gap: 10px; }
.inf-essencia .inf-pilulas li { padding: 12px 14px; gap: 8px; font-size: 13px; box-shadow: none; }
.inf-essencia .inf-pilulas li:last-child { background: #087F7C; }
.hip-instituicao::before { inset: 0; background-position: right center; }
@media (min-width: 961px) {
  .hip-instituicao { min-height: 480px; }
  .hip-instituicao::before { background-size: 100% auto; background-repeat: no-repeat; }
  .hip-instituicao .hip-txt { padding-block: 48px; }
}

/* Cuidados essenciais da Educação Infantil, conforme a página de referência. */
.inf-cuidados-sec { background: #F5F7FC; }
.inf-cuidados-sec > .wrap > h2, .inf-cuidados-sec > .wrap > .eyebrow { text-align: center; }
.inf-cuidados { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.inf-cuidados article { padding: 22px; border-radius: 28px; background: #fff; box-shadow: var(--sh); }
.inf-cuidados img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; margin-bottom: 20px; }
.inf-cuidados h3 { font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 1.25; margin-bottom: 16px; }
.inf-cuidados p { margin: 0; font-size: 16px; line-height: 1.65; }
.hip-fund1-original::before { inset: 0; background-position: right top; }
.tema-fund1 .hip-fund1-original { background: #073579; }
.tema-fund1 .hip-fund1-original::after { background: linear-gradient(90deg, #073579 0%, #073579 30%, rgba(7, 53, 121, .8) 48%, rgba(7, 53, 121, 0) 85%); }
@media (max-width: 900px) {
  .hip-fund1-original::before { inset: 0 0 45% 0; }
  .tema-fund1 .hip-fund1-original::after { background: linear-gradient(180deg, rgba(7, 53, 121, 0) 20%, rgba(7, 53, 121, .92) 52%, #073579 70%); }
}
@media (max-width: 1100px) { .inf-cuidados { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .inf-cuidados { grid-template-columns: minmax(0, 1fr); } }

/* Galeria do Fundamental I: mantém a composição completa das imagens originais. */
.galeria-dupla { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.galeria-dupla img { height: auto; aspect-ratio: auto; }
.depoimentos-familias .gr-c b { white-space: normal; }
@media (max-width: 640px) { .galeria-dupla { grid-template-columns: 1fr; } }

/* Experiências: as imagens originais em cartões compactos, sem texto sobre as fotos. */
.ex.ex-foto { padding: 0; border-top: 0; }
.ex-foto > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ex-corpo { padding: 22px 24px 26px; }
.ex-foto .ex-tag { color: var(--navy); }
.ex-foto .ex-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--navy); font-weight: 700; }
.ex-link svg { width: 20px; height: 20px; }
/* A primeira campanha mantém a altura do carrossel e o texto fora do retrato. */
.bn-rebeca { position: relative; inset: auto; min-height: inherit; background: #0c1733; }
.two > * { min-width: 0; }
.two .ctas .btn { white-space: normal; text-align: center; }
.foto-assinada { position: relative; align-self: start; }
.galeria .foto-marca-oficial { position: absolute; top: 8%; right: 4%; width: 34%; height: auto; border-radius: 0; object-fit: contain; }
@media (max-width: 640px) {
  .bn-track { min-height: 860px; }
  .bn-davi, .bn-rebeca { background: #0c1733; }
  .bn-davi::before, .bn-rebeca::before { background-size: auto 350px; background-position: right top; transform: none; }
  .bn-davi::after, .bn-rebeca::after { background: linear-gradient(180deg, transparent 260px, #0c1733 350px); }
  .bn-davi .bn-txt, .bn-rebeca .bn-txt { padding-top: 370px; }
  .bn-davi .bn-selo, .bn-rebeca .bn-selo { top: 260px; right: 20px; bottom: auto; }
}

/* Campanha aprovada: identificação junto ao retrato e universidades no texto. */
.bn-rebeca { min-height: max(610px, 74vh); }
.bn-rebeca::before { transform: none; }
.bn-rebeca::after { background: linear-gradient(0deg, rgba(12,23,51,.85), transparent 24%), linear-gradient(90deg, #0c1733 0%, rgba(12,23,51,.96) 32%, rgba(12,23,51,.12) 76%, transparent); }
.bn-rebeca .bn-txt { max-width: 54%; padding: 48px 0 96px; }
.bn-rebeca .ctas { gap: 12px; }
.bn-rebeca .btn { font-size: 15px; padding: 15px 20px; white-space: normal; }
.bn-universidades { margin: 20px 0 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.22); max-width: 540px; }
.bn-universidades p { margin: 0 0 8px; color: #e2e8f6; font-size: 13px; }
.bn-universidades ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; color: white; font-size: 16px; font-weight: 700; line-height: 1.6; }
.bn-nome-retrato { position: absolute; z-index: 1; right: 4%; bottom: 28px; margin: 0; color: #fff; max-width: 38%; font-size: 22px; font-weight: 700; text-align: right; }
@media (max-width: 900px) {
  .bn-rebeca { min-height: 850px; }
  .bn-rebeca::before { inset: 0; background-size: auto 350px; background-position: right top; }
  .bn-rebeca::after { background: linear-gradient(180deg, transparent 260px, #0c1733 350px); }
  .bn-rebeca .bn-txt { max-width: none; width: auto; margin: 0 22px; padding: 370px 0 100px; }
  .bn-nome-retrato { top: 306px; right: 22px; bottom: auto; max-width: calc(100% - 44px); font-size: 18px; }
}

/* Fotos originais nos seis diferenciais do Fundamental II. */
.icard-foto img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-m); margin-bottom: 12px; }
.icard-foto .eyebrow { color: var(--orange); font-size: 12px; letter-spacing: .12em; font-weight: 700; }

/* Ensino Médio: duas trajetórias dentro da identidade da escola. */
.em-page [hidden] { display: none !important; }
.em-escolha { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 26px; padding-bottom: 10px; }
.em-escolha .eyebrow { margin-bottom: 6px; }
.em-convite { margin: 0; color: var(--navy); font-weight: 700; font-size: 19px; }
.em-tabs { display: flex; padding: 6px; border: 1px solid var(--line); background: #fff; border-radius: 22px; gap: 5px; }
.em-tabs button { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px 22px; border: 0; border-radius: 17px; background: transparent; color: var(--navy); font: 800 16px var(--font); text-align: left; cursor: pointer; }
.em-tabs svg { width: 26px; height: 26px; flex-shrink: 0; }
.em-tabs small { display: block; margin-top: 3px; font-size: 11px; font-weight: 500; }
.em-tabs button[aria-selected="true"] { background: #162d3e; color: #fff; box-shadow: inset 0 -3px var(--gold); }
.em-page[data-trajetoria="vestibular"] .em-tabs button[aria-selected="true"] { background: var(--navy); }
.em-tabs button:hover:not([aria-selected="true"]) { background: var(--screen); }
.em-tabs button:focus-visible, [data-em-panel]:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.em-hero { margin-top: 12px; }
.hip-medio-original { min-height: 510px; background: #071e57; }
.hip-medio-original::before { inset: 0; background: url('/assets/originais/ensino-medio-patio.png') right center / cover; }
.hip-medio-original::after { background: linear-gradient(90deg, rgba(16, 38, 50, .9), rgba(16, 38, 50, .78) 33%, rgba(16, 38, 50, .12) 66%, transparent 85%); }
.em-page[data-trajetoria="vestibular"] .hip-medio-original::after { background: linear-gradient(90deg, rgba(4, 27, 79, .35), rgba(4, 27, 79, .2) 45%, transparent 65%); }
.hip-medio-original .hip-txt { width: 50%; padding: 40px clamp(24px, 3.6vw, 64px); }
.hip-medio-original h1 { font-size: clamp(32px, 3.7vw, 60px); }
.hip-medio-original .lead { font-size: clamp(15px, 1.2vw, 20px); }
.em-hero-trajeto { color: #ffcc70; font-size: 12px; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; }
.em-page[data-trajetoria="militar"] { --navy: #133f27; --teal: #416247; --ink: #08130d; --line: #dce4dc; }
.em-page[data-trajetoria="militar"] .hip-medio-original { background: #08130d; }
.em-page[data-trajetoria="militar"] .hip-medio-original::before { background-image: url('/assets/originais/alunos-tres-fardados.webp'); }
.em-page[data-trajetoria="militar"] .hip-medio-original::after { background: linear-gradient(95deg, rgba(8,19,13,.95), rgba(8,19,13,.8) 40%, rgba(8,19,13,.14) 80%); }
.em-page[data-trajetoria="militar"] .em-tabs button[aria-selected="true"] { background: #133f27; }
.em-page[data-trajetoria="militar"] .sc article { border-top: 3px solid #416247; }
.em-page[data-trajetoria="militar"] .sec-alt { background: #f1f4ef; }
.em-militar-resultados { background: linear-gradient(100deg,rgba(8,19,13,.94),rgba(19,63,39,.86)), url('/assets/originais/camuflagem-militar.jpg') center / 800px; }
.em-resultados { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 38px; }
.em-resultados article { border-top: 2px solid rgba(255, 255, 255, .22); padding: 24px 0 0; }
.em-resultados b { color: var(--gold); font-size: clamp(36px, 4vw, 56px); font-weight: 800; line-height: 1.1; }
.em-resultados h3 { color: #fff; font-size: 19px; margin-top: 16px; }
.em-resultados p { color: rgba(255, 255, 255, .8); font-size: 14px; margin-bottom: 0; }
.em-fonte { color: rgba(255, 255, 255, .7); font-size: 12px; margin-top: 30px; }
.em-links { margin-top: 32px; justify-content: center; }
.em-acompanhamento { padding: clamp(24px, 4vw, 48px); background: #fff; border-radius: var(--r-l); border-top: 4px solid var(--gold); box-shadow: var(--sh); }
.em-acompanhamento h3 { font-size: 30px; }
.em-acompanhamento p { color: var(--ink-2); }
.em-ferramentas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.em-ferramentas article { padding: 24px 0; border-top: 1px solid var(--line); }
.em-ferramentas h3 { font-size: 23px; }
.em-ferramentas p { color: var(--ink-2); }
.em-internacional { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.em-internacional article { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); background: #fff; box-shadow: var(--sh); }
.em-internacional h3 { font-size: 28px; }
.em-internacional p:not(.eyebrow) { color: var(--ink-2); }
/* Uma faixa de vídeos: quatro no desktop, dois no tablet e um com prévia no celular. */
.em-deps-controles { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.em-deps-controles p { margin: 0; color: var(--ink-2); font-size: 14px; }
.em-deps-controles > div { display: flex; gap: 10px; }
.em-deps-seta { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.em-deps-seta svg { width: 20px; height: 20px; }
.em-deps-anterior svg { transform: rotate(180deg); }
.em-deps-seta:hover:not(:disabled) { background: var(--navy); color: var(--white); }
.em-deps-seta:disabled { opacity: .35; cursor: default; }
.em-deps-seta:focus-visible, .em-deps-uerj:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.em-deps-uerj { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 4px 0 18px; scrollbar-width: thin; scrollbar-color: var(--navy) var(--line); }
.em-deps-uerj .dep { min-width: 0; scroll-snap-align: start; }
.em-deps-uerj .dep figcaption { padding: 16px; }
.em-deps-uerj .dep-v svg { width: 48px; height: 48px; }
@media (max-width: 1000px) { .em-deps-uerj { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 1000px) {
  .em-escolha { flex-direction: column; align-items: stretch; gap: 14px; }
  .em-tabs button { flex: 1; }
  .em-resultados { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hip-medio-original .hip-txt { width: 62%; }
  .hip-medio-original .ctas { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .em-escolha { padding-top: 16px; }
  .em-convite { font-size: 17px; }
  .em-tabs { border-radius: 18px; }
  .em-tabs button { justify-content: center; font-size: 14px; padding: 12px 7px; min-height: 68px; border-radius: 12px; }
  .em-tabs svg { display: none; }
  .em-tabs small { font-size: 10px; max-width: 135px; }
  .hip-medio-original { padding-top: 230px; min-height: 0; }
  .hip-medio-original::before { inset: 0 0 auto; height: 260px; background-size: auto 260px; background-position: right top; }
  .hip-medio-original::after { background: linear-gradient(0deg, #162d3e 0%, #162d3e calc(100% - 245px), transparent calc(100% - 195px)); }
  .em-page[data-trajetoria="vestibular"] .hip-medio-original::after { background: linear-gradient(0deg, #071e57 0%, #071e57 calc(100% - 245px), transparent calc(100% - 195px)); }
  .hip-medio-original .hip-txt { width: 100%; padding: 22px 24px 32px; }
  .hip-medio-original h1 { font-size: 34px; }
  .hip-medio-original .ctas { align-items: stretch; }
  .hip-medio-original .crumbs { display: none; }
  .em-resultados { gap: 24px 18px; }
  .em-resultados h3 { font-size: 17px; }
  .em-resultados p { font-size: 13px; }
  .em-ferramentas, .em-internacional { grid-template-columns: 1fr; gap: 16px; }
  .em-deps-uerj { grid-auto-columns: 85%; }
  .em-deps-uerj .dep figcaption { padding: 14px; }
  .em-acompanhamento .btn { white-space: normal; }
}

/* Plano individual e materiais: benefícios antes das ferramentas. */
.em-plano { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin: 38px 0 24px; padding: clamp(24px,4vw,48px); background: #eef2fa; border-left: 4px solid var(--gold); border-radius: 0 var(--r-l) var(--r-l) 0; }
.em-plano h3 { font-size: clamp(24px,2.5vw,36px); line-height: 1.25; margin: 0; }
.em-plano h3 strong { display: block; margin-top: 12px; color: #213d78; }
.em-plano p:last-child { margin-bottom: 0; }
.em-materiais { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.em-materiais article { border-top: 2px solid var(--gold); padding: 28px 0; }
.em-materiais .btn { white-space: normal; }
.em-destinos { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.em-destinos h4 { font-size: 16px; margin: 0 0 12px; }
.em-destinos p { font-weight: 700; line-height: 1.8; margin-bottom: 10px; }
.em-destinos small, .em-nota { font-size: 12px; color: var(--ink-2); }
.em-nota { max-width: 860px; text-align: center; margin: 28px auto 0; }
.em-nota a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .em-page[data-trajetoria="militar"] .hip-medio-original::before { background-size: cover; background-position: right 28%; }
  .em-page[data-trajetoria="militar"] .hip-medio-original::after { background: linear-gradient(0deg,#08130d 0%,#08130d calc(100% - 245px),transparent calc(100% - 195px)); }
  .em-plano, .em-materiais { grid-template-columns: 1fr; gap: 22px; }
}

/* As três Forças e apoio no dia do exame, com o mesmo peso visual. */
.em-forcas { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; margin-top: 48px; }
.em-forcas article { border-top: 3px solid var(--gold); padding: 24px 0 0; }
.em-forcas h3 { font-size: 22px; }
.em-forcas p:last-child { color: var(--ink-2); margin-bottom: 0; }
.em-acolhimento h3 { margin-top: 20px; font-size: 23px; }
.em-acolhimento p { color: var(--ink-2); }
.em-militar-resultados .em-resultados { grid-template-columns: repeat(6,minmax(0,1fr)); }
.em-militar-resultados .em-resultados article { grid-column: span 2; }
.em-militar-resultados .em-resultados article:nth-child(-n+2) { grid-column: span 3; }
.em-militar-resultados .em-resultados h3 { max-width: 380px; }
.em-universidade { margin: 0 0 28px; }
.em-universidade img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; display: block; }
.em-universidade figcaption { font-size: 12px; color: var(--ink-2); padding-top: 10px; }
.em-creditos { font-size: 11px; color: var(--ink-2); text-align: center; margin: 24px auto 0; }
.em-creditos a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
 .em-forcas { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
 .em-militar-resultados .em-resultados { grid-template-columns: 1fr; }
 .em-militar-resultados .em-resultados article, .em-militar-resultados .em-resultados article:nth-child(-n+2) { grid-column: auto; }
}

/* Cursos: três objetivos, com a mesma navegação do Ensino Médio. */
.cp-page[data-trajetoria="militar"] { --navy: #133f27; --teal: #416247; --ink: #08130d; --line: #dce4dc; }
.cp-page[data-trajetoria="tecnico"] { --navy: #075767; --teal: #086a76; --line: #cfe1e5; }
.cp-page[data-trajetoria="militar"] .sec-alt { background: #f1f4ef; }
.cp-page[data-trajetoria="tecnico"] .sec-alt { background: #edf5f6; }
.cp-page .em-tabs button[aria-selected="true"] { background: var(--navy); }
.cp-escolha > div:first-child { flex-shrink: 0; }
.cp-escolha > div:first-child > p:last-child { margin: 4px 0 0; font-size: 14px; }
.cp-tabs button { padding: 12px 16px; }
.cp-heading { margin-bottom: 36px; max-width: 900px; }
.cp-heading h2 { margin: 0 0 20px; }
.cp-heading p { margin-bottom: 0; }
.cp-page .sec-dark .cp-heading h2 { color: #fff; }
.cp-page .sec-dark .cp-heading p { color: #dfe7ed; }
.cp-hero { min-height: 500px; background: #08130d; }
.cp-hero::before { inset: 0; background: url('/assets/originais/alunos-tres-fardados.webp') right center / cover; }
.cp-hero::after { background: linear-gradient(90deg,rgba(8,19,13,.95),rgba(8,19,13,.78) 36%,rgba(8,19,13,.08) 70%,transparent); }
.cp-hero .hip-txt { width: 52%; padding: 44px clamp(24px,3.6vw,64px); }
.cp-hero h1 { font-size: clamp(32px,3.7vw,60px); }
.cp-hero .lead { font-size: clamp(15px,1.2vw,20px); }
.cp-page[data-trajetoria="vestibular"] .cp-hero { background: #071e57; }
.cp-page[data-trajetoria="vestibular"] .cp-hero::before { background-image: url('/assets/fotos/cve-sala-cheia.jpg'); }
.cp-page[data-trajetoria="vestibular"] .cp-hero::after { background: linear-gradient(90deg,rgba(7,30,87,.97),rgba(7,30,87,.9) 38%,rgba(7,30,87,.12) 90%); }
.cp-page[data-trajetoria="tecnico"] .cp-hero { background: #064653; }
.cp-page[data-trajetoria="tecnico"] .cp-hero::before { background-image: url('/assets/fotos/lousa.jpg'); }
.cp-page[data-trajetoria="tecnico"] .cp-hero::after { background: linear-gradient(90deg,rgba(6,70,83,.97),rgba(6,70,83,.88) 38%,rgba(6,70,83,.12) 90%); }
.cp-catalogo { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 40px; }
.cp-catalogo article { border-top: 2px solid var(--line); padding: 24px 0; }
.cp-catalogo h3 { font-size: 27px; margin: 0 0 12px; }
.cp-catalogo p { margin: 0 0 12px; color: var(--ink-2); }
.cp-catalogo .cp-foco { font-size: 14px; font-weight: 700; color: var(--teal); }
.cp-orientacao { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.cp-orientacao a:not(.btn) { display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 4px; }
.cp-orientacao svg { width: 20px; }
.cp-foto { margin: 0; }
.cp-foto img { display: block; width: 100%; height: auto; border-radius: var(--r-l); }
.cp-foto figcaption { color: var(--ink-2); font-size: 14px; margin-top: 12px; }
.cp-fotos-dupla, .cp-videos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.cp-fotos-dupla { margin-top: 32px; }
.cp-fotos-dupla figure { margin: 0; overflow: hidden; border-radius: var(--r-l); }
.cp-fotos-dupla img { display: block; width: 100%; height: 100%; aspect-ratio: 3/2; object-fit: cover; }
.cp-fotos-dupla figure:first-child img { object-position: right center; }
.cp-videos h3 { font-size: 24px; margin: 22px 0 12px; }
.cp-videos p { color: var(--ink-2); }
.cp-google { border-top: 1px solid var(--line); }
[data-cp-panel]:focus-visible { outline: 3px solid var(--gold); outline-offset: -4px; }
@media(max-width:1100px) {
 .cp-escolha { flex-direction: column; align-items: stretch; }
 .cp-tabs button { flex: 1; }
 .cp-catalogo { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:640px) {
 .cp-tabs { gap: 3px; padding: 4px; }
 .cp-tabs button { min-width: 0; padding: 12px 5px; font-size: 12px; justify-content: center; text-align: center; }
 .cp-tabs small { font-size: 9px; line-height: 1.4; margin-top: 6px; }
 .cp-hero { padding-top: 240px; min-height: 0; }
 .cp-hero::before { inset: 0 0 auto; height: 260px; background-size: auto 260px; background-position: right top; }
 .cp-hero::after { background: linear-gradient(0deg,#08130d 0%,#08130d calc(100% - 245px),transparent calc(100% - 210px)); }
 .cp-page[data-trajetoria="vestibular"] .cp-hero::after { background: linear-gradient(0deg,#071e57 0%,#071e57 calc(100% - 245px),transparent calc(100% - 210px)); }
 .cp-page[data-trajetoria="tecnico"] .cp-hero::after { background: linear-gradient(0deg,#064653 0%,#064653 calc(100% - 245px),transparent calc(100% - 210px)); }
 .cp-hero .hip-txt { width: 100%; padding: 24px; }
 .cp-hero h1 { font-size: 34px; }
 .cp-hero .crumbs { display: none; }
 .cp-hero .ctas { flex-direction: column; align-items: stretch; }
 .cp-catalogo, .cp-videos, .cp-fotos-dupla { grid-template-columns: 1fr; }
 .cp-heading { margin-bottom: 28px; }
 .em-page[data-trajetoria="militar"] .hip-medio-original::before { background-size: auto 260px; background-position: right top; }
}

/* Resultados: abertura geral e percurso contínuo com navegação por área. */
html:has([data-resultados]) { scroll-padding-top: 0; }
.res-page { --res-acento: #20376f; --res-suave: #edf1f8; --res-sombra: 10, 26, 58; --res-menu-top: 100px; --res-scroll-offset: 200px; }
.res-page [hidden] { display: none !important; }
.res-page[data-res-tema="pre-militar"], .res-area-pre-militar { --navy: #133f27; --res-acento: #133f27; --res-suave: #edf2eb; --res-sombra: 8, 19, 13; --line: #d5dfd4; }
.res-page[data-res-tema="pre-tecnico"], .res-area-pre-tecnico { --navy: #075766; --res-acento: #075766; --res-suave: #eaf5f5; --res-sombra: 3, 47, 54; }
.res-page[data-res-tema="olimpiadas"], .res-area-olimpiadas { --navy: #77451b; --res-acento: #77451b; --res-suave: #faf2e6; --res-sombra: 48, 29, 12; }
.res-area-pre-vestibular, .res-destaques { --navy: #20376f; --res-acento: #20376f; --res-suave: #edf1f8; --res-sombra: 10, 26, 58; --line: #dce1e9; }
.res-escolha { position: sticky; top: var(--res-menu-top); z-index: 30; padding-top: 6px; padding-bottom: 6px; }
.res-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; padding: 6px; border: 1px solid var(--line); background: #fff; border-radius: 22px; box-shadow: 0 8px 24px #14213d12; }
.res-tabs a { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 72px; padding: 12px 16px; border-radius: 17px; color: var(--navy); font: 800 16px var(--font); text-decoration: none; }
.res-tabs a:hover { background: var(--res-suave); }
.res-tabs a[aria-current="location"] { color: #fff; background: var(--res-acento); box-shadow: inset 0 -3px var(--gold); }
.res-tabs a[aria-current="location"] span, .res-tabs a[aria-current="location"] small { color: #fff; }
.res-tabs a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.res-tabs svg { width: 24px; height: 24px; flex-shrink: 0; }
.res-tabs small { display: block; margin-top: 3px; font-size: 11px; line-height: 1.4; font-weight: 500; }
.res-area { padding-top: 32px; scroll-margin-top: var(--res-scroll-offset); }
.res-area .res-hero { margin-bottom: 36px; }
.res-area-pre-militar .res-hero-cena { background: #08130d url('/assets/originais/camuflagem-militar.jpg') center / 800px; }
.res-area-pre-militar .res-hero-cena::before { opacity: .85; }
.res-hero { width: calc(100% - 24px); margin: 0 auto; border-radius: var(--r-xl); overflow: hidden; }
.res-hero-cena { position: relative; isolation: isolate; color: #fff; background: #162a41; }
.res-hero-cena::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--res-foto) 75% 42% / cover; }
.res-hero-cena::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(var(--res-sombra), .93), rgba(var(--res-sombra), .75) 45%, rgba(var(--res-sombra), .15)); }
.res-hero-txt { padding: 38px clamp(24px, 4vw, 64px) 44px; }
.res-hero .crumbs { color: #fff; margin-bottom: 20px; }
.res-hero h2 { color: #fff; max-width: 24ch; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); font-weight: 800; margin-bottom: 20px; }
.res-hero .lead { max-width: 65ch; margin-bottom: 0; }
.res-area .res-hero h2 { text-align: left; }
.res-destaques h1 { text-align: center; font-size: clamp(2rem,3.4vw,3.2rem); }
.res-destaques { padding: 40px 0 64px; }
.res-numeros { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 40px; margin-top: 40px; }
.res-numeros article { padding-top: 20px; border-top: 2px solid var(--line); }
.res-numeros strong { display: block; font: 800 clamp(32px,3.4vw,48px)/1.1 var(--font); color: var(--res-acento); }
.res-numeros h3 { font-size: 18px; line-height: 1.35; margin: 12px 0 8px; }
.res-numeros p { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin-bottom: 0; }
.res-page .sec-alt { background: var(--res-suave); }
.res-area h2 { text-align: center; }
.res-area .sec-sub { text-align: center; margin-top: 18px; }
.res-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px 0 40px; }
.res-nav a { padding: 9px 15px; border: 1px solid var(--line); border-radius: 100px; background: #fff; color: var(--navy); font: 700 13.5px var(--font); text-decoration: none; }
.res-nav a:hover { background: var(--res-suave); }
.res-grupo { padding-top: 22px; margin-top: 36px; scroll-margin-top: var(--res-scroll-offset); }
.res-grupo + .res-grupo { padding-top: 40px; border-top: 1px solid var(--line); }
.res-grupo h3 { font-size: clamp(22px,2vw,28px); margin-bottom: 24px; text-align: center; }
.res-grade { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; }
.res-arte { display: block; border-radius: var(--r-s); overflow: hidden; box-shadow: var(--sh); }
.res-arte img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; background: #eceef4; }
.res-arte:hover { outline: 3px solid var(--gold); outline-offset: 3px; }
.res-mais { margin-top: 28px; }
.res-mais:has(button[hidden]) { display: none; }
.res-relatos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.res-relatos blockquote { margin: 0; padding: 28px 0 0; border-top: 3px solid var(--gold); }
.res-relatos blockquote p { font-size: 22px; line-height: 1.6; margin-top: 0; }
.res-relatos footer { display: grid; gap: 5px; }
.res-relatos footer span { color: var(--ink-2); font-size: 14px; }
.res-videos { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 0 24px; }
.res-videos figure { margin: 0; flex: 0 0 calc((100% - 54px) / 4); scroll-snap-align: start; min-width: 0; }
.res-video { position: relative; width: 100%; border: 0; padding: 0; border-radius: 16px; overflow: hidden; cursor: pointer; background: #112044; }
.res-video img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.res-play { position: absolute; inset: 0; display: grid; place-items: center; }
.res-play svg { width: 58px; height: 58px; padding: 0; border-radius: 50%; color: var(--orange); }
.res-videos figcaption { display: grid; gap: 6px; padding: 14px 0; }
.res-videos figcaption span { font-size: 14px; color: var(--ink-2); }
.res-zoom { border: 0; padding: 64px 70px 24px; width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; background: #0a1020f5; color: white; }
.res-zoom::backdrop { background: #0a1020; }
.res-zoom[open] { display: grid; place-items: center; }
.res-zoom figure { margin: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; justify-items: center; align-items: center; gap: 12px; min-height: 0; height: 100%; max-height: 100%; }
.res-zoom img { max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; }
.res-zoom figcaption { max-width: 75ch; text-align: center; font-size: 14px; }
.res-zoom button { position: absolute; color: white; background: #263754; border: 1px solid #8b9bb7; border-radius: 50%; width: 48px; height: 48px; font: inherit; font-size: 32px; cursor: pointer; }
.res-zoom button:disabled { opacity: .3; cursor: default; }
.res-zoom-fechar { top: 12px; right: 18px; }
.res-zoom-ant { left: 10px; top: 48%; }
.res-zoom-prox { right: 10px; top: 48%; }
@media(max-width: 1100px) {
 .res-grade { grid-template-columns: repeat(4,minmax(0,1fr)); }
 .res-tabs a { font-size: 14px; padding: 12px 10px; gap: 8px; }
 .res-tabs svg { display: none; }
}
@media(max-width: 800px) {
 .res-numeros { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
 .res-videos figure { flex-basis: calc((100% - 18px) / 2); }

 .res-relatos { grid-template-columns: 1fr; }
}
@media(max-width: 600px) {
 .res-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); border-radius: 18px; }
 .res-tabs a { justify-content: center; padding: 10px 6px; min-height: 44px; font-size: 13px; border-radius: 12px; }
 .res-tabs small { display: none; }
 .res-tabs small { max-width: none; }
 .res-hero-txt { padding: 28px 22px 34px; }
 .res-hero h2 .mark { white-space: normal; }
 .res-hero-cena::before { background-position: 65% center; }
 .res-hero-cena::after { background: linear-gradient(95deg, rgba(var(--res-sombra),.91),rgba(var(--res-sombra),.62)); }
 .res-destaques { padding: 48px 0; }
 .res-numeros { gap: 26px 18px; margin-top: 30px; }
 .res-numeros h3 { font-size: 15px; }
 .res-numeros p { font-size: 12px; }
 .res-grade { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 .res-nav { justify-content: flex-start; gap: 8px; }
 .res-relatos blockquote p { font-size: 19px; }
 .res-videos figure { flex-basis: 82%; }
 .res-zoom { padding: 68px 12px 80px; }
 .res-zoom img { max-height: calc(100dvh - 220px); }
 .res-zoom-ant,.res-zoom-prox { top: auto; bottom: 14px; }
 .res-zoom-ant { left: calc(50% - 60px); }
 .res-zoom-prox { right: calc(50% - 60px); }
}
.res-zoom figcaption { max-height: 100px; overflow-y: auto; }
@media (prefers-reduced-motion: reduce) { .res-videos { scroll-behavior: auto; } }

/* Cada galeria mantém sua identidade também no percurso sem filtro. */
.res-area-pre-vestibular { --navy: #20366D; background: #edf1f8; }
.res-area-pre-militar { --navy: #133f27; --res-suave: #edf2eb; background: #edf2eb; }
.res-area-pre-tecnico { --navy: #075766; --res-suave: #eaf5f5; background: #eaf5f5; }
.res-area-olimpiadas { --navy: #77451b; --res-suave: #faf2e6; background: #faf2e6; }

.res-contexto-conquista { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; margin: 32px 0 48px; }
.res-contexto-conquista figure { margin: 0; }
.res-contexto-conquista img { display: block; width: 100%; height: auto; border-radius: var(--r-m); }
.res-contexto-conquista figcaption { margin-top: 12px; color: var(--ink-2); font-size: 14px; }
.res-contexto-texto h4 { font: 800 clamp(24px,2.4vw,34px)/1.2 var(--font); color: var(--navy); margin: 0 0 24px; }
.res-contexto-texto dl { margin: 0 0 24px; }
.res-contexto-texto dl div + div { margin-top: 24px; }
.res-contexto-texto dt { font: 800 clamp(20px,1.8vw,26px)/1.3 var(--font); color: var(--navy); }
.res-contexto-texto dd { margin: 8px 0 0; color: var(--ink-2); }
.res-contexto-texto p { color: var(--ink-2); margin: 0; }
@media (max-width: 800px) { .res-contexto-conquista { grid-template-columns: 1fr; gap: 24px; } }

/* Horário estendido e formação internacional: leitura editorial no padrão do site. */
.global-figure { margin: 0; min-width: 0; }
.global-figure figcaption { margin-top: 16px; color: var(--ink-2); font-size: .875rem; line-height: 1.55; }
.global-levels, .global-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); margin-top: 48px; }
.global-levels article, .global-routes article { border-top: 1px solid var(--line); padding-top: 28px; }
.global-levels h3, .global-routes h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.global-levels p, .global-routes p, .global-roadmap p, .extended-meals dd { color: var(--ink-2); line-height: 1.75; }
.global-note { margin-top: 28px; color: var(--ink-2); font-size: .9rem; line-height: 1.65; }
.fx .global-daily { font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.25; margin: 0 0 20px; }
.global-daily sup { font-size: .6em; }
.global-fair { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 72px); border-top: 1px solid var(--line); margin-top: 64px; padding-top: 40px; }
.global-fair h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.18; }
.global-fair p { color: var(--ink-2); line-height: 1.75; }
.global-roadmap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 60px; list-style: none; padding: 0; margin: 56px 0 0; counter-reset: candidatura; }
.global-roadmap li { counter-increment: candidatura; border-top: 1px solid var(--line); padding: 24px 0 0 48px; position: relative; }
.global-roadmap li::before { content: counter(candidatura, decimal-leading-zero); position: absolute; left: 0; top: 24px; color: var(--orange); font-weight: 800; }
.global-roadmap h3 { font-size: 1.25rem; }
.global-roadmap p { margin-bottom: 0; }
.global-docs { display: flex; gap: 32px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 32px; margin-top: 48px; }
.global-docs > div { max-width: 68ch; }
.global-docs p { color: var(--ink-2); margin-bottom: 0; }
.global-docs .btn { flex-shrink: 0; }
.extended-meals { margin: 0; }
.extended-meals div { border-top: 1px solid var(--line); padding: 22px 0; }
.extended-meals dt { font-weight: 800; font-size: 1.2rem; color: var(--navy); margin-bottom: 6px; }
.extended-meals dd { margin: 0; }
@media (max-width: 900px) { .global-docs { flex-direction: column; align-items: flex-start; } }
@media (max-width: 640px) { .global-levels, .global-routes, .global-roadmap, .global-fair { grid-template-columns: 1fr; } .global-roadmap { gap: 24px; } .global-fair { margin-top: 40px; } .global-docs .btn { white-space: normal; text-align: center; } }

.global-fair .text-link, .global-routes .text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 700; text-underline-offset: 5px; }
.global-fair .text-link svg, .global-routes .text-link svg { width: 20px; height: 20px; flex: none; }

/* Bilinguismo: vermelho Cambridge com azul institucional Tamandaré. */
body.tema-bilinguismo {
  --navy: #20366D; --navy-d: #14244A; --navy-dd: #0C1733;
  --ocean: #a51c30; --ocean-d: #941b2c;
  --orange: #a51c30; --orange-d: #7e1424; --orange-glow: rgba(113, 19, 34, .16);
  --ink: #14213D; --ink-2: #4A5468; --ink-3: #6B7488;
  --screen: #fff; --line: #eadbde;
  --dark: #14244A;
  --sh: 0 2px 4px rgba(66, 12, 22, .03), 0 14px 32px rgba(66, 12, 22, .06);
  --sh-l: 0 4px 10px rgba(66, 12, 22, .04), 0 20px 40px rgba(66, 12, 22, .12);
}
.tema-bilinguismo .sec-alt { background: #fcf5f6; }
.tema-bilinguismo .sec-dark { background: #20366D; }
.tema-bilinguismo #cambridge-international h2, .tema-bilinguismo #global-perspectives h2, .tema-bilinguismo #global-perspectives h3 { color: #941b2c; }
.tema-bilinguismo .sec-dark::before { display: none; }
.tema-bilinguismo .sec-dark .eyebrow, .tema-bilinguismo .fx b { color: #fff; }
.tema-bilinguismo .sec-dark .eyebrow::before { background: #fff; }
.tema-bilinguismo .fx p { color: #fff; }
.tema-bilinguismo .fx article { background: transparent; border-color: #6879a3; }
.tema-bilinguismo .oferta article .oferta-i { color: #941b2c; background: #f8e8eb; }
.tema-bilinguismo .sc-n { color: #9c4351; }
.tema-bilinguismo .global-roadmap li::before { color: #941b2c; }
.tema-bilinguismo .btn-gold { box-shadow: 0 5px 16px rgba(113, 19, 34, .18); }
.tema-bilinguismo .hip-camb .btn-gold, .tema-bilinguismo .band .btn-gold { background: #fff; color: #941b2c; }
.tema-bilinguismo .hip-camb .btn-gold:hover, .tema-bilinguismo .band .btn-gold:hover { background: #f8e8eb; }
.tema-bilinguismo .btn-ghost { border-color: #a6b0c8; }
.tema-bilinguismo .btn-ghost:hover, .tema-bilinguismo .nav-link:hover { background: #f8e8eb; }
.tema-bilinguismo .sec:not(.sec-dark) .mark::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11 C50 4,120 3,197 8' fill='none' stroke='%23A51C30' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.tema-bilinguismo .band .mark::after, .tema-bilinguismo .sec-dark .mark::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11 C50 4,120 3,197 8' fill='none' stroke='%23FFFFFF' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.tema-bilinguismo ::selection { background: #941b2c; color: #fff; }
.tema-bilinguismo :focus-visible { outline-color: #941b2c; }
.tema-bilinguismo .hip-camb :focus-visible, .tema-bilinguismo .band :focus-visible, .tema-bilinguismo .ftr :focus-visible { outline-color: #fff; }
.global-photo { aspect-ratio: auto; height: auto; }
.extended-arts { margin-top: 48px; }
.extended-learning .exs { grid-template-columns: repeat(2, 1fr); }
.extended-arts > h3 { font-size: clamp(1.5rem, 2vw, 2rem); margin-bottom: 24px; }
.extended-activity-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.extended-activity-list article { border-top: 2px solid var(--navy); padding-top: 20px; }
.extended-activity-list h4 { margin: 0 0 10px; color: var(--navy); font-size: 1.35rem; line-height: 1.25; }
.extended-activity-list p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .extended-activity-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .extended-learning .exs, .extended-activity-list { grid-template-columns: 1fr; gap: 24px; } }

/* Marcas oficiais preservadas, sempre sobre branco e com respiro. */
.cambridge-marcas { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 36px 64px; padding: 28px 36px; background: #fff; border-radius: 20px; }
.cambridge-marcas img { width: 220px; max-width: 100%; height: auto; object-fit: contain; }
.bilinguismo-marcas { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.bilinguismo-marcas .cambridge-marcas { justify-content: flex-start; padding: 0; gap: 28px; border-radius: 0; }
.bilinguismo-marcas .cambridge-marcas img { width: min(210px, calc((100% - 28px) / 2)); }
.ftr-portais { margin-top: 24px; }
.ftr-portais-links { display: grid; gap: 10px; margin-top: 10px; }
.ftr-portais-links a { font: inherit; width: fit-content; }
.ftr-grid { grid-template-columns: 1.6fr 1fr 1fr 1.15fr; }
.ftr-marcas { margin-top: 12px; min-width: 0; }
.ftr-marcas .cambridge-marcas { flex-wrap: nowrap; justify-content: space-between; padding: 20px 16px; gap: 18px; border-radius: 18px; }
.ftr-marcas .cambridge-marcas img { width: calc((100% - 18px) / 2); height: auto; margin: 0; box-shadow: none; }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ftr-grid { grid-template-columns: 1fr; } .ftr-marcas { max-width: 420px; } }
.portais { position: relative; }
.portais summary { cursor: pointer; list-style: none; font-weight: 700; }
.portais summary::-webkit-details-marker { display: none; }
.portais summary::after { content: '▾'; margin-left: 9px; font-size: .75em; }
.portais[open] summary::after { content: '▴'; }
.portais-lista { position: absolute; z-index: 50; top: calc(100% + 12px); right: 0; min-width: 200px; padding: 8px; background: #fff; border-radius: 16px; box-shadow: var(--sh-l); border: 1px solid var(--line); }
.portais .portais-lista a { display: block; padding: 12px 14px; color: var(--navy); font-weight: 600; text-decoration: none; border-radius: 8px; }
.portais .portais-lista a:hover, .portais .portais-lista a:focus-visible { background: var(--screen); }
.portais-mobile summary { padding: 12px 6px; color: var(--navy); }
.portais-mobile .portais-lista { position: static; margin: 4px 0 10px; box-shadow: none; }
.ad-banner { display: flex; align-items: center; padding: clamp(28px, 5vw, 64px); }
.ad-banner-copy { width: 49%; max-width: 560px; }
.ad-banner-copy p { color: #ffb703; font-weight: 800; margin: 0 0 16px; }
.tema-bilinguismo .ad-banner-copy h2 { color: #fff; font-size: clamp(1.5rem, 3.5vw, 3.4rem); line-height: 1.12; margin: 0; text-wrap: balance; }
@media (max-width: 1180px) { .portais-header { display: none; } }
@media (max-width: 600px) {
  .cambridge-marcas { gap: 28px; padding: 28px; }
  .cambridge-marcas img { width: 200px; }
  .ad-banner { aspect-ratio: auto; min-height: 440px; align-items: flex-end; padding: 28px; background: linear-gradient(180deg, transparent 20%, rgba(12,23,51,.45) 45%, #0c1733 70%), var(--foto) 72% top / auto 300px no-repeat, #0c1733; }
  .ad-banner-copy { width: 100%; max-width: none; }
  .tema-bilinguismo .ad-banner-copy h2 { font-size: 2rem; }
}
@media (max-width: 1180px) {
  .hdr:has(.mnav:not([hidden])) { z-index: 60; }
  .mnav { max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; }
}

.tema-bilinguismo .sec .ad-banner .mark::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11 C 50 4, 120 3, 197 8' fill='none' stroke='%23FF9700' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* Unidades: mapa na abertura, diretório por região e localização da futura Barra. */
.unidades-abertura { padding-top: 48px; }
.unidades-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.unidades-hero h1 { font-size: clamp(2.5rem, 4vw, 4.1rem); line-height: 1.08; }
.unidades-hero p:not(.eyebrow) { color: var(--ink-2); }
.unidades-atalhos { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.unidades-atalhos a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; text-decoration: none; }
.unidades-atalhos svg { width: 18px; height: 18px; }
.nova-barra { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: clamp(28px,4vw,48px); margin-top: 28px; border-radius: 24px; background: var(--navy); color: #fff; }
.nova-barra h2 { color: #fff; font-size: clamp(1.7rem,2.5vw,2.4rem); margin: 14px 0; }
.nova-barra p { margin: 10px 0 0; color: rgba(255,255,255,.85); }
.nova-tag { display: inline-block; border: 1px solid rgba(255,255,255,.4); border-radius: 30px; padding: 5px 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.nova-barra .nova-local { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.nova-local svg { width: 21px; height: 21px; flex: none; color: var(--gold); }
.nova-barra .btn { flex-shrink: 0; }
.unidades-intro { max-width: 800px; }
.visita-guia article { padding: 22px 0; border-bottom: 1px solid var(--line); }
.visita-guia article:first-child { padding-top: 0; }
.visita-guia h3 { margin-bottom: 8px; }
.visita-guia p { margin: 0; color: var(--ink-2); }
/* Bolsão: benefício e condições juntos, percurso de inscrição explícito. */
.bolsao-abertura { padding: 24px 12px 0; }
.bolsao-hero { display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; gap: 36px; max-width: 1480px; padding: 24px; background: #f7f5f0; border-radius: 30px; }
.bolsao-hero-texto { padding: clamp(16px,3vw,44px); align-self: center; }
.bolsao-hero h1 { color: var(--navy); font-size: clamp(2.5rem,4.2vw,4.1rem); line-height: 1.12; }
.bolsao-hero .lead { color: var(--ink-2); font-size: 1.08rem; max-width: 42ch; }
.bolsao-oferta { margin: 28px 0 16px; color: var(--navy); font-size: clamp(1.25rem,1.7vw,1.6rem); }
.bolsao-oferta strong { font-weight: 800; }
.bolsao-hero .ctas { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 28px; }
.bolsao-como { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; padding: 8px 0; text-underline-offset: 5px; }
.bolsao-como svg { width: 20px; height: 20px; }
.bolsao-nota { margin: 24px 0 6px; font-size: .9rem; color: var(--navy); font-weight: 600; }
.bolsao-condicao { color: var(--ink-2); font-size: .8rem; max-width: 43ch; margin: 0; }
.bolsao-hero-foto { margin: 0; min-width: 0; min-height: 510px; border-radius: 20px; overflow: hidden; }
.bolsao-hero-foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.bolsao-publico { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.bolsao-publico-itens { display: grid; gap: 28px; }
.bolsao-publico-itens article { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.bolsao-publico-itens p { color: var(--ink-2); }
.bolsao-publico-itens a, .bolsao-unidades { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }
.bolsao-publico-itens svg, .bolsao-unidades svg { width: 20px; height: 20px; }
.bolsao-passos { margin-top: 36px; }
.bolsao-passos article { box-shadow: none; border: 1px solid var(--line); }
.bolsao-conversa { background: var(--screen); border-radius: 24px; padding: 36px; }
.bolsao-conversa p { color: var(--ink-2); }
.bolsao-conversa-acoes { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 28px; }
.bolsao-unidades { min-height: 44px; text-underline-offset: 5px; }
@media(max-width: 900px) {
 .unidades-hero, .bolsao-hero, .bolsao-publico { grid-template-columns: 1fr; gap: 36px; }
 .nova-barra { align-items: flex-start; flex-direction: column; }
 .bolsao-hero-foto { min-height: 0; aspect-ratio: 4/3; }
 .bolsao-hero { gap: 20px; }
}
@media(max-width: 600px) {
 .unidades-diretorio .uns { grid-template-columns: 1fr; }
 .unidades-abertura { padding-top: 32px; }
 .nova-barra { padding: 28px 22px; }
 .nova-barra .btn { white-space: normal; }
 .bolsao-hero { width: 100%; padding: 12px; border-radius: 24px; }
 .bolsao-hero-texto { padding: 20px 10px; }
 .bolsao-hero .btn { padding-inline: 22px; }
 .bolsao-conversa-acoes .btn { width: 100%; padding-inline: 16px; }
 .bolsao-conversa { padding: 28px; }
}

/* Conquistas aprovadas: fonte única em todas as faixas. */
@media (min-width: 1100px) { .placar-9 { grid-template-columns: repeat(3,minmax(0,1fr)); } }
.unidades-diretorio { margin-top: 36px; }
