/* Gabarit 2026 (docs/home.jpg), charge APRES bootstrap.css, lh-style.css et
   shop.css. Les classes neuves (site-header, site-footer, hp-*) tiennent
   l'ancien CSS a l'ecart, et la grille est maison : .row de Bootstrap 3 porte
   des marges negatives qui debordent des sections pleine largeur. */

:root {
    --c-plum:      #4f3139;   /* barre d'annonce */
    --c-beige:     #e7ddd4;   /* sections alternees et pied de page */
    --c-brick:     #b03f3b;
    --c-ink:       #2a2320;
    --c-ink-soft:  #6d635e;
    --c-card:      #1c202b;   /* fond des cartes de jeu */
    --c-rule:      #cbbfb4;
    --c-vert:      #2f9e41;   /* campagne : progression et paliers atteints */
    --c-vert-clair:#eef7ef;
    --hp-max:      1394px;    /* largeur de contenu du gabarit (3344px / 2.4) */

    /* Chaque pile finit par une famille generique : sur le mutualise, un .ttf
       absent doit degrader, pas rendre la page illisible. */
    --f-titre: 'Inika', Georgia, 'Times New Roman', serif;
    --f-texte: 'Inria Sans', 'Helvetica Neue', Arial, sans-serif;
    --f-hero:  'Garamond No9 TOT', Georgia, 'Times New Roman', serif;
}

/* POLICES

   Garamond No9 est deja declaree par lh-style.css ; on la redeclare ici a
   l'identique pour ajouter "font-display: swap" et rendre cette feuille
   autonome. La graisse 300 vient de lh-style.css, ou c'est elle qui porte
   GaramondNo9TOT-Regular.otf : la graisse normale y pointe sur -Medium.otf,
   dont dependent les pages historiques. */

