/* =========================================================
   THOMAS SALLABERRY — Theme styles
   Univers sombre, immersif, minimaliste.
   ========================================================= */

/* ---------- Webfonts (local) — Neue Haas Display ---------- */
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayXXThin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayXXThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayXThin.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayXThinItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayThin.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayThinItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayLight.ttf') format('truetype');
    font-weight: 350;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayLightItalic.ttf') format('truetype');
    font-weight: 350;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayRoman.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayRomanItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayMediu.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayMediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayBoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayBlack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Display';
    src: url('../fonts/NeueHaasDisplayBlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* ---------- Variables ---------- */
:root {
    --font-display: 'Neue Haas Display';
    --font-body: 'Heebo';
    --color-bg: #111111;
    --color-text: #ffffff;
    --color-muted: #aaaaaa;
    --color-card-bg: #ffffff;
    --color-card-text: #111111;
    --navbar-bg: rgba(0, 0, 0, 0.6);

    --container: 1280px;
    --gutter: clamp(20px, 4vw, 56px);
    --radius-card: 0px;
    --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.25);
    --card-gap: 4px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    /* ---------- Typography sizes (modify here to rescale globally) ----------
       Pixel sizes fixes : aucune mise à l'échelle responsive (sauf si tu remplaces
       par clamp/min). Une modification ici se répercute partout dans le site. */
    --h1-size:   40px;   /* H1 */
    --h2-size:   32px;   /* H2 */
    --h3-size:   24px;   /* H3 */
    --h4-size:   20px;   /* H4 */
    --h5-size:   16px;   /* H5 */
    --h6-size:   16px;   /* H6 */
    --body-size: 16px;   /* corps de texte (paragraphes, listes…) */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ---------- Couleur de sélection / surlignage texte ---------- */
::selection      { background: #ff3d10; color: #fff; }
::-moz-selection { background: #ff3d10; color: #fff; }
body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--body-size);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.55;
    font-weight: 400;
}
/* Front page — hero only, no scroll */
html:has(body.is-front) { overflow: hidden; height: 100%; }
body.is-front { overflow: hidden; height: 100vh; }
body.is-front .site-content { height: 100vh; overflow: hidden; }
body.is-front .site-footer { display: none; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }
/* Body copy — Heebo
   Note : on n'inclut PAS `span` ici car les H1 sont splittés en spans pour
   l'animation d'intro — ils doivent hériter de Neue Haas Display, pas Heebo.
   Les spans héritent naturellement de leur parent. */
p, li, blockquote, label, input, textarea, button, select {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
}
p {
    font-size: var(--body-size);
    line-height: 1.6;
}

/* Titles — Neue Haas Display */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 0.005em;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--color-text);
    margin: 0 0 0.6em;
}
h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
h4 { font-size: var(--h4-size); font-weight: 700; }
h5 { font-size: var(--h5-size); font-weight: 700; letter-spacing: 0.08em; }
h6 { font-size: var(--h6-size); font-weight: 700; letter-spacing: 0.12em; }

/* =========================================================
   BURGER TOGGLE (mobile only) + MOBILE NAV PANEL
   ========================================================= */
.menu-toggle {
    display: none; /* hidden on desktop */
    position: relative;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    z-index: 102;
}
.menu-toggle-bar {
    position: absolute;
    left: 4px;
    right: 4px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease, top 0.35s ease;
}
.menu-toggle-bar:nth-child(1) { top: 9px; }
.menu-toggle-bar:nth-child(2) { top: 15px; }
.menu-toggle-bar:nth-child(3) { top: 21px; }
body.menu-open .menu-toggle-bar:nth-child(1) { top: 15px; transform: rotate(45deg); }
body.menu-open .menu-toggle-bar:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle-bar:nth-child(3) { top: 15px; transform: rotate(-45deg); }

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    padding: 18px var(--gutter) 24px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.menu-open .mobile-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Top bar : logo (center) + close button (top-right) */
.mobile-nav-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.mobile-nav-logo {
    grid-column: 2;
    display: flex;
    justify-content: center;
}
.mobile-nav-logo .custom-logo,
.mobile-nav-logo img {
    max-height: 44px;
    max-width: 36vw;
    width: auto;
    height: auto;
    object-fit: contain;
}
.mobile-nav-brand {
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
}
.mobile-nav-close {
    grid-column: 3;
    justify-self: end;
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    border: 1.5px solid var(--color-text);
    border-radius: 5px;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
}
.mobile-nav-close svg {
    width: 14px;
    height: 14px;
    display: block;
}
.mobile-nav-close:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

/* Body : list of nav items, full width, vertical, large */
.mobile-nav-body {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding-top: 16px;
}
.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mobile-nav-menu li a {
    display: block;
    padding: 11px 18px;
    border-radius: 999px;
    text-align: center;
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-text);
    transition: background var(--transition), color var(--transition);
}
.mobile-nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.06);
}
/* Active page state — white pill */
.mobile-nav-menu li.current-menu-item > a,
.mobile-nav-menu li.current-page-item > a,
.mobile-nav-menu li.current-menu-ancestor > a {
    background: var(--color-text);
    color: var(--color-bg);
}

/* Bottom : socials as filled white circles */
.mobile-nav-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 24px;
}
.mobile-nav-bottom .mobile-socials {
    display: flex;
    gap: 16px;
}
.mobile-nav-bottom .social-icon {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
    width: 30px;
    height: 30px;
}
.mobile-nav-bottom .social-icon svg {
    width: 12px;
    height: 12px;
}
.mobile-nav-bottom .mobile-socials { gap: 12px; }
.mobile-nav-bottom .social-icon:hover {
    background: transparent;
    color: var(--color-text);
    transform: translateY(-2px);
}

/* Lock body scroll when menu is open */
body.menu-open { overflow: hidden; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background var(--transition), backdrop-filter var(--transition);
}
.site-header.is-scrolled {
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    display: grid;
    /* 3 colonnes égales pour que le logo soit parfaitement au milieu de la fenêtre,
       peu importe les largeurs du menu (gauche) et des socials (droite). */
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 22px var(--gutter);
    max-width: 100%;
}

