/* ============================================================
   BARGHACH PICTURES — Feuille de style principale
   ============================================================ */

/* ---------- Polices ---------- */
@font-face {
    font-family: "AGaramond";
    src: url("../assets/fonts/AGaramondPro-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AGaramond";
    src: url("../assets/fonts/AGaramondPro-Italic.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* ---------- Variables ---------- */
:root {
    --color-bg: #ffffff;
    --color-text: #111111;
    --color-muted: #666666;
    --color-line: #e6e6e6;
    --color-accent: #111111;
    --header-height: 104px;
    --max-width: 1280px;
    --font-main: "AGaramond", "Garamond", Georgia, serif;
}

/* ---------- Reset léger ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ============================================================
   EN-TÊTE
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-line);
}

.header-inner {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    height: var(--header-height);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* ---------- Logo ---------- */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 78px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ---------- Conteneur nav + actions ----------
   display:contents => sur desktop, .main-nav et .header-actions
   se comportent comme des enfants directs de .header-inner (flex). */
.nav-collapse {
    display: contents;
}

/* ---------- Navigation (milieu) ----------
   Positionnée en absolu et centrée sur la LARGEUR de la page,
   donc indépendante du logo (gauche) et de l'icône compte (droite). */
.main-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    position: relative;
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    color: var(--color-text);
    padding: 6px 0;
    transition: color 0.2s ease;
}

/* Soulignement animé au survol */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--color-accent);
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    font-style: italic;
}

/* Rubrique pas encore disponible : ne mène nulle part */
.nav-link--soon {
    color: var(--color-muted);
    cursor: default;
}
.nav-link--soon:hover::after {
    width: 0;
}

/* ---------- Panier + réseaux sociaux (droite) ---------- */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex-shrink: 0;
}

/* --- Panier --- */
.cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--color-line);
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.cart-btn:hover {
    border-color: var(--color-accent);
    background-color: #f7f7f7;
    transform: translateY(-1px);
}

.cart-btn svg {
    width: 21px;
    height: 21px;
    fill: var(--color-text);
}

/* Pastille du nombre d'articles */
.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 60px;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.7rem;
    line-height: 19px;
    text-align: center;
    box-sizing: border-box;
}

.cart-count[hidden] {
    display: none;
}

/* --- Réseaux sociaux de l'en-tête --- */
.header-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-socials .social svg {
    width: 18px;
    height: 18px;
    fill: var(--color-text);
    opacity: 0.75;
}

.header-socials .social:hover svg {
    opacity: 1;
}

/* ---------- Bouton menu mobile (caché sur desktop) ---------- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animation croix quand ouvert */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Panier actif (page panier) */
.cart-btn.active {
    border-color: var(--color-accent);
    background-color: #f2f2f2;
}

/* ============================================================
   HERO VIDÉO (accueil)
   ============================================================ */
.hero {
    /* Pleine largeur de l'écran, format cinéma 16:9 */
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #0a0a0a;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* Bouton son du hero (en bas à droite) */
.hero-sound {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-sound:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.75);
    transform: scale(1.06);
}

.hero-sound svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Par défaut (muet) : on montre l'icône « muet », on cache l'icône « son » */
.hero-sound .icon-sound { display: none; }
.hero-sound .icon-muted { display: block; }

/* Son activé */
.hero-sound.is-on .icon-sound { display: block; }
.hero-sound.is-on .icon-muted { display: none; }

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    font-weight: normal;
    letter-spacing: 0.04em;
    line-height: 1.05;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-slogan {
    margin-top: 18px;
    font-style: italic;
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   PÔLES / ACTIVITÉS (bandes par étages, alternées)
   ============================================================ */
.stages-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 96px 32px 120px;
}

.section-eyebrow {
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 64px;
}

.stages {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/* Un étage = image d'un côté, texte de l'autre */
.stage {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    gap: 60px;
}

/* Alternance : sur les étages pairs, l'image passe à droite */
.stage:not(.stage--edition) {
    grid-template-rows: auto 1fr;
    row-gap: 0;
    column-gap: 60px;
    grid-template-areas:
        "media head"
        "media body";
}
.stage:not(.stage--edition):nth-child(even) {
    grid-template-areas:
        "head media"
        "body media";
}
.stage:not(.stage--edition) .stage-head  { grid-area: head; max-width: 540px; }
.stage:not(.stage--edition) .stage-media { grid-area: media; }
.stage:not(.stage--edition) .stage-body  { grid-area: body; }

/* Étage Éditions : titre en bandeau pleine largeur, corps calé en haut à droite */
.stage--edition {
    grid-template-columns: 1.08fr 1fr;
    grid-template-areas:
        "head head"
        "media body";
    align-items: start;
    column-gap: 60px;
    row-gap: 30px;
}
.stage--edition .stage-head { grid-area: head; }
.stage--edition .stage-media { grid-area: media; }
.stage--edition .stage-body { grid-area: body; }
.stage--edition .stage-head {
    margin-bottom: 6px;
}
.stage--edition .stage-title {
    white-space: nowrap;
    margin-bottom: 0;
}
.stage--edition .stage-body {
    max-width: none;
}
.stage--edition .stage-media {
    align-self: stretch;
    aspect-ratio: auto;
    min-height: 100%;
}

/* ---- Image ---- */
.stage-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    background-color: #0d0d0d;
    background-size: cover;
    background-position: center;
    transition: transform 0.55s ease, box-shadow 0.55s ease;
}
.stage-media:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.20);
}
.stage-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.22) 100%);
    transition: background 0.4s ease;
}
.stage-media:hover .stage-media-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.30) 100%);
}

/* ---- Texte ---- */
.stage-body {
    max-width: 540px;
}

.stage-index {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.82rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 20px;
}
.stage-index::before {
    content: "";
    width: 42px;
    height: 1px;
    background: var(--color-text);
}

.stage-title {
    font-size: clamp(2rem, 3.2vw, 3.1rem);
    font-weight: normal;
    letter-spacing: 0.01em;
    line-height: 1.06;
    margin-bottom: 22px;
}

.stage-desc {
    font-size: 1.12rem;
    line-height: 1.65;
    color: #333333;
    margin-bottom: 30px;
}

