/* Landing Page Design System - EEI (Esquema Único Style) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #113C64; /* Navy Blue */
    --accent: #BE1E2D;  /* Red */
    --text: #333333;
    --text-light: #666666;
    --bg: #ffffff;
    --bg-alt: #F8F9FA;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Layout --- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
}

/* --- Header --- */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo img {
    height: 60px;
}

.logo span {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    line-height: 1.2;
    max-width: 180px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    background: var(--primary);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-login:hover {
    background: #0d2e4d;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
}

.menu-btn i {
    width: 28px;
    height: 28px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 0;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Form Side */
.hero-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--text);
}

.hero-form h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.btn-submit {
    width: 100%;
    background: var(--accent);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #a31a27;
    transform: translateY(-2px);
}

/* --- Content Sections --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
}

/* Levels Grid */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.level-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.level-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent);
}

.level-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.level-body {
    padding: 2rem;
    text-align: center;
}

.level-body h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.btn-more {
    display: inline-block;
    margin-top: 1rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-more:hover {
    background: #a31a27;
    transform: translateY(-2px);
}

/* --- Differentials --- */
.diff-bg {
    background: var(--primary);
    color: var(--white);
}

.diff-bg .section-header h2 {
    color: var(--white);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.diff-item {
    padding: 1.5rem;
}

.diff-item i {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: #7bb8e8;
}

.diff-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.diff-item p {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.7;
}

/* --- Footer --- */
footer {
    background: #081e30;
    color: var(--white);
    padding: 0;
}

.footer-top-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.footer-main-content {
    padding-top: 4rem;
    padding-bottom: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Brand column */
.footer-brand p {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.footer-logo img {
    height: 44px;
    flex-shrink: 0;
}

.footer-logo span {
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
    line-height: 1.3;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.82rem;
    transition: var(--transition);
}

.footer-social span {
    font-style: italic;
}

.footer-social:hover {
    color: var(--white);
}

/* Column titles */
.footer-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 1.4rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.4;
}

.footer-links li i,
.footer-links li svg {
    color: var(--accent);
    fill: var(--accent);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

/* CTA Button in footer */
.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: var(--transition);
}

.footer-cta i {
    width: 16px;
    height: 16px;
}

.footer-cta:hover {
    background: #a31a27;
    transform: translateY(-2px);
}

/* Social circle (Instagram) */
.rede {
    width: 34px;
    height: 34px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.rede:hover {
    background: var(--white);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #051525;
    padding: 0.65rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #4a6075;
}

.footer-bottom-links a {
    color: #4a6075;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: #94a3b8;
}

/* --- WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999; /* Below mobile menu (2000) */
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.whatsapp-float.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive — Tablet */
@media (max-width: 992px) {
    section {
        padding: 4rem 0;
    }

    .hide-mobile {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    /* Mobile slide-in nav */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        transition: 0.4s ease;
        z-index: 2000;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 0.8rem 2rem;
    }

    .nav-links a:hover {
        background: var(--bg-alt);
    }

    .logo img {
        height: 45px;
    }

    /* Overlay behind mobile menu */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1999;
    }

    .nav-overlay.active {
        display: block;
    }
}

/* Responsive — Mobile */
@media (max-width: 768px) {
    .logo span {
        font-size: 0.85rem;
        max-width: 140px;
        white-space: normal;
        line-height: 1.2;
    }

    .logo img {
        height: 40px;
    }

    nav {
        padding: 0.75rem 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .diff-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .levels-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }
}
