/* === Polices hébergées localement (RGPD : aucun appel à Google Fonts) ===
   Jost et Playfair Display sont des polices variables (un seul fichier par
   style couvre toutes les graisses). Playfair Display SC : 700 uniquement. */
@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/jost-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: 'Jost';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/jost-latinext.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: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/playfair-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: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/playfair-latinext.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: 'Playfair Display';
    font-style: italic;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/playfair-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;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/playfair-italic-latinext.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: 'Playfair Display SC';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-sc-700-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: 'Playfair Display SC';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-sc-700-latinext.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;
}

:root {
    color-scheme: dark;
    --bg: #070708;
    --surface: rgba(18, 18, 18, 0.92);
    --surface-strong: rgba(10, 10, 10, 0.98);
    --gold: #c9a96a;
    --gold-soft: #d7bb7d;
    --text: #f6f3ec;
    --muted: #9a9aa0;
    --border: rgba(201, 169, 106, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Jost', sans-serif;
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

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

button,
input,
textarea {
    font: inherit;
}

.page-shell {
    overflow-x: hidden;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    position: static;
    background: rgba(7, 7, 8, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Playfair Display SC', serif;
    font-size: 1.45rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
}

.brand-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 1.05rem;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    background-image: linear-gradient(var(--gold), var(--gold));
    background-size: 0% 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover {
    background-size: 100% 1px;
    color: var(--gold);
}

/* Bouton burger : masqué sur desktop, affiché en mobile (≤820px) */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: '';
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
}
.nav-toggle__bars {
    position: relative;
}
.nav-toggle__bars::before {
    position: absolute;
    left: 0;
    top: -8px;
}
.nav-toggle__bars::after {
    position: absolute;
    left: 0;
    top: 8px;
}
/* Morph en croix quand le menu est ouvert */
.nav-toggle.is-open .nav-toggle__bars {
    background: transparent;
}
.nav-toggle.is-open .nav-toggle__bars::before {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle__bars::after {
    transform: translateY(-8px) rotate(-45deg);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    padding: 15px 34px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid transparent;
    transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-gold {
    color: var(--gold);
    border: 1px solid var(--gold);
    box-shadow: none;
}

.btn-gold:hover {
    background: var(--gold);
    color: #070708;
    border-color: var(--gold);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--text);
}

.btn-outline:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.hero {
    min-height: 90vh;
    display: grid;
    position: relative;
    padding: 0;
    background-color: var(--bg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
}

/* ── Images WebP avec repli ─────────────────────────────────────────────────
   <picture> rendu transparent à la mise en page (l'<img> reste stylé comme avant).
   Fonds : image-set() sert le WebP aux navigateurs récents, sinon la 1re ligne
   url(jpg/png) fait repli sur les anciens. */
picture { display: contents; }

.hero[data-hero-parallax] {
    background-image: url('../images/GRnb-15.jpg');
    background-image: -webkit-image-set(url('../images/GRnb-15.webp') type('image/webp'), url('../images/GRnb-15.jpg') type('image/jpeg'));
    background-image: image-set(url('../images/GRnb-15.webp') type('image/webp'), url('../images/GRnb-15.jpg') type('image/jpeg'));
}

.engagements-hero {
    background-image: url('../images/Heros-sponsoring.png');
    background-image: -webkit-image-set(url('../images/Heros-sponsoring.webp') type('image/webp'), url('../images/Heros-sponsoring.png') type('image/png'));
    background-image: image-set(url('../images/Heros-sponsoring.webp') type('image/webp'), url('../images/Heros-sponsoring.png') type('image/png'));
}

.quote-band {
    background-image: url('../images/GRnb-13.jpg');
    background-image: -webkit-image-set(url('../images/GRnb-13.webp') type('image/webp'), url('../images/GRnb-13.jpg') type('image/jpeg'));
    background-image: image-set(url('../images/GRnb-13.webp') type('image/webp'), url('../images/GRnb-13.jpg') type('image/jpeg'));
}

.join-section {
    background-image: url('../images/GRnb-14.jpg');
    background-image: -webkit-image-set(url('../images/GRnb-14.webp') type('image/webp'), url('../images/GRnb-14.jpg') type('image/jpeg'));
    background-image: image-set(url('../images/GRnb-14.webp') type('image/webp'), url('../images/GRnb-14.jpg') type('image/jpeg'));
}

.hero-overlay,
.quote-overlay,
.join-overlay {
    position: absolute;
    inset: 0;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(7, 7, 8, 0.04) 0%, rgba(7, 7, 8, 0.22) 25%, rgba(7, 7, 8, 0.58) 55%, rgba(7, 7, 8, 0.92) 100%);
}

.join-overlay {
    background: linear-gradient(180deg, rgba(7, 7, 8, 0.04) 0%, rgba(7, 7, 8, 0.22) 25%, rgba(7, 7, 8, 0.58) 55%, rgba(7, 7, 8, 0.92) 100%);
}

/* Dégradé calqué sur le hero : quasi transparent en haut (visages visibles),
   #070708 quasi opaque en bas (zone où se pose la citation). */
.quote-overlay {
    background: linear-gradient(180deg, rgba(7, 7, 8, 0.04) 0%, rgba(7, 7, 8, 0.22) 25%, rgba(7, 7, 8, 0.58) 55%, rgba(7, 7, 8, 0.92) 100%);
}

.hero-content {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    z-index: 2;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    color: var(--text);
    padding: 0 20px;
    margin: 0 auto;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.78rem;
    color: var(--muted);
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--text);
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

h1 {
    font-size: clamp(2.1rem, 3.8vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.gold {
    color: var(--gold);
}

.italic {
    font-style: italic;
}

.hero-copy {
    font-size: 1.05rem;
    max-width: 620px;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-actions .btn {
    min-width: 240px;
    text-align: center;
}

.hero-actions .btn-gold {
    background: rgba(201, 169, 106, 0.08);
    border-color: var(--gold);
    color: var(--gold);
}

.hero-actions .btn-gold:hover {
    background: var(--gold);
    color: #070708;
}

.hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.22);
}


.section {
    padding: 140px 0;
}

.separator {
    height: 1px;
    width: 240px;
    margin: 70px auto;
    background: linear-gradient(90deg, transparent 0%, #c9a96a 50%, transparent 100%);
}

.intro-section {
    padding: 50px 0 60px;
}}

.section-dark {
    background: #0b0b0c;
}

.center-content {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.section-header .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--muted);
    letter-spacing: 0.26em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.section-header .eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.section-intro {
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
    color: var(--text);
    letter-spacing: 0.02em;
}

.stats-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Accroche éditoriale au-dessus des chiffres clés (esprit citation, doré discret) */
.stats-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.15rem, 1.9vw, 1.6rem);
    line-height: 1.55;
    text-align: center;
    color: rgba(201, 169, 106, 0.88);
    max-width: 820px;
    margin: 0 auto 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 106, 0.14);
    padding: 1.8rem;
    border-radius: 24px;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 169, 106, 0.40);
}

