/* --- CSS GERADO PELO EDITOR VISUAL AVANÇADO --- */
:root {
    --primary: #025015;
    --secondary: #eeff00;
    --light-bg: #007573;
    --header-bg: var(--primary);
    --header-title-color: var(--secondary);
    --header-title-size: 1.5rem;
    --header-title-weight: 900;
    --header-shadow: 4px 4px 0px #fff700;
    --header-shadow-color: #fff700;
    --logo-height: 53px;
    --hero-height: 350px;
    --hero-overlay-opacity: 1;
    --hero-title-color: #ffea00;
    --hero-subtitle-color: #00ff9d;
    --hero-desc-color: #74b4e2;
    --hero-title-size: 3.8125rem;
    --hero-subtitle-size: 1.5625rem;
    --hero-desc-size: 1.75rem;
    --section-bg: rgba(37,91,1,0.58);
    --section-border-width: 3px;
    --section-border-color: #11ff00;
    --section-shadow: 0 0 10px #ffae00, 0 0 20px rgba(255,174,0,0.3);
    --section-shadow-color: #ffae00;
    --section-title-color: #fcff52;
    --section-title-size: 2.4375rem;
    --section-icon-display: none;
    --radius: 42px;
    --container-padding-mobile: 5px;
    --btn-border-width: 4px;
    --btn-border-color: #ffea00;
    --btn-shadow: 0 0 10px #02c018, 0 0 20px rgba(2,192,24,0.3);
    --btn-shadow-color: #02c018;
    --btn-font-size: 1rem;
    --btn-font-weight: 700;
    --btn-font-family: 'Roboto', sans-serif;
    --font-main: 'Roboto', sans-serif;
    --modal-bg: #e8e8e8;
    --footer-bg: #121f04;
    --footer-text: #a1bfb3;
    --social-bg: rgba(0,0,0,0.2);
    --icon-size: 1.5rem;
    --container-text-color: #ffffff;
    --container-text-size: 1rem;
    --btn-contact-border-width: 0px;
    --btn-contact-border-color: transparent;
    --modal-close-color: #999999;
    --modal-close-size: 2rem;
    --modal-desc-color: #2d3043;
    --modal-radius: 17px;
    --bonus-card-bg: #360f75;
    --bonus-card-border-width: 5px;
    --bonus-card-border-color: #1492e1;
    --bonus-card-shadow: 4px 4px 0px #5d5b13;
    --bonus-card-shadow-color: #5d5b13;
    --bonus-percent-size: 3.125rem;
    --bonus-desc-size: 1.5rem;
    --bonus-extra-size: 1.5rem;
    --bonus-extra-color: #ffffff;
    --bonus-footer-size: 1.5rem;
    --bonus-footer-color: #e9e2e2;
    --quote-bg: #f8f9fa;
    --quote-text-color: #1e272e;
    --quote-value-color: var(--primary);
    --quote-gap: 8px;
    --quote-padding: 12px 15px;
    --quote-item1-name-size: 1.1rem;
    --quote-item1-val-size: 1.2rem;
    --quote-item2-name-size: 1.1rem;
    --quote-item2-val-size: 1.2rem;
    --quote-rest-name-size: 1rem;
    --quote-rest-val-size: 1.1rem;
    --header-bg: var(--primary);
    --header-title-color: var(--secondary);
    --header-justify: space-between;
}

* { box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; }

