/* ============================
    GLOBAL STYLES
============================ */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #222;
    font-size: 16px;
    padding-top: 80px; /* ajuste conforme a altura do seu header */
}
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #e63946;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background .2s ease;
}
.btn:hover {
    background: #c72f3b;
}
button.btn {
    border: none;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}



/* HEADER FIXO */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #ffffffcc; /* leve transparência elegante */
    backdrop-filter: blur(10px); /* efeito glass */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
@font-face {
    font-family: 'FivoSansBold';
    src: url('fonts/FivoSans-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px; /* espaço entre símbolo e texto */
}
.logo {
    font-family: 'FivoSansBold', sans-serif;
    font-size: 42px;
    color: #e63946; /* seu vermelho */
    letter-spacing: 1px;
}
.logo-img {
    height: 60px;
}
.logo-icon {
    height: 30px; /* entre 28 e 36px */
}



/* MENU */
.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #303030;
    border-bottom: 1px solid #eee;
}
.menu-links {
    list-style: none;
    display: flex;
    gap: 25px;
    /* z-index: -1; */
}
.menu-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
}
.menu-links a:hover {
    color: #fcc100;
}
.menu-toggle {
    display: none;
}



/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 40px;
    gap: 20px;
    background: 
        radial-gradient(circle at 20% 20%, #e0f3ff 0, transparent 25%),
        radial-gradient(circle at 80% 0%, #fde2ff 0, transparent 25%),
        linear-gradient(135deg, #f8fbff, #eef2f7);
}
.hero-text {
    max-width: 50%;
    flex: 1;
}
.hero-text h1 {
    font-size: 40px;
    margin-bottom: 20px;
}
.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
}
.hero-img img {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
}
.hero-carousel {
    width: 100%;
    max-width: 350px;
    position: relative;
    overflow: hidden;
}
.hero-carousel .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}
.hero-carousel .slide.active {
    opacity: 1;
    position: relative;
}
.hero-carousel img {
    width: 100%;
    border-radius: 10px;
    display: block;
}



/* BENEFÍCIOS */
.beneficios {
    padding: 60px 40px;
    text-align: center;
}
.beneficios-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}
.beneficio {
    max-width: 250px;
}



/* DEPOIMENTOS */
.depoimentos {
    padding: 60px 40px;
    background: #e9e9e9;
    text-align: center;
}
.depoimentos-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}
.depoimento {
    max-width: 300px;
    font-style: italic;
}
.depoimentos audio {
    width: 100%;
    max-width: 400px;
    margin: 5px auto;
    display: block;
}



/* RODAPÉ */
.footer {
    padding: 30px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #eee;
}
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: transform 0.2s ease;
}
.whatsapp-btn img {
    width: 35px;
    height: 35px;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
}



/* PRODUTOS */
.produtos-home {
    padding: 60px 40px;
    text-align: center;
}
.btn-sec {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    border: 1px solid #707070;
    color: #303030;
    text-decoration: none;
    border-radius: 6px;
}
.btn-sec:hover {
    background: #707070;
    color: #fff;
}
.products {
    padding: 80px 40px;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, #e0f3ff 0, transparent 25%),
        radial-gradient(circle at 80% 0%, #fde2ff 0, transparent 25%),
        linear-gradient(135deg, #f8fbff, #eef2f7);
}
.products h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.product-card {
    background: #ffffffcc;
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
.product-card img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.product-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222;
}
.product-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}
.price {
    display: block;
    font-size: 22px;
    font-weight: bold;
    color: #e63946;
    margin-bottom: 20px;
}
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}
.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}
.carousel img {
    width: 100%;
    border-radius: 12px;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffffcc;
    backdrop-filter: blur(6px);
    border: none;
    padding: 8px 12px;
    font-size: 22px;
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.carousel-btn:hover {
    background: #fff;
}
.carousel-btn.prev {
    left: 10px;
}
.carousel-btn.next {
    right: 10px;
}
.product-options {
    margin: 15px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.product-options label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: left;
}
.select-option,
.qty-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    width: 100%;
}
.qty-input {
    max-width: 100px;
}