.stat-card span {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--text);
    margin-bottom: 0.6rem;
}

.stat-card p {
    margin: 0;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.section-header {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.6rem;
}

.section-header h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    line-height: 1.05;
}

.flip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.flip-card {
    perspective: 1500px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    min-height: 220px;
    transform-style: preserve-3d;
    transition: transform 0.65s ease;
    border-radius: 24px;
    cursor: pointer;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-visible .flip-card-inner,
.flip-card.active .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.flip-card-front {
    background: rgba(18, 18, 18, 0.95);
}

.flip-card-back {
    background: rgba(11, 11, 11, 0.96);
    transform: rotateY(180deg);
}

.flip-card-front .tag,
.flip-card-back p {
    font-size: 1.15rem;
    line-height: 1.5;
}

.tag {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.badge {
    display: inline-flex;
    margin-top: 0.75rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(201, 169, 106, 0.14);
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Blocs segmentés par clientèle (remplace les cartes d'expertises) */
.segment {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: center;
    border: 1px solid rgba(201, 169, 106, 0.2);
    background: #070708;
    border-radius: 24px;
    padding: 2rem;
}

.segment + .segment {
    margin-top: 4rem;
}

/* Bloc 2 : photo à droite, texte à gauche (texte sur la colonne large) */
.segment-reverse {
    grid-template-columns: 1.15fr 0.85fr;
}
.segment-reverse .segment-media {
    grid-column: 2;
    grid-row: 1;
}
.segment-reverse .segment-body {
    grid-column: 1;
    grid-row: 1;
}

.segment-media img {
    width: 100%;
    height: auto; /* neutralise le hint height des attributs width/height (ratio seul) */
    max-height: 420px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.segment-body .section-header {
    margin-bottom: 1.2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.05rem 0.95rem;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(201, 169, 106, 0.22);
    border-radius: 10px;
    /* Reset bouton : conserve l'apparence d'origine (typo Jost, pleine largeur, alignement) */
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card span {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.3;
}

.service-card i {
    flex-shrink: 0;
    font-style: normal;
    color: var(--gold);
    font-size: 1.05rem;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
    border-color: rgba(201, 169, 106, 0.55);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}
.service-card:hover i {
    transform: translateX(3px);
}

/* Modal des cartes-services (expertises) */
.service-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.service-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 7, 8, 0.78);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
}

.service-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    background: #070708;
    border: 1px solid rgba(201, 169, 106, 0.35);
    border-radius: 18px;
    padding: 2.75rem 2.5rem;
    transform: translateY(12px);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-modal.is-open .service-modal__dialog {
    transform: translateY(0);
}

.service-modal__close {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 50%;
    color: var(--muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-modal__close:hover {
    color: var(--gold);
}

.service-modal__title {
    margin: 0 0 1.2rem;
    padding-right: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.2;
    color: var(--text);
}

.service-modal__text {
    margin: 0 0 2rem;
    font-family: 'Jost', sans-serif;
    color: var(--muted);
    line-height: 1.8;
}

body.modal-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .service-modal,
    .service-modal__dialog {
        transition: none;
    }
    .service-modal__dialog {
        transform: none;
    }
    /* Filet de sécurité : aucun décalage parallaxe si les animations sont réduites */
    .hero-content {
        transform: none !important;
    }
    /* Menu burger : ouverture/fermeture instantanée (pas de fondu/glissement) */
    .nav-links {
        transition: none;
    }
}

.join-section {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    padding: 0;
    background-size: cover;
    background-position: center 20%;
}

/* Bandeau-citation façon hero : photo nette en haut, citation posée en bas */
.quote-band {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    padding: 0;
    background-size: cover;
    background-position: center 20%;
}

.join-content {
    position: relative;
    z-index: 1;
    max-width: 730px;
    text-align: center;
    padding-bottom: 3rem;
    padding-top: 6rem;
}

.quote-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-bottom: 3rem;
    padding-top: 6rem;
}

.quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 1.8vw, 1.55rem);
    line-height: 1.5;
    max-width: 640px;
    margin: 0 auto;
    color: var(--text);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 169, 106, 0.35);
}

.step-card span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 169, 106, 0.15);
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-card h3 {
    margin-bottom: 0.85rem;
    font-size: 1.2rem;
}

.step-card p {
    margin: 0;
    color: var(--muted);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s ease;
}

.team-card:hover,
.team-card:focus-visible {
    transform: translateY(-6px);
}

.team-card img {
    width: 100%;
    height: auto; /* le CSS reprend la main sur la hauteur : les attributs width/height
                     de l'<img> ne servent plus qu'au ratio (anti-CLS), aspect-ratio recadre */
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.35s ease;
}

.team-card:hover img,
.team-card:focus-visible img {
    filter: grayscale(0%);
}

.team-card div {
    padding: 1.4rem 1.3rem 1.6rem;
}

