/* ===== VARIABLES ===== */
:root {
    --red: #ed494a;
    --red-dark: #c93535;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-mid: #e8e8e8;
    --gray-text: #666666;
    --dark: #1a1a2e;
    --dark-mid: #2d2d2d;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;
}

/* ===== TOPBAR ===== */
.audrec-topbar {
    background: var(--dark);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.78rem;
    padding: 7px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}
.audrec-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: flex-end;
}
.audrec-topbar a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0 14px;
    transition: color 0.2s;
}
.audrec-topbar a:hover { color: var(--red); }
.audrec-topbar a.topbar-cta {
    color: var(--red);
    font-weight: 600;
}
.audrec-topbar-sep {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.2);
}

/* ===== NAV ===== */
#audrecNav {
    background: var(--white);
    position: fixed;
    top: 33px;
    left: 0;
    right: 0;
    z-index: 9998;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    font-family: var(--font-body);
    transition: box-shadow 0.3s;
}
#audrecNav.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.audrec-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.audrec-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.audrec-logo img { height: 50px; width: auto; }
.audrec-logo span {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
}
.audrec-nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}
.audrec-nav-item { position: relative; }
.audrec-nav-link {
    display: block;
    padding: 10px 16px;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.audrec-nav-link:hover { color: var(--red); background: var(--gray-light); }
.audrec-nav-link.nav-cta {
    background: var(--red);
    color: var(--white) !important;
    padding: 10px 22px;
    margin-left: 8px;
    border-radius: 4px;
}
.audrec-nav-link.nav-cta:hover { background: var(--red-dark); }

/* Item de menu actif */
.audrec-nav-link--active {
    color: var(--red) !important;
}

/* Sous-item de menu actif */
.audrec-dropdown-link--active {
    color: var(--red) !important;
}

/* Dropdown */
.audrec-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    padding: 8px 0;
    z-index: 10000;
}
.audrec-nav-item:hover .audrec-dropdown { display: block; }
.audrec-dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s, padding-left 0.2s, background 0.2s;
}
.audrec-dropdown a:hover {
    color: var(--red);
    padding-left: 28px;
    background: var(--gray-light);
}

/* Burger */
.audrec-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    padding: 4px;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    text-transform: none !important;
}
.audrec-burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--dark) !important;
    border-radius: 2px;
    transition: all 0.3s;
}
.audrec-burger:hover,
.audrec-burger:focus,
.audrec-burger:active,
.audrec-burger:focus-visible {
    background: none !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: inherit !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Compensation du header fixe pour le contenu */
body {
    padding-top: 105px !important;
}

/* ===== FOOTER ===== */
.audrec-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    font-family: var(--font-body);
    padding: 60px 0 0;
    margin-top: 0;
}
.audrec-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.audrec-footer-tagline {
    text-align: center;
    font-family: var(--font-title);
    font-size: 1.05rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 40px;
}
.audrec-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 40px;
}
.audrec-footer h4 {
    font-family: var(--font-title);
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.audrec-footer-info {
    font-size: 0.88rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.65);
}
.audrec-footer-info a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}
.audrec-footer-info a:hover { color: var(--red); }
.audrec-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}
.audrec-footer-links {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}
.audrec-footer-links a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}
.audrec-footer-links a:hover { color: var(--red); }