/* ---- Mini-galerie ---- */
.stage-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 34px;
}
.stage-thumb {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    background-color: #0d0d0d;
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
    transition: transform 0.35s ease, filter 0.35s ease;
}
.stage-thumb:hover {
    transform: scale(1.05);
    filter: grayscale(0);
}

/* ---- Tuiles collections (Heartless / White Death) ---- */
.stage-collections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 34px;
}
.stage-col {
    position: relative;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    overflow: hidden;
    background-color: #0d0d0d;
    background-size: cover;
    background-position: center top;
    filter: grayscale(1);
    transition: transform 0.4s ease, filter 0.4s ease;
}
.stage-col:hover {
    transform: translateY(-4px);
    filter: grayscale(0);
}
/* Couverture toujours en couleur (ex. Heartless) */
.stage-col--color {
    filter: grayscale(0);
}
/* Tuile White Death : pas d'image encore, ambiance sombre et mystérieuse */
.stage-col--wd {
    background-image:
        radial-gradient(120% 90% at 50% -10%, rgba(255, 255, 255, 0.16), transparent 60%),
        linear-gradient(180deg, #141414 0%, #000 100%);
}
.stage-col-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.85) 100%);
}
.stage-col-label {
    position: relative;
    z-index: 1;
    padding: 16px;
    color: #fff;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}
.stage-col-label em {
    display: block;
    margin-bottom: 4px;
    font-style: italic;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ---- Lien ---- */
.stage-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-style: italic;
    font-size: 1.12rem;
    letter-spacing: 0.01em;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--color-text);
    transition: gap 0.25s ease, opacity 0.25s ease;
}
.stage-link::after {
    content: "→";
    font-style: normal;
    transition: transform 0.25s ease;
}
.stage-link:hover {
    gap: 16px;
}
.stage-link:hover::after {
    transform: translateX(4px);
}
.stage-link--soon {
    color: var(--color-muted);
    border-bottom-color: var(--color-line);
    cursor: default;
}
.stage-link--soon:hover {
    gap: 10px;
}

/* ============================================================
   BANDEAU CITATION (full-width, court)
   ============================================================ */
.quote-band {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 32px;
    color: #ffffff;
    background-color: #0b0b0b;
    background-image: var(--quote-img);
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* léger effet parallax sur desktop */
    overflow: hidden;
}

.quote-band-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 6, 0.68);
}

.quote-band-text {
    position: relative;
    z-index: 1;
    max-width: 1150px;
    font-size: clamp(1.55rem, 3.1vw, 2.6rem);
    font-style: italic;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

/* Dernière phrase gardée sur une seule ligne (desktop) */
.q-last {
    white-space: nowrap;
}

.quote-band-sign {
    position: relative;
    z-index: 1;
    margin-top: 26px;
    font-size: 0.9rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

/* ============================================================
   SÉLECTION DE RÉALISATIONS (galerie mosaïque)
   ============================================================ */
.gallery-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 32px 120px;
}

.section-heading {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: normal;
    letter-spacing: 0.02em;
    margin-bottom: 48px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    gap: 14px;
}

.g-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #0d0d0d;
    background-image: var(--g-img);
    background-size: cover;
    background-position: center;
    transition: background-size 0.45s ease;
    will-change: background-size;
}

.g-item:hover {
    background-size: 106%;
}

/* Cadre réalisation contenant une vidéo */
.g-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.g-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.35s ease;
}

.g-item:hover .g-overlay {
    background: rgba(0, 0, 0, 0.18);
}

/* Disposition mosaïque (rythme éditorial, tuiles horizontales uniquement) */
.g-1 { grid-column: span 2; grid-row: span 1; }  /* vedette, large */

.gallery-cta {
    text-align: center;
    margin-top: 48px;
}

.ghost-btn {
    display: inline-block;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    color: var(--color-text);
    border: 1px solid var(--color-text);
    padding: 13px 34px;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.ghost-btn:hover {
    background-color: var(--color-text);
    color: #ffffff;
}

/* ============================================================
   PAGE CONNEXION / INSCRIPTION
   ============================================================ */
.auth-page {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background-color: #fafafa;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid var(--color-line);
    border-radius: 6px;
    padding: 44px 40px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);
}

.auth-title {
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 6px;
}

