/* ==========================================================================
   Beautiful AFRIKA — style.css
   Design tokens · base · typographie · mise en page · composants globaux
   Approche mobile first : les adaptations d'écran sont dans responsive.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    /* Charte */
    --navy: #212D56;
    --offwhite: #FFFFFB;

    /* Nuances calculées à partir de la charte */
    --navy-950: #10152B;
    --navy-900: #161E3B;
    --navy-800: #1B2549;
    --navy-700: #2B3867;
    --navy-600: #3C4978;
    --navy-400: #7A83A3;
    --navy-200: #C8CCDA;
    --navy-100: #E3E5ED;
    --ivory: #F6F4EC;
    --ivory-deep: #EEEBE0;

    /* Rôles */
    --ink: var(--navy);
    --ink-muted: #585F7E;
    --line: rgba(33, 45, 86, .14);
    --line-strong: rgba(33, 45, 86, .32);
    --on-dark: var(--offwhite);
    --on-dark-muted: rgba(255, 255, 251, .74);
    --line-dark: rgba(255, 255, 251, .16);
    --line-dark-strong: rgba(255, 255, 251, .38);
    --focus-ring: var(--navy);
    --error: #A13A2F;

    /* Pastilles d'icônes */
    --badge-fill: rgba(33, 45, 86, .05);
    --badge-halo: rgba(33, 45, 86, .3);
    --badge-halo-soft: rgba(33, 45, 86, .1);
    --badge-glint: rgba(33, 45, 86, .26);

    /* Typographie */
    --font-serif: "Cormorant Garamond", "Cormorant", Garamond, "Hoefler Text", "Times New Roman", serif;
    --font-sans: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

    --fs-display: clamp(3.1rem, 1.75rem + 6.4vw, 8.5rem);
    --fs-h1: clamp(2.75rem, 1.85rem + 4.2vw, 6.25rem);
    --fs-h2: clamp(2.35rem, 1.65rem + 3.1vw, 4.75rem);
    --fs-h3: clamp(1.65rem, 1.35rem + 1.15vw, 2.4rem);
    --fs-h4: clamp(1.35rem, 1.2rem + .55vw, 1.7rem);
    --fs-lead: clamp(1.08rem, 1rem + .35vw, 1.3rem);
    --fs-body: clamp(1rem, .97rem + .12vw, 1.0625rem);
    --fs-sm: .9375rem;
    --fs-xs: .8125rem;
    --fs-eyebrow: .75rem;
    --tracking-caps: .2em;

    /* Espacements & gabarits */
    --gutter: clamp(1.25rem, .55rem + 3vw, 4rem);
    --container: 82.5rem;
    --container-wide: 100rem;
    --container-narrow: 50rem;
    --section-y: clamp(5rem, 3.2rem + 8vw, 10.5rem);
    --header-h: 4.5rem;

    /* Mouvement */
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-in-out: cubic-bezier(.76, 0, .24, 1);
    --t-fast: .25s;
    --t-base: .45s;
    --t-slow: .9s;

    /* Profondeur */
    --shadow-soft: 0 2.5rem 5rem -2.5rem rgba(16, 21, 43, .35);
    --z-menu: 45;
    --z-header: 50;
    --z-cursor: 90;
    --z-lightbox: 100;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-padding-top: calc(var(--header-h) + 1rem);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--offwhite);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html.is-menu-open,
html.is-lightbox-open {
    overflow: hidden;
}

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

img {
    height: auto;
}

svg.icon {
    display: inline-block;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

/* Spécificité nulle : les classes des composants gardent la main. */
:where(ul[class], ol[class]) {
    margin: 0;
    padding: 0;
    list-style: none;
}

p,
figure,
blockquote {
    margin: 0;
}

[hidden] {
    display: none !important;
}

::selection {
    background: var(--navy);
    color: var(--offwhite);
}

:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 3px;
}

[tabindex="-1"]:focus {
    outline: none;
}

/* --------------------------------------------------------------------------
   3. Typographie
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.01em;
    text-wrap: balance;
}

h3,
h4 {
    font-weight: 600;
    letter-spacing: 0;
}

h1 em,
h2 em,
h3 em,
.site-footer__statement em {
    font-style: italic;
    font-weight: 500;
}

p {
    text-wrap: pretty;
}

.section-title {
    font-size: var(--fs-h2);
    line-height: 1.02;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.35rem;
    font-family: var(--font-sans);
    font-size: var(--fs-eyebrow);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    flex: none;
    width: 2.25rem;
    height: 1px;
    background: currentColor;
    opacity: .55;
}

.section-intro,
.lead {
    max-width: 36rem;
    color: var(--ink-muted);
    font-size: var(--fs-lead);
    line-height: 1.65;
}

.text-muted {
    color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   4. Mise en page
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--wide {
    max-width: calc(var(--container-wide) + var(--gutter) * 2);
}

.container--narrow {
    max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}

.section {
    position: relative;
    padding-block: var(--section-y);
}

.section--tight {
    padding-block: calc(var(--section-y) * .6);
}

.section--ivory {
    background: var(--ivory);
}

.section--navy,
.steps-band {
    --ink-muted: var(--on-dark-muted);
    --line: var(--line-dark);
    --line-strong: var(--line-dark-strong);
    --focus-ring: var(--offwhite);
    --badge-fill: rgba(255, 255, 251, .07);
    --badge-halo: rgba(255, 255, 251, .42);
    --badge-halo-soft: rgba(255, 255, 251, .14);
    --badge-glint: rgba(255, 255, 251, .45);
    background: var(--navy);
    color: var(--on-dark);
}

.section__motif,
.page-hero__motif,
.mobile-menu__motif,
.site-footer__motif {
    position: absolute;
    inset: 0;
    background: url("../images/logo/motif-monogramme.svg") 0 0 / 96px 96px repeat;
    opacity: .025;
    pointer-events: none;
}

.section__motif {
    -webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 55%);
    mask-image: linear-gradient(115deg, #000 0%, transparent 55%);
}

.section > .container,
.steps-band > .container {
    position: relative;
}

/* En-tête de section */
.section-head {
    display: grid;
    gap: 1.5rem;
    margin-bottom: clamp(2.75rem, 1.8rem + 3.5vw, 5rem);
}

