/* ================================================
   83-629.FR - Modifications personnalisées
   ================================================ */

/* ================================================
   BANDEAU SUPÉRIEUR AMÉLIORÉ
   ================================================ */

/* Bandeau avec animation subtile */
.gh-top-banner--enhanced {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 1.2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Animation de fond subtile */
.gh-top-banner--enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Logo agrandi */
.gh-top-banner__logo--large {
    height: 60px !important;
    width: auto !important;
    transition: transform 0.3s ease;
}

.gh-top-banner__logo--large:hover {
    transform: scale(1.05);
}

.gh-top-banner__site-title--large {
    font-size: 2rem !important;
    font-weight: 700 !important;
}

/* Container du bandeau */
.gh-top-banner--enhanced .gh-top-banner__container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.gh-top-banner--enhanced .gh-top-banner__tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Responsive pour le bandeau */
@media (max-width: 768px) {
    .gh-top-banner--enhanced {
        padding: 1rem 0;
    }
    
    .gh-top-banner__logo--large {
        height: 45px !important;
    }
    
    .gh-top-banner--enhanced .gh-top-banner__container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .gh-top-banner--enhanced .gh-top-banner__tagline {
        font-size: 0.8rem;
        text-align: center;
    }
}

/* ================================================
   BOUTON "NOS OFFRES" DANS LE FOOTER - ROUGE PÉTANT
   ================================================ */

/* Cibler spécifiquement le bouton "NOS OFFRES" dans le footer */
.gh-footer a[href*="/membership"],
.gh-footer a[href*="/nos-offres"],
.gh-footer .gh-footer-cta-btn {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
    color: #ffffff !important;
    padding: 0.8rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4) !important;
    transition: all 0.3s ease !important;
    border: 2px solid #ff0000 !important;
    display: inline-block !important;
    text-decoration: none !important;
}

.gh-footer a[href*="/membership"]:hover,
.gh-footer a[href*="/nos-offres"]:hover,
.gh-footer .gh-footer-cta-btn:hover {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%) !important;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* Animation pulsante pour attirer l'attention */
@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 0, 0, 0.7);
    }
}

.gh-footer a[href*="/membership"],
.gh-footer a[href*="/nos-offres"],
.gh-footer .gh-footer-cta-btn {
    animation: pulse-red 2s infinite;
}

/* ================================================
   MENU MOBILE - BOUTON "NOS OFFRES" VISIBLE
   ================================================ */

/* S'assurer que le bouton NOS OFFRES est visible en mobile */
.gh-mobile-menu .gh-mobile-menu__item a[href*="/membership"],
.gh-mobile-menu .gh-mobile-menu__item a[href*="/nos-offres"] {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
    color: #ffffff !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    margin: 0.5rem 0 !important;
    display: block !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

/* ================================================
   CTA ARTICLES PAYANTS - SYSTÈME CONDITIONNEL
   ================================================ */

/* Container principal du CTA */
.gh-article-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

/* Titre principal */
.gh-article-cta__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}

/* Sous-titre */
.gh-article-cta__subtitle {
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 1.5rem;
}

/* Prix */
.gh-article-cta__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff0000;
    margin: 1rem 0;
}

/* Description des fonctionnalités */
.gh-article-cta__features {
    margin: 1.5rem 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gh-article-cta__feature {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
}

.gh-article-cta__feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #28a745;
}

.gh-article-cta__feature-text {
    flex: 1;
    font-size: 1rem;
    color: #495057;
}

.gh-article-cta__feature-text strong {
    color: #212529;
    font-weight: 600;
}

/* Boutons d'action */
.gh-article-cta__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.gh-article-cta__button {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.gh-article-cta__button--primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: 2px solid #007bff;
}

.gh-article-cta__button--primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.gh-article-cta__button--secondary {
    background: white;
    color: #007bff;
    border: 2px solid #007bff;
}

.gh-article-cta__button--secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.gh-article-cta__button--contact {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
    border: 2px solid #28a745;
}

.gh-article-cta__button--contact:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Liens en bas du CTA */
.gh-article-cta__footer {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #6c757d;
}

.gh-article-cta__footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.gh-article-cta__footer a:hover {
    text-decoration: underline;
}

/* Lecteur audio / Conteneurs BeyondWords */
.gh-article-audio-player {
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.gh-article-audio-player__title {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gh-article-audio-player__icon {
    width: 20px;
    height: 20px;
    color: #007bff;
}

/* Conteneurs spécifiques BeyondWords */
.bw-flash-only {
    border-left: 4px solid #ffd700;
    background: linear-gradient(to right, #fffef5, white);
}

.bw-sentinelle-summary {
    border-left: 4px solid #6a11cb;
    background: linear-gradient(to right, #f5f3ff, white);
}

.bw-sentinelle-full {
    border-left: 4px solid #2575fc;
    background: linear-gradient(to right, #f0f7ff, white);
}

/* Assurer que les lecteurs BeyondWords s'affichent bien */
.gh-article-audio-player .bw-ui {
    width: 100%;
    margin-top: 0.5rem;
}

/* Responsive pour les lecteurs */
@media (max-width: 768px) {
    .gh-article-audio-player {
        padding: 1rem;
    }
    
    .gh-article-audio-player__title {
        font-size: 0.9rem;
    }
}

/* Badge de niveau d'abonnement */
.gh-member-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.gh-member-badge--flash {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
}

.gh-member-badge--sentinelle {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
}

.gh-member-badge--expert {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .gh-article-cta {
        padding: 1.5rem 1rem;
    }
    
    .gh-article-cta__title {
        font-size: 1.4rem;
    }
    
    .gh-article-cta__subtitle {
        font-size: 1rem;
    }
    
    .gh-article-cta__buttons {
        gap: 0.8rem;
    }
    
    .gh-article-cta__button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