.auth-subtitle {
    text-align: center;
    color: var(--color-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field-label {
    font-size: 0.95rem;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.field input {
    font-family: var(--font-main);
    font-size: 1.05rem;
    padding: 11px 14px;
    border: 1px solid var(--color-line);
    border-radius: 4px;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.field input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
}

.remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-muted);
    cursor: pointer;
}

.link-muted {
    color: var(--color-muted);
    transition: color 0.2s ease;
}

.link-muted:hover {
    color: var(--color-text);
}

.auth-submit {
    font-family: var(--font-main);
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    color: #ffffff;
    background-color: var(--color-accent);
    border: 1px solid var(--color-accent);
    padding: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.auth-submit:hover {
    background-color: #ffffff;
    color: var(--color-accent);
}

.auth-switch {
    text-align: center;
    margin-top: 28px;
    color: var(--color-muted);
    font-size: 1rem;
}

.link-strong {
    color: var(--color-text);
    font-style: italic;
    border-bottom: 1px solid var(--color-text);
    padding-bottom: 1px;
}

.auth-submit:disabled {
    opacity: 0.55;
    cursor: default;
}

/* ---------- Messages de formulaire ---------- */
.auth-message {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}
.auth-message:empty { display: none; }
.auth-message.ok  { color: #2c7a4b; }
.auth-message.err { color: #b3261e; }

/* ---------- Espace client ---------- */
.compte-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 90px 24px 120px;
}

.compte-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--color-line);
    margin-bottom: 56px;
}
.compte-head h1 {
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    font-weight: normal;
    font-style: italic;
    line-height: 1.1;
}
.compte-mail {
    margin-top: 10px;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.compte-logout {
    font-family: var(--font-main);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text);
    background: none;
    border: 1px solid var(--color-line);
    border-radius: 60px;
    padding: 13px 30px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.compte-logout:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

.compte-section + .compte-section { margin-top: 64px; }
.compte-section h2 {
    font-size: 0.82rem;
    font-weight: normal;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8f8f8f;
    margin-bottom: 26px;
}

.compte-empty {
    font-style: italic;
    color: var(--color-muted);
    font-size: 1.1rem;
}

/* Liste des commandes */
.commande {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 22px 2px;
    border-bottom: 1px solid var(--color-line);
}
.commande:first-of-type { border-top: 1px solid var(--color-line); }
.commande-date {
    font-size: 1.05rem;
    color: var(--color-text);
}
.commande-ref {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: #aaa;
}
.commande-total {
    font-size: 1.25rem;
    color: var(--color-text);
}

@media (max-width: 700px) {
    .compte-page { padding: 60px 20px 90px; }
    .compte-head { align-items: flex-start; }
    .compte-logout { width: 100%; }
}

/* ============================================================
   PIED DE PAGE
   ============================================================ */
.site-footer {
    background-color: #000000;
    color: #cfcfcf;
    padding: 84px 0 34px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ---------- Bloc marque ---------- */
.footer-brand {
    display: flex;
    flex-direction: column;
}

/* Conteneur qui épouse la largeur du logo (ne doit jamais être étiré par le flex du footer-brand) */
.footer-mark {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 20px;
}

.footer-logo {
    display: block;
    height: 160px;
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
}

/* La tagline se justifie pour occuper toute la largeur du logo */
.footer-tagline {
    width: 100%;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #e9e9e9;
    text-align: justify;
    text-align-last: justify;
}

.footer-baseline {
    font-style: italic;
    font-size: 1.05rem;
    color: #9a9a9a;
    margin-bottom: 26px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 18px;
}

.social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social svg {
    width: 21px;
    height: 21px;
    fill: #ffffff;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social:hover svg {
    opacity: 1;
    transform: translateY(-2px);
}

/* ---------- Colonnes de liens ---------- */
.footer-heading {
    font-size: 0.82rem;
    font-weight: normal;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8f8f8f;
    margin-bottom: 22px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-col a {
    font-size: 1.05rem;
    color: #d2d2d2;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

/* ---------- Barre inférieure ---------- */
.footer-bottom {
    max-width: var(--max-width);
    margin: 56px auto 0;
    padding: 26px 24px 0 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-copy {
    font-size: 0.92rem;
    color: #8a8a8a;
}

.footer-bottom-links {
    display: flex;
    gap: 34px;
}

.footer-bottom-links a {
    font-size: 0.92rem;
    color: #a5a5a5;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Échelle typographique globale : tout ce qui est en rem (titres, textes,
   boutons...) rétrécit proportionnellement sur mobile, pour un rendu plus
   compact et mieux équilibré avec les visuels (vidéo, images en vw/%). */
@media (max-width: 700px) {
    html { font-size: 15px; }
}
@media (max-width: 480px) {
    html { font-size: 13.5px; }
}

@media (max-width: 980px) {
    .header-inner {
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
    }

    /* Le conteneur devient un vrai panneau déroulant */
    .nav-collapse {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 24px;
        background-color: #ffffff;
        border-bottom: 1px solid var(--color-line);
        padding: 28px 24px 36px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    }

    .site-header.nav-open .nav-collapse {
        display: flex;
    }

    /* Reset du centrage absolu : la nav redevient un bloc normal */
    .main-nav {
        position: static;
        transform: none;
        justify-content: center;
        width: 100%;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 22px;
        width: 100%;
    }

    .nav-link {
        font-size: 1.3rem;
    }

    .header-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .cart-btn {
        width: 54px;
        height: 54px;
    }

    .cart-btn svg {
        width: 24px;
        height: 24px;
    }

    .header-socials {
        gap: 20px;
    }

    .header-socials .social svg {
        width: 21px;
        height: 21px;
    }

    .stages-section {
        padding: 64px 20px 80px;
    }

    .section-eyebrow {
        margin-bottom: 44px;
    }

    .stages {
        gap: 64px;
    }

    .stage {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Ordre mobile identique pour tous les étages : index + titre, puis image,
       puis description, puis photos, puis bouton (mêmes zones que Éditions). */
    .stage:not(.stage--edition),
    .stage:not(.stage--edition):nth-child(even) {
        grid-template-areas:
            "head"
            "media"
            "body";
        row-gap: 28px;
    }

    /* Éditions : on réempile en une colonne, titre libéré du nowrap */
    .stage--edition {
        grid-template-columns: 1fr;
        grid-template-areas:
            "head"
            "media"
            "body";
        row-gap: 28px;
    }
    .stage--edition .stage-title {
        white-space: normal;
    }

    .stage-media {
        aspect-ratio: 16 / 10;
    }

    .stage--edition .stage-media {
        aspect-ratio: 16 / 10;
        align-self: auto;
        min-height: 0;
    }

    .stage-body {
        max-width: none;
    }

    .quote-band {
        padding: 68px 24px;
        background-attachment: scroll;
    }

    .q-last {
        white-space: normal;
    }

    /* Footer : marque en pleine largeur + colonnes sur 2 rangées */
    .footer-inner {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 34px 28px;
        padding: 0 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 12px;
    }

    .footer-bottom {
        padding: 26px 28px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    /* Galerie : 2 colonnes, mosaïque simplifiée */
    .gallery-section {
        padding: 68px 20px 80px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 12px;
    }

    .g-1 { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 560px) {
    .gallery {
        gap: 8px;
        grid-auto-rows: 140px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   ÉDITIONS — Bandeau d'en-tête (hero)
   ============================================================ */
.ed-hero {
    position: relative;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 90px 24px;
    background-color: #0b0b16;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.ed-hero-title,
.ed-hero-sub {
    position: relative;
    z-index: 1;
    color: #f4f1fb;
}

.ed-hero-title {
    /* Identique au titre de l'accueil (.hero-title) */
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    font-weight: normal;
    letter-spacing: 0.04em;
    line-height: 1.05;
    text-shadow: 0 2px 34px rgba(0, 0, 0, 0.55);
}

.ed-hero-sub {
    margin-top: 18px;
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    font-style: italic;
    letter-spacing: 0.03em;
    color: rgba(244, 241, 251, 0.92);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

@media (max-width: 700px) {
    .ed-hero { min-height: 340px; padding: 60px 20px; }
}

/* Variante Films : le titre est déjà gravé dans l'image du bandeau.
   Le cadrage descend l'image pour centrer le panneau « Barghach Pictures ». */
.ed-hero--films {
    justify-content: flex-end;
    background-position: center 62%;
}

.ed-hero--films .ed-hero-sub {
    margin-top: 0;
}

/* Variante vidéo : un film en boucle derrière le titre, légèrement assombri.
   La vidéo reste fixe (ancrée à l'écran) tant que ce bloc défile, puis disparaît
   une fois le bloc dépassé — le transform sur le conteneur le rend "clippant"
   pour ses enfants position:fixed (même principe que le fond fixe de la page
   À Demi Maux, adapté ici à une vidéo confinée à son propre bloc). */
.ed-hero--video {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    min-height: 560px;
}
.ed-hero-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ed-hero-video-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
}
@media (max-width: 700px) {
    .ed-hero--video { min-height: 420px; }
}

/* Masqué visuellement, lisible par les lecteurs d'écran */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   FILMS — Sections de la page
   ============================================================ */
.fi-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 90px 32px 20px;
}
.fi-section--branches {
    padding-top: 100px;
    scroll-margin-top: var(--header-height);
}

/* --- En-tête de section --- */
.fi-head {
    text-align: center;
    margin: 0 auto 64px;
}
.fi-index {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 16px;
}
.fi-title {
    font-size: clamp(2.4rem, 5vw, 3.9rem);
    font-weight: normal;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.05;
}
.fi-note {
    margin-top: 14px;
    font-size: 0.95rem;
    color: var(--color-muted);
}
.fi-head::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    background: var(--color-text);
    opacity: 0.5;
    margin: 28px auto 0;
}

/* --- Affiches de films (format vertical 2:3, comme au cinéma) --- */
.fi-posters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
}
.fi-poster-media {
    display: block;
    position: relative;
    aspect-ratio: 2 / 3;
    background-color: #111111;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.fi-poster-media:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
}
.fi-poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 45%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.fi-poster-media:hover .fi-poster-overlay { opacity: 1; }

.fi-poster-title {
    margin-top: 20px;
    font-size: 1.25rem;
    font-weight: normal;
    font-style: italic;
    color: var(--color-text);
}
.fi-poster-meta {
    margin-top: 6px;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-muted);
}

/* --- Production / Distribution : grandes lignes alternées --- */
.fi-rows {
    display: flex;
    flex-direction: column;
    gap: 90px;
}
.fi-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
/* Ligne inversée : texte à gauche, image à droite */
.fi-row.reverse .fi-row-visual { order: 2; }
.fi-row.reverse .fi-row-text   { order: 1; }

.fi-row-visual {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25);
}
.fi-row-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fi-row-visual:hover img { transform: scale(1.08); }
.fi-row-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    transition: background 0.5s ease;
}
.fi-row-visual:hover::after { background: rgba(0, 0, 0, 0); }

.fi-row-num {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 18px;
}
.fi-row-title {
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    font-weight: normal;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.1;
    margin-bottom: 20px;
}
.fi-row-desc {
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--color-muted);
    max-width: 480px;
    margin-bottom: 28px;
}
/* Petite liste de prestations, pour donner du corps au bloc */
.fi-row-list {
    list-style: none;
    margin: 0 0 34px;
    padding: 0;
    border-top: 1px solid var(--color-line);
    max-width: 480px;
}
.fi-row-list li {
    padding: 13px 0 13px 26px;
    position: relative;
    border-bottom: 1px solid var(--color-line);
    font-size: 0.98rem;
    color: var(--color-text);
}
.fi-row-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 1px;
    background: var(--color-text);
    opacity: 0.45;
}

/* --- Appel : se faire distribuer --- */
.fi-cta {
    margin-top: 110px;
    padding: 110px 32px;
    background: #0b0b0b;
    text-align: center;
}
.fi-cta-inner {
    max-width: 760px;
    margin: 0 auto;
}
.fi-cta-tag {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}
.fi-cta-title {
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    font-weight: normal;
    font-style: italic;
    color: #ffffff;
    line-height: 1.1;
}
.fi-cta-desc {
    margin: 22px auto 38px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    max-width: 560px;
}
.fi-cta .ed-book-btn {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* Bandeau citation : même habillage noir que l'appel, mais sans bouton */
.fi-cta--quote {
    margin-top: 100px;
    padding: 110px 20px;
}
/* La citation doit pouvoir occuper toute la largeur de l'écran */
.fi-cta--quote .fi-cta-inner { max-width: none; }
/* La citation tient sur une seule ligne : la taille suit la largeur
   de l'écran plutôt que de passer à la ligne. */
.fi-quote-text {
    font-size: clamp(0.6rem, 2.7vw, 2.4rem);
    font-style: italic;
    font-weight: normal;
    line-height: 1.4;
    color: #ffffff;
    white-space: nowrap;
}
.fi-quote-sign {
    margin-top: 30px;
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* Bandeau noir servant d'en-tête de page (Casting) */
.fi-cta--head {
    margin-top: 0;
}

/* ============================================================
   CASTING — Postes & candidature
   ============================================================ */
.cs-roles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--color-line);
    border: 1px solid var(--color-line);
}
.cs-role {
    background: var(--color-bg);
    padding: 46px 44px;
    transition: background 0.35s ease;
}
.cs-role:hover { background: #fafafa; }
.cs-role-tag {
    display: block;
    font-size: 0.74rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 18px;
}
.cs-role-name {
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: normal;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 14px;
}
.cs-role-desc {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--color-muted);
    margin-bottom: 24px;
}
/* Boutons des pages Casting et Un projet : même pastille arrondie
   que le bouton « Découvrir » des pages Éditions et Films. */
.cs-role-link,
.cs-form .auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-accent);
    color: #ffffff;
    border: 1px solid var(--color-accent);
    border-radius: 60px;
    font-family: inherit;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 15px 34px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.cs-role-link:hover,
.cs-form .auth-submit:hover {
    background: #ffffff;
    color: var(--color-text);
    transform: translateY(-2px);
}
.cs-form .auth-submit {
    align-self: flex-start;
    padding: 17px 44px;
    margin-top: 6px;
}
.cs-role-link .arw { transition: transform 0.3s ease; }
.cs-role-link:hover .arw { transform: translateX(5px); }

/* --- Comment postuler --- */
.cs-apply {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 70px;
    align-items: center;
}
/* Colonne de gauche : les étapes, puis l'engagement de confidentialité.
   Les deux forment un seul bloc, pour que le formulaire reste à droite. */
.cs-apply-gauche {
    display: flex;
    flex-direction: column;
}
.cs-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-line);
}
.cs-steps li {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-line);
}
.cs-step-num {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    color: var(--color-muted);
    flex-shrink: 0;
}
.cs-steps p {
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--color-text);
}
.cs-apply-mail {
    margin-top: 20px;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    color: var(--color-muted);
}
.cs-lien { color: var(--color-text); }