.section-head__aside {
    display: grid;
    gap: 1.6rem;
    align-content: end;
    justify-items: start;
}

.section-head--center {
    justify-items: center;
    text-align: center;
}

.section-head--center .section-head__aside {
    justify-items: center;
}

.section-head--center .section-intro {
    margin-inline: auto;
}

/* --------------------------------------------------------------------------
   5. Utilitaires
   -------------------------------------------------------------------------- */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: .75rem;
    left: .75rem;
    z-index: 200;
    padding: .85rem 1.25rem;
    background: var(--navy);
    color: var(--offwhite);
    font-size: var(--fs-sm);
    font-weight: 500;
    transform: translateY(-180%);
    transition: transform var(--t-fast) var(--ease-out);
}

.skip-link:focus {
    transform: none;
    --focus-ring: var(--offwhite);
}

.stretched-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.media-frame {
    position: relative;
    overflow: hidden;
    background: var(--ivory-deep);
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-frame--arch {
    border-radius: 999px 999px 0 0;
}

.media-caption {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: var(--fs-xs);
    letter-spacing: .06em;
}

.media-caption .icon {
    width: .95rem;
    height: .95rem;
}

/* --------------------------------------------------------------------------
   6. Icônes
   -------------------------------------------------------------------------- */
.icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

/* --------------------------------------------------------------------------
   7. Boutons & liens
   -------------------------------------------------------------------------- */
.btn {
    --btn-bg: transparent;
    --btn-fg: var(--navy);
    --btn-border: var(--line-strong);
    --btn-hover-bg: var(--navy);
    --btn-hover-fg: var(--offwhite);
    --btn-hover-border: var(--navy);

    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .85rem;
    min-height: 3.25rem;
    padding: .95rem 1.7rem;
    overflow: hidden;
    border: 1px solid var(--btn-border);
    border-radius: 0;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-sans);
    font-size: .8125rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .14em;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: color var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--btn-hover-bg);
    transform: scaleY(0);
    transform-origin: 50% 100%;
    transition: transform var(--t-base) var(--ease-out);
}

.btn__icon {
    width: 1.05rem;
    height: 1.05rem;
    stroke-width: 1.6;
    transition: transform var(--t-base) var(--ease-out);
}

.btn:focus-visible {
    color: var(--btn-hover-fg);
    border-color: var(--btn-hover-border);
}

.btn:focus-visible::before {
    transform: scaleY(1);
}

@media (hover: hover) {
    .btn:hover {
        color: var(--btn-hover-fg);
        border-color: var(--btn-hover-border);
    }

    .btn:hover::before {
        transform: scaleY(1);
    }

    .btn:hover .btn__icon {
        transform: translateX(4px);
    }

    .btn:hover .btn__icon--diagonal {
        transform: translate(3px, -3px);
    }
}

.btn--primary {
    --btn-bg: var(--navy);
    --btn-fg: var(--offwhite);
    --btn-border: var(--navy);
    --btn-hover-bg: var(--navy-900);
    --btn-hover-border: var(--navy-900);
}

.btn--light {
    --btn-bg: var(--offwhite);
    --btn-fg: var(--navy);
    --btn-border: var(--offwhite);
    --btn-hover-bg: var(--navy);
    --btn-hover-fg: var(--offwhite);
    --btn-hover-border: var(--offwhite);
}

.btn--outline-light {
    --btn-fg: var(--offwhite);
    --btn-border: rgba(255, 255, 251, .5);
    --btn-hover-bg: var(--offwhite);
    --btn-hover-fg: var(--navy);
    --btn-hover-border: var(--offwhite);
}

.btn--sm {
    min-height: 2.75rem;
    padding: .7rem 1.15rem;
    gap: .6rem;
    font-size: .75rem;
}

.btn--lg {
    min-height: 3.75rem;
    padding: 1.1rem 2.2rem;
}

.btn--block {
    width: 100%;
}

.btn[disabled],
.btn.is-loading {
    pointer-events: none;
}

.btn.is-loading .btn__icon {
    animation: ba-spin 1s linear infinite;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding-block: .45rem;
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
    font-size: .8125rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: background-size var(--t-base) var(--ease-out);
}

.link-arrow .icon {
    width: 1rem;
    height: 1rem;
    stroke-width: 1.6;
    transition: transform var(--t-base) var(--ease-out);
}

