:root {
    --ink: #0B0A08;
    --ink-raised: #17150F;
    --ink-deep: #050403;
    --fg: #ECE6D8;
    --fg-muted: #A79E8C;
    --fg-faint: rgba(236, 230, 216, 0.55);
                /* Accent laiton — utilisé avec parcimonie (CTA, soulignés actifs,
       numéros du processus, points du carrousel) */
    --brass: #C8A96A;
    --brass-light: #D9C08C;
    --brass-soft: rgba(200, 169, 106, 0.45);
    --brass-dim: #9C8456; /* 5.5:1 sur --ink */
    --surface: rgba(236, 230, 216, 0.045);
    --surface-strong: rgba(236, 230, 216, 0.08);
    --line: rgba(236, 230, 216, 0.12);
    --paper: #EEEEEE;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(to bottom, var(--ink) 0%, var(--ink-deep) 100%);
    color: var(--fg);
    font-family: var(--font-body);
    text-align: left;
    position: relative;
    overflow-x: hidden;
}

/* Texture de grain — apporte de la profondeur au noir plutôt qu'un aplat */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Accessibilité : lien d'évitement */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--paper);
    color: var(--ink);
    padding: 12px 20px;
    z-index: 2000;
    text-decoration: none;
    font-family: var(--font-body);
}

.skip-link:focus {
    left: 20px;
    top: 20px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}

        /* Titres qui reçoivent le focus par script (changement de page) :
   ce ne sont pas des commandes, pas besoin d'anneau visible */
h1[tabindex="-1"]:focus-visible,
h2[tabindex="-1"]:focus-visible {
    outline: none;
}

/* Sur la barre de navigation claire, l'anneau laiton serait trop pâle */
.navbar a:focus-visible,
.navbar button:focus-visible {
    outline-color: var(--ink);
}

@media (min-width: 861px) {
    .nav-links a:focus-visible {
        outline-color: var(--ink);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Barre de navigation */
.navbar {
    background-color: rgba(238, 238, 238, 0.9);
    backdrop-filter: blur(5px);
    padding: 0 26px;
    height: 64px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.logo-link img {
    height: 38px;
    position: absolute;
    left: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 64px;
    padding: 0 26px;
    z-index: 1001;
    pointer-events: none;
}

@media (min-width: 861px) {
    .navbar {
        top: 20px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0 30px 0 0;
        height: 90px;
        border-radius: 0;
        box-shadow: none;
    }

    .logo-link img {
        height: 46px;
    }

    .nav-links {
        top: 20px;
        left: 0;
        right: 0;
        width: 100%;
        height: 90px;
        padding: 0 30px;
    }
}

.nav-links > * {
    pointer-events: auto;
}

.nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.3px;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--brass-dim);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.nav-links a:hover {
    color: #444444;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* Contraste : #8A8A8A sur la barre claire donnait 2.4:1 (échec WCAG).
   #3d3d3d donne 7.5:1 ; le soulignement indique toujours la page active. */
.nav-links a[aria-current="page"] {
    text-decoration: none;
    color: #3d3d3d;
}

.nav-links a[aria-current="page"]::after {
    transform: scaleX(1);
    background: #3d3d3d;
}

.nav-links a.nav-cta {
    border: 1px solid var(--ink);
    padding: 9px 20px;
    border-radius: 999px;
}

.nav-links a.nav-cta::after { display: none; }

.nav-links a.nav-cta:hover {
    background: var(--ink);
    color: var(--paper);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 46px;
    display: block;
}

/* Sélecteur de langue */
.lang-switch {
    position: absolute;
    right: 34px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-family: var(--font-body);
}

.lang-switch a,
.lang-switch button {
    background: none;
    border: none;
    color: #55503f; /* 5.6:1 sur la barre (l'ancien #6b6250 = 4.2:1) */
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    padding: 6px 6px; /* cible tactile d'au moins 24 px (WCAG 2.5.8) */
    min-width: 24px;
    min-height: 24px;
}

.lang-switch a[aria-current="true"],
.lang-switch button[aria-current="true"] {
    color: var(--ink);
    font-weight: 400;
    text-decoration: underline;
    text-decoration-color: var(--brass-dim);
    text-underline-offset: 4px;
}

.lang-switch .lang-sep {
    color: #b9ae94;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 34px;
    width: 30px;
    height: 22px;
    padding: 0;
    z-index: 2;
}

.menu-toggle .bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}

.menu-toggle .bar:nth-child(1) { top: 0; }
.menu-toggle .bar:nth-child(2) { top: 10px; }
.menu-toggle .bar:nth-child(3) { top: 20px; }

.menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
    .menu-toggle .bar {
        transition: none;
    }
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 860px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 34px;
        position: fixed;
        inset: 0;
        height: auto;
        z-index: 999;
        background-color: rgba(5, 4, 3, 0.98);
        backdrop-filter: blur(10px);
        padding: 40px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links a {
        color: var(--fg);
        font-family: var(--font-display);
        font-size: 30px;
        font-weight: 400;
        letter-spacing: 0.3px;
        opacity: 0;
        transform: translateY(14px);
        transition: color 0.3s ease, opacity 0.4s ease, transform 0.4s ease;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active a:nth-child(1) { transition-delay: 0.05s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.15s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(5) { transition-delay: 0.25s; }

    .nav-links a:hover {
        color: var(--brass);
    }

    .nav-links a[aria-current="page"] {
        color: var(--brass);
    }

    .nav-links a.nav-cta {
        margin-top: 6px;
        padding: 12px 30px;
        border: 1px solid var(--brass);
        font-size: 20px;
        font-family: var(--font-body);
        letter-spacing: 1px;
        color: var(--brass);
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle .bar {
        background-color: var(--ink);
    }

    .nav-links {
        padding-top: max(40px, env(safe-area-inset-top));
        padding-bottom: max(40px, env(safe-area-inset-bottom));
    }

    .navbar > .lang-switch {
        right: 84px;
    }

    .vc-caption {
        max-width: 100%;
    }
}

/* Le fond dégradé couvre toute la page (et non une tranche de la
   hauteur de l'écran répétée), d'où min-height plutôt que height. */
html {
    height: 100%;
    background: var(--ink-deep);
}

body {
    min-height: 100%;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
}

#page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content {
    display: none;
    flex: 1;
    padding-top: 0px;
    padding-bottom: 60px;
}

.content.active {
    display: block;
}

h1 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0;
    margin: 0;
}

h2 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0;
}

        p {
    line-height: 1.75;
    font-size: 17px;
    font-weight: 400;
}

.eyebrow-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--fg-muted);
    font-weight: 400;
}