/* nav left */
.nav-left { justify-self: start; }
.nav-menu {
    display: flex;
    gap: clamp(20px, 3vw, 44px);
}
.nav-menu li a,
.nav-menu li {
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text);
    transition: opacity var(--transition);
}
.nav-menu li a:hover { opacity: 0.65; }

/* brand */
.site-brand {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(14px, 1.4vw, 18px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text);
}
.brand-arrows { letter-spacing: -0.05em; opacity: 0.95; }

/* WP custom logo (set via Customizer → Identité du site) */
.site-brand--logo { line-height: 0; }
.site-brand--logo .custom-logo-link {
    display: inline-block;
}
.site-brand--logo img,
.custom-logo {
    height: clamp(36px, 4vw, 56px);
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

/* socials */
.nav-right { justify-self: end; }
.header-socials,
.footer-socials,
.hero-socials {
    display: flex;
    gap: 14px;
    align-items: center;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: var(--color-text);
    transition: background var(--transition), border-color var(--transition), transform var(--transition), color var(--transition);
}
.social-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
    transition: fill var(--transition);
}
.social-icon:hover {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
    transform: translateY(-2px);
}
.social-icon:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 3px;
}

/* =========================================================
   MAIN
   ========================================================= */
.site-content {
    /* full-bleed sections inside */
}

/* =========================================================
   HERO (front)
   ========================================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--color-bg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Front-page : hero locked to viewport, no scroll */
.hero-fullscreen {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--gutter);
    max-width: 1400px;
    width: 100%;
}
.hero-title {
    /* H1 — uses global --h1-size variable for consistent scaling */
    font-size: var(--h1-size);
    margin: 0 0 18px;
    white-space: nowrap;
}
.hero-subtitle {
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--color-text);
    opacity: 0.92;
    margin-bottom: 44px;
}
.hero-cta {
    display: inline-block;
    padding: 16px 42px;
    border: 1.5px solid var(--color-text);
    border-radius: 999px;
    color: var(--color-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: transparent;
    transition: background var(--transition), color var(--transition), transform var(--transition);
    cursor: pointer;
}
.hero-cta:hover {
    background: var(--color-text);
    color: var(--color-bg);
    transform: translateY(-2px);
}
.hero-socials {
    justify-content: center;
    margin-top: 38px;
}

/* =========================================================
   SECTION 2 — RÉALISATIONS (parallax)
   ========================================================= */
.realisations-section,
.services-section {
    position: relative;
    padding: 0 0 0 0;
    overflow: hidden;
    background-color: var(--color-bg);
}

.realisations-bg { display: none; }

/* Edge-to-edge card grid — full screen width, 2 per row, small homogeneous gap */
.realisations-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--card-gap);
    width: 100%;
    max-width: none;
    margin: 0;
}
.realisations-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--color-muted);
    padding: 80px 0;
}

/* =========================================================
   PROJECT CARD — full-bleed image, logo left, info on hover
   ========================================================= */
.proj-card {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    transition: box-shadow var(--transition);
}
.proj-card:hover {
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
}
/* Reveal animation only kicks in once JS has loaded.
   Without JS the cards remain visible. */
body.js-loaded .proj-card.js-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow var(--transition);
}
body.js-loaded .proj-card.js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.proj-card-img,
.proj-card-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--x, 50%) var(--y, 50%);
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}
/* Filtre noir et blanc — appliqué via la case à cocher de la metabox.
   Conserve son rendu N&B au hover (pas de retour couleur). */
.proj-card-img.is-bw,
.projet-hero-bg.is-bw {
    filter: grayscale(1);
}
.proj-card-placeholder {
    background: linear-gradient(135deg, #2b2b2b, #444);
}
.proj-card:hover .proj-card-img {
    transform: scale(1.04);
}

/* Client logo — centré au milieu de la card */
.proj-card-logo {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 40%;
    max-height: 55%;
    width: auto;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    transition: opacity 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.35));
}

/* White wash — hidden by default, fades in on hover */
.proj-card-wash {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.78);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}
.proj-card:hover .proj-card-wash,
.proj-card:focus-visible .proj-card-wash {
    opacity: 1;
}
.proj-card:hover .proj-card-logo {
    opacity: 0.18;
    filter: none;
}

/* Tactile (tablette / téléphone, sans hover) :
   le wash + l'info sont affichés par défaut, sinon l'utilisateur
   ne pourrait jamais voir les infos d'un service. */
@media (hover: none) {
    .proj-card-wash { opacity: 1; }
    .proj-card-logo { opacity: 0.18; filter: none; }
}

/* Info — hidden by default, fades in on hover, centered on the whole card */
.proj-card-info {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(16px, 2.5vw, 36px);
    color: var(--color-card-text);
    opacity: 0;
    transition: opacity 0.45s ease 0.05s;
    pointer-events: none;
}
.proj-card:hover .proj-card-info,
.proj-card:focus-visible .proj-card-info {
    opacity: 1;
}
@media (hover: none) {
    .proj-card-info { opacity: 1; }
}

.proj-card-client-name {
    /* H3 inside cards — overrides global color since card hover background is white */
    font-size: var(--h3-size);
    color: #111;
    margin: 0 0 14px;
    max-width: 100%;
}
.proj-card-year {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #222;
    margin: 0 0 14px;
}
.proj-card-tags {
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(10px, 0.85vw, 12px);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #333;
    margin: 0;
}

/* =========================================================
   PAGE HERO (réalisations / fallback)
   ========================================================= */
.page-hero {
    padding: 160px var(--gutter) 60px;
    background: var(--color-bg);
    text-align: center;
}
.page-hero-inner {
    max-width: var(--container);
    margin: 0 auto;
}
.page-hero-title {
    /* H1 */
    font-size: var(--h1-size);
}
.page-hero-desc {
    margin-top: 24px;
    color: var(--color-muted);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-size: var(--body-size);
    line-height: 1.7;
}

/* Services filter (réalisations) */
.services-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 36px;
}
.services-filter-link {
    display: inline-block;
    padding: 10px 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition);
}
.services-filter-link:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}
.services-filter-link.is-active {
    background: var(--color-text);
    border-color: var(--color-text);
    color: var(--color-bg);
}

