/* ==========================================================================
   TOILE DIGITALE - Accueil (refonte 2026-09)
   Feuille autonome : l'accueil ne charge pas style.css.
   Alternance « salle obscure » (nuit) / « salle claire » (alabaster),
   cartels de musée pour légender les œuvres.
   ========================================================================== */

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Charte (Brand Guidelines 3.0) */
    --liver: #55484F;
    --cinereous: #93847F;
    --vanilla: #C8BFAE;
    --taupe: #BC9D88;
    --alabaster: #F2ECE0;
    --cultured: #F5F6F0;
    /* Dérivés du Dark Liver pour les salles obscures */
    --nuit: #2B2327;
    --nuit-2: #372D32;
    --line-dark: rgba(200, 191, 174, 0.18);
    --line-light: rgba(85, 72, 79, 0.16);

    --font-display: 'quiverleaf-cf', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    --wrap: 1320px;
    --gutter: clamp(1.25rem, 4vw, 3.5rem);
    --section: clamp(5rem, 11vw, 9.5rem);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--liver);
    background: var(--alabaster);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

ul {
    list-style: none;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(2.3rem, 4.6vw, 4rem);
}

h3 {
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    line-height: 1.15;
}

strong {
    font-weight: 600;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 200;
    padding: .6rem 1rem;
    background: var(--alabaster);
    color: var(--liver);
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .95rem 1.6rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 500 .95rem/1 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.btn-light {
    background: var(--alabaster);
    color: var(--nuit);
}

.btn-light:hover {
    background: var(--taupe);
}

.btn-ghost {
    border-color: rgba(242, 236, 224, .55);
    background: transparent;
    color: var(--alabaster);
}

.btn-ghost:hover {
    border-color: var(--alabaster);
    background: rgba(242, 236, 224, .1);
}

.btn-dark {
    background: var(--liver);
    color: var(--alabaster);
}

.btn-dark:hover {
    background: var(--nuit);
}

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

.btn-outline:hover {
    background: var(--liver);
    color: var(--alabaster);
}

.text-link {
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--taupe);
    text-underline-offset: .3em;
    text-decoration-thickness: 1px;
}

.text-link:hover {
    text-decoration-thickness: 2px;
}

/* ---------- Cartel de musée ---------- */
.cartel {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    font-size: .82rem;
    line-height: 1.45;
}

.cartel-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    line-height: 1.2;
}

/* ---------- En-tête ---------- */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    color: var(--alabaster);
    transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--wrap);
    margin-inline: auto;
    padding: 1.1rem var(--gutter);
}

.logo {
    display: grid;
}

.logo img {
    grid-area: 1 / 1;
    height: 44px;
    width: auto;
    transition: opacity .4s var(--ease);
}

.logo-dark {
    opacity: 0;
}

.header.scrolled {
    background: rgba(242, 236, 224, .94);
    backdrop-filter: blur(10px);
    color: var(--liver);
    box-shadow: 0 1px 0 var(--line-light);
}

.header.scrolled .logo-light {
    opacity: 0;
}

.header.scrolled .logo-dark {
    opacity: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.nav-menu a {
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
    padding-block: .3rem;
    background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
    transition: background-size .35s var(--ease);
}

.nav-menu a:hover {
    background-size: 100% 1px;
}

.nav-menu .btn-nav {
    padding: .7rem 1.2rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: none;
}

.nav-menu .btn-nav:hover {
    color: var(--nuit);
    background: var(--alabaster);
    border-color: var(--alabaster);
}

.header.scrolled .btn-nav:hover {
    color: var(--alabaster);
    background: var(--liver);
    border-color: var(--liver);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}

.nav-toggle span {
    position: absolute;
    left: 11px;
    width: 22px;
    height: 1.5px;
    background: currentColor;
    transition: transform .3s var(--ease), opacity .3s;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero : tableaux animés plein cadre ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    background: var(--nuit) url('../images/posters/hero-tableaux.webp') center / cover no-repeat;
    color: var(--alabaster);
    overflow: hidden;
    isolation: isolate;
}

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

.hero-veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(43, 35, 39, .55) 0%, rgba(43, 35, 39, 0) 22%),
        linear-gradient(0deg, rgba(43, 35, 39, .92) 0%, rgba(43, 35, 39, .55) 40%, rgba(43, 35, 39, .1) 75%);
}

