/* ===================================================== */
/* =============== MAZAL INFORMÁTICA =================== */
/* =============== STYLE.CSS OFICIAL =================== */
/* ===================================================== */


/* ================= RESET ================= */

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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #F4FBF8;
    color: #1A1A1A;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 70px; /* altura do header fixo */
}


/* ================= CONTAINER ================= */

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


/* ===================================================== */
/* ================= HEADER ============================= */
/* ===================================================== */

.header-site,
.header-produtos {
    background: #111;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    display: flex;
    align-items: center;

    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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


/* ================= LOGO + EMPRESA ================= */

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 130px;
    height: auto;
}

.empresa-info h1 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

.empresa-info p {
    color: #bbb;
    font-size: 15px;
}


/* ================= MENU ================= */

.menu-principal ul,
.menu-produtos ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.menu-principal a,
.menu-produtos a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.menu-principal a:hover,
.menu-produtos a:hover {
    color: #ff6600;
}


/* ===================================================== */
/* ================= HERO =============================== */
/* ===================================================== */

.hero {
    background:
    linear-gradient(rgba(31,122,92,0.85), rgba(46,139,109,0.85)),
    url("../img/hero-tech.png");

    background-size: cover;
    background-position: center;

    color: white;
    padding: 120px 0;
    text-align: center;
}

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

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

.hero-produtos {

    background:
    linear-gradient(rgba(31,122,92,0.85), rgba(46,139,109,0.85)),
    url("../img/hero-tech.png");

    background-size: cover;
    background-position: center;

    color: white;
    text-align: center;
    padding: 120px 0;
}

.hero-produtos h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero-produtos p {
    font-size: 18px;
    opacity: 0.9;
}


/* ===================================================== */
/* ================= PRODUTOS =========================== */
/* ===================================================== */

.secao-produtos {
    padding: 80px 0;
    background: #f4f4f4;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.produto-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.4s ease;
}

.produto-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}

.produto-card img {
    width: 100%;
    display: block;
}

.produto-info {
    padding: 20px;
    text-align: center;
}

.produto-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.produto-info p {
    font-size: 14px;
    color: #777;
}


/* ================= OVERLAY ================= */

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.produto-card:hover .overlay {
    opacity: 1;
}

.btn-overlay {
    background: #ff6600;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn-overlay:hover {
    background: #e05500;
}


/* ================= BOTÃO WHATSAPP ================= */

.btn-whatsapp {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 32px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


/* ===================================================== */
/* ================= SECTIONS =========================== */
/* ===================================================== */

section {
    padding: 60px 0;
}


/* ===================================================== */
/* ================= FOOTER ============================= */
/* ===================================================== */

footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

footer p {
    font-size: 14px;
}

/* ===================================================== */
/* ================= CONTATO / FORMULÁRIO =============== */
/* ===================================================== */

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

/* ===== FORMULÁRIO ===== */

.formulario {
    background: #ffffff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.formulario h2 {
    margin-bottom: 20px;
    font-size: 22px;
}

.formulario label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 500;
}

.formulario input,
.formulario textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: 0.3s;
}

.formulario input:focus,
.formulario textarea:focus {
    outline: none;
    border-color: #1F7A5C;
    box-shadow: 0 0 0 2px rgba(31,122,92,0.15);
}

/* Botão do formulário */

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: #1F7A5C;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn:hover {
    background: #17664c;
    transform: translateY(-2px);
}

/* ===== INFORMAÇÕES DE CONTATO ===== */

.info-contato {
    background: #ffffff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.info-contato h2 {
    margin-bottom: 20px;
}

.info-contato p {
    margin-bottom: 18px;
    font-size: 15px;
}

.info-contato a {
    color: #1F7A5C;
    text-decoration: none;
    font-weight: 500;
}

.info-contato a:hover {
    text-decoration: underline;
}

/* ===================================================== */
/* ================= BOTÃO WHATSAPP FLOAT ============== */
/* ===================================================== */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 60px;
    height: 60px;

    background: #25D366;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    box-shadow: 0 10px 25px rgba(0,0,0,0.2);

    z-index: 9999;

    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    background: #20bd5a;
}

/* ================= SOBRE ================= */

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

.sobre-img img{
    width:100%;
    border-radius:12px;
    box-shadow:0 15px 35px rgba(0,0,0,0.1);
}


/* ===================================================== */
/* ================= RESPONSIVO ========================= */
/* ===================================================== */

@media (max-width: 768px) {

    .header-content {
        overflow: hidden;
    }
    .contato-grid {
    grid-template-columns: 1fr;
    }

    /* Menu com rolagem horizontal */
    .menu-principal,
    .menu-produtos {
        width: 100%;
        overflow-x: auto;
    }

    .menu-principal ul,
    .menu-produtos ul {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
        min-width: max-content;
        padding-bottom: 5px;
    }

    .menu-principal ul::-webkit-scrollbar,
    .menu-produtos ul::-webkit-scrollbar {
        display: none;
    }

    .menu-principal a,
    .menu-produtos a {
        font-size: 14px;
        white-space: nowrap;
    }

    /* Oculta o texto da empresa apenas no mobile */
    .empresa-info {
        display: none;
    }

    .hero,
    .hero-produtos {
        padding: 60px 20px;
    }

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

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

    .hero-produtos h1 {
        font-size: 28px;
    }
    .sobre-grid{
grid-template-columns:1fr;
    }
}


/* ===================================================== */
/* ============= MENSAGEM ENVIADA ====================== */
/* ===================================================== */

.mensagem-sucesso {
    text-align: center;
    padding: 80px 20px;
}

.card-sucesso {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 15px;
    max-width: 600px;
    margin: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card-sucesso h1 {
    font-size: 30px;
    margin-bottom: 15px;
    color: #1F7A5C;
}

.card-sucesso p {
    font-size: 16px;
    margin-bottom: 25px;
}

.btn-voltar {
    display: inline-block;
    padding: 12px 28px;
    background: #1F7A5C;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-voltar:hover {
    background: #17664c;
    transform: translateY(-2px);
}

/* ===================================================== */
/* ================= ANIMAÇÕES ========================== */
/* ===================================================== */

.hero,
section,
.produto-card,
.formulario,
.info-contato{
    animation: fadeUp 0.8s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform: translateY(20px);
    }

    to{
        opacity:1;
        transform: translateY(0);
    }

}

.whatsapp-float img{
    width:36px;
    height:36px;
    object-fit: contain;
    display:block;
}

/* ===================================================== */
/* ============= ANIMAÇÃO BOTÃO WHATSAPP =============== */
/* ===================================================== */

.whatsapp-float{
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse{

    0%{
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37,211,102,0.7);
    }

    70%{
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37,211,102,0);
    }

    100%{
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }

}