/* Adicionar no início do seu CSS */
html {
    scroll-behavior: smooth; /* Habilita o scroll suave */
}

/* Classe para elementos que vão ser animados */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Classe que será adicionada via JS quando o elemento estiver visível */
.visible {
    opacity: 1;
    transform: translateY(0);
}

:root {
    --primary-blue: #1F437F;
    --secondary-gold: #9B750A;
    --accent-green: #2dea59;
    --accent-yellow: #FCFC03;
    --neutral-dark: #242021;
    --neutral-light: #EDEDED;
    --white: #FFFFFF;

    --font-heading: 'Tahoma', sans-serif;
    --font-body: 'Raleway', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--neutral-light);
    color: var(--neutral-dark);
}

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

/* Header */
.header {
    background-color: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-blue);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-desktop ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-desktop a {
    text-decoration: none;
    color: var(--neutral-dark);
    font-weight: bold;
    transition: color 0.3s;
}

.nav-desktop a:hover {
    color: var(--primary-blue);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #15325c;
}

.mobile-menu-icon {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

.nav-mobile {
    display: none;
    background-color: var(--white);
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-mobile ul {
    list-style: none;
    padding: 20px;
    text-align: center;
}

.nav-mobile li {
    margin-bottom: 20px;
}

.nav-mobile a {
    text-decoration: none;
    color: var(--neutral-dark);
    font-weight: bold;
    font-size: 18px;
}

.btn-primary-mobile {
    display: block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}


/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-background.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 70px; /* Header height */
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-secondary {
    background-color: var(--secondary-gold);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #7a5d08;
}

/* General Section Styles */
.section-light, .section-dark, .section-gradient {
    padding: 80px 0;
}

.section-light { background-color: var(--white); }
.section-dark { background-color: var(--neutral-dark); color: var(--white); }
.section-gradient {
    background: linear-gradient(to right, var(--primary-blue), #15325c);
    color: var(--white);
}

.content-section {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.content-section h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    margin-bottom: 20px;
}

.content-section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 18px;
    color: #a0a0a0;
}

.section-dark .section-title p {
    color: var(--neutral-light);
}


/* Cards */
.cards-container {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.card {
    background-color: #2c2829;
    padding: 30px;
    border-radius: 10px;
    flex: 1;
    max-width: 400px;
}

.card h3 {
    font-family: var(--font-heading);
    color: var(--secondary-gold);
    margin-bottom: 20px;
    font-size: 24px;
}

.card ul {
    list-style: none;
}

.card li {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
}


/* Product List */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-item {
    background-color: var(--neutral-light);
    padding: 20px;
    border-radius: 5px;
    border-left: 5px solid var(--primary-blue);
}

/* Features */
.features-container {
    display: flex;
    gap: 30px;
    text-align: center;
}

.feature {
    flex: 1;
}

.feature h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--accent-green);
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background-color: var(--neutral-dark);
    color: var(--white);
    padding: 60px 0 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo, .footer-contact, .footer-social {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    max-width: 300px;
    color: #a0a0a0;
    line-height: 1.6;
}

.footer h4 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--secondary-gold);
}

.footer-contact p, .footer-social a {
    color: #a0a0a0;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

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

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #a0a0a0;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-desktop, .header .btn-primary {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }

    .cards-container, .features-container {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo p {
        margin: 0 auto;
    }
}