/* ==========================================================================
   Custom Fonts
   ========================================================================== */

/* Instrument Serif - Regular */
@font-face {
    font-family: 'Instrument Serif';
    src: url('fonts/InstrumentSerif-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Instrument Serif - Italic */
@font-face {
    font-family: 'Instrument Serif';
    src: url('fonts/InstrumentSerif-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Jost - Variable Font (Regular) */
@font-face {
    font-family: 'Jost';
    src: url('fonts/Jost-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Jost - Variable Font (Italic) */
@font-face {
    font-family: 'Jost';
    src: url('fonts/Jost-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}


@font-face {
    font-family: 'Engravers_bold';
    src: url('fonts/Engrb.TTF') format('truetype');
    font-weight: 600 1000;
    font-display: swap;
}

/* ==========================================================================
   Layout
   ========================================================================== */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    font-family: 'Jost', 'Roboto';
}

a:not(.primary-button):not(.secondary-button):not(.symbol-tag):hover {
    text-decoration: none !important;
}

.site-name {
    font-family: 'Instrument Serif';
}

.site-content {
    padding-top: 111px;
}

#scroll-to-bottom-buttons {
    background-color: transparent;
    padding: 9px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    outline: none;
    border: 2px solid #34D5E8;
    color: #34D5E8;
}

.donation_popup_ctl {
    background-color: transparent;
    border: 2px solid #34D5E8;
    color: #34D5E8 !important;
    font-weight: 700;
    padding: 9px 15px;
    border-radius: 6px;
    cursor: pointer;
}

.top-header {
    background: linear-gradient(180deg, #316cff 0%, #255adf 100%);
    color: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-header > .common-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#mobile-menu-btn {
    background-color:#F4A576F0;
    color:#fff;
    font-weight:700;
    font-size:16px;
    padding:10px 20px;
    border-radius:3px;
    display:none;
    float:left;
}

.main-menu {
    text-align: right;
    background: linear-gradient(0deg, #fff 0%, #d7e0ec 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
}

.main-menu .common-width {
    margin-bottom: -2px;
}


.main-menu ul.menu {
    padding: 0;
}

.menu > .current-menu-item > a, .menu > .current-menu-item > a:hover, .menuNM #menu-item-253 > a, .menuSM #menu-item-147 > a, .menuFM #menu-item-151 > a {
    background-color: #F4A576F0;
    color: #fff;
    position: relative;
    top: -1px;
    border-radius: 7px 7px 0 0 !important;
    height: 100%;
}

.menu .menu-item {
    -webkit-flex: 1;
    flex: 1;
    align-content: center;
    display: flex;
    align-items: center;
}

.menu .menu-item:hover {
    background: linear-gradient(0deg, #3B70F6 0%, #3466e3 100%);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.menu .menu-item:hover > a {
    color: #FFF;
    border-radius: 0;
}

.sub-menu-wrap {
    visibility: hidden;
    position: absolute;
    z-index: 5;
    background-color: #FEFEFF;
    padding: 30px;
    box-shadow: 1px 1px 2px #FEFEFF;
    right: 50px;
    text-align: left;
    width: 100%;
    max-width: 1220px;
    margin: 0;
    top: 100%;
}

.menu .menu-item:hover .sub-menu-wrap {
    visibility: visible;
}

.sub-menu-wrap .sub-menu {
    width: 100% !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    line-height: 1.3;
}

.sub-menu-wrap .sub-menu::before {
    width: 100% !important;
}

.sub-menu-wrap .menu-item {
    display: block;
    margin: 10px 10px;
    width: auto;
    min-width: 30%;
}

#menu-item-253,
#menu-item-16205 {
    position: relative;
}

#menu-item-253 .sub-menu-wrap,
#menu-item-16205 .sub-menu-wrap {
    width: auto;
    right: unset;
    padding: 15px;
    width: 100%;
}

#menu-item-253 .sub-menu-wrap .sub-menu,
#menu-item-16205 .sub-menu-wrap .sub-menu {
    flex-direction: column;
}

#menu-item-253 .sub-menu-wrap .sub-menu .menu-item,
#menu-item-16205 .sub-menu-wrap .sub-menu .menu-item {
    margin: 0;
}

.menu .sub-menu-wrap .menu-item:hover {
    background: transparent !important;
    box-shadow: none !important;
}

.sub-menu-wrap .menu-item a:hover {
    color: #3567E5 !important;
    background: transparent !important;
}

.mobile-menu {
    background: linear-gradient(180deg, #ffffff 0%, #fefefe 100%);
}

.mobile-menu-top {
    background : linear-gradient(180deg, #316cff 0%, #255adf 100%);
}

.mobile-menu-close {
    float:right;
    color:#fff;
    font-weight:900;
    border:2px solid #fff;
    border-radius:50%;
    width:30px !important;
    height:30px !important;
    padding:5px 0 0px 7px;
    font-size:15px;
}

.mobile-menu-top h4 {
    font-size: 20px;
    margin: 0;
    font-weight: 700;
    padding-right: 35px;
}

.mobile-menu-top p {
    font-size: 0.9rem;
    margin: 0px 0.4rem;
}

.mobile-menu-top a {
    display: block;
    margin: 10px auto 0 0;
    width: fit-content;
}

.header-contact-link.mobile-version {
    margin:15px 0 0 0;
    color:#fff;
    display:inline-block;
}

.mobile-menu .main-navigation {
    display:inline-block;
    text-align:center;
    vertical-align:top;
    width:100%;
    height:100%;
    padding-top: 15px;
    text-align: left;
}

.mobile-menu .nav-menu {
    padding-left: 0;
    margin: 0;
}

.mobile-menu .sub-menu-wrap .sub-menu {
    padding-left: 0;
    flex-direction: column;
}

.mobile-menu .main-navigation .cta-mob-menu {
    margin-left: 15px;
    font-weight: bold;
}

.mobile-menu .nav-menu .menu-item {
    list-style-type:none;
    padding:13px 0 13px 20px;
    border-bottom:1px solid #fff;
    text-align:left;
    position:relative;
}

body > #content {
    overflow-x: hidden;
}

.site-footer {
    background: linear-gradient(135deg, #316cff 0%, #1846b9 100%);
    padding: 60px 20px 30px;
    color: #fff;
    position: relative;
    background-color: #3468eb;
}

.site-footer h4 {
    font-family: 'Instrument Serif';
}

.site-footer > .common-width {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.footer-menu {
    list-style-type:none;
    margin:0;
    padding-left: 0;
    max-width: 18rem;
}

.footer-bottom {
    width: 100%;
    color:#fff;
    text-align:center;
    border-top:1px solid #fff;
    margin:40px 0 0 0;
    font-size:14px;
    padding:20px 0 0 0;
    font-weight:400;
}

/**
Corrections du popup donation pour très petits écrans
 */
@media screen and (max-width: 396px) {
    #popmake-14973 {
        width: 100% !important;
        top: 10% !important;
        left: 0px !important;
        overflow-y: auto !important;
        max-height: 90%;
    }

    #popmake-14973 .pum-close {
        width: 5rem;
        height: 5rem;
        font-size: 4rem;
        font-weight: bold;
    }
}

/**
STYLE EVER
 */
.evengr {
    font-family: Engravers_bold;
    font-size-adjust: 0.55;
    letter-spacing: -0.1rem;
}

.elementor-heading-title .evengr {
    font-family: Engravers_bold;
}

.evengr_f {
    font-family: Engravers !important;
    font-size-adjust: 0.5 !important;
    letter-spacing: 0px !important;
}

/**
Pages
 */
/**
Formations
 */
/*Calendrier*/

/* ==========================================================================
   Popup Donation - Style Pêche (harmonisé avec le site)
   ========================================================================== */

/* Container principal - style comme l'encart Dictionnaire */
#popmake-14973.pum-container {
    background: linear-gradient(180deg, #2d62e9 0%, #2b63ef 100%) !important;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Titre - style Instrument Serif orange pêche */
#popmake-14973 .pum-title, #popmake-14973 .popmake-title {
    font-family: 'Instrument Serif', serif !important;
    font-size: 1.8rem !important;
    font-style: italic;
    color: #F4A576 !important;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Contenu textuel - BLANC pour lisibilité */
#popmake-14973 .pum-content,
#popmake-14973 .popmake-content {
    font-family: 'Jost', sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
}

#popmake-14973 .pum-content,
#popmake-14973 .pum-content p,
#popmake-14973 .pum-content span,
#popmake-14973 .popmake-content,
#popmake-14973 .popmake-content p,
#popmake-14973 .popmake-content span {
    color: #ffffff !important;
    margin-bottom: 0.8rem;
    font-weight: 400;
}

/* Texte en gras - orange pêche pour mise en valeur */
#popmake-14973 .pum-content strong, #popmake-14973 .popmake-content strong {
    color: #ffffff !important;
    font-weight: 600;
}

/* Phrase de remerciement */
#popmake-14973 .pum-content p:last-of-type,
#popmake-14973 .popmake-content p:last-of-type {
    color: #F4A576 !important;
    font-weight: 600;
    margin-top: 1rem;
}

/* Champ de saisie du montant */
#popmake-14973 input[type="number"] {
    background: #ffffff !important;
    border: 2px solid #F4A576 !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    text-align: center !important;
    width: 100px !important;
}

#popmake-14973 input[type="number"]:focus {
    outline: none;
    border-color: #e08a5a !important;
    box-shadow: 0 0 0 3px rgba(244, 165, 118, 0.3);
}