/* Aucune annonce, ou chargement en cours */
.cs-vide {
    grid-column: 1 / -1;
    background: var(--color-bg);
    padding: 46px 44px;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--color-muted);
}

/* Zone de candidature */
.cs-form-zone {
    border: 1px solid var(--color-line);
    padding: 44px 40px;
}
.cs-form-lock { text-align: center; }
.cs-lock-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-muted);
    margin-bottom: 28px;
}
.cs-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.cs-form .field-aide {
    text-transform: none;
    letter-spacing: 0;
    color: var(--color-muted);
    font-size: 0.85em;
}
.cs-form select,
.cs-form textarea,
.cs-form input[type="file"] {
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-line);
    border-radius: 4px;
    padding: 14px 16px;
}
.cs-form textarea { resize: vertical; }
.cs-form select:focus,
.cs-form textarea:focus,
.cs-form input:focus {
    outline: none;
    border-color: var(--color-text);
}
.cs-form input[type="file"] { padding: 12px 16px; cursor: pointer; }

@media (max-width: 900px) {
    .cs-roles { grid-template-columns: 1fr; }
    .cs-apply { grid-template-columns: 1fr; gap: 44px; }
    .cs-role { padding: 36px 28px; }
}

/* --- Sélection Instagram (respire entre l'appel et le pied de page) --- */
.fi-insta {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 32px 120px;
}
.fi-insta-handle {
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--color-line);
    padding-bottom: 3px;
    transition: border-color 0.3s ease;
}
.fi-insta-handle:hover { border-color: var(--color-text); }

