

/* ARNAUD CHASSERY - Textes blancs dans le footer */
/* Titres des widgets */
.site-footer .widget-title {
    color: #ffffff !important;
}

/* Textes des widgets */
.site-footer .textwidget,
.site-footer .textwidget p {
    color: #ffffff !important;
}

/* Titres des événements Eventin */
.site-footer .etn-title.etn-event-title,
.site-footer .etn-title.etn-event-title a {
    color: #ffffff !important;
}

/* Liens au survol */
.site-footer .etn-title.etn-event-title a:hover,
.site-footer .textwidget a:hover {
    color: #13A8D0 !important;
}


/* ARNAUD CHASSERY - Ajustements Astra */

/* Navigation principale */
.ast-builder-menu-1 .menu-item > .menu-link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

/* Navigation sur header transparent */
.ast-theme-transparent-header
.ast-builder-menu-1 .main-header-menu
> .menu-item > .menu-link {
    color: #ffffff;
}

/* Survol du menu transparent */
.ast-theme-transparent-header
.ast-builder-menu-1 .main-header-menu
> .menu-item:hover > .menu-link {
    color: #13A8D0;
}

/* Liens actifs du menu transparent */
.ast-theme-transparent-header
.ast-builder-menu-1 .main-header-menu
> .current-menu-item > .menu-link {
    color: #ffffff;
}

/* Adaptation des boutons Astra */
.ast-button,
.button,
button,
input[type="submit"] {
    border-radius: 5px;
    font-weight: 600;
}

/* Transitions des liens */
a,
.ast-button,
.button {
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease;
}



/***************************************/
/* ARNAUD CHASSERY - Bandeau photo */

.ac-page-banner {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Voile sombre pour rendre le titre lisible */
.ac-page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.20) 0%,
        rgba(0, 0, 0, 0.40) 100%
    );
    z-index: 1;
}

/* Titre de la page */
.ac-page-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 25px;
    text-align: center;
}

.ac-page-banner h1 {
    color: #ffffff;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

/* Tablette */
@media (max-width: 1024px) {
    .ac-page-banner {
        min-height: 320px;
    }
}

/* Smartphone */
@media (max-width: 767px) {
    .ac-page-banner {
        min-height: 240px;
    }

    .ac-page-banner-content {
        padding: 45px 20px;
    }
}



/* Arnaud Chassery - Petit titre avec trait bleu */
.ac-section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #182b43;
}

.ac-section-label::before {
    content: "";
    display: block;
    flex: 0 0 25px;
    height: 3px;
    background-color: #00a6cc;
}


/* Carte expédition : titre et description regroupés */
.ac-card-description {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.ac-card-description p {
    margin: 0 !important;
}
/* Titre des cartes expéditions */
.ac-card-title {
    margin: 0 !important;
    padding: 0 !important;
}

.ac-card-title .elementor-heading-title {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2;
}


/************************ SOUS-MENU  **********************************/
/* Sous-menus Astra : fond blanc opaque */
.ast-desktop .main-header-menu .sub-menu,
.ast-theme-transparent-header .ast-desktop .main-header-menu .sub-menu {
    background-color: #ffffff !important;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 5px 5px;
    z-index: 99999;
}

/* Liens des sous-menus */
.ast-desktop .main-header-menu .sub-menu .menu-link,
.ast-theme-transparent-header .ast-desktop .main-header-menu .sub-menu .menu-link {
    color: #222222 !important;
    background-color: #ffffff !important;
    line-height: 1.4;
    padding: 12px 15px;
}

/* Survol des liens */
.ast-desktop .main-header-menu .sub-menu .menu-link:hover,
.ast-desktop .main-header-menu .sub-menu .current-menu-item > .menu-link {
    background-color: #f1f7f7 !important;
    color: #159eae !important;
}
/************************ SOUS-MENU  **********************************/




/* ==========================================================
   EVENTIN : MENU DES EVENEMENTS ET DU CHECKOUT
   Couleur principale : #0b4775
   ========================================================== */

/* Menu principal */
body:is(.single-etn, .eventin-checkout-page) .main-header-menu > .menu-item > .menu-link {
    color: #0b4775 !important;
}

/* Flèches des sous-menus */
body:is(.single-etn, .eventin-checkout-page) .main-header-menu .ast-arrow-svg {
    fill: #0b4775 !important;
}

/* Fond blanc opaque des sous-menus */
body:is(.single-etn, .eventin-checkout-page) .main-header-menu .sub-menu {
    background-color: #ffffff !important;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 5px 5px;
    z-index: 99999;
}

/* Liens des sous-menus */
body:is(.single-etn, .eventin-checkout-page) .main-header-menu .sub-menu .menu-link {
    color: #0b4775 !important;
    background-color: #ffffff !important;
    line-height: 1.4;
    padding: 12px 15px;
}

/* Survol des liens du menu principal */
body:is(.single-etn, .eventin-checkout-page) .main-header-menu > .menu-item > .menu-link:hover {
    color: #009fca !important;
}

/* Élément actif du menu principal */
body:is(.single-etn, .eventin-checkout-page) .main-header-menu > .current-menu-item > .menu-link,
body:is(.single-etn, .eventin-checkout-page) .main-header-menu > .current-menu-ancestor > .menu-link {
    color: #009fca !important;
}

/* Survol et élément actif des sous-menus */
body:is(.single-etn, .eventin-checkout-page) .main-header-menu .sub-menu .menu-link:hover,
body:is(.single-etn, .eventin-checkout-page) .main-header-menu .sub-menu .current-menu-item > .menu-link {
    background-color: #eef6fa !important;
    color: #009fca !important;
}

/* Flèches au survol */
body:is(.single-etn, .eventin-checkout-page) .main-header-menu .menu-item > .menu-link:hover .ast-arrow-svg {
    fill: #009fca !important;
}

/* Flèches des éléments actifs */
body:is(.single-etn, .eventin-checkout-page) .main-header-menu .current-menu-item > .menu-link .ast-arrow-svg,
body:is(.single-etn, .eventin-checkout-page) .main-header-menu .current-menu-ancestor > .menu-link .ast-arrow-svg {
    fill: #009fca !important;
}

/*********************************************************************************/






/* Eventin Checkout : aperçu des goodies sous les options */
.ac-goodies-preview {
    text-align: center;
    margin: 20px 0 0;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
}

.ac-goodies-preview img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
}