.eyebrow-line::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--brass);
}

/* HERO vidéo (page d'accueil) */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: transparent;
}

.hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,4,3,0.92) 0%, rgba(5,4,3,0.35) 40%, rgba(5,4,3,0.1) 65%);
}

.hero-overlay {
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 9%;
    z-index: 1;
    text-align: left;
}

.hero-overlay h1 {
    font-size: clamp(48px, 9vw, 122px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 0.95;
    margin: 0 0 18px;
}

.hero-overlay p {
    font-size: 18px;
    color: var(--fg-muted);
    font-weight: 400;
    letter-spacing: 0.3px;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-overlay h1 { font-size: 52px; }
    .hero-overlay p { font-size: 15px; }
}

/* HERO générique (sous-pages) */
.about-hero {
    height: 70vh;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    padding: 0 6% 70px;
    background: transparent;
}

.hero-animated {
    text-align: left;
}

        .hero-title {
    font-size: clamp(40px, 6vw, 78px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s ease forwards;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.4px;
    color: var(--fg-muted);
    margin-top: 14px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s ease forwards;
    animation-delay: 0.15s;
}

        /* Photo d'en-tête des sous-pages : même dégradé bas que l'accueil.
   L'image se définit par page avec  style="--hero-img: url('...')".
   Si le fichier est absent, on garde simplement un léger halo. */
.about-hero,
.implications-hero {
    position: relative;
    overflow: hidden;
}

.hero-animated {
    position: relative;
    z-index: 1;
}

.subhero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        var(--hero-img, none),
        radial-gradient(90% 80% at 70% 20%, var(--ink-raised) 0%, transparent 70%);
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat;
}

.subhero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,4,3,0.92) 0%, rgba(5,4,3,0.35) 40%, rgba(5,4,3,0.1) 65%);
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .about-hero { padding: 0 24px 50px; align-items: flex-end; }
}

/* ABOUT / NOUS */
.about-section {
    padding: 120px 40px;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image {
    width: 45%;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    display: block;
}

.about-text {
    width: 55%;
    text-align: left;
}

        .about-text h2 {
    font-size: clamp(32px, 3.6vw, 48px);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 25px;
}

.about-text p {
    color: var(--fg-muted);
}

/* Sans photo : une seule colonne de texte, centrée, à une largeur
   de lecture confortable (au lieu de 55 % avec un vide à droite).
   Couvre aussi le cas où le <div class="about-image"> est resté vide. */
.about-image:not(:has(img)) {
    display: none;
}

.about-container:not(:has(.about-image img)) {
    max-width: 720px;
    display: block;
}

.about-container:not(:has(.about-image img)) .about-text {
    width: 100%;
}

.about-container:not(:has(.about-image img)) .about-text p {
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 1.1em;
}

.cta-premium {
    display: inline-block;
    margin-top: 40px;
    padding: 14px 28px;
    border: 1px solid var(--brass);
    text-decoration: none;
    color: var(--brass);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.4s ease;
}

.cta-premium:hover {
    background: var(--brass);
    color: var(--ink);
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .about-image,
    .about-text {
        width: 100%;
    }
}

.instagram {
    color: var(--fg-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.instagram:hover { color: var(--brass); }

.instagram img { filter: grayscale(1) brightness(2) opacity(0.75); }

/* SERVICES */
        /* Rangées image / texte alternées */
.services-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 6% 140px;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.service-item {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 72px;
    align-items: center;
}

.service-item:nth-child(even) {
    grid-template-columns: 1fr 1.15fr;
}

.service-item:nth-child(even) .service-media {
    order: 2;
}

.service-media {
    position: relative;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    background-image: radial-gradient(120% 90% at 20% 15%, var(--ink-raised) 0%, var(--ink) 60%, var(--ink-deep) 100%);
}

.service-media img,
.service-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-media-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-text {
    text-align: left;
}

.service-text h2 {
    font-size: clamp(32px, 3.6vw, 48px);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 20px;
}

.service-text p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--fg-muted);
    margin: 0;
    max-width: 44ch;
}

.service-link {
    display: inline-block;
    margin-top: 28px;
    padding: 4px 0;
    color: var(--brass);
    font-size: 15px;
    letter-spacing: 0.3px;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--fg);
}

@media (max-width: 860px) {
    .services-list {
        gap: 90px;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-item:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .service-item:nth-child(even) .service-media {
        order: 0;
    }
}

/* PROCESSUS */
.process-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 140px;
    border-top: 1px solid var(--line);
}

