/* GERAL E RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #131314;
    --text-color: #FFFFFF;
    --highlight-color: #FFD700; /* Amarelo Ouro */
    --action-color: #E53935; /* Vermelho Pontual */
    --font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.highlight {
    color: var(--highlight-color);
}

/* HEADER E NAVEGAÇÃO */
.header {
    width: 100%;
    padding: 1rem 5%;
    background-color: rgba(19, 19, 20, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--highlight-color);
}

/* BOTÕES */
.btn-primary {
    background-color: var(--highlight-color);
    color: var(--bg-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #ffea70;
    transform: translateY(-2px);
}

.btn-cta {
    background-color: var(--action-color);
    color: var(--text-color);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta:hover {
    background-color: #c62828;
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
}

/* MENU MOBILE */
.menu-mobile-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-mobile-icon .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}


/* SEÇÕES GERAIS */
main section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
}

/* HERO SECTION */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 10rem; /* Espaço para o header fixo */
}

.hero-content {
    flex: 1;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 15px;
}

/* COMO FUNCIONA */
.how-it-works .steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.step-card {
    background-color: #1a1a1c;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-icon {
    height: 60px;
    margin-bottom: 1.5rem;
    filter: invert(92%) sepia(31%) saturate(2206%) hue-rotate(338deg) brightness(107%) contrast(101%); /* Converte ícone para amarelo ouro */
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--highlight-color);
}

/* VITRINE DE PRODUTOS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--text-color);
    padding: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}


/* ONDE ESTAMOS */
.location-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: #1a1a1c;
}

.location-content {
    flex: 1;
}

.location-content p {
    margin: 1rem 0 2rem;
}

.location-map {
    flex: 1;
}

.location-map img {
    max-width: 100%;
    border-radius: 10px;
}

.btn-secondary {
    border: 2px solid var(--highlight-color);
    color: var(--highlight-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background-color: var(--highlight-color);
    color: var(--bg-color);
}


/* RODAPÉ */
.footer {
    background-color: #000;
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 45px;
    margin-bottom: 1rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--highlight-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a, .footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-icons a:hover img {
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}


/* RESPONSIVIDADE */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }

    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .how-it-works .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-section {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about p {
        margin: 0 auto;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .btn-primary {
        display: none; /* Esconde o botão principal no mobile para simplificar */
    }

    .menu-mobile-icon {
        display: flex;
    }
    
    .menu-mobile-icon.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-mobile-icon.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-mobile-icon.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .how-it-works .steps-container {
        grid-template-columns: 1fr;
    }
}