/* ===== MOBILE BAR ===== */
.audrec-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9997;
    background: var(--dark);
    padding: 10px 8px;
    gap: 8px;
}
.audrec-mobile-bar a {
    flex: 1;
    padding: 8px 4px;
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    transition: background 0.2s;
    text-align: center;
    font-size: 0;
}
.audrec-mobile-bar a .material-icons {
    display: block;
    font-size: 1.3rem;
    line-height: 1;
    margin-bottom: 4px;
}
.audrec-mobile-bar a .mbar-txt {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
}
.audrec-mobile-bar a:hover { background: rgba(255,255,255,0.15); }
.audrec-mobile-bar a.mobile-bar-contact {
    background: var(--red);
}
.audrec-mobile-bar a.mobile-bar-contact:hover { background: var(--red-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .audrec-nav-menu { display: none; }
    .audrec-nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
        padding: 12px 0 20px;
        gap: 0;
        max-height: calc(100vh - 160px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .audrec-nav-menu.open .audrec-dropdown {
        position: static;
        box-shadow: none;
        padding: 0 0 8px 20px;
        display: block;
    }
    .audrec-burger { display: flex; }
    .audrec-footer-grid { grid-template-columns: 1fr; }
    .audrec-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .audrec-mobile-bar { display: flex; }
    body { padding-bottom: 70px !important; }
}
@media (max-width: 600px) {
    .audrec-topbar { display: none; }
    body { padding-top: 72px !important; }
    #audrecNav { top: 0; }
    .audrec-nav-menu.open {
        max-height: calc(100vh - 120px);
    }
}

/* ===== COOKIEYES - PERSONNALISATION AUDREC ===== */

/* Position bas droite */
.cky-consent-container.cky-box-bottom-left {
    left: auto !important;
    right: 20px !important;
    bottom: 20px !important;
    max-width: 360px !important;
}

/* Bandeau principal */
.cky-consent-bar {
    background: #1a1a2e !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2) !important;
    font-family: 'Raleway', sans-serif !important;
}

/* Titre */
.cky-title {
    color: #ffffff !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

/* Description */
.cky-notice-des,
.cky-notice-des p {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.83rem !important;
    line-height: 1.6 !important;
}

/* Conteneur boutons — 3 en ligne */
.cky-notice-btn-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin-top: 16px !important;
    width: 100% !important;
}

/* Tous les boutons — base commune */
.cky-notice-btn-wrapper .cky-btn {
    flex: 1 !important;
    padding: 11px 8px !important;
    border-radius: 6px !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    white-space: nowrap !important;
    text-align: center !important;
}

/* Bouton Personnaliser — outline */
.cky-notice-btn-wrapper .cky-btn-customize {
    background: transparent !important;
    color: rgba(255,255,255,0.75) !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    text-decoration: none !important;
}
.cky-notice-btn-wrapper .cky-btn-customize:hover {
    border-color: rgba(255,255,255,0.7) !important;
    color: #ffffff !important;
}

/* Bouton Tout refuser — outline */
.cky-notice-btn-wrapper .cky-btn-reject {
    background: transparent !important;
    color: rgba(255,255,255,0.75) !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    width: auto !important;
}
.cky-notice-btn-wrapper .cky-btn-reject:hover {
    border-color: rgba(255,255,255,0.7) !important;
    color: #ffffff !important;
}

/* Bouton Tout accepter — plein rouge */
.cky-notice-btn-wrapper .cky-btn-accept {
    background: #ed494a !important;
    color: #ffffff !important;
    border: 1px solid #ed494a !important;
    width: auto !important;
}
.cky-notice-btn-wrapper .cky-btn-accept:hover {
    background: #c93535 !important;
    border-color: #c93535 !important;
}

/* Bouton revisit (flottant) */
.cky-btn-revisit-wrapper {
    background-color: #ed494a !important;
    left: auto !important;
    right: 20px !important;
    bottom: 20px !important;
    border-radius: 50% !important;
}

/* ===== MODAL PRÉFÉRENCES ===== */
.cky-preference-center {
    font-family: 'Raleway', sans-serif !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}
.cky-preference-header {
    background: #1a1a2e !important;
    padding: 20px 24px !important;
}
.cky-preference-title {
    color: #ffffff !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}
.cky-btn-close {
    filter: brightness(10) !important;
}
.cky-preference-content-wrapper,
.cky-preference-content-wrapper p {
    color: #666666 !important;
    font-size: 0.85rem !important;
    line-height: 1.7 !important;
}
.cky-accordion-btn {
    color: #1a1a2e !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}
.cky-accordion-header-des,
.cky-accordion-header-des p {
    color: #666666 !important;
    font-size: 0.83rem !important;
}
.cky-always-active {
    color: #ed494a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}
.cky-switch input:checked + .cky-slider {
    background: #ed494a !important;
}
.cky-footer-wrapper {
    background: #ffffff !important;
    border-top: 1px solid #e8e8e8 !important;
}
.cky-btn-preferences {
    background: #ed494a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 24px !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    transition: background 0.2s !important;
    cursor: pointer !important;
}
.cky-btn-preferences:hover {
    background: #c93535 !important;
}
.cky-prefrence-btn-wrapper .cky-btn-reject {
    background: transparent !important;
    color: #666666 !important;
    border: 1px solid #e8e8e8 !important;
}
.cky-prefrence-btn-wrapper .cky-btn-reject:hover {
    border-color: #1a1a2e !important;
    color: #1a1a2e !important;
}