/* --- VARIÁVEIS E RESET --- */
:root {
    /* Paleta: Concreto, Preto Urbano, Branco, Amarelo Sinalização */
    --bg-color: #f0f0f0;
    /* Cinza Concreto Claro */
    --text-color: #1a1a1a;
    /* Preto Quase Absoluto */
    --accent-color: #ffcc00;
    /* Amarelo Urbano */
    --white: #ffffff;
    --concrete: #d1d1d1;

    --grid-gap: 20px;
    --container-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    overflow-x: hidden;
    border-top: 10px solid var(--text-color);
    /* Borda superior marcante */
}

h1,
h2,
h3,
h4 {
    font-family: 'Archivo', sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* --- UTILITÁRIOS --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 120px 0;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--text-color);
    color: var(--white);
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: 2px solid var(--text-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--text-color);
    box-shadow: 5px 5px 0px var(--accent-color);
    transform: translate(-2px, -2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.btn-outline:hover {
    background: var(--text-color);
    color: var(--white);
    box-shadow: 5px 5px 0px var(--accent-color);
}

/* Títulos */
.section-title {
    font-size: 3rem;
    margin-bottom: 60px;
    position: relative;
    padding-left: 30px;
    border-left: 10px solid var(--accent-color);
}

/* --- HEADER --- */
header {
    background: var(--bg-color);
    padding: 30px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--concrete);
    transition: background 0.3s;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Archivo', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-color);
    line-height: 1;
    letter-spacing: -1px;
}

.logo span {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0;
    margin-top: 5px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    background: var(--bg-color);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    height: 100%;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 30px;
    color: var(--text-color);
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 2px var(--text-color);
    display: block;
}

.hero p {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-img {
    height: 100%;
    width: 100%;
    position: relative;
    background: url('https://images.unsplash.com/photo-1486744366881-ad95e0e37d59?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.hero:hover .hero-img {
    filter: grayscale(0%);
}

.hero-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    /* Overlay sutil */
}

/* Elemento Gráfico (Linhas) */
.lines {
    position: absolute;
    bottom: 50px;
    left: 40px;
    width: 100px;
    height: 100px;
    border-left: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
}

/* --- CURSOS / ATIVIDADES --- */
.courses {
    background: var(--white);
    border-top: 1px solid var(--text-color);
    border-bottom: 1px solid var(--text-color);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    border-left: 1px solid var(--text-color);
}

.course-card {
    padding: 60px 40px;
    border-right: 1px solid var(--text-color);
    border-bottom: 1px solid var(--text-color);
    /* Para mobile */
    transition: background 0.3s;
    position: relative;
}

.course-card:hover {
    background: var(--accent-color);
}

.course-number {
    font-family: 'Archivo', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.course-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-top: 20px;
}

.course-card p {
    font-size: 1rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.link-arrow {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- ESCOLA DE HUMANIDADES (Destaque) --- */
.humanities {
    background: var(--text-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.humanities-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.humanities-text h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    line-height: 1;
}

.humanities-text h2 span {
    color: var(--accent-color);
    display: block;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 2px;
}

.humanities-text p {
    color: #ccc;
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 500px;
}

.humanities-img {
    height: 500px;
    width: 100%;
    background: url('https://images.unsplash.com/photo-1506090487771-0814421b5853?q=80&w=2072&auto=format&fit=crop') center/cover;
    filter: grayscale(100%);
    border: 10px solid var(--white);
}

/* --- SOBRE (Infos PDF) --- */
.info-section {
    background: var(--bg-color);
}

.info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-block h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 10px;
    display: inline-block;
}

.info-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 15px;
    font-size: 1rem;
}

.info-list i {
    color: var(--text-color);
    font-size: 0.8rem;
}

.cnpj-tag {
    font-family: monospace;
    background: var(--concrete);
    padding: 5px 10px;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 10px;
}

/* --- LOCALIZAÇÃO (Mapa Brutalista) --- */
.location {
    height: 600px;
    position: relative;
    display: flex;
}

.map-wrapper {
    flex: 2;
    filter: grayscale(100%) contrast(1.2);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info {
    flex: 1;
    background: var(--accent-color);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.address-box p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.address-box span {
    display: block;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* --- FOOTER --- */
footer {
    background: var(--text-color);
    color: var(--white);
    padding: 60px 0 20px;
    border-top: 10px solid var(--accent-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    font-family: 'Archivo', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #999;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.legal {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #666;
    display: flex;
    justify-content: space-between;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-img {
        display: none;
    }

    .courses-grid {
        border-left: none;
    }

    .course-card {
        border-left: 1px solid var(--text-color);
    }

    .humanities-content {
        grid-template-columns: 1fr;
    }

    .humanities-img {
        height: 300px;
    }

    .location {
        flex-direction: column;
        height: auto;
    }

    .map-wrapper {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .navbar .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        border-bottom: 1px solid var(--text-color);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }

    .navbar .nav-links.active {
        transform: translateY(0);
    }

    .hamburger {
        display: block;
    }

    .info-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}