@font-face {
    font-family: 'Inika';
    src: url(../fonts/Inika-Regular.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inika';
    src: url(../fonts/Inika-Bold.ttf) format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inria Sans';
    src: url(../fonts/InriaSans-Light.ttf) format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inria Sans';
    src: url(../fonts/InriaSans-Regular.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inria Sans';
    src: url(../fonts/InriaSans-Italic.ttf) format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Inria Sans';
    src: url(../fonts/InriaSans-Bold.ttf) format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Garamond No9 TOT';
    src: url(../fonts/GaramondNo9TOT-Regular.otf) format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* --- Socle ---------------------------------------------------------------
   Le selecteur porte ".bodyHome" et non "body" seul : lh-style.css pose
   "SourceSansPro" sur .bodyHome (specificite 0,1,0) et l'emporterait sinon. */
body.bodyHome { font-family: var(--f-texte); }

/* Selecteur nu : les titres du HTML libre et ceux des pages boutique n'ont
   aucune classe pg-* a viser. */
body.bodyHome h1,
body.bodyHome h2,
body.bodyHome h3,
body.bodyHome h4,
body.bodyHome h5,
body.bodyHome h6 {
    font-family: var(--f-titre);
    font-weight: 700;
    /* Inika est plus large que Georgia : un mot long elargirait la page. */
    overflow-wrap: break-word;
}

.hp-wrap {
    max-width: var(--hp-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Le theme historique reservait 150px pour un en-tete fixe ; celui-ci est en
   flux (sticky), la reserve n'a plus lieu d'etre. */
.page-content { padding-top: 40px; }

/* Le beige vient de ".bodyHome" dans lh-style.css, feuille de l'ANCIEN site : un document juridique se lit sur blanc. */
body.page-legale { background: #fff; }

.site-announce {
    background: var(--c-plum);
    color: #fff;
    font-size: 13px;
    letter-spacing: .01em;
}
.site-announce .hp-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 38px;
}
/* min-width:0 indispensable : un enfant flex a min-width:auto par defaut,
   refuse de passer sous la largeur de son texte et elargit la page entiere. */
.site-announce p { margin: 0; text-align: center; min-width: 0; }
.site-announce p a { color: #fff; text-decoration: underline; }
.site-announce .site-lang {
    position: absolute;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-family: var(--f-titre);
    font-weight: 700;
    text-transform: uppercase;
}
.site-announce .site-lang:hover { color: #fff; text-decoration: underline; }
.site-lang__flag { display: block; width: 16px; line-height: 0; }
.site-lang__flag svg { width: 100%; height: auto; display: block; }

/* Mesuree, et lue par les offsets sticky de shop.css : elle se modifie avec la barre et la nav ci-dessous. */
:root { --h-entete: 128px; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid #ece7e2;
}
.site-header__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 74px;
}
.site-header__side { display: flex; align-items: center; gap: 18px; min-width: 0; }
.site-header__side--right { justify-content: flex-end; }
.site-header__side a { color: var(--c-ink); line-height: 0; }
.site-header__side a:hover { color: var(--c-brick); }
.site-header__side svg { width: 21px; height: 21px; }
.site-header__cart { position: relative; }
/* Le logo ne laisse que ~115 px a chaque cote : le contact reste au menu, Patreon au pied. */
@media (max-width: 479px) { .site-header__contact { display: none; } }
@media (max-width: 359px) { .site-header__patreon { display: none; } }
.site-header__badge { position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-brick, #b03f3b); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-sizing: border-box; pointer-events: none; }

.site-header__logo { justify-self: center; }
.site-header__logo img { height: 33px; width: auto; display: block; }

.site-nav { border-top: 1px solid #ece7e2; }
.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 38px;
    min-height: 52px;
    align-items: center;
}
.site-nav a {
    color: var(--c-ink);
    font-family: var(--f-titre);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}
.site-nav a:hover,
.site-nav a:focus { color: var(--c-brick); text-decoration: none; }
.site-nav .is-active > a { color: var(--c-brick); }

/* La boutique en bouton plein : du rouge seul se confondrait avec l'entree active. */
.site-nav .site-nav__item--boutique > a {
    padding: 9px 16px;
    border-radius: 3px;
    background: var(--c-brick);
    color: #fff;
}
.site-nav .site-nav__item--boutique > a:hover,
.site-nav .site-nav__item--boutique > a:focus,
.site-nav .site-nav__item--boutique.is-active > a { background: var(--c-plum); color: #fff; }

/* --- Sous-menus -----------------------------------------------------------
   L'entree de premier niveau occupe toute la hauteur de la barre : sinon un
   interstice la separe de son panneau et le survol se perd en descendant. */
.site-nav__item {
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.site-nav__disclosure { display: flex; align-items: center; align-self: stretch; }

/* "display: flex" suffit sur les moteurs recents ; "list-style" et le
   pseudo-element couvrent Firefox et Safari. */
.site-nav__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    font-family: var(--f-titre);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--c-ink);
    cursor: pointer;
}
.site-nav__toggle::-webkit-details-marker { display: none; }
.site-nav__toggle::marker { content: ''; }
.site-nav__toggle:hover,
.site-nav__toggle:focus { color: var(--c-brick); }
/* Descendant et non enfant direct : le <summary> pend du <details>, pas du
   <li> qui recoit .is-active. */
.site-nav .is-active .site-nav__toggle { color: var(--c-brick); }
.site-nav__caret { width: 9px; height: 6px; flex: none; transition: transform .18s ease; }

/* "ul.site-nav__sub" et non ".site-nav__sub" seul : la regle ".site-nav ul"
   ci-dessus est plus specifique et remettrait le panneau en flex. */
.site-nav ul.site-nav__sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    min-width: 218px;
    min-height: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #ece7e2;
    box-shadow: 0 12px 26px rgba(42, 35, 32, .13);
    text-align: left;
}
.site-nav ul.site-nav__sub a {
    display: block;
    padding: 9px 20px;
    font-size: 12px;
    letter-spacing: .04em;
}
.site-nav ul.site-nav__sub a:hover { background: #f6f2ee; }
.site-nav ul.site-nav__sub .is-active > a { color: var(--c-brick); }

/* L'ouverture suit l'attribut "open" que <details> pose lui-meme : rien a
   ouvrir en CSS au survol, sinon l'affichage et l'annonce divergent. */
.site-nav__disclosure[open] > ul.site-nav__sub { display: block; }
.site-nav__disclosure[open] .site-nav__caret { transform: rotate(180deg); }

.site-header__toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    color: var(--c-ink);
}

.hp-hero { position: relative; background: var(--c-card); overflow: hidden; }
.hp-hero__viewport { position: relative; }
/* Une diapositive transparente reste au-dessus et prend le clic : hidden la retire,
   apres le fondu (delai), et la sort aussi de la tabulation. */
.hp-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease, visibility 0s linear .7s;
    display: block;
    text-decoration: none;
}
.hp-hero__slide.is-current { opacity: 1; visibility: visible; position: relative; z-index: 1; transition-delay: 0s; }
.hp-hero__slide img {
    width: 100%;
    height: 570px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.hp-hero__caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
    padding: 0 24px;
    /* Voile discret : les visuels sont clairs, le texte est blanc. */
    background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.28));
}
.hp-hero__title {
    display: block;
    margin: 0;
    color: #fff;
    /* Garamond No9 Regular : c'est la graisse 300 qui porte ce fichier. */
    font-family: var(--f-hero);
    font-weight: 300;
    font-size: 58px;
    line-height: 1.14;
    letter-spacing: .22em;
    /* Compense le vide laisse par la lettre-espacement : titre centre a l'oeil. */
    text-indent: .22em;
    text-transform: uppercase;
    text-shadow: 0 2px 18px rgba(0,0,0,.45);
    /* Un nom de jeu long ne doit pas elargir la page sur telephone. */
    overflow-wrap: break-word;
    min-width: 0;
}
.hp-hero__cta {
    color: #fff;
    font-family: var(--f-titre);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,.85);
    padding-bottom: 3px;
    text-decoration: none;
}
.hp-hero__cta:hover, .hp-hero__cta:focus { color: #fff; text-decoration: none; }

.hp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 66px;
    border: 0;
    background: rgba(255,255,255,.22);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}
.hp-arrow:hover { background: rgba(255,255,255,.38); }
.hp-arrow--prev { left: 0; border-radius: 0 6px 6px 0; }
.hp-arrow--next { right: 0; border-radius: 6px 0 0 6px; }

.hp-dots {
    position: absolute;
    left: 0; right: 0; bottom: 22px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}
.hp-dots button {
    width: 9px; height: 9px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255,255,255,.5);
    cursor: pointer;
}
.hp-dots button.is-current { background: #fff; }

/* Le theme historique peint un fond sur body.bodyHome ; ici, seules les zones
   explicitement marquees sont teintees. */
body.home-2026 { background: #fff; }

.hp-section { padding: 64px 0; background: #fff; }
.hp-section--beige { background: var(--c-beige); }

.hp-section__title {
    margin: 0 0 40px;
    text-align: center;
    font-family: var(--f-titre);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-ink);
    overflow-wrap: break-word;
}

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

/* PRODUITS */

/* Cartes en <a> de <span> : sans display:block, tout se suit sur une ligne. */
.hp-product { display: block; text-decoration: none; color: inherit; }
.hp-product:hover, .hp-product:focus { text-decoration: none; color: inherit; }
.hp-product__name,
.hp-product__desc,
.hp-product__price { display: block; }
.hp-product__media {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 300px;
    margin-bottom: 22px;
}
.hp-product__media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform .3s ease;
}
.hp-product:hover .hp-product__media img { transform: translateY(-6px); }
.hp-product__name {
    margin: 0 0 6px;
    font-family: var(--f-titre);
    font-size: 15px;
    font-weight: 700;
    color: var(--c-ink);
}
.hp-product__desc {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--c-ink-soft);
}
.hp-product__price { margin: 0; font-size: 14px; font-weight: 700; color: var(--c-ink); }
.hp-product__price del { color: var(--c-ink-soft); font-weight: 400; margin-left: 8px; }

/* NOS JEUX */

.hp-games { position: relative; }
.hp-game {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    min-height: 430px;
    padding: 0 18px 34px;
    background: var(--c-card);
    overflow: hidden;
    text-decoration: none;
}
.hp-game:hover, .hp-game:focus { text-decoration: none; }
.hp-game__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.hp-game:hover .hp-game__bg { transform: scale(1.04); }
.hp-game__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12,15,22,0) 38%, rgba(12,15,22,.88) 100%);
}
.hp-game__body { position: relative; text-align: center; display: block; }
.hp-game__name,
.hp-game__tagline { display: block; }
.hp-game__name {
    margin: 0 0 6px;
    color: #fff;
    font-family: var(--f-titre);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.hp-game__tagline {
    margin: 0 0 18px;
    color: rgba(255,255,255,.82);
    font-weight: 300;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.hp-game__cta {
    display: inline-block;
    color: #fff;
    font-family: var(--f-titre);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,.8);
    padding-bottom: 2px;
}

/* EDITEUR DE CURIOSITES */

.hp-studio { padding: 20px 0 80px; background: #fff; }
.hp-studio__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hp-studio__media img { max-width: 100%; height: auto; display: block; }
.hp-studio__title {
    margin: 0 0 26px;
    font-family: var(--f-titre);
    font-size: 27px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-ink);
}
.hp-studio__body p {
    margin: 0 0 18px;
    font-size: 14.5px;
    line-height: 1.72;
    color: var(--c-ink);
}

/* BANDEAU DE REASSURANCE */

.hp-trust { background: var(--c-beige); padding: 40px 0; }
.hp-trust__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}
.hp-trust__title {
    margin: 0 0 6px;
    font-family: var(--f-titre);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-ink);
}
.hp-trust__note { margin: 0; font-size: 13px; color: var(--c-ink-soft); }