@media (hover: hover) {
    .link-arrow:hover {
        background-position: 100% 100%;
        background-size: 0 1px;
    }

    .link-arrow:hover .icon {
        transform: translateX(5px);
    }
}

.link-arrow--light {
    color: var(--offwhite);
}

/* --------------------------------------------------------------------------
   8. En-tête
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: var(--z-header);
    color: var(--offwhite);
    transition: color var(--t-base) var(--ease-out), transform .6s var(--ease-out);
    view-transition-name: site-header;
}

.site-header::before,
.site-header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: opacity var(--t-base) var(--ease-out);
}

/* Voile de lisibilité au-dessus des photos */
.site-header::after {
    bottom: -2.5rem;
    background: linear-gradient(to bottom, rgba(16, 21, 43, .42), rgba(16, 21, 43, 0));
}

/* Fond solide après défilement */
.site-header::before {
    background: rgba(255, 255, 251, .94);
    box-shadow: 0 1px 0 var(--line);
    opacity: 0;
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
}

.site-header__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: calc(var(--container-wide) + var(--gutter) * 2);
    height: var(--header-h);
    margin-inline: auto;
    padding-inline: var(--gutter);
    transition: height var(--t-base) var(--ease-out);
}

.site-header__brand {
    position: relative;
    flex: none;
    display: block;
    height: 2.25rem;
}

/* Logo en ligne : suit la couleur de l'en-tête (blanc cassé puis marine) */
.brand-mark {
    display: block;
    width: auto;
    height: 100%;
    overflow: visible;
    fill: currentColor;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-header__cta {
    --btn-fg: currentColor;
    --btn-border: rgba(255, 255, 251, .5);
    --btn-hover-bg: var(--offwhite);
    --btn-hover-fg: var(--navy);
    --btn-hover-border: var(--offwhite);
    display: none;
}

.site-header.is-scrolled {
    color: var(--navy);
}

.site-header.is-scrolled::before {
    opacity: 1;
}

.site-header.is-scrolled::after {
    opacity: 0;
}

.site-header.is-scrolled .site-header__cta {
    --btn-border: var(--line-strong);
    --btn-hover-bg: var(--navy);
    --btn-hover-fg: var(--offwhite);
    --btn-hover-border: var(--navy);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header:focus-within {
    transform: none;
}

.site-header.is-menu-open {
    color: var(--offwhite);
    transform: none;
}

.site-header.is-menu-open::before,
.site-header.is-menu-open::after {
    opacity: 0;
}

.no-js .site-header {
    position: absolute;
}

/* Navigation desktop */
.nav {
    display: none;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 1.5vw, 2.1rem);
}

.nav__link {
    position: relative;
    display: inline-block;
    padding-block: .55rem;
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav__link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: .2rem;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: 100% 50%;
    transition: transform var(--t-base) var(--ease-out);
}

.nav__link[aria-current="page"]::after {
    transform: scaleX(1);
}

@media (hover: hover) {
    .nav__link:hover::after {
        transform: scaleX(1);
        transform-origin: 0 50%;
    }
}

/* Bouton menu */
.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: .5rem 0 .5rem .5rem;
    border: 0;
    background: none;
    color: inherit;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    cursor: pointer;
}

.menu-toggle__bars {
    position: relative;
    display: block;
    width: 1.75rem;
    height: .75rem;
}

.menu-toggle__bars span {
    position: absolute;
    right: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: top var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), width var(--t-base) var(--ease-out);
}

.menu-toggle__bars span:first-child {
    top: 0;
}