.fi-insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.fi-insta-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background-color: #111111;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.fi-insta-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.fi-insta-item:hover .fi-insta-overlay { opacity: 1; }
.fi-insta-overlay svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
}

.fi-insta-foot {
    margin-top: 46px;
    text-align: center;
}

@media (max-width: 1000px) {
    .fi-posters { grid-template-columns: repeat(2, 1fr); }
    .fi-insta-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .fi-row,
    .fi-row.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .fi-row.reverse .fi-row-visual { order: 1; }
    .fi-row.reverse .fi-row-text   { order: 2; }
    .fi-rows { gap: 70px; }
}
@media (max-width: 560px) {
    .fi-section { padding: 60px 20px 10px; }
    .fi-posters { gap: 18px; }
    .fi-cta { margin-top: 70px; padding: 70px 20px; }
    .fi-insta { padding: 70px 20px 80px; }
    .fi-insta-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ÉDITIONS — Collections de romans
   ============================================================ */
.ed-collections {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 90px 32px 110px;
}

/* Séparateur entre deux collections : filet fin centré et beaucoup d'air */
.ed-collection + .ed-collection {
    position: relative;
    margin-top: 90px;
    padding-top: 90px;
}
.ed-collection + .ed-collection::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 1px;
    background: var(--color-line);
}

/* --- En-tête de collection --- */
/* Le bloc occupe la colonne de gauche de .ed-book : il se centre donc
   au-dessus des deux couvertures. */
.ed-collection-head {
    width: calc(50% - 35px);
    text-align: center;
    margin: 0 0 64px;
}
.ed-collection-index {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #9b7fd4;
    margin-bottom: 16px;
}
.ed-collection-name {
    font-size: clamp(2.4rem, 5vw, 3.9rem);
    font-weight: normal;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.05;
}
.ed-collection-note {
    margin-top: 14px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: var(--color-muted);
}
.ed-collection-head::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    background: #9b7fd4;
    opacity: 0.6;
    margin: 28px auto 0;
}

/* --- Bloc livre (couvertures + infos) --- */
.ed-book {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.ed-book.reverse .ed-book-covers { order: 2; }
.ed-book.reverse .ed-book-info   { order: 1; }

.ed-book-covers {
    position: relative;
    display: flex;
    gap: 22px;
    justify-content: center;
}
/* Halo violet derrière les couvertures */
.ed-book-covers::before {
    content: "";
    position: absolute;
    inset: 4% 10%;
    background: radial-gradient(closest-side, rgba(155, 127, 212, 0.38), rgba(155, 127, 212, 0));
    filter: blur(34px);
    z-index: 0;
}
.ed-book-covers img {
    position: relative;
    z-index: 1;
    width: 46%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    align-self: center;
    border-radius: 12px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
    transition: transform 0.4s ease;
    display: block;
}
.ed-book-covers img:hover { transform: translateY(-10px); }

/* --- Infos du livre --- */
.ed-book-tag {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #9b7fd4;
    margin-bottom: 16px;
}
.ed-book-title {
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: normal;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.1;
    margin-bottom: 20px;
}
.ed-book-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-muted);
    max-width: 540px;
    margin-bottom: 28px;
}
.ed-book-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
    color: var(--color-text);
}
.ed-book-price {
    font-size: 1.5rem;
}
.ed-book-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cfcfcf;
}
.ed-book-format {
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}
.ed-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-style: italic;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    color: var(--color-text);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--color-text);
    transition: gap 0.25s ease;
}
.ed-book-btn:hover {
    gap: 16px;
}
.ed-book-btn .arw { transition: transform 0.25s ease; }
.ed-book-btn:hover .arw { transform: translateX(4px); }

/* ============================================================
   ÉDITIONS — Collection « White Death » (compte à rebours)
   ============================================================ */
