* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #886322;
    --color-secondary: #06630e; 
    --color-text-dark: #333333; 
    --color-text-light: #f4f4f4; 
    --color-background-light: #ffffff;
    --color-background-soft: #f9f9f9;
    --color-accent: #1ebd40; 

    /* Scroll Suave */
    scroll-behavior: smooth;
}

body {
    font-size: 1.2em;
    font-family: 'Roboto', sans-serif;
    color: var(--color-text-dark);
    line-height: 1.0;
    background-color: var(--color-background-light);
}

.section-title, .main-title {
    font-family: 'DM Serif Display', sans-serif;
    font-weight: 600; 
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 1px 0;
}

.section-title {
    font-size: 1.8em;
    margin-bottom: 0.5em;
    color: var(--color-primary);
    text-align: center;
}

/* HEADER E NAVEGAÇÃO */
.main-header {
    background-color: #242121;
    padding: 5px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 10;
    z-index: 100;
}

.logo img {
    height: 60px; /* Tamanho do logo no mobile */
    border-radius: 100px;
}

/* Menu Hambúrguer (Mobile) */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--color-primary);
    border-radius: 10px;
    transition: all 2s linear;
}

/* Navbar (Oculta no Mobile por padrão) */
.main-nav {
    display: none;
    position: absolute;
    top: 60px; 
    left: 0;
    width: 100%;
    background-color: #242121;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 90;
}

.main-nav.active {
    display: block; 
}

.main-nav ul {
    list-style: none;
    text-align: right;
    padding: 10px 0;
}

.main-nav ul li a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: var(--color-background-light);
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

.content-section {
    margin-top: 0%;
    padding: 10px 0;
    min-height: 80vh;
}

.quem-somos .main-title {
    margin-top: 0;
}

.quem-somos {
    background-color: var(--color-background-soft);
    text-align: center;
}

.quem-somos img {
    width: 1300px;
    max-width: 100%;
    max-height: 280px;
    object-fit: cover;
    margin-top: 5px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-intro {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1em;
}

.product-carousel {
    display: flex;
    overflow-x: auto; 
    gap: 10px; 
    padding-bottom: 20px; 
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

.product-card {
    min-height: 40px;
    flex: 0 0 85%; 
    max-width: 200px;
    background-color: var(--color-background-soft);
    overflow: hidden; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.product-card:hover {
    transform: translateY(-5px); 
}

.product-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; 
    object-position: center;
}

.product-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
}

.product-info h3 {
    font-family: 'DM Serif Display', serif;
    color: var(--color-primary);
    margin-bottom: 10px;
    margin-top: 0; 
}

.product-info p {
    font-size: 0.6em;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    line-height: 0.8;
    flex-grow: 1; 
}

.carousel-wrapper {
    position: relative; 
    margin: 50px auto;
    max-width: 800px; 
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--color-text-light); 
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20; 
    transition: background-color 0.2s;
    display: none; 
}

.btn-whatsapp {
    display: inline-block;
    background-color: #25D366; 
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px; 
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background-color 0.3s;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.diferenciais {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    text-align: center;
}

.diferenciais .section-title {
    color: var(--color-text-light);
}

.diferenciais ul {
    list-style: none;
    padding: 0;
}

.diferenciais ul li {
    background-color: rgba(12, 8, 8, 0.281);
    padding: 15px;
    margin: 10px 0;
    border-radius: 50px;
    font-size: 0.6em;
    font-weight: 500;
    display: ruby-text;
    align-items: center;
    justify-content: center;
}

.diferenciais .check-icon {
    color: var(--color-text-light); 
    margin-right: 10px;
}

.nossa-visao {
    background-color: var(--color-background-soft);
    text-align: center;
}

.contato {
    background-color: var(--color-background-light);
    text-align: center;
}

.cta-box {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 20px;
    border-radius: 40px;
    margin-top: 30px;
}

.cta-box h3 {
    font-size: 0.8em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-box h3 i {
    margin-right: 10px;
    font-size: 0.8em;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-text-light);
    padding: 20px 20px;
    text-decoration: none;
    border-radius: 100px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #2bff00;
}


/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); 
    padding-top: 60px;
}

.modal.open {
    display: block;
}

.modal-content {
    background-color: var(--color-background-light);
    margin: 5% auto; 
    padding: 20px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
}

.modal-link {
    display: block;
    margin: 10px 0;
    padding: 15px;
    text-decoration: none;
    color: var(--color-text-dark);
    border: 1px solid #5f633d;
    border-radius: 50px;
    transition: background-color 0.3s;
}

.modal-link i {
    margin-right: 10px;
}

.whatsapp-link {
    background-color: #1caf52;
    color: white;
    border: none;
}

.whatsapp-link:hover {
    background-color: #10bd3b;
}

/* FOOTER */
.main-footer {
    background-color: var(--color-text-dark);
    color: var(--color-text-light);
    padding: 20px 0;
    text-align: center;
}

.footer-content > div {
    margin-bottom: 20px;
}

.social-links a {
    color: var(--color-text-light);
    font-size: 1.6em;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--color-accent);
}

.company-info p {
    margin: 5px 0;
    font-size: 0.9em;
}

.credits a {
    color: var(--color-secondary);
    text-decoration: none;
}

/* BOTÃO SUBIR AO TOPO */
#scrollToTopBtn {
    display: none; 
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--color-accent);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #d9ff00;
}


/* MEDIA QUERIES (TABLET & DESKTOP) */
@media (min-width: 768px) {
    /* HEADER E NAVEGAÇÃO */
    .hamburger-menu {
        display: none;
    }

    .main-nav {
        display: block; 
        position: static;
        width: auto;
        box-shadow: none;
    }

    .main-nav ul {
        display: flex;
        padding: 0;
    }

    .main-nav ul li a {
        padding: 10px 15px;
        border-bottom: none;
        transition: color 0.3s;
    }
    
    .main-nav ul li a:hover {
        color: var(--color-primary);
    }
    
    .main-header {
        padding: 0px 2%;
    }
    
    .logo img {
        height: 80px;
        border-radius: 100px;
        margin: 0;
        padding: 0;
    }
    .carousel-btn {
        display: block; 
    }

    .carousel-btn:hover {
        background-color: var(--color-primary); 
    }

    .prev-btn {
        left: 10px; 
    }

    .next-btn {
        right: 10px; 
    }

    /* SEÇÕES */
    .content-section {
        padding: 80px 0;
    }
    
    /* FOOTER */
    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .footer-content > div {
        margin-bottom: 0;
    }

    .social-links {
        order: 3; 
    }
    
    .company-info {
        order: 1; 
    }
    
    .credits {
        order: 2; 
    }
}