/* =========================================================
   Colégio Portal do Saber — Espera Feliz/MG
   Identidade: azul-marinho + ciano claro · Poppins 300/400/800
   Elemento-assinatura: o "portal" em arco do logotipo
   ========================================================= */

:root {
  --navy: #0B4F8A;
  --navy-700: #083E6E;
  --navy-900: #052845;
  --ink: #0A2540;
  --cyan: #29ABE2;
  --cyan-300: #7FD3F3;
  --cyan-100: #E4F5FC;
  --cyan-50: #F3FAFE;
  --paper: #FFFFFF;
  --muted: #5B6F86;
  --line: #D8E7F2;
  --sun: #FFC93C;

  --radius: 22px;
  --radius-lg: 34px;
  --arch: 999px 999px 26px 26px;
  --shadow: 0 18px 50px -20px rgba(8, 62, 110, .35);
  --shadow-sm: 0 8px 24px -12px rgba(8, 62, 110, .3);
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
strong, b { font-weight: 800; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; color: var(--navy); letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 999; }
.skip:focus { left: 8px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tint { background: var(--cyan-50); }
.section--navy { background: radial-gradient(1200px 500px at 85% -10%, rgba(41,171,226,.35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* ---------- Tipografia de títulos ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.title {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  font-weight: 800;
}
.title .light { font-weight: 300; }
.title .cyan { color: var(--cyan); }
.section--navy .title .cyan { color: var(--cyan-300); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 62ch; }
.section--navy .lead { color: rgba(255,255,255,.82); }
.center .lead { margin-inline: auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: 14px;
  background: var(--bg); color: var(--fg);
  font: 800 .82rem/1 "Poppins", sans-serif; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--bg);
  box-shadow: 0 0 0 6px rgba(41,171,226,.18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 9px rgba(41,171,226,.22); }
.btn:hover svg { transform: translate(3px, 3px); }
.btn--cyan { --bg: var(--cyan); --fg: var(--navy-900); }
.btn--white { --bg: #fff; --fg: var(--navy); box-shadow: 0 0 0 6px rgba(255,255,255,.18); }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--navy); box-shadow: none; }
.section--navy .btn--ghost, .hero .btn--ghost, .cta-band .btn--ghost { --fg: #fff; border-color: rgba(255,255,255,.6); }
.btn--wa { --bg: #1FAF55; --fg: #fff; box-shadow: 0 0 0 6px rgba(31,175,85,.18); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.center .btn-row { justify-content: center; }

/* ---------- Barra de aviso ---------- */
.announce {
  background: var(--cyan); color: var(--navy-900);
  font-size: .86rem; font-weight: 400; text-align: center; padding: 9px 16px;
}
.announce a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(8,62,110,.5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-weight: 400; font-size: .92rem; color: var(--ink);
  padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); background: var(--cyan-100); }
.nav a[aria-current="page"] { font-weight: 800; }
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { text-decoration: none; font-size: .72rem; font-weight: 800; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--navy); color: #fff; }
.header .btn { padding: 12px 18px; font-size: .74rem; box-shadow: none; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--cyan-100); color: var(--navy); cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: auto; position: relative; transition: .3s var(--ease); border-radius: 2px; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 600px at 78% 40%, rgba(41,171,226,.45), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #0A3E70 45%, var(--navy-900) 100%);
}
.hero::before { /* trama sutil */
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.7) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 24px; min-height: min(86vh, 760px); }
.hero__copy { padding: clamp(56px, 8vw, 110px) 0; position: relative; z-index: 2; }
.hero__kicker { color: var(--sun); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .86rem; margin-bottom: 18px; display: block; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.3rem); font-weight: 300; letter-spacing: -.03em; margin-bottom: 22px; }
.hero h1 strong { display: block; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--cyan-300); }
.hero p { color: rgba(255,255,255,.85); max-width: 46ch; font-size: 1.06rem; margin-bottom: 34px; }
.hero__visual { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.portal-frame {
  position: relative; width: min(100%, 470px); aspect-ratio: 4 / 5.1;
  border-radius: var(--arch); overflow: hidden;
  background: #04243D;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.12);
}
.portal-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.portal-frame::after { /* a "fenda" do portal do logo */
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 6px; transform: translateX(-50%);
  background: linear-gradient(var(--navy) 0 0) center/100% 100%;
  opacity: 0; transition: opacity .6s;
}
.hero .portal-frame { margin-bottom: -2px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.hero__ring {
  position: absolute; right: -10px; top: 12%; width: 170px; height: 170px; z-index: 3;
  animation: spin 22s linear infinite;
}
.hero__ring text { font: 800 13.5px "Poppins", sans-serif; letter-spacing: 3.4px; fill: #fff; text-transform: uppercase; }
.hero__ring-center { position: absolute; right: 45px; top: calc(12% + 55px); width: 60px; height: 60px; z-index: 3; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: .82rem; }
.chip b { color: var(--cyan-300); }

/* Hero de páginas internas */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(70px, 10vw, 130px) 0 clamp(60px, 8vw, 100px);
  background: radial-gradient(700px 400px at 90% 0%, rgba(41,171,226,.45), transparent 60%), linear-gradient(140deg, var(--navy), var(--navy-900)); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; max-width: 18ch; }
.page-hero h1 .light { font-weight: 300; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 60ch; font-size: 1.08rem; }
.page-hero .eyebrow { color: var(--cyan-300); }
.page-hero__art { position: absolute; right: max(16px, calc((100vw - var(--container)) / 2)); bottom: -40px; width: clamp(180px, 26vw, 340px); aspect-ratio: 4/5; border-radius: var(--arch); overflow: hidden; opacity: .95; box-shadow: var(--shadow); }
.page-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center p { margin-inline: auto; }
.breadcrumbs { font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs span { margin: 0 6px; }

/* ---------- Formulário (WhatsApp) ---------- */
.form-card {
  background: var(--cyan-100); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px);
  max-width: 760px; margin-inline: auto; box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem "Poppins", sans-serif; color: var(--ink);
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid transparent; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(41,171,226,.2); }
.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { font-size: .78rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-note a { color: var(--navy); }

/* ---------- Cards de segmento (arco) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.level-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.level-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.level-card__img { margin: 16px 16px 0; aspect-ratio: 4/3.3; border-radius: var(--arch); overflow: hidden; background: var(--cyan-100); }
.level-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.level-card:hover .level-card__img img { transform: scale(1.05); }
.level-card__body { padding: 22px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.level-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 2px; }
.level-card .age { color: var(--cyan); font-weight: 400; font-size: .9rem; margin-bottom: 14px; display: block; }
.level-card ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: .93rem; color: var(--muted); }
.level-card li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.level-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 6px 6px 2px 2px; background: var(--cyan); }
.level-card .link { margin-top: auto; font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.level-card .link:hover { color: var(--cyan); }
.level-card .link svg { width: 16px; height: 16px; }

/* ---------- Estrutura (carrossel) ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--cyan) transparent; }
.rail::-webkit-scrollbar { height: 6px; } .rail::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 6px; }
.tile { margin: 0; position: relative; scroll-snap-align: start; aspect-ratio: 3/3.6; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 20px; background: linear-gradient(transparent, rgba(5,40,69,.92)); }
.tile__label strong { display: block; font-size: 1.05rem; }
.tile__label span { font-size: .84rem; opacity: .85; }
.tile__icon { position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); display: grid; place-items: center; }
.tile__icon svg { width: 22px; height: 22px; }

/* ---------- Bloco de destaque com imagem em arco ---------- */
.feature-media { position: relative; }
.feature-media .portal-frame { width: 100%; max-width: 520px; aspect-ratio: 4/4.6; margin-inline: auto; }
.feature-media .badge {
  position: absolute; left: -6px; bottom: 30px; background: #fff; color: var(--navy); border-radius: 18px; padding: 16px 20px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.feature-media .badge b { font-size: 2rem; line-height: 1; color: var(--cyan); }
.feature-media .badge span { font-size: .84rem; line-height: 1.35; }
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(0); background: var(--cyan-100); }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; list-style: none; padding: 0; margin: 22px 0 32px; }
.pillars li { display: flex; gap: 10px; align-items: center; font-weight: 400; color: var(--navy); }
.pillars svg { width: 22px; height: 22px; flex: none; color: var(--cyan); }

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.stat b { display: block; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--cyan-300); margin-bottom: 8px; }
.stat span { font-size: .9rem; color: rgba(255,255,255,.85); }

/* ---------- Linha do tempo (fim de ano/2027) ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 22px 24px; border: 1px solid var(--line); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-weight: 800; font-size: 2.3rem; line-height: 1; color: var(--cyan-100); -webkit-text-stroke: 1.5px var(--cyan); display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.08rem; font-weight: 800; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }
.section--navy .step { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section--navy .step p { color: rgba(255,255,255,.8); }
.section--navy .step::before { color: transparent; -webkit-text-stroke-color: var(--cyan-300); }

/* ---------- Depoimentos ---------- */
.quote { background: #fff; border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); position: relative; }
.quote::before { content: "“"; position: absolute; top: -10px; right: 24px; font-size: 6rem; line-height: 1; font-weight: 800; color: var(--cyan-100); }
.quote p { position: relative; font-size: 1rem; }
.quote footer { font-weight: 800; color: var(--navy); font-size: .9rem; }
.quote footer span { display: block; font-weight: 300; color: var(--muted); font-size: .8rem; }
.stars { color: var(--sun); letter-spacing: 2px; font-size: 1rem; margin-bottom: 10px; }

/* ---------- Galeria / Instagram ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 170px; gap: 12px; }
.gallery a { position: relative; border-radius: 18px; overflow: hidden; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.gallery a:hover img { transform: scale(1.06); filter: saturate(1.15); }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(4) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(2), .gallery a:nth-child(3), .gallery a:nth-child(5), .gallery a:nth-child(6) { grid-column: span 1; }


/* ---------- Eventos ---------- */
.events { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.event { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.event b { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.event span { font-size: .86rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.section--navy .faq details { background: #fff; color: var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 400; position: relative; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary { font-weight: 800; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); font-size: .95rem; }

/* ---------- Contato ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: transform .3s var(--ease), box-shadow .3s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--cyan-100); color: var(--navy); margin-bottom: 8px; }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card.wa .ico { background: #E3F8EA; color: #1FAF55; }
.contact-card strong { color: var(--navy); font-size: 1.1rem; }
.contact-card span { color: var(--muted); font-size: .92rem; }
.contact-card em { font-style: normal; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-top: 6px; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/7; background: var(--cyan-100); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- CTA final ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 70px); color: #fff;
  background: radial-gradient(600px 300px at 100% 0%, rgba(41,171,226,.55), transparent 60%), linear-gradient(130deg, var(--navy), var(--navy-900));
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
.cta-band h2 .light { font-weight: 300; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band__art { justify-self: end; width: 100%; max-width: 230px; aspect-ratio: 4/5; border-radius: var(--arch); overflow: hidden; }
.cta-band__art img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Texto longo (termos, IA) ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; font-weight: 800; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; font-weight: 800; margin-top: 1.6em; }
.prose p, .prose li { color: #304a66; }
.prose a { color: var(--navy); font-weight: 400; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 2em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--navy); font-weight: 800; width: 34%; background: var(--cyan-50); }
.note { background: var(--cyan-100); border-left: 4px solid var(--cyan); padding: 16px 20px; border-radius: 0 14px 14px 0; font-size: .93rem; }
.updated { font-size: .85rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.78); padding: 70px 0 0; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; }
.footer img.flogo { height: 54px; width: auto; margin-bottom: 18px; }
.footer h3 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: rgba(255,255,255,.78); transition: color .2s; }
.footer a:hover { color: var(--cyan-300); }
.footer .wa-line { display: block; margin-bottom: 10px; }
.footer .wa-line b { color: #fff; display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.socials a:hover { background: var(--cyan); color: var(--navy-900); }
.socials svg { width: 20px; height: 20px; }
.footer__bottom { margin-top: 50px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: rgba(255,255,255,.55); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #1FAF55; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31,175,85,.7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1FAF55; animation: pulse 2.4s infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; }
.hero .reveal { transition-duration: 1.1s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav, .header__actions .btn { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 78px; left: 0; right: 0;
    background: #fff; padding: 14px 16px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(8,62,110,.4);
  }
  .menu-open .nav a { padding: 14px 12px; font-size: 1rem; }
  .grid-4, .events, .timeline, .stats { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding-bottom: 10px; }
  .hero__visual { justify-content: center; }
  .hero .portal-frame { width: min(88%, 380px); }
  .hero__ring { width: 120px; height: 120px; right: 4%; top: 6%; }
  .hero__ring-center { display: none; }
  .grid-3, .grid-2, .contact-cards { grid-template-columns: 1fr; }
  .grid-2 > .feature-media { order: -1; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__art { display: none; }
  .page-hero__art { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery a:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery a:nth-child(1), .gallery a:nth-child(4) { grid-column: span 2; grid-row: span 2; }
  .map { aspect-ratio: 4/3; }
}
@media (max-width: 560px) {
  .form-grid, .grid-4, .events, .timeline, .stats, .pillars, .footer__grid { grid-template-columns: 1fr; }
  .brand img { height: 38px; }
  .lang a { padding: 5px 8px; }
  .hero h1 { font-size: 2.3rem; }
  .btn { padding: 14px 20px; }
  .feature-media .badge { left: 8px; bottom: 12px; }
}

/* =========================================================
   v2 — fotos reais, recortes, selo do portal e animações
   ========================================================= */
:root { --arch-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 46'%3E%3Cpath d='M2 46V20C2 9 10 2 19 2v44H2zM21 2c9 0 17 7 17 18v26H21V2z'/%3E%3C/svg%3E"); }

/* eyebrow com o portalzinho */
.eyebrow::before, .center .eyebrow::after { width: 12px; height: 14px; border-radius: 0; background: currentColor; -webkit-mask: var(--arch-icon) center/contain no-repeat; mask: var(--arch-icon) center/contain no-repeat; }

/* HERO com recorte */
.hero__inner { min-height: min(88vh, 780px); }
.hero__visual { position: relative; min-height: 560px; }
.hero__arch {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(86%, 440px); height: 84%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(127,211,243,.95), rgba(41,171,226,.55) 55%, rgba(41,171,226,.15));
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.08);
  animation: archIn 1.2s var(--ease) both;
}
.hero__arch::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 10px; transform: translateX(-50%); background: rgba(11,79,138,.35); }
.hero__cut {
  position: relative; z-index: 2; height: min(78vh, 690px); width: auto; max-width: none;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.35));
  animation: riseIn 1.3s .2s var(--ease) both;
}
.hero__seal { position: absolute; z-index: 3; top: 6%; right: 0; width: 170px; height: 170px; animation: popIn .9s .8s var(--ease) both; }
.hero__seal .hero__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; right: auto; top: auto; }
.hero__seal-logo { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; transform: translate(-50%, -50%); background: #fff; border-radius: 50%; padding: 8px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); object-fit: contain; }
.hero__badge { position: absolute; z-index: 3; left: 0; bottom: 14%; display: flex; gap: 12px; align-items: center; max-width: 250px; background: #fff; color: var(--navy); padding: 14px 18px; border-radius: 18px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); font-size: .82rem; line-height: 1.35; font-weight: 400; animation: floatY 5s ease-in-out infinite; }
.hero__badge b { font-size: 1.7rem; }
@keyframes archIn { from { transform: translateX(-50%) scaleY(.2); transform-origin: bottom; opacity: 0; } to { transform: translateX(-50%) scaleY(1); opacity: 1; } }
@keyframes riseIn { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes popIn { from { transform: scale(.4) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* portaizinhos flutuantes decorativos */
.float-arch { position: absolute; width: 38px; color: var(--cyan); opacity: .5; animation: floatY 6s ease-in-out infinite; pointer-events: none; z-index: 1; }
.float-arch svg { width: 100%; height: auto; display: block; }
.float-arch--h1 { left: 4%; bottom: 12%; width: 28px; color: rgba(127,211,243,.45); }
.float-arch--h2 { left: 46%; top: 10%; width: 20px; color: rgba(255,255,255,.3); animation-delay: -2s; }
.float-arch--a { left: -10px; top: 10%; width: 44px; }
.float-arch--b { right: 4%; bottom: 6%; width: 26px; color: var(--navy); opacity: .25; animation-delay: -3s; }

/* selo nos cards de segmento */
.level-card__img { position: relative; }
.level-card__seal { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease); }
.level-card__seal svg { width: 18px; height: 20px; }
.level-card:hover .level-card__seal { transform: rotate(-12deg) scale(1.1); background: var(--cyan); color: #fff; }

/* GALERIA ANIMADA (marquee) */
.section--flush { padding-bottom: clamp(64px, 9vw, 110px); overflow: hidden; }
.gallery-marquee { display: grid; gap: 14px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.gallery-marquee a { flex: none; display: block; height: clamp(170px, 22vw, 260px); border-radius: 22px; overflow: hidden; }
.gallery-marquee a:nth-child(3n+1) { border-radius: 999px 999px 22px 22px; }
.gallery-marquee img { height: 100%; width: auto; max-width: none; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.gallery-marquee a:hover img { transform: scale(1.06); filter: saturate(1.2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* aprovados */
.marquee--cards .marquee__track { animation-duration: 90s; }
.marquee--cards figure { margin: 0; flex: none; width: clamp(200px, 20vw, 260px); border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); transition: transform .4s var(--ease); }
.marquee--cards figure:hover { transform: translateY(-8px) rotate(-1deg); }
.marquee--cards img { width: 100%; height: auto; }

/* prêmio */
.award__frame { position: relative; max-width: 460px; margin-inline: auto; border-radius: 999px 999px 30px 30px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; outline: 2px solid var(--cyan-100); }
.award__frame img { width: 100%; }
.stat-chips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.stat-chip { background: var(--cyan-100); border-radius: 18px; padding: 16px 20px; min-width: 150px; }
.stat-chip b { display: block; font-size: 2.2rem; line-height: 1; color: var(--navy); }
.stat-chip span { font-size: .85rem; color: var(--muted); }

/* contatos dentro da seção navy */
.section--navy .contact-card { background: rgba(255,255,255,.96); }

/* CTA com recorte */
.cta-band__art { aspect-ratio: auto; border-radius: 0; overflow: visible; align-self: end; margin-bottom: calc(-1 * clamp(36px, 6vw, 70px)); position: relative; }
.cta-band__art::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; top: 18%; border-radius: 999px 999px 0 0; background: rgba(127,211,243,.35); }
.cta-band__art img { position: relative; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); }
.cta-band { overflow: hidden; }

/* revelação de imagem com "abertura de portal" */
.portal-frame img, .level-card__img img { transition: transform .8s var(--ease), clip-path 1.2s var(--ease); }
.reveal .portal-frame img, .feature-media.reveal img { clip-path: inset(100% 0 0 0); }
.reveal.is-in .portal-frame img, .feature-media.reveal.is-in img { clip-path: inset(0 0 0 0); }

@media (max-width: 860px) {
  .hero__visual { min-height: 0; padding-top: 10px; }
  .hero__cut { height: 440px; }
  .hero__arch { height: 80%; width: min(80%, 330px); }
  .hero__seal { width: 120px; height: 120px; top: 0; right: 2%; }
  .hero__seal-logo { width: 66px; height: 66px; }
  .hero__badge { left: 2%; bottom: 8%; max-width: 200px; font-size: .74rem; padding: 10px 12px; }
  .cta-band__art { display: block; max-width: 220px; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .reveal .portal-frame img, .feature-media.reveal img { clip-path: none; } }
/* tabelas da página de informações oficiais: quebrar textos longos no celular */
table { max-width: 100%; }
td, th { overflow-wrap: anywhere; word-break: break-word; }
@media (max-width: 600px) { table, tbody, tr, td, th { display: block; width: 100%; } th, td:first-child { font-weight: 600; padding-bottom: 0; } }
/* mapa com localização da escola */
.map-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 18px 40px -28px rgba(5,40,69,.35); }
.map-block .map { border: 0; border-radius: 0; }
.map-block__info { display: flex; align-items: center; gap: 16px; padding: 18px 22px; flex-wrap: wrap; }
.map-block__info > div { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; }
.map-block__info strong { color: var(--navy-900); }
.map-block__info > div > span { font-weight: 300; color: var(--ink, #33475b); opacity: 1; font-size: .95rem; }
.map-block__info .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--cyan-100); color: var(--navy); display: grid; place-items: center; flex: none; }
.map-block__info .ico svg { width: 22px; height: 22px; }
.map-block__info .btn svg { width: 16px; height: 16px; }
@media (max-width: 700px) { .map-block .map { aspect-ratio: 4/3.4; } .map-block__info .btn { width: 100%; justify-content: center; } }
/* crédito no rodapé */
.footer__credit a { color: var(--cyan-300); font-weight: 600; text-decoration: none; }
.footer__credit a:hover { text-decoration: underline; }
