
:root{
  --navy:#063b78; --navy2:#052f62; --blue:#1478df; --yellow:#f8cf18;
  --green:#16ae72; --text:#0b315f; --muted:#5c6d83; --light:#f7f9fc; --white:#fff;
  --shadow:0 16px 42px rgba(13,52,96,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Montserrat',Arial,sans-serif;color:var(--text);background:#fff}
body.lock{overflow:hidden}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button{font:inherit}
.container{width:min(1180px,92%);margin:0 auto}
.section{padding:70px 0}

.topbar{background:linear-gradient(90deg,#0a4f91,#05366e);color:#fff;font-size:12px}
.topbar-inner{min-height:33px;display:flex;justify-content:space-between;align-items:center;gap:15px}
.topbar-left,.topbar-right{display:flex;gap:20px;align-items:center}
.area-aluno{background:var(--yellow);color:#083367;font-weight:800;padding:6px 14px;border-radius:20px}

.header{height:76px;background:#fff;position:sticky;top:0;z-index:40;box-shadow:0 4px 18px rgba(5,44,89,.07)}
.nav{height:100%;display:flex;align-items:center;gap:25px}
.logo img{width:255px;height:67px;object-fit:contain}
.menu{margin-left:auto;display:flex;gap:30px;align-items:center;font-size:13px;font-weight:600}
.menu a{height:76px;display:flex;align-items:center;position:relative}
.menu a:after{content:"";position:absolute;left:50%;bottom:0;height:3px;width:0;background:var(--yellow);transform:translateX(-50%);transition:.2s}
.menu a:hover:after,.menu a.active:after{width:34px}
.menu-btn{display:none;border:0;background:none;cursor:pointer}
.menu-btn span{display:block;width:28px;height:3px;background:var(--navy);margin:5px;border-radius:2px}

.hero{position:relative;min-height:465px;background:var(--navy);overflow:hidden}
.hero-photo{position:absolute;inset:0;background-position:center;background-size:cover;background-repeat:no-repeat}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,39,82,.97) 0%,rgba(3,39,82,.89) 34%,rgba(3,39,82,.30) 62%,rgba(3,39,82,.02) 100%)}
.hero-content{position:relative;z-index:2;min-height:465px;display:flex;align-items:center}
.hero-text{max-width:620px;color:#fff}
.yellow-line{display:block;width:42px;height:4px;background:var(--yellow);margin-bottom:15px}
.hero-text small{font-size:22px;font-weight:700}
.hero h1{font-size:58px;line-height:1.02;margin:5px 0 15px;font-weight:800}
.hero h1 b{color:var(--yellow)}
.hero p{max-width:520px;font-size:17px;line-height:1.55;margin:0 0 25px}
.hero-buttons{display:flex;gap:16px;flex-wrap:wrap}
.btn{display:inline-flex;justify-content:center;align-items:center;border-radius:28px;padding:14px 22px;font-size:13px;font-weight:800;transition:.2s}
.btn:hover{transform:translateY(-2px)}
.btn.yellow{background:var(--yellow);color:#0a315e}
.btn.outline{border:1.5px solid #fff;color:#fff}
.btn.blue-btn{background:#074d91;color:#fff}

.features-wrap{position:relative;z-index:3;margin-top:-42px}
.features{background:#fff;box-shadow:var(--shadow);border-radius:19px;display:grid;grid-template-columns:repeat(5,1fr);padding:22px 14px}
.features article{text-align:center;padding:0 15px;border-right:1px solid #e5ebf2}
.features article:last-child{border:0}
.feature-icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;margin:0 auto 10px;font-size:25px}
.feature-icon.blue{background:#cbe7ff}.feature-icon.yellow-bg{background:#ffe581}
.feature-icon.green{background:#a9ebcb}.feature-icon.coral{background:#ffb9aa}.feature-icon.purple{background:#d8baff}
.features h3{font-size:14px;margin:0 0 7px}
.features p{font-size:12px;color:var(--muted);line-height:1.45;margin:0}

.about-grid{display:grid;grid-template-columns:.9fr 1.35fr;gap:65px;align-items:center}
.eyebrow{font-size:11px;letter-spacing:1.2px;font-weight:800;color:#3d5975;margin-bottom:13px}
.eyebrow i{display:inline-block;width:28px;height:3px;background:var(--yellow);margin-right:9px;vertical-align:middle}
.about h2,.gallery h2,.contact h2{font-size:39px;line-height:1.1;margin:0 0 18px}
.about p{font-size:14px;color:var(--muted);line-height:1.7;margin-bottom:23px}
.about-image img{width:100%;height:305px;object-fit:cover;border-radius:18px;box-shadow:var(--shadow)}

.stats{background:linear-gradient(90deg,#075296,#063972);padding:28px 0;color:#fff}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stats-grid>div{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;justify-content:center;column-gap:15px;padding:0 20px;border-right:1px solid rgba(255,255,255,.28)}
.stats-grid>div:last-child{border:0}
.stats span{grid-row:1/3;font-size:35px;align-self:center}
.stats strong{font-size:28px}
.stats small{font-size:12px}

.level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:20px}
.level-card{border-radius:15px;overflow:hidden;box-shadow:0 7px 24px rgba(11,54,104,.1);background:#fff}
.level-card img{width:100%;height:190px;object-fit:cover}
.level-card>div{padding:18px;color:#fff;min-height:110px}
.level-card.orange>div{background:#f9a817}.level-card.level-blue>div{background:#1175df}.level-card.level-green>div{background:#12a96d}
.level-card h3{margin:0 0 7px;font-size:17px}.level-card p{margin:0;font-size:12px;line-height:1.45}

.gallery{background:#f6f9fd}
.gallery-heading p{color:var(--muted);margin:0;max-width:720px;line-height:1.6}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.gallery-card{border:0;background:#fff;padding:0;border-radius:16px;overflow:hidden;box-shadow:0 8px 26px rgba(15,55,100,.10);cursor:pointer;position:relative;text-align:left}
.gallery-card img{width:100%;height:220px;object-fit:cover;transition:.25s}
.gallery-card:hover img{transform:scale(1.035)}
.gallery-card span{display:block;padding:15px 18px;font-weight:700;color:var(--text)}
.gallery-card b{position:absolute;right:14px;top:14px;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.94);display:grid;place-items:center;color:var(--navy);font-size:20px}
.empty-gallery{text-align:center;background:#fff;border:2px dashed #c9d7e6;border-radius:18px;padding:50px 20px;margin-top:25px}
.empty-icon{font-size:55px}.empty-gallery h3{margin:15px 0 9px}.empty-gallery p{color:var(--muted)}
.empty-gallery code{background:#eef4fa;padding:4px 7px;border-radius:6px;color:#075196}

.news-layout{display:grid;grid-template-columns:2.2fr 1fr;gap:34px}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:19px}
.news-card img{width:100%;height:130px;object-fit:cover;border-radius:12px}
.news-card h3{font-size:14px;line-height:1.35;margin:12px 0 5px}
.news-card small{display:block;color:#79889b;font-size:10px}.news-card a{display:inline-block;color:#0757a5;font-weight:700;font-size:12px;margin-top:8px}
.events{border-left:1px solid #e0e7ef;padding-left:28px}
.event-row{display:grid;grid-template-columns:60px 1fr;gap:14px;padding:14px 0;border-bottom:1px solid #e8edf3}
.date{background:#f0f5fb;border-radius:10px;text-align:center;padding:7px}.date strong{display:block;font-size:20px}.date span{font-size:10px;font-weight:800}
.event-row b{font-size:13px;display:block;margin-top:5px}.event-row small{font-size:11px;color:var(--muted);display:block;margin-top:5px}

.contact{background:linear-gradient(110deg,#06366d,#0c5ca7);color:#fff;padding:55px 0}
.contact-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}
.eyebrow.white{color:#fff}.contact h2{margin-bottom:8px}.contact p{margin:0;color:#d8e8fa}

.footer{background:#052d5c;color:#cad8e8;padding:45px 0 20px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1.4fr;gap:45px}
.footer-logo-box{background:#fff;border-radius:12px;padding:8px 12px;width:260px}
.footer-logo-box img{width:100%}.footer h4{color:#fff;margin:0 0 15px}
.footer a,.footer p{font-size:13px;display:block;margin:8px 0}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);display:flex;justify-content:space-between;gap:20px;padding-top:18px;margin-top:30px;font-size:11px}

.lightbox{position:fixed;inset:0;background:rgba(0,20,45,.92);z-index:100;display:none;place-items:center;padding:40px}
.lightbox.open{display:grid}
.lightbox>button{position:absolute;right:24px;top:18px;background:none;border:0;color:#fff;font-size:45px;cursor:pointer}
.lightbox-inner{max-width:1050px;width:100%}
.lightbox-inner img{max-height:78vh;width:100%;object-fit:contain;border-radius:12px}
.lightbox-inner div{color:#fff;text-align:center;font-weight:700;margin-top:15px}

@media(max-width:980px){
  .menu{gap:17px;font-size:12px}.logo img{width:220px}
  .features{grid-template-columns:repeat(3,1fr);row-gap:28px}.features article:nth-child(3){border-right:0}
  .about-grid{gap:35px}.gallery-grid{grid-template-columns:repeat(2,1fr)}
  .news-layout{grid-template-columns:1fr}.events{border-left:0;padding-left:0;border-top:1px solid #e0e7ef;padding-top:25px}
}
@media(max-width:780px){
  .topbar-left span:nth-child(2){display:none}.topbar-right>a:not(.area-aluno){display:none}
  .header{height:70px}.nav{height:70px}.logo img{width:205px;height:61px}
  .menu-btn{display:block;margin-left:auto}
  .menu{display:none;position:absolute;top:70px;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:10px 4%;box-shadow:0 15px 30px rgba(4,41,82,.13)}
  .menu.open{display:flex}.menu a{height:auto;padding:14px;border-bottom:1px solid #edf1f5}.menu a:after{display:none}
  .hero,.hero-content{min-height:560px}.hero h1{font-size:45px}.hero-shade{background:linear-gradient(90deg,rgba(3,39,82,.94),rgba(3,39,82,.62))}
  .features-wrap{margin-top:-25px}.features{grid-template-columns:repeat(2,1fr)}.features article{border-right:0}
  .about-grid{grid-template-columns:1fr}.about-image{order:-1}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:25px}.stats-grid>div:nth-child(2){border-right:0}
  .level-grid{grid-template-columns:1fr}.gallery-grid{grid-template-columns:1fr}
  .news-grid{grid-template-columns:1fr}.contact-inner{flex-direction:column;align-items:flex-start}
  .footer-grid{grid-template-columns:1fr}
}
@media(max-width:500px){
  .topbar-right .area-aluno{padding:5px 10px}.hero h1{font-size:36px}.hero-text small{font-size:18px}
  .hero p{font-size:15px}.hero-buttons{flex-direction:column;align-items:flex-start}
  .features{grid-template-columns:1fr}.features article{padding:12px 10px;border-bottom:1px solid #e5ebf2}.features article:last-child{border-bottom:0}
  .about h2,.gallery h2,.contact h2{font-size:31px}
  .stats-grid{grid-template-columns:1fr}.stats-grid>div{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.20);padding:12px 0}.stats-grid>div:last-child{border-bottom:0}
  .footer-bottom{flex-direction:column}
}