.site-footer { background: var(--c-beige); color: var(--c-ink); border-top: 1px solid var(--c-rule); }
.site-footer__inner {
    display: grid;
    grid-template-columns: 55% minmax(0, 1fr);
    gap: 0;
}
.site-footer__col { padding: 54px 0; }
.site-footer__col--right { padding-left: 106px; border-left: 1px solid var(--c-rule); }
/* Les filets partent du filet vertical et filent jusqu'au bord de la page : le retrait ne porte que sur le texte. */
.site-footer__col--right .site-footer__rule { margin-left: -106px; }
/* La grille reste bord a bord pour ses filets ; ce retrait recale son contenu sur la boite centree des pages. */
.site-footer__col--left { display: flex; gap: 83px; padding-right: 48px; padding-left: max(0px, calc((100vw - var(--hp-max)) / 2)); }

.site-footer__mark img { width: 87.5px; height: auto; display: block; }

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.24;
}
.site-footer p { font-size: 13.5px; line-height: 1.6; }

.site-newsletter { display: flex; max-width: 430px; border: 1px solid var(--c-rule); background: transparent; }
.site-newsletter input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 13px 16px;
    font-size: 13.5px;
    color: var(--c-ink);
}
.site-newsletter input:focus { outline: 2px solid var(--c-brick); outline-offset: -2px; }
.site-newsletter button {
    border: 0;
    background: transparent;
    padding: 0 16px;
    font-size: 19px;
    color: var(--c-ink);
    cursor: pointer;
}
.site-newsletter button:hover { color: var(--c-brick); }

.site-social { display: flex; gap: 18px; margin-top: 22px; }
.site-social a { color: var(--c-ink); line-height: 0; }
.site-social a:hover { color: var(--c-brick); }
.site-social svg { width: 19px; height: 19px; }

.site-shop-info { display: flex; gap: 46px; font-size: 13.5px; line-height: 1.65; }
.site-shop-info p { margin: 0; }
.site-footer__rule { border-top: 1px solid var(--c-rule); margin: 26px 0; }

.site-footer__links { display: flex; flex-wrap: wrap; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-footer__links a {
    font-family: var(--f-titre);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-ink);
    text-decoration: none;
}
.site-footer__links a:hover { color: var(--c-brick); }

.site-footer__links-group > span {
    display: block;
    margin-bottom: 8px;
    font-family: var(--f-titre);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-ink-soft);
}
.site-footer__links-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.site-footer__legal { background: #fff; }
.site-footer__legal .hp-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 56px;
    flex-wrap: wrap;
}
.site-footer__legal a,
.site-footer__legal span {
    font-size: 11.5px;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--c-ink-soft);
    text-decoration: none;
}
.site-footer__legal a { margin-right: 22px; }
.site-footer__legal a:hover { color: var(--c-brick); }

/* RESPONSIVE */

@media (max-width: 991px) {
    .hp-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .hp-studio__inner { grid-template-columns: 1fr; gap: 34px; }
    .site-footer__inner { grid-template-columns: 1fr; padding: 0 20px; }
    .site-footer__col--right { padding-left: 0; border-left: 0; border-top: 1px solid var(--c-rule); }
    .site-footer__col--right .site-footer__rule { margin-left: 0; }
    .site-footer__col--left { gap: 26px; padding-right: 0; }
    .hp-hero__title { font-size: 40px; }
    .hp-hero__slide img { height: 420px; }
}

@media (max-width: 767px) {
    /* A gauche : centre, le message heurte le selecteur de langue en absolu. */
    .site-announce { font-size: 12px; }
    .site-announce .hp-wrap { justify-content: flex-start; padding-right: 56px; }
    .site-announce p { text-align: left; }

    .site-header__bar { min-height: 62px; }
    .site-header__side { gap: 13px; }
    .site-header__logo img { height: 27px; }
    .hp-arrow { width: 34px; height: 52px; font-size: 18px; }

    .site-header__toggle { display: inline-flex; }
    .site-nav { display: none; }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; gap: 0; align-items: stretch; }
    .site-nav li { border-bottom: 1px solid #ece7e2; }
    .site-nav a { display: block; padding: 14px 4px; }
    .site-nav li.site-nav__item--boutique { border-bottom: 0; padding: 12px 0; }
    .site-nav .site-nav__item--boutique > a { padding: 12px 16px; text-align: center; }

    /* Accordeons : un deroulant ancre en absolu n'a aucun sens au doigt. */
    .site-nav__item { display: block; align-self: auto; }
    .site-nav__disclosure { display: block; align-self: auto; }
    .site-nav__toggle { width: 100%; justify-content: space-between; padding: 14px 4px; }
    .site-nav ul.site-nav__sub {
        position: static;
        transform: none;
        min-width: 0;
        padding: 0 0 6px;
        background: none;
        border: 0;
        box-shadow: none;
    }
    .site-nav ul.site-nav__sub li { border-bottom: 0; }
    .site-nav ul.site-nav__sub a { padding: 10px 4px 10px 20px; }
    .hp-grid { grid-template-columns: 1fr; }
    .hp-trust__inner { grid-template-columns: 1fr; gap: 24px; }
    .hp-section { padding: 44px 0; }
    .hp-section__title { font-size: 20px; letter-spacing: .1em; margin-bottom: 28px; }
    .hp-studio__title { font-size: 21px; letter-spacing: .06em; }
    .site-footer h2 { font-size: 20px; }
    .hp-hero__title { font-size: 29px; letter-spacing: .16em; text-indent: .16em; }
    .hp-hero__slide img { height: 340px; }
    .hp-product__media { height: 230px; }
    .site-shop-info { flex-direction: column; gap: 14px; }
}