.menu-toggle__bars span:last-child {
    top: calc(100% - 1.5px);
    width: 68%;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span {
    top: calc(50% - .75px);
    width: 100%;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child {
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child {
    transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   9. Menu mobile
   -------------------------------------------------------------------------- */
.mobile-menu {
    --ink-muted: var(--on-dark-muted);
    --line: var(--line-dark);
    --line-strong: var(--line-dark-strong);
    --focus-ring: var(--offwhite);

    position: fixed;
    inset: 0;
    z-index: var(--z-menu);
    display: flex;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--navy);
    color: var(--on-dark);
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .8s var(--ease-in-out), visibility 0s linear .8s;
}

.mobile-menu.is-open {
    visibility: visible;
    clip-path: inset(0 0 0 0);
    transition: clip-path .8s var(--ease-in-out), visibility 0s linear 0s;
}

.mobile-menu__motif {
    opacity: .03;
}

.mobile-menu__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.25rem;
    width: 100%;
    min-height: 100%;
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
}

.mobile-menu__item {
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.mobile-menu__link {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding-block: .6rem;
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.75rem);
    font-weight: 500;
    line-height: 1.12;
    opacity: 0;
    transform: translateY(100%);
    transition: transform .7s var(--ease-out), opacity .7s var(--ease-out);
}

.mobile-menu.is-open .mobile-menu__link {
    opacity: 1;
    transform: none;
    transition-delay: calc(.28s + var(--i, 0) * .05s);
}

.mobile-menu__num {
    min-width: 1.5rem;
    font-family: var(--font-sans);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .12em;
    opacity: .55;
}

.mobile-menu__link[aria-current="page"] .mobile-menu__label {
    font-style: italic;
}

.mobile-menu__link[aria-current="page"]::after {
    content: "";
    align-self: center;
    width: 2rem;
    height: 1px;
    margin-left: auto;
    background: currentColor;
}

.mobile-menu__footer {
    display: grid;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

.mobile-menu.is-open .mobile-menu__footer {
    opacity: 1;
    transform: none;
    transition-delay: .65s;
}

.mobile-menu__cta {
    justify-self: stretch;
}

.mobile-menu__contact {
    display: grid;
    gap: .6rem;
    color: var(--on-dark-muted);
    font-size: var(--fs-sm);
}

.mobile-menu__contact li {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.mobile-menu__contact .icon {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--offwhite);
}

/* --------------------------------------------------------------------------
   10. Réseaux sociaux
   -------------------------------------------------------------------------- */
.social-list {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.social-list__link {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: inherit;
    transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-base) var(--ease-out);
}

.social-list__link .icon {
    width: 1.15rem;
    height: 1.15rem;
}

.social-list__link.is-placeholder {
    opacity: .5;
    cursor: default;
}

@media (hover: hover) {
    a.social-list__link:hover {
        border-color: var(--navy);
        background: var(--navy);
        color: var(--offwhite);
        transform: translateY(-2px);
    }

    .social-list--light a.social-list__link:hover {
        border-color: var(--offwhite);
        background: var(--offwhite);
        color: var(--navy);
    }
}

/* --------------------------------------------------------------------------
   11. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
    --ink-muted: var(--on-dark-muted);
    --line: var(--line-dark);
    --line-strong: var(--line-dark-strong);
    --focus-ring: var(--offwhite);
    --badge-fill: rgba(255, 255, 251, .07);
    --badge-halo: rgba(255, 255, 251, .42);
    --badge-halo-soft: rgba(255, 255, 251, .14);
    --badge-glint: rgba(255, 255, 251, .45);

    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 3rem + 6vw, 8rem) 0 max(2rem, env(safe-area-inset-bottom));
    background: var(--navy-900);
    color: var(--on-dark);
}

.site-footer__motif {
    opacity: .03;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%);
    mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.site-footer .container {
    position: relative;
}

.site-footer__top {
    display: grid;
    gap: 2rem;
    align-items: end;
    justify-items: start;
    padding-bottom: clamp(3rem, 2rem + 4vw, 5rem);
    border-bottom: 1px solid var(--line);
}

.site-footer__statement {
    max-width: 22ch;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 1.4rem + 2.8vw, 3.9rem);
    font-weight: 500;
    line-height: 1.08;
    text-wrap: balance;
}

.site-footer__statement em {
    color: var(--on-dark-muted);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2rem;
    padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}

.site-footer__brand {
    display: grid;
    grid-column: 1 / -1;
    gap: 1.5rem;
    align-content: start;
    max-width: 24rem;
}

.site-footer__logo-link {
    justify-self: start;
}

.site-footer__logo {
    width: 10.5rem;
    height: auto;
}

.site-footer__desc {
    color: var(--on-dark-muted);
    font-size: var(--fs-sm);
}

.site-footer__title {
    margin-bottom: 1.25rem;
    color: var(--on-dark-muted);
    font-family: var(--font-sans);
    font-size: var(--fs-eyebrow);
    font-weight: 500;
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
}

.site-footer__list {
    display: grid;
    gap: .75rem;
}

.site-footer__link {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size var(--t-base) var(--ease-out);
}

@media (hover: hover) {
    .site-footer__link:hover {
        background-size: 100% 1px;
    }
}

.site-footer__col:last-child {
    grid-column: 1 / -1;
}

.site-footer__contact {
    display: grid;
    gap: 1rem;
    font-size: var(--fs-sm);
}

.site-footer__contact-item {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    gap: .85rem;
    align-items: start;
    color: var(--on-dark-muted);
    overflow-wrap: anywhere;
}

.site-footer__contact-item .icon {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .25em;
    color: var(--offwhite);
}

.site-footer__contact-item a {
    color: var(--offwhite);
}

.site-footer__contact-values {
    display: grid;
    gap: .2rem;
    justify-items: start;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    color: var(--on-dark-muted);
    font-size: var(--fs-xs);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
}

.site-footer__legal a {
    color: var(--offwhite);
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--offwhite);
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.back-to-top .icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: .65rem;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    transition: transform var(--t-base) var(--ease-out), background-color var(--t-fast), color var(--t-fast);
}

@media (hover: hover) {
    .back-to-top:hover .icon {
        background: var(--offwhite);
        color: var(--navy);
        transform: translateY(-3px);
    }
}

/* --------------------------------------------------------------------------
   12. Formulaires
   -------------------------------------------------------------------------- */
.field {
    display: grid;
    gap: .5rem;
    align-content: start;
}

.field__label,
.choice-group__legend {
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.field__required {
    margin-left: .15rem;
}

.field__optional {
    color: var(--ink-muted);
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: none;
}

.field__input,
.field__textarea {
    width: 100%;
    min-height: 3.25rem;
    padding: .85rem .1rem;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.5;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}

.field__textarea {
    min-height: 10rem;
    resize: vertical;
}

.field__input::placeholder,
.field__textarea::placeholder {
    color: rgba(33, 45, 86, .42);
}

.field__input:hover,
.field__textarea:hover {
    border-bottom-color: var(--navy);
}

.field__input:focus,
.field__textarea:focus {
    outline: none;
    border-bottom-color: var(--navy);
    background: rgba(33, 45, 86, .035);
    box-shadow: 0 1px 0 0 var(--navy);
}

.field__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    min-height: 1.25rem;
}

.field__error {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--error);
    font-size: var(--fs-xs);
    line-height: 1.4;
}

.field__error .icon {
    width: 1rem;
    height: 1rem;
}

.field__counter {
    margin-left: auto;
    color: var(--ink-muted);
    font-size: var(--fs-xs);
    font-variant-numeric: tabular-nums;
}

.has-error .field__input,
.has-error .field__textarea {
    border-bottom-color: var(--error);
    box-shadow: 0 1px 0 0 var(--error);
}

/* Choix du type de demande */
.choice-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.choice-group__legend {
    margin-bottom: .95rem;
    padding: 0;
}

.choice-group__options {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.choice {
    position: relative;
}

.choice__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.choice__label {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 2.9rem;
    padding: .6rem 1.15rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: var(--fs-sm);
    line-height: 1.2;
    cursor: pointer;
    transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.choice__label .icon {
    width: 1.1rem;
    height: 1.1rem;
}

.choice__label:hover {
    border-color: var(--navy);
}

.choice__input:checked + .choice__label {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--offwhite);
}

.choice__input:focus-visible + .choice__label {
    outline: 2px solid var(--navy);
    outline-offset: 3px;
}

.has-error .choice__label {
    border-color: rgba(161, 58, 47, .55);
}

/* Case à cocher */
.checkbox {
    display: grid;
    grid-template-columns: 1.3rem minmax(0, 1fr);
    gap: .9rem;
    align-items: start;
    color: var(--ink-muted);
    font-size: var(--fs-sm);
    line-height: 1.55;
    cursor: pointer;
}

.checkbox__input {
    display: grid;
    place-items: center;
    width: 1.3rem;
    height: 1.3rem;
    margin: .1rem 0 0;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: var(--offwhite);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color var(--t-fast), border-color var(--t-fast);
}

.checkbox__input::before {
    content: "";
    width: .72rem;
    height: .72rem;
    background: var(--offwhite);
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
    transform: scale(0);
    transition: transform var(--t-fast) var(--ease-out);
}

.checkbox__input:checked {
    border-color: var(--navy);
    background: var(--navy);
}

.checkbox__input:checked::before {
    transform: scale(1);
}

.checkbox a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

.has-error .checkbox__input {
    border-color: var(--error);
}

/* Messages */
.form-status {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
    border-left: 2px solid currentColor;
    font-size: var(--fs-sm);
    line-height: 1.55;
}

.form-status .icon {
    width: 1.35rem;
    height: 1.35rem;
    margin-top: .05rem;
}

.form-status.is-success {
    background: rgba(33, 45, 86, .06);
    color: var(--navy);
}

.form-status.is-error {
    background: rgba(161, 58, 47, .07);
    color: var(--error);
}

.form-status strong {
    display: block;
    font-weight: 500;
}

/* Champ piège anti-robots */
.form__hp {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Filtres (galerie, destinations) */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.filters__btn {
    min-height: 2.75rem;
    padding: .6rem 1.15rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.filters__btn:hover {
    border-color: var(--navy);
}

.filters__btn[aria-pressed="true"] {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--offwhite);
}

/* --------------------------------------------------------------------------
   13. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
    --focus-ring: var(--offwhite);
    --line-strong: var(--line-dark-strong);
    --badge-halo: rgba(255, 255, 251, .42);
    --badge-halo-soft: rgba(255, 255, 251, .14);

    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(16, 21, 43, .97);
    color: var(--offwhite);
}

.lightbox::backdrop {
    background: rgba(16, 21, 43, .6);
}

.lightbox[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.lightbox__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: max(.9rem, env(safe-area-inset-top)) var(--gutter) .9rem;
}

.lightbox__counter {
    font-size: var(--fs-xs);
    font-variant-numeric: tabular-nums;
    letter-spacing: .16em;
}

.lightbox__stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    padding-inline: var(--gutter);
    touch-action: pan-y;
}

.lightbox__figure {
    display: grid;
    gap: 1rem;
    justify-items: center;
    max-height: 100%;
}

.lightbox__img {
    width: auto;
    max-width: min(100%, 90rem);
    height: auto;
    max-height: calc(100svh - 12rem);
    object-fit: contain;
    transition: opacity .35s var(--ease-out), transform .5s var(--ease-out);
}

.lightbox__img.is-loading {
    opacity: 0;
    transform: scale(.985);
}

.lightbox__caption {
    max-width: 42rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.35;
    text-align: center;
}

.lightbox__controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: .9rem var(--gutter) max(1.25rem, env(safe-area-inset-bottom));
}

.lightbox__btn {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: background-color var(--t-fast), color var(--t-fast);
}

.lightbox__btn .icon {
    width: 1.25rem;
    height: 1.25rem;
}

@media (hover: hover) {
    .lightbox__btn:hover {
        background: var(--offwhite);
        color: var(--navy);
    }
}

/* --------------------------------------------------------------------------
   14. Indicateur « en direct »
   -------------------------------------------------------------------------- */
.live-dot {
    position: relative;
    display: inline-block;
    flex: none;
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: currentColor;
}

.live-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: currentColor;
    opacity: 0;
}

/* --------------------------------------------------------------------------
   15. Ombre qui accompagne la souris (créée par animations.js)
   Ombre marine sur fond clair, lueur ivoire sur fond sombre ou photo.
   -------------------------------------------------------------------------- */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-cursor);
    pointer-events: none;
    opacity: 0;
    transition: opacity .6s var(--ease-out);
}

.cursor.is-visible {
    opacity: 1;
}

.cursor__glow,
.cursor__follower {
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}

/* Lueur ambiante */
.cursor__glow {
    transition: opacity .6s var(--ease-out);
}

.cursor__glow::before,
.cursor__glow::after {
    content: "";
    position: absolute;
    top: -17rem;
    left: -17rem;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    transition: opacity .7s var(--ease-out);
}

/* Fond clair : ombre ivoire chaude, à peine teintée de marine */
.cursor__glow::before {
    background:
        radial-gradient(circle closest-side, rgba(33, 45, 86, .035) 0%, rgba(33, 45, 86, .018) 30%, rgba(33, 45, 86, 0) 62%),
        radial-gradient(circle closest-side, rgba(214, 206, 182, .3) 0%, rgba(214, 206, 182, .19) 26%, rgba(214, 206, 182, .08) 54%, rgba(214, 206, 182, .02) 80%, rgba(214, 206, 182, 0) 100%);
}

/* Fond sombre : halo de lumière ivoire */
.cursor__glow::after {
    background: radial-gradient(circle closest-side, rgba(255, 255, 251, .15) 0%, rgba(255, 255, 251, .1) 22%, rgba(255, 255, 251, .05) 48%, rgba(255, 255, 251, .018) 74%, rgba(255, 255, 251, 0) 100%);
    opacity: 0;
}

.cursor.is-dark .cursor__glow::before {
    opacity: 0;
}

.cursor.is-dark .cursor__glow::after {
    opacity: 1;
}

/* Ombre élastique (rotation et étirement appliqués par le script) */
.cursor__shadow {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 3rem;
    height: 3rem;
    transition: opacity .35s var(--ease-out);
}

.cursor__disc,
.cursor__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.cursor__disc {
    transition: transform .6s var(--ease-out), opacity .45s var(--ease-out);
}

.cursor__disc::before,
.cursor__disc::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transition: opacity .45s var(--ease-out);
}