.ed-collection--wd .ed-collection-index,
.ed-collection--wd .ed-book-tag {
    color: #c20c0c;
}
.ed-collection--wd .ed-collection-head::after {
    background: #c20c0c;
}
.ed-collection--wd .ed-book-btn {
    color: #8a0303;
    border-bottom-color: #8a0303;
}

.ed-book-subtitle {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 24px;
}

/* --- Compte à rebours --- */
.ed-countdown {
    display: flex;
    gap: 18px;
    justify-content: center;
}
.ed-count-box {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 26px 16px;
    background: #1a0303;
    border: 1px solid #5e0d0d;
    border-radius: 14px;
    box-shadow: 0 22px 50px rgba(120, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* --- Compteur en "4e de couverture" (carte à côté de la couverture) --- */
.ed-book-covers .ed-countdown {
    position: relative;
    z-index: 1;
    width: 46%;
    aspect-ratio: 2 / 3;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 24px;
    background: linear-gradient(160deg, #1a0303 0%, #050000 100%);
    border: 1px solid #5e0d0d;
    border-radius: 12px;
    box-shadow: 0 22px 50px rgba(120, 0, 0, 0.28);
}
.ed-countdown-label {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #9a6b6b;
}
.ed-count-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
}
.ed-book-covers .ed-count-box {
    padding: 18px 8px;
    box-shadow: none;
}
.ed-countdown.scrambling .ed-count-box {
    transform: translateY(-3px);
    box-shadow: 0 26px 55px rgba(180, 0, 0, 0.4);
}
.ed-count-num {
    font-size: clamp(2rem, 3.2vw, 3.25rem);
    font-weight: 700;
    line-height: 1;
    color: #c20c0c;
    font-family: Arial, Helvetica, sans-serif;
    font-variant-numeric: tabular-nums;
}
.ed-count-label {
    margin-top: 13px;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9a6b6b;
}

@media (max-width: 860px) {
    .ed-collections { padding: 60px 20px 80px; }
    .ed-collection-head { width: auto; }
    .ed-countdown { gap: 10px; }
    .ed-count-box { padding: 16px 8px; }
    .ed-count-label { font-size: 0.58rem; letter-spacing: 0.08em; }
    .ed-book-subtitle { margin-left: auto; margin-right: auto; }
    .ed-collection + .ed-collection { margin-top: 90px; padding-top: 90px; }
    .ed-collection + .ed-collection::before { width: 120px; }
    .ed-book, .ed-book.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .ed-book.reverse .ed-book-covers { order: 1; }
    .ed-book.reverse .ed-book-info   { order: 2; }
    .ed-book-desc { margin-left: auto; margin-right: auto; }
    .ed-book-meta { justify-content: center; }
}

/* ============================================================
   ESPACE DE DIRECTION
   ============================================================ */
.dir-body {
    background: #0b0b0b;
    color: #f2f2f2;
}

.dir-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #0b0b0b;
    border-bottom: 1px solid #232323;
}
.dir-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dir-logo {
    font-size: 0.82rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #f2f2f2;
    text-decoration: none;
}
.dir-header-right {
    display: flex;
    align-items: center;
    gap: 22px;
}
.dir-who {
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #8a8a8a;
}
.dir-out {
    background: none;
    border: 1px solid #333333;
    border-radius: 60px;
    color: #f2f2f2;
    font-family: inherit;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 10px 22px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}
.dir-out:hover { background: #f2f2f2; color: #0b0b0b; }

.dir-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 32px 100px;
}
.dir-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: normal;
    font-style: italic;
}
.dir-subtitle {
    margin-top: 10px;
    color: #8a8a8a;
    font-size: 1rem;
}

/* --- Chiffres --- */
.dir-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: #232323;
    border: 1px solid #232323;
    margin: 50px 0 60px;
}
.dir-stat {
    background: #101010;
    padding: 30px 26px;
}
.dir-stat-num {
    display: block;
    font-size: 2.4rem;
    line-height: 1;
}
.dir-stat-label {
    display: block;
    margin-top: 12px;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #8a8a8a;
}