/* =========================================================
   SINGLE PROJET
   ========================================================= */
.single-projet { background: var(--color-bg); }

.projet-hero {
    position: relative;
    min-height: 70vh;
    padding: 180px var(--gutter) 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
}
.projet-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--x, 50%) var(--y, 50%);
    z-index: 0;
}
.projet-hero { overflow: hidden; }
.projet-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}
.projet-hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
}
.projet-hero-logo {
    max-height: 64px;
    width: auto;
    margin-bottom: 24px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.projet-hero-title {
    /* H1 */
    font-size: var(--h1-size);
    max-width: 1000px;
    margin: 0 0 24px;
}
.projet-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
}
.projet-hero-meta li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.projet-hero-meta .meta-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}
.projet-hero-meta .meta-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

/* Shared section title — H2 */
.section-title {
    font-size: var(--h2-size);
    margin: 0 0 48px;
}
.section-title.centered {
    text-align: center;
}

/* Petit wrapper pour poser un .section-label au-dessus d'une grille / contenu
   en pleine largeur (services, réalisations, etc.). */
.section-intro {
    padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(28px, 3vw, 40px);
    text-align: center;
}
.section-intro .section-label { margin-bottom: 0; }

/* =========================================================
   2. CASE STUDY — H2 + texte + stats à droite
   ========================================================= */
.projet-case {
    padding: clamp(60px, 8vw, 120px) var(--gutter);
    background: var(--color-bg);
}
.projet-case-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
.projet-case-title {
    /* H2 */
    font-size: var(--h2-size);
    margin: 0 0 24px;
}
.projet-case-lead {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--body-size);
    font-weight: 500;
    line-height: 1.55;
    color: var(--color-text);
    margin: 0 0 28px;
}
.projet-case-body {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--body-size);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
}
.projet-case-body p { margin: 0 0 1.2em; }
.projet-case-body p:last-child { margin-bottom: 0; }

.projet-case-stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.projet-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.projet-stat-value {
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(36px, 4vw, 64px);
    line-height: 1;
    letter-spacing: 0.005em;
    color: var(--color-text);
}
.projet-stat-label {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-muted);
}

/* Hero : lien externe du projet */
.projet-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--color-text);
    transition: background var(--transition), border-color var(--transition);
}
.projet-hero-link:hover {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

/* =========================================================
   3. GALERIE — "Le contenu créé"
   ========================================================= */
.projet-gallery {
    padding: clamp(60px, 8vw, 120px) var(--gutter);
    background: #0a0a0a;
}
.projet-gallery .section-title {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}
.projet-gallery-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.projet-gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #1a1a1a;
    display: block;
}
.projet-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.projet-gallery-item:hover img { transform: scale(1.04); }

/* =========================================================
   3b/3c. VIDÉOS — verticales (9:16) et horizontales (16:9)
   ========================================================= */
.projet-videos {
    padding: clamp(60px, 8vw, 120px) 0;
    background: var(--color-bg);
}
.projet-videos .section-title {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--gutter);
}
.projet-videos-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    gap: 16px;
}
.projet-videos-grid--horizontal {
    grid-template-columns: repeat(2, 1fr);
}

/* ---- Slider — scroll natif manipulable + auto-advance JS ----
   Le scroll horizontal natif gère drag, swipe et wheel.
   Un script JS pousse doucement scrollLeft tant que l'utilisateur
   n'interagit pas (auto-pause 3s après chaque interaction). */
.projet-slider {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;     /* doux : ne force pas l'alignement */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;             /* Firefox */
    cursor: grab;
    /* fade léger aux extrémités */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.projet-slider::-webkit-scrollbar { display: none; } /* Chrome / Safari */
.projet-slider:active { cursor: grabbing; }

.projet-slider-track {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 0 var(--gutter);
}
.projet-slider-track > * {
    scroll-snap-align: start;
    flex: 0 0 auto;
    user-select: none; /* le drag ne sélectionne pas le texte */
}

/* Variante vertical : items 9:16 */
.projet-slider--vertical .projet-video-item--vertical {
    width: 240px;
    aspect-ratio: 9 / 16;
}

/* Variante articles externes : largeur fixée */
.projet-slider--externals .projet-external-card {
    width: 360px;
    align-self: stretch;
}

/* ---- Crop des embeds (Instagram) — masque le header + footer pour
   ne laisser visible que la vidéo. Le wrapper applique overflow:hidden
   et l'iframe est translatée verticalement pour cacher l'UI. ---- */
.ts-embed-crop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #000;
}
.ts-embed-crop iframe {
    position: absolute;
    left: -2px;
    right: -2px;
    width: calc(100% + 4px);
    /* ~60px header + ~70px footer Instagram */
    height: calc(100% + 130px);
    top: -55px;
    border: 0;
    pointer-events: auto;
}

/* Quand le crop est dans un wrapper 9:16 (vidéos verticales), il prend tout */
.projet-video-item--vertical {
    position: relative;
    overflow: hidden;
}
.projet-video-item--vertical .ts-embed-crop {
    inset: 0;
}

/* Mêmes wrappers pour les vidéos horizontales */
.projet-video-item--horizontal { position: relative; }
.projet-video-item--horizontal .ts-embed-crop { inset: 0; }

.projet-video-item {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}
.projet-video-item--vertical { aspect-ratio: 9 / 16; }
.projet-video-item--horizontal { aspect-ratio: 16 / 9; }

/* La balise <video> remplit le wrapper */
.projet-video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Les iframes oEmbed (TikTok, YouTube, etc.) doivent aussi remplir */
.projet-video-item iframe,
.projet-video-item .wp-embed-aspect-16-9,
.projet-video-item .embed-tiktok,
.projet-video-item blockquote.tiktok-embed {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: 0;
}

/* TikTok renvoie souvent un blockquote — on force un layout propre */
.projet-video-item blockquote.tiktok-embed { background: #000; }

.projet-video-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    text-align: center;
    color: var(--color-muted);
    font-size: 13px;
    word-break: break-all;
}
.projet-video-fallback:hover { color: var(--color-text); }