.process-header {
    text-align: center;
    padding-top: 100px;
    margin-bottom: 60px;
}

.process-header .eyebrow-line {
    justify-content: center;
    margin-bottom: 18px;
}

.process-header .eyebrow-line::before {
    display: none;
}

.process-header h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    max-width: 40ch;
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.process-step {
    text-align: left;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.process-number {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--brass);
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.process-step h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 20px;
    margin: 0 0 12px;
}

.process-step p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--fg-muted);
    opacity: 0.85;
    margin: 0;
}

@media (max-width: 860px) {
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .process-header {
        padding-top: 70px;
    }
}

/* RÉSERVATION */
.reservation-section {
    padding: 120px 20px;
    display: flex;
    justify-content: center;
}

.reservation-box {
    max-width: 600px;
    width: 100%;
    background: var(--surface);
    padding: 60px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.reservation-box h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.reservation-subtext {
    color: var(--fg-muted); /* opacité retirée : 4.0:1 -> 7:1 */
    margin-bottom: 40px;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.reservation-form label {
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--fg-muted);
    opacity: 0.8;
    font-weight: 400;
}

.reservation-form label.required-label::after {
    content: " *";
    color: var(--brass);
}

.required-note {
    font-size: 13px;
    color: var(--fg-muted);
    opacity: 0.8;
    margin: -8px 0 4px;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
    padding: 14px;
    border-radius: 8px;
    /* Bordure des champs : 1.3:1 auparavant, 3.3:1 maintenant (WCAG 1.4.11) */
    border: 1px solid rgba(236, 230, 216, 0.42);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--fg);
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.3s ease;
}

.reservation-form select option {
    background-color: var(--ink);
}

.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
    outline: 2px solid var(--brass);
    outline-offset: 2px;
    border-color: var(--brass);
    background-color: rgba(0, 0, 0, 0.7);
}

.reservation-form button {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--brass);
    color: var(--ink);
    font-weight: 400;
    font-size: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

        .reservation-form button:hover {
    background-color: var(--brass-light);
    transform: translateY(-2px);
}

.reservation-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    margin-top: 20px;
    padding: 14px;
    border-radius: 6px;
    font-size: 15px;
    display: none;
}

.form-status.visible {
    display: block;
}

.form-status.success {
    background: rgba(120, 220, 150, 0.1);
    border: 1px solid rgba(120, 220, 150, 0.35);
    color: #d3ffe0;
}

.form-status.error {
    background: rgba(220, 100, 100, 0.1);
    border: 1px solid rgba(220, 100, 100, 0.35);
    color: #ffd9d9;
}

/* Honeypot (anti-spam), invisible pour les humains */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .reservation-box {
        padding: 40px 25px;
    }
}


/* Portfolio vidéo (page d'accueil) — carrousel 3D (coverflow) */
.video-coverflow {
    padding: 130px 6%;
    max-width: 1300px;
    margin: auto;
}

.vc-stage {
    position: relative;
    height: 420px;
    overflow: hidden;
    perspective: 1500px;
    perspective-origin: 50% 50%;
}

.vc-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46%;
    max-width: 460px;
    aspect-ratio: 16 / 10;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(236, 230, 216, 0.1);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
    transform-origin: center center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
    will-change: transform, opacity;
}

.vc-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.vc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(5, 4, 3, 0.55);
    color: var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 200;
}

.vc-arrow-prev { left: 0; }
.vc-arrow-next { right: 0; }

.vc-caption-stack {
    position: relative;
    min-height: 150px;
    margin-top: 56px;
}

.vc-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    max-width: 60ch;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.vc-caption.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.vc-caption h3 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 400;
    margin: 0 0 14px;
}

.vc-caption p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--fg-muted);
    margin: 0 auto;
    max-width: 44ch;
}

.vc-dots {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: 28px;
}

/* Points du carrousel : zone cliquable de 24 px (WCAG 2.5.8),
   le point visible de 8 px est dessiné par ::before */
.vc-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vc-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brass-soft);
    transition: background 0.4s ease, transform 0.4s ease;
}

.vc-dot.active::before {
    background: var(--brass);
    transform: scale(1.3);
}

@media (max-width: 860px) {
    .vc-stage { height: 260px; }
    .vc-card { width: 74%; }
    .vc-arrow { width: 38px; height: 38px; }
}

/* Portfolio photo (page d'accueil) — mosaïque façon Pinterest */
.photo-masonry {
    padding: 20px 6% 130px;
    max-width: 1300px;
    margin: auto;
}

        .video-coverflow h2,
.photo-masonry h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 48px;
}

/* Cibles des liens de la page Services :
   on laisse de la place sous la barre de navigation fixe */
#portfolio-video,
#portfolio-photo {
    scroll-margin-top: 110px;
}

/* Mur de photos style Pinterest, d'un bord à l'autre de l'écran.
   Sans JavaScript : colonnes CSS (format d'origine de chaque photo).
   Avec JavaScript (.pm-js) : placement de gauche à droite dans la
   colonne la plus courte, puis bas des colonnes égalisés. */
.pm-grid {
    --pm-gap: 12px;
    --pm-pad: clamp(12px, 1.6vw, 24px);
    width: var(--page-w, 100vw);
    margin-left: calc(50% - var(--page-w, 100vw) / 2);
    padding: 0 var(--pm-pad);
    columns: 4 220px;
    column-gap: var(--pm-gap);
}

.pm-grid > .pm-item {
    break-inside: avoid;
    margin-bottom: var(--pm-gap);
}

.pm-grid:not(.pm-js) .pm-image { position: relative; }
.pm-grid:not(.pm-js) .pm-image img { height: auto; }