/* PAGE CONTACT (docs/contact-maquette.png) */

body.contact-2026 { background: #fff; }

.ct-page { padding: 56px 0 96px; background: #fff; }
.ct-wrap { max-width: 810px; margin: 0 auto; padding: 0 20px; }

.ct-title {
    margin: 0 0 18px;
    font-family: var(--f-titre);
    font-size: 38px;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: #291314;
}

.ct-intro { margin: 0 0 34px; }
.ct-intro p {
    margin: 0 0 8px;
    font-weight: 300;
    font-size: 23px;
    line-height: 1.42;
    color: var(--c-ink);
}

.ct-field { margin-bottom: 20px; }
.ct-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 400;
    color: var(--c-ink);
}
.ct-field label em { font-style: italic; color: #9a9a9a; }

.ct-field input,
.ct-field select,
.ct-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #c2c2c2;
    border-radius: 3px;
    background: #fff;
    padding: 12px 15px;
    font-size: 15.5px;
    line-height: 1.45;
    color: var(--c-ink);
    /* Sans cela, Safari et Chrome imposent leur propre police aux champs. */
    font-family: inherit;
}
.ct-field input,
.ct-field select { height: 49px; }
.ct-field textarea { min-height: 350px; resize: vertical; }

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    outline: none;
    border-color: var(--c-ink);
    box-shadow: 0 0 0 2px rgba(41,19,20,.12);
}

/* Le chevron natif varie d'un navigateur a l'autre : on le remplace. */
.ct-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23291314' stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
}

/* Piege a robots : retire du flux et du rendu, mais pas via display:none,
   que certains automates savent detecter. */
.ct-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ct-actions { margin-top: 34px; text-align: center; }
.ct-submit {
    min-width: 138px;
    border: 0;
    background: #504e42;
    color: #fff;
    padding: 14px 30px;
    font-family: var(--f-titre);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease;
}
.ct-submit:hover,
.ct-submit:focus { background: #3b392f; }

.ct-success,
.ct-error {
    margin: 0 0 26px;
    padding: 16px 18px;
    font-size: 15px;
    border-left: 3px solid;
}
.ct-success { background: #f1f6f1; border-color: #4a7c4a; color: #24501f; }
.ct-error { background: #fbf0ef; border-color: var(--c-brick); color: #7d2320; }

@media (max-width: 767px) {
    .ct-page { padding: 34px 0 60px; }
    .ct-title { font-size: 27px; }
    .ct-intro p { font-size: 18px; }
    .ct-field textarea { min-height: 240px; }
    .ct-submit { width: 100%; }
}

/* PAGES VITRINE A SECTIONS (docs/projet-maquette.jpg, docs/app-maquette.jpg) */

body.page-2026 { background: #fff; }

/* La reserve de 40px du gabarit passe a l'en-tete de page : un bandeau en
   premiere section doit arriver au ras de la navigation. */
body.page-2026 .page-content { padding-top: 0; }

.pg-wrap { max-width: var(--hp-max); margin: 0 auto; padding: 0 20px; }
.pg-wrap--narrow { max-width: 760px; }

.pg-section { padding: 62px 0; background: #fff; }
.pg-section--beige { background: var(--c-beige); }
.pg-section--tight { padding: 46px 0; }
.pg-section--lead { padding: 76px 0 62px; }

.pg-section__title {
    margin: 0 0 34px;
    text-align: center;
    font-family: var(--f-titre);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-ink);
    overflow-wrap: break-word;
}
.pg-section__title--left { text-align: left; letter-spacing: .06em; }

/* --- En-tete de page ---------------------------------------------------- */

.pg-head { padding: 40px 0 0; }
/* Sans titre ni image, l'en-tete ne doit rien occuper : sinon toutes les pages
   a bandeau gagnent un blanc en haut. */
.pg-head--mute { padding: 0; }
.pg-head__image { display: block; width: 100%; height: auto; margin: 0 0 26px; }
.pg-head__title {
    margin: 0 0 8px;
    font-family: var(--f-titre);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--c-ink);
}

/* --- Bandeau ------------------------------------------------------------ */

.pg-hero { position: relative; background: var(--c-card); overflow: hidden; }
.pg-hero__image {
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center;
}
.pg-hero__caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    /* Voile discret : les visuels des maquettes sont clairs, le titre blanc. */
    background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.26));
}
.pg-hero__title {
    margin: 0;
    color: #fff;
    /* Garamond No9 Regular : c'est la graisse 300 qui porte ce fichier. */
    font-family: var(--f-hero);
    font-weight: 300;
    font-size: 54px;
    line-height: 1.14;
    letter-spacing: .22em;
    /* Compense le vide laisse par la lettre-espacement : titre centre a l'oeil. */
    text-indent: .22em;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 2px 18px rgba(0,0,0,.45);
    /* Un titre long ne doit pas elargir la page sur telephone. */
    overflow-wrap: break-word;
    min-width: 0;
}

/* --- Corps de texte ----------------------------------------------------- */

/* overflow-wrap : le HTML des sections vient du back-office, une URL collee
   sans espace deborderait la colonne et, avec elle, la page. */