.hero-inner {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding: 9rem var(--gutter) clamp(3rem, 7vh, 5rem);
}

.hero-title {
    font-size: clamp(3.1rem, 9.2vw, 9.5rem);
    line-height: .92;
    letter-spacing: -0.02em;
}

.hero-line {
    display: block;
}

/* Le mot final défile : les trois variantes sont empilées dans la même cellule */
.hero-rotator {
    display: grid;
    overflow: hidden;
    padding-bottom: .12em;
    color: var(--vanilla);
}

.rot-word {
    grid-area: 1 / 1;
    transform: translateY(105%);
    opacity: 0;
    transition: transform .9s var(--ease), opacity .9s var(--ease);
}

.rot-word.is-active {
    transform: none;
    opacity: 1;
}

.rot-word.is-leaving {
    transform: translateY(-105%);
    opacity: 0;
}

.hero-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem 4rem;
    margin-top: clamp(2rem, 5vh, 3.5rem);
    padding-top: 2rem;
    border-top: 1px solid var(--line-dark);
}

.hero-lead {
    max-width: 34rem;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(242, 236, 224, .88);
}

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

/* Cartel du tableau affiché, mis à jour toutes les 3 s */
.cartel-hero {
    position: absolute;
    top: 7.5rem;
    right: var(--gutter);
    max-width: 17rem;
    padding-left: .9rem;
    border-left: 1px solid rgba(242, 236, 224, .5);
    color: rgba(242, 236, 224, .8);
    transition: opacity .4s var(--ease);
}

.cartel-hero.is-changing {
    opacity: 0;
}

/* ---------- Manifeste + chiffres ---------- */
.manifesto {
    padding-block: var(--section);
}

.manifesto-text {
    max-width: 22em;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.4vw, 3.1rem);
    line-height: 1.22;
    color: var(--liver);
}

.manifesto-sign {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-top: 2rem;
    font-size: .95rem;
    color: var(--cinereous);
}

.figures {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: clamp(4rem, 8vw, 7rem);
    border-top: 1px solid var(--line-light);
}

.figure {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: .6rem;
    padding: 2rem 1.5rem 0 0;
}

.figure + .figure {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line-light);
}

.figure dd {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    font-family: var(--font-display);
    color: var(--liver);
}

.figure-num {
    font-size: clamp(3rem, 5.5vw, 5rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.figure-unit {
    font-size: 1.4rem;
    color: var(--cinereous);
}

.figure dt {
    max-width: 14rem;
    font-size: .92rem;
    line-height: 1.5;
}

/* ---------- En-têtes de section ---------- */
.section-head {
    display: grid;
    gap: 1.25rem;
    max-width: 44rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head p {
    max-width: 36rem;
}

.section-head-split {
    max-width: none;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 1rem 3rem;
}

.section-head-split p {
    max-width: 22rem;
    text-align: right;
}

/* ---------- Offres : onglets (façon Culturespaces) ---------- */
.services {
    padding-bottom: var(--section);
}

.tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line-light);
}

.tab {
    position: relative;
    padding: 1.1rem .5rem 1.2rem;
    border: 0;
    background: none;
    color: var(--cinereous);
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.3vw, 2rem);
    line-height: 1.1;
    cursor: pointer;
    transition: color .3s var(--ease);
}

.tab::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--liver);
    transform: scaleX(0);
    transition: transform .5s var(--ease);
}

.tab:hover {
    color: var(--liver);
}

.tab[aria-selected="true"] {
    color: var(--liver);
}

.tab[aria-selected="true"]::after {
    transform: scaleX(1);
}

.panels {
    max-width: calc(var(--wrap) + 12rem);
    margin: clamp(2rem, 4vw, 3.5rem) auto 0;
}

.panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.panel[hidden] {
    display: none;
}

.panel.is-active .panel-text {
    animation: panel-in .6s var(--ease);
}

@keyframes panel-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

.panel-media {
    overflow: hidden;
    background: var(--nuit);
}

.panel-media video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.panel-text {
    display: grid;
    gap: 1rem;
    justify-items: start;
    max-width: 32rem;
    padding-right: var(--gutter);
}