body {
    font-family: var(--font-main);
    margin: 0; padding: 0;
    background-color: var(--light-bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }

/* --- HEADER --- */
header.site-header {
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: var(--header-justify);
    gap: 15px; 
    box-shadow: var(--header-shadow);
    position: sticky; top: 0; z-index: 1000;
}
header .logo.site-logo { height: var(--logo-height); width: auto; object-fit: contain; }
header .site-name { 
    font-weight: var(--header-title-weight);
    font-size: var(--header-title-size);
    color: var(--header-title-color);
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Adicionado sombra para legibilidade */
}

/* --- HERO SECTION (CORREÇÃO DE CORTE DE IMAGEM) --- */
.hero-section {
    position: relative; 
    width: 100%; 
    min-height: auto; 
    display: grid; 
    place-items: center; 
    grid-template-areas: "hero";
    text-align: center;
    padding: 0;
    overflow: hidden; 
    margin-bottom: -30px;
}

.hero-bg { 
    position: relative; 
    width: 100%; 
    height: auto; 
    object-fit: contain; 
    grid-area: hero; 
    z-index: 0; 
    filter: brightness(var(--hero-overlay-opacity)); 
    display: block;
}

.hero-content { 
    position: relative; 
    z-index: 1; 
    max-width: 800px; 
    animation: fadeUp 0.8s ease-out; 
    margin: 0 auto;
    grid-area: hero; 
    padding: 40px 20px;
    width: 100%;
}

.hero-title { 
    font-size: var(--hero-title-size);
    font-weight: 900; margin: 0 0 10px; line-height: 1.1; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: var(--hero-title-color);
}
.hero-subtitle { 
    font-size: var(--hero-subtitle-size);
    font-weight: 400; margin: 0 0 20px; 
    color: var(--hero-subtitle-color);
}
.hero-description { 
    font-size: var(--hero-desc-size);
    max-width: 600px; margin: 0 auto; 
    color: var(--hero-desc-color);
}

/* --- CONTAINER --- */
.main-container { max-width: 1000px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

/* --- SEÇÕES (BLOCKS) --- */
.section-block {
    background: var(--section-bg); 
    border-radius: var(--radius); padding: 30px; margin-bottom: 30px;
    box-shadow: var(--section-shadow); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    border: var(--section-border-width) solid var(--section-border-color);
}
.section-block[style*="background:transparent"], .section-block[style*="padding:0"] { background: transparent; box-shadow: none; border: none; padding: 0; }

.section-title { 
    font-size: var(--section-title-size); color: var(--section-title-color); margin-bottom: 20px; 
    display: flex; align-items: center; gap: 10px; 
    padding-left: 0; 
}
.section-title i { color: var(--primary); font-size: var(--icon-size); display: var(--section-icon-display); }

.section-description, .rec-text, .bonus-text, .whatsapp-description { 
    color: var(--container-text-color); 
    font-size: var(--container-text-size);
    margin-bottom: 20px; 
    white-space: pre-line; 
}

/* --- BOTÕES --- */
.btn-action, .btn-pwa-install {
    display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px;
    background: var(--primary); 
    color: var(--secondary);
    border-radius: var(--radius); 
    
    /* Variáveis novas de fonte */
    font-weight: var(--btn-font-weight);
    font-size: var(--btn-font-size);
    font-family: var(--btn-font-family);

    text-transform: uppercase; letter-spacing: 0.5px; 
    cursor: pointer; box-shadow: var(--btn-shadow); transition: all 0.3s; 
    width: 100%; max-width: 350px;
    border: var(--btn-border-width) solid var(--btn-border-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* EXCEÇÃO WHATSAPP COM EFEITO SHINE (BRILHO) */
.btn-whatsapp, .btn-whatsapp-invite { 
    /* Gradiente Verde Moderno */
    background: linear-gradient(90deg, #25D366 0%, #128C7E 100%) !important; 
    color: #ffffff !important;
    border: var(--btn-contact-border-width) solid var(--btn-contact-border-color);
    border-radius: var(--radius);
    
    /* Necessário para o efeito */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* EFEITO DE REFLEXO PASSANDO */
.btn-whatsapp-invite::before,
.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine-effect 3.5s infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes shine-effect {
    0% { left: -100%; }
    20% { left: 200%; } /* Passagem rápida */
    100% { left: 200%; } /* Pausa longa */
}

.btn-contact { 
    border: var(--btn-contact-border-width) solid var(--btn-contact-border-color); 
    border-radius: var(--radius);
}

/* ALTERADO: Usar cor SECUNDÁRIA para maior legibilidade */
.text-link { color: var(--secondary); font-weight: 600; cursor: pointer; text-decoration: none; }

/* --- COMPONENTES ESPECÍFICOS --- */
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 15px; }
.bonus-card { 
    background: var(--bonus-card-bg); 
    padding: 20px 10px; border-radius: var(--radius); 
    text-align: center; 
    border: var(--bonus-card-border-width) solid var(--bonus-card-border-color); 
    box-shadow: var(--bonus-card-shadow);
    transition: 0.3s; 
}

.bonus-percent { font-size: var(--bonus-percent-size); font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 5px; }
.bonus-text { font-size: var(--bonus-desc-size) !important; margin-bottom: 5px; }
.bonus-extra { font-size: var(--bonus-extra-size); color: var(--bonus-extra-color); opacity: 1; }
.bonus-footer-text { margin-top: 15px; font-size: var(--bonus-footer-size); color: var(--bonus-footer-color); text-align: center; }

.quotes-list { display: flex; flex-direction: column; gap: var(--quote-gap); }

.quote-item { 
    display: flex; justify-content: space-between; 
    padding: var(--quote-padding); 
    background: var(--quote-bg);
    border-radius: 8px; 
}
.quote-item.highlight { box-shadow: 0 2px 8px rgba(0,0,0,0.03); }

.quote-name { color: var(--quote-text-color); font-weight: 600; }
.quote-value { color: var(--quote-value-color); font-weight: 700; }

.quotes-list > .quote-item:nth-of-type(1) .quote-name { font-size: var(--quote-item1-name-size); }
.quotes-list > .quote-item:nth-of-type(1) .quote-value { font-size: var(--quote-item1-val-size); }

.quotes-list > .quote-item:nth-of-type(2) .quote-name { font-size: var(--quote-item2-name-size); }
.quotes-list > .quote-item:nth-of-type(2) .quote-value { font-size: var(--quote-item2-val-size); }

.quotes-expandable-container { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-in-out; }
.quotes-expandable-container.open { max-height: 1000px; }

.quotes-expandable-container .quote-item .quote-name { font-size: var(--quote-rest-name-size); }
.quotes-expandable-container .quote-item .quote-value { font-size: var(--quote-rest-val-size); }

.btn-expand-quotes { 
    background: transparent; border: 1px solid var(--primary); 
    color: var(--container-text-color); 
    padding: 8px; width: 100%; margin-top: 10px; 
    border-radius: var(--radius); cursor: pointer; font-size: 0.9rem; font-weight: 600; 
}

.whatsapp-group-area { position: relative; text-align: center; }
.whatsapp-bg-image { width: 100%; border-radius: 12px; display: block; }
.btn-whatsapp-invite { background: #25D366 !important; color: white !important; }

/* --- NOVAS REGRAS PARA SEÇÃO REGISTER --- */
.register-bg-img { width: 100%; display: block; object-fit: cover; }
.register-title-wrapper { position: absolute; top: 20px; left: 0; right: 0; text-align: center; pointer-events: none; }
.register-title-wrapper .section-title.register-title { justify-content: center; border: none; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,0.8); display: inline-flex; pointer-events: auto; }
.register-btn-wrapper { position: absolute; bottom: 30px; left: 0; right: 0; padding: 0 20px; text-align: center; pointer-events: none; }
.register-btn-wrapper .btn-action { pointer-events: auto; }

.btn-register-dynamic { 
    box-shadow: 0 10px 30px rgba(0,0,0,0.4); 
    border: var(--btn-border-width) solid var(--btn-border-color); 
    animation: pulseBtn 2s infinite ease-in-out;
}

.recruitment-area { text-align: center; }
.btn-whatsapp { display: flex; align-items: center; justify-content: center; gap: 10px; background: #25D366; color: white; padding: 12px; 
    font-weight: bold; margin-bottom: 10px; text-decoration: none; 
}
.btn-whatsapp.secondary { background: white !important; color: #25D366 !important; border: 1px solid #25D366; }

.lottery-list { display: flex; flex-direction: column; gap: 10px; }
.lottery-item { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid #eee; padding: 15px 20px; border-radius: 10px; cursor: pointer; transition: 0.2s; }

.lottery-item i { color: #ccc; } 

.btn-image-overlay { 
    position: relative; 
    margin-top: -25px; 
    z-index: 2; 
    background: var(--primary); 
    color: var(--secondary);
    border: var(--btn-border-width) solid var(--btn-border-color); 
    box-shadow: var(--btn-shadow);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* --- MODAL --- */
.modal-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: 0.3s; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { 
    background: var(--modal-bg); 
    width: 100%; max-width: 600px; 
    border-radius: var(--modal-radius); 
    padding: 30px; 
    position: relative; max-height: 90vh; overflow-y: auto; 
    transform: translateY(20px); transition: 0.3s; 
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-title { color: var(--primary); }
.modal-body-text { color: var(--modal-desc-color) !important; }

.modal-close { 
    position: absolute; top: 15px; right: 20px; 
    font-size: var(--modal-close-size); 
    cursor: pointer; color: var(--primary); 
    line-height: 1; 
}

.rec-table-container { margin-top: 20px; background: #f9f9f9; border-radius: 8px; overflow: hidden; }
.rec-table-title { background: var(--primary); color: white; padding: 10px; font-weight: bold; text-align: center; }
.rec-table { width: 100%; border-collapse: collapse; }
.rec-table td { padding: 10px 15px; border-bottom: 1px solid #eee; font-size: 0.9rem; color: #333; }

/* --- FOOTER --- */
footer.site-footer { 
    background: var(--footer-bg); 
    color: var(--footer-text); 
    padding: 50px 20px 30px; text-align: center; margin-top: 50px; 
    display: flex; flex-direction: column; align-items: center;
}
footer .footer-title { color: #fff; margin: 10px 0; font-size: 1.17em; font-weight: bold; }
.footer-logo { height: var(--logo-height); margin: 0 auto 15px; opacity: 0.9; display: block; } /* Editado para usar var */
.footer-custom-links { margin: 20px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }

/* ALTERADO: Link do rodapé com cor SECUNDÁRIA */
.footer-custom-links a.footer-link-item { color: var(--secondary); font-size: 1.1rem; text-decoration: none; opacity: 1; font-weight: 500; }
.footer-social { display: flex; justify-content: center; gap: 15px; margin: 30px 0; }

/* ALTERADO: Social Link com cor SECUNDÁRIA */
.social-link { 
    width: 40px; height: 40px; border-radius: 50%; 
    background: var(--social-bg);
    color: var(--secondary); /* Alterado */
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: 0.3s; 
}

.footer-copyright { font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; opacity: 0.5; }

/* --- UTILS --- */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 11000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: white; padding: 15px 20px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 15px; min-width: 280px; border-left: 4px solid #333; animation: slideInRight 0.3s; }
.toast.success { border-left-color: var(--primary); }
.toast.error { border-left-color: #e74c3c; }
.toast i { font-size: 1.2rem; } .toast.success i { color: var(--primary); } .toast.error i { color: #e74c3c; }
.fade-element { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-element.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes pulseBtn {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
@media (max-width: 768px) { 
    .hero-title { font-size: calc(var(--hero-title-size) * 0.7); } 
    .section-block { padding: 20px; } 
    .section-title { font-size: calc(var(--section-title-size) * 0.85); }
    .main-container { padding-left: var(--container-padding-mobile); padding-right: var(--container-padding-mobile); }
}

.floating-share-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.floating-share-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-share-btn:hover {
    background-color: rgba(0, 156, 59, 0.9);
    transform: scale(1.1);
}

.floating-share-btn i {
    pointer-events: none;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