.pg-prose { color: var(--c-ink); font-size: 16px; line-height: 1.7; overflow-wrap: break-word; }
.pg-prose p { margin: 0 0 16px; }
.pg-prose p:last-child { margin-bottom: 0; }
.pg-prose h2, .pg-prose h3 { margin: 30px 0 12px; font-weight: 700; }
.pg-prose img { max-width: 100%; height: auto; }
.pg-prose ul, .pg-prose ol { padding-left: 22px; }

.pg-lead { max-width: 720px; text-align: center; }
.pg-lead.pg-prose { font-size: 20px; font-weight: 300; line-height: 1.62; }

/* --- Texte avec image sur le cote --------------------------------------- */

/* Grille et non flex : une colonne de grille se comprime (minmax(0, 1fr)), la
   ou un enfant flex refuse de passer sous la largeur de son contenu. */
.pg-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}
.pg-split--droite .pg-split__media { order: 2; }
/* Jamais agrandie au-dela de sa taille reelle : une boite de 208 px etiree a la colonne devenait floue. */
.pg-split__media img { display: block; width: auto; max-width: 100%; height: auto; max-height: 460px; margin: 0 auto; }
.pg-split__body { min-width: 0; }

/* --- Image legendee ----------------------------------------------------- */

.pg-figure { max-width: 1040px; margin: 0 auto; }
.pg-figure img { display: block; width: auto; max-width: 100%; height: auto; max-height: 520px; margin: 0 auto; }
.pg-figure__body { max-width: 1040px; margin: 30px auto 0; }

/* --- Galerie ------------------------------------------------------------ */

.pg-galerie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
    align-items: start;
    max-width: 1040px;
    margin: 0 auto;
}
.pg-galerie--seule { max-width: 760px; }
.pg-galerie__vue { margin: 0; min-width: 0; }
.pg-galerie__vue img { display: block; width: 100%; height: auto; }

/* --- Equipe ------------------------------------------------------------- */

.pg-equipe {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 40px;
    list-style: none;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0;
}
.pg-equipe__fiche { min-width: 0; text-align: center; }
.pg-equipe__portrait {
    display: block;
    width: 180px;
    height: 180px;
    margin: 0 auto 18px;
    border-radius: 50%;
    object-fit: cover;
}
.pg-equipe__nom { margin: 0 0 4px; font-family: var(--f-titre); font-size: 22px; font-weight: 700; }
.pg-equipe__role { margin: 0 0 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-soft); }
.pg-equipe__fiche .pg-prose { text-align: left; }

/* --- Video -------------------------------------------------------------- */

/* Boite 16:9 : l'iframe suit la largeur, sans hauteur fixe a bandes noires. */
.pg-video {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    padding-top: 56.25%;
    background: var(--c-card);
}
.pg-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Listes de liens et revue de presse --------------------------------- */

.pg-links,
.pg-press { list-style: none; max-width: 760px; margin: 0 auto; padding: 0; }
.pg-links li,
.pg-press li { border-bottom: 1px solid var(--c-rule); }
.pg-links li:first-child,
.pg-press li:first-child { border-top: 1px solid var(--c-rule); }

.pg-links a,
.pg-press a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px 6px;
    color: var(--c-ink);
    text-decoration: none;
}
.pg-links a:hover,
.pg-links a:focus,
.pg-press a:hover,
.pg-press a:focus { color: var(--c-brick); text-decoration: none; }

.pg-links__icon { display: flex; align-items: center; flex: 0 0 auto; }
.pg-links__icon svg { display: block; }
/* min-width:0 : sans lui le libelle pousse la fleche hors de l'ecran. */
.pg-links__label { min-width: 0; font-size: 16px; overflow-wrap: break-word; }
.pg-links__arrow { margin-left: auto; flex: 0 0 auto; font-size: 18px; }

.pg-press__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pg-press__title { font-family: var(--f-titre); font-weight: 700; font-size: 16px; overflow-wrap: break-word; }
.pg-press__media { font-size: 13px; color: var(--c-ink-soft); }
.pg-press__extrait { font-style: italic; font-size: 15px; line-height: 1.6; overflow-wrap: break-word; }

/* --- Bandeau produits --------------------------------------------------- */

/* Defilement natif plutot qu'un script, et classes hp-product reprises du
   gabarit 2026 plutot que des equivalentes. */