.panel-for {
    font-size: .9rem;
    color: var(--cinereous);
}

.panel-text h3 {
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
}

.panel-sub {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    line-height: 1.3;
    color: var(--liver);
}

.panel-list {
    display: grid;
    width: 100%;
    border-top: 1px solid var(--line-light);
}

.panel-list li {
    display: grid;
    gap: .15rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--line-light);
    font-size: .95rem;
    line-height: 1.5;
}

.panel-list strong {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--nuit);
}

.panel-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.75rem;
    margin-top: .75rem;
}

/* ---------- Réalisations (salle obscure) ---------- */
.realisations {
    padding-block: var(--section);
    background: var(--nuit);
    color: var(--alabaster);
}

.realisations .section-head p {
    color: var(--vanilla);
}

/* Filtres par offre */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.filter {
    padding: .6rem 1.15rem;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    background: none;
    color: var(--vanilla);
    font: 500 .9rem/1 var(--font-body);
    cursor: pointer;
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.filter:hover {
    border-color: var(--vanilla);
    color: var(--alabaster);
}

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

.work[hidden],
.work.is-beyond {
    display: none;
}

.gallery-more {
    display: flex;
    justify-content: center;
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.gallery-more[hidden] {
    display: none;
}

.gallery.is-filtering .work {
    animation: work-in .5s var(--ease) both;
}

@keyframes work-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* Grille régulière de 3 colonnes, vignettes 4:3 (façon Culturespaces) ;
   --pos cadre les vidéos verticales sur leur sujet */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 3vw, 2.75rem) clamp(.75rem, 1.5vw, 1.25rem);
}

.work {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.work .work-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--nuit-2);
}

.work video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--pos, center);
    transition: transform 1.2s var(--ease);
}

/* Étiquette « Voir le projet » : apparaît au survol, toujours visible sur écran tactile */
.work-cta {
    position: absolute;
    left: .8rem;
    bottom: .8rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    background: var(--alabaster);
    color: var(--nuit);
    font-size: .82rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.work:hover .work-cta,
.work:focus-visible .work-cta {
    opacity: 1;
    transform: none;
}

@media (hover: none) {
    .work-cta {
        opacity: 1;
        transform: none;
    }
}

.work:hover video,
.work:focus-visible video {
    transform: scale(1.04);
}

.work:hover .cartel-title,
.work:focus-visible .cartel-title {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

.work .cartel {
    padding: .75rem 0 0 .8rem;
    border-left: 1px solid var(--taupe);
    color: var(--vanilla);
}

.work .cartel-title {
    color: var(--alabaster);
    font-size: 1.15rem;
}

/* ---------- Confiance (défilé) ---------- */
.trust {
    padding-block: clamp(3.5rem, 7vw, 6rem);
    background: var(--nuit);
    color: var(--vanilla);
    border-top: 1px solid var(--line-dark);
}

.trust-title {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    color: var(--alabaster);
    margin-bottom: 2rem;
}

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

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 48s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track li {
    display: flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.6vw, 3rem);
    white-space: nowrap;
}

.marquee-track li::after {
    content: '';
    width: 36px;
    height: 22px;
    margin-inline: clamp(1.5rem, 3vw, 3rem);
    background: url('../images/elements/element-ornament.svg') center / contain no-repeat;
    opacity: .8;
}

/* Chiffres-clés du prix et du réseau, en grille à cases (façon Art Graphique & Patrimoine) */
.figures-title {
    margin: clamp(4rem, 8vw, 6.5rem) 0 clamp(1.75rem, 3vw, 2.5rem);
    font-size: clamp(2rem, 4vw, 3.4rem);
    color: var(--alabaster);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line-dark);
    background: var(--nuit-2);
}

.stat {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 2.5vw, 2.5rem);
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
}

.stat:nth-child(3n) {
    border-right: 0;
}

.stat:nth-last-child(-n+3) {
    border-bottom: 0;
}

.stat svg {
    flex: none;
    width: 26px;
    height: 26px;
    margin-top: .35rem;
    color: var(--taupe);
}

