/* Regras genéricas para banners Genial (mantém visual atual)
   Segue o padrão existente nas páginas de cotação (cores/spacing)
*/

.genial-banner { position: relative; }
.genial-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.genial-banner-link:hover {
    text-decoration: none;
    color: inherit;
}

.genial-banner-content {
    background: #006891;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 104, 145, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
}

.genial-banner:hover .genial-banner-content { box-shadow: 0 12px 40px rgba(0, 104, 145, 0.4); transform: translateY(-2px); }

.genial-banner-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    color: white;
}

.genial-banner-text p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.genial-banner-arrow .material-icons {
    font-size: 32px;
    color: #C3F53C;
    font-weight: 300;
}

.genial-banner-text { flex: 1; min-width: 0; }
.genial-banner-cta { flex-shrink: 0; }
.genial-banner-cta .button { white-space: nowrap; }

.genial-banner-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(195, 245, 60, 0.12), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.genial-banner:hover .genial-banner-content::before { animation: genial-shimmer 1.5s ease-in-out; }

@keyframes genial-shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(200%) rotate(45deg); }
}

.genial-banner-cta .button.is-meelion {
    background-color: #C3F53C;
    border-color: transparent;
    color: #0b2e3d;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    padding: 0.9rem 1.6rem; /* aumenta altura e área clicável */
    min-height: 52px;      /* garante touch target >= 48px */
    font-size: 1rem;       /* texto mais legível */
    border-radius: 8px;    /* bordas arredondadas padrão Meelion */
    text-decoration: none !important; /* remove sublinhado */
    display: inline-block;
    cursor: pointer;
}

.genial-banner:hover .genial-banner-cta .button.is-meelion {
    background-color: #81AE00;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(195, 245, 60, 0.35);
    text-decoration: none !important; /* remove sublinhado no hover também */
}

/* Investment Banner - layout vertical */
.investment-banner { position: relative; }
.investment-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.investment-banner-link:hover {
    text-decoration: none;
    color: inherit;
}

.investment-banner-content {
    background: #006891;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 104, 145, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.investment-banner:hover .investment-banner-content { 
    box-shadow: 0 12px 40px rgba(0, 104, 145, 0.4); 
    transform: translateY(-2px); 
}

.investment-banner-text {
    width: 100%;
}

.investment-banner-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    color: white;
}

.investment-banner-text p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.investment-banner-cta {
    width: 100%;
    display: flex;
    justify-content: center;
}

.investment-banner-cta .button {
    white-space: nowrap;
}

.investment-banner-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(195, 245, 60, 0.12), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.investment-banner:hover .investment-banner-content::before { 
    animation: investment-shimmer 1.5s ease-in-out; 
}

@keyframes investment-shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(200%) rotate(45deg); }
}

.investment-banner-cta .button.is-meelion {
    background-color: #C3F53C;
    border-color: transparent;
    color: #0b2e3d;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    padding: 0.9rem 1.6rem;
    min-height: 52px;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none !important;
    display: inline-block;
    cursor: pointer;
}

.investment-banner:hover .investment-banner-cta .button.is-meelion {
    background-color: #81AE00;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(195, 245, 60, 0.35);
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .genial-banner-content { padding: 2rem 1.25rem; gap: 1.25rem; }
    .genial-banner-text h3 { font-size: 1.3rem; }
    .genial-banner-text p { font-size: 0.9rem; }
    .genial-banner-arrow .material-icons { font-size: 28px; }
    
    .investment-banner-content { padding: 2rem 1.25rem; gap: 1.25rem; }
    .investment-banner-text h3 { font-size: 1.3rem; }
    .investment-banner-text p { font-size: 0.9rem; }
}


