/* ==============================================================
   BEMAX - GLOBAL CSS (Aplicado a TODAS as páginas)
   Paleta: Teal #14A4B4 | Dark Teal #0E8A99 | Soft Teal #F0F9FA
============================================================== */

/* RESET */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; }

html, body { 
    margin: 0 !important; 
    padding: 0 !important; 
    width: 100% !important; 
    max-width: 100% !important;
    overflow-x: clip !important; 
    scroll-behavior: smooth; 
}

:root {
    --bemax-teal: #14A4B4; 
    --bemax-dark-teal: #0E8A99;
    --bemax-soft-teal: #F0F9FA; 
    --bemax-white: #ffffff;
    --bemax-black: #0F172A;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --text-light: #94A3B8;
    --bg-gray: #F8FAFC;
    --wa-green: #25D366;
    --border-light: #E2E8F0;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.1);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
}

/* WRAPPER */
.bemax-wrapper { 
    font-family: 'Inter', sans-serif; 
    color: var(--text-dark); 
    line-height: 1.6; 
    background: var(--bemax-white);
    width: 100% !important; 
    overflow-x: clip !important;
}

/* ANIMAÇÕES */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ==============================================================
   HEADER
============================================================== */
.bemax-header {
    padding: 15px 5%;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background: var(--bemax-white);
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.bemax-logo-nav { height: 40px !important; width: auto !important; max-width: 200px !important; display: block !important; }
.logo-img { display: block; }
.logo-menu { height: 40px !important; width: auto !important; }
.logo-hero-top { height: 55px !important; width: auto !important; margin-bottom: 25px; }
.logo-footer { height: 48px !important; width: auto !important; }
.logo-card { height: 60px !important; width: auto !important; margin: 0 auto 15px; display: block; }

.bemax-nav { display: flex; gap: 30px; }
.bemax-nav a {
    text-decoration: none; color: var(--text-dark);
    font-weight: 700; font-size: 0.9rem; transition: 0.3s;
}
.bemax-nav a:hover { color: var(--bemax-teal); }

/* ==============================================================
   BOTÕES CTA
============================================================== */
.cta-button {
    background: var(--bemax-teal); color: white; padding: 18px 40px; border-radius: 15px;
    font-weight: 800; text-transform: uppercase; text-decoration: none; display: inline-block;
    transition: all 0.3s ease; box-shadow: 0 10px 25px rgba(20, 164, 180, 0.3); 
    border: none; cursor: pointer; font-size: 0.9rem; letter-spacing: 0.5px;
}
.cta-button:hover { transform: translateY(-3px); background: var(--bemax-dark-teal); box-shadow: 0 15px 35px rgba(20, 164, 180, 0.4); }

.secondary-button {
    background: transparent; color: var(--bemax-teal);
    border: 2px solid var(--bemax-teal); padding: 15px 30px;
    border-radius: 15px; font-weight: 700; cursor: pointer;
    transition: 0.3s; text-decoration: none; display: inline-block;
}
.secondary-button:hover { background: var(--bemax-soft-teal); }

/* ==============================================================
   WHATSAPP FLUTUANTE
============================================================== */
@keyframes pulseWa {
    0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    50%  { 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); }
}

.wa-float-wrapper {
    position: fixed; bottom: 30px; right: 30px; z-index: 9999;
    display: flex; flex-direction: column; align-items: flex-end;
    pointer-events: none;
}
.wa-popup {
    background: white; padding: 15px 20px; border-radius: var(--radius-md);
    box-shadow: var(--shadow-md); margin-bottom: 15px; width: 260px;
    position: relative; opacity: 0; transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto; border: 1px solid var(--border-light);
}
.wa-popup.show, .wa-popup.active { opacity: 1; transform: translateY(0); }
.wa-popup::after {
    content: ''; position: absolute; bottom: -8px; right: 25px;
    width: 15px; height: 15px; background: white;
    transform: rotate(45deg); border-right: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);
}
.wa-popup p { margin: 0; font-size: 13px; font-weight: 700; color: var(--text-dark); line-height: 1.4; }
.wa-popup .wa-name { display: block; color: var(--bemax-teal); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }

.wa-btn {
    width: 65px; height: 65px; background-color: var(--wa-green);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); cursor: pointer;
    pointer-events: auto; transition: 0.3s; border: none;
    animation: pulseWa 2s infinite;
}
.wa-btn:hover { animation: none; transform: scale(1.1); }
.wa-btn svg { width: 35px; height: 35px; fill: white; }

