/* ============================================
   MUSEOSCIENCE.COM — Feuille de style principale
   ============================================ */

/* POLICES */

@font-face {
    font-family: avenir;
    src: url(../fonts/AvenirLTStd-Book.otf) format('opentype');
    font-weight: normal;
}

@font-face {
    font-family: avenir;
    src: url(../fonts/AvenirLTStd-Heavy.otf) format('opentype');
    font-weight: bold;
}

/* Lora — hébergement local (latin + latin-ext), variable font 400–700 */
@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(../fonts/lora-normal-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(../fonts/lora-normal-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lora';
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url(../fonts/lora-italic-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Lora';
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url(../fonts/lora-italic-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* RESET */

*, *::before, *::after {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body, header, section, footer, nav, div, img, h1, h2, h3, h4, p, ul, li, a {
    margin: 0;
    padding: 0;
}

/* Empêche la déformation des images quand width/height HTML sont présents
   mais qu'aucune règle CSS de hauteur explicite ne s'applique.
   Les règles de conteneurs (.frise-photos img, .logo img, etc.) ont une
   spécificité supérieure (0,1,1) et continuent de s'appliquer normalement. */
img {
    height: auto;
}

body {
    overflow-x: hidden;
}


/* COULEURS */
:root {
    --jaune:    #ebc44c;
    --rouge:    #e75f44;
    --vert:     #b0cb79;
    --bleu:     #7ec3b8;
    --gris-clair:   #f0f0ed;
    --gris-moyen:   #e2e2df;
    --gris-fonce:   #3a3a3a;
    --texte:        #2d2d2d;
    --blanc:        #ffffff;
}


/* SEO : H1 visible uniquement pour les moteurs de recherche */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}


/* ============================================
   TYPOGRAPHIE GÉNÉRALE
   ============================================ */

body {
    font-family: avenir, sans-serif;
    font-size: 17px;
    color: var(--texte);
    background-color: var(--blanc);
    line-height: 1.7;
}

h1, h2 {
    font-family: Georgia, 'Lora', serif;
    line-height: 1.2;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.6em;
}

h3 {
    font-family: Georgia, 'Lora', serif;
    line-height: 1.2;
}

h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 0.6em;
}

h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 0.8em;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ============================================
   DOUBLE HEADER FIXE
   ============================================ */

.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* Topbar : langues + contact */
.topbar {
    background-color: var(--gris-fonce);
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    font-size: 13px;
    letter-spacing: 0.08rem;
}

.topbar-langues a {
    color: #ccc;
    margin-right: 12px;
    font-size: 12px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    transition: color 0.2s;
}

.topbar-langues a:hover,
.topbar-langues a.active {
    color: var(--jaune);
}

.topbar-contact a {
    color: #ccc;
    font-size: 12px;
    transition: color 0.2s;
}

.topbar-contact a:hover {
    color: var(--jaune);
}

/* Barre de navigation principale */
.header-main {
    background-color: var(--blanc);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border-bottom: 1px solid var(--gris-moyen);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.logo img {
    height: 52px;
    width: auto;
}

/* Menu navigation */
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    padding: 8px 10px;
    font-family: avenir, sans-serif;
    font-size: 13px;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--gris-fonce);
    transition: color 0.2s;
}

nav ul li a:hover {
    color: var(--jaune);
}

/* Sous-menu */
nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--blanc);
    min-width: 220px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    border-radius: 0 0 8px 8px;
    z-index: 200;
    flex-direction: column;
    gap: 0;
}

nav ul li:hover ul {
    display: flex;
}

nav ul li ul li a {
    padding: 10px 20px;
    font-size: 13px;
    border-bottom: 1px solid var(--gris-moyen);
}

nav ul li ul li:last-child a {
    border-bottom: none;
}