/* =========================================================
   3d. SITES EXTERNES — cards
   ========================================================= */
.projet-externals {
    padding: clamp(60px, 8vw, 120px) 0;
    background: var(--color-bg);
}
.projet-externals .section-title {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--gutter);
}
.projet-externals-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Card type "preview LinkedIn" : image en haut, contenu structuré dessous */
.projet-external-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #1a1a1a;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    text-decoration: none;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    position: relative;
}
.projet-external-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* Image preview (Open Graph) */
.projet-external-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0d0d0d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.projet-external-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.projet-external-card:hover .projet-external-thumb img {
    transform: scale(1.04);
}
/* Si l'image OG est cassée (404, CORS, etc.), on masque le wrapper proprement */
.projet-external-thumb.thumb-failed { display: none; }

/* Contenu textuel */
.projet-external-body {
    padding: 22px 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.projet-external-domain {
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
}
.projet-external-title {
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-text);
    /* Limite à 2 lignes max */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.projet-external-desc {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
    /* Limite à 3 lignes max */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.projet-external-cta {
    margin-top: auto;
    padding-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text);
    transition: transform var(--transition);
}
.projet-external-cta span[aria-hidden] {
    font-size: 18px;
    transition: transform var(--transition);
}
.projet-external-card:hover .projet-external-cta span[aria-hidden] {
    transform: translate(4px, -4px);
}

/* Variante sans image : layout plus dense + barre verticale d'accent */
.projet-external-card.no-image .projet-external-body {
    padding: 28px 30px;
    border-left: 3px solid rgba(255, 255, 255, 0.18);
    transition: border-color var(--transition);
}
.projet-external-card.no-image:hover .projet-external-body {
    border-left-color: var(--color-text);
}

/* =========================================================
   4. ÉTAPES — "Ce que j'ai réalisé"
   ========================================================= */
.projet-steps {
    padding: clamp(60px, 8vw, 120px) var(--gutter);
    background: var(--color-bg);
}
.projet-steps-inner {
    max-width: var(--container);
    margin: 0 auto;
}
.projet-steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.projet-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 32px;
    padding: 36px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.projet-step-num {
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(36px, 3.6vw, 56px);
    line-height: 1;
    color: var(--color-muted);
    letter-spacing: 0.02em;
}
.projet-step-title {
    /* H3 */
    font-size: var(--h3-size);
    margin: 0 0 12px;
}
.projet-step-desc {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--body-size);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* =========================================================
   Free WYSIWYG content (optional Gutenberg block content)
   ========================================================= */
.projet-content-free {
    padding: clamp(40px, 6vw, 80px) var(--gutter);
    background: var(--color-bg);
}
.projet-content-inner {
    max-width: 880px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    font-size: var(--body-size);
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
}
.projet-content-inner h2,
.projet-content-inner h3 { color: var(--color-text); margin: 1.6em 0 0.6em; }
.projet-content-inner img { margin: 24px 0; }

/* =========================================================
   5. NEXT PROJECT
   ========================================================= */
.projet-next {
    padding: clamp(40px, 6vw, 80px) 0 0;
    background: var(--color-bg);
}
.projet-next-eyebrow {
    text-align: center;
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin: 0 0 24px;
}
.proj-card--next {
    aspect-ratio: 21 / 9;
    width: 100%;
}

.projet-nav {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter) 80px;
}
.projet-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-muted);
    transition: color var(--transition);
}
.projet-back:hover { color: var(--color-text); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section {
    padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(60px, 8vw, 120px);
    background: var(--color-bg);
}
.contact-inner {
    max-width: 880px;
    margin: 0 auto;
}
.contact-intro {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--body-size);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 36px;
    text-align: center;
}
.contact-status {
    margin: 0 0 28px;
    padding: 16px 22px;
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    border: 1px solid;
}
.contact-status--success {
    border-color: rgba(120, 220, 150, 0.5);
    background: rgba(120, 220, 150, 0.08);
    color: #b6f0c5;
}
.contact-status--error {
    border-color: rgba(240, 100, 100, 0.5);
    background: rgba(240, 100, 100, 0.08);
    color: #ffb3b3;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.contact-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.form-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.form-label {
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text);
}
.form-required { color: var(--color-text); }
.form-input {
    width: 100%;
    padding: 18px 22px;
    background: #2a2a2a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--body-size);
    color: var(--color-text);
    transition: border-color var(--transition), background var(--transition);
}
.form-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 13px;
}
.form-input:focus {
    outline: none;
    border-color: var(--color-text);
    background: #303030;
}
.form-textarea {
    min-height: 220px;
    resize: vertical;
}
/* GDPR checkbox row — dark theme custom checkbox */
.form-row--checkbox {
    flex-direction: row;
    margin-top: 6px;
}
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    user-select: none;
}
.form-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.form-checkbox-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: #2a2a2a;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    margin-top: 2px;
    transition: background var(--transition), border-color var(--transition);
}
.form-checkbox-box::after {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--color-text);
    border-radius: 2px;
    transform: scale(0);
    transition: transform 0.18s cubic-bezier(0.5, 1.6, 0.4, 1);
}
.form-checkbox input[type="checkbox"]:checked ~ .form-checkbox-box {
    border-color: var(--color-text);
    background: #303030;
}
.form-checkbox input[type="checkbox"]:checked ~ .form-checkbox-box::after {
    transform: scale(1);
}
.form-checkbox input[type="checkbox"]:focus-visible ~ .form-checkbox-box {
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
}
.form-checkbox-text {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}
.form-checkbox-text a {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity var(--transition);
}
.form-checkbox-text a:hover { opacity: 0.7; }

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}
.form-submit {
    padding: 16px 42px;
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: transparent;
    border: 1.5px solid var(--color-text);
    border-radius: 999px;
    color: var(--color-text);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.form-submit:hover {
    background: var(--color-text);
    color: var(--color-bg);
    transform: translateY(-2px);
}

/* =========================================================
   À PROPOS — page-a-propos.php
   ========================================================= */

/* Eyebrow partagé entre les sections */
.about-eyebrow {
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin: 0 0 24px;
}

/* 1. HERO À propos — eyebrow + titre + texte + CTA à gauche, photo portrait à droite */
.about-hero {
    padding: 160px var(--gutter) clamp(60px, 8vw, 110px);
    background: var(--color-bg);
}
.about-hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
.about-hero-text {
    max-width: 520px;
}
.about-hero-title {
    /* H1 — variable globale */
    font-size: var(--h1-size);
    margin: 0 0 28px;
}
.about-hero-intro {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--body-size);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 36px;
}
.about-hero-intro p { margin: 0 0 1.2em; }
.about-hero-intro p:last-child { margin: 0; }