/* Bouton de fermeture - orange pêche */
#popmake-14973 .pum-close, #popmake-14973 .popmake-close {
    background: #F4A576 !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 32px !important;
    line-height: 32px !important;
    text-align: center;
    opacity: 1 !important;
    transition: background 0.2s ease;
    font-weight: 400;
    padding-top: 0;
    font-family: Arial;
}

#popmake-14973 .pum-close:hover,
#popmake-14973 .popmake-close:hover {
    background: #e08a5a !important;
}

/* Bouton PayPal - conteneur centré */
#popmake-14973 form {
    text-align: center;
    margin-top: 1rem;
}

/* Responsive */
@media screen and (max-width: 600px) {
    #popmake-14973 .pum-title,
    #popmake-14973 .popmake-title {
        font-size: 1.4rem !important;
    }

    #popmake-14973 .pum-content,
    #popmake-14973 .popmake-content {
        font-size: 0.95rem !important;
    }
}


@media screen and (max-width:1022px) {

    .header-left {
        width: 100%;
    }

    .header-left .logo-link {
        float: right;
        font-size: 1rem;
        padding-top: 5px;
    }

    #mobile-menu-btn {
        display:inline-block;
    }

    .header-right {
        display: none;
    }

    .main-menu {
        display: none !important;
    }

    .site-content {
        padding-top: 0;
    }
}