.team-card h3 {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.team-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.reviews-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.reviews-track {
    display: flex;
    width: max-content;
    animation: reviews-scroll 135s linear infinite;
}

/* Pause au survol RÉEL uniquement (souris/desktop). Sur tactile, le `:hover` reste
   « collé » après un tap et bloquerait le défilement -> la pause/reprise tactile est
   gérée en JS (touchstart/touchend) dans site.js. */
@media (hover: hover) {
    .reviews-marquee:hover .reviews-track {
        animation-play-state: paused;
    }
}

/* Mobile : défilement ralenti pour laisser le temps de lire (desktop reste à 135s). */
@media (max-width: 820px) {
    .reviews-track {
        animation-duration: 300s;
    }
}

.reviews-track .review-card {
    flex: 0 0 340px;
    margin-right: 1.4rem;
}

@keyframes reviews-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .reviews-track {
        animation: none;
        flex-wrap: wrap;
    }
}

.reviews-confidentiality {
    margin: 1.5rem 0 0;
    text-align: center;
    color: rgba(154, 154, 160, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.01em;
}

.reviews-policy-link {
    color: rgba(201, 169, 106, 0.85); /* or sobre, cohérent avec la date des avis */
    text-decoration: none;
    white-space: nowrap;
}

.reviews-policy-link:hover,
.reviews-policy-link:focus-visible {
    text-decoration: underline;
}

.reviews-actions {
    margin-top: 2.5rem;
    text-align: center;
}

/* Section « Nos conférences » */
.conferences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.6rem;
}

.conference-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 106, 0.22);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.conference-card:hover {
    border-color: rgba(201, 169, 106, 0.5);
    transform: translateY(-3px);
}

.conference-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.conference-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.conference-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
}