.pm-grid.pm-js {
    columns: auto;
    position: relative;
    box-sizing: border-box;
}

.pm-grid.pm-js > .pm-item {
    position: absolute;
    margin: 0;
}

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

.pm-item {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.pm-item:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}

.pm-image {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(120% 90% at 20% 15%, var(--ink-raised) 0%, var(--ink) 60%, var(--ink-deep) 100%);
    transform-origin: center center;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.pm-item:hover .pm-image,
.pm-item:focus-visible .pm-image {
    transform: scale(1.05);
}

.pm-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 14px 12px;
    background: linear-gradient(to top, rgba(5, 4, 3, 0.9) 0%, rgba(5, 4, 3, 0.55) 55%, rgba(5, 4, 3, 0) 100%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pm-item:hover .pm-caption,
.pm-item:focus-visible .pm-caption {
    opacity: 1;
}

.pm-tag {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brass-dim); /* 5.7:1 (brass-soft = 3.4:1) */
    margin-bottom: 4px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.pm-title {
    font-family: var(--font-display);
    font-size: 15px;
    line-height: 1.3;
    color: var(--fg);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s ease 0.16s, transform 0.5s ease 0.16s;
}

.pm-item:hover .pm-tag,
.pm-item:hover .pm-title,
.pm-item:focus-visible .pm-tag,
.pm-item:focus-visible .pm-title {
    opacity: 1;
    transform: translateY(0);
}

/* Téléphone et écran tactile : aucun titre sur les photos, même quand
   on touche une photo (le toucher active le survol sur mobile).
   Le texte alternatif de chaque image reste lu par les lecteurs d'écran. */
@media (hover: none), (max-width: 600px) {
    .pm-caption { display: none; }
    .pm-item:hover .pm-image,
    .pm-item:focus-visible .pm-image { transform: none; }
}

@media (max-width: 600px) {
    .pm-grid { --pm-gap: 8px; }
}

/* Bande de confiance (page d'accueil) — logos des projets, défilement continu */
.trusted-by {
    padding: 60px 6% 130px;
}

.trusted-heading {
    text-align: center;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--fg-muted);
    max-width: 32ch;
    margin: 0 auto 40px;
}

.trusted-band {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--ink-deep);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 36px 0;
}

.trusted-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 72px;
    animation: trusted-scroll 45s linear infinite;
}

.trusted-track img {
    height: 72px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(1);
    opacity: 0.75;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.trusted-track img:hover {
    opacity: 1;
    filter: grayscale(0);
}

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

@media (prefers-reduced-motion: reduce) {
    .trusted-band { overflow-x: auto; }
    .trusted-track { animation: none; }
}

/* Pause du défilement : au survol, au focus, ou via le bouton
   « Mettre les animations en pause » (WCAG 2.2.2) */
.trusted-band:hover .trusted-track,
.trusted-band:focus-within .trusted-track,
html.motion-paused .trusted-track {
    animation-play-state: paused;
}

@media (max-width: 640px) {
    .trusted-heading { letter-spacing: 1px; max-width: 26ch; }
    .trusted-track { gap: 48px; }
    .trusted-track img { height: 52px; }
}

/* IMPLICATIONS — index façon planche-contact éditoriale */
.implications-hero {
    height: 70vh;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding: 0 6% 70px;
    background: transparent;
}

.implications-section {
    padding: 40px 6% 130px;
}

.implications-grid {
    max-width: 1300px;
    margin: auto;
    border-top: 1px solid var(--line);
}

.work-row {
    display: block;
}

.work-row a {
    display: grid;
    grid-template-columns: 1fr 200px 40px auto;
    align-items: center;
    gap: 24px;
    padding: 30px 4px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
}

.work-row-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 400;
    margin: 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.work-row-role {
    font-size: 13px;
    color: var(--fg-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

.work-row-year {
    font-size: 14px;
    color: var(--fg-muted);
    text-align: left;
    font-variant-numeric: tabular-nums;
}

.work-thumb {
    width: 0;
    height: 78px;
    border-radius: 3px;
    overflow: hidden;
    opacity: 0;
    transition: width 0.45s ease, opacity 0.3s ease;
}

.work-thumb img {
    width: 130px;
    height: 78px;
    object-fit: cover;
    display: block;
}

.work-row a:hover,
.work-row a:focus-visible {
    background: var(--surface);
}

.work-row a:hover .work-thumb,
.work-row a:focus-visible .work-thumb {
    width: 130px;
    opacity: 1;
}

.work-row a:hover .work-row-title,
.work-row a:focus-visible .work-row-title {
    color: var(--brass);
}

@media (max-width: 640px) {
    .work-row a {
        grid-template-columns: 1fr 40px auto;
        gap: 14px;
        padding: 22px 2px;
    }
    .work-row-role { display: none; }
    .work-row-title { font-size: 19px; }
    .work-thumb, .work-thumb img { width: 64px; height: 46px; }
    .work-row a:hover .work-thumb,
    .work-row a:focus-visible .work-thumb { width: 64px; }
}

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* PAGE PROJET */
.project-page {
    display: none;
    min-height: 100vh;
    padding-top: 160px;
    padding-bottom: 110px;
}

.project-page.active {
    display: block;
}

.project-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 6%;
}

.project-header {
    text-align: left;
    margin-bottom: 70px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 40px;
}

.project-header h1 {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 400;
    margin-bottom: 14px;
}

.project-header p {
    font-size: 15px;
    color: var(--fg-muted);
    letter-spacing: 0.3px;
}

.project-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: start;
}

.project-image {
    width: 100%;
    border-radius: 3px;
}

.project-description {
    text-align: left;
}

.project-description h2 {
    font-size: 15px;
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brass);
    margin-top: 0;
    margin-bottom: 24px;
}