.cursor__disc::before {
    background: radial-gradient(circle closest-side, rgba(33, 45, 86, .24) 0%, rgba(33, 45, 86, .15) 38%, rgba(33, 45, 86, .05) 72%, rgba(33, 45, 86, 0) 100%);
}

.cursor__disc::after {
    background: radial-gradient(circle closest-side, rgba(255, 255, 251, .36) 0%, rgba(255, 255, 251, .22) 38%, rgba(255, 255, 251, .07) 72%, rgba(255, 255, 251, 0) 100%);
    opacity: 0;
}

.cursor.is-dark .cursor__disc::before {
    opacity: 0;
}

.cursor.is-dark .cursor__disc::after {
    opacity: 1;
}

.cursor__ring {
    border: 1px solid rgba(33, 45, 86, .5);
    opacity: 0;
    transform: scale(.5);
    transition: transform .6s var(--ease-out), opacity .4s var(--ease-out), border-color .45s var(--ease-out);
}

.cursor.is-dark .cursor__ring {
    border-color: rgba(255, 255, 251, .75);
}

/* Éléments cliquables : l'ombre s'ouvre en anneau */
.cursor.is-hover .cursor__disc {
    opacity: .45;
    transform: scale(1.8);
}

.cursor.is-hover .cursor__ring {
    opacity: 1;
    transform: scale(1.3);
}