.about-hero-cta {
    display: inline-block;
    padding: 16px 36px;
    border: 1.5px solid var(--color-text);
    border-radius: 999px;
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.about-hero-cta:hover {
    background: var(--color-text);
    color: var(--color-bg);
    transform: translateY(-2px);
}

.about-hero-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    background: #1a1a1a;
    width: 100%;
    max-width: 520px;
    justify-self: end;
}
.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 2. SUR LE TERRAIN — texte à gauche, 3 photos verticales 9:16 à droite */
.about-terrain {
    padding: clamp(60px, 8vw, 120px) var(--gutter);
    background: #0a0a0a;
    min-height: clamp(560px, 75vh, 820px);
    display: flex;
    align-items: center;
}
.about-terrain-inner {
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2.4fr; /* texte plus étroit, 3 photos prennent + de place */
    gap: clamp(40px, 5vw, 80px);
    align-items: start;
}
.about-terrain-text {
    max-width: 360px;
}
.about-terrain-title {
    font-size: var(--h2-size);
    line-height: 1.05;
    margin: 0 0 24px;
}
.about-terrain-body {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--body-size);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}
.about-terrain-body p { margin: 0 0 1.1em; }
.about-terrain-body p:last-child { margin: 0; }

/* Les 3 photos en ligne, format 9:16 (style story / reel / TikTok) */
.about-terrain-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 1vw, 16px);
}
.about-terrain-photo {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #1a1a1a;
}
.about-terrain-photo-media {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
}
.about-terrain-photo-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-terrain-photo:hover .about-terrain-photo-media img {
    transform: scale(1.04);
}
.about-terrain-photo-placeholder {
    background: linear-gradient(135deg, #2a3540, #4a6480);
}
.about-terrain-photo:nth-child(2) .about-terrain-photo-placeholder {
    background: linear-gradient(135deg, #d4a373, #e8b87a);
}
.about-terrain-photo:nth-child(3) .about-terrain-photo-placeholder {
    background: linear-gradient(135deg, #4a5d3a, #6b8052);
}

/* Label discret sur la photo (overlay bas, dégradé) */
.about-terrain-photo-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 16px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text);
    text-align: left;
    pointer-events: none;
}

/* À propos — CTA de fin (style page classique) */
.about-cta {
    background: var(--color-bg);
    padding: clamp(80px, 10vw, 140px) 6vw;
    text-align: center;
}
.about-cta-inner {
    max-width: 720px;
    margin: 0 auto;
}
.about-cta-title {
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(36px, 5.4vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--color-text);
    margin: 18px 0 22px;
    text-transform: none;
}
.about-cta-desc {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-muted);
    max-width: 560px;
    margin: 0 auto 36px;
}
.about-cta-btn {
    display: inline-block;
    padding: 16px 42px;
    border: 1.5px solid var(--color-text);
    border-radius: 999px;
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.about-cta-btn:hover {
    background: var(--color-text);
    color: var(--color-bg);
    transform: translateY(-2px);
}

/* ============================================================
   À propos — Sections personnalisées (mini page builder)
   ============================================================ */
.about-cs {
    padding: clamp(70px, 9vw, 130px) var(--gutter);
    background: var(--color-bg);
    color: var(--color-text);
}
.about-cs-inner {
    max-width: var(--container);
    margin: 0 auto;
}
.about-cs-eyebrow { margin-bottom: 14px; }
.about-cs-title {
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(32px, 4.8vw, 56px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--color-text);
    margin: 0 0 36px;
}
.about-cs-content {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-muted);
}
.about-cs-content p { margin: 0 0 1.1em; }
.about-cs-content p:last-child { margin-bottom: 0; }
.about-cs-content--center {
    max-width: 720px;
    margin: 0 auto;
}
.about-cs-cols {
    display: grid;
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}
.about-cs-cols--2 { grid-template-columns: 1fr 1fr; }
.about-cs-cols--3 { grid-template-columns: 1fr 1fr 1fr; }
.about-cs-col {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-muted);
}
.about-cs-col p { margin: 0 0 1em; }
.about-cs-col p:last-child { margin-bottom: 0; }
.about-cs-col--media {
    overflow: hidden;
    border-radius: 8px;
}
.about-cs-col--media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
/* Bandeau plein largeur */
.about-cs--banner .about-cs-inner { max-width: none; padding: 0; }
.about-cs-banner-media {
    margin: 0 calc(-1 * var(--gutter)) 36px;
    overflow: hidden;
}
.about-cs-banner-media img {
    display: block;
    width: 100%;
    height: clamp(280px, 50vw, 520px);
    object-fit: cover;
}
.about-cs--banner .about-cs-eyebrow,
.about-cs--banner .about-cs-title,
.about-cs--banner .about-cs-content {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--gutter);
}

@media (max-width: 900px) {
    .about-cs-cols--2,
    .about-cs-cols--3 { grid-template-columns: 1fr; gap: 28px; }
}

/* Responsive À propos */
@media (max-width: 900px) {
    .about-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-hero-image {
        max-width: 480px;
        justify-self: start;
    }
    .about-terrain-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-terrain-text { max-width: none; }
}

@media (max-width: 600px) {
    /* Photos terrain : passer en scroll horizontal sur petit écran */
    .about-terrain-photos {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }
    .about-terrain-photo {
        scroll-snap-align: start;
    }
}

/* =========================================================
   GENERIC PAGE (page.php) — Mentions légales, CGV, etc.
   ========================================================= */
