@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #233147;
    background: #f9f8f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(35, 49, 71, 0.1);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(171, 148, 50, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 20px;
}

header #branding a {
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

header nav a {
    color: #233147;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    font-size: 16px;
}

header nav a:hover {
    color: #ab9432;
}

header nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ab9432, #233147);
    transition: width 0.3s ease;
}

header nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: #233147;
    background-image: url("../img/hero.png");
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    margin-top: 90px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="40" cy="70" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="70" cy="10" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="10" cy="90" r="1" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    font-weight: 300;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.button {
    display: inline-block;
    background: #ab9432;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
    /* box-shadow: 0 4px 15px rgba(171, 148, 50, 0.2); */
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    border: 2px solid transparent;
}

.button:hover {
    transform: translateY(-3px);
    /* box-shadow: 0 8px 20px rgba(171, 148, 50, 0.3); */
    /* background: #233147; */
    border-color: rgba(255, 255, 255, 0.1);
}

/* Content Sections */
.content-section {
    background: white;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(35, 49, 71, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(171, 148, 50, 0.1);
}

.content-section:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 25px 50px rgba(35, 49, 71, 0.12); */
}

.section-inner {
    padding: 4rem 3rem;
    /* background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); */
}

.content-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: #233147;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: calc(50% - 80px / 2);
    width: 80px;
    height: 4px;
    background: #ab9432;
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.grid-item {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(171, 148, 50, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(35, 49, 71, 0.08);
}

/* .grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(171, 148, 50, 0.08), transparent);
    transition: left 0.6s ease;
}

.grid-item:hover::before {
    left: 100%;
} */

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(35, 49, 71, 0.15);
    border-color: rgba(171, 148, 50, 0.3);
}

.grid-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #233147;
    position: relative;
    padding-bottom: 0.5rem;
}

.grid-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: calc(50% - 40px / 2);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ab9432, #d4b942);
    border-radius: 1px;
}

.grid-item p {
    color: #6c757d;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Special styling for alternating sections */
.content-section:nth-child(even) .section-inner {
    /* background: linear-gradient(135deg, #f8f9fa, #e9ecef); */
    position: relative;
}

.content-section:nth-child(even) .section-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-image: 
        radial-gradient(circle at 25% 25%, rgba(171, 148, 50, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(35, 49, 71, 0.05) 0%, transparent 50%); */
    pointer-events: none;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(35, 49, 71, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(171, 148, 50, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ab9432, #233147);
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(35, 49, 71, 0.12);
}

.contact-item strong {
    display: block;
    color: #233147;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-item p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #233147, #1a252f);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-top: 4rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ab9432, transparent);
}

/* Seção de números */
.numbers-section {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 3rem 0;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(35, 49, 71, 0.05);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.number-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(35, 49, 71, 0.08);
    transition: transform 0.3s ease;
}

.number-item:hover {
    transform: translateY(-5px);
}

.number-value {
    color: #ab9432;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.number-label {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero {
        padding: 6rem 0 4rem;
        margin-top: 120px;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
      .pyramid {
        padding: 2rem 1rem;
        max-width: 100%;
        margin: 2rem auto;
    }
      .section-inner {
        padding: 2rem 0;
    }
    
    .numbers-section {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
    
    .number-item {
        padding: 1.5rem 0.5rem;
    }
    
    .number-value {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .numbers-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .button {
        padding: 12px 25px;
        font-size: 16px;
    }}
