/* --- Variáveis e Reset --- */
:root {
    --primary-color: #004d40; /* Verde Petróleo escuro (sóbrio e industrial) */
    --secondary-color: #212121; /* Quase preto */
    --accent-color: #ff9800; /* Laranja para detalhes/CTA */
    --text-color: #333333;
    --light-bg: #f4f6f8;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, .logo {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.section-padding {
    padding: 80px 0;
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.btn-contact {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
}

.btn-contact:hover {
    background-color: #00332a;
}

/* --- Dropdown --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-dropdown-toggle i {
    font-size: 0.75rem;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    font-size: 0.9rem;
}

.nav-dropdown-menu li a:hover {
    background: #f7f7f7;
}

.nav-dropdown-menu li a.active {
    background: #f0f3f5;
    color: var(--primary-color);
    font-weight: 600;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* --- Hero Section --- */
/*
.hero {
    height: 100vh;
    background: url('https://placehold.co/1920x1080/FFF?text=') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 70px;
} */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.8),
        rgba(0,0,0,0.4)
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
}
.hero-content h1,
.hero-content p {
    text-shadow: 0 2px 8px rgba(0,0,0,0.75);
}
.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 600;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background: #e68900;
    color: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
}

/* --- Features / Diferenciais --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* --- About --- */
.bg-light {
    background-color: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* --- Products --- */
.product-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: transparent;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card.highlighted {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.2);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-img {
    position: relative;
}

.product-eye {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.product-eye:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-2px);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 230px;
}

.category-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.product-info h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    line-height: 1.3;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.2rem * 1.3 * 2);
}

.product-info p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(0.9rem * 1.6 * 3);
}

.product-cta {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 16px;
}

.btn-whatsapp {
    padding: 10px 18px;
    font-size: 0.8rem;
    text-transform: none;
}

/* --- Contact & CTA --- */
.cta-section {
    background: var(--secondary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--accent-color);
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.contact-item a:hover {
    color: var(--accent-color);
}



/* --- Floating WhatsApp --- */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 1100;
    transition: var(--transition);
}

.whatsapp-float i {
    font-size: 1.6rem;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    background: #1ebe57;
}

/* --- Modal Produto --- */
.product-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1200;
}

.product-modal.open {
    opacity: 1;
    visibility: visible;
}

.product-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.product-modal-content {
    position: relative;
    background: var(--white);
    width: min(1000px, 92vw);
    border-radius: 12px;
    padding: 24px;
    z-index: 1;
    max-height: 90vh;
    overflow: auto;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: #f0f0f0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
}

.modal-media {
    position: relative;
}

.modal-image {
    width: 100%;
    border-radius: 10px;
    max-height: 420px;
    object-fit: cover;
    background: #f5f5f5;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0,0,0,0.6);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

.modal-nav.prev {
    left: 10px;
}

.modal-nav.next {
    right: 10px;
}

.modal-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.modal-thumb {
    border: 2px solid transparent;
    padding: 2px;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    flex: 0 0 auto;
}

.modal-thumb.active {
    border-color: var(--accent-color);
}

.modal-thumb img {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.modal-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.modal-title {
    margin: 10px 0;
    font-size: 1.4rem;
}

.modal-desc {
    color: #555;
    margin-bottom: 20px;
}

.modal-long {
    color: #555;
    margin-bottom: 16px;
}

.modal-subtitle {
    font-size: 1rem;
    margin-bottom: 8px;
}

.modal-features {
    padding-left: 18px;
    margin-bottom: 20px;
    color: #555;
}

.modal-features li {
    margin-bottom: 6px;
}

body.modal-open {
    overflow: hidden;
}

/* --- Footer --- */
footer {
    background: #111;
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: var(--white);
}

.footer-links h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.socials a {
    font-size: 1.2rem;
    margin-right: 15px;
    transition: var(--transition);
}

.socials a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
}

.copyright a:hover {
    color: var(--accent-color);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        transition: 0.3s;
        gap: 20px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu li a {
        padding: 10px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-img {
        order: -1;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }

    .product-info {
        min-height: unset;
    }

    .product-modal-content {
        padding: 18px;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-image {
        max-height: 300px;
    }
}