/* ==========================================
   EXPEDITIONS - GRILLE
   ========================================== */

.ac-expeditions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

/* Carte */
.ac-expedition-card {
    position: relative;
    display: flex;
    align-items: flex-end;

    min-height: 240px;
    aspect-ratio: 16 / 9;

    background-color: #183a4b;
    background-size: cover;
    background-position: center;

    border-radius: 14px;
    overflow: hidden;

    box-shadow: 0 2px 6px rgba(0,0,0,0.25);

    text-decoration: none !important;
    isolation: isolate;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Dégradé pour la lisibilité */
.ac-expedition-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.05) 15%,
        rgba(0,0,0,0.25) 50%,
        rgba(0,0,0,0.75) 100%
    );

    z-index: 0;
    transition: background 0.3s ease;
}

/* Contenu */
.ac-expedition-content {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;

    width: 100%;
    padding: 25px;
}

/* Titre */
.ac-expedition-title {
    color: #fff !important;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 !important;
    padding: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Bouton flèche */
.ac-expedition-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 38px;
    width: 38px;
    height: 38px;

    background: #fff;
    color: #315c78;

    border-radius: 50%;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

/* Survol */
.ac-expedition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.ac-expedition-card:hover .ac-expedition-arrow {
    background: #315c78;
    color: #fff;
    transform: translateX(3px);
}

.ac-expedition-card:focus-visible {
    outline: 3px solid #315c78;
    outline-offset: 3px;
}

/* ==========================================
   TABLETTE : 2 COLONNES
   ========================================== */

@media (max-width: 1024px) {
    .ac-expeditions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .ac-expedition-title {
        font-size: 21px;
    }
}

/* ==========================================
   SMARTPHONE : 1 COLONNE
   ========================================== */

@media (max-width: 767px) {
    .ac-expeditions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ac-expedition-card {
        min-height: 220px;
        aspect-ratio: 16 / 9;
    }

    .ac-expedition-content {
        padding: 20px;
    }

    .ac-expedition-title {
        font-size: 21px;
    }
}

/* Accessibilité : mouvements réduits */
@media (prefers-reduced-motion: reduce) {
    .ac-expedition-card,
    .ac-expedition-arrow {
        transition: none;
    }
}

/* Correction du chevauchement des cartes */

.ac-expeditions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.ac-expedition-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.ac-expedition-content {
    min-width: 0;
    box-sizing: border-box;
}

.ac-expedition-title {
    min-width: 0;
    overflow-wrap: break-word;
}

/* Tablette */
@media (max-width: 1024px) {
    .ac-expeditions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smartphone */
@media (max-width: 767px) {
    .ac-expeditions-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}



/* Footer : liens du menu en blanc */
#menu-menu-footer li a,
#menu-menu-footer li a:visited {
    color: #fff !important;
}

/* Footer : couleur au survol */
#menu-menu-footer li a:hover,
#menu-menu-footer li a:focus {
    color: #35b8b5 !important;
}