/* --- VARIÁVEIS & RESET --- */
:root {
    /* Identidade Visual: Modernidade e Confiança */
    --primary-color: #1a428a;
    /* Azul Royal Intenso */
    --secondary-color: #fca311;
    /* Amarelo/Laranja Vibrante */
    --accent-color: #e63946;
    /* Vermelho para destaques */
    --text-dark: #14213d;
    --text-light: #4a4e69;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;

    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 40px rgba(26, 66, 138, 0.15);
    --transition: all 0.3s ease-in-out;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, #00296b 100%);
}

* {
    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(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* --- UTILITÁRIOS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(252, 163, 17, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: #e5950f;
    box-shadow: 0 8px 25px rgba(252, 163, 17, 0.5);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

/* Títulos de Seção */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- HEADER & NAV --- */
header {
    background: var(--bg-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    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: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::before {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    min-height: 600px;
    /* Background com overlay gradiente */
    background: linear-gradient(rgba(26, 66, 138, 0.85), rgba(26, 66, 138, 0.7)), 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;
    overflow: hidden;
}

/* Forma orgânica no fundo */
.hero::bottom-shape {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-white);
    clip-path: polygon(0 40%, 100% 100%, 100% 100%, 0% 100%);
}

.hero-content {
    color: var(--bg-white);
    max-width: 800px;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
    font-weight: 600;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero h1 span {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* --- CARDS FLUTUANTES (Info Rápida) --- */
.quick-info {
    transform: translateY(-50px);
    position: relative;
    z-index: 10;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.info-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    border-bottom: 4px solid var(--secondary-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.info-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* --- SOBRE A ESCOLA --- */
.about-section {
    background-color: var(--bg-white);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.about-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: 20px;
    z-index: -1;
}

.about-content h4 {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.check-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
}

.check-list li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* --- NÍVEIS DE ENSINO (Cards Coloridos) --- */
.education {
    background-color: var(--bg-light);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.edu-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    text-align: center;
}

.edu-card:hover {
    transform: translateY(-10px);
}

.edu-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.edu-content {
    padding: 30px;
}

.edu-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.edu-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.link-arrow {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.link-arrow:hover {
    padding-left: 5px;
}

/* --- DIFERENCIAIS (Grid) --- */
.features {
    background-color: var(--primary-color);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

/* Círculos decorativos */
.features::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: 0.3s;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.1);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* --- CONTATO & LOCALIZAÇÃO --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    box-shadow: var(--shadow-card);
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-white);
}

.contact-info {
    background: var(--gradient);
    padding: 50px;
    color: var(--bg-white);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-row i {
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.info-row h5 {
    font-size: 1rem;
    margin-bottom: 5px;
    opacity: 0.8;
}

.info-row p {
    font-size: 1.1rem;
    font-weight: 600;
}

.map-box {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- FOOTER --- */
footer {
    background-color: #0b1c3e;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h2 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand h2 i {
    color: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-img::before {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 40px;
    }

    .map-box {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}