/* Bouton menu hamburger (mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--gris-fonce);
    transition: all 0.3s;
}

/* Barre 4 couleurs sous le header */
.barre-couleurs {
    height: 6px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.barre-couleurs span:nth-child(1) { background-color: var(--rouge); }
.barre-couleurs span:nth-child(2) { background-color: var(--jaune); }
.barre-couleurs span:nth-child(3) { background-color: var(--vert); }
.barre-couleurs span:nth-child(4) { background-color: var(--bleu); }

/* 4 petits carrés décoratifs — section présentation */
.carrés-couleurs {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

.carrés-couleurs span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.carrés-couleurs span:nth-child(1) { background-color: var(--rouge); }
.carrés-couleurs span:nth-child(2) { background-color: var(--jaune); }
.carrés-couleurs span:nth-child(3) { background-color: var(--vert); }
.carrés-couleurs span:nth-child(4) { background-color: var(--bleu); }

/* Espace fantôme sous le header fixe */
.header-fantome {
    height: 112px; /* 36px topbar + 70px header + 6px barre */
}


/* ============================================
   SECTIONS GÉNÉRIQUES
   ============================================ */

section {
    padding: 70px 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-gris {
    background-color: var(--gris-clair);
}

.section-couleur {
    background-color: var(--jaune);
}

.section-sombre {
    background-color: var(--gris-fonce);
    color: var(--blanc);
}

.titre-section {
    text-align: center;
    margin-bottom: 50px;
}

.titre-section h2 {
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    color: var(--gris-fonce);
    margin-bottom: 12px;
}

.titre-section .souligne {
    display: inline-block;
    width: 60px;
    height: 3px;
    background-color: var(--jaune);
    border-radius: 2px;
}


/* ============================================
   SECTION HERO
   ============================================ */

.hero {
    padding: 50px 20px 60px;
    background-color: var(--blanc);
    text-align: center;
}

.hero h1 {
    font-family: Georgia, 'Lora', serif;
    font-size: 36px;
    font-weight: 400;
    font-style: italic;
    color: var(--gris-fonce);
    margin-bottom: 0;
    line-height: 1.2;
}

.hero h2 {
    font-family: Georgia, 'Lora', serif;
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    color: var(--gris-fonce);
    margin-bottom: 0;
    line-height: 1.2;
}

.hero-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 50px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.hero-images img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    display: block;
}

.photo-credit-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 340px;
    width: 100%;
}

.photo-credit-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.photo-credit {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.55);
    color: #fff !important;
    font-family: avenir, sans-serif !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.02em;
    line-height: 1.4 !important;
    padding: 8px 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.photo-credit-wrap:hover .photo-credit {
    opacity: 1;
}

/* Crédit photo permanent, toujours visible, discret */
.photo-credit-permanent {
    position: absolute;
    bottom: 6px;
    right: 8px;
    font-family: avenir, sans-serif;
    font-size: 0.58rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.03em;
    pointer-events: none;
    z-index: 1;
}

/* Légende verticale sur le côté */
.photo-credit-side-wrap {
    position: relative;
    display: inline-block;
}

.photo-credit-side {
    position: absolute;
    top: 0;
    right: -22px;
    height: 100%;
    display: flex;
    align-items: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-family: avenir, sans-serif;
    font-size: 0.62rem;
    color: #999;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}


/* ============================================
   SECTION PRÉSENTATION
   ============================================ */

.presentation {
    background-color: var(--gris-clair);
}

.presentation-inner {
    display: grid;
    grid-template-columns: 1fr 2fr 1.6fr;
    gap: 40px;
    align-items: center;
}

.presentation-photo img {
    width: 100%;
    max-width: 160px;
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    display: block;
    margin: 0 auto;
}

.presentation-photo-expo .photo-credit-wrap {
    height: 460px;
}

.presentation-photo-expo img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    object-fit: cover;
    height: 460px;
}

.presentation-texte p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 1em;
    max-width: 90%;
}

.presentation-texte p:last-child {
    margin-bottom: 0;
}

.signature {
    margin-top: 20px;
    font-style: italic;
    font-size: 15px;
    color: #666;
}


/* ============================================
   SECTION OFFRES
   ============================================ */

.section-offres-fond {
    background-color: var(--bleu);
    padding: 70px 0;
}

