/* --- VARIÁVEIS E RESET --- */
:root {
    /* Nova Paleta de Cores CIEP */
    --primary-color: #0d47a1;
    /* Azul Marinho Profundo - Seriedade */
    --primary-light: #1565c0;
    --accent-color: #00bfa5;
    /* Verde Menta/Teal - Tecnologia e Limpeza */
    --text-color: #37474f;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --dark-bg: #102027;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- UTILITÁRIOS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

h1,
h2,
h3,
h4 {
    font-family: 'Raleway', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 191, 165, 0.3);
}

.btn:hover {
    background: #008e76;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 191, 165, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* --- HEADER & NAV --- */
header {
    background: rgba(255, 255, 255, 0.98);
    height: 90px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1px;
}

.logo i {
    color: var(--accent-color);
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    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 {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(to right, rgba(13, 71, 161, 0.9), rgba(21, 101, 192, 0.8)), url('https://images.unsplash.com/photo-1606811841689-23dfddce3e95?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    padding: 40px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--white);
    text-transform: uppercase;
}

.hero-content h1 span {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

/* --- CARDS INFORMATIVOS (Floating) --- */
.info-cards {
    transform: translateY(-50px);
    position: relative;
    z-index: 10;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: center;
    border-bottom: 4px solid var(--accent-color);
}

.card:hover {
    transform: translateY(-10px);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.card p {
    font-size: 0.95rem;
    color: #666;
}

/* --- SOBRE (Grid Assimétrico) --- */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px 0 20px 0;
    box-shadow: var(--shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 5px solid var(--accent-color);
    border-left: 5px solid var(--accent-color);
    z-index: -1;
}

.about-text h4 {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.check-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* --- SERVIÇOS (Modern Grid) --- */
.services {
    background-color: var(--light-bg);
}

.services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-box {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    transition: 0.4s ease;
    z-index: -1;
    border-radius: 10px;
}

.service-box:hover::before {
    height: 100%;
}

.service-box:hover h3,
.service-box:hover p {
    color: var(--white);
}

.service-box:hover .icon-box {
    background: var(--white);
    color: var(--primary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(13, 71, 161, 0.1);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: 0.3s;
}

.service-box h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* --- LOCALIZAÇÃO (Seminário) --- */
.contact-section {
    padding: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 400px 1fr;
}

.contact-info {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 40px;
    font-size: 2rem;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    min-width: 30px;
    text-align: center;
}

.info-item h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(20%);
    /* Mapa Estiloso */
}

/* --- FOOTER --- */
footer {
    background: var(--dark-bg);
    color: #b0bec5;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 350px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0bec5;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* --- ANIMAÇÕES --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 60px 30px;
    }

    .map-wrapper {
        min-height: 350px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 900;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .mobile-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }
}