.pg-carousel {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0 0 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.pg-carousel__item {
    flex: 0 0 250px;
    min-width: 0;
    scroll-snap-align: start;
}
.pg-carousel .hp-product__media { height: 250px; margin-bottom: 18px; }

/* PAGE DE CAMPAGNE (docs/campagne-maquette.jpg). Tous ces blocs lisent les
   memes chiffres, derives une seule fois par Dtda\Support\Campaign. */

/* --- Bouton d'appel a l'action ------------------------------------------ */

/* Le meme bouton sert en <a> et en <button> : d'ou la remise a zero de la
   bordure et le curseur, qu'un <button> n'herite pas. */
.pg-btn {
    display: inline-block;
    flex: 0 0 auto;
    padding: 14px 28px;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    background: var(--c-brick);
    color: #fff;
    font-family: var(--f-titre);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
}
.pg-btn:hover,
.pg-btn:focus { background: var(--c-plum); color: #fff; text-decoration: none; }

/* Bouton sombre : il mene hors du site, sur la plateforme de campagne. */
.pg-btn--sombre { background: var(--c-ink); }
.pg-btn--sombre:hover,
.pg-btn--sombre:focus { background: #000; }

/* --- Menu d'ancres et colonne de contenu -------------------------------- */

.pg-colonnes {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: min(100% - 48px, var(--hp-max));
    margin: 0 auto;
}
/* min-width:0 explicite : un enfant de grille, comme de flex, refuse sinon de
   retrecir sous son contenu le plus large et pousse la page hors de l'ecran. */
.pg-colonnes__corps { min-width: 0; }
/* Le .pg-wrap des sections est deja centre : ne pas l'ajouter a celui-ci. */
.pg-colonnes__corps .pg-wrap { width: 100%; }

.pg-ancres { min-width: 0; }
.pg-ancres__liste {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pg-ancres__lien {
    display: block;
    padding: 7px 0;
    font-size: 13px;
    letter-spacing: .04em;
    color: var(--c-ink-soft);
    text-decoration: none;
}
.pg-ancres__lien:hover,
.pg-ancres__lien:focus { color: var(--c-ink); text-decoration: none; }
/* Classe posee par dtda-2026.js, faute de selecteur CSS sachant dire quelle
   section est a l'ecran ; sans elle le menu reste utilisable. */
.pg-ancres__lien--courant {
    color: var(--c-ink);
    font-weight: 700;
}
/* Ancre decalee : sans cela le titre vise le haut de la fenetre, sous l'en-tete. */
.pg-ancre-cible {
    display: block;
    height: 0;
    scroll-margin-top: 90px;
}

@media (min-width: 992px) {
    /* align-self:start est indispensable au collage : un element etire sur
       toute la hauteur ne colle a rien. */
    .pg-colonnes { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
    .pg-ancres {
        position: sticky;
        top: 96px;
        align-self: start;
        padding-top: 70px;
    }
}

@media (max-width: 991px) {
    /* La colonne n'a pas la place d'exister : bande de puces qui defile. */
    .pg-ancres {
        margin: 0 0 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .pg-ancres__liste {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
    }
    .pg-ancres__liste > li { flex: 0 0 auto; }
    .pg-ancres__lien {
        padding: 7px 14px;
        border: 1px solid var(--c-rule);
        border-radius: 999px;
        white-space: nowrap;
    }
}

/* --- Bande de progression (point 3) ------------------------------------- */

.pg-bande {
    padding: 30px 0 34px;
    background: #f6f4f2;
}
.pg-bande .pg-section__title { margin: 0 0 18px; }
.pg-bande__rail {
    position: relative;
    height: 6px;
    border-radius: 3px;
    background: var(--c-rule);
}
/* La largeur vient d'un style en ligne borne a 100 % cote PHP : une campagne a
   215 % remplit le rail sans deborder, le pourcentage reel restant ecrit. */
.pg-bande__jauge {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: var(--c-vert);
}
.pg-bande__pastille {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border-radius: 50%;
    background: var(--c-vert);
    box-shadow: 0 0 0 4px rgba(47, 158, 65, .18);
}

.pg-bande__reperes {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    min-height: 54px;
}
.pg-bande__repere {
    margin: 0;
    min-width: 0;
    font-size: 13px;
    color: var(--c-ink-soft);
}
.pg-bande__repere--fin { text-align: right; }
.pg-bande__label {
    display: block;
    font-family: var(--f-titre);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-ink);
}
.pg-bande__date { display: block; }
.pg-bande__repere--courant { text-align: center; }
.pg-bande__repere--courant strong {
    display: block;
    font-family: var(--f-titre);
    font-size: 15px;
}
.pg-bande__vert { color: var(--c-vert); }
.pg-bande__attente { color: var(--c-ink); }
.pg-bande__fini { color: var(--c-ink-soft); }
.pg-bande__pourcentage { display: block; }
.pg-bande__source {
    margin: 14px 0 0;
    font-size: 12px;
    color: var(--c-ink-soft);
}
/* Separateur en ::after et non dans le gabarit : pas de point median en fin de
   ligne. Il est ecrit en echappement CSS pour que la ligne reste ASCII, un
   reencodage y ayant deja glisse un octet nul (cf. SourceHygieneTest). */
.pg-bande__collecte,
.pg-bande__contributeurs { color: var(--c-ink); }
.pg-bande__collecte::after,
.pg-bande__contributeurs::after {
    content: "\00b7";
    margin: 0 6px;
    color: var(--c-ink-soft);
}

@media (min-width: 768px) {
    /* Le repere s'aligne sur la pastille : hors du flux, au pourcentage courant
       (valeur en ligne, bornee entre 8 et 92 % pour rester dans la bande). */
    .pg-bande__repere--courant {
        position: absolute;
        top: 0;
        transform: translateX(-50%);
        max-width: 40%;
    }
}

/* --- Bloc de chiffres et video (point 4) -------------------------------- */

.pg-chiffres__grille {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}
.pg-chiffres__colonne { min-width: 0; }
.pg-chiffres__video { min-width: 0; }
.pg-chiffre { margin: 0 0 26px; }
.pg-chiffre__valeur {
    display: block;
    font-family: var(--f-titre);
    font-size: 40px;
    line-height: 1.1;
    color: var(--c-ink);
}
/* Etat sans chiffre (« Bientot », « Terminee ») : meme place, corps reduit --
   un mot en corps 40 a cote d'un montant ne se lit plus comme une donnee. */
.pg-chiffre__valeur--mot { font-size: 30px; }
.pg-chiffre__label {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--c-ink-soft);
}
.pg-chiffres__cta { margin-top: 6px; }
/* Mention discrete mais jamais masquee : le visiteur ne doit pas croire faire
   monter la jauge en payant dans cette boutique. */
.pg-chiffres__mention {
    max-width: 46ch;
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--c-ink-soft);
}

@media (min-width: 992px) {
    .pg-chiffres__grille { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 48px; }
}

/* --- Stretch goals (point 7) -------------------------------------------- */

.pg-paliers {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.pg-palier {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--c-rule);
    background: #fff;
}
.pg-palier__image {
    flex: 0 0 180px;
    display: block;
    width: 180px;
    height: 180px;
    object-fit: cover;
}
.pg-palier__image--vide { background: var(--c-beige); }
/* min-width:0 : sans lui ce bloc refuse de passer sous son texte le plus long. */
.pg-palier__corps {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
/* Pas de hauteur fixe : un titre sur deux lignes grandit au lieu de deborder. */
.pg-palier__bandeau {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    padding: 14px 20px;
    background: #f4f2f0;
    border-bottom: 1px solid var(--c-rule);
}
.pg-palier__icone {
    flex: 0 0 auto;
    display: inline-flex;
    align-self: flex-start;
    color: var(--c-ink-soft);
}
.pg-palier__titre {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-family: var(--f-titre);
    font-size: 17px;
    font-weight: 700;
    color: var(--c-ink);
}
.pg-palier__montant {
    flex: 0 0 auto;
    font-family: var(--f-titre);
    font-size: 15px;
    color: var(--c-ink);
}
.pg-palier__etat {
    flex: 0 0 auto;
    font-family: var(--f-titre);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-ink-soft);
}
.pg-palier__texte { padding: 18px 20px; color: var(--c-ink-soft); }
/* L'etat se lit au bandeau, mais il est aussi ECRIT (.pg-palier__etat) : la
   couleur seule ne dit rien a tout le monde. */
.pg-palier--atteint { border-color: var(--c-vert); }
.pg-palier--atteint .pg-palier__bandeau {
    background: var(--c-vert);
    border-bottom-color: var(--c-vert);
}
.pg-palier--atteint .pg-palier__titre,
.pg-palier--atteint .pg-palier__montant,
.pg-palier--atteint .pg-palier__etat,
.pg-palier--atteint .pg-palier__icone { color: #fff; }

@media (max-width: 599px) {
    .pg-palier__image {
        flex-basis: 100%;
        width: 100%;
        height: 200px;
    }
}

/* --- Contreparties (point 8) -------------------------------------------- */

/* La jauge suit une campagne hebergee ailleurs, ces boutons encaissent ici :
   la mention est posee avant le premier bouton, pas en pied de page. */
.pg-contreparties__mention,
.pg-addons__mention {
    max-width: 70ch;
    margin: -8px 0 26px;
    font-size: 15px;
    color: var(--c-ink-soft);
}

.pg-contreparties__liste {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}
/* Base de 280 px pour le visuel : la maquette lui donne ~530 px sur 3456 px de
   large, soit environ 36 % de la colonne. */
.pg-contrepartie {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--c-rule);
    background: #fff;
}
.pg-contrepartie__image {
    flex: 0 0 280px;
    display: block;
    width: 280px;
    height: 280px;
    object-fit: cover;
}
.pg-contrepartie__image--vide { background: var(--c-beige); }
/* min-width:0 : sans lui ce bloc refuse de passer sous son texte le plus long. */
.pg-contrepartie__corps {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
}
.pg-contrepartie__titre {
    margin: 0 0 8px;
    font-family: var(--f-titre);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}
.pg-contrepartie__titre a { color: var(--c-ink); text-decoration: none; }
.pg-contrepartie__titre a:hover,
.pg-contrepartie__titre a:focus { text-decoration: underline; }
.pg-contrepartie__desc {
    margin: 0 0 14px;
    color: var(--c-ink-soft);
}
.pg-contrepartie__inclut {
    margin: 0 0 4px;
    font-weight: 700;
    color: var(--c-ink);
}
.pg-contrepartie__items {
    margin: 0 0 16px;
    padding-left: 20px;
    color: var(--c-ink-soft);
    font-size: 15px;
}
/* margin-top:auto : les prix s'alignent malgre des listes de puces inegales. */
.pg-contrepartie__achat {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 20px;
    margin-top: auto;
}
.pg-contrepartie__prix { margin: 0; }
.pg-contrepartie__barre {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    color: var(--c-ink-soft);
}
.pg-contrepartie__remise,
.pg-addon__remise {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--c-brick);
    color: #fff;
    font-family: var(--f-titre);
    font-size: 12px;
    font-weight: 700;
}
.pg-contrepartie__montant {
    display: block;
    font-family: var(--f-titre);
    font-size: 34px;
    line-height: 1;
    color: var(--c-ink);
}
/* Une fourchette porte deux montants : a 34 px elle deborde la carte. */
.pg-contrepartie__montant--fourchette { font-size: 22px; }
.pg-contrepartie__form,
.pg-addon__form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
}
.pg-contrepartie__editions,
.pg-addon__editions {
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--c-rule);
    background: #fff;
    font-size: 15px;
}
/* Une carte sans bouton ne dit rien a qui ne compare pas : les deux etats sont
   ECRITS. Meme aspect car meme role, mais deux classes -- annoncer une rupture
   de stock la ou la date de livraison manque encore serait faux. */
