/*
Theme Name:  mckay
Template: 	 hestia
Theme URI:	 https://wordpress.org/themes/bravada/
Author:		 ChildThemeWP
Author URI:	 https://childthemewp.com
Version:	 1.0.0
License:	 GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:    	 opensource     
Text Domain: mckay
*/

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('editor-style.css');

:root {
    --couleur-1: #0859bb; /* Bleu foncé */
    --couleur-2: #fa741d; /* Orange */
    --couleur-3: #085ff6; /* Bleu bandeau */
    --couleur-4: #fafac1; /* Jaune clair */
    --couleur-5: rgba(250, 116, 29, 0.06); /* Beige clair */
    --couleur-6: #f1bc05; /* Jaune */
    --couleur-7: #007CC4; /* Couleur interne Bleu AIRe */
    --couleur-8: #e63b14; /* Bouton interne */

    --cornerRad: 4px;
}
/*
body {
  background-color: var(--couleur-principale);
}
*/


/* font-family: "Oswald", sans-serif; */
/* font-family: "Raleway", sans-serif; */


/* ==========================================================================
Généralité
========================================================================== */

@media (min-width: 1300px) {
    .container {
        width: 1280px;
    }
}
.container_bis {
    margin: 0 auto;
    width: 1094px;
    max-width: 100%;
}
/* Menu pages enfants - horizontal centré */
.menu-pages-enfants {
    display: flex;
    justify-content: center;
    width: 100%;
}

.menu-pages-enfants .menu-enfants-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.menu-pages-enfants .menu-enfants-list li a {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    padding: 8px 16px;
    transition: color 0.2s ease;
}

.menu-pages-enfants .menu-enfants-list li a:hover {
    color: #e74c3c; /* adaptez à la couleur de votre thème */
}

.menu-pages-enfants .menu-enfants-list li.current-menu-item a {
    font-weight: bold;
    color: #e74c3c; /* idem */
}

.hestia-scroll-to-top {
    border-radius: 50%;
    background-color: var(--couleur-3) !important;
}
@media (max-width: 768px) {
    .navbar.navbar-fixed-top .navbar-collapse {
        max-height: calc(100% - 70px);
        margin-top: 70px;
        overflow-y: auto;
        position: fixed;
        z-index: 9999;
        background: var(--couleur-4);
        width: 100%;
        left: 0;
        top: 0;
        margin-left: 0;
        margin-right: 0;
        -webkit-overflow-scrolling: auto;
    }
    .navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus, .navbar .navbar-nav .dropdown .dropdown-menu li a:hover, .navbar .navbar-nav .dropdown .dropdown-menu li a:focus, .navbar button.navbar-toggle:hover, .navbar .navbar-nav li:hover>a i {
        color: #fff !important;
    }
}
.navbar button.navbar-toggle, 
.navbar button.navbar-toggle:hover {
    color: #fff;
    background: var(--couleur-1);
}
.navbar-toggle {
    position: relative;
    margin-right: 5px;
    padding: 15px 10px;
    margin-top: 8px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 50%;
}


/* ==========================================================================
Entête
========================================================================== */