/* --- Onglets --- */
.dir-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #232323;
    margin-bottom: 36px;
}
.dir-tab {
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #8a8a8a;
    font-family: inherit;
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 14px 20px;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.dir-tab:hover { color: #f2f2f2; }
.dir-tab.active {
    color: #f2f2f2;
    border-bottom-color: #f2f2f2;
}

/* --- Tableaux --- */
.dir-table-wrap {
    overflow-x: auto;
    border: 1px solid #232323;
}
.dir-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
    min-width: 820px;
}
.dir-table th {
    text-align: left;
    font-weight: normal;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8a8a8a;
    padding: 18px 20px;
    border-bottom: 1px solid #232323;
    background: #101010;
}
.dir-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #1c1c1c;
    vertical-align: top;
}
.dir-table tr:last-child td { border-bottom: 0; }
.dir-table a { color: #f2f2f2; }
.dir-msg {
    max-width: 320px;
    color: #b4b4b4;
    line-height: 1.6;
}
.dir-vide {
    padding: 40px 20px;
    text-align: center;
    color: #8a8a8a;
}

.dir-mini {
    background: none;
    border: 1px solid #333333;
    border-radius: 60px;
    color: #f2f2f2;
    font-family: inherit;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 8px 18px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}
.dir-mini:hover { background: #f2f2f2; color: #0b0b0b; }

.dir-etat {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.dir-etat.ouvert { color: #6fcf97; }
.dir-etat.ferme  { color: #8a8a8a; }

.dir-statut {
    background: #101010;
    color: #f2f2f2;
    border: 1px solid #333333;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.86rem;
    padding: 8px 12px;
}
.dir-statut.erreur { border-color: #c20c0c; }

/* --- Formulaire de création d'annonce --- */
.dir-form {
    border: 1px solid #232323;
    padding: 34px 32px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.dir-form-titre {
    font-size: 1.4rem;
    font-weight: normal;
    font-style: italic;
}
.dir-form-grille {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.dir-form .field-label { color: #8a8a8a; }
.dir-form input,
.dir-form select,
.dir-form textarea {
    width: 100%;
    background: #101010;
    color: #f2f2f2;
    border: 1px solid #333333;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.96rem;
    padding: 13px 15px;
}
.dir-form input:focus,
.dir-form select:focus,
.dir-form textarea:focus {
    outline: none;
    border-color: #f2f2f2;
}
.dir-form textarea { resize: vertical; }
.dir-form .auth-submit {
    align-self: flex-start;
    background: #f2f2f2;
    color: #0b0b0b;
    border: 1px solid #f2f2f2;
}
.dir-form .auth-submit:hover {
    background: transparent;
    color: #f2f2f2;
}

@media (max-width: 900px) {
    .dir-stats { grid-template-columns: repeat(2, 1fr); }
    .dir-form-grille { grid-template-columns: 1fr; }
    .dir-main { padding: 40px 20px 70px; }
    .dir-header-inner { padding: 18px 20px; }
}

/* --- Casting : introduction sous le bandeau --- */
.cs-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 32px 0;
    text-align: center;
}
.cs-intro-text {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.8;
    color: var(--color-muted);
}

/* --- Casting : filtres et tri des annonces --- */
.cs-filtres {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}
.cs-filtres-poles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cs-filtre {
    background: none;
    border: 1px solid var(--color-line);
    border-radius: 60px;
    color: var(--color-muted);
    font-family: inherit;
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 11px 24px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.cs-filtre:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}
.cs-filtre.active {
    background: var(--color-text);
    border-color: var(--color-text);
    color: #ffffff;
}
.cs-tri {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.cs-tri-label {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-muted);
}
.cs-tri select {
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-line);
    border-radius: 60px;
    padding: 10px 18px;
    cursor: pointer;
}
.cs-tri select:focus {
    outline: none;
    border-color: var(--color-text);
}

@media (max-width: 600px) {
    .cs-filtres { flex-direction: column; align-items: stretch; }
    .cs-tri { justify-content: space-between; }
}

/* Genre littéraire, sous la nature du projet */
.dir-genre {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a8a8a;
}

/* --- Un projet : engagement de confidentialité --- */
.cs-garantie {
    margin-top: 34px;
    padding: 30px 28px;
    border-left: 2px solid var(--color-text);
    background: #fafafa;
}
.cs-garantie-titre {
    font-size: 1.15rem;
    font-weight: normal;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 14px;
}
.cs-garantie-texte {
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--color-muted);
}
.cs-garantie-texte + .cs-garantie-texte { margin-top: 12px; }

/* Deux champs côte à côte dans les formulaires du site */
.cs-form-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
@media (max-width: 600px) {
    .cs-form-duo { grid-template-columns: 1fr; }
}

/* ============================================================
   ÉVÉNEMENTS — Barghach Memory : catégories
   ============================================================ */
.ev-intro {
    max-width: 780px;
    margin: 0 auto;
    padding: 80px 32px 0;
    text-align: center;
}
.ev-intro-text {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.8;
    color: var(--color-muted);
}

.ev-categories {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 90px 32px 120px;
}

.ev-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
}

.ev-card {
    display: flex;
    flex-direction: column;
}

.ev-card-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    background-color: #111111;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.ev-card-visual:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
}
.ev-card-title {
    margin-top: 26px;
    font-size: 1.5rem;
    font-weight: normal;
    font-style: italic;
    color: var(--color-text);
}
.ev-card-desc {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-muted);
}
.ev-card .ed-book-btn {
    margin-top: 20px;
    align-self: flex-start;
}

/* --- Rubrique à venir (réutilisable sur toute visuel position:relative + overflow:hidden) --- */
.bp-soon::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(10, 10, 10, 0.58);
}
.bp-soon-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    padding-bottom: 12px;
    font-family: var(--font-main);
    font-style: italic;
    font-size: 1.15rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}
.ed-book-btn--soon {
    color: var(--color-muted);
    border-bottom-color: var(--color-line);
    cursor: default;
}
.ed-book-btn--soon:hover {
    gap: 10px;
}

@media (max-width: 900px) {
    .ev-cards { gap: 24px; }
}
@media (max-width: 560px) {
    .ev-categories { padding: 60px 16px 70px; }
    .ev-cards { gap: 10px; }
    .ev-card-title { margin-top: 8px; font-size: 0.8rem; }
    .ev-card-desc { display: none; }
    .ev-card .ed-book-btn { margin-top: 6px; font-size: 0.68rem; gap: 4px; }
}

/* --- Notre processus (4 étapes) --- */
.ev-process {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 32px 100px;
}
.ev-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 44px;
}
.ev-step-num {
    display: block;
    font-family: "AGaramond", Garamond, serif;
    font-style: italic;
    font-size: 2.2rem;
    color: var(--color-line);
    margin-bottom: 18px;
}
.ev-step-title {
    font-size: 1.1rem;
    font-weight: normal;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 10px;
}
.ev-step-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-muted);
}