.page-article {
    background: var(--color-bg);
    padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(60px, 8vw, 120px);
}
.page-content {
    max-width: 880px;
    margin: 0 auto;
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--body-size);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}
.page-content p { margin: 0 0 1.4em; }
.page-content p:last-child { margin-bottom: 0; }
.page-content h2 {
    font-size: var(--h2-size);
    color: var(--color-text);
    margin: 1.8em 0 0.6em;
}
.page-content h3 {
    font-size: var(--h3-size);
    color: var(--color-text);
    margin: 1.6em 0 0.5em;
}
.page-content h4 {
    font-size: var(--h4-size);
    color: var(--color-text);
    margin: 1.4em 0 0.4em;
}
.page-content ul,
.page-content ol {
    padding-left: 1.5em;
    margin: 0 0 1.4em;
}
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin: 0 0 0.4em; }
.page-content a {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity var(--transition);
}
.page-content a:hover { opacity: 0.65; }
.page-content blockquote {
    border-left: 2px solid rgba(255, 255, 255, 0.25);
    padding: 0.6em 1.2em;
    margin: 1.6em 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
}
.page-content strong { color: var(--color-text); }
.page-content img {
    max-width: 100%;
    height: auto;
    margin: 1.6em 0;
    border-radius: 6px;
}
.page-content hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2em 0;
}

/* =========================================================
   FALLBACK (index)
   ========================================================= */
.default-content {
    max-width: 880px;
    margin: 0 auto;
    padding: 60px var(--gutter);
}
.default-article {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.default-title a {
    color: var(--color-text);
    font-size: var(--h2-size);
    font-weight: 800;
}
.default-excerpt {
    color: var(--color-muted);
    margin-top: 8px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: var(--color-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(60px, 8vw, 100px) var(--gutter) 40px;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

/* Logo */
.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-logo .custom-logo,
.footer-logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}
.footer-brand {
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text);
}

/* Two columns */
.footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(60px, 10vw, 140px);
    text-align: left;
}
.footer-col-title {
    font-family: var(--font-display), 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text);
    margin: 0 0 18px;
}
.footer-col-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-col-list a {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: opacity var(--transition);
}
.footer-col-list a:hover { opacity: 0.55; }

/* Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.footer-contact-link {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    transition: opacity var(--transition);
}
.footer-contact-link:hover { opacity: 0.6; }

/* Socials wrap */
.footer-socials-wrap .footer-socials {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
}

/* Copyright */
.footer-copy {
    font-family: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    color: var(--color-muted);
    margin: 8px 0 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .header-inner { grid-template-columns: auto 1fr auto; gap: 16px; }
    .nav-left { order: 1; }
    .site-brand { order: 2; }
    .nav-right { order: 3; }
    .nav-menu { gap: 18px; }
    .nav-menu li a { font-size: 11px; }
}

