        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Inter', sans-serif; background: #fff; color: #1a2a3a; line-height: 1.5; }
        .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
        .section-title { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; margin-bottom: 0.75rem; color: #1e6fc0; text-align: center; }
        .section-subtitle { font-size: 1.1rem; color: #666; max-width: 700px; margin: 0 auto 2.5rem; text-align: center; }

        /* HEADER */
        .header { background: white; box-shadow: 0 2px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid #1e6fc0; }
        .nav-container { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 0; gap: 1rem; flex-wrap: wrap; }
        .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo-img { height: 50px; }
        .logo-text { display: none; }
        .logo-text h1 { font-size: 1.1rem; color: #1e6fc0; font-weight: 800; }
        .logo-text p { font-size: 0.7rem; color: #666; }
        .header-school-name {
            flex: 1 1 260px;
            max-width: 430px;
            color: #0f4f91;
            font-size: clamp(.78rem, 1.1vw, .95rem);
            font-weight: 900;
            line-height: 1.25;
            text-transform: uppercase;
            letter-spacing: .02em;
        }
        
        .nav-menu { display: flex; align-items: center; }
        .nav-menu ul { display: flex; gap: 1.5rem; list-style: none; align-items: center; flex-wrap: wrap; margin: 0; padding: 0; }
        .nav-link { text-decoration: none; color: #333; font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
        .nav-link:hover { color: #1e6fc0; }
        .nav-item { position: relative; }
        
        .submenu { position: absolute; top: 100%; left: 0; background: white; min-width: 240px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-radius: 12px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s; list-style: none; z-index: 100; border-top: 3px solid #1e6fc0; }
        .nav-item:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
        .submenu li a { display: block; padding: 12px 18px; color: #333; font-size: 0.9rem; text-decoration: none; border-bottom: 1px solid #f0f0f0; }
        .submenu li a:hover { background: #eef2ff; color: #1e6fc0; }
        .submenu-section { background: #f0f4ff; padding: 10px 16px; font-weight: 800; font-size: 0.75rem; color: #1e6fc0; text-transform: uppercase; letter-spacing: 1px; }
        .submenu-divider { border-top: 1px solid #e0e0e0; margin: 6px 0; }
        
        .header-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
        .btn-outline { padding: 8px 18px; border: 2px solid #1e6fc0; background: transparent; color: #1e6fc0; border-radius: 40px; text-decoration: none; font-weight: 700; font-size: 0.85rem; transition: all 0.3s; }
        .btn-primary { padding: 8px 22px; background: #1e6fc0; color: white; border-radius: 40px; text-decoration: none; font-weight: 700; font-size: 0.85rem; transition: all 0.3s; }
        .btn-primary:hover, .btn-outline:hover { transform: translateY(-2px); }
        .btn-outline:hover { background: #1e6fc0; color: white; }

        /* BOTÕES DE ACESSO AJUSTADOS
           Os links são gerados conforme o ambiente local ou online. */
        .btn-login-student,
        .btn-login-team {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 40px;
            white-space: nowrap;
        }

        .btn-login-student {
            border-color: #1e6fc0;
            color: #1e6fc0;
            background: #ffffff;
        }

        .btn-login-student:hover {
            background: #1e6fc0;
            color: #ffffff;
        }

        .btn-login-team {
            background: linear-gradient(135deg, #1e6fc0, #0f4f91);
            border: 2px solid #1e6fc0;
            color: #ffffff;
            box-shadow: 0 8px 18px rgba(30, 111, 192, 0.22);
        }

        .btn-login-team:hover {
            filter: brightness(1.04);
            box-shadow: 0 10px 22px rgba(30, 111, 192, 0.30);
        }
        
        .menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; }
        .mobile-menu { position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh; background: white; z-index: 2000; transition: right 0.3s; padding: 80px 24px 30px; overflow-y: auto; }
        .mobile-menu.active { right: 0; }
        .mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1999; display: none; }
        .mobile-overlay.active { display: block; }
        .close-menu { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 1.8rem; cursor: pointer; }
        .mobile-menu .nav-item { margin: 15px 0; }
        .mobile-menu .nav-link { font-size: 1.1rem; display: block; padding: 12px 0; }
        .mobile-menu .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 20px; display: none; margin-top: 8px; border-top: none; }
        .mobile-menu .nav-item.active .submenu { display: block; }

        /* TEAM - CORPO DIRETIVO */
        .team { padding: 4.5rem 0 4rem; background: white; }
        .team-heading { text-align: center; margin-bottom: 2rem; }
        .team-heading h2 { color: #1e6fc0; font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: .35rem; }
        .team-grid { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; max-width: 820px; margin: 0 auto; }
        .team-card { 
            position: relative;
            width: 220px; 
            min-height: 310px;
            background: #f8fafc; 
            border-radius: 24px; 
            padding: 14px 14px 16px; 
            text-align: center; 
            transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s ease, border-color .4s ease; 
            border: 1px solid #e0e6ed;
            cursor: pointer;
            outline: none;
            overflow: hidden;
        }
        .team-card::before {
            content: "";
            position: absolute;
            inset: 0 auto auto 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #1e6fc0, #67a5ff);
            opacity: .88;
        }
        .team-card::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(120deg, transparent 18%, rgba(255,255,255,.18) 48%, transparent 78%);
            opacity: 0;
            transform: translateX(-120%);
            transition: opacity .35s ease, transform .85s cubic-bezier(.22, 1, .36, 1);
            pointer-events: none;
        }
        .team-card:hover, .team-card:focus { transform: translateY(-8px); box-shadow: 0 24px 46px rgba(30,111,192,0.16); border-color: #8cb8ea; }
        .team-card:hover::after, .team-card:focus::after { opacity: 1; transform: translateX(120%); }
        .team-card .image-container { 
            position: relative; 
            width: 100%; 
            height: 230px; 
            margin: 0 auto; 
            border-radius: 20px; 
            overflow: hidden; 
            border: 2px solid #1e6fc0;
            background: linear-gradient(135deg, #eef6ff, #f8fafc);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .team-card img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center top;
            background: linear-gradient(135deg, #eef6ff, #f8fafc);
            transition: transform 0.45s ease, filter 0.3s ease;
        }
        .team-card:hover img { transform: scale(1.02); filter: saturate(1.08) contrast(1.04); }
        .team-avatar { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #e8f2ff; color: #1e6fc0; font-size: 2.4rem; font-weight: 800; }
        .team-info { margin-top: 1rem; position: relative; z-index: 1; }
        .team-info strong { display: block; color: #0f172a; font-size: 1rem; line-height: 1.28; overflow-wrap: anywhere; transition: color .25s ease; }
        .team-card:hover .team-info strong, .team-card:focus .team-info strong { color: #145ba3; }
        .team-info small {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-top: .45rem;
            padding: .36rem .72rem;
            border-radius: 999px;
            background: #edf4ff;
            color: #58718f;
            font-weight: 800;
        }
        .team-card .tooltip-text { 
            position: absolute; 
            bottom: calc(100% + 8px); 
            left: 50%; 
            transform: translateX(-50%) translateY(6px); 
            background: #0f172a; 
            color: white; 
            padding: 7px 10px; 
            border-radius: 10px; 
            font-size: 0.72rem; 
            font-weight: 600; 
            white-space: nowrap; 
            opacity: 0; 
            visibility: hidden; 
            transition: all 0.3s; 
            z-index: 10;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            pointer-events: none;
        }
        .team-card .tooltip-text small { display: block; color: #bfdbfe; font-size: 0.68rem; font-weight: 500; margin-top: 2px; }
        .team-card:hover .tooltip-text, .team-card:focus .tooltip-text { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

        /* HERO */
        .hero { min-height: clamp(430px, 58vh, 520px); background: #0f172a; padding: 4.2rem 0 3.5rem; color: white; position: relative; overflow: hidden; display: flex; align-items: center; }
        .hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,18,34,.88) 0%, rgba(8,18,34,.66) 46%, rgba(8,18,34,.24) 100%), linear-gradient(0deg, rgba(8,18,34,.38), rgba(8,18,34,.06)); pointer-events: none; }
        .hero .container { position: static; width: 100%; }
        .hero-grid { display: grid; grid-template-columns: minmax(0, 780px); gap: 2rem; align-items: center; }
        .hero-content { position: relative; z-index: 2; }
        .hero-content h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); line-height: 1.08; margin-bottom: .9rem; overflow-wrap: anywhere; }
        .hero-content p { font-size: 1.1rem; line-height: 1.65; margin-bottom: 2rem; opacity: 0.94; overflow-wrap: anywhere; }
        .hero-copy {
            position: relative;
            min-height: 0;
        }
        .hero-copy-badge {
            display: inline-flex;
            align-items: center;
            gap: .5rem;
            margin-bottom: 1rem;
            padding: .42rem .8rem;
            border: 1px solid rgba(255,255,255,.18);
            border-radius: 999px;
            background: rgba(255,255,255,.1);
            color: rgba(255,255,255,.92);
            font-size: .78rem;
            font-weight: 800;
            letter-spacing: .06em;
            text-transform: uppercase;
            backdrop-filter: blur(10px);
        }
        .hero-copy-stage {
            position: relative;
            min-height: 145px;
        }
        .hero-copy-panel {
            position: absolute;
            inset: 0;
            opacity: 0;
            transform: translateY(24px);
            filter: blur(8px);
            transition: opacity .58s cubic-bezier(.22, 1, .36, 1), transform .58s cubic-bezier(.22, 1, .36, 1), filter .58s ease;
            pointer-events: none;
        }
        .hero-copy-panel.is-active,
        .hero-copy-panel.is-entering {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
        }
        .hero-copy-panel.is-active {
            position: relative;
            pointer-events: auto;
        }
        .hero-copy-panel.is-exiting {
            opacity: 0;
            transform: translateY(-18px);
            filter: blur(8px);
        }
        .hero-slide-caption {
            margin-top: 1rem;
            display: inline-flex;
            flex-direction: column;
            gap: .25rem;
            padding: .9rem 1rem;
            border-left: 3px solid rgba(255,255,255,.58);
            background: rgba(9,21,36,.2);
            backdrop-filter: blur(8px);
        }
        .hero-slide-caption strong {
            font-size: .96rem;
            color: #fff;
        }
        .hero-slide-caption span {
            color: rgba(255,255,255,.74);
            font-size: .88rem;
            line-height: 1.55;
        }
        .hero-image { position: absolute; inset: 0; z-index: 0; --hero-shift: 0px; transform: none !important; }
        .hero-slider {
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 0;
            overflow: hidden;
            box-shadow: none;
            background: #0f172a;
        }
        .hero-slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 1.05s ease;
            pointer-events: none;
        }
        .hero-slide::after {
            display: none;
        }
        .hero-slide.is-active {
            opacity: 1;
        }
        .hero-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            display: block;
            transform: scale(1.02) translate3d(0, 0, 0);
            transition: transform 6.4s cubic-bezier(.22, 1, .36, 1);
            will-change: transform;
        }
        .hero-slide.is-active img {
            transform: scale(1.04) translate3d(var(--kb-x, 0px), calc(var(--kb-y, 0px) + var(--hero-shift, 0px)), 0);
        }
        .hero-slider-controls {
            position: absolute;
            inset: auto 24px 24px 24px;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 1rem;
            z-index: 3;
        }
        .hero-slider-dots {
            display: flex;
            gap: .55rem;
            align-items: center;
            flex-wrap: wrap;
        }
        .hero-slider-dot {
            width: 11px;
            height: 11px;
            border: none;
            border-radius: 999px;
            background: rgba(255,255,255,.42);
            cursor: pointer;
            transition: transform .25s ease, background .25s ease, width .25s ease;
        }
        .hero-slider-dot.is-active {
            width: 28px;
            background: #ffffff;
        }
        .hero-slider-nav {
            display: flex;
            gap: .6rem;
        }
        .hero-slider-btn {
            width: 42px;
            height: 42px;
            border: 1px solid rgba(255,255,255,.24);
            border-radius: 999px;
            background: rgba(15,23,42,.32);
            color: #fff;
            cursor: pointer;
            transition: transform .25s ease, background .25s ease, border-color .25s ease;
            backdrop-filter: blur(10px);
        }
        .hero-slider-btn:hover {
            transform: translateY(-2px);
            background: rgba(15,23,42,.52);
            border-color: rgba(255,255,255,.42);
        }

        /* ABOUT */
        .about { padding: 4.5rem 0; background: #ffffff; color: #122033; position: relative; overflow: hidden; }
        .about .container { position: relative; z-index: 1; }
        .about-grid { display: grid; grid-template-columns: minmax(0, 850px); gap: 2rem; align-items: center; }
        .about-content h2 { text-align: left; }
        .about-content p { color: #475569; line-height: 1.75; margin-bottom: 1rem; }
        .about .section-title { color: #1e6fc0; }
        .about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 2rem; margin-top: 2rem; text-align: center; }
        .about-stat { padding: 1rem; border: 1px solid #cbd7e6; border-radius: 18px; background: #f1f6fb; box-shadow: 0 10px 24px rgba(15, 35, 65, 0.08); }
        .about-stat .number { font-size: 2.5rem; font-weight: 800; color: #1e6fc0; }
        .about-stat .label { color: #475569; font-weight: 700; }
        .about-image { display: none; }

        /* NOSSA ESCOLA */
        .school-showcase { padding: 5rem 0; background: #fff; }
        .school-showcase-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 3rem; align-items: center; }
        .school-copy { max-width: 580px; }
        .school-eyebrow { display: inline-flex; align-items: center; gap: .45rem; color: #1e6fc0; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem; }
        .school-copy h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: #0f172a; margin-bottom: 1rem; line-height: 1.08; }
        .school-copy p { color: #475569; line-height: 1.8; font-size: 1.04rem; }
        .school-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.6rem; }
        .school-highlights span { display: flex; align-items: center; gap: .45rem; min-height: 48px; padding: .75rem .85rem; border-radius: 14px; background: #f8fafc; border: 1px solid #e2e8f0; color: #0f172a; font-weight: 800; font-size: .88rem; }
        .school-highlights i { color: #1e6fc0; }
        .school-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
        .school-photo-card {
            position: relative;
            min-height: 240px;
            overflow: hidden;
            border-radius: 22px;
            background: #e2e8f0;
            box-shadow: 0 18px 36px rgba(15,23,42,.12);
            transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s ease;
            cursor: pointer;
        }
        .school-photo-card:first-child { grid-row: span 2; min-height: 500px; }
        .school-photo-card::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(120deg, transparent 15%, rgba(255,255,255,.14) 48%, transparent 78%);
            opacity: 0;
            transform: translateX(-120%);
            transition: opacity .35s ease, transform .85s cubic-bezier(.22, 1, .36, 1);
            pointer-events: none;
        }
        .school-photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .55s ease; }
        .school-photo-card:hover { transform: translateY(-7px); box-shadow: 0 26px 52px rgba(15,23,42,.18); }
        .school-photo-card:hover::after { opacity: 1; transform: translateX(120%); }
        .school-photo-card:hover img { transform: scale(1.03); }
        .school-photo-caption {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 1.1rem;
            color: #fff;
            background: linear-gradient(transparent, rgba(15,23,42,.92));
            transform: translateY(8px);
            transition: transform .35s ease;
        }
        .school-photo-card:hover .school-photo-caption { transform: translateY(0); }
        .school-photo-caption strong { display: block; font-size: 1rem; margin-bottom: .28rem; }
        .school-photo-caption p { margin: 0; color: rgba(255,255,255,.84); font-size: .84rem; line-height: 1.5; }
        .school-photo-action { display: inline-flex; align-items: center; gap: .38rem; margin-top: .7rem; padding: .34rem .62rem; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font-size: .76rem; font-weight: 800; }

        /* COURSES */
        .courses { padding: 5rem 0; background: #f8fafc; }
        .courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
        .course-card {
            position: relative;
            background: white;
            border-radius: 24px;
            padding: 1.5rem;
            transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s ease, border-color .4s ease;
            border: 1px solid #e0e6ed;
            overflow: hidden;
        }
        .course-card::before {
            content: "";
            position: absolute;
            inset: 0 auto auto 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #1e6fc0, #73adff);
            opacity: .9;
        }
        .course-card::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.22) 48%, transparent 76%);
            opacity: 0;
            transform: translateX(-120%);
            transition: opacity .35s ease, transform .85s cubic-bezier(.22, 1, .36, 1);
            pointer-events: none;
        }
        .course-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 24px 48px rgba(15,23,42,.14);
            border-color: #c6d8f1;
        }
        .course-card:hover::after { opacity: 1; transform: translateX(120%); }
        .course-image { width: 100%; height: 180px; object-fit: cover; object-position: center top; border-radius: 16px; margin-bottom: 1rem; transition: transform .7s ease, filter .45s ease; }
        .course-card:hover .course-image { transform: scale(1.03); filter: saturate(1.06) contrast(1.03); }
        .course-badge { display: inline-block; background: #1e6fc0; color: white; padding: 5px 14px; border-radius: 30px; font-size: 0.75rem; margin-bottom: 1rem; position: relative; z-index: 1; }
        .course-card h3 { font-size: 1.3rem; color: #1e6fc0; margin-bottom: 0.5rem; transition: color .25s ease; position: relative; z-index: 1; }
        .course-card:hover h3 { color: #145ba3; }
        .course-card p { position: relative; z-index: 1; }
        .course-meta { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0.85rem 0 1rem; font-size: 0.85rem; color: #1e6fc0; position: relative; z-index: 1; }
        .course-meta span {
            display: inline-flex;
            align-items: center;
            gap: .38rem;
            padding: .38rem .7rem;
            border-radius: 999px;
            background: #eef5ff;
            color: #1e6fc0;
            font-weight: 700;
        }
        .btn-course { color: #1e6fc0; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color .25s ease, gap .25s ease; position: relative; z-index: 1; }
        .btn-course i { transition: transform .25s ease; }
        .btn-course:hover { gap: 12px; color: #0f4a7a; }
        .btn-course:hover i { transform: translateX(4px); }

        /* NEWS */
        .news { padding: 5rem 0; background: white; }
        .news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 2rem; }
        .news-card {
            position: relative;
            background: #f8fafc;
            border-radius: 24px;
            overflow: hidden;
            transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s ease, border-color .4s ease;
            border: 1px solid #e2e8f0;
            box-shadow: 0 12px 28px rgba(15,23,42,.05);
        }
        .news-card::before {
            content: "";
            position: absolute;
            inset: 0 auto auto 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #1e6fc0, #67a5ff);
            opacity: .86;
            z-index: 1;
        }
        .news-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 24px 48px rgba(15,23,42,.14);
            border-color: #c6d8f1;
        }
        .news-card img { width: 100%; height: 220px; object-fit: cover; object-position: center top; transition: transform .7s ease, filter .45s ease; }
        .news-card:hover img { transform: scale(1.03); filter: saturate(1.06) contrast(1.03); }
        .news-card-content { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; position: relative; z-index: 1; }
        .news-card-content h3 {
            color: #0f172a;
            line-height: 1.3;
            transition: color .25s ease;
        }
        .news-card:hover .news-card-content h3 { color: #145ba3; }
        .news-date { font-size: 0.8rem; color: #1e6fc0; margin-bottom: 0.5rem; font-weight: 600; }
        .read-more { display: inline-flex; align-items: center; gap: .45rem; color: #1e6fc0; font-weight: 800; text-decoration: none; margin-top: auto; transition: color .25s ease, gap .25s ease; }
        .read-more i { transition: transform .25s ease; }
        .read-more:hover { gap: .7rem; color: #0f4a7a; }
        .read-more:hover i { transform: translateX(4px); }

        /* JORNAL MURAL */
        .mural { padding: 5rem 0; background: #f8fafc; }
        .mural-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; margin-top: 2rem; }
        .mural-card { display: grid; grid-template-rows: 180px 1fr; min-height: 100%; overflow: hidden; border-radius: 22px; background: white; border: 1px solid #e2e8f0; box-shadow: 0 14px 30px rgba(15,23,42,.07); transition: transform .3s ease, box-shadow .3s ease; }
        .mural-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,23,42,.12); }
        .mural-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; background: #e2e8f0; }
        .mural-card-content { padding: 1.35rem; display: flex; flex-direction: column; gap: .65rem; }
        .mural-label { display: inline-flex; width: fit-content; padding: .32rem .65rem; border-radius: 999px; background: #fff7ed; color: #b45309; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
        .mural-date { display: inline-flex; align-items: center; gap: .4rem; width: fit-content; margin: .85rem 0 .1rem; padding: .38rem .75rem; border-radius: 999px; background: #eef5ff; color: #145ba3; font-size: .82rem; font-weight: 900; white-space: nowrap; }
        .mural-card h3 { color: #0f172a; font-size: 1.18rem; line-height: 1.25; }
        .mural-card p { color: #475569; line-height: 1.65; }

        /* TESTIMONIALS */
        .testimonials { padding: 5rem 0; background: #1e6fc0; color: white; }
        .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 2rem; }
        .testimonial-card { background: rgba(255,255,255,0.12); border-radius: 24px; padding: 2rem; text-align: center; backdrop-filter: blur(10px); transition: transform 0.3s; }
        .testimonial-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.18); }
        .testimonial-card i { font-size: 2rem; opacity: 0.5; margin-bottom: 1rem; }
        .testimonial-card p { font-style: italic; line-height: 1.6; margin-bottom: 1rem; }

        /* GALERIA */
        .gallery { padding: 5rem 0; background: #f8fafc; }
        .gallery-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1rem 0 2.2rem; }
        .gallery-overview-card { display: flex; align-items: flex-start; gap: .9rem; padding: 1rem; border: 1px solid #d7e4f2; border-radius: 18px; background: white; box-shadow: 0 12px 26px rgba(15,35,65,.07); cursor: pointer; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
        .gallery-overview-card:hover, .gallery-overview-card:focus, .gallery-overview-card.is-active { transform: translateY(-3px); border-color: #1e6fc0; box-shadow: 0 16px 32px rgba(30,111,192,.16); outline: none; }
        .gallery-overview-card.is-gallery-hidden { display: none; }
        .gallery-overview-icon { width: 42px; height: 42px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; background: #eaf3ff; color: #1e6fc0; }
        .gallery-overview-card h3 { color: #102033; font-size: 1rem; margin: 0 0 .25rem; }
        .gallery-overview-card p { color: #5d7088; font-size: .9rem; line-height: 1.45; margin: 0; }
        .gallery-overview-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
        .gallery-overview-tags span { border-radius: 999px; background: #eef5fb; color: #1e6fc0; padding: .26rem .55rem; font-size: .72rem; font-weight: 800; }
        .gallery-group { margin-top: 2.5rem; }
        .gallery-group-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; padding-bottom: .95rem; border-bottom: 1px solid rgba(30,111,192,.16); }
        .gallery-group-title { font-size: 1.5rem; color: #1e6fc0; margin-bottom: 0; display: flex; align-items: center; gap: 0.8rem; }
        .gallery-group-title::before { content: ""; width: 40px; height: 4px; border-radius: 4px; background: #1e6fc0; }
        .gallery-group-text { flex: 1 1 320px; max-width: 620px; color: #5b6b80; line-height: 1.55; }
        .gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
        .gallery-item { position: relative; overflow: hidden; border-radius: 20px; cursor: pointer; aspect-ratio: 4/3; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
        .gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.65s ease, filter 0.45s ease; }
        .gallery-item:hover img { transform: scale(1.03); filter: saturate(1.08) contrast(1.05); }
        .gallery-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.85)); color: white; padding: 1.2rem; transform: translateY(100%); transition: transform 0.3s; }
        .gallery-item:hover .gallery-overlay { transform: translateY(0); }
        .gallery-overlay h4 { font-size: 1rem; margin-bottom: 0.2rem; }
        .gallery-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }
        .filter-btn { padding: 0.6rem 1.5rem; border: none; background: white; border-radius: 40px; cursor: pointer; font-weight: 600; transition: all 0.3s; border: 1px solid #e0e6ed; }
        .filter-btn.active, .filter-btn:hover { background: #1e6fc0; color: white; border-color: #1e6fc0; }

        /* COMPONENTES */
        .components { padding: 5rem 0; background: white; }
        .components-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
        .component-card { background: #f8fafc; border-radius: 24px; padding: 2rem; text-align: center; transition: all 0.3s; }
        .component-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
        .component-icon { width: 70px; height: 70px; background: #1e6fc0; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1rem; }

        /* REDES SOCIAIS */
        .social-feed { padding: 1.35rem 0; background: #0f172a; color: white; }
        .social-feed-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
        .social-feed-title { display: inline-flex; align-items: center; gap: .55rem; font-size: .95rem; font-weight: 900; color: #e2e8f0; }
        .social-buttons { display: flex; justify-content: flex-end; gap: .75rem; flex-wrap: wrap; }
        .social-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; min-height: 42px; padding: .65rem .9rem; border-radius: 999px; text-decoration: none; font-weight: 800; transition: all 0.3s; font-size: .9rem; }
        .social-btn:hover { transform: translateY(-3px); filter: brightness(1.05); }
        .social-btn.instagram { background: linear-gradient(45deg, #f09433, #d62976); color: white; }
        .social-btn.facebook { background: #1877f2; color: white; }
        .social-btn.youtube { background: #ff0000; color: white; }
        .social-btn.whatsapp { background: #25d366; color: white; }

        /* STATS */
        .stats-section { background: #f0f4ff; padding: 4rem 0; }
        .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
        .stat-number { font-size: 3rem; font-weight: 800; color: #1e6fc0; }
        .media-smart {
            background: #dbe7f3;
        }
        .media-smart--portrait {
            object-position: center top !important;
        }
        .lightbox {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: rgba(3, 10, 18, .88);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity .3s ease, visibility .3s ease;
            z-index: 4000;
        }
        .lightbox.is-open {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }
        .lightbox-dialog {
            position: relative;
            width: min(1100px, 100%);
            max-height: 100%;
            border-radius: 24px;
            overflow: hidden;
            background: #08111c;
            box-shadow: 0 30px 80px rgba(0,0,0,.4);
        }
        .lightbox-media {
            position: relative;
            background: #08111c;
        }
        .lightbox-media img {
            display: block;
            width: 100%;
            max-height: min(78vh, 860px);
            object-fit: contain;
            background: #08111c;
        }
        .lightbox-caption {
            padding: 1rem 1.2rem 1.2rem;
            color: #fff;
            background: linear-gradient(180deg, rgba(8,17,28,.4) 0%, rgba(8,17,28,.95) 100%);
        }
        .lightbox-caption strong {
            display: block;
            font-size: 1rem;
            margin-bottom: .3rem;
        }
        .lightbox-caption p {
            color: rgba(255,255,255,.78);
            line-height: 1.6;
        }
        .lightbox-close,
        .lightbox-nav {
            position: absolute;
            z-index: 2;
            border: none;
            border-radius: 999px;
            background: rgba(8,17,28,.56);
            color: #fff;
            cursor: pointer;
            backdrop-filter: blur(10px);
            transition: background .25s ease, transform .25s ease;
        }
        .lightbox-close:hover,
        .lightbox-nav:hover {
            background: rgba(8,17,28,.82);
            transform: translateY(-2px);
        }
        .lightbox-close {
            top: 16px;
            right: 16px;
            width: 44px;
            height: 44px;
            font-size: 1.05rem;
        }
        .lightbox-nav {
            top: 50%;
            transform: translateY(-50%);
            width: 48px;
            height: 48px;
            font-size: 1rem;
        }
        .lightbox-nav:hover {
            transform: translateY(calc(-50% - 2px));
        }
        .lightbox-prev { left: 18px; }
        .lightbox-next { right: 18px; }

        /* CONTACT */
        .contact { padding: 5rem 0; background: #f8fafc; }
        .contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
        .contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
        .contact-card { background: white; padding: 1.5rem; border-radius: 24px; text-align: center; transition: transform 0.3s; }
        .contact-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
        .contact-card i { font-size: 2.2rem; color: #1e6fc0; margin-bottom: 1rem; }
        .contact-alert { max-width: 760px; margin: 0 auto 1.5rem; padding: 1rem 1.2rem; border-radius: 16px; text-align: center; font-weight: 800; }
        .contact-alert.success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
        .contact-alert.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
        .contact-form input, .contact-form textarea { width: 100%; padding: 14px; margin-bottom: 1rem; border: 1px solid #ddd; border-radius: 14px; font-family: inherit; }
        .contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #1e6fc0; }
        .map-container { margin-top: 2rem; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
        a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(30,111,192,.35); outline-offset: 3px; }

        /* CONTRASTE DO PORTAL */
        body { background: #eaf1f8; color: #122033; }
        .section-subtitle { color: #475569; }
        .team,
        .school-showcase,
        .news,
        .components {
            background: #ffffff;
        }
        .courses,
        .mural,
        .gallery,
        .contact {
            background: #eaf1f8;
            border-top: 1px solid #d6e1ee;
            border-bottom: 1px solid #d6e1ee;
        }
        .stats-section {
            background: #dfeaff;
            border-top: 1px solid #c7d7f4;
            border-bottom: 1px solid #c7d7f4;
        }
        .team-card,
        .news-card,
        .component-card,
        .school-highlights span {
            background: #f1f6fb;
            border: 1px solid #cbd7e6;
            box-shadow: 0 10px 24px rgba(15, 35, 65, 0.08);
        }
        .course-card,
        .mural-card,
        .contact-card,
        .filter-btn {
            background: #ffffff;
            border: 1px solid #c4d2e3;
            box-shadow: 0 12px 28px rgba(15, 35, 65, 0.09);
        }
        .team-card:hover,
        .news-card:hover,
        .component-card:hover,
        .course-card:hover,
        .mural-card:hover,
        .contact-card:hover {
            box-shadow: 0 18px 40px rgba(15, 35, 65, 0.16);
        }
        .contact-form input,
        .contact-form textarea {
            background: #ffffff;
            border-color: #b9c8da;
        }
        .header {
            box-shadow: 0 8px 24px rgba(15, 35, 65, 0.08);
        }

        .footer { background: #1a2a3a; color: #aaa; padding: 3rem 0; text-align: center; }
        .back-to-top {
            position: fixed;
            right: 18px;
            bottom: 18px;
            z-index: 2500;
            width: 46px;
            height: 46px;
            border: 0;
            border-radius: 999px;
            background: #1e6fc0;
            color: #fff;
            box-shadow: 0 14px 30px rgba(15, 35, 65, .24);
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .25s ease;
        }
        .back-to-top.is-visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .back-to-top:hover { background: #0f4f91; }
        
        @media (max-width: 700px) {
            .team { padding: 3.5rem 0; }
            .team-grid { max-width: 100%; gap: 1rem; }
            .team-card { width: min(100%, 310px); min-height: 0; padding: 12px; }
            .team-card .image-container { height: 240px; }
            .team-card .tooltip-text { display: none; }
        }
        @media (max-width: 550px) {
            .team-heading { margin-bottom: 1.4rem; }
            .team-card { width: 100%; }
            .team-card .image-container { height: 250px; }
        }
        @media (max-width: 900px) {
            .nav-menu { display: none; }
            .menu-toggle { display: block; }
            .header-school-name { max-width: none; order: 2; flex-basis: calc(100% - 70px); font-size: .8rem; }
            .header-buttons { order: 3; }
            .menu-toggle { order: 4; }
            .hero-grid, .about-grid, .school-showcase-grid, .contact-grid { grid-template-columns: 1fr; text-align: center; }
            .about-grid { gap: 2rem; }
            .about-image img { max-width: 100%; margin: 0 auto; }
            .school-copy { margin: 0 auto; }
            .school-highlights { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .about-content h2 { text-align: center; }
        }
        @media (max-width: 550px) {
            .hero { min-height: 390px; padding: 2.8rem 0 2.4rem; }
            .hero-grid { gap: 2rem; }
            .hero-content h1 { font-size: clamp(1.55rem, 7vw, 2.05rem); line-height: 1.14; }
            .hero-content p { font-size: .98rem; line-height: 1.7; margin-bottom: 1.35rem; }
            .hero-slider-controls { inset: auto 12px 12px 12px; gap: .7rem; }
            .hero-slider-btn { width: 38px; height: 38px; }
            .about { padding: 4rem 0; }
            .about-content p { font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
            .about-stats { grid-template-columns: 1fr; gap: .9rem; }
            .school-showcase { padding: 3.5rem 0; }
            .school-photo-grid { grid-template-columns: 1fr; }
            .school-photo-card, .school-photo-card:first-child { min-height: 230px; grid-row: auto; }
            .news-grid, .mural-grid, .gallery-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: 1fr; }
            .contact-info { grid-template-columns: 1fr; }
            .social-feed-row { justify-content: center; text-align: center; }
            .social-buttons { justify-content: center; }
            .social-btn { justify-content: center; }
            .lightbox { padding: 12px; }
            .lightbox-dialog { border-radius: 18px; }
            .lightbox-nav { width: 42px; height: 42px; }
        }

        body.is-loading {
            overflow: hidden;
        }
        .page-loader {
            position: fixed;
            inset: 0;
            z-index: 3000;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 1rem;
            background: radial-gradient(circle at top, #1e6fc0 0%, #0f172a 75%);
            color: #fff;
            transition: opacity .45s ease, visibility .45s ease;
        }
        .page-loader.is-hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }
        .page-loader__ring {
            width: 58px;
            height: 58px;
            border-radius: 50%;
            border: 4px solid rgba(255,255,255,.18);
            border-top-color: #fff;
            animation: loaderSpin .9s linear infinite;
        }
        .page-loader__text {
            font-size: .82rem;
            letter-spacing: .18em;
            text-transform: uppercase;
            font-weight: 800;
        }
        @keyframes loaderSpin {
            to { transform: rotate(360deg); }
        }
        .reveal-on-scroll {
            opacity: 0;
            transform: translateY(52px) scale(.965);
            filter: blur(8px);
            transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1), filter .9s ease;
            transition-delay: var(--reveal-delay, 0ms);
        }
        .reveal-on-scroll.is-visible {
            opacity: 1;
            transform: translateY(0) scale(1);
            filter: blur(0);
        }
        .header.is-scrolled {
            box-shadow: 0 16px 34px rgba(15, 35, 65, 0.12);
            border-bottom-color: #0f4a7a;
        }
        .nav-link.is-active {
            color: #1e6fc0;
        }
        .nav-link.is-active::after {
            content: "";
            display: block;
            width: 100%;
            height: 2px;
            margin-top: 4px;
            border-radius: 999px;
            background: currentColor;
        }
        .stats-grid > div,
        .course-card,
        .news-card,
        .mural-card,
        .gallery-item,
        .component-card,
        .contact-card,
        .team-card,
        .school-photo-card {
            will-change: transform, opacity;
        }
    
