/* 
 * Lagra FII - Institutional Website
 * Theme: Premium Yellow & Platinum Grey
 */

:root {
    /* Brand Colors */
    --primary: #FBBF24;       /* Amarelo Principal */
    --primary-dark: #F59E0B;  /* Amarelo Forte */
    --primary-deep: #B45309;  /* Amarelo Profundo */
    
    /* Neutrals */
    --platinum: #E5E7EB;      /* Cinza Platina (Background Premium) */
    --platinum-light: #F3F4F6;/* Cinza Claro (Cards/Sections) */
    --platinum-dark: #D1D5DB; /* Cinza Médio para bordas */
    --text-main: #0B1320;     /* Quase Preto */
    --text-secondary: #4B5563;/* Cinza Texto Secundário */
    --white: #FFFFFF;
    
    /* Action & Status */
    --cta: #0B1320;           /* Botão Escuro (Premium) */
    --cta-hover: #1F2937;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --section-padding: 80px 0;
    
    /* Effects */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--platinum-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; color: var(--text-secondary); }

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-deep); }
.bg-white { background-color: var(--white); }
.bg-platinum { background-color: var(--platinum); }
.hidden { display: none !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--cta);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--white);
}

.btn-accent {
    background-color: var(--primary);
    color: var(--text-main);
}

.btn-accent:hover {
    background-color: var(--primary-dark);
}

/* Header & Nav */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--white);
    background: var(--text-main);
    padding: 2px 8px;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--text-main);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-main);
}

/* Sections */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--primary-deep));
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--platinum) 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 span {
    color: var(--primary-deep);
    display: block;
}

.hero-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.badge {
    background: rgba(251, 191, 36, 0.2);
    color: var(--primary-deep);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-deep);
    margin-bottom: 20px;
}

/* Disclaimer Banner */
.disclaimer-banner {
    background-color: var(--platinum);
    border-bottom: 1px solid var(--primary);
    padding: 10px 0;
    font-size: 0.85rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background-color: var(--text-main);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: #9CA3AF;
    margin-top: 20px;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #D1D5DB;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    width: 90%;
    max-width: 600px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-left: 5px solid var(--primary);
}

.cookie-content p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: var(--transition);
        box-shadow: var(--shadow-card);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-badges {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}