@media (min-width: 1200px) {
    .navbar > .container {
        width: 1390px;
    }
}
.navbar {
    background-color: #fff;
    color: #555;
    border-radius: 0;
    border: none;
    padding: 0;
    transition: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.navbar-default {
    background: var(--couleur-4);
    border-color: #fff;
}
@media (min-width: 769px) {
    .container > .navbar-header, 
    .container-fluid > .navbar-header, 
    .container > .navbar-collapse, 
    .container-fluid > .navbar-collapse {
        margin-right: 0;
        margin-left: 0;
        height: 110px;
    }
}
.navbar .navbar-header .navbar-brand img {
    width: auto;
    max-height: 100%;
}
.navbar.hestia_left .navbar-collapse {
    margin-left: auto;
    margin-right: auto;
}
.navbar.hestia_left .navbar-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.navbar-default .navbar-nav > li > a {
    color: var(--couleur-1);
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    font-style: 600;
    font-size: 25px;
    leading-trim: none;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: none;
}


.carousel_accueil {
    margin-top: 130px;
    transition: margin 0.3s ease;
}
@media screen and (max-width: 1200px) {
   .carousel_accueil {
        margin-top: 105px;
    } 
}
@media screen and (max-width: 991px) {
    .carousel_accueil {
        margin-top: 78px;
    }
}

.carousel_accueil {
    background: var(--couleur-3);
}
.bandeau_wrapper {
    display: flex;
    align-items: center;
    background: var(--couleur-3) url("imgs/bg_bandeau.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    height: 786px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-right: 50px;
}
.bloc_bandeau_txt {
    margin-left: 50%;
}
.txt_bandeau_1 {
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: 55px;
    line-height: 170%;
    letter-spacing: 0%;
}
.txt_bandeau_1 span {
    font-weight: 300;
    font-size: 45px;
    line-height: 180%;
}
.txt_bandeau_2 {
    padding-top: 40px;
    color: var(--couleur-2);
    text-align: left;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 180%;
    letter-spacing: 0%;
}


@media screen and (max-width: 760px) {
    .bandeau_wrapper {
        display: block;
        align-items: center;
        background: var(--couleur-3) url("imgs/bg_bandeau.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center bottom;
        width: 100%;
        margin: 0 auto;
        padding: 25px 0 340px;
        text-align: center;
    } 
    .bloc_bandeau_txt {
        margin-left: 0;
    }
    .txt_bandeau_1 {
        color: #fff;
        font-family: "Oswald", sans-serif;
        font-weight: 700;
        font-size: 30px;
        line-height: 130%;
        letter-spacing: 0%;
    }
    .txt_bandeau_1 span {
        font-weight: 300;
        font-size: 25px;
        line-height: 200%;
    }
    .txt_bandeau_2 {
        padding-top: 40px;
        color: var(--couleur-2);
        text-align: center;
        font-family: "Oswald", sans-serif;
        font-weight: 700;
        font-size: 20px;
        line-height: 150%;
        letter-spacing: 0%;
    }
}

h2 {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
}
h2.h2_bleu {
    color: var(--couleur-1);
    padding-bottom: 35px;
}
h2.h2_orange {
    color: var(--couleur-2);
    padding-bottom: 35px;
}

h3 {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 100%;
}
h3.h3_orange {
    color: var(--couleur-2);
    padding-bottom: 35px;
}

#section_programme {
    padding: 40px 0 110px;
    max-width: 100%;
    overflow: hidden;
}
.txt_intro {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
    padding-bottom: 40px;
}

/* ===========   RESPONSIVE   ============= */
 
@media (max-width: 991px) {
    h2 {
        font-size: 25px;
        line-height: 100%;
    }
    .txt_intro {
        font-size: 14px;
        line-height: 19px;
        padding-bottom: 20px;
    }
    h2.h2_bleu,
    h2.h2_orange {
        padding-bottom: 20px;
    }
    h3 {
        font-size: 22px;
        line-height: 100%;
    }
    h3.h3_orange {
        padding-bottom: 20px;
    }
}

/* =============================================
CARTOUCHE AGENDA
============================================= */
 
#bloc_agenda {
    display: grid;
    grid-template-columns: repeat(3, 392px);
    gap: 80px 27px;
    justify-content: center;
}

@media (min-width: 992px) {
    /* Les 2 blocs de la 2ème ligne : on les place sur les colonnes 1 et 2 
       et on décale d'une demi-colonne pour centrer */
    .cartouche-agenda:nth-child(4) {
        grid-column: 1;
        margin-left: calc((392px + 16px) / 2);
    }

    .cartouche-agenda:nth-child(5) {
        grid-column: 2;
        margin-left: calc((392px + 16px) / 2);
    }
}

.cartouche-agenda {
    position: relative;
    background-color: var(--couleur-3);
    border-radius: 15px;
    padding: 0 24px 28px;
    height: 100%;
    width: 392px;
    text-align: center;
    box-sizing: border-box;
    margin: 30px auto;
}

.cartouche-badge {
    display: inline-block;
    background-color: var(--couleur-2);
    color: var(--couleur-3);
    font-size: 20px;
    line-height: 25px;
    font-weight: 700;
    padding: 8px 28px;
    border-radius: 5px;
    position: relative;
    top: -18px;
    margin-bottom: -6px;
    letter-spacing: 0.02em;
}

.cartouche-datetime {
    color: #fff;
    margin: 4px 0 16px;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 35px;
    text-align: center;
}

.cartouche-titre {
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 14px;
    text-transform: none !important;
}

.cartouche-lieu {
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 18px;
}
.container-cartouche-image {
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cartouche-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin-bottom: 18px;
}
 
.cartouche-infos {
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
    text-decoration: none;
    display: block;
    margin-bottom: 14px;
  }
 
.cartouche-infos:hover {
    text-decoration: underline;
}
 
.cartouche-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2.5px solid #fff;
    border-radius: 5px;
    color: #fff;
    background: transparent;
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 6px 18px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.01em;
  }
 
