/* ========================================
   CONFORMITÉ LOI ÉVIN + AMÉLIORATIONS PRO
   Portail majorité, bandeau sanitaire,
   encarts partenaires, page partenaires.
   ======================================== */

/* ----------------------------------------
   1. PORTAIL DE MAJORITÉ (AGE GATE)
   ---------------------------------------- */
#age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 12, 8, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: ageGateIn 0.4s ease;
}

#age-gate-overlay.age-gate-out {
    animation: ageGateOut 0.3s ease forwards;
}

@keyframes ageGateIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ageGateOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.age-gate-modal {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2520 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6),
                0 0 60px rgba(212, 175, 55, 0.15);
    animation: ageGateModalIn 0.5s ease;
}

@keyframes ageGateModalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.age-gate-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.age-gate-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: #fff;
}

.age-gate-question {
    font-size: 1.1rem;
    margin-bottom: 16px;
    line-height: 1.5;
    color: #f0f0f0;
}

.age-gate-legal {
    font-size: 0.85rem;
    color: #b8b8b8;
    margin-bottom: 28px;
    line-height: 1.5;
    padding: 0 8px;
}

.age-gate-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.age-gate-btn {
    padding: 14px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.age-gate-btn-yes {
    background: #D4AF37;
    color: #1a1a1a;
}

.age-gate-btn-yes:hover {
    background: #E5C158;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.age-gate-btn-no {
    background: transparent;
    color: #ccc;
    border: 1px solid #555;
}

.age-gate-btn-no:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.age-gate-warning {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.5;
}

.age-gate-warning strong {
    color: #fff;
    font-weight: 600;
}

.age-gate-help {
    margin-top: 10px;
    font-size: 0.8rem;
}

.age-gate-help a {
    color: #D4AF37;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .age-gate-modal {
        padding: 28px 20px;
    }
    .age-gate-logo { font-size: 1.6rem; }
    .age-gate-title { font-size: 1.3rem; }
    .age-gate-question { font-size: 1rem; }
}

/* ----------------------------------------
   2. BANDEAU SANITAIRE PERMANENT
   ---------------------------------------- */
.health-warning-bar {
    background: #111;
    color: #f0f0f0;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.4;
    border-bottom: 1px solid #2a2520;
    position: relative;
    z-index: 50;
}

.health-warning-bar a {
    color: #D4AF37;
    text-decoration: underline;
    margin-left: 8px;
}

.health-warning-bar .pictogram-pregnant {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: -4px;
    margin-right: 6px;
}