.project-description p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--fg-muted);
    max-width: 50ch;
}

.project-back {
    display: inline-block;
    margin-top: 40px;
    padding: 13px 26px;
    border: 1px solid var(--brass);
    border-radius: 999px;
    color: var(--brass);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.project-back:hover {
    background-color: var(--brass);
    color: var(--ink);
}

@media (max-width: 768px) {
    .project-page {
        padding-top: 120px;
    }

    .project-header h1 {
        font-size: 34px;
    }

    .project-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* ============================================================
   AJOUTS — accessibilité, formulaire, pages légales, pied de page
   ============================================================ */

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Contenu bilingue des pages légales : seule la langue active s'affiche */
html[lang="fr"] [data-lang-only="en"],
html[lang="en"] [data-lang-only="fr"] {
    display: none;
}

/* Renseignements à compléter AVANT la mise en ligne.
   Volontairement très visible pour ne pas être oublié. */
.todo {
    background: #FFE066;
    color: #111;
    padding: 0 4px;
    border-radius: 2px;
    font-weight: 600;
}

/* Bouton pause des animations (vidéo d'accueil, carrousel, bande de logos) */
        .motion-toggle {
    position: absolute;
    right: 6%;
    bottom: 9%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(236, 230, 216, 0.45);
    border-radius: 50%;
    background: rgba(5, 4, 3, 0.45);
    color: var(--fg);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.motion-toggle:hover {
    border-color: var(--fg);
}

.motion-toggle .icon-play { display: none; }
html.motion-paused .motion-toggle .icon-play { display: block; }
html.motion-paused .motion-toggle .icon-pause { display: none; }

.motion-toggle:hover {
    background: rgba(5, 4, 3, 0.85);
}

@media (max-width: 768px) {
                .motion-toggle {
        right: 24px;
        bottom: auto;
        top: 100px;
    }
}

/* Formulaire : aides, erreurs, consentement */
.field-hint {
    font-size: 13px;
    color: var(--fg-muted);
    margin: -12px 0 0;
    line-height: 1.5;
}

.field-error {
    font-size: 14px;
    color: #ffb4b4; /* 9:1 sur le fond du formulaire */
    margin: -12px 0 0;
    line-height: 1.5;
}

.field-error:empty {
    display: none;
}

.reservation-form [aria-invalid="true"] {
    border-color: #ff9d9d;
}

.optional-tag {
    font-size: 13px;
    letter-spacing: 0;
}

.privacy-notice {
    font-size: 14px;
    line-height: 1.6;
    color: var(--fg-muted);
    margin: 8px 0 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.privacy-notice a,
.legal-body a {
    color: var(--fg);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.reservation-form .consent-row input[type="checkbox"] {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: var(--brass);
}

.reservation-form .consent-row label {
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.5;
    color: var(--fg);
    opacity: 1;
}

/* Pages légales */
.legal-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px 120px;
}

.legal-body .legal-updated {
    font-size: 14px;
    color: var(--fg-muted);
    margin-top: 0;
}

.legal-body h2 {
    font-size: 24px;
    margin: 56px 0 16px;
}

.legal-body h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 19px;
    margin: 32px 0 10px;
}

.legal-body p,
.legal-body li {
    font-size: 16px;
    line-height: 1.75;
    color: var(--fg-muted);
}

.legal-body ul {
    padding-left: 22px;
}

.legal-body li + li {
    margin-top: 8px;
}

.legal-body strong {
    color: var(--fg);
    font-weight: 500;
}

.legal-body .table-wrap {
    overflow-x: auto;
}

.legal-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    color: var(--fg-muted);
}

.legal-body th,
.legal-body td {
    text-align: left;
    vertical-align: top;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
}

.legal-body th {
    color: var(--fg);
    font-weight: 500;
}

.legal-body td {
    line-height: 1.55;
}

.legal-body td:first-child {
    white-space: nowrap;
}


.legal-page .about-hero {
    height: auto;
    min-height: 0;
    max-width: 760px;
    margin: 0 auto;
    padding: 170px 24px 10px;
}

.legal-page .hero-title {
    font-size: clamp(34px, 5vw, 58px);
}

/* ===== Pages de services (référencement) ===== */
.svc-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 24px 24px;
}

.svc-body h2 {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 400;
    line-height: 1.25;
    margin: 64px 0 18px;
}

.svc-body [data-lang-only] > h2:first-child {
    margin-top: 16px;
}

.svc-body p,
.svc-body li {
    color: var(--fg-muted);
    font-size: 17px;
    line-height: 1.75;
}

.svc-body strong,
.svc-body em {
    color: var(--fg);
    font-weight: 500;
}

.svc-body ul {
    padding-left: 20px;
}

.svc-body li {
    margin-bottom: 14px;
}

.svc-body a,
.svc-faq a {
    color: var(--brass);
    text-underline-offset: 4px;
}

.svc-faq {
    max-width: 780px;
    margin: 0 auto;
    padding: 24px 24px 0;
}

.svc-faq h2,
.svc-related h2 {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 400;
    margin: 48px 0 20px;
}

.svc-faq details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

.svc-faq details:first-of-type {
    border-top: 1px solid var(--line);
}

.svc-faq summary {
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 19px;
    color: var(--fg);
}

.svc-faq details p {
    color: var(--fg-muted);
    line-height: 1.75;
    margin: 14px 0 0;
}

.svc-related {
    max-width: 1300px;
    margin: 0 auto;
    padding: 24px 6% 0;
}

.svc-cta {
    text-align: center;
    padding: 24px 24px 120px;
}

.svc-cta .service-link {
    margin-left: 28px;
}

.service-more {
    margin-left: 28px;
}

.nowrap {
    white-space: nowrap;
}

/* ===== Pied de page ===== */
.footer {
    border-top: 1px solid var(--line);
    padding: 64px 6% 28px;
    color: var(--fg-muted);
    font-size: 14px;
    line-height: 1.6;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-wordmark {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: -0.01em;
    color: var(--fg);
    text-decoration: none;
}

.footer p {
    font-size: inherit;
    line-height: inherit;
}

.footer-tagline {
    margin: 12px 0 0;
    max-width: 34ch;
}

.footer .footer-wordmark {
    color: var(--fg);
}

.footer-heading {
    margin: 0 0 16px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass);
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.footer-business {
    font-style: normal;
}

.footer a {
    color: var(--fg-muted);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer a:hover,
.footer a:focus-visible {
    color: var(--fg);
}

.footer-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 3px 0;
}

.footer-list img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: grayscale(1) brightness(2) opacity(0.6);
    transition: opacity 0.25s ease;
}

.footer-list a:hover img { filter: grayscale(1) brightness(2) opacity(1); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.footer-copy {
    margin: 0;
}

.footer-legal-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
}

.footer-legal-nav a {
    display: inline-block;
    padding: 3px 0;
}

@media (max-width: 860px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer { padding-top: 48px; }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 36px;
    }
    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}