@media (max-width: 900px) {
    .ev-steps { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
}
@media (max-width: 560px) {
    .ev-steps { gap: 30px 20px; }
    .ev-step-num { font-size: 1.7rem; margin-bottom: 10px; }
    .ev-step-title { font-size: 1rem; }
    .ev-step-desc { font-size: 0.82rem; }
}

/* ============================================================
   MARIAGES — Page dédiée
   ============================================================ */

/* --- Navigation rapide (Gallery / Tarifs / Réserver) --- */
.wd-quicknav {
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.wd-quicknav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    background: #ffffff;
    border: 1px solid var(--color-line);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text);
    transition: background 0.3s ease, color 0.3s ease;
}
.wd-quicknav-link:hover {
    background: var(--wd-accent, #8f1d24);
    color: #ffffff;
    border-color: var(--wd-accent, #8f1d24);
}
@media (max-width: 700px) {
    .wd-quicknav-link { padding: 16px 10px; font-size: 0.82rem; letter-spacing: 0.02em; }
    .wd-intro { padding: 64px 20px 30px; }
    .wd-intro-text { font-size: 1.05rem; }
    .wd-tarifs { padding: 60px 20px 80px; }
    .wd-gallery-section { padding: 60px 20px 80px; }
    .wd-pack-body { padding: 22px 20px 24px; }
}

/* --- Intro éditoriale --- */
.wd-intro {
    max-width: 1180px;
    margin: 0 auto;
    padding: 100px 32px 40px;
    text-align: center;
}
.wd-intro-eyebrow {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 22px;
}
.wd-intro-title {
    font-size: clamp(2.6rem, 5.4vw, 3.8rem);
    font-style: normal;
    font-weight: normal;
    line-height: 1.1;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 24px;
}
.wd-intro-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 54px;
    height: 2px;
    background: var(--wd-accent, #8f1d24);
}
.wd-intro-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #333333;
    margin-top: 14px;
}

/* --- Section Tarifs : conteneur --- */
.wd-tarifs {
    margin-top: 40px;
    padding: 90px 32px 110px;
    background: #eef1f6;
}
.wd-tarifs-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* --- Galerie photo --- */
.wd-gallery-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 90px 32px 110px;
    scroll-margin-top: var(--header-height);
}
.wd-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.wd-gallery-item {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background-color: #111111;
    background-size: cover;
    background-position: center;
}
.wd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}
.wd-gallery-item:hover img {
    transform: scale(1.06);
}
.wd-gallery-caption {
    margin-top: 30px;
    text-align: center;
    font-size: 1.05rem;
    font-style: italic;
    letter-spacing: 0.05em;
    color: var(--color-text);
}
.wd-tarifs .fi-head::after,
.wd-gallery-section .fi-head::after {
    background: var(--wd-accent, #8f1d24);
    opacity: 1;
}
@media (max-width: 900px) {
    .wd-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .wd-gallery { gap: 8px; }
}

/* --- Offres / Tarifs (accordéon) --- */
.mg-wrap, .mg-wrap * { font-family: var(--font-main); box-sizing: border-box; }
.mg-wrap { width: 100%; margin: 0 auto; padding: 0; }

.wd-pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 24px; margin-bottom: 24px; }
.wd-pack-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    background: #fff;
    border: 1px solid var(--color-line);
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    overflow: hidden;
    transition: transform .4s ease, box-shadow .4s ease;
}
.wd-pack-card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(0,0,0,.1); }
.wd-pack-card--feat { border-color: var(--wd-accent, #8f1d24); }
.wd-pack-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    padding: 6px 14px;
    background: rgba(10,10,10,0.72);
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 30px;
}
.wd-pack-media {
    aspect-ratio: 4 / 3;
    background-color: #111;
    background-size: cover;
    background-position: center;
}
.wd-pack-body { flex: 1; display: flex; flex-direction: column; padding: 26px 24px 28px; }
.wd-pack-name { margin: 0; font-size: 1.5rem; font-style: italic; font-weight: normal; color: var(--color-text); }
.wd-pack-price { margin: 10px 0 14px; font-size: 2.1rem; font-weight: 600; color: var(--wd-accent, #8f1d24); }
.wd-pack-price span { font-size: 1.1rem; font-weight: 500; color: var(--color-muted); }
.wd-pack-desc { margin: 0; font-size: 0.95rem; line-height: 1.75; color: #555; }
.wd-pack-sep { width: 50px; height: 1px; background: var(--color-line); margin: auto 0 0; }
.wd-pack-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; text-decoration: none; color: var(--color-text); font-size: 15px; font-weight: 600; transition: gap .3s ease; }
.wd-pack-btn:hover { gap: 14px; }

.options-wrap { display: flex; flex-direction: column; gap: 12px; }
.opt-card { background: #fff; border: 1px solid var(--color-line); box-shadow: 0 4px 16px rgba(0,0,0,.05); overflow: hidden; transition: .4s ease; }
.opt-card:hover { transform: translateY(-2px); }
.opt-header { width: 100%; border: none; background: white; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; text-align: left; }
.opt-title h2 { margin: 0; font-size: 20px; font-weight: 600; color: var(--color-text); }
.opt-title p { margin: 5px 0 0; font-size: 13px; color: var(--color-muted); line-height: 1.5; }
.o-arrow { font-size: 18px; color: var(--color-muted); transition: .4s ease; display: inline-block; flex-shrink: 0; margin-left: 12px; }
.opt-card.active .o-arrow { transform: rotate(180deg); }
.opt-content { max-height: 0; overflow: hidden; transition: max-height .6s ease; }
.opt-inner { padding: 0 24px 24px; }
.opt-inner p { font-size: 15px; line-height: 1.9; color: #555; margin-bottom: 12px; }
.detail-line { font-size: 14px; color: #666; line-height: 1.7; padding-left: 12px; border-left: 1px solid var(--color-line); margin-bottom: 14px; }
.price-tag { font-size: 24px; font-weight: 600; color: var(--color-text); margin: 6px 0 2px; }
.price-sub { font-size: 13px; color: var(--color-muted); margin: 0 0 12px; }
.price-range { display: flex; flex-direction: column; margin-bottom: 14px; }
.price-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #555; padding: 8px 0; border-bottom: 1px solid #f0ece6; }
.price-row:last-child { border-bottom: none; }
.price-amount { font-weight: 600; color: var(--color-text); font-size: 16px; }

.mg-reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.mg-reveal.visible { opacity: 1; transform: translateY(0); }

@media(max-width: 768px) {
  /* 2 offres visibles sur la même ligne, la 3e se dévoile en glissant du doigt */
  .wd-pack-grid {
    display: flex;
    align-items: stretch;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .wd-pack-grid::-webkit-scrollbar { display: none; }
  .wd-pack-card {
    flex: 0 0 calc(50% - 8px);
    scroll-snap-align: start;
  }
  .opt-header { padding: 18px 18px; }
  .opt-inner { padding: 0 18px 20px; }
}
@media (max-width: 560px) {
  .wd-pack-grid { gap: 8px; }
  .wd-pack-card { flex: 0 0 calc(50% - 4px); }
  .wd-pack-body { padding: 10px 8px 12px; }
  .wd-pack-name { font-size: 0.78rem; font-style: normal; font-weight: 600; }
  .wd-pack-price { font-size: 0.95rem; margin: 4px 0 4px; }
  .wd-pack-price span { font-size: 0.6rem; }
  .wd-pack-desc { display: none; }
  .wd-pack-sep { margin: 8px 0 0; }
  .wd-pack-btn { font-size: 0.62rem; line-height: 1.3; margin-top: 8px; gap: 4px; }
  .wd-pack-tag { top: 6px; right: 6px; padding: 3px 7px; font-size: 0.52rem; }
}