.section-offres-fond .titre-section h2 {
    color: white;
}

.section-offres-fond .titre-section .souligne {
    background-color: white;
}

.offres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.offre-carte {
    background-color: var(--blanc);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}

.offre-carte:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Conteneur image avec overlay */
.offre-image-wrap {
    position: relative;
    overflow: hidden;
}

.offre-carte img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.offre-carte:hover img {
    transform: scale(1.04);
}

/* Voile au survol sur l'image */
.offre-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(42, 42, 42, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.offre-carte:hover .offre-overlay {
    opacity: 1;
}

.offre-overlay-texte {
    color: white;
    text-align: center;
}

.offre-overlay-texte p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.92);
}

.offre-overlay-texte strong {
    color: white;
    font-weight: 700;
    letter-spacing: 0.02rem;
}

.offre-overlay-texte .offre-nouveau {
    font-size: 12px;
    color: var(--jaune);
    font-style: italic;
    margin-bottom: 0;
}

/* Pied de carte : titre + bouton */
.offre-carte-body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.offre-carte-body .btn-offre {
    margin-top: auto;
}

.offre-carte-body h3 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--gris-fonce);
}

.offre-carte-body p {
    display: none;
}

/* Alignement horizontal entre les cartes */
.offre-carte {
    display: flex;
    flex-direction: column;
}

.btn-offre {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 10px;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
    font-family: avenir, sans-serif;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

/* Hiérarchie typographique dans les cartes offres */
.offre-sous-titre {
    font-size: 9px;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 10px;
    font-family: avenir, sans-serif;
}

.offre-accroche {
    font-size: 15px;
    font-family: avenir, sans-serif;
    font-style: italic;
    color: var(--gris-fonce);
    line-height: 1.5;
    margin-bottom: 10px;
}

.offre-detail {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}

.offre-nouveau {
    font-size: 13px;
    color: var(--rouge);
    font-style: italic;
    margin-bottom: 20px;
}

/* Tous les boutons en jaune */
.offre-1 .btn-offre,
.offre-2 .btn-offre,
.offre-3 .btn-offre,
.offre-4 .btn-offre { background-color: var(--jaune); color: var(--gris-fonce); }

.offre-1 .btn-offre:hover,
.offre-2 .btn-offre:hover,
.offre-3 .btn-offre:hover,
.offre-4 .btn-offre:hover { background-color: #d4a83a; color: white; }

/* Fond légèrement gris pour les blocs offres */
.offre-1, .offre-2, .offre-3, .offre-4 { background-color: #f2f2f0; box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
.offre-1:hover, .offre-2:hover, .offre-3:hover, .offre-4:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.11); }

/* Couleurs des boutons offres dans un ordre différent des valeurs */


/* ============================================
   SECTION VALEURS — ROUE / BOUSSOLE
   ============================================ */

.section-valeurs-bandeau {
    background-color: var(--gris-clair);
    padding: 70px 0;
}

.section-valeurs-bandeau .titre-section h2 {
    color: var(--gris-fonce);
}

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.valeur-bloc {
    border-radius: 12px;
    padding: 36px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    text-align: center;
    color: var(--gris-fonce);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Décalage vertical pour effet dynamique */
.valeur-1 { margin-top: 0px; }
.valeur-2 { margin-top: 50px; }
.valeur-3 { margin-top: 20px; }
.valeur-4 { margin-top: 70px; }

.valeur-1 { background-color: var(--rouge); }
.valeur-2 { background-color: var(--jaune); }
.valeur-3 { background-color: var(--vert); }
.valeur-4 { background-color: var(--bleu); }

.valeur-numero {
    display: none;
}

.valeur-bloc h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--gris-fonce);
}

.valeur-accroche {
    font-style: italic;
    font-family: avenir, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gris-fonce);
    margin-bottom: 8px;
}

.valeur-detail {
    font-size: 13px;
    color: rgba(58,58,58,0.8);
    line-height: 1.5;
}