/* ============================================================
   AJOUTS — octobre 2026
   ============================================================ */

/* Images avec width/height (ajoutés par outils/build.py) : garder les
   proportions. :where() = spécificité nulle, les règles existantes
   (mur de photos, vignettes…) gardent la priorité. */
:where(img[width][height]) { height: auto; }
.logo-link img { width: auto; }
.project-image { height: auto; display: block; }

/* Sélecteur de langue : de vrais liens (une adresse par langue) */
.lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a:focus-visible { outline: 2px solid var(--brass-dim); outline-offset: 2px; }

/* ===== Témoignages (accueil) — n'apparaissent que s'il y en a ===== */
.testimonials {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 6% 130px;
}

.testimonials-heading {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0 0 56px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 48px;
}

.testimonial {
    margin: 0;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial blockquote,
.project-quote blockquote { margin: 0; }

.testimonial blockquote p {
    margin: 0;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--fg);
}

.testimonial blockquote p::before,
.project-quote blockquote p::before { content: "« "; color: var(--brass); }
.testimonial blockquote p::after,
.project-quote blockquote p::after { content: " »"; color: var(--brass); }
html[lang="en"] .testimonial blockquote p::before,
html[lang="en"] .project-quote blockquote p::before { content: "\201C"; }
html[lang="en"] .testimonial blockquote p::after,
html[lang="en"] .project-quote blockquote p::after { content: "\201D"; }

.testimonial figcaption,
.project-quote figcaption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
    font-size: 14px;
    line-height: 1.5;
}

.testimonial-name { color: var(--fg); font-weight: 500; }
.testimonial-role { color: var(--fg-muted); }

.testimonial-link {
    align-self: flex-start;
    margin-top: 10px;
    color: var(--brass);
    text-decoration: underline;
    text-decoration-color: var(--brass-soft);
    text-underline-offset: 4px;
    font-size: 14px;
}
.testimonial-link:hover,
.testimonial-link:focus-visible { color: var(--brass-light); text-decoration-color: currentColor; }

/* Citation sur une page de projet */
.project-quote {
    margin: 36px 0 0;
    padding: 4px 0 4px 22px;
    border-left: 2px solid var(--brass);
    max-width: 50ch;
}
.project-quote blockquote p {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--fg);
}

/* ===== Page À propos : sections ajoutées ===== */
.about-container:has(.about-image img) { align-items: stretch; }
.about-image img {
    position: sticky;
    top: 130px;
    height: auto;
}

.about-more h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 21px;
    color: var(--fg);
    margin: 48px 0 12px;
}

.about-clients {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
}

.about-clients a {
    display: inline-block;
    padding: 4px 0;
    color: var(--fg);
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 5px;
    transition: text-decoration-color 0.25s ease;
}
.about-clients a:hover,
.about-clients a:focus-visible { text-decoration-color: var(--brass); }


/* ===== Formulaire : listes déroulantes sans carré blanc =====
   Certains navigateurs (Safari, Chrome sur Mac/Windows) dessinent leur
   propre boîte claire derrière une liste déroulante à fond transparent.
   On retire l'apparence native, on met un fond opaque et une flèche
   maison, et on demande des contrôles natifs sombres (liste d'options,
   calendrier de la date). */
.reservation-form {
    color-scheme: dark;
}

.reservation-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--ink);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23C8A96A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    padding-right: 44px;
    cursor: pointer;
}

.reservation-form select::-ms-expand { display: none; }

.reservation-form select option {
    background-color: var(--ink-raised);
    color: var(--fg);
}

.reservation-form input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.8;
}


/* ===== Page Projets : filtres + grille d'affiches ===== */
.implications-grid {
    border-top: 0;
}

.work-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 44px;
}

.work-filters[hidden] { display: none; }

