/* ===== VARIÁVEIS ===== */
:root {
    --preto: #0a0a0a;
    --preto-claro: #141414;
    --cinza: #1f1f1f;
    --cinza-medio: #888;
    --branco: #ffffff;
    --dourado: #c9a227;
    --dourado-claro: #e8d179;
    --transicao: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--preto);
    color: var(--branco);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== UTILITÁRIOS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== MENU / NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    order: 2;
    text-decoration: none;
}

.menu-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: white;
    transform: scale(1.05);
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--branco);
    border-radius: 2px;
    transition: var(--transicao);
}

.hamburger + .hamburger {
    margin-top: 5px;
}

/* ===== MENU LATERAL ===== */
.menu-lateral {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 60px 20px 30px;
    transition: left 0.4s ease;
    z-index: 1001;
    box-shadow: 5px 0 30px rgba(0,0,0,0.5);
    overflow-y: auto;
}

.menu-lateral.aberto {
    left: 0;
}

.menu-lateral ul {
    list-style: none;
}

.menu-lateral li {
    margin-bottom: 5px;
}

.menu-item {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 15px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    text-align: left;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 30px;
}

.btn-expandir {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.seta {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-expandir.expandido .seta {
    transform: rotate(180deg);
}

.submenu-cursos {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding-left: 15px;
}

.submenu-cursos.aberto {
    max-height: 500px;
    padding-top: 5px;
    padding-bottom: 10px;
}

.btn-curso {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 12px 18px;
    margin-bottom: 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: left;
}

.btn-curso:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    padding-left: 25px;
}

.fechar-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fechar-menu:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
    transform: rotate(90deg);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
}

.overlay.ativo {
    opacity: 1;
    visibility: visible;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.1) 40%,
        rgba(10, 10, 10, 0.8) 80%,
        var(--preto) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 30px;
    max-width: 800px;
}

.hero-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--dourado);
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    opacity: 0.8;
    letter-spacing: 1px;
    max-width: 500px;
    margin: 0 auto;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--branco), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===== SEÇÕES ===== */
.secao {
    padding: 100px 0;
}

.secao-header {
    text-align: center;
    margin-bottom: 60px;
}

.secao-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--dourado);
    margin-bottom: 15px;
}

.secao-titulo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 1px;
}

/* ===== HISTÓRIA ===== */
.historia {
    background: var(--preto);
}

.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.historia-texto p {
    font-size: 1.05rem;
    line-height: 1.9;
    opacity: 0.85;
    margin-bottom: 20px;
}

.historia-texto .destaque {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 1;
    color: var(--branco);
}

.historia-texto strong {
    color: var(--dourado);
    font-weight: 600;
}

.historia-imagem {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.historia-imagem img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: var(--transicao);
}

.historia-imagem:hover img {
    transform: scale(1.03);
}

.imagem-legenda {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.9;
}

/* ===== VALORES ===== */
.valores {
    background: var(--preto-claro);
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.valor-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px 35px;
    text-align: center;
    transition: var(--transicao);
}

.valor-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(201, 162, 39, 0.15);
    transform: translateY(-8px);
}

.valor-icone {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.valor-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dourado);
}

.valor-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.75;
}

/* ===== NÚMEROS ===== */
.numeros {
    background: linear-gradient(135deg, var(--preto-claro) 0%, var(--cinza) 100%);
    padding: 80px 0;
}

.numeros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.numero-item {
    padding: 20px;
}

.numero {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--dourado);
    line-height: 1;
    margin-bottom: 10px;
}

.numero-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}


/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, var(--preto-claro) 0%, var(--cinza) 100%);
    text-align: center;
    padding: 120px 0;
}

.cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 40px;
}

.btn-primario {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--dourado) 0%, var(--dourado-claro) 100%);
    color: var(--preto);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transicao);
    border: none;
    cursor: pointer;
}

.btn-primario:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 162, 39, 0.3);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--preto-claro);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dourado);
}

.footer-col p {
    font-size: 0.95rem;
    opacity: 0.7;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--branco);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transicao);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--dourado);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transicao);
    z-index: 998;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 992px) {
    .historia-grid {
        grid-template-columns: 1fr;
    }
    
    .historia-imagem {
        order: -1;
    }
    
    .historia-imagem img {
        height: 350px;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
    }
    
    .numeros-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipe-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 10px 20px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .secao {
        padding: 60px 0;
    }
    
    .numeros-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-lateral {
        width: 280px;
        left: -280px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float img {
        width: 24px;
        height: 24px;
    }
}