.cartouche-btn:hover {
    background: #fff;
    color: var(--couleur-3);
}
 
.cartouche-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .titre_cartouche {
        min-height: 77px;
    }
}

/* ===========   RESPONSIVE   ============= */
 
@media (max-width: 991px) {
    .cartouche-datetime {
        margin: 4px 0 16px;
        font-size: 20px;
        line-height: 25px;
    }
    .cartouche-titre {
        font-size: 20px;
        line-height: 1.25;
        margin: 0 0 14px;
    }
    .cartouche-lieu {
        font-size: 15px;
        line-height: 1.5;
        margin: 0 0 15px;
    }
    #bloc_agenda {
        display: block;
        grid-template-columns: repeat(1, 392px);
        gap: 80px 27px;
        justify-content: center;
    }
    .cartouche-agenda {
        padding: 0 24px 28px;
        height: 100%;
        width: 100%;
        margin: 30px auto;
    }
}


/* =============================================
Section Spectacles
============================================= */

#section_temps-forts {
    position: relative;
    background: var(--couleur-5);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right -400px top;
    padding: 60px 0;
    max-width: 100%;
    overflow: hidden;
}
.bg_section_temps-forts {
    position: absolute;
    inset: 0;
    display: block;
    background: url("imgs/mckay_bg.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right -400px top;
    height: 1300px;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 2;
}

/* =============================================
BLOC SPECTACLE
============================================= */

.liste-spectacles {
    padding-top: 80px;
}
.bloc-spectacle {
    position: relative;
    border-radius: 15px;
    padding: 32px;
    box-sizing: border-box;
    display: flex;
    gap: 36px;
    align-items: flex-start;
    max-width: 100%;
    margin: 25px auto;
}
.bloc-spectacle::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1; /* derrière couche-1, relatif au contexte de couche-2 */
    background-color: var(--couleur-3);
    border-radius: 15px;
}
 
/* =============== COLONNE GAUCHE ==================== */
 
.bloc-spectacle__gauche {
    position: relative;
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 3;
}

.bloc-spectacle__image {
    width: 100%;
    border-radius: 15px;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.bloc-spectacle__info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #fff;
}
 
.bloc-spectacle__info-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    color: var(--couleur-2);
    margin-top: 2px;
}
 
.bloc-spectacle__info-texte {
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
}
.bloc-spectacle__info-texte span {
    display: block;
    font-size: 15px;
    line-height: 1.3;
    margin-top: 2px;
}

.bloc-spectacle__info-texte2 {
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
}
.bloc-spectacle__info-texte2 span {
    display: block;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    margin-top: 2px;
}
.bloc-spectacle__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2.5px solid #ffffff;
    border-radius: 10px;
    color: #ffffff;
    background: transparent;
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 6px 18px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
    margin: 4px auto;
}
 
.bloc-spectacle__btn:hover {
    background: #fff;
    color: var(--couleur-3);
}
 
.bloc-spectacle__btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}
 

/* =============== COLONNE DROITE ==================== */
 
.bloc-spectacle__droite {
    position: relative;
    flex: 1;
    min-width: 0;
    font-family: "Raleway", sans-serif;
    font-size: 18px; 
    font-weight: 500;
    color: #ffffff;
    line-height: 1.3;
    z-index: 3;
}
 
.bloc-spectacle__categorie {
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--couleur-2);
    text-transform: uppercase;
    margin: 0 0 10px;
}
 
.bloc-spectacle__titre {
    font-family: "Oswald", sans-serif;
    font-size: 25px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 14px;
}

.bloc-spectacle__texte,
.bloc-spectacle__texte p {
    font-family: "Raleway", sans-serif;
    font-size: 18px; 
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    margin: 0 0 12px;
}
 
.bloc-spectacle__texte:last-of-type {
    margin-bottom: 24px;
}
 