/* ============================================
   SECTION RÉFÉRENCES / LOGOS
   ============================================ */

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.logos-grid img {
    height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.2s, opacity 0.2s;
}

.logos-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}


/* ============================================
   SECTION TÉMOIGNAGES
   ============================================ */

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.temoignage-carte {
    background-color: var(--blanc);
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
    position: relative;
}

.temoignage-carte::before {
    content: '\201C';
    font-family: avenir, sans-serif;
    font-size: 72px;
    color: var(--jaune);
    opacity: 0.5;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.temoignage-texte {
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
    padding-top: 30px;
}

.temoignage-auteur {
    font-size: 13px;
    font-weight: bold;
    color: var(--gris-fonce);
}

.temoignage-institution {
    font-size: 13px;
    color: #888;
}


/* Livre d'or Clock */
.clock-livreor {
    margin-top: 48px;
}

.clock-livreor-titre {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
    color: #999;
    font-weight: bold;
    margin-bottom: 20px;
}

.clock-livreor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.clock-livreor-item {
    background: rgba(255,255,255,0.7);
    border-left: 3px solid var(--jaune);
    border-radius: 0 8px 8px 0;
    padding: 16px 18px;
}

.clock-livreor-item p {
    font-style: italic;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.clock-livreor-item span {
    font-size: 12px;
    color: #999;
    line-height: 1.3;
    display: block;
}


/* ============================================
   SECTION CONTACT
   ============================================ */

.contact-section {
    background-color: var(--gris-fonce);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.contact-section h2 {
    color: white;
    margin-bottom: 16px;
}

.contact-section p {
    color: #ccc;
    margin-bottom: 28px;
    font-size: 16px;
}

.btn-contact {
    display: inline-block;
    padding: 14px 36px;
    background-color: var(--jaune);
    color: var(--gris-fonce);
    border-radius: 8px;
    font-family: avenir, sans-serif;
    font-size: 15px;
    letter-spacing: 0.08rem;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn-contact:hover {
    background-color: #d4a83a;
    color: white;
}


/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: #222;
    color: #aaa;
    text-align: center;
    padding: 30px;
    font-size: 13px;
    line-height: 1.8;
}

footer a {
    color: #aaa;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--jaune);
}


/* ============================================
   MENU OVERFLOW DYNAMIQUE (JS overflow detection)
   Miroir du comportement mobile, déclenché avant 900px si les libellés débordent
   ============================================ */

.nav-overflow .menu-toggle {
    display: flex !important;
}

.nav-overflow nav > ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 106px;
    left: 0;
    width: 100%;
    background-color: var(--blanc);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    padding: 10px 0;
    z-index: 300;
}

.nav-overflow nav > ul.open {
    display: flex;
}

.nav-overflow nav > ul li a {
    padding: 12px 24px;
    border-bottom: 1px solid var(--gris-moyen);
}

.nav-overflow nav > ul li ul {
    position: relative;
    box-shadow: none;
    border-radius: 0;
}

.nav-overflow nav > ul li ul li a {
    padding-left: 40px;
    background-color: var(--gris-clair);
}

/* ============================================
   RESPONSIVE — TABLETTE (max 900px)
   ============================================ */

@media (max-width: 900px) {

    .valeurs-roue {
        width: 100%;
        height: auto;
        border-radius: 16px;
    }

    .temoignages-grid {
        grid-template-columns: 1fr;
    }

    .offres-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .presentation-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .presentation-photo img {
        max-width: 140px;
    }

    .presentation-photo-expo {
        display: block;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-images {
        grid-template-columns: 1fr;
    }

    .hero-images img {
        height: 220px;
    }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 106px;
        left: 0;
        width: 100%;
        background-color: var(--blanc);
        box-shadow: 0 4px 16px rgba(0,0,0,0.10);
        padding: 10px 0;
        z-index: 300;
    }

    nav ul.open {
        display: flex;
    }

    nav ul li a {
        padding: 12px 24px;
        border-bottom: 1px solid var(--gris-moyen);
    }

    nav ul li ul {
        position: relative;
        box-shadow: none;
        border-radius: 0;
    }

    nav ul li ul li a {
        padding-left: 40px;
        background-color: var(--gris-clair);
    }

    .menu-toggle {
        display: flex;
    }

}


/* ============================================
   RESPONSIVE — MOBILE (max 650px)
   ============================================ */

@media (max-width: 650px) {

    section {
        padding: 50px 0;
    }

    .titre-section h2 {
        font-size: 24px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .offres-grid {
        grid-template-columns: 1fr;
    }

    .valeurs-grid {
        grid-template-columns: 1fr;
    }


    .topbar {
        padding: 0 16px;
    }

    .topbar-contact {
        display: none;
    }

    .header-main {
        padding: 0 16px;
    }

    .container {
        padding: 0 18px;
    }

    .logos-grid img {
        height: 36px;
    }
}


/* ============================================================
   PAGE EXPOSITIONS ITINÉRANTES
   ============================================================ */

/* Frise photos horizontale */
.frise-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
}

.frise-photos img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.frise-credit-wrap {
    height: 220px;
    border-radius: 0;
}

/* Intro centrée */
.expos-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 10px 0;
}

.expos-intro p {
    font-size: 15px;
    line-height: 1.8;
}

/* 3 blocs arguments colorés */
.expos-arguments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.expos-arg {
    border-radius: 12px;
    padding: 36px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    text-align: center;
    color: var(--gris-fonce);
}

.expos-arg-1 { background-color: var(--bleu);  margin-top: 0px; }
.expos-arg-2 { background-color: var(--jaune); margin-top: 40px; }
.expos-arg-3 { background-color: var(--vert);  margin-top: 20px; }

.expos-arg h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
}