/* Mobile : show burger, hide desktop nav, force solid black header */
@media (max-width: 720px) {
    .site-header {
        background: var(--color-bg);          /* noir solide, plus de transparence */
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .site-header.is-scrolled { background: var(--color-bg); }

    .menu-toggle { display: block; }
    .nav-left { display: none; }
    .nav-right .header-socials { display: none; } /* repris dans le panel mobile */

    .header-inner {
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto;
        padding: 16px var(--gutter);
    }
    .menu-toggle { grid-column: 1; justify-self: start; }
    .site-brand { grid-column: 2; justify-self: center; }
    .nav-right { grid-column: 3; justify-self: end; min-width: 32px; }

    /* Brand text/logo plus compact sur mobile */
    .site-brand--logo .custom-logo,
    .site-brand--logo img { max-height: 40px; }

    /* Footer : 1 colonne */
    .footer-cols { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .footer-col-list { align-items: center; }
}

@media (max-width: 820px) {
    .realisations-grid { grid-template-columns: 1fr; gap: 20px; }
    .proj-card { aspect-ratio: 4 / 3; }
    /* Touch devices: keep logo visible by default; tap reveals wash + info */
    .proj-card-logo { left: 50%; max-width: 40%; }
    .proj-card-info {
        width: 100%;
        right: auto;
        left: 0;
    }

    /* Single projet — case study + gallery + steps responsive */
    .projet-case-inner { grid-template-columns: 1fr; gap: 40px; }
    .projet-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .projet-step { grid-template-columns: 60px 1fr; gap: 18px; padding: 28px 0; }
    .proj-card--next { aspect-ratio: 16 / 10; }

    /* Nouvelles sections media */
    .projet-videos-grid--horizontal { grid-template-columns: 1fr; }
    .projet-externals-grid { grid-template-columns: 1fr; }

    /* Sliders : items plus compacts sur tablette */
    .projet-slider--vertical .projet-video-item--vertical { width: 200px; }
    .projet-slider--externals .projet-external-card { width: 300px; }
}

@media (max-width: 540px) {
    .projet-gallery-grid { grid-template-columns: 1fr; }
    .projet-step { grid-template-columns: 1fr; gap: 8px; }
    .projet-step-num { font-size: 28px; }
    .projet-external-title { font-size: 17px; }
    .projet-slider--vertical .projet-video-item--vertical { width: 170px; }
    .projet-slider--externals .projet-external-card { width: 260px; }
}

@media (max-width: 640px) {
    /* Burger nav handles the mobile layout — only fine-tune below */
    .hero-subtitle { letter-spacing: 0.18em; }
    .hero-cta { padding: 14px 28px; font-size: 11px; }
    .projet-hero { min-height: 55vh; padding: 140px var(--gutter) 50px; }
}

/* =========================================================
   PAGE-LOAD INTRO ANIMATIONS
   - H1 / titles : word-by-word slide-up reveal (mask)
   - .reveal-up  : cascade fade-up
   - .site-header : slide-down on load
   Everything is paused until body.is-loaded is added by JS.
   ========================================================= */

/* Word reveal — mask + slide-up */
[data-reveal-words] {
    /* While JS hasn't run yet, keep the title invisible to avoid FOUC */
    visibility: hidden;
}
body.is-loaded [data-reveal-words] { visibility: visible; }

.reveal-word {
    display: inline-block;
    overflow: hidden;
    line-height: 1.05;
    vertical-align: bottom;
    /* Slight extra padding so descenders/ascenders aren't clipped */
    padding-bottom: 0.06em;
    padding-top: 0.02em;
}
.reveal-word-inner {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.95s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}
body.is-loaded .reveal-word-inner {
    transform: translateY(0);
}

/* Cascade fade-up for non-title elements */
.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}
body.is-loaded .reveal-up {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll reveal — entrée dans le viewport (auto-taggé en JS) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.85s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}
.scroll-reveal--item { transform: translateY(20px); }
/* Auto-tag générique (titres, paragraphes, images, listes…) : amplitude
   un peu réduite et transition plus courte pour ne pas alourdir le défilement. */
.scroll-reveal--auto {
    transform: translateY(16px);
    transition:
        opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.scroll-reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal--item,
    .scroll-reveal--auto {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Header slide-down on load.
   Le header est visible par défaut (opacity:1, no transform) pour que rien ne
   casse si le JS échoue ou tarde. Si le JS tourne, il pose `body.js-anim`
   très tôt et l'animation @keyframes joue au chargement uniquement. */
@keyframes ts-header-in {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
}
body.js-anim .site-header {
    animation: ts-header-in 0.7s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

/* Logo entrance — wipe reveal gauche → droite (PNG / texte).
   Utilisé quand pas de SVG animé défini. */
@keyframes ts-logo-wipe {
    0%   { clip-path: inset(0 100% 0 0); transform: translateX(-8px); opacity: 0; }
    1%   { opacity: 1; }
    100% { clip-path: inset(0 0 0 0); transform: translateX(0); opacity: 1; }
}
body.js-anim .site-brand--logo .custom-logo,
body.js-anim .site-brand--logo img,
body.js-anim .site-brand .brand-name {
    display: inline-block;
    animation: ts-logo-wipe 1.3s 0.55s cubic-bezier(0.65, 0.05, 0.36, 1) backwards;
    will-change: clip-path, transform, opacity;
}

/* ----------------------------------------------------------
   SVG animé — tracé lettre par lettre, puis remplissage.
   La classe `.site-brand--svg-animated` contient un SVG inliné.
   Le JS (initLogoSvgDraw) calcule getTotalLength() de chaque path
   et pose une CSS variable `--len` + un `animation-delay` propre à
   chaque path pour produire le stagger lettre par lettre.
   ---------------------------------------------------------- */
.site-brand--svg-animated {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    color: var(--color-text); /* currentColor utilisé par stroke et fill */
}
.site-brand--svg-animated svg {
    height: clamp(36px, 4vw, 56px);
    width: auto;
    display: block;
}

.site-brand--svg-animated svg path,
.site-brand--svg-animated svg polygon,
.site-brand--svg-animated svg rect,
.site-brand--svg-animated svg circle,
.site-brand--svg-animated svg ellipse,
.site-brand--svg-animated svg line,
.site-brand--svg-animated svg polyline {
    /* État animé (uniquement quand JS a tagué le shape) */
    vector-effect: non-scaling-stroke;
}

/* JS pose .ts-svg-draw-shape sur chaque shape qu'il a mesuré et
   set --len + --i (index pour le stagger). Les shapes non taggés
   restent dans leur état SVG d'origine. */
.ts-svg-draw-shape {
    fill: transparent;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: var(--len, 1000);
    stroke-dashoffset: var(--len, 1000);
}
body.js-anim .ts-svg-draw-shape {
    /* Délai = 0.4s d'attente initiale + 0.16s par lettre */
    animation: ts-letter-draw 1.4s cubic-bezier(0.65, 0.05, 0.36, 1) forwards;
    animation-delay: calc(0.4s + var(--i, 0) * 0.16s);
}
@keyframes ts-letter-draw {
    /* 0% → 60% : tracé du contour de la lettre */
    0%   { stroke-dashoffset: var(--len, 1000); fill: transparent; stroke-opacity: 1; }
    55%  { stroke-dashoffset: 0;                fill: transparent; stroke-opacity: 1; }
    /* 60% → 100% : remplissage de la lettre + fade du contour */
    100% { stroke-dashoffset: 0;                fill: currentColor; stroke-opacity: 0; }
}

/* Si JS off ou prefers-reduced-motion : le SVG s'affiche normalement
   (pas de tracé, juste rempli) */
body.no-anim .ts-svg-draw-shape,
body:not(.js-anim) .ts-svg-draw-shape {
    fill: currentColor;
    stroke-opacity: 0;
    stroke-dashoffset: 0;
}

/* Fallback : SVG sans paths animables (ex : SVG contenant un <image> raster).
   On joue alors une animation de wipe sur le SVG entier, comme pour un PNG. */
body.js-anim .site-brand--svg-fallback svg {
    animation: ts-logo-wipe 1.3s 0.55s cubic-bezier(0.65, 0.05, 0.36, 1) backwards;
    will-change: clip-path, transform, opacity;
}
@keyframes ts-arrows-slide {
    0%   { opacity: 0; transform: translateX(-14px); }
    100% { opacity: 1; transform: translateX(0); }
}
body.js-anim .site-brand .brand-arrows {
    display: inline-block;
    animation: ts-arrows-slide 0.8s 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

/* No-anim mode : bypass everything (reduced-motion users) */
body.no-anim .reveal-word-inner,
body.no-anim .reveal-up,
body.no-anim .site-header {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
}
body.no-anim [data-reveal-words] { visibility: visible; }

/* =========================================================
   CUSTOM CURSOR — small white circle following the pointer
   ========================================================= */
.ts-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    mix-blend-mode: difference;
    transition: opacity 0.25s ease,
                width 0.25s ease,
                height 0.25s ease,
                background 0.25s ease;
    will-change: transform;
}
.ts-cursor.is-visible { opacity: 1; }
.ts-cursor.is-out     { opacity: 0; }
/* Larger ring on hover over interactive elements */
.ts-cursor.is-hover {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.9);
}

/* Hide custom cursor on touch / coarse pointer devices */
@media (pointer: coarse), (hover: none) {
    .ts-cursor { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .proj-card { opacity: 1; transform: none; }
    .realisations-section { background-attachment: scroll; }
    .ts-cursor { display: none; }
}

/* =====================================================================
   SINGLE PROJET — VARIANTE MARIAGE (.single-projet--wedding / .wed-*)
   ===================================================================== */

.single-projet--wedding {
    background: var(--color-bg);
    color: var(--color-text);
}

/* ---------- Hero plein écran ---------- */
.wed-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    padding: 180px var(--gutter) 80px;
    overflow: hidden;
}
.wed-hero-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.wed-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wed-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.45) 50%,
        rgba(0,0,0,0.6) 100%
    );
}
.wed-hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
}
.wed-hero-kicker {
    font-family: var(--font-body), sans-serif;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 18px;
}
.wed-hero-title {
    font-family: var(--font-display), serif;
    font-weight: 400;
    font-size: clamp(34px, 6vw, 84px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wed-hero-title em {
    font-style: italic;
    font-weight: 300;
}

/* ---------- Bandeau meta : Lieu · Date · Services ---------- */
.wed-meta-band {
    background: #f4f1ec;
    color: #1a1a1a;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.wed-meta-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 38px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px 48px;
}
.wed-meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    min-width: 0;
}
.wed-meta-label {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #888;
}
.wed-meta-value {
    font-family: var(--font-display), serif;
    font-weight: 400;
    font-size: 19px;
    color: #1a1a1a;
    letter-spacing: 0.01em;
}
.wed-meta-divider {
    width: 1px;
    height: 38px;
    background: rgba(0,0,0,0.18);
}

/* ---------- Section label réutilisable ---------- */
.section-label,
.wed-section-label {
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 18px;
    position: relative;
    padding-left: 32px;
    display: block;
}
.section-label::before,
.wed-section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}
.section-label.centered,
.wed-section-label.centered {
    text-align: center;
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
    width: max-content;
    max-width: 100%;
}
.section-label.centered::before,
.wed-section-label.centered::before {
    left: -36px;
}
.section-label.centered::after,
.wed-section-label.centered::after {
    content: '';
    position: absolute;
    right: -36px;
    top: 50%;
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}
.section-label.light,
.wed-section-label.light { color: rgba(255,255,255,0.7); }