.bloc-spectacle__lien {
    font-family: "Raleway", sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--couleur-2);
    text-decoration: underline;
    text-underline-offset: 3px;
    display: inline-block;
    margin-top: 8px;
}
 
.bloc-spectacle__lien:hover {
    color: #fff;
}
 
  /* ===========   RESPONSIVE   ============= */
 
  @media (max-width: 760px) {
    .bloc-spectacle {
        gap: 25px;
        flex-direction: column;
        padding: 24px 20px;
    }
    .bloc-spectacle__gauche {
      flex: none;
      width: 100%;
    }
    .liste-spectacles {
        padding-top: 10px;
    }
    .bloc-spectacle__info-texte {
        font-size: 15px;
        line-height: 1.2;
        color: #fff;
    }
    .bloc-spectacle__categorie {
        font-size: 15px;
        text-align: center;
    }
    .bloc-spectacle__titre {
        font-size: 20px;
        line-height: 1.2;
        margin: 0 0 14px;
    }
    .bloc-spectacle__texte,
    .bloc-spectacle__texte p {
        font-size: 14px; 
        line-height: 1.3;
        margin: 0 0 12px;
    }
    .bloc-spectacle__lien {
        display: block;
        font-size: 15px;
        text-align: center;
    }
  }



/* ==========================================================
Section Spectacles
=========================================================== */

#section_intervenants {
    position: relative;
    background: var(--couleur-4);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right -400px top;
    padding: 60px 0;
    max-width: 100%;
    overflow: hidden;
}


/* =============== SLIDER INTERVENANTS ==================== */

 
.slider-intervenants {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}
 
/* ---- Piste de slides ---- */
.slider-intervenants__piste {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
 
/* ---- Une slide ---- */
.slider-intervenants__slide {
    display: flex;
    flex: 0 0 100%;
    gap: 70px;
    align-items: center;
    padding: 20px 0 70px; /* espace bas pour les boutons */
    box-sizing: border-box;
}
 
/* ---- Image intervenant ---- */
.slider-intervenants__img-wrap {
    position: relative;
    flex: 0 0 270px;
}
 
.slider-intervenants__img {
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}
 
.slider-intervenants__credit {
    position: absolute;
    bottom: 10px;
    left: 12px;
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    font-style: italic;
}

/* ---- Contenu texte ---- */
.slider-intervenants__contenu {
    flex: 1;
    min-width: 0;
}
 
.slider-intervenants__nom {
    font-family: "Oswald", sans-serif;
    font-size: 25px;
    font-weight: 700;
    color: var(--couleur-1);
    margin: 0 0 24px;
    line-height: 1.1;
}
 
.slider-intervenants__bio {
    font-size: 18px; 
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}
 
/* ---- Boutons navigation ---- */
.slider-intervenants__nav {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 10px;
}
.slider-intervenants__btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.2s;
}
 
.slider-intervenants__btn:hover {
    opacity: 0.8;
    background-color: transparent !important
}
 
.slider-intervenants__btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.slider-intervenants__btn svg {
    display: block;
}
 
  /* ===========  RESPONSIVE  =========== */
 
  @media (max-width: 640px) {
    .slider-intervenants__slide {
      flex-direction: column;
      gap: 24px;
      padding-bottom: 80px;
    }
 
    .slider-intervenants__img-wrap {
      flex: none;
      width: 100%;
    }
 
    .slider-intervenants__img {
      aspect-ratio: 4 / 3;
    }
    .slider-intervenants__nom {
        font-size: 20px;
        margin: 0 0 24px;
        line-height: 1.1;
    }
    .slider-intervenants__bio {
        font-size: 15px; 
        line-height: 1.35;
        margin: 0;
    }
    .slider-intervenants__nav {
        position: absolute;
        bottom: 0;
        right: 0;
        display: flex;
        gap: 10px;
        transform: translateX(-100%);
    }
  }


/* =============================================
BLOC MCKAY
============================================= */