/* Clic */
.cursor.is-press .cursor__disc {
    transform: scale(.7);
}

.cursor.is-hover.is-press .cursor__disc {
    transform: scale(1.35);
}

.cursor.is-hover.is-press .cursor__ring {
    transform: scale(1.05);
}

/* Champs de saisie : l'effet s'efface pour ne pas gêner la lecture */
.cursor.is-text .cursor__disc {
    opacity: .5;
    transform: scale(.35);
}

.cursor.is-text .cursor__glow {
    opacity: .3;
}

/* Libellé contextuel « Voir », « Découvrir »… */
.cursor__bubble {
    position: absolute;
    top: -2.75rem;
    left: -2.75rem;
    display: grid;
    place-items: center;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    background: var(--offwhite);
    color: var(--navy);
    box-shadow: 0 1.25rem 2.5rem -1rem rgba(8, 11, 24, .5);
    opacity: 0;
    transform: scale(.3);
    transition: opacity .35s var(--ease-out), transform .6s var(--ease-out), background-color .45s var(--ease-out), color .45s var(--ease-out);
}

.cursor:not(.is-dark) .cursor__bubble {
    background: var(--navy);
    color: var(--offwhite);
}

.cursor__label {
    font-size: .64rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.cursor.is-label .cursor__shadow {
    opacity: 0;
}

.cursor.is-label .cursor__bubble {
    opacity: 1;
    transform: none;
}

.cursor.is-label .cursor__glow {
    opacity: .6;
}

@media (forced-colors: active), (prefers-reduced-motion: reduce), print {
    .cursor {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   16. Bouton WhatsApp flottant (apparaît après le premier écran, main.js)
   Couleurs de la marque WhatsApp : vert #25D366, vert profond #128C7E au survol.
   -------------------------------------------------------------------------- */
.whatsapp-fab {
    --whatsapp: #25D366;
    --whatsapp-deep: #128C7E;
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: calc(var(--z-menu) - 1);
    display: inline-flex;
    align-items: center;
    height: 3.5rem;
    min-width: 3.5rem;
    padding-inline: 1.025rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: var(--whatsapp);
    color: #FFFFFF;
    box-shadow: 0 1.25rem 2.5rem -1rem rgba(16, 21, 43, .55), 0 .5rem 1.25rem -.5rem rgba(37, 211, 102, .55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1.25rem) scale(.9);
    transition:
        opacity .5s var(--ease-out),
        transform .7s var(--ease-out),
        visibility 0s linear .7s,
        background-color var(--t-base) var(--ease-out),
        border-color var(--t-base) var(--ease-out);
}

.whatsapp-fab.is-visible,
.no-js .whatsapp-fab {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

.whatsapp-fab__icon {
    flex: none;
    width: 1.45rem;
    height: 1.45rem;
    stroke-width: 1.6;
}

.whatsapp-fab__label {
    max-width: 0;
    overflow: hidden;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transition: max-width .6s var(--ease-out), margin .6s var(--ease-out), opacity .4s var(--ease-out);
}

/* Onde verte, visible sur fond clair comme sur fond marine */
.whatsapp-fab__ring {
    position: absolute;
    inset: -1px;
    border: 2px solid rgba(37, 211, 102, .8);
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
}

.whatsapp-fab.is-visible .whatsapp-fab__ring {
    animation: ba-fab-pulse 3.6s var(--ease-out) 1s infinite;
}

@keyframes ba-fab-pulse {
    0% {
        opacity: .8;
        transform: scale(1);
    }

    55%,
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@media (hover: hover) {
    .whatsapp-fab:hover {
        border-color: rgba(255, 255, 255, .45);
        background: var(--whatsapp-deep);
    }

    .whatsapp-fab:hover .whatsapp-fab__label {
        max-width: 16rem;
        margin-left: .75rem;
        opacity: 1;
    }
}

.whatsapp-fab:focus-visible .whatsapp-fab__label {
    max-width: 16rem;
    margin-left: .75rem;
    opacity: 1;
}

.whatsapp-fab:focus-visible {
    outline: 2px solid var(--whatsapp-deep);
    outline-offset: 3px;
    background: var(--whatsapp-deep);
    box-shadow: 0 0 0 3px #FFFFFF, 0 1.25rem 2.5rem -1rem rgba(16, 21, 43, .55);
}

/* Le dernier rang du pied de page reste lisible à côté du bouton */
.site-footer__bottom {
    padding-right: 4.5rem;
}

@media (prefers-reduced-motion: reduce), print {
    .whatsapp-fab__ring {
        display: none;
    }
}

@media print {
    .whatsapp-fab {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   17. Vagues légères entre les sections
   Trois lignes fines en haut de chaque section, dans la couleur de son texte
   (marine sur fond clair, ivoire sur fond sombre). Dérive lente : animations.css.
   -------------------------------------------------------------------------- */
@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
    main > section + section::before,
    .steps-band::before,
    .site-footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 3.5rem;
        background-color: currentColor;
        opacity: .16;
        pointer-events: none;
        -webkit-mask-image: url("../images/motifs/vagues.svg"), linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
        mask-image: url("../images/motifs/vagues.svg"), linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
        -webkit-mask-position: 0 0, 0 0;
        mask-position: 0 0, 0 0;
        -webkit-mask-size: 15rem 100%, 100% 100%;
        mask-size: 15rem 100%, 100% 100%;
        -webkit-mask-repeat: repeat-x, no-repeat;
        mask-repeat: repeat-x, no-repeat;
        -webkit-mask-composite: source-in;
        mask-composite: intersect;
    }

    .section--navy::before,
    .steps-band::before,
    .site-footer::before,
    main > .cta::before {
        opacity: .22;
    }
}

/* --------------------------------------------------------------------------
   18. Protection du contenu (config.php → protection, protection.js)
   -------------------------------------------------------------------------- */
html[data-protect] img,
html[data-protect] video {
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Voile affiché le temps d'une capture d'écran */
html.is-shielded body > * {
    visibility: hidden !important;
}

html.is-shielded body::after {
    content: attr(data-shield-text);
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: grid;
    place-items: center;
    padding: var(--gutter);
    background: var(--navy);
    color: var(--offwhite);
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    font-style: italic;
    text-align: center;
}

@media print {
    html[data-protect] body > * {
        display: none !important;
    }

    html[data-protect] body::after {
        content: attr(data-print-text);
        display: block;
        padding: 3rem;
        font: italic 18pt/1.5 Georgia, serif;
    }
}

/* ==========================================================================
   19. Sélecteur de langue (FR / EN)
   ========================================================================== */
.lang-switch {
    display: flex;
    align-items: center;
    font-family: var(--font-sans);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .14em;
    line-height: 1;
}

.lang-switch__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0 .45rem;
    color: inherit;
    text-decoration: none;
    opacity: .62;
    transition: opacity .3s var(--ease-out);
}

.lang-switch__link + .lang-switch__link::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: .8em;
    background: currentColor;
    opacity: .4;
    transform: translateY(-50%);
}

.lang-switch__link::after {
    content: "";
    position: absolute;
    right: .45rem;
    bottom: .45rem;
    left: .45rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease-out);
}

.lang-switch__link:hover,
.lang-switch__link:focus-visible,
.lang-switch__link[aria-current="true"] {
    opacity: 1;
}

.lang-switch__link:hover::after,
.lang-switch__link[aria-current="true"]::after {
    transform: scaleX(1);
}

/* Dans le menu plein écran : plus grand, aligné à gauche */
.lang-switch--menu {
    justify-self: start;
    margin-left: -.45rem;
    color: var(--offwhite);
    font-size: .85rem;
}

/* --------------------------------------------------------------------------
   20. Pastilles d'icônes
   Fond teinté, anneau d'accompagnement et halo au survol, sur la géométrie
   des pastilles déjà en place. Les teintes suivent le contexte grâce aux
   variables --badge-* (marine sur fond clair, ivoire sur fond marine).
   Le mouvement est décrit dans animations.css (section 7).
   -------------------------------------------------------------------------- */
.service-card__icon,
.advantage__icon,
.feature__icon,
.contact-info__icon,
.logistics-item__icon,
.timeline__marker,
.event-card__icon,
.social-list__link {
    position: relative;
    isolation: isolate;
}

/* Fond très léger sous les pastilles au trait */
.service-card__icon,
.advantage__icon,
.feature__icon,
.contact-info__icon {
    background: var(--badge-fill);
}

/* Anneau d'accompagnement : invisible au repos, il s'écarte au survol
   et se propage à l'apparition (animations.css) */
.service-card__icon::before,
.advantage__icon::before,
.feature__icon::before,
.contact-info__icon::before,
.logistics-item__icon::before,
.timeline__marker::before,
.event-card__icon::before,
.social-list__link::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border: 1px solid var(--badge-halo);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity var(--t-base) var(--ease-out),
        transform var(--t-base) var(--ease-out),
        box-shadow var(--t-base) var(--ease-out);
}

/* L'icône elle-même accompagne le survol */
.service-card__icon .icon,
.advantage__icon .icon,
.feature__icon .icon,
.contact-info__icon .icon,
.logistics-item__icon .icon,
.timeline__marker .icon,
.event-card__icon .icon,
.social-list__link .icon {
    transition: transform var(--t-base) var(--ease-out);
}

@media (hover: hover) {
    .service-card:hover .service-card__icon::before,
    .advantage:hover .advantage__icon::before,
    .feature:hover .feature__icon::before,
    .logistics-item:hover .logistics-item__icon::before,
    .contact-info__item:hover .contact-info__icon::before,
    .event-card:hover .event-card__icon::before,
    a.social-list__link:hover::before {
        opacity: 1;
        box-shadow: 0 0 0 .5rem var(--badge-halo-soft);
        transform: scale(1.2);
    }
}

/* Pastille des icônes isolées du pied de page */
.site-footer__contact-item {
    grid-template-columns: 2.35rem minmax(0, 1fr);
}

.site-footer__contact-item .icon {
    box-sizing: border-box;
    width: 2.35rem;
    height: 2.35rem;
    margin-top: -.15rem;
    padding: .6rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--badge-fill);
}

/* Commandes rondes : visionneuse, carrousel, diaporama, galerie, retour en haut.
   Même anneau que les pastilles, sur des éléments cette fois cliquables. */
.carousel__btn,
.lightbox__btn,
.slideshow-ui__toggle,
.gallery-item__zoom,
.featured__poster-zoom {
    position: relative;
    isolation: isolate;
}

/* Posé sur une photo, l'anneau passe en ivoire */
.slideshow-ui,
.gallery-item__zoom,
.featured__poster-zoom {
    --badge-halo: rgba(255, 255, 251, .5);
    --badge-halo-soft: rgba(255, 255, 251, .16);
}

.carousel__btn::before,
.lightbox__btn::before,
.slideshow-ui__toggle::before,
.gallery-item__zoom::before,
.featured__poster-zoom::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border: 1px solid var(--badge-halo);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity var(--t-base) var(--ease-out),
        transform var(--t-base) var(--ease-out),
        box-shadow var(--t-base) var(--ease-out);
}

.carousel__btn .icon,
.lightbox__btn .icon,
.slideshow-ui__toggle .icon {
    transition: transform var(--t-base) var(--ease-out);
}

@media (hover: hover) {
    .carousel__btn:not(:disabled):hover::before,
    .lightbox__btn:hover::before,
    .slideshow-ui__toggle:hover::before,
    .gallery-item__link:hover .gallery-item__zoom::before,
    .featured__poster:hover .featured__poster-zoom::before {
        opacity: 1;
        box-shadow: 0 0 0 .45rem var(--badge-halo-soft);
        transform: scale(1.18);
    }

    .back-to-top:hover .icon {
        box-shadow: 0 0 0 .45rem var(--badge-halo-soft);
    }

    /* Chaque flèche part dans son sens, la croix pivote */
    .carousel__btn[data-carousel-prev]:not(:disabled):hover .icon,
    .lightbox__btn[data-lightbox-prev]:hover .icon {
        transform: translateX(-3px);
    }

    .carousel__btn[data-carousel-next]:not(:disabled):hover .icon,
    .lightbox__btn[data-lightbox-next]:hover .icon {
        transform: translateX(3px);
    }

    .lightbox__btn[data-lightbox-close]:hover .icon {
        transform: rotate(90deg);
    }
}