.stat-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.3vw, 2.1rem);
    line-height: 1.15;
    background: linear-gradient(90deg, var(--taupe), var(--vanilla));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-sub {
    margin-top: .35rem;
    font-size: .92rem;
    line-height: 1.5;
    color: var(--alabaster);
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- Avis ---------- */
.testimonials-section {
    padding-block: var(--section);
    background: var(--cultured);
}

.google-reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem 1.1rem;
    border: 1px solid var(--line-light);
    border-radius: 999px;
    background: #fff;
    font-size: .88rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.grb-stars {
    color: #E7A93B;
    letter-spacing: .08em;
}

.testimonials-track {
    display: flex;
    gap: clamp(1rem, 2vw, 1.5rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    cursor: grab;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.testimonials-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.testimonial-card {
    flex: 0 0 min(30rem, 84vw);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background: #fff;
    border-radius: 4px;
}

.testimonial-card::before {
    content: '«';
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: .6;
    color: var(--taupe);
}

.testimonial-stars {
    order: -1;
    color: #E7A93B;
    font-size: .9rem;
    letter-spacing: .1em;
}

.testimonial-text {
    flex: 1;
    font-family: var(--font-display);
    font-size: 1.22rem;
    line-height: 1.45;
    color: var(--liver);
}

.testimonial-author {
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
}

.testimonial-google-tag {
    margin-left: .4rem;
    font-weight: 400;
    color: var(--cinereous);
}

.testimonials-controls {
    display: flex;
    gap: .6rem;
    margin-top: 2rem;
}

.testimonials-nav {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--liver);
    border-radius: 50%;
    background: none;
    color: var(--liver);
    cursor: pointer;
    transition: background-color .3s, color .3s, opacity .3s;
}

.testimonials-nav svg {
    width: 20px;
    height: 20px;
}

.testimonials-nav:hover:not(:disabled) {
    background: var(--liver);
    color: var(--alabaster);
}

.testimonials-nav:disabled {
    opacity: .3;
    cursor: default;
}

/* ---------- À propos ---------- */
.apropos {
    padding-block: var(--section);
}

.apropos-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.apropos-visual {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 24rem;
    margin-bottom: 4rem;
}

/* Carte vidéo posée en débord sur la photo */
.presentation-card {
    position: absolute;
    right: -38%;
    bottom: -4rem;
    width: 78%;
    padding: 0;
    border: 6px solid var(--alabaster);
    border-radius: 6px;
    background: var(--nuit);
    color: var(--alabaster);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 24px 48px -24px rgba(43, 35, 39, .55);
    transition: transform .5s var(--ease);
}

.presentation-card:hover {
    transform: translateY(-4px);
}

.presentation-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.presentation-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: -38px 0 0 -29px;
    border-radius: 50%;
    background: var(--alabaster);
    color: var(--nuit);
    transition: transform .4s var(--ease);
}

.presentation-play svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
}

.presentation-card:hover .presentation-play {
    transform: scale(1.1);
}

.presentation-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1.4rem .9rem .6rem;
    background: linear-gradient(0deg, rgba(43, 35, 39, .85), rgba(43, 35, 39, 0));
    font-family: var(--font-display);
    font-size: 1.05rem;
    text-align: left;
}

.presentation-caption small {
    font-family: var(--font-body);
    font-size: .78rem;
    color: var(--vanilla);
}

.apropos-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.75rem;
}

.apropos-visual img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.apropos-text {
    display: grid;
    gap: 1.4rem;
    justify-items: start;
    max-width: 36rem;
}

.apropos-lead {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 1.9vw, 1.6rem);
    line-height: 1.35;
}

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin-block: .5rem;
    border-block: 1px solid var(--line-light);
}

.values div {
    padding: 1.1rem 0;
}

.values div + div {
    padding-left: 1.1rem;
    border-left: 1px solid var(--line-light);
}

.values dt {
    font-family: var(--font-display);
    font-size: 1.3rem;
}

.values dd {
    font-size: .88rem;
    color: var(--cinereous);
}

/* ---------- Instagram ---------- */
.instagram-section {
    padding-bottom: var(--section);
}

.instagram-feed {
    min-height: 12rem;
}

/* ---------- Contact (salle obscure) ---------- */
.contact {
    padding-block: var(--section);
    background: var(--nuit);
    color: var(--alabaster);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(3rem, 7vw, 7rem);
}

.contact-info {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 1.5rem;
}

.contact-info h2 {
    font-size: clamp(2.6rem, 5.5vw, 4.8rem);
}