@media (max-width: 600px) {
    .health-warning-bar {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

/* ----------------------------------------
   3. MENTION ÉVIN DANS LES FICHES PRODUITS
   ---------------------------------------- */
.evin-notice {
    margin-top: 24px;
    padding: 14px 18px;
    background: rgba(212, 175, 55, 0.06);
    border-left: 3px solid #D4AF37;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary, #666);
    line-height: 1.5;
}

.evin-notice strong {
    color: var(--text-primary, #333);
}

[data-theme="dark"] .evin-notice {
    background: rgba(212, 175, 55, 0.08);
    color: #ccc;
}

[data-theme="dark"] .evin-notice strong {
    color: #fff;
}

/* ----------------------------------------
   4. ENCARTS PARTENAIRES
   ---------------------------------------- */
.partners-banner {
    padding: 60px 0;
    background: var(--bg-tertiary, #FFF8DC);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partners-banner-header {
    text-align: center;
    margin-bottom: 32px;
}

.partners-banner-tag {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: #B8941F;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.partners-banner-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.partners-banner-desc {
    color: var(--text-secondary, #666);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.5;
}

.partners-banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-slot {
    width: 100%;
    min-height: 110px;
    background: var(--bg-secondary, #fff);
    border: 2px dashed rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
    transition: all 0.3s ease;
}

.partner-slot.partner-filled {
    border-style: solid;
    border-color: rgba(212, 175, 55, 0.4);
    cursor: pointer;
}

.partner-slot.partner-filled:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
    border-color: #D4AF37;
}

.partner-slot img {
    max-height: 60px;
    max-width: 140px;
    object-fit: contain;
    margin-bottom: 8px;
}

.partner-slot-empty-icon {
    font-size: 1.6rem;
    color: rgba(212, 175, 55, 0.4);
    margin-bottom: 6px;
}

.partners-banner-cta {
    text-align: center;
    margin-top: 32px;
}

.btn-partner-cta {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: #D4AF37;
    border: 2px solid #D4AF37;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-partner-cta:hover {
    background: #D4AF37;
    color: #1a1a1a;
}

/* Footer mini-encart */
.footer-partners {
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-partners-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.footer-partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    opacity: 0.7;
}

.footer-partners-logos img {
    max-height: 36px;
    filter: grayscale(100%);
    transition: filter 0.2s ease;
}

.footer-partners-logos img:hover {
    filter: grayscale(0%);
}

/* ----------------------------------------
   5. PAGE PARTENAIRES
   ---------------------------------------- */
.partners-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2520 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.partners-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    color: #fff;
    margin-bottom: 16px;
}

.partners-hero p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 640px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.partners-hero .partner-cta-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.btn-partner-primary {
    display: inline-block;
    padding: 14px 30px;
    background: #D4AF37;
    color: #1a1a1a;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-partner-primary:hover {
    background: #E5C158;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

.btn-partner-outline {
    display: inline-block;
    padding: 14px 30px;
    background: transparent;
    color: #D4AF37;
    border: 2px solid #D4AF37;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
}

.partners-grid-section {
    padding: 60px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.partner-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.4);
}

.partner-card-empty {
    border-style: dashed;
    border-color: rgba(212, 175, 55, 0.3);
    background: var(--bg-tertiary);
}

.partner-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #D4AF37;
    color: #1a1a1a;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-card-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.partner-card-logo img {
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
}

.partner-card-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: rgba(212, 175, 55, 0.6);
}

.partner-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.partner-card-region {
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.partner-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.partner-card-link {
    display: inline-block;
    padding: 10px 22px;
    background: var(--color-gold);
    color: #1a1a1a;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.partner-card-link:hover {
    background: #E5C158;
    color: #1a1a1a;
}

/* ----------------------------------------
   6. BOUTON "ACHETER CHEZ LE PARTENAIRE"
   ---------------------------------------- */
.partner-buy-block {
    margin-top: 24px;
    padding: 22px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
}

.partner-buy-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
    display: block;
}

.partner-buy-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.partner-buy-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: #D4AF37;
    color: #1a1a1a;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.partner-buy-button:hover {
    background: #E5C158;
    color: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.partner-buy-disclaimer {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-style: italic;
}

.partner-buy-empty {
    margin-top: 24px;
    padding: 18px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ----------------------------------------
   7. PAGE CONSOMMATION RESPONSABLE
   ---------------------------------------- */
.responsible-hero {
    background: linear-gradient(135deg, #1a3a52 0%, #0f2438 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.responsible-hero h1 {
    color: #fff;
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.responsible-hero p {
    color: #d6e3ee;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.responsible-content {
    padding: 50px 0;
}

.responsible-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 4px solid #D4AF37;
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 20px;
}

.responsible-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.responsible-card p,
.responsible-card li {
    color: var(--text-primary);
    line-height: 1.6;
}

.responsible-card ul {
    margin-left: 24px;
    margin-top: 8px;
}

.responsible-card a {
    color: #D4AF37;
    text-decoration: underline;
}

.responsible-help {
    background: linear-gradient(135deg, #fff8e6, #fff);
    border-left: 4px solid #c0392b;
    padding: 24px 28px;
    border-radius: 8px;
    margin-top: 32px;
}

[data-theme="dark"] .responsible-help {
    background: linear-gradient(135deg, #2a2520, #1a1a1a);
}

.responsible-help h3 {
    color: #c0392b;
    margin-bottom: 12px;
}

[data-theme="dark"] .responsible-help h3 {
    color: #e74c3c;
}

.responsible-help-phone {
    font-size: 1.6rem;
    font-weight: 700;
    color: #c0392b;
    margin: 12px 0;
}

[data-theme="dark"] .responsible-help-phone {
    color: #e74c3c;
}