.expos-arg-accroche {
    font-style: italic;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.expos-arg-detail {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(58,58,58,0.85);
}

.expos-arg-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 16px;
    border-radius: 6px;
    overflow: hidden;
}

.expos-arg-photos img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

/* Cartes expos */
.expos-cartes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.expo-carte {
    background-color: var(--blanc);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
}

.expo-carte-img-wrap {
    position: relative;
    overflow: hidden;
}

.expo-carte-img-wrap img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.expo-carte:hover .expo-carte-img-wrap img {
    transform: scale(1.03);
}

.expo-carte-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expo-carte:hover .expo-carte-overlay {
    opacity: 1;
}

.expo-carte-overlay p {
    color: var(--blanc);
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

.expo-carte-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.expo-carte-body h3 {
    font-family: Georgia, 'Lora', serif;
    font-size: 20px;
    font-style: italic;
    font-weight: 400;
    color: var(--gris-fonce);
    margin-bottom: 6px;
}

.expo-sous-titre {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.04rem;
    margin-bottom: 16px;
}

.expo-carte-body .btn-offre {
    margin-top: auto;
    align-self: flex-start;
    background-color: var(--jaune);
    color: var(--gris-fonce);
}

/* Responsive */
@media (max-width: 768px) {
    .expos-arguments {
        grid-template-columns: 1fr;
    }
    .expos-arg-2, .expos-arg-3 { margin-top: 0; }

    .expos-cartes {
        grid-template-columns: 1fr;
    }
}



/* ============================================================
   PAGE EXPOSITION COULEURS
   ============================================================ */

/* Hero deux colonnes */
.couleurs-hero {
    background-color: var(--gris-fonce);
    color: var(--blanc);
    padding: 0;
}

.couleurs-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

.couleurs-hero-texte {
    padding: 60px 50px 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.couleurs-surtitre {
    font-size: 12px;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    color: var(--jaune);
    margin-bottom: 12px;
}

.couleurs-hero h2 {
    font-family: Georgia, 'Lora', serif;
    font-size: 52px;
    font-weight: 400;
    font-style: italic;
    color: var(--blanc);
    margin-bottom: 20px;
    line-height: 1.1;
}

.couleurs-sous-accroche {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}

.couleurs-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-couleurs-primary {
    background-color: var(--jaune);
    color: var(--gris-fonce);
    padding: 12px 28px;
    border-radius: 4px;
    font-family: avenir, sans-serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

.btn-couleurs-primary:hover { opacity: 0.85; }

.btn-couleurs-secondary {
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--blanc);
    padding: 12px 24px;
    border-radius: 4px;
    font-family: avenir, sans-serif;
    font-size: 12px;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
    transition: border-color 0.2s;
}

.btn-couleurs-secondary:hover { border-color: var(--blanc); }

.btn-lire-article {
    border: 1px solid var(--gris-fonce) !important;
    color: var(--gris-fonce);
    padding: 12px 24px;
    border-radius: 4px;
    font-family: avenir, sans-serif;
    font-size: 12px;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.btn-lire-article:hover {
    background: var(--gris-fonce);
    color: #fff;
}

.couleurs-hero-photo {
    overflow: hidden;
}

.couleurs-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Blocs présentation */
.couleurs-presentation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.couleurs-bloc {
    border-radius: 12px;
    padding: 32px 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    text-align: center;
}

.couleurs-bloc-rouge { background-color: var(--rouge); margin-top: 0; }
.couleurs-bloc-jaune { background-color: var(--jaune); margin-top: 40px; }
.couleurs-bloc-vert  { background-color: var(--vert);  margin-top: 20px; }
.couleurs-bloc-bleu  { background-color: var(--bleu);  margin-top: 60px; }

.couleurs-bloc h3 {
    font-size: 15px;
    font-weight: bold;
    color: var(--gris-fonce);
    margin-bottom: 10px;
}

.couleurs-bloc p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--gris-fonce);
}

/* Fiche technique */
.couleurs-fiche-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background-color: var(--gris-moyen);
    border-radius: 8px;
    overflow: hidden;
}

