/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIÁVEIS */
:root {
    --verde-escuro: #1f3d2b;
    --verde-medio: #2e6b4f;
    --cinza-claro: #f5f5f5;
    --cinza-medio: #dddddd;
    --texto-escuro: #222222;
    --branco: #ffffff;
}

.logo {
    max-height: 80px;
}

.clients img {
    max-height: 100px;
    max-width: 100px;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: 0.3s;
}

.clients img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* GERAL */
body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--texto-escuro);
    line-height: 1.6;
    background-color: var(--branco);
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
.header {
    background: var(--verde-escuro);
    color: var(--branco);
    padding: 20px 0;
}

.header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* LOGO CENTRAL */
.logo {
    max-height: 100px;
    margin-bottom: 15px;
}

.menu {
    margin-top: 10px;
}

.menu a {
    margin-right: 20px;
    font-weight: bold;
    transition: opacity 0.3s;
}

.menu a:hover {
    opacity: 0.7;
}

/* HERO */
.hero {
    background:
        linear-gradient(rgba(31, 61, 43, 0.9), rgba(31, 61, 43, 0.9)),
        url("../img/fabrica.jpg");
    background-size: cover;
    background-position: center;
    color: var(--branco);
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 18px;
}

/* BOTÃO */
.btn {
    background: var(--verde-medio);
    color: var(--branco);
    padding: 15px 30px;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    transition: background 0.3s;
}

.btn:hover {
    background: #245a42;
}

/* SEÇÕES */
.section {
    padding: 60px 0;
}

.section h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.section p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
}

.section.dark {
    background: var(--cinza-claro);
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.card {
    background: var(--branco);
    border: 1px solid var(--cinza-medio);
    padding: 25px;
    font-weight: bold;
    text-align: center;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

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

/* LISTA */
.list {
    list-style: none;
    padding-left: 0;
    max-width: 700px;
    margin: 0 auto;
}

.list li {
    list-style: none;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--verde-medio);
}

/* CLIENTES */
.clients {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    font-weight: bold;
    color: var(--verde-escuro);
}

/* CTA */
.cta {
    background: var(--verde-escuro);
    color: var(--branco);
    padding: 60px 0;
    text-align: center;
}

.cta h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

/* FOOTER */
.footer {
    background: #111111;
    color: var(--branco);
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: bold;
    z-index: 999;
}

.qr-container {
    margin-top: 40px;
    text-align: center;
}

.qr-container h4 {
    margin-bottom: 15px;
    font-size: 20px;
}

#qrcode {
    display: inline-block;
    padding: 15px;
    background: white;
    border: 1px solid #ddd;
}

.qr-container p {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

/* MOBILE */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        background: #1f3d2b;
        width: 100%;
        margin-top: 15px;
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .menu a {
        display: inline-block;
        margin: 10px 10px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }
}
