/* HEADER BRANCO */
.xgens-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #00FF9D;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

.header-container {
    max-width: 1400px;
    margin: auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.header-logo img {
    height: 40px;
}

/* MENU DESKTOP */
.header-nav a {
    margin: 0 14px;
    text-decoration: none;
    color: #000;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.2s;
}

.header-nav .active {
    color: #00C77A;
    font-weight: bold;
}

.header-nav a:hover {
    color: #00FF9D;
}

/* BOTÃO DESKTOP */
.header-btn {
    background: #00FF9D;
    color: #000;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.header-btn:hover {
    background: #000;
    color: #00FF9D;
}

/* HAMBÚRGUER */
.hamburger {
    width: 32px;
    height: 26px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    background: #000;
    border-radius: 3px;
    display: block;
}

/* MENU MOBILE */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #ffffff;
    border-bottom: 2px solid #00FF9D;
    width: 100%;
    padding: 20px;
    position: absolute;
    left: 0;
    top: 70px;
    z-index: 9998;
}

.mobile-menu a {
    text-decoration: none;
    color: #000;
    font-size: 1.2rem;
    margin: 12px 0;
}

.mobile-menu a:hover {
    color: #00FF9D;
}

/* BOTÃO MOBILE */
.mobile-whatsapp {
    margin-top: 20px;
    background: #00FF9D;
    padding: 15px;
    border-radius: 6px;
    color: #000;
    font-weight: bold;
    text-align: center;
}

.mobile-whatsapp:hover {
    background: #000;
    color: #00FF9D;
}

/* RESERVA DE ESPAÇO PARA O HEADER */
.header-spacing {
    height: 75px;
}

/* RESPONSIVIDADE */
@media(max-width: 880px){
    .header-nav,
    .header-btn {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}


/* ======================================================
   BASE DA PÁGINA
====================================================== */

html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('../img/fundo-xgens.png') no-repeat center center fixed;
    background-size: cover;
}

/* Espaço para o menu fixo */
.header-spacing {
    height: 75px;
}

/* ======================================================
   BANNER SUPERIOR
====================================================== */

.top-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: block;
}

.top-banner img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    background: #fff;
}

@media(max-width: 600px){
    .top-banner img {
        object-fit: contain;
    }
}

/* ======================================================
   TÍTULOS E SEÇÕES
====================================================== */

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

.section-title {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 10px;
}

.neon-gradient {
    background: linear-gradient(90deg, #00FF9D, #00C77A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-text {
    font-size: 1.2rem;
    color: #000;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

.sub-title {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* ======================================================
   GRID DOS CARDS
====================================================== */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* ======================================================
   CARDS
====================================================== */

.funciona-card {
    border: 1px solid #00FF9D;
    padding: 22px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(5px);
    transition: 0.3s;
    min-height: 160px;
}

.funciona-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #000;
}

.funciona-card p {
    font-size: 1rem;
    color: #333;
    line-height: 1.4rem;
}

.funciona-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 12px rgba(0,255,157,0.35);
}

/* ======================================================
   LISTAS
====================================================== */

.section ul {
    list-style: none;
    margin-top: 20px;
    padding-left: 0;
    text-align: center;
}

.section ul li {
    margin: 10px 0;
    font-size: 1.1rem;
    color: #000;
}

/* ======================================================
   RESPONSIVIDADE
====================================================== */

@media(max-width: 480px){
    .section-title {
        font-size: 2.2rem;
    }
    .section-text {
        font-size: 1.05rem;
    }
    .funciona-card {
        min-height: auto;
    }
}

/* ======================================================
   RODAPÉ XGENS
====================================================== */

.xgens-footer {
    width: 100%;
    background: #ffffff;
    border-top: 2px solid #00FF9D;
    margin-top: 60px;
    padding-top: 40px;
    color: #000;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1400px;
    margin: auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
}

/* LOGO */
.footer-logo img {
    width: 160px;
}

.footer-slogan {
    margin-top: 10px;
    font-size: 1rem;
    color: #444;
}

/* LINKS */
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #000;
}

.footer-links a {
    display: block;
    margin: 6px 0;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #00FF9D;
}

/* CONTATO */
.footer-contact p {
    margin: 6px 0;
}

.footer-contact a {
    color: #000;
    text-decoration: none;
    transition: 0.3s;
}

.footer-contact a:hover {
    color: #00FF9D;
}

/* REDES SOCIAIS */
.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icon {
    font-size: 1.4rem;
    text-decoration: none;
    color: #00FF9D;
    transition: 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* PARTE INFERIOR */
.footer-bottom {
    text-align: center;
    background: #fafafa;
    padding: 12px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
    font-size: 0.95rem;
    color: #444;
}

/* RESPONSIVO */
@media(max-width: 600px) {
    .footer-logo img {
        width: 140px;
    }
}