.pg-contrepartie__epuise,
.pg-contrepartie__bientot,
.pg-addon__bientot,
.pg-addon__epuise {
    margin: 0;
    font-family: var(--f-titre);
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-ink-soft);
}
/* Pied de carte : filet, puis les deux mentions grises a icone de la maquette
   (« 122 Contributions », « Mars 2027 »). */
.pg-contrepartie__pied {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--c-rule);
    font-size: 14px;
    color: var(--c-ink-soft);
}
.pg-contrepartie__fait {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* --- Add-ons (point 9) -------------------------------------------------- */

.pg-addons__grille {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.pg-addon {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--c-rule);
    background: #fff;
}
.pg-addon__lien {
    display: block;
    color: var(--c-ink);
    text-decoration: none;
}
.pg-addon__lien:hover .pg-addon__nom,
.pg-addon__lien:focus .pg-addon__nom { text-decoration: underline; }
.pg-addon__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    margin-bottom: 14px;
    background: var(--c-beige);
}
.pg-addon__media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.pg-addon__nom {
    display: block;
    margin-bottom: 6px;
    font-family: var(--f-titre);
    font-size: 17px;
    font-weight: 700;
}
.pg-addon__desc {
    display: block;
    font-size: 15px;
    color: var(--c-ink-soft);
}
/* margin-top:auto : prix et boutons s'alignent malgre des descriptions inegales. */
.pg-addon__prix {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin: auto 0 14px;
    padding-top: 14px;
    color: var(--c-ink-soft);
}
.pg-addon__montant {
    font-family: var(--f-titre);
    font-size: 22px;
    color: var(--c-ink);
}
/* Idem sur la grille d'add-ons, dont les cartes sont plus etroites encore. */
.pg-addon__montant--fourchette { font-size: 16px; }
/* Bouton pleine largeur : c'est le formulaire qui l'etire. */
.pg-addon__form { flex-direction: column; align-items: stretch; }
.pg-addon__bouton { width: 100%; text-align: center; border: 0; cursor: pointer; }

/* --- Compte a rebours --------------------------------------------------- */