#section_mckay {
    margin: 50px 0;
    max-width: 100%;
    overflow: hidden;
}
.bloc-mckay {
    max-width: 100%;
    margin: 0 auto;
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    padding: 30px 5px;
}
 
  /* ===========  PARTIE HAUTE : portrait + texte  ============ */
 
  .bloc-mckay__haut {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 48px;
  }
 
  /* --- Portrait --- */
  .bloc-mckay__portrait-wrap {
    flex: 0 0 420px;
  }
 
  .bloc-mckay__portrait {
    width: 410px;
    border-radius: 15px;
    display: block;
    object-fit: cover;
  }
 
  /* --- Texte biographie --- */
  .bloc-mckay__bio {
    flex: 1;
    min-width: 0;
  }
 
  .bloc-mckay__titre {
    font-family: "Oswald", sans-serif;
    font-size: 25px;
    font-weight: 700;
    color: var(--couleur-2);
    text-transform: uppercase;
    margin: 0 0 20px;
    line-height: 1.3;
  }
 
  .bloc-mckay__texte {
    margin: 0 0 16px;
  }
 
  .bloc-mckay__texte:last-child {
    margin-bottom: 0;
  }
 
  /* =============================================
     PARTIE BASSE : œuvres + image livres
  ============================================= */
 
  .bloc-mckay__bas {
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }
 
  /* --- Liste des œuvres --- */
  .bloc-mckay__oeuvres {
    flex: 1;
    min-width: 0;
  }
 
.bloc-mckay__oeuvres-titre {
    font-family: "Oswald", sans-serif;
    font-size: 25px;
    font-weight: 700;
    color: var(--couleur-2);
    margin: 0 0 12px;
    line-height: 1.3;
}
 
  .bloc-mckay__oeuvres-intro {
    font-size: 15px;
    color: #1a1a1a;
    margin: 0 0 14px;
  }
 
  .bloc-mckay__liste {
    list-style: none;
    padding: 0;
    margin: 0;
  }
 
  .bloc-mckay__liste li {
    font-size: 15px;
    color: #1a1a1a;
    line-height: 1.6;
    padding-left: 18px;
    position: relative;
    margin-bottom: 4px;
  }
 
  .bloc-mckay__liste li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1a1a1a;
  }
 
  .bloc-mckay__liste li em {
    font-style: italic;
  }
 
  /* --- Image livres --- */
  .bloc-mckay__livres-wrap {
    flex: 0 0 340px;
    align-self: flex-end; /* colle en bas comme dans la maquette */
  }
 
  .bloc-mckay__livres {
    width: 100%;
    display: block;
  }
 
  /* ==========  RESPONSIVE =========== */
 
  @media (max-width: 680px) {
    .bloc-mckay__haut,
    .bloc-mckay__bas {
      flex-direction: column;
      gap: 24px;
    }

    .bloc-mckay__portrait-wrap,
    .bloc-mckay__livres-wrap {
      flex: none;
      width: 100%;
    }
    .bloc-mckay__titre,
    .bloc-mckay__oeuvres-titre {
        font-size: 18px;
        margin: 0 0 20px;
        line-height: 1.3;
    }
    .bloc-mckay {
        font-size: 16px;
        line-height: 1.15;
        padding: 30px 5px;
    }
  }

  /* =============================================
Bloc Fondation
  ============================================= */

#section_fondation {
    position: relative;
    background: #b4d7dc;
    padding-bottom: 50px;
    z-index: 5;
    max-width: 100%;
    overflow: hidden;
}
#section_fondation:before {
    content: url("imgs/bg_fondation.png");
    width: 1442px;
    height: 1443px;
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(calc(50% - 700px));
    z-index: 5;
    opacity: 0.20;
}

.bloc-fondation {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.5;
    z-index: 10;
}

.titre-fondation {
    display: flex;
    align-items: center;
    gap: 0px;
}