/* INSTALATION */
.installation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.installation-card {
    background: #ffffffcc;
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}
.installation {
    background:
        radial-gradient(circle at 20% 20%, #e0f3ff 0, transparent 25%),
        radial-gradient(circle at 80% 0%, #fde2ff 0, transparent 25%),
        linear-gradient(135deg, #f8fbff, #eef2f7);
    padding: 80px 40px;
    border-radius: 16px;
}
.pdf-viewer {
    aspect-ratio: 1 / 1.414; /* proporção A4 (largura / altura) */
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    background: #fff;
}
.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}



/* CONTACT PAGE CSS */
.contact {
    background:
        radial-gradient(circle at 20% 20%, #e0f3ff 0, transparent 25%),
        radial-gradient(circle at 80% 0%, #fde2ff 0, transparent 25%),
        linear-gradient(135deg, #f8fbff, #eef2f7);
    padding: 80px 40px;
    border-radius: 16px;
}
.contact-card {
    background: #ffffffcc;
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}
.contact-card .btn {
    margin-top: 20px;
    display: inline-block;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}



/* ÍCONE CARRINHO - CHECKOUTPAGE */
.cart-icon {
    color: #ffffff;
}
.cart-icon:hover {
    color: #fcc100;
}
#cart-count {
    background: #e63946;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}
.checkout-card {
    background: #ffffffcc;
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.checkout-card p,
.checkout-card h3 {
    text-align: left;
    margin: 8px 0;
}
.checkout-form {
    background: #ffffffcc;
    backdrop-filter: blur(6px);
    padding: 25px;
    border-radius: 16px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}
.checkout-form input,
.checkout-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}
.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: #e63946;
}
.checkout-qty {
    width: 60px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
}
.coupon-area {
    backdrop-filter: blur(6px);
    padding: 20px;
    border-radius: 16px;
    margin: 30px auto 0 auto;
    max-width: 400px; /* controla a largura */
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    text-align: center;
    align-items: center;
}
.coupon-area input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}
.coupon-area label {
    white-space: nowrap;
    align-self: center;
}
.coupon-area input:focus {
    outline: none;
    border-color: #e63946;
}
.coupon-area button {
    align-self: flex-start;
    align-items: center;
}
.coupon-area p {
    grid-column: 1 / -1;
    margin-top: 5px;
}






/* ============================
   MOBILE (até 768px)
============================ */
@media (max-width: 768px) {
    .logo {
        font-family: 'FivoSansBold', sans-serif;
        font-size: 24px;
        color: #e63946; /* seu vermelho */
        letter-spacing: 1px;
    }
    .logo-img {
        height: 36px;
    }

    /* MENU */
    .menu {
        padding: 15px 20px;
    }

    .menu-links {
        position: absolute;
        display: none;
        flex-direction: column;
        background: #303030;
        position: absolute;
        top: 70px;
        right: 20px;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 9999;

    }

    .menu-links.active {
        display: flex;
    }

    .menu-toggle {
        position: relative;
        display: block;
        font-size: 28px;
        cursor: pointer;
        z-index: 10000;
        color: #ffffff; /* ou qualquer cor */
    }

    /* HERO */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 30px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-img img {
        max-width: 240px;
    }

    /* GRIDS */
    .product-grid {
        grid-template-columns: 1fr !important;
    }
    .installation-grid {
        grid-template-columns: 1fr !important;
    }
    .contact-grid,
    .beneficios-grid,
    .depoimentos-grid {
        flex-direction: column;
        align-items: center;
        /* grid-template-columns: 1fr !important; */
        gap: 20px;
    }

    /* CARDS */
    .product-card,
    .installation-card,
    .contact-card {
        padding: 20px;
    }

    /* TEXTOS */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    p  { font-size: 1rem; }

    /* PDF */
    .pdf-viewer {
        aspect-ratio: auto;
        height: 350px;
    }

    .pdf-viewer iframe {
        height: 100%;
    }

    .coupon-area {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .coupon-area input,
    .coupon-area button {
        width: 100%;
    }
}