.couleurs-fiche-bloc {
    background-color: var(--blanc);
    padding: 24px;
}

.couleurs-fiche-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: var(--jaune);
    font-weight: bold;
    margin-bottom: 8px;
}

.couleurs-fiche-valeur {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gris-fonce);
}

.couleurs-fiche-valeur a {
    color: var(--bleu);
    text-decoration: underline;
}

/* Note musées d'art */
.couleurs-note {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
    font-style: italic;
    color: var(--gris-fonce);
}

/* Encart petit format */
.couleurs-petit-format {
    background-color: var(--gris-fonce);
    padding: 40px 0;
    color: var(--blanc);
}

.couleurs-pf-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.couleurs-pf-texte h2 {
    font-family: Georgia, 'Lora', serif;
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    color: var(--blanc);
    margin-bottom: 14px;
}

.couleurs-pf-texte p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 10px;
}

.couleurs-pf-texte .carrés-couleurs {
    margin-bottom: 20px;
}

.couleurs-pf-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.couleurs-pf-photos img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.couleurs-pf-photos .photo-credit-wrap {
    height: 280px;
    border-radius: 4px;
}

.couleurs-pf-photos .photo-credit-wrap img {
    height: 100%;
}

.couleurs-pf-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
    align-items: start;
    padding-bottom: 20px;
}

.couleurs-pf-types figure {
    margin: 0;
    text-align: center;
}

.couleurs-pf-types figure:nth-child(1) { margin-top: 0; }
.couleurs-pf-types figure:nth-child(2) { margin-top: 50px; }
.couleurs-pf-types figure:nth-child(3) { margin-top: 20px; }
.couleurs-pf-types figure:nth-child(4) { margin-top: 35px; }

.couleurs-pf-types figure img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.couleurs-pf-types figure:nth-child(1) img,
.couleurs-pf-types figure:nth-child(2) img {
    background: white;
    padding: 6px;
    box-sizing: border-box;
}