.contact-info > p {
    max-width: 30rem;
    color: var(--vanilla);
}

.contact-calendly-btn {
    line-height: 1.3;
    text-align: left;
}

.contact-details {
    display: grid;
    gap: .4rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-dark);
    color: var(--vanilla);
    font-size: .95rem;
}

.contact-details a {
    color: var(--alabaster);
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--taupe);
}

.contact-form {
    display: grid;
    gap: 1.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

.form-group {
    display: grid;
    gap: .35rem;
}

.form-group label {
    font-size: .85rem;
    color: var(--vanilla);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: .7rem 0;
    border: 0;
    border-bottom: 1px solid rgba(200, 191, 174, .4);
    border-radius: 0;
    background: transparent;
    color: var(--alabaster);
    font: inherit;
    transition: border-color .3s;
}

.form-group textarea {
    resize: vertical;
    min-height: 7rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--taupe);
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
    box-shadow: 0 1px 0 var(--taupe);
}

.form-group textarea::placeholder {
    color: rgba(200, 191, 174, .5);
}

.math-check {
    max-width: 16rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

.form-message {
    display: none;
    padding: .9rem 1rem;
    font-size: .92rem;
    border-radius: 4px;
}

.form-message.success {
    display: block;
    background: rgba(129, 199, 132, .15);
    color: #a5d6a7;
}

.form-message.error {
    display: block;
    background: rgba(229, 115, 115, .15);
    color: #ef9a9a;
}

.contact-form button[type="submit"] {
    justify-self: start;
}

/* ---------- Pied de page ---------- */
.footer {
    padding-top: clamp(4rem, 7vw, 6rem);
    background: var(--nuit);
    color: var(--vanilla);
    border-top: 1px solid var(--line-dark);
    font-size: .95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.4fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-logo {
    width: 190px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-col h2 {
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    color: var(--alabaster);
    letter-spacing: 0;
}

.footer-col ul {
    display: grid;
    gap: .5rem;
}

.footer a {
    text-decoration: none;
}

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

.footer-social {
    display: flex;
    gap: .6rem;
}

.footer-social a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    transition: border-color .3s;
}

.footer-social a:hover {
    border-color: var(--vanilla);
}

.footer-social svg {
    width: 17px;
    height: 17px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 4rem;
    padding-block: 1.75rem;
    border-top: 1px solid var(--line-dark);
    font-size: .85rem;
}

.footer-bottom p:last-child {
    display: flex;
    gap: 1.5rem;
}

/* ---------- Lightbox vidéo ---------- */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem 1rem;
    background: rgba(28, 22, 25, .94);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
}

.video-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.video-lightbox-content video {
    max-width: min(92vw, 1400px);
    max-height: 84vh;
    border-radius: 4px;
    background: #000;
}

.video-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(242, 236, 224, .4);
    border-radius: 50%;
    background: none;
    color: var(--alabaster);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

/* ---------- Menu déroulant « Offres » (commun à toutes les pages) ---------- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.nav-chevron {
    width: 12px;
    height: 12px;
    transition: transform .3s ease;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:has(:focus-visible) .nav-chevron,
.nav-dropdown.is-open .nav-chevron {
    transform: rotate(180deg);
}

/* padding-top = pont invisible entre le lien et le panneau (la souris ne « tombe » pas dans le vide) */
.nav-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 24rem;
    padding-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: 20;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:has(:focus-visible) .nav-submenu,
.nav-dropdown.is-open .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-dropdown.is-closed .nav-submenu {
    opacity: 0;
    visibility: hidden;
}

.nav-submenu-panel {
    display: grid;
    gap: .15rem;
    margin: 0;
    padding: .5rem;
    list-style: none;
    background: #F2ECE0;
    border: 1px solid rgba(85, 72, 79, .12);
    border-radius: 8px;
    box-shadow: 0 24px 48px -20px rgba(43, 35, 39, .45);
}

.nav-menu .nav-sub-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: .9rem;
    padding: .55rem;
    border-radius: 6px;
    background: none;
    color: #55484F;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .9rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    line-height: 1.35;
    transition: background-color .2s ease;
}

.nav-menu .nav-sub-item::after {
    display: none;
}