/* Meme boite pour la date en clair du serveur et pour le decompte du script :
   pas de saut de mise en page au chargement. */
.pg-rebours {
    margin: 0;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--c-ink);
}
/* Campagne pas encore lancee ou deja close : meme boite, ton plus discret --
   il n'y a rien a decompter, et surtout pas « 0 jour restant ». */
.pg-rebours--attente { color: var(--c-ink); }
.pg-rebours--fini { color: var(--c-ink-soft); }

@media (max-width: 767px) {
    .pg-section { padding: 40px 0; }
    .pg-section--lead { padding: 48px 0 40px; }
    .pg-section--tight { padding: 32px 0; }
    .pg-section__title { font-size: 20px; margin-bottom: 24px; }
    .pg-head { padding: 26px 0 0; }
    .pg-head__title { font-size: 24px; }
    .pg-hero__image { height: 320px; }
    .pg-hero__title { font-size: 28px; letter-spacing: .16em; text-indent: .16em; }
    .pg-lead.pg-prose { font-size: 17px; }
    .pg-split { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    /* Sur une colonne, l'image repasse toujours au-dessus du texte : l'ordre
       "a droite" n'a plus de sens et ferait lire le texte avant son visuel. */
    .pg-split--droite .pg-split__media { order: 0; }
    .pg-carousel__item { flex-basis: 200px; }
    .pg-carousel .hp-product__media { height: 190px; }
    /* Les trois reperes de la bande passent en colonne : cote a cote, sur 320 px,
       « 12 jours restants » se casserait mot par mot entre deux dates. */
    .pg-bande__reperes { flex-direction: column; gap: 10px; min-height: 0; }
    .pg-bande__repere--fin { text-align: left; }
    .pg-bande__repere--courant { text-align: left; }
    .pg-chiffre__valeur { font-size: 32px; }
    .pg-chiffre__valeur--mot { font-size: 24px; }
    .pg-paliers { gap: 18px; }
    .pg-contreparties__liste { gap: 18px; }
    /* Le visuel carre repasse pleine largeur au-dessus du contenu : a 280 px de
       cote sur un telephone, il ne resterait rien pour le texte. */
    .pg-contrepartie__image {
        flex-basis: 100%;
        width: 100%;
        height: 260px;
    }
    /* Prix et bouton en colonne : cote a cote, « AJOUTER » se serrerait contre
       un montant de 34 px. Le bouton prend alors toute la largeur. */
    .pg-contrepartie__achat { flex-direction: column; align-items: stretch; }
    .pg-contrepartie__form { flex-direction: column; align-items: stretch; }
    .pg-contrepartie__form .pg-btn { width: 100%; text-align: center; }
    .pg-contrepartie__montant { font-size: 28px; }
    .pg-contrepartie__montant--fourchette { font-size: 20px; }
    .pg-rebours { font-size: 18px; }
}

/* PAGES BOUTIQUE ET TUNNEL DE COMMANDE

   Elles portent encore les classes de shop.css et heritent des polices par
   "body.bodyHome" : ne reste ici que ce qui n'herite pas, faute d'etre du
   texte courant -- navigation de categories, boutons et pastilles. */

.category-nav a,
.btn-primary-shop,
.btn-order,
.product-card__badge,
.out-of-stock-badge,
.shop-title,
.tunnel-summary__title,
.tunnel-section__title,
.order-number,
.product-card__title,
.product-card .price,
.product-info__title,
.product-info__badge,
.product-price__current,
.product-tabs__bar label,
.product-related__title {
    font-family: var(--f-titre);
    font-weight: 700;
}

.shop-title { font-size: 40px; }
.shop-title:has(+ .shop-intro) { margin-bottom: 10px; }
.shop-intro { margin: 0 0 30px; font-size: 17px; color: var(--c-ink); }
.product-info__title { font-size: 34px; }
.product-related__title { font-size: 26px; }

.page-404 { max-width: 720px; margin: 24px auto 0; padding: 0 16px; text-align: center; }
.page-404__des { display: flex; justify-content: center; gap: 18px; margin-bottom: 32px; }
.de { display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); width: 84px; height: 84px; padding: 13px; box-sizing: border-box; border: 2px solid var(--c-ink); border-radius: 16px; background: #fff; box-shadow: 0 6px 0 var(--c-ink); animation: de-roule 0.7s cubic-bezier(0.2, 0.8, 0.3, 1.25) both; }
.de i { width: 14px; height: 14px; border-radius: 50%; background: var(--c-brick); align-self: center; justify-self: center; }
.de--4 i:nth-child(1) { grid-area: 1 / 1; }
.de--4 i:nth-child(2) { grid-area: 1 / 3; }
.de--4 i:nth-child(3) { grid-area: 3 / 1; }
.de--4 i:nth-child(4) { grid-area: 3 / 3; }
.de--0 { border-style: dashed; background: #f3ede8; box-shadow: 0 6px 0 #c9bdb3; }
.page-404__des .de:nth-child(1) { rotate: -8deg; }
.page-404__des .de:nth-child(2) { animation-delay: 0.12s; }
.page-404__des .de:nth-child(3) { rotate: 7deg; animation-delay: 0.24s; }
@keyframes de-roule { from { translate: 0 -40px; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .de { animation: none; } }
.page-404__code { margin: 0 0 8px; color: var(--c-ink-soft); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.page-404__titre { margin: 0 0 16px; font-size: clamp(28px, 5vw, 44px); text-transform: uppercase; }
.page-404__texte { max-width: 560px; margin: 0 auto 28px; color: #4a403b; font-size: 17px; line-height: 1.6; }
.page-404__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin-bottom: 22px; }
.page-404__actions .btn-primary-shop { display: inline-block; margin: 0; color: #fff; text-decoration: none; }
.page-404__actions .btn-primary-shop:hover, .page-404__actions .btn-primary-shop:focus { color: #fff; text-decoration: none; }
.page-404__secondaire, .page-404__aide a { color: var(--c-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.page-404__aide { color: var(--c-ink-soft); font-size: 15px; }
.page-404__aide span { margin: 0 8px; }
.page-404__suggestions { margin-top: 56px; }