.work-filter {
    font-family: var(--font-body);
    font-size: 14px;
    letter-spacing: 0.3px;
    color: var(--fg-muted);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 18px;
    min-height: 40px;
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.work-filter:hover { color: var(--fg); border-color: var(--brass-soft); }

.work-filter[aria-pressed="true"] {
    color: var(--ink);
    background: var(--brass);
    border-color: var(--brass);
}

.work-filter:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.work-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 44px 28px;
}

.work-card[hidden] { display: none; }

.work-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.work-card-media {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 4px;
    background: var(--ink-raised);
    margin-bottom: 16px;
}

.work-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, opacity 0.4s ease;
}

.work-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 6px;
    transition: color 0.3s ease;
}

.work-card-meta {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    color: var(--fg-muted);
}

.work-card a:hover .work-card-media img,
.work-card a:focus-visible .work-card-media img { transform: scale(1.035); }

.work-card a:hover .work-card-title,
.work-card a:focus-visible .work-card-title { color: var(--brass); }

.work-card a:focus-visible { outline: 2px solid var(--brass); outline-offset: 6px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
    .work-card-media img { transition: none; }
    .work-card a:hover .work-card-media img,
    .work-card a:focus-visible .work-card-media img { transform: none; }
}

@media (max-width: 640px) {
    .work-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -6% 32px;
        padding: 2px 6% 6px;
        scrollbar-width: none;
    }
    .work-filters::-webkit-scrollbar { display: none; }
    .work-filter { flex: 0 0 auto; }
    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 16px;
    }
    .work-card-title { font-size: 16px; }
    .work-card-meta { font-size: 12px; }
}

/* Fin de page Projets */
.work-cta {
    text-align: center;
    padding: 0 6% 140px;
}

.work-cta-text {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 400;
    margin: 0;
}

.work-cta .cta-premium { margin-top: 28px; }

/* Listes de projets des pages de services : sur téléphone (pas de survol),
   la vignette était réservée mais restait invisible */
@media (max-width: 640px), (hover: none) {
    .work-row .work-thumb { opacity: 1; width: 64px; }
}
@media (hover: none) and (min-width: 641px) {
    .work-row .work-thumb { width: 130px; }
}


/* Pages de projet : liens (YouTube, IMDb, site du client…) */
.project-links {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid var(--brass-soft);
    border-radius: 999px;
    color: var(--brass);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.project-links a:hover,
.project-links a:focus-visible { color: var(--brass-light); border-color: var(--brass); }
.project-links a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }


/* ===== Résultats (accueil + page Vidéographie) ===== */
.stats-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 6% 30px;
}

.stats-heading {
    text-align: center;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--fg-muted);
    margin: 0 0 28px;
}

.stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.stats li { margin: 0; }

.stats a {
    display: block;
    height: 100%;
    text-align: center;
    padding: 26px 12px 8px;
    border-top: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.3s ease;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 62px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--brass);
    white-space: nowrap;
}

.stat-label {
    display: block;
    max-width: 26ch;
    margin: 10px auto 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--fg-muted);
    transition: color 0.3s ease;
}

.stats a:hover,
.stats a:focus-visible { border-color: var(--brass); }
.stats a:hover .stat-label,
.stats a:focus-visible .stat-label { color: var(--fg); }
.stats a:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }

/* Dans le texte des pages de services */
.svc-body .stats { padding: 0; margin: 40px 0 48px; }
.svc-body .stats li { margin: 0; font-size: inherit; }
.svc-body .stats a { color: inherit; }
.svc-body .stat-number { font-size: clamp(36px, 4.5vw, 50px); }

@media (max-width: 640px) {
    .stats { grid-template-columns: 1fr; gap: 0; }
    .stats a { padding: 22px 8px 18px; }
}


/* ===== Positionnement vidéo ===== */
.hero-overlay .hero-cta {
    margin-top: 28px;
}

/* Accueil : « Ce que nous filmons » */
.what-we-film {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 6% 110px;
}

.what-we-film h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 20px;
}

.wwf-intro {
    max-width: 62ch;
    font-size: 18px;
    line-height: 1.75;
    color: var(--fg-muted);
    margin: 0 0 48px;
}

.wwf-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 32px;
}

@media (min-width: 1000px) {
    .wwf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .wwf-grid { grid-template-columns: 1fr; gap: 28px; }
}

.wwf-grid li {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.wwf-grid h3 {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
    color: var(--fg);
    margin: 0 0 10px;
}

.wwf-grid p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--fg-muted);
    margin: 0;
}

.wwf-gear {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 48px 0 0;
}

.wwf-gear span {
    padding: 8px 16px;
    border: 1px solid var(--brass-soft);
    border-radius: 999px;
    font-size: 14px;
    color: var(--brass);
}

.wwf-more {
    max-width: 62ch;
    margin: 28px 0 0;
    font-size: 16px;
    line-height: 1.75;
    color: var(--fg-muted);
}

.wwf-more a {
    color: var(--brass);
    text-underline-offset: 4px;
}

/* Accueil : phrase d'introduction du mur de photos */
.pm-intro {
    max-width: 60ch;
    margin: -8px auto 36px;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: var(--fg-muted);
}

/* Page Services : étiquette au-dessus de chaque service */
.service-text .service-eyebrow {
    margin: 0 0 10px;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brass);
}

/* Pages Photographie et Design : note « en complément » */
.svc-note {
    margin: 0 0 40px;
    padding: 18px 22px;
    border-left: 2px solid var(--brass);
    background: rgba(200, 169, 106, 0.06);
    border-radius: 0 6px 6px 0;
}


/* ===== Accueil : « Ce que nous filmons » + résultats (section combinée) ===== */
.showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 6% 120px;
    text-align: center;
}