/* ---------- Intro ---------- */
.wed-intro {
    padding: clamp(60px, 9vw, 120px) var(--gutter);
}
.wed-intro-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: clamp(40px, 6vw, 90px);
}
.wed-intro-title {
    font-family: var(--font-display), serif;
    font-weight: 400;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 28px;
    max-width: 14ch;
}
.wed-intro-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--color-muted);
}
.wed-para {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,0.78);
    margin-bottom: 18px;
    max-width: 52ch;
}
.wed-para--lead {
    font-size: 18px;
    color: rgba(255,255,255,0.92);
}
.wed-para-body p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,0.78);
    margin-bottom: 18px;
    max-width: 52ch;
}
.wed-intro-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.wed-intro-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--transition);
}
.wed-intro-photo:hover img { transform: scale(1.04); }

/* ---------- Galerie photo (réutilise .projet-gallery-grid) ---------- */
.wed-gallery-inner {
    max-width: var(--container);
    margin: 0 auto;
}
.wed-gallery-inner .wed-section-label.centered {
    color: rgba(255,255,255,0.7);
    margin-bottom: 18px;
}
.wed-gallery-title {
    font-family: var(--font-display), serif;
    font-weight: 400;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-align: center;
    margin: 0 0 56px;
}

/* ---------- Vidéo ---------- */
.wed-video-section {
    padding: clamp(60px, 9vw, 120px) var(--gutter);
    background: var(--color-bg);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.wed-video-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.wed-video-title {
    font-family: var(--font-display), serif;
    font-weight: 400;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 48px;
}
.wed-video-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.wed-video-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.wed-video-embed iframe,
.wed-video-embed video,
.wed-video-embed > * {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
}
.wed-video-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 4px;
    transition: border-color var(--transition), opacity var(--transition);
}
.wed-video-link:hover {
    border-color: var(--color-text);
    opacity: 0.85;
}
.wed-video-link span { margin-left: 6px; }

/* ---------- CTA ---------- */
.wed-cta {
    background: #f4f1ec;
    color: #1a1a1a;
    padding: clamp(70px, 9vw, 130px) var(--gutter);
}
.wed-cta-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.wed-cta .wed-section-label { color: #888; }
.wed-cta-title {
    font-family: var(--font-display), serif;
    font-weight: 400;
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #1a1a1a;
    margin: 0 0 20px;
}
.wed-cta-desc {
    font-size: 17px;
    line-height: 1.65;
    color: #4a4a4a;
    margin: 0 auto 36px;
    max-width: 52ch;
}
.wed-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform var(--transition), background var(--transition);
}
.wed-cta-btn:hover {
    transform: translateY(-2px);
    background: #000;
}
.wed-cta-btn span { transition: transform var(--transition); }
.wed-cta-btn:hover span { transform: translateX(4px); }

/* ---------- Bouton retour (réutilise .projet-back) ---------- */
.wed-nav {
    background: var(--color-bg);
    text-align: center;
    padding: 40px var(--gutter) 80px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .wed-hero { min-height: 78vh; padding: 140px var(--gutter) 60px; }
    .wed-meta-inner { gap: 18px 28px; padding: 28px var(--gutter); }
    .wed-meta-divider { display: none; }
    .wed-meta-item { flex: 1 1 40%; }
    .wed-intro-inner { grid-template-columns: 1fr; gap: 40px; }
    .wed-intro-photo { aspect-ratio: 1 / 1; max-height: 520px; }
    .wed-section-label.centered::before,
    .wed-section-label.centered::after { width: 14px; }
    .wed-section-label.centered::before { left: -22px; }
    .wed-section-label.centered::after  { right: -22px; }
}
@media (max-width: 560px) {
    .wed-hero { min-height: 68vh; padding: 120px var(--gutter) 50px; }
    .wed-hero-title { font-size: clamp(38px, 11vw, 56px); }
    .wed-meta-item { flex: 1 1 100%; }
    .wed-cta-btn { padding: 14px 26px; font-size: 13px; }
}

