/* --- 1. DESBLOQUEIO DO ASTRA (Fundamental para o Hero Full Width) --- */
.ast-page-builder-template .entry-content[data-ast-blocks-layout],
.ast-page-builder-template .entry-content[data-ast-blocks-layout] > .inherit-container-width > *,
.entry-content,
.site-content,
.ast-container {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
}

/* Remove títulos e espaços extras do tema */
.entry-header, .ast-archive-description, .page-header, h1.entry-title { 
    display: none !important; 
}

/* Evita rolagem horizontal indesejada */
html, body { overflow-x: hidden !important; }

/* --- CORES LOCAIS --- */
#hero-mapea {
    --mapea-rosa: #E499B6;
    --mapea-merlot: #4F0713;
    --mapea-rubi: #AD0919;
    --mapea-gold: #FDC762;
    --mapea-branco: #ffffff;
}

/* --- ESTRUTURA HERO --- */
#hero-mapea {
    position: relative;
    width: 100%;
    min-height: 90vh; 
    background-color: var(--mapea-rosa);
    background-image: linear-gradient(135deg, #E499B6 0%, #d68aab 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    padding: 80px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* CONTAINER CENTRAL */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1200px !important; 
    margin: 0 auto;
    gap: 50px;
    position: relative;
    z-index: 5;
    align-items: center;
}

/* Luzes de Fundo */
.hero-bg-glow {
    position: absolute; width: 600px; height: 600px;
    border-radius: 50%; filter: blur(80px); opacity: 0.3; pointer-events: none; z-index: 1;
}
.glow-1 { background: var(--mapea-gold); top: -20%; left: 0; } 
.glow-2 { background: #ffffff; bottom: -20%; right: 0; }

/* --- TEXTOS --- */
.hero-text { 
    color: var(--mapea-merlot); 
    position: relative; z-index: 2; 
    text-align: left;
    width: 100%; 
}

.authority-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, 0.6); padding: 8px 16px;
    border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.8);
    margin-bottom: 25px; color: var(--mapea-merlot);
    font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.authority-badge i { color: #dcb315; font-size: 16px; }

#hero-mapea h1 {
    font-size: 3.5rem; line-height: 1.1; font-weight: 700;
    margin-bottom: 20px; color: var(--mapea-merlot);
}

.highlight { color: var(--mapea-merlot); position: relative; z-index: 1; }
.highlight::after {
    content: ''; position: absolute; bottom: 4px; left: 0; width: 100%; height: 12px;
    background: var(--mapea-gold); z-index: -1; opacity: 0.6;
    border-radius: 4px; transform: rotate(-1deg);
}

.hero-sub {
    font-size: 1.15rem; line-height: 1.6; color: var(--mapea-merlot);
    margin-bottom: 40px; max-width: 500px; font-weight: 400;
}

/* --- CTA --- */
.cta-group { display: flex; flex-direction: column; gap: 20px; position: relative; }

.btn-mapea-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background-color: var(--mapea-rubi); color: white;
    padding: 18px 40px; border-radius: 50px;
    font-weight: 700; text-decoration: none; font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
    width: fit-content;
    box-shadow: 0 10px 20px rgba(173, 9, 25, 0.3);
    position: relative; z-index: 2;
}
.btn-mapea-primary:hover {
    transform: translateY(-5px); background-color: var(--mapea-merlot);
    box-shadow: 0 15px 30px rgba(79, 7, 19, 0.4); color: white;
}

.social-proof { display: flex; align-items: center; gap: 15px; }
.avatars { display: flex; }
.avatars img {
    width: 40px; height: 40px; border-radius: 50%;
    border: 2px solid white; margin-left: -15px;
}
.avatars img:first-child { margin-left: 0; }
.social-proof span { font-size: 14px; font-weight: 600; color: var(--mapea-merlot); opacity: 0.9; }

/* --- VISUAL --- */
.hero-visual { 
    position: relative; display: flex; justify-content: center; z-index: 1; 
}

.image-frame {
    position: relative; width: 100%; max-width: 450px; 
    height: 550px;
    background: transparent; display: flex; align-items: flex-end; justify-content: center;
}

.main-photo {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 200px 200px 20px 20px;
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    position: relative; z-index: 10;
    filter: drop-shadow(0 20px 30px rgba(79, 7, 19, 0.15));
}

.border-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 200px 200px 20px 20px; border: 5px solid #ffffff;
    z-index: 15; pointer-events: none;
}

.floating-card {
    position: absolute; background: rgba(255, 255, 255, 0.9);
    padding: 15px 20px; border-radius: 15px;
    display: flex; align-items: center; gap: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    animation: floatHero 6s infinite ease-in-out;
    color: var(--mapea-merlot); z-index: 20; backdrop-filter: blur(5px);
}
.floating-card .icon {
    font-size: 24px; background: #fff8e1; color: #dcb315;
    width: 45px; height: 45px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.floating-card .text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.floating-card strong { font-size: 14px; } .floating-card small { font-size: 12px; color: #666; }
 
.card-1 { top: 40px; left: -40px; } 
.card-2 { bottom: 80px; right: -30px; }

.doodle-arrow-reverse {
    position: absolute; bottom: 40px; left: -100px;
    pointer-events: none; z-index: 5;
    transform: rotate(-10deg); animation: floatArrow 3s infinite ease-in-out;
}

@keyframes floatArrow {
    0%, 100% { transform: rotate(-10deg) translateY(0); }
    50% { transform: rotate(-10deg) translateY(5px); }
}
@keyframes floatHero {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- MOBILE --- */
@media (max-width: 992px) {
    #hero-mapea { padding: 60px 20px; min-height: auto; }
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-text { order: 1; align-items: center; display: flex; flex-direction: column; }
    .hero-visual { order: 2; margin-top: 20px; }
    #hero-mapea h1 { font-size: 2.5rem; text-align: center; }
    .hero-sub { margin: 0 auto 30px auto; font-size: 1rem; text-align: center; }
    .authority-badge { font-size: 10px; }
    .cta-group { align-items: center; }
    .btn-mapea-primary { font-size: 14px; width: 100%; max-width: 300px; }
    .doodle-arrow-reverse { display: none !important; }
    .image-frame { width: 100%; max-width: 350px; height: 450px; margin: 0 auto; }
    .floating-card { padding: 10px 15px; transform: scale(0.9); }
    .card-1 { left: -20px; top: 20px; }
    .card-2 { right: -20px; bottom: 20px; }
}