.showcase h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 48px;
}

.sc-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.sc-grid li {
    padding: 34px 22px 30px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(200, 169, 106, 0.06), rgba(200, 169, 106, 0) 70%);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.sc-grid li:hover { border-color: var(--brass-soft); transform: translateY(-3px); }

.sc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border: 1px solid var(--brass-soft);
    border-radius: 50%;
    color: var(--brass);
}

.sc-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sc-grid h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--fg);
    margin: 0 0 8px;
}

.sc-grid p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--fg-muted);
    margin: 0;
}

.sc-eyebrow {
    margin: 84px 0 6px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--fg-muted);
}

.showcase .wwf-gear {
    justify-content: center;
    margin: 56px 0 0;
}

.sc-more {
    margin: 22px 0 0;
    font-size: 15px;
    color: var(--fg-muted);
}

.sc-more a {
    color: var(--brass);
    text-underline-offset: 4px;
}

@media (max-width: 900px) {
    .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
    .sc-grid { gap: 12px; }
    .sc-grid li { padding: 22px 12px 20px; border-radius: 14px; }
    .sc-icon { width: 46px; height: 46px; margin-bottom: 12px; }
    .sc-grid h3 { font-size: 16px; }
    .sc-grid p { font-size: 13px; }
    .sc-eyebrow { margin-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
    .sc-grid li, .sc-grid li:hover { transition: none; transform: none; }
}

/* ===== Carrousel vidéo : plus grand ; même espace au-dessus et au-dessous de la description ===== */
/* La hauteur de la scène est ajustée par le script à la hauteur de la vidéo + 24 px (12 px de marge
   en haut et en bas) : 12 + 36 = 48 px entre la vidéo et la description, et 48 px ensuite. */
.vc-stage { height: 400px; }
.vc-card { width: 56%; max-width: 600px; }

.vc-caption-stack {
    display: grid;
    min-height: 0;
    margin-top: 36px;
}

.vc-caption {
    position: relative;
    grid-area: 1 / 1;
}

.video-coverflow > h2 { text-align: center; }

.video-coverflow .showcase {
    max-width: none;
    margin: 48px 0 0;
    padding: 0;
}

@media (max-width: 860px) {
    .vc-stage { height: 220px; }
    .vc-card { width: 84%; }
    .vc-caption-stack { margin-top: 24px; }
    .video-coverflow .showcase { margin-top: 36px; }
}

/* Bande de logos : titre sur une seule ligne */
.trusted-heading {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(10.5px, 3.1vw, 14px);
    letter-spacing: clamp(0.6px, 0.35vw, 2px);
}
@media (max-width: 640px) {
    .trusted-heading { max-width: none; letter-spacing: clamp(0.6px, 0.35vw, 2px); }
}

/* Chiffres : 4 colonnes sur grand écran, 2 × 2 sur téléphone */
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
    .stats a { padding: 22px 6px 18px; }
}

/* ===== Laiton = accent : réservé aux boutons, aux liens importants et aux survols ===== */
.stat-number { color: var(--fg); }
.sc-icon { border-color: var(--line); color: var(--fg-muted); transition: color 0.3s ease, border-color 0.3s ease; }
.sc-grid li:hover .sc-icon { color: var(--brass); border-color: var(--brass-soft); }
.sc-grid li { background: linear-gradient(180deg, rgba(236, 230, 216, 0.035), rgba(236, 230, 216, 0) 70%); }
.sc-grid li:hover { border-color: rgba(236, 230, 216, 0.22); }
.wwf-gear span { border-color: var(--line); color: var(--fg-muted); }
.sc-more a { color: var(--fg); text-decoration-color: rgba(236, 230, 216, 0.35); }
.sc-more a:hover, .sc-more a:focus-visible { color: var(--brass); text-decoration-color: currentColor; }
.pm-tag { color: var(--fg-muted); }

/* ===== Page Nous (refaite dans le style du reste du site) ===== */
.about-v2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 6% 20px;
}

.about-v2 .about-container:not(:has(.about-image img)) { max-width: 860px; text-align: center; }
.about-v2 .about-container:not(:has(.about-image img)) .about-text { text-align: center; }

.about-lead {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 36px) !important;
    line-height: 1.35 !important;
    color: var(--fg) !important;
    margin: 0 0 20px !important;
}

.about-block {
    margin-top: 110px;
    text-align: center;
}

.about-block h2 {
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 44px;
}

.logo-grid {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 900px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 40px;
}

.logo-grid li { width: 140px; }

.logo-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    border-radius: 12px;
}

.logo-grid img {
    max-height: 84px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.75;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.logo-grid a:hover img,
.logo-grid a:focus-visible img { opacity: 1; filter: grayscale(0); }
.logo-grid a:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }

.about-cta { margin-top: 110px; padding-bottom: 60px; }

@media (max-width: 640px) {
    .about-v2 { padding-top: 70px; }
    .about-block, .about-cta { margin-top: 80px; }
    .logo-grid { gap: 20px 16px; }
    .logo-grid li { width: calc((100% - 32px) / 3); }
    .logo-grid a { height: 72px; }
    .logo-grid img { max-height: 60px; }
}


/* ===== Spécialités (accueil) et approche (Nous) : même style que « Notre processus » ===== */
.video-coverflow .showcase .process-grid { margin-top: 0; }
.about-block .process-header { padding-top: 0; margin-bottom: 56px; }
.about-block .process-header h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 0 auto; }

/* Photos de l'accueil : sur téléphone et tablette, ni titre ni genre */
@media (max-width: 768px) {
    .pm-caption { display: none; }
}
