 /* --- VARIÁVEIS DE CORES E RESET --- */
 :root {
     /* Paleta Everest: Azul Montanha, Branco Neve e Laranja Sol */
     --primary-color: #003366;
     /* Azul Marinho Profundo */
     --primary-light: #00509d;
     /* Azul Médio */
     --accent-color: #ff6b00;
     /* Laranja Vibrante (Ação) */
     --text-dark: #1a1a1a;
     --text-gray: #555555;
     --bg-light: #f8f9fa;
     --white: #ffffff;

     --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
     --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
     --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     text-decoration: none;
     list-style: none;
     outline: none;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     font-family: 'Open Sans', sans-serif;
     color: var(--text-dark);
     background-color: var(--white);
     line-height: 1.6;
     overflow-x: hidden;
 }

 h1,
 h2,
 h3,
 h4 {
     font-family: 'Montserrat', sans-serif;
     font-weight: 700;
     color: var(--primary-color);
     line-height: 1.2;
 }

 /* --- UTILITÁRIOS --- */
 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 .section-padding {
     padding: 100px 0;
 }

 .text-center {
     text-align: center;
 }

 .btn {
     display: inline-block;
     padding: 14px 35px;
     border-radius: 50px;
     font-weight: 700;
     font-family: 'Montserrat', sans-serif;
     text-transform: uppercase;
     font-size: 0.85rem;
     letter-spacing: 1px;
     transition: var(--transition);
     cursor: pointer;
     border: 2px solid transparent;
     position: relative;
     overflow: hidden;
     z-index: 1;
 }

 .btn-primary {
     background-color: var(--accent-color);
     color: var(--white);
     box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
 }

 .btn-primary:hover {
     background-color: #e65100;
     transform: translateY(-3px);
     box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
 }

 .btn-outline {
     background: transparent;
     border-color: var(--white);
     color: var(--white);
 }

 .btn-outline:hover {
     background: var(--white);
     color: var(--primary-color);
 }

 /* Títulos de Seção com Estilo "Montanha" */
 .section-header {
     text-align: center;
     margin-bottom: 70px;
     position: relative;
 }

 .section-header h2 {
     font-size: 2.5rem;
     margin-bottom: 15px;
     position: relative;
     display: inline-block;
     z-index: 2;
 }

 /* Efeito de linha em ziguezague sob o título */
 .section-header h2::after {
     content: '';
     display: block;
     width: 80px;
     height: 4px;
     background: var(--accent-color);
     margin: 15px auto 0;
     border-radius: 2px;
 }

 .section-header p {
     color: var(--text-gray);
     max-width: 600px;
     margin: 0 auto;
 }

 /* --- HEADER & NAV --- */
 header {
     background: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(10px);
     box-shadow: var(--shadow-sm);
     position: fixed;
     width: 100%;
     top: 0;
     z-index: 1000;
     height: 80px;
     display: flex;
     align-items: center;
     transition: var(--transition);
 }

 .navbar {
     display: flex;
     justify-content: space-between;
     align-items: center;
     width: 100%;
 }

 .logo {
     font-family: 'Montserrat', sans-serif;
     font-weight: 800;
     font-size: 1.5rem;
     color: var(--primary-color);
     text-transform: uppercase;
     letter-spacing: -1px;
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .logo i {
     color: var(--accent-color);
     font-size: 1.8rem;
 }

 .nav-menu {
     display: flex;
     gap: 30px;
     align-items: center;
 }

 .nav-link {
     color: var(--primary-color);
     font-weight: 600;
     font-size: 0.95rem;
     position: relative;
     transition: color 0.3s;
 }

 .nav-link::after {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     bottom: -5px;
     left: 0;
     background-color: var(--accent-color);
     transition: width 0.3s;
 }

 .nav-link:hover::after {
     width: 100%;
 }

 .hamburger {
     display: none;
     font-size: 1.8rem;
     color: var(--primary-color);
     cursor: pointer;
 }

 /* --- HERO SECTION (Parallax) --- */
 .hero {
     height: 100vh;
     min-height: 600px;
     background: linear-gradient(135deg, rgba(0, 51, 102, 0.85), rgba(0, 80, 157, 0.6)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=2070&auto=format&fit=crop');
     background-size: cover;
     background-position: center;
     background-attachment: fixed;
     display: flex;
     align-items: center;
     position: relative;
     color: var(--white);
     /* Recorte diagonal na base */
     clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
     margin-bottom: -50px;
     /* Sobreposição sutil */
 }

 .hero-content {
     max-width: 800px;
     padding-left: 20px;
     animation: slideInLeft 1s ease-out;
 }

 .hero-tag {
     background: rgba(255, 255, 255, 0.2);
     padding: 5px 15px;
     border-radius: 20px;
     font-weight: 600;
     text-transform: uppercase;
     font-size: 0.8rem;
     letter-spacing: 1px;
     display: inline-block;
     margin-bottom: 20px;
 }

 .hero h1 {
     font-size: 4rem;
     margin-bottom: 20px;
     line-height: 1.1;
     text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
 }

 .hero p {
     font-size: 1.25rem;
     margin-bottom: 35px;
     opacity: 0.9;
 }

 .hero-buttons {
     display: flex;
     gap: 15px;
 }

 /* --- FEATURES (Cards Flutuantes) --- */
 .features {
     padding: 80px 0;
     background: var(--white);
 }

 .features-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
 }

 .feature-box {
     background: var(--bg-light);
     padding: 40px 30px;
     border-radius: 15px;
     transition: var(--transition);
     border-bottom: 4px solid transparent;
     position: relative;
     overflow: hidden;
 }

 .feature-box:hover {
     transform: translateY(-10px);
     background: var(--white);
     box-shadow: var(--shadow-lg);
     border-bottom-color: var(--accent-color);
 }

 .icon-circle {
     width: 70px;
     height: 70px;
     background: rgba(0, 51, 102, 0.1);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 25px;
     font-size: 1.8rem;
     color: var(--primary-color);
     transition: var(--transition);
 }

 .feature-box:hover .icon-circle {
     background: var(--primary-color);
     color: var(--white);
 }

 .feature-box h3 {
     margin-bottom: 15px;
     font-size: 1.3rem;
 }

 /* --- SOBRE (Grid Assimétrico) --- */
 .about-section {
     background-color: var(--white);
 }

 .about-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 60px;
     align-items: center;
 }

 .about-content h4 {
     color: var(--accent-color);
     text-transform: uppercase;
     letter-spacing: 2px;
     font-size: 0.9rem;
     margin-bottom: 15px;
 }

 .about-content h2 {
     font-size: 2.8rem;
     margin-bottom: 25px;
 }

 .about-content p {
     color: var(--text-gray);
     margin-bottom: 20px;
 }

 .stats-row {
     display: flex;
     gap: 40px;
     margin-top: 30px;
     border-top: 1px solid #eee;
     padding-top: 30px;
 }

 .stat-box h3 {
     font-size: 2.5rem;
     color: var(--primary-light);
 }

 .stat-box span {
     font-size: 0.9rem;
     font-weight: 600;
     color: var(--text-dark);
 }

 .about-image {
     position: relative;
 }

 .about-image img {
     width: 100%;
     border-radius: 20px;
     box-shadow: var(--shadow-lg);
 }

 /* Elemento decorativo atrás da imagem */
 .about-image::before {
     content: '';
     position: absolute;
     top: -20px;
     right: -20px;
     width: 60%;
     height: 80%;
     background: var(--accent-color);
     border-radius: 20px;
     z-index: -1;
     opacity: 0.1;
 }

 /* --- NÍVEIS DE ENSINO (Cards com Imagem) --- */
 .levels-section {
     background-color: var(--bg-light);
     /* Recorte inverso no topo */
     clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
     padding-top: 120px;
 }

 .levels-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
     gap: 30px;
 }

 .level-card {
     background: var(--white);
     border-radius: 15px;
     overflow: hidden;
     box-shadow: var(--shadow-sm);
     transition: var(--transition);
 }

 .level-card:hover {
     transform: translateY(-5px);
     box-shadow: var(--shadow-lg);
 }

 .level-img {
     height: 200px;
     overflow: hidden;
 }

 .level-img img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.5s;
 }

 .level-card:hover .level-img img {
     transform: scale(1.1);
 }

 .level-info {
     padding: 30px;
 }

 .level-info h3 {
     font-size: 1.4rem;
     margin-bottom: 10px;
 }

 .level-info p {
     color: var(--text-gray);
     font-size: 0.95rem;
     margin-bottom: 20px;
 }

 .link-arrow {
     color: var(--accent-color);
     font-weight: 700;
     display: inline-flex;
     align-items: center;
     gap: 8px;
     transition: 0.3s;
 }

 .link-arrow:hover {
     gap: 12px;
 }

 /* --- CONTATO E LOCALIZAÇÃO --- */
 .contact-section {
     background: var(--white);
     position: relative;
 }

 .contact-container {
     display: grid;
     grid-template-columns: 1fr 1.5fr;
     gap: 0;
     box-shadow: var(--shadow-lg);
     border-radius: 20px;
     overflow: hidden;
     background: var(--white);
 }

 .contact-info {
     background: var(--primary-color);
     padding: 60px 40px;
     color: var(--white);
     position: relative;
     overflow: hidden;
 }

 /* Padrão de fundo sutil */
 .contact-info::after {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
     background-size: 20px 20px;
     opacity: 0.5;
     pointer-events: none;
 }

 .contact-info h3 {
     color: var(--white);
     font-size: 2rem;
     margin-bottom: 30px;
     position: relative;
     z-index: 2;
 }

 .info-item {
     display: flex;
     align-items: flex-start;
     margin-bottom: 30px;
     position: relative;
     z-index: 2;
 }

 .info-item i {
     font-size: 1.5rem;
     color: var(--accent-color);
     margin-right: 15px;
     margin-top: 5px;
 }

 .info-item h4 {
     color: var(--white);
     font-size: 1.1rem;
     margin-bottom: 5px;
 }

 .info-item p {
     color: rgba(255, 255, 255, 0.8);
     font-size: 0.95rem;
 }

 .map-wrapper {
     height: 100%;
     min-height: 500px;
     background: #eee;
 }

 /* --- FOOTER --- */
 footer {
     background-color: #002244;
     color: #ccc;
     padding: 70px 0 20px;
     font-size: 0.9rem;
 }

 .footer-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 40px;
     margin-bottom: 50px;
 }

 .footer-logo {
     color: var(--white);
     font-family: 'Montserrat', sans-serif;
     font-weight: 800;
     font-size: 1.5rem;
     display: flex;
     align-items: center;
     gap: 10px;
     margin-bottom: 20px;
 }

 .footer-col h4 {
     color: var(--white);
     margin-bottom: 20px;
     font-size: 1.1rem;
 }

 .footer-links li {
     margin-bottom: 12px;
 }

 .footer-links a {
     color: #aaa;
     transition: color 0.3s;
 }

 .footer-links a:hover {
     color: var(--accent-color);
     padding-left: 5px;
 }

 .footer-bottom {
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     padding-top: 25px;
     text-align: center;
     display: flex;
     justify-content: space-between;
     flex-wrap: wrap;
     gap: 20px;
 }

 /* --- ANIMAÇÕES --- */
 @keyframes slideInLeft {
     from {
         opacity: 0;
         transform: translateX(-50px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 .reveal {
     opacity: 0;
     transform: translateY(30px);
     transition: all 0.8s ease;
 }

 .reveal.active {
     opacity: 1;
     transform: translateY(0);
 }

 /* --- RESPONSIVIDADE --- */
 @media (max-width: 992px) {
     .hero h1 {
         font-size: 3rem;
     }

     .about-grid {
         grid-template-columns: 1fr;
     }

     .contact-container {
         grid-template-columns: 1fr;
     }

     .map-wrapper {
         min-height: 350px;
     }

     .hero {
         clip-path: none;
         margin-bottom: 0;
     }

     .levels-section {
         clip-path: none;
         padding-top: 80px;
     }
 }

 @media (max-width: 768px) {
     .navbar .nav-menu {
         position: fixed;
         top: 80px;
         right: -100%;
         background: var(--white);
         width: 80%;
         height: 100vh;
         flex-direction: column;
         justify-content: center;
         box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
         transition: 0.4s ease;
     }

     .navbar .nav-menu.active {
         right: 0;
     }

     .hamburger {
         display: block;
     }

     .hero h1 {
         font-size: 2.5rem;
     }

     .stats-row {
         flex-direction: column;
         gap: 20px;
     }
 }