.couleurs-pf-types figcaption {
    margin-top: 8px;
    font-size: 13px;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

/* Lieux d'itinérance */
.couleurs-lieux-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.couleurs-lieu {
    background-color: white;
    border: 1px solid var(--gris-moyen);
    border-radius: 8px;
    padding: 20px 22px;
    position: relative;
    box-shadow: 2px 3px 10px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.couleurs-lieu:hover {
    box-shadow: 4px 6px 18px rgba(0,0,0,0.13);
    transform: translateY(-3px);
}

.couleurs-lieu-actuel {
    border-color: var(--bleu);
    border-width: 2px;
}

.couleurs-lieu-avenir {
    border-color: var(--jaune);
    border-width: 2px;
}

.couleurs-lieu-badge {
    position: absolute;
    top: -12px;
    left: 16px;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.couleurs-lieu-actuel .couleurs-lieu-badge {
    background-color: var(--bleu);
    color: var(--gris-fonce);
}

.couleurs-lieu-avenir .couleurs-lieu-badge {
    background-color: var(--jaune);
    color: var(--gris-fonce);
}

.couleurs-lieu-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 4px;
}

.couleurs-lieu-type {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    color: var(--vert);
    margin-bottom: 4px;
}

.couleurs-lieu-nom {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 3px;
    color: var(--gris-fonce);
}

.couleurs-lieu-info {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Galerie */
/* Galerie miniature */
.couleurs-galerie-wrapper {
    position: relative;
    cursor: pointer;
}

.couleurs-galerie-wrapper::after {
    content: 'Voir en grand →';
    position: absolute;
    bottom: 20px;
    right: 12px;
    background: rgba(0,0,0,0.55);
    color: white;
    font-size: 13px;
    font-style: italic;
    padding: 6px 14px;
    border-radius: 20px;
    pointer-events: none;
    animation: slideRight 1.4s ease-in-out infinite;
}

html[lang="en"] .couleurs-galerie-wrapper::after {
    content: 'View full size →';
}

html[lang="de"] .couleurs-galerie-wrapper::after {
    content: 'Vergrößern →';
}

html[lang="nl"] .couleurs-galerie-wrapper::after {
    content: 'Vergroot →';
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.galerie-hint { display: none; }

.couleurs-galerie {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.couleurs-galerie::-webkit-scrollbar { display: none; }

.couleurs-galerie-item {
    flex: 0 0 auto;
    width: 290px;
    height: 250px;
    scroll-snap-align: start;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
}

.couleurs-galerie-large {
    width: 390px;
}

.couleurs-galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.couleurs-galerie-item:hover img {
    transform: scale(1.04);
}

/* Lightbox galerie grand format */
.lightbox-galerie {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox-galerie.active {
    display: flex;
}

.lightbox-galerie-img {
    max-width: 88vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.lightbox-galerie-close {
    position: fixed;
    top: 18px;
    right: 26px;
    color: white;
    font-size: 36px;
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
}

.lightbox-galerie-prev,
.lightbox-galerie-next {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 28px;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.lightbox-galerie-prev { left: 24px; }
.lightbox-galerie-next { right: 24px; }

.lightbox-galerie-prev:hover,
.lightbox-galerie-next:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-galerie-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-style: italic;
}

/* Lightbox */

/* Vidéos */
.couleurs-videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.couleurs-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.couleurs-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.couleurs-video-legende {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* CTA actions */
.couleurs-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
    text-align: center;
    width: 100%;
}

.btn-couleurs-dl {
    border: 1px solid rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.8);
    padding: 12px 28px;
    border-radius: 4px;
    font-family: avenir, sans-serif;
    font-size: 13px;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
    transition: background-color 0.2s, border-color 0.2s;
    display: inline-block;
}

.btn-couleurs-dl:hover { background-color: rgba(255,255,255,0.1); border-color: white; color: white; }

/* Responsive */
@media (max-width: 900px) {
    .couleurs-hero-inner { grid-template-columns: 1fr; }
    .couleurs-hero-photo { height: 300px; }
    .couleurs-presentation-grid { grid-template-columns: repeat(2, 1fr); }
    .couleurs-bloc-jaune, .couleurs-bloc-bleu { margin-top: 0; }
    .couleurs-fiche-grid { grid-template-columns: repeat(2, 1fr); }
    .couleurs-lieux-grid { grid-template-columns: repeat(2, 1fr); }
    .couleurs-galerie { grid-template-columns: repeat(2, 1fr); }
    .couleurs-galerie-large { grid-column: span 2; }
    .couleurs-pf-inner { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
    .couleurs-hero h2 { font-size: 36px; }
    .couleurs-presentation-grid { grid-template-columns: 1fr; }
    .couleurs-fiche-grid { grid-template-columns: 1fr; }
    .couleurs-lieux-grid { grid-template-columns: 1fr; }
    .couleurs-galerie { grid-template-columns: 1fr; }
    .couleurs-galerie-large { grid-column: span 1; }
    .couleurs-videos-grid { grid-template-columns: 1fr; }
    .couleurs-pf-photos { grid-template-columns: 1fr; }
}

/* ---- POPUP COOKIES ---- */
#cookie-banner {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
#cookie-banner-box {
  background: #fff;
  border-radius: 8px;
  max-width: 480px;
  width: 100%;
  padding: 36px 32px 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  text-align: center;
}
#cookie-banner-box p {
  font-family: avenir, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin: 0 0 24px;
}
#cookie-banner-box strong {
  display: block;
  font-family: avenir, sans-serif;
  font-size: 15px;
  color: var(--gris-fonce);
  margin-bottom: 12px;
}
.cookie-btns { display: flex; gap: 12px; justify-content: center; }
.cookie-btns button {
  padding: 10px 24px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-family: avenir, sans-serif;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.05em;
  background: var(--jaune);
  color: #fff;
}
.cookie-btns button.refuse {
  background: transparent;
  border: 1px solid #ccc;
  color: #888;
}
.cookie-btns button.refuse:hover { border-color: #888; color: #555; }

/* Frise photos mobile : 2 colonnes, masque les 3e et 4e photos */
@media (max-width: 768px) {
  .frise-photos {
    grid-template-columns: repeat(2, 1fr);
  }
  .frise-photos img:nth-child(n+3) {
    display: none;
  }
}

/* Lightbox mobile : flèches en bas */
@media (max-width: 768px) {
  .lightbox-galerie-img {
    max-width: 96vw;
    max-height: 70vh;
  }
  .lightbox-galerie-prev,
  .lightbox-galerie-next {
    top: auto;
    bottom: 40px;
    transform: none;
    border-radius: 8px;
    font-size: 22px;
    padding: 12px 32px;
  }
  .lightbox-galerie-prev { left: 15%; }
  .lightbox-galerie-next { right: 15%; }
}

/* ---- YouTube façade ---- */
.yt-facade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: #000;
    overflow: hidden;
}
.yt-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.yt-facade:hover img { opacity: 1; }
.yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 68px;
    height: 48px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
    transition: transform 0.15s;
}
.yt-play:hover { transform: translate(-50%,-50%) scale(1.1); }
.yt-consent {
    font-size: 11px;
    color: #888;
    text-align: center;
    margin: 6px 0 0;
    font-style: italic;
}

/* ============================================================
   FAQ — Expositions itinérantes
   ============================================================ */
.faq-itinerantes {
    background-color: var(--blanc);
    color: var(--gris-fonce);
    padding: 60px 40px;
    font-family: avenir, sans-serif;
}
.faq-itinerantes h2 {
    font-family: Georgia, 'Lora', serif;
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    color: var(--gris-fonce);
    margin-bottom: 28px;
    display: inline-block;
    border-bottom: 2px solid var(--jaune);
    padding-bottom: 12px;
}
.faq-itinerantes .faq-titre-wrap {
    text-align: center;
    margin-bottom: 40px;
}
.faq-itinerantes .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}
.faq-itinerantes .faq-item {
    border-left: 3px solid var(--jaune);
    padding-left: 20px;
}
.faq-itinerantes .faq-question {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: bold;
    color: var(--jaune);
    margin-bottom: 10px;
}
.faq-itinerantes .faq-answer {
    font-size: 14px;
    line-height: 1.75;
    color: #555;
}
.faq-itinerantes .faq-answer-sub {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    margin-top: 6px;
}
