/* Bouton « Cookies » (bonhomme cookie) et note d'information — aucun cookie déposé par le site */

.cookie-info-btn {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 4px 14px 4px 4px !important;
    border: 1px solid #FF1493 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #FF1493 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(255, 20, 147, .25) !important;
    transition: transform .2s ease, box-shadow .2s ease;
}
.cookie-info-btn:hover,
.cookie-info-btn:focus,
.cookie-info-btn:focus-visible {
    background: #ffffff !important;
    color: #FF1493 !important;
    border-color: #00CED1 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 206, 209, .35) !important;
    outline: none;
}
.cookie-info-btn span {
    color: #FF1493 !important;
    font-size: 15px !important;
}
.cookie-info-btn svg {
    width: 40px;
    height: 40px;
    flex: none;
    transform-origin: 50% 80%;
}
.cookie-info-btn:hover svg,
.cookie-info-btn:focus-visible svg {
    animation: cookie-danse .8s ease-in-out;
}
.cookie-bras {
    transform-origin: 13px 37px;
    animation: cookie-coucou 1.4s ease-in-out 1s 2;
}
@keyframes cookie-danse {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-12deg); }
    75% { transform: rotate(12deg); }
}
@keyframes cookie-coucou {
    0%, 100% { transform: rotate(0); }
    25%, 75% { transform: rotate(-28deg); }
    50% { transform: rotate(6deg); }
}

.cookie-info-panneau {
    position: fixed;
    left: 14px;
    bottom: 72px;
    z-index: 9991;
    width: min(360px, calc(100vw - 28px));
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 1px;
    border-radius: 16px;
    background: #FF1493;
    background-image: linear-gradient(135deg, #FF1493, #00CED1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.cookie-info-panneau[hidden] {
    display: none !important;
}
.cookie-info-carte {
    padding: 18px 20px 16px;
    border-radius: 15px;
    background: #ffffff;
    color: #333333;
}
.cookie-info-titre {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #FF1493;
    font-size: 20px !important;
}
.cookie-info-titre svg {
    width: 46px;
    height: 46px;
    flex: none;
}
.cookie-info-texte {
    margin: 0 0 10px;
    font-size: 15px !important;
    line-height: 1.55;
}
.cookie-info-texte strong {
    color: #00A5A8;
}
.cookie-info-texte a {
    color: #FF1493;
    word-break: break-word;
}
.cookie-info-fermer {
    display: block;
    margin: 6px 0 0 auto !important;
    padding: 8px 20px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #FF1493 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    cursor: pointer;
}
.cookie-info-fermer:hover,
.cookie-info-fermer:focus,
.cookie-info-fermer:focus-visible {
    background: #00A5A8 !important;
    color: #ffffff !important;
    outline: none;
}

@media (max-width: 768px) {
    .cookie-info-btn,
    .cookie-info-panneau,
    .cookie-info-panneau div {
        -webkit-text-stroke: 0 !important;
    }
    .cookie-info-btn {
        padding-right: 12px !important;
    }
    .cookie-info-btn span {
        font-size: 14px !important;
    }
    .cookie-info-btn svg {
        width: 34px;
        height: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-info-btn,
    .cookie-info-btn svg,
    .cookie-bras {
        animation: none !important;
        transition: none !important;
    }
}