.conference-card__date {
    margin: 0;
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.conference-card__title {
    margin: 0;
    font-size: 1.25rem;
}

.conference-card__place {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.conference-card__desc {
    margin: 0.3rem 0 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.92rem;
}

.conference-card .conference-cta {
    margin-top: 1.1rem;
    align-self: flex-start;
}

.conferences-subtitle {
    margin: 3rem 0 1.5rem;
    font-size: 1.3rem;
    color: var(--text);
}

.conference-card--past .conference-card__body {
    gap: 0.35rem;
}

/* Album souvenir (conférences passées) */
.souvenir {
    padding: 2.25rem 0;
    border-top: 1px solid rgba(201, 169, 106, 0.18);
}

.souvenir__head { margin-bottom: 1.4rem; }
.souvenir__date { margin: 0; color: var(--gold); font-size: 0.85rem; letter-spacing: 0.02em; }
.souvenir__title { margin: 0.2rem 0 0.2rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.souvenir__place { margin: 0; color: var(--muted); font-size: 0.92rem; }

.souvenir__text {
    margin: 0 0 1.8rem;
    max-width: 760px;
    color: var(--text);
    line-height: 1.8;
}

.souvenir__thanks {
    margin: 0.6rem 0 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--gold);
}

.souvenir__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.souvenir__tile {
    padding: 0;
    border: 1px solid rgba(201, 169, 106, 0.18);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    aspect-ratio: 1 / 1;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.souvenir__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.souvenir__tile:hover {
    border-color: rgba(201, 169, 106, 0.5);
}
.souvenir__tile:hover img { transform: scale(1.05); }

.souvenir__partners { margin-top: 2.25rem; }
.souvenir__partners-label {
    margin: 0 0 1rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
}
.souvenir__partners-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}
.souvenir__partner {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.85;
    filter: grayscale(0.2);
    transition: opacity 0.4s ease, filter 0.4s ease;
}
.souvenir__partner:hover { opacity: 1; filter: grayscale(0); }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 3.5rem;
    background: rgba(7, 7, 8, 0.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    background: rgba(7, 7, 8, 0.6);
    border: 1px solid rgba(201, 169, 106, 0.4);
    color: var(--gold);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(201, 169, 106, 0.15); border-color: var(--gold); }

.lightbox__close {
    top: 1.25rem;
    right: 1.5rem;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
}
.lightbox__nav--prev { left: 1.25rem; }
.lightbox__nav--next { right: 1.25rem; }

@media (max-width: 580px) {
    .lightbox { padding: 1rem; }
    .lightbox__nav { width: 2.4rem; height: 2.4rem; font-size: 1.5rem; }
    .lightbox__nav--prev { left: 0.4rem; }
    .lightbox__nav--next { right: 0.4rem; }
}

/* Popup conférence (accueil) */
.conference-popup__dialog {
    width: min(600px, 100%);
}

.conference-popup__photo {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin-bottom: 1.3rem;
}

.conference-popup__photo[hidden] { display: none; }

.conference-popup__eyebrow {
    margin: 0 0 0.6rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.72rem;
}

.conference-popup__date {
    margin: 0.4rem 0 0.6rem;
    color: var(--gold);
    font-size: 0.95rem;
}

.conference-popup__place {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.conference-popup__desc {
    margin: 0 0 1.6rem;
    color: var(--text);
    line-height: 1.7;
}

/* Modal d'inscription */
.inscription-modal__dialog {
    width: min(620px, 100%);
}

.inscription-conf {
    margin: 0 0 1.4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(201, 169, 106, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.inscription-conf span:first-child {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--text);
}

.inscription-conf__date {
    color: var(--gold);
    font-size: 0.9rem;
}

.inscription-section-label {
    margin: 0.4rem 0 0;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
}

.inscription-companions {
    display: grid;
    gap: 0.6rem;
}

#companionsContainer {
    display: grid;
    gap: 0.85rem;
}

.companion-block {
    display: grid;
    gap: 0.55rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.companion-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.companion-block__title {
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.companion-remove {
    background: none;
    border: 0;
    padding: 0;
    color: rgba(193, 120, 120, 0.9);
    font-size: 0.82rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.companion-remove:hover { color: rgba(207, 138, 138, 1); }

.inscription-add {
    justify-self: start;
    min-width: auto;
    padding: 10px 18px;
    font-size: 11px;
}

.form-error-list {
    margin: 0;
    padding-left: 1.1rem;
}

/* Modal de dépôt d'avis */
.review-modal__dialog {
    width: min(560px, 100%);
}

.review-reassurance {
    margin: 0 0 1.5rem;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.review-counter {
    margin: -0.2rem 0 0;
    text-align: right;
    color: rgba(154, 154, 160, 0.6);
    font-size: 0.78rem;
}

/* Menu déroulant aligné sur le style des champs */
.contact-form select {
    width: 100%;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    color: var(--text);
    font: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
    background-position: calc(100% - 1.3rem) center, calc(100% - 1rem) center;
    background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
    background-repeat: no-repeat;
}

.contact-form select:focus {
    outline: none;
    border-color: rgba(201, 169, 106, 0.55);
}

.contact-form select option {
    background: #0b0b0c;
    color: var(--text);
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.review-card p {
    margin-bottom: 1.35rem;
    color: var(--muted);
    flex: 1 1 auto; /* occupe l'espace dispo -> pousse la signature en bas */
}

.review-card > span {
    margin-top: auto; /* signature collée au bas de la carte, alignée entre cartes */
}

.review-card span {
    color: var(--text);
    font-weight: 600;
}

.review-card__date {
    color: rgba(201, 169, 106, 0.85); /* or sobre, discret */
    font-weight: 400;
    font-size: 0.9em;
    white-space: nowrap;
}

.join-content h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    margin: 1rem 0 1.8rem;
}

/* Grand cadre partagé (Contact + Expertises) : zone très légèrement plus claire
   que le noir des blocs, pour que ceux-ci « reposent » dedans (effet de profondeur). */
.section-frame {
    border: 1px solid rgba(201, 169, 106, 0.4);
    background: #0d0d10;
    border-radius: 24px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2rem;
    align-items: flex-start;
}

.contact-info {
    border: 1px solid rgba(201, 169, 106, 0.2);
    background: #070708;
    border-radius: 24px;
    padding: 2rem;
}

.contact-info p,
.contact-info a {
    color: var(--text);
    line-height: 1.8;
}

.contact-info p a {
    background-image: linear-gradient(var(--gold), var(--gold));
    background-size: 0% 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-info p a:hover {
    background-size: 100% 1px;
    color: var(--gold);
}

/* Deux implantations côte à côte dans le bloc coordonnées */
.contact-offices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.contact-office h3 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    color: var(--gold);
}

.contact-office__org {
    margin: 0 0 0.6rem;
    color: var(--text);
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}

.contact-office p {
    margin: 0 0 0.35rem;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Horaires d'ouverture, sous les implantations, dans la même carte */
.contact-hours {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 169, 106, 0.18);
}

.contact-hours h3 {
    margin: 0 0 0.6rem;
    font-size: 1.15rem;
    color: var(--gold);
}

.contact-hours__line {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.4rem 1.2rem;
    margin: 0 0 0.4rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-hours__line span:last-child {
    color: var(--text);
}

.contact-hours__closed,
.contact-hours__closed span:last-child {
    color: rgba(154, 154, 160, 0.7);
}

.contact-hours__note {
    margin: 1rem 0 0;
    color: rgba(154, 154, 160, 0.6);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Vignettes-cartes Google Maps, pleine largeur sous la grille contact */
.contact-maps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-map {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 106, 0.2);
    border-radius: 18px;
    background: #0b0b0c;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-map:hover,
.contact-map:focus-visible {
    border-color: rgba(201, 169, 106, 0.55);
    transform: translateY(-3px);
}

.contact-map__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
    filter: grayscale(0.7) brightness(0.85) contrast(1.05);
}

.contact-map__label {
    position: absolute;
    left: 1rem;
    bottom: 0.9rem;
    z-index: 1;
    padding: 0.3rem 0.85rem;
    border: 1px solid rgba(201, 169, 106, 0.45);
    border-radius: 999px;
    background: rgba(7, 7, 8, 0.78);
    color: var(--text);
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

/* Modal carte agrandie — variante 16/9 du modal existant */
.map-modal__dialog {
    width: min(1000px, 100%);
    padding: 0;
    overflow: hidden;
}

.map-modal__frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.map-modal__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-modal .service-modal__close {
    z-index: 2;
    background: rgba(7, 7, 8, 0.78);
    color: var(--text);
}

.map-modal .service-modal__close:hover {
    color: var(--gold);
}

.contact-form {
    display: grid;
    gap: 0.6rem;
    border: 1px solid rgba(201, 169, 106, 0.2);
    background: #070708;
    border-radius: 24px;
    padding: 2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    color: var(--text);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #86868d; /* contraste ~5,2:1 sur le fond des champs (>= 4,5:1 WCAG AA) */
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(201, 169, 106, 0.55);
}

/* Focus clavier net et élégant (halo doré discret). Les champs de saisie l'affichent
   aussi à la souris quand ils sont ACTIFS (comportement :focus-visible des inputs) ;
   l'état NON focus reste strictement inchangé. */
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form select:focus-visible {
    border-color: rgba(201, 169, 106, 0.85);
    box-shadow: 0 0 0 3px rgba(201, 169, 106, 0.22);
}

/* Étiquette accessible masquée visuellement (lue par lecteurs d'écran + autofill). */
.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;
}

/* Lien d'évitement : hors écran, visible UNIQUEMENT au focus clavier. */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: var(--gold);
    color: #070708;
    padding: 0.65rem 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.18s ease;
}

.skip-link:focus {
    top: 1rem;
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 169, 106, 0.4);
}

/* ───── Sélecteur téléphone international (intl-tel-input v29) — thème sombre premium ─────
   v29 colore TOUT via des variables CSS --iti-* (le dropdown .iti__country-selector a un
   fond `var(--iti-country-selector-bg: white)`). On surcharge ces variables SCOPÉES au
   dropdown -> le popup passe en sombre SANS toucher au champ (déjà bon), et c'est robuste
   que le dropdown soit rendu inline ou déplacé. */
.contact-form .iti { width: 100%; display: block; }

/* Dropdown des pays : fond sombre + bordure/hover or + icônes or (variables scopées). */
.iti__country-selector {
    --iti-country-selector-bg: #0b0b0c;            /* fond du popup */
    --iti-border-color: rgba(201, 169, 106, 0.3);  /* bordure discrète or */
    --iti-hover-color: rgba(201, 169, 106, 0.16);  /* item survolé / sélectionné clavier */
    --iti-icon-color: #c9a96a;                     /* icônes recherche / effacer */
    color: var(--text);                            /* nom des pays : clair */
    border-radius: 12px;
    overflow: hidden;                              /* clippe la liste -> le drapeau du bas ne déborde plus */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.iti__country-name { color: var(--text); }
.iti__dial-code { color: #9a9aa1; }                 /* indicatif atténué mais lisible */
.iti__no-results { color: #9a9aa1; }

/* Champ de recherche du dropdown : sombre, texte clair, placeholder lisible.
   On NEUTRALISE le style générique « .contact-form input » qui débordait ici (padding/bordure)
   et on RESTAURE le padding-left d'intl-tel-input qui réserve la place à la loupe (sinon
   la loupe chevauche le texte « Search »). */
.contact-form .iti__search-input {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 0;
    border-radius: 0;
    padding: 10px calc(2 * var(--iti-spacer-horizontal) + var(--iti-clear-icon-size)) 10px calc(2 * var(--iti-spacer-horizontal) + var(--iti-globe-icon-size));
}
.iti__search-input::placeholder { color: #86868d; }

/* Barre de défilement de la liste : discrète (pas de bloc clair qui dépasse). */
.iti__country-list { scrollbar-width: thin; scrollbar-color: rgba(201, 169, 106, 0.35) transparent; }
.iti__country-list::-webkit-scrollbar { width: 10px; }
.iti__country-list::-webkit-scrollbar-track { background: transparent; }
.iti__country-list::-webkit-scrollbar-thumb { background: rgba(201, 169, 106, 0.3); border-radius: 8px; }

/* Supprime l'icône d'auto-remplissage WebKit/Chrome greffée à droite des champs */
.contact-form input::-webkit-contacts-auto-fill-button,
.contact-form input::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
}

/* Masque les icônes de révélation / effacement natives (Edge / IE) */
.contact-form input::-ms-reveal,
.contact-form input::-ms-clear {
    display: none;
}

/* Neutralise le fond jaune d'autofill WebKit, garde le fond sombre des champs */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text);
    caret-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.04) inset;
            box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.04) inset;
    transition: background-color 9999s ease-in-out 0s, box-shadow 9999s ease-in-out 0s;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    width: 100%;
    text-align: left;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-consent input {
    width: auto;
    margin: 0.2rem 0 0;
    padding: 0;
    flex-shrink: 0;
    background: none;
    border: 0;
    border-radius: 0;
    -webkit-appearance: auto;
    appearance: auto;
}

.contact-consent span {
    flex: 1;
}

/* Lien « Politique de confidentialité » : visiblement cliquable (or + souligné) */
.contact-consent a {
    color: #c9a96a;
    text-decoration: underline;
}
.contact-consent a:hover {
    color: #b8975a;
}

.contact-disclaimer {
    margin: 0.5rem 0 0;
    text-align: center;
    color: rgba(154, 154, 160, 0.7);
    font-size: 0.78rem;
    line-height: 1.5;
}

/* === Page /candidature : champs fichier + lettre de motivation (noir/or) === */
.candidature-form { max-width: 640px; }
.candidature-intro { max-width: 640px; margin: 0 0 1.6rem; color: var(--muted); line-height: 1.7; }

.cand-file { display: block; margin: 0; }
.cand-file__label { display: block; margin: 0 0 0.45rem; color: var(--text); font-size: 0.92rem; }
.candidature-form input[type="file"] {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(201, 169, 106, 0.45);
    border-radius: 12px;
    color: var(--muted);
    font: inherit;
    cursor: pointer;
}
.candidature-form input[type="file"]::file-selector-button {
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--gold);
    border-radius: 8px;
    background: rgba(201, 169, 106, 0.1);
    color: var(--gold);
    font: inherit;
    cursor: pointer;
}

.cand-lm { margin: 0; padding: 1rem 1.1rem; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; }
.cand-lm legend { padding: 0 0.5rem; color: var(--text); font-size: 0.92rem; }
.cand-lm__choice { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin: 0 0 0.9rem; }
.cand-lm__choice label { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.92rem; cursor: pointer; }
.cand-lm__choice input[type="radio"] { width: auto; accent-color: var(--gold); }

/* Captcha mathématique (anti-robot) */
.cand-captcha { display: block; text-align: left; }
.cand-captcha__q { display: block; margin: 0 0 0.45rem; color: var(--text); font-size: 0.92rem; }

/* Page /candidature : formulaire à gauche, photo d'ambiance à droite (pleine hauteur) */
.candidature-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: stretch; }
.candidature-main { min-width: 0; } /* évite tout débordement/scroll horizontal des champs */
.candidature-main .candidature-form,
.candidature-main .candidature-intro { max-width: none; } /* le formulaire occupe sa colonne */
.candidature-aside { border-radius: 16px; overflow: hidden; }
.candidature-aside picture { display: block; height: 100%; }
/* height:100% (pas auto) : neutralise le hint des attributs width/height tout en
   remplissant la colonne ; object-fit cover = pas de déformation. */
.candidature-aside img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 820px) {
    /* Mobile : 1 colonne, la photo passe SOUS le formulaire en bandeau (pas écrasée). */
    .candidature-layout { grid-template-columns: 1fr; gap: 1.8rem; }
    .candidature-aside { height: 320px; }
}
@media (max-width: 520px) {
    /* Très petit écran : on masque la photo pour ne pas gêner. */
    .candidature-aside { display: none; }
}

.form-success {
    margin: 0;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(201, 169, 106, 0.45);
    border-radius: 16px;
    background: rgba(201, 169, 106, 0.08);
    color: var(--gold);
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-error {
    margin: -0.2rem 0 0;
    color: rgba(193, 120, 120, 0.9);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Champ piège anti-robot : invisible et hors flux (n'affecte pas la grille) */
.contact-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-map-btn {
    margin-top: 1.6rem;
    padding: 12px 26px;
}

/* Resserre l'enchaînement Contact -> Agréments (trop de vide entre les deux) */
.contact-section {
    padding-bottom: 50px;
}
#agrement {
    padding-top: 60px;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.badge-card {
    background: rgba(7, 7, 8, 0.98);
    border: 1px solid rgba(201, 169, 106, 0.28);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    text-align: left;
    color: var(--text);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    min-height: 120px;
    display: grid;
    gap: 0.55rem;
}

.badge-card strong,
.badge-card h3,
.badge-card span {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-weight: 400;
}

.badge-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Cartes d'agréments retournables (réutilise le système .flip-card existant) */
.badge-flip {
    perspective: 1500px;
}

.badge-flip .flip-card-inner {
    min-height: 170px;
    border-radius: 18px;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.badge-flip .flip-card-front,
.badge-flip .flip-card-back {
    flex-direction: column;
    gap: 0.55rem;
    text-align: center;
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
    border: 1px solid rgba(201, 169, 106, 0.28);
    background: rgba(7, 7, 8, 0.98);
}

.badge-flip .flip-card-back {
    border-color: rgba(201, 169, 106, 0.45);
    background: rgba(11, 11, 11, 0.98);
}

.badge-flip .flip-card-front h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-weight: 400;
}

.badge-flip .flip-card-front p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.badge-flip .flip-card-back p {
    margin: 0;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.55;
}

.badges-note {
    max-width: 760px;
    margin: 2.5rem auto 0;
    text-align: center;
    color: var(--muted);
    line-height: 1.8;
}

.footer {
    position: relative;
    padding: 3rem 0 2.5rem;
}

/* Filet doré qui s'estompe sur les bords, séparateur page / footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 106, 0.55), transparent);
}

/* Filet doré horizontal réutilisable : même rendu que le séparateur du footer
   (le footer l'expose via ::before ; ici sous forme de classe pour le réemploi). */
.gold-rule {
    height: 1px;
    border: 0;
    margin: 0;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 106, 0.55), transparent);
}

/* Position du filet dans le vide hero -> chiffres clés : le remonte vers le
   milieu du vide. z-index pour passer AU-DESSUS du voile du hero (sinon
   .hero-overlay le recouvre dès qu'il franchit la jonction). Marges compensées
   (-haut / +bas) : le cadre des chiffres ne bouge pas, hauteur de page identique. */
.gold-rule-gap {
    position: relative;
    z-index: 1;
    margin-top: -28px;
    margin-bottom: 28px;
}

/* Haut du footer : bloc marque (gauche) | entités (droite), séparés par un filet doré vertical. */
.footer-top {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) 2.4fr;
    gap: 2.5rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-right: 1px solid rgba(201, 169, 106, 0.2);
    padding-right: 2.5rem;
}

/* Logo emblème en haut de la colonne marque (un peu plus grand que le header à 64px). */
.footer-brand__logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    margin: 0 0 1.2rem;
}

.footer-brand__name {
    margin: 0 0 0.7rem;
    font-family: 'Playfair Display SC', serif; /* aligné header (.brand) — était 'Playfair Display' */
    font-weight: 700;                           /* aligné header — était non défini (400) */
    text-transform: uppercase;                  /* aligné header */
    font-size: 1.45rem;                         /* taille header, adaptée footer — était 1.6rem */
    letter-spacing: 0.16em;                     /* aligné header — était 0.14em */
    line-height: 1.15;                          /* rendu propre sur 2 lignes (GROUPE / RINALTEZZA) */
    color: var(--text);
}

.footer-brand__desc {
    margin: 0 0 1.2rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 24ch;
}

.footer-brand__social {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.25s ease, opacity 0.25s ease;
}
.footer-brand__social:hover { color: var(--gold-soft); opacity: 0.85; }
.footer-brand__social svg { display: block; }

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

.footer-col h3 {
    margin-bottom: 1.1rem;
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: 0.01em;
}

.footer-address {
    margin: 0 0 1.1rem;
    color: var(--muted);
    line-height: 1.7;
}

.footer-reg {
    margin: 0 0 0.9rem;
    color: rgba(154, 154, 160, 0.65);
    font-size: 0.85rem;
    line-height: 1.75;
}

.lei-badge-official {
    margin-top: 1.6rem;
    display: inline-block;
    line-height: 0;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: rgba(7, 7, 8, 0.96);
    border-top: 1px solid rgba(201, 169, 106, 0.28);
    padding: 1rem 0.75rem;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner p {
    margin: 0;
    color: #c4c2bb;
    max-width: 760px;
    font-size: 0.95rem;
}

.cookie-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.cookie-banner .btn-outline,
.cookie-banner .btn-gold {
    min-width: auto;
    padding: 12px 24px;
}

.cookie-banner .btn-outline {
    border-color: rgba(255, 255, 255, 0.22);
}

.cookie-banner .btn-gold:hover {
    background: var(--gold);
}

/* Filet doré horizontal séparant le haut du footer de la barre de bas. */
.footer-rule {
    margin: 2.5rem 0 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;    /* empilé : liens puis copyright */
    align-items: center;       /* centré horizontalement */
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 0;
    border-top: 0;
    text-align: center;
}

.footer-copy {
    margin: 0;
    color: rgba(154, 154, 160, 0.7);
    font-size: 0.72rem;        /* mention légale = fine print */
    line-height: 1.5;          /* lisible sur plusieurs lignes */
    width: 100%;               /* pleine largeur du conteneur */
    text-align: center;        /* texte centré */
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;   /* liens centrés sur leur(s) rangée(s) */
    gap: 0.55rem;
    font-size: 0.82rem;
}

.footer-legal a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-legal a:hover {
    color: var(--gold-soft);
    opacity: 0.85;
}

.footer-legal .sep {
    color: rgba(201, 169, 106, 0.45);
}

.animate-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    .stats-grid,
    .flip-grid,
    .steps-grid,
    .team-grid,
    .reviews-grid,
    .badges-grid,
    .footer-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    /* En-tête sticky UNIQUEMENT sur mobile : le burger reste accessible au scroll */
    .topbar {
        position: sticky;
        top: 0;
        z-index: 30;
        backdrop-filter: blur(14px);
        background: rgba(7, 7, 8, 0.92);
    }
    .topbar-inner {
        flex-direction: row;
        align-items: center;
    }
    .nav-toggle {
        display: inline-flex;
    }
    /* Liens en panneau déroulant sous l'en-tête */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.4rem 0;
        background: #0b0b0c;
        border-bottom: 1px solid rgba(201, 169, 106, 0.25);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }
    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .nav-links a {
        width: 100%;
        padding: 0.95rem 1.25rem;
        font-size: 0.9rem;
        background-image: none; /* on retire l'animation de soulignement desktop */
    }
    .nav-links a:hover {
        color: var(--gold);
        background: rgba(201, 169, 106, 0.08);
    }
    /* Hero mobile : image entière en haut, texte juste dessous (pas de trou noir).
       Le padding-top réserve la hauteur exacte de l'image (1025/1600 = 64.06 %). */
    .hero {
        min-height: auto;
        display: block;
        background-size: 100% auto;
        background-position: top center;
        padding-top: 64.06%;
    }
    .hero-overlay {
        display: none;
    }
    .hero-content {
        position: static;
        bottom: auto;
        max-width: none;
        gap: 1.1rem;
        padding: 1.6rem 20px 2.4rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .stats-grid,
    .flip-grid,
    .steps-grid,
    .team-grid,
    .reviews-grid,
    .badges-grid,
    .footer-top,
    .footer-cols {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    /* .footer-bottom est déjà empilé/centré par la règle de base (idem mobile). */
    /* Marque empilée : le filet doré passe sous le bloc (au lieu d'à droite). */
    .footer-brand {
        border-right: 0;
        border-bottom: 1px solid rgba(201, 169, 106, 0.2);
        padding-right: 0;
        padding-bottom: 1.8rem;
    }
    .segment,
    .segment-reverse {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    .segment-reverse .segment-media,
    .segment-reverse .segment-body {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 580px) {
    .brand {
        justify-content: center;
        font-size: 1.2rem;
        gap: 0.7rem;
    }
    .brand-logo {
        width: 52px;
        height: 52px;
    }
    .topbar {
        padding: 0 0 0.5rem;
    }
    .hero-content {
        padding: 1.4rem 20px 2.2rem;
    }
    /* Horaires : chaque ligne reste sur une seule ligne (jour à gauche, horaires à droite) */
    .contact-hours__line {
        flex-wrap: nowrap;
        gap: 0.6rem;
        font-size: 0.82rem;
    }
    .contact-hours__line span:first-child {
        flex: 0 0 auto;
    }
    .contact-hours__line span:last-child {
        white-space: nowrap;
        text-align: right;
    }
    .section {
        padding: 70px 0;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
    .contact-offices,
    .contact-maps {
        grid-template-columns: 1fr;
    }
}

/* === Souvenirs : rangée de vignettes défilantes + popup album === */
.conf-souvenirs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.conf-souvenirs__track {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0 1rem;
    scrollbar-width: thin;
    cursor: grab;
}
.conf-souvenirs__track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.conf-souvenirs__track::-webkit-scrollbar { height: 6px; }
.conf-souvenirs__track::-webkit-scrollbar-thumb { background: rgba(201, 169, 106, 0.3); border-radius: 999px; }

.conf-souvenirs__arrow {
    position: static;
    flex: 0 0 auto;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: rgba(7, 7, 8, 0.85);
    border: 1px solid rgba(201, 169, 106, 0.4);
    color: var(--gold);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.conf-souvenirs__arrow:hover { background: rgba(201, 169, 106, 0.18); border-color: var(--gold); }
.conf-souvenirs__arrow[hidden] { display: none; }

.conf-tile {
    flex: 0 0 240px;
    width: 240px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 106, 0.22);
    border-radius: 14px;
    padding: 1.1rem 1.1rem 0;
    overflow: hidden;
    user-select: none;
}
.conf-tile--clickable {
    cursor: pointer;
    transition: border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.conf-tile--clickable:hover { border-color: rgba(201, 169, 106, 0.55); transform: translateY(-3px); }
.conf-tile__date { margin: 0; color: var(--gold); font-size: 0.8rem; letter-spacing: 0.02em; }
.conf-tile__title { margin: 0.25rem 0 0.2rem; font-size: 1.1rem; line-height: 1.2; }
.conf-tile__place { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.85rem; }
.conf-tile__media { margin: 0 -1.1rem; height: 150px; }
.conf-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.conf-tile__thanks {
    margin: 0 -1.1rem;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    background: rgba(201, 169, 106, 0.06);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gold);
    font-size: 0.95rem;
}

.souvenir-modal__dialog { width: min(900px, 100%); }
.souvenir-modal__date { margin: 0; color: var(--gold); font-size: 0.9rem; }
.souvenir-modal__place { margin: 0.2rem 0 1.2rem; color: var(--muted); font-size: 0.95rem; }
.souvenir-modal__text { margin: 0 0 1.6rem; color: var(--text); line-height: 1.8; }
.souvenir-modal__text[hidden] { display: none; }

.souvenir-modal__gallery { position: relative; margin: 0 0 1.8rem; }
.souvenir-modal__gallery[hidden] { display: none; }
.souvenir-modal__stage {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #0b0b0c;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.souvenir-modal__stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.souvenir-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: rgba(7, 7, 8, 0.7);
    border: 1px solid rgba(201, 169, 106, 0.4);
    color: var(--gold);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.souvenir-modal__nav:hover { background: rgba(201, 169, 106, 0.18); border-color: var(--gold); }
.souvenir-modal__nav[hidden] { display: none; }
.souvenir-modal__nav--prev { left: 0.6rem; }
.souvenir-modal__nav--next { right: 0.6rem; }
.souvenir-modal__counter { margin: 0.6rem 0 0; text-align: center; color: var(--muted); font-size: 0.8rem; }

.souvenir-modal__partners[hidden] { display: none; }
.souvenir-modal__partners-label { margin: 0 0 1rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.75rem; }
.souvenir-modal__partners-row { display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem; }
.souvenir-modal__partners-row img { height: 80px; width: auto; max-width: 200px; object-fit: contain; }

@media (max-width: 580px) {
    .conf-souvenirs__arrow { display: none; }
    .souvenir-modal__partners-row img { height: 56px; }
}

/* === Page Engagements & Partenariats === */
.engagements-hero { min-height: 56vh; }
.engagements-hero .hero-content { max-width: 820px; }

.engagements-intro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}
.engagements-block h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.6rem;
    margin: 0 0 0.9rem;
}
.engagements-block p {
    color: var(--muted);
    line-height: 1.9;
    margin: 0;
}

.engagements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.partnership-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 106, 0.22);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.partnership-card:hover { border-color: rgba(201, 169, 106, 0.55); transform: translateY(-4px); }

.partnership-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0b0b0c;
}
.partnership-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.partnership-card__body { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; }
.partnership-card__head { display: flex; align-items: center; gap: 0.9rem; }
.partnership-card__logo {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.partnership-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.partnership-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    line-height: 1.2;
    margin: 0;
}
.partnership-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
}
.partnership-card__category {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(201, 169, 106, 0.4);
    border-radius: 999px;
    padding: 0.18rem 0.7rem;
}
.partnership-card__year { color: var(--muted); font-size: 0.85rem; }
.partnership-card__desc { color: var(--muted); line-height: 1.7; font-size: 0.95rem; margin: 0; }

/* Resserre l'espacement entre les blocs institutionnels et « Initiatives soutenues » */
.engagements-intro-section { padding-bottom: 40px; }
.engagements-initiatives { padding-top: 56px; }

/* Hero engagements sur mobile : même correction que l'accueil, mais avec le ratio
   propre à l'image multisports (941/1672 = 56.28 %). Annule aussi le min-height
   desktop (56vh) qui ajoutait du vide. Placé après les styles .engagements-hero
   pour l'emporter sur le padding-top hérité de .hero. */
@media (max-width: 820px) {
    .engagements-hero {
        min-height: auto;
        padding-top: 56.28%;
    }
}

/* Contenu juridique (page mentions légales) — scopé .legal-doc, n'affecte que cette page */
.legal-doc {
    max-width: 820px;
}
.legal-doc__title {
    font-size: 1.3rem;
    color: var(--gold);
    margin: 2.6rem 0 0.8rem;
}
.legal-doc__title:first-child {
    margin-top: 0;
}
.legal-doc p {
    color: var(--muted);
    line-height: 1.8;
    margin: 0 0 1rem;
    font-size: 0.98rem;
}
.legal-doc ul {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
    color: var(--muted);
    line-height: 1.8;
    font-size: 0.98rem;
}
.legal-doc li {
    margin: 0 0 0.7rem;
}
.legal-doc li::marker {
    color: var(--gold);
}
.legal-doc a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-doc a:hover {
    color: var(--gold-soft);
}
.legal-doc__updated {
    margin-top: 2.6rem;
    font-size: 0.8rem;
    color: rgba(154, 154, 160, 0.6);
}

/* Pages d'erreur (404, 500, 403, 419, 503) — en-tête + footer du site */
.error-page {
    min-height: 58vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.1rem;
    padding: 6rem 0;
}
.error-page__code {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 11vw, 6.5rem);
    line-height: 1;
    color: var(--gold);
    letter-spacing: 0.02em;
}
.error-page__title {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
}
.error-page__text {
    margin: 0 0 1.4rem;
    max-width: 560px;
    color: var(--muted);
    line-height: 1.8;
}

/* Tableau du contenu juridique (ex. barème d'honoraires) — scopé .legal-doc */
.legal-doc table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.4rem 0 1.2rem;
    font-size: 0.95rem;
}
.legal-doc th,
.legal-doc td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(201, 169, 106, 0.2);
}
.legal-doc thead th {
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.02em;
    border-bottom-color: rgba(201, 169, 106, 0.45);
}
.legal-doc tbody td {
    color: var(--muted);
}
.legal-doc tbody tr:hover {
    background: rgba(201, 169, 106, 0.04);
}

/* Lien de retour discret (bas des pages juridiques) — scopé .legal-doc */
.legal-doc__back {
    margin: 2rem 0 0;
}
.legal-doc__back a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.legal-doc__back a:hover {
    color: var(--gold);
}

/* Consentement Google Maps : overlay tant que l'utilisateur n'a pas accepté */
.contact-map__consent {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    text-align: center;
    background: rgba(7, 7, 8, 0.92);
}
.contact-map__consent-text {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 320px;
}
.contact-map__consent-cta {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease;
}
.contact-map:hover .contact-map__consent-cta,
.contact-map:focus-visible .contact-map__consent-cta {
    background: var(--gold);
    color: #070708;
}
.contact-map.is-revealed .contact-map__consent {
    display: none;
}

/* Lien « Gérer les cookies » du footer (même sobriété que les liens légaux) */
.footer-legal__manage {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: inherit;
    font: inherit;
}
.footer-legal__manage:hover {
    color: var(--gold);
}

/* Tableau large (ex. politique des cookies, 5 colonnes) : défilement horizontal sur mobile */
.legal-doc__table-wrap {
    overflow-x: auto;
    margin: 0 0 1.2rem;
}
.legal-doc__table-wrap table {
    margin: 0;
    min-width: 640px;
}
