/* --- 1. VARIÁVEIS & RESET --- */
:root {
    --navy-blue: #0A1929;     /* Azul Profundo */
    --gold: #C5A059;          /* Dourado Nobre */
    --silver: #E0E0E0;        /* Prata */
    --white: #FFFFFF;
    --off-white: #F8F9FA;     /* Cinza muito claro */
    --text-dark: #2C2C2C;
    --text-grey: #666666;
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilitários de Fundo */
.bg-light { background-color: var(--off-white); }
.bg-white { background-color: var(--white); }
.section-padding { 
    padding: 60px 0;
    scroll-margin-top: 70px;
 }

/* --- 2. HEADER --- */
.header {
    background-color: rgba(10, 25, 41, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 10px 0;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 55px;
    width: auto;  
    display: block; 
}

.nav-link {
    color: var(--silver);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-link:hover { color: var(--white); }

.btn-contact {
    border: 1px solid var(--gold);
    padding: 8px 20px;
    color: var(--gold);
}

.btn-contact:hover {
    background-color: var(--gold);
    color: var(--navy-blue);
}

/* --- 3. HERO SECTION --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    /* Configuração da Imagem de Fundo */
    background-image: url('../img/hero-bg.png'); 
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed; 
}

/* A Máscara (Overlay) */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    
    /* Gradiente Suave: */
    /* Escurece um pouco em cima (para o menu) e embaixo (para o texto), */
    /* mas deixa o meio mais transparente para ver a imagem. */
    background: linear-gradient(
        180deg, 
        rgba(5, 14, 23, 0.8) 0%, 
        rgba(5, 14, 23, 0.4) 50%, 
        rgba(5, 14, 23, 0.9) 100%
    );
    z-index: 1;
}

/* Garante que o texto fique acima da máscara */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 4.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.hero-subtitle {
    color: var(--gold);
    letter-spacing: 5px;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.hero-text {
    color: var(--silver);
    font-size: 1.2rem;
    font-weight: 300;
}

/* --- 4. LEGACY SECTION --- */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--navy-blue);
    line-height: 1.1;
    margin-bottom: 30px;
}

.text-block p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: justify;
}

.shadow-img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;

    border-radius: 4px;
    box-shadow: 20px 20px 0px var(--navy-blue);
    transition: all 0.4s ease;
}

.shadow-img:hover {
    transform: translateY(-5px);
    box-shadow: 25px 25px 0px var(--gold);
}

/* --- 5. ALLIANCE SECTION --- */
.section-header-center {
    text-align: center;
    margin-bottom: 40px;
}

.section-lead {
    font-size: 1.3rem;
    color: var(--text-grey);
    font-family: var(--font-serif);
    font-style: italic;
}

.alliance-cards {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
}

/* Card Styles */

.card {
    flex: 1;
    text-align: center;
    padding: 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.card:hover {
    background-color: var(--white);
    border-color: var(--silver); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem; 
    margin-bottom: 25px;
    
    /* Isso aqui cria o efeito de "Medalha" */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%; 
    background-color: #fcfcfc;
    border: 1px solid var(--silver);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Quando passa o mouse no card, a medalha brilha em dourado */
.card:hover .card-icon {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2); /* Sombra dourada */
}

.card h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.card-role {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.card-desc {
    color: var(--text-grey);
    font-size: 1rem;
    max-width: 350px;
    margin: 0 auto;
}

.divider-vertical {
    width: 1px;
    height: 200px;
    background-color: #ddd;
    margin: 0 40px;
}

/* --- 6. FOOTER --- */
.footer {
    background-color: #050E17;
    color: var(--white);
    padding: 40px 0 20px 0; 
    border-top: 4px solid var(--gold);
}

.footer-brand h4 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px; 
    text-align: center;
}

.footer-col h5 {
    color: var(--silver);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-col p { color: #888; font-size: 0.9rem; line-height: 1.6; }

.footer-link { color: var(--gold); text-decoration: none; font-size: 0.9rem; }
.footer-link:hover { text-decoration: underline; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    font-size: 0.75rem;
    color: #555;
}

/* --- O SELO DO RODAPÉ --- */

.rotating-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotate-seal 25s linear infinite;
}

.seal-container {
    position: relative;
    width: 120px;      
    height: 120px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.static-shield {
    width: 45px;
    height: auto;
    z-index: 2;
}

@keyframes rotate-seal {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.footer-brand {
    position: relative;
    padding: 20px;
}

/* --- 7. RESPONSIVIDADE (CELULAR) --- */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    
    .content-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .alliance-cards { flex-direction: column; gap: 40px; }
    
    .divider-vertical { 
        width: 100%; height: 1px; margin: 0; 
    }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .nav { display: none; } /* Em produção, precisaria de um menu hamburguer */
}