.titre-fondation::before {
    content: "";
    display: block;
    width: 174px; 
    height: 165px;
    flex-shrink: 0;
    background-image: url("imgs/logo_stinakri.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
 
.bloc-fondation__section-titre {
    font-size: 25px;
    font-weight: 700;
    color: var(--couleur-2);
    text-transform: uppercase;
    margin: 0 0 28px;
}

 
  /* ============  SECTION PRESIDENT : photo + contenu  ============= */
 
.bloc-fondation__president {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding-top: 65px;
    padding-bottom: 70px;
}
 
  /* --- Photo --- */
  .bloc-fondation__photo-wrap {
    flex: 0 0 360px;
  }
 
  .bloc-fondation__photo {
    width: 100%;
    border-radius: 15px;
    display: block;
    object-fit: cover;
  }
 
  /* --- Contenu président --- */
  .bloc-fondation__president-contenu {
    flex: 1;
    min-width: 0;
  }
 
  .bloc-fondation__sous-titre {
    font-size: 25px;
    font-weight: 700;
    color: var(--couleur-1);
    margin: 0 0 20px;
    line-height: 1.3;
  }
 
  /* ===========  PARAGRAPHES ET LISTES  ============ */
 
.bloc-fondation__texte {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 14px;
}
 
.bloc-fondation__texte:last-of-type {
    margin-bottom: 0;
}

.bloc-fondation__texte em {
    font-style: italic;
}
 
/* Liste à puces */
.bloc-fondation__liste {
    list-style: none;
    padding: 0;
    margin: 8px 0 14px 0;
}
 
.bloc-fondation__liste li {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    padding-left: 18px;
    position: relative;
    margin-bottom: 4px;
}
 
.bloc-fondation__liste li::before {
    content: "•";
    position: absolute;
    left: 0;
}

.bloc-fondation__lien {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: var(--couleur-1);
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-top: 20px;
}
 
  .bloc-fondation__lien:hover {
    color: var(--couleur-2);
  }

.visi-mobile {
   display: none; 
}
.visi-desktop {
   display: block; 
}

/* ==========  RESPONSIVE =========== */
 
@media (max-width: 680px) {
    .titre-fondation::before {
        width: 60px; 
        height: 57px;
    }

    .bloc-fondation__section-titre {
        font-size: 20px;
        margin: 0 0 18px;
    }
    .visi-mobile {
       display: block; 
    }
    .visi-desktop {
       display: none; 
    }
    .bloc-fondation__president {
        display: flex;
        gap: 40px;
        align-items: flex-start;
        padding-top: 5px;
        padding-bottom: 20px;
    }
    .bloc-fondation__sous-titre {
        font-size: 20px;
        margin: 0 0 20px;
    }
    .bloc-fondation__texte {
        font-size: 17px;
        margin: 0 0 14px;
    }
}
 
  /* =============================================
     SECTION FONDATION (texte pleine largeur)
  ============================================= */
 
  .bloc-fondation__fondation {
    /* pleine largeur, pas de flex */
  }
 
  /* ===========  RESPONSIVE  =========== */
 
  @media (max-width: 640px) {
    .bloc-fondation__president {
      flex-direction: column;
      gap: 24px;
    }
 
    .bloc-fondation__photo-wrap {
      flex: none;
      width: 100%;
    }
  }

/* =============================================
   FRISE PARTENAIRES
============================================= */

#section_partenaires {
    padding: 60px 0;
    max-width: 100%;
    overflow: hidden;
}
.frise-partenaires {
  max-width: 100%;
  margin: 30px auto 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.frise-partenaires__rangee {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.frise-partenaires__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 120px;
}

.frise-partenaires__logo img {
  max-height: 80px;   /* AJUSTEZ selon vos logos */
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: none;
  transition: opacity 0.2s;
}

.frise-partenaires__logo:hover img {
  opacity: 0.7;
}

  /* ===========  RESPONSIVE  =========== */

@media (max-width: 640px) {
  .frise-partenaires__rangee {
    justify-content: center;
  }

  .frise-partenaires__logo {
    flex: 0 0 calc(50% - 16px);
  }

  .frise-partenaires__logo img {
    max-height: 60px;
  }
}


/* =============================================
   PIED DE PAGE
============================================= */

footer.footer {
  background-color: var(--couleur-3);
  color: #fff;
}
.footer-big {
    color: #fff !important;
    padding: 10px 0;
}
.pied-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 40px;
  width: 100%;
  box-sizing: border-box;
}

/* --- Logo --- */
.pied-page__logo img {
  height: 48px;
  width: auto;
  display: block;
}

/* --- Navigation --- */
.pied-page__nav {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.pied-page__nav a {
  font-size: 14px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.pied-page__nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pied-page__nav a svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.pied-page__nav a:hover {
    opacity: 1;
    color: var(--couleur-4);
}

/* --- Copyright --- */
.pied-page__copyright,
.footer-big p {
  font-size: 15px;
  color: #fff !important;
  white-space: nowrap;
  margin: 0;
}

  /* ===========  RESPONSIVE  =========== */

@media (max-width: 768px) {
  .pied-page {
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    gap: 20px;
  }

  .pied-page__nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .pied-page__nav a {
    white-space: normal;
  }
}