.nav-menu .nav-sub-item:hover,
.nav-menu .nav-sub-item:focus-visible,
.nav-menu .nav-sub-item[aria-current="page"] {
    background: rgba(85, 72, 79, .08);
}

.nav-sub-item img {
    width: 72px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    background: #2B2327;
}

.nav-sub-item strong {
    display: block;
    font-family: 'quiverleaf-cf', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #2B2327;
}

.nav-sub-item small {
    display: block;
    font-size: .8rem;
    color: #93847F;
}

/* Menu mobile plein écran : les 3 offres s'affichent directement sous « Offres » */
@media (max-width: 860px) {
    .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-chevron {
        display: none;
    }

    .nav-submenu,
    .nav-dropdown.is-closed .nav-submenu {
        position: static;
        width: auto;
        padding-top: .6rem;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-submenu-panel {
        gap: .1rem;
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
        text-align: center;
    }

    .nav-menu .nav-sub-item {
        display: block;
        padding: .25rem .5rem;
        color: #C8BFAE;
    }

    .nav-sub-item img,
    .nav-sub-item small {
        display: none;
    }

    .nav-sub-item strong {
        font-size: 1.4rem;
        color: #C8BFAE;
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
    .figures {
        grid-template-columns: repeat(2, 1fr);
    }

    .figure:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .figure:nth-child(n+3) {
        margin-top: 2rem;
        border-top: 1px solid var(--line-light);
    }



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

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

    .stat:nth-child(3n) {
        border-right: 1px solid var(--line-dark);
    }

    .stat:nth-child(2n) {
        border-right: 0;
    }

    .stat:nth-last-child(-n+3) {
        border-bottom: 1px solid var(--line-dark);
    }

    .stat:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .cartel-hero {
        display: none;
    }

}

@media (max-width: 860px) {
    .nav-toggle {
        display: block;
        z-index: 2;
    }

    .nav-menu {
        position: fixed;
        inset: 0;
        flex-direction: column;
        justify-content: center;
        gap: 1.75rem;
        background: var(--nuit);
        color: var(--alabaster);
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s var(--ease), visibility .35s;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        font-family: var(--font-display);
        font-size: 2rem;
        font-weight: 400;
    }

    .nav-menu .btn-nav {
        font-family: var(--font-body);
        font-size: 1rem;
        margin-top: 1rem;
    }

    .header.menu-open {
        color: var(--alabaster);
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .header.menu-open .logo-light {
        opacity: 1;
    }

    .header.menu-open .logo-dark {
        opacity: 0;
    }

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

    .panel-text {
        padding-inline: var(--gutter);
        max-width: 40rem;
    }

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

    .apropos-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .apropos-visual {
        justify-self: start;
        max-width: 17rem;
        margin-bottom: 5rem;
    }

    .presentation-card {
        right: -55%;
        width: 90%;
    }

    .section-head-split {
        grid-template-columns: 1fr;
    }

    .section-head-split p {
        text-align: left;
    }

    .google-reviews-badge {
        justify-self: start;
        white-space: normal;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 1rem;
    }

    .hero-inner {
        padding-top: 7rem;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .figure,
    .figure + .figure {
        padding: 1.5rem .75rem 0 0;
    }

    .figure:nth-child(even) {
        padding-left: .75rem;
        border-left: 1px solid var(--line-light);
    }

    .tab {
        padding: .9rem .25rem 1rem;
        font-size: 1.15rem;
    }

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

    .hero-inner {
        padding-top: 7rem;
    }

    .apropos-visual {
        max-width: 62%;
    }

    .presentation-card {
        right: -50%;
        width: 100%;
        bottom: -3.5rem;
    }

    .presentation-caption {
        display: none;
    }

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

    .stat,
    .stat:nth-child(3n) {
        border-right: 0;
    }

    .stat:nth-last-child(-n+3) {
        border-bottom: 1px solid var(--line-dark);
    }

    .stat:last-child {
        border-bottom: 0;
    }

    .form-row,
    .values,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .values div + div {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--line-light);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation: none !important;
    }

    .marquee-track {
        flex-wrap: wrap;
        width: auto;
        row-gap: 1rem;
        padding-inline: var(--gutter);
    }



    .marquee-track [aria-hidden="true"] {
        display: none;
    }

    .marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }
}