/* ==============================================================
   INDEX - HERO (Hub de Produtos)
============================================================== */
.bemax-hero { 
    background: var(--bemax-white); padding: 60px 5% 100px;
    display: flex; align-items: center; justify-content: center;
    gap: 60px; flex-wrap: wrap; text-align: left;
}
.hero-content { flex: 0 1 580px; min-width: 350px; }
.hero-logo-main { height: 75px; width: auto; margin-bottom: 25px; display: block; }
.hero-content h1 { font-size: 3.5rem; font-weight: 900; color: var(--text-dark); line-height: 1.1; margin-bottom: 25px; letter-spacing: -0.04em; }
.hero-content h1 span { color: var(--bemax-teal); }

.hero-highlights { margin-bottom: 35px; }
.h-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; }
.h-item svg { width: 22px; height: 22px; fill: var(--bemax-teal); flex-shrink: 0; margin-top: 3px; }
.h-item p { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--text-gray); }
.h-item b { color: var(--text-dark); }
.h-item .badge-age { background: var(--bemax-teal); color: white; padding: 2px 8px; border-radius: 5px; font-size: 0.8rem; font-weight: 900; }

.hero-image { flex: 0 1 450px; min-width: 350px; display: flex; justify-content: center; }
.hero-image img { width: 100%; max-width: 480px; border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(20, 164, 180, 0.15); }

/* ==============================================================
   INDEX - SEÇÕES (Why, Produtoss, Premium)
============================================================== */
.why-section { padding: 100px 5%; background: var(--bemax-soft-teal); }
.why-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-text h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 20px; text-transform: uppercase; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.why-card { background: white; padding: 25px; border-radius: 25px; border: 1px solid rgba(20, 164, 180, 0.1); }
.why-card h4 { margin: 0 0 8px; color: var(--bemax-teal); font-weight: 900; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.why-card p { margin: 0; font-size: 0.95rem; color: var(--text-gray); }

.bottom-offer-area { background: var(--bemax-teal); padding: 80px 5%; }
.section-title { text-align: center; color: white; font-size: 2.2rem; font-weight: 900; margin-bottom: 50px; text-transform: uppercase; }
.price-container { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.price-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); transition: 0.4s; }
.card-header { padding: 35px 30px 20px; text-align: center; }
.card-header img { height: 60px; width: auto; max-width: 90%; }
.card-product-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 15px;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
.card-body { padding: 0 30px 35px; }
.price-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--border-light); font-weight: 700; }
.price-row span:last-child { color: var(--bemax-teal); font-weight: 900; }
.card-footer-cta { background: var(--bemax-soft-teal); padding: 20px; text-align: center; }
.card-footer-cta a { color: var(--bemax-dark-teal); font-weight: 900; text-decoration: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

.premium-section { max-width: 1240px; margin: 40px auto 0; }
.premium-card { background: white; border-radius: 45px; padding: 50px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; border: 2px solid var(--bemax-teal); }
.premium-info { flex: 1.5; min-width: 300px; }
.premium-price-box { flex: 1; min-width: 280px; background: var(--bemax-soft-teal); padding: 35px; border-radius: 35px; text-align: center; }

/* ==============================================================
   FOOTER PADRONIZADO
============================================================== */
.bemax-footer { background: var(--bemax-black); padding: 80px 5% 40px; color: white; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 60px; }
.footer-col h4 { color: white; margin-bottom: 25px; font-weight: 800; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.footer-bottom { margin-top: 60px; padding-top: 30px; border-top: 1px solid #1E293B; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }

/* ==============================================================
   RESPONSIVO
============================================================== */
@media (max-width: 1024px) {
    .bemax-header { flex-direction: column; gap: 15px; }
    .bemax-nav { gap: 15px; }
    .hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .hero-content h1 { font-size: 2.5rem; text-align: center; }
    .hero-logo-main { margin: 0 auto 25px; }
    .hero-highlights { text-align: left; width: 100%; max-width: 450px; }
    .hero-content .cta-button { margin: 0 auto; display: table; }
    .premium-card { flex-direction: column; text-align: center; align-items: center; padding: 40px 25px; }
    .premium-info { min-width: 100%; text-align: center; }
    .premium-info div { grid-template-columns: 1fr !important; justify-items: center; text-align: center; }
    .premium-price-box { width: 100%; margin-top: 30px; }
    .why-container { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column !important; align-items: center !important; text-align: center !important; }
}
