/*
Theme Name: MCX Visual
Theme URI: https://mcx-visual.com
Author: MCX Visual
Description: Thème bloc sur mesure de MCX Visual : tout en noir, détails or, verre cannelé et X animé. Converti depuis la maquette HTML validée.
Version: 1.3.14
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mcx-visual
Tags: block-theme, full-site-editing, one-column
*/
/* =========================================================
   MCX Visual — maquette d'accueil
   Registre : référence Reak (découpe, géométrie, alignement, densité)
   Couleurs et écriture : rappel du logo MCX (noir, argent, détails or)
   ========================================================= */

:root {
  --noir: #090A07;
  --noir-2: #111210;
  --encre: #0A0A0A;
  --texte: #303030;
  --gris: #636363;
  --clair: #F6F6F6;
  --filet-clair: #E2E2E2;
  --filet-sombre: rgba(255, 255, 255, .14);
  --blanc: #FFFFFF;
  --or: #D7AE5A;
  --or-clair: #F1D58A;
  --or-fonce: #A37D35;
  --argent: linear-gradient(180deg, #FFFFFF 0%, #DCDCDC 45%, #A9A9A9 100%);
  --degrade-or: linear-gradient(135deg, var(--or-clair) 0%, var(--or) 45%, var(--or-fonce) 100%);

  --police: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --police-large: "Michroma", "Archivo", sans-serif;

  --marge: clamp(20px, 5.2vw, 76px);
  --rayon: 8px;
  color-scheme: dark;   /* site volontairement tout en noir : champs et barres de défilement suivent */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--texte);
  font-family: var(--police);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; } /* height:auto obligatoire : sinon l'attribut height des blocs image l'emporte */
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

/* ---------- Adaptations WordPress ----------
   L'espacement automatique est coupé dans theme.json (blockGap: 0px) ; ce filet
   de sécurité reste À SPÉCIFICITÉ NULLE pour ne jamais écraser les marges du design. */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
.wp-site-blocks, .wp-block-post-content, main.wp-block-group { margin: 0; padding: 0; }
.wp-block-template-part { margin: 0; }
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.wp-block-button { margin: 0; }
:where(a, button, input, textarea, [tabindex]):focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }

/* ---------- Typographie commune ---------- */
.libelle {
  font-family: var(--police-large);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gris);
}
.bande-sombre .libelle { color: rgba(255, 255, 255, .5); }

.texte { font-size: 15px; line-height: 1.6; letter-spacing: -.005em; color: var(--texte); max-width: 60ch; }
.texte.petit { font-size: 13.5px; }
.bande-sombre .texte { color: rgba(255, 255, 255, .66); }

.titre-section {
  font-family: var(--police);
  font-stretch: 125%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 68px);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--encre);
  text-wrap: balance;
  hyphens: none;
}
.bande-sombre .titre-section { color: var(--blanc); }

.plus { display: block; font-size: 26px; line-height: 1; font-weight: 300; color: var(--or); margin-bottom: 26px; }

.trait-or { display: block; width: 64px; height: 2px; background: var(--degrade-or); box-shadow: 0 0 14px rgba(241, 213, 138, .55); }

/* ---------- Bandes ---------- */
/* Site tout en noir (demande client) : la bande « alt » est un noir à peine plus clair.
   Les jetons de couleur sont redéfinis localement, donc tout son contenu suit. */
.bande-alt {
  --encre: #FFFFFF;
  --texte: rgba(255, 255, 255, .7);
  --gris: rgba(255, 255, 255, .5);
  --filet-clair: rgba(255, 255, 255, .1);
  background: var(--noir-2);
  color: var(--blanc);
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.bande-sombre { background: var(--noir); color: var(--blanc); }

/* ---------- Pilule (bouton) ----------
   Deux formes, un seul dessin : le bloc Bouton de WordPress (le lien est dans
   .wp-block-button.pilule) et les vrais <button> des formulaires (button.pilule).
   La flèche dorée est un pseudo-élément : rien à éditer, rien à casser. */
.wp-block-button.pilule { display: inline-flex; background: none; border: 0; padding: 0; height: auto; }
.pilule > .wp-block-button__link, button.pilule {
  display: inline-flex; align-items: center; gap: 14px;
  height: 46px; padding: 0 6px 0 22px; margin: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background:
    radial-gradient(60% 140% at 58% 50%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 70%),
    linear-gradient(90deg, #121212, #1E1E1E 50%, #121212);
  color: var(--blanc);
  font-family: var(--police-large); font-weight: 400; line-height: 1;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap; cursor: pointer;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.pilule > .wp-block-button__link:hover, button.pilule:hover { border-color: var(--or); color: var(--blanc); }
.pilule > .wp-block-button__link::after, button.pilule::after {
  content: ""; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23090A07' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / 15px no-repeat, var(--degrade-or);
  transition: transform .3s;
}
.pilule > .wp-block-button__link:hover::after, button.pilule:hover::after { transform: rotate(45deg); }
.pilule-claire > .wp-block-button__link, button.pilule-claire { height: 54px; padding-left: 26px; font-size: 11px; }
.pilule-claire > .wp-block-button__link::after, button.pilule-claire::after { width: 42px; height: 42px; }

/* ---------- En-tête ----------
   Logo = bloc Logo du site, menus = blocs Navigation (modifiables dans l'éditeur de site).
   Les couleurs se posent sur les <li> : WordPress force « color: inherit » sur les liens de navigation. */
.entete {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 28px;
  padding: 26px var(--marge);
}
.wp-block-site-logo.entete-logo { justify-self: start; line-height: 0; }
.wp-block-site-logo.entete-logo img { height: 40px; width: auto; max-width: none; }
nav.entete-nav, nav.entete-nav .wp-block-navigation__container { display: flex; flex-wrap: nowrap; gap: clamp(20px, 2.2vw, 44px); }
nav.entete-nav .wp-block-navigation-item { color: rgba(255, 255, 255, .86); }
nav.entete-nav .wp-block-navigation-item__content {
  font-family: var(--police-large);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
nav.entete-nav .wp-block-navigation-item__content::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
nav.entete-nav .wp-block-navigation-item__content:hover::after,
nav.entete-nav .wp-block-navigation-item__content[aria-current]::after { transform: scaleX(1); }

.entete-actions { position: relative; display: flex; gap: 12px; justify-content: flex-end; align-items: center; }
.wp-block-button.rond-menu { display: block; }
.rond-menu > .wp-block-button__link {
  position: relative; display: block;
  width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: linear-gradient(var(--noir), var(--noir)) center / 18px 1.6px no-repeat, var(--blanc);
  font-size: 0; color: transparent;
  transition: background-size .3s;
}
.rond-menu > .wp-block-button__link::before, .rond-menu > .wp-block-button__link::after {
  content: ""; position: absolute; left: 14px; width: 18px; height: 1.6px; background: var(--noir); transition: transform .3s;
}
.rond-menu > .wp-block-button__link::before { top: 16.6px; }
.rond-menu > .wp-block-button__link::after { top: 27.8px; }
.menu-ouvert .rond-menu > .wp-block-button__link { background-size: 0 1.6px, auto; }
.menu-ouvert .rond-menu > .wp-block-button__link::before { transform: translateY(5.6px) rotate(45deg); }
.menu-ouvert .rond-menu > .wp-block-button__link::after { transform: translateY(-5.6px) rotate(-45deg); }

/* ---------- Petit menu déroulant sous le bouton rond ---------- */
nav.wp-block-navigation.menu-deroulant {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 30;
  width: 230px; padding: 8px;
  display: none;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(17, 18, 16, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4);
  transform-origin: top right;
}
nav.wp-block-navigation.menu-deroulant.est-ouvert { display: block; animation: menu-deroule .38s cubic-bezier(.2, .75, .15, 1); }
nav.menu-deroulant .wp-block-navigation__container { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
nav.menu-deroulant .wp-block-navigation-item {
  display: block; border-radius: 10px;
  color: rgba(255, 255, 255, .88);
  transition: background .2s, color .2s;
}
nav.menu-deroulant .wp-block-navigation-item:hover, nav.menu-deroulant .wp-block-navigation-item:focus-within { background: rgba(215, 174, 90, .1); color: var(--or-clair); }
nav.menu-deroulant .wp-block-navigation-item.est-actuel { color: var(--or); }
nav.menu-deroulant .wp-block-navigation-item__content {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em;
  outline: none;
}
nav.menu-deroulant .wp-block-navigation-item__content::after {
  content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: 0; transition: opacity .2s, transform .2s;
}
nav.menu-deroulant .wp-block-navigation-item:hover .wp-block-navigation-item__content::after,
nav.menu-deroulant .wp-block-navigation-item__content:focus-visible::after { opacity: 1; transform: translateX(-2px) rotate(45deg); }
nav.menu-deroulant.est-ouvert .wp-block-navigation-item { animation: menu-lien .4s cubic-bezier(.2, .75, .15, 1) backwards; }
nav.menu-deroulant.est-ouvert .wp-block-navigation-item:nth-child(2) { animation-delay: .04s; }
nav.menu-deroulant.est-ouvert .wp-block-navigation-item:nth-child(3) { animation-delay: .08s; }
nav.menu-deroulant.est-ouvert .wp-block-navigation-item:nth-child(4) { animation-delay: .12s; }
nav.menu-deroulant.est-ouvert .wp-block-navigation-item:nth-child(5) { animation-delay: .16s; }
nav.menu-deroulant.est-ouvert .wp-block-navigation-item:nth-child(6) { animation-delay: .2s; }
nav.menu-deroulant .menu-parrainage { margin-top: 6px; border-top: 1px solid rgba(255, 255, 255, .08); border-radius: 0 0 10px 10px; }
nav.menu-deroulant .menu-parrainage .wp-block-navigation-item__content { padding-top: 13px; }
.menu-parrainage strong { margin-left: 6px; font-weight: 600; color: var(--or); }
@keyframes menu-deroule { from { opacity: 0; clip-path: inset(0 0 100% 0 round 16px); transform: translateY(-6px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 16px); transform: none; } }
@keyframes menu-lien { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =========================================================
   HÉROS
   ========================================================= */
.heros {
  --n: 20;                              /* nombre de cannelures */
  --ph: max(112vh, 72vw);               /* hauteur de l'image du X (1800 × 1100) */
  --py: 53%;                            /* le croisement du X tombe derrière le logo */
  --k: .24;                             /* force du décalage des cannelures : le X doit rester lisible */
  position: relative;
  height: max(100vh, 640px);
  min-height: 640px;
  overflow: hidden;
  background: var(--noir);
  color: var(--blanc);
}
.heros-scene { position: absolute; inset: 0; display: flex; }
/* La photo du X est un bloc Image (remplaçable dans la médiathèque) ; app.js la rejoue
   en 20 cannelures et la masque. Sans script, elle s'affiche simplement en fond. */
.heros-image { position: absolute; inset: 0; }
.heros-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 53%; }
.heros-scene.est-cannelee > .heros-image { display: none; }
/* les cannelures sont regroupées : un seul calque pour leur fondu d'apparition */
.cannelures { position: absolute; inset: 0; display: flex; }
.cannelure { position: relative; flex: 1 1 0; overflow: hidden; }
.cannelure img {
  position: absolute;
  top: var(--py);
  left: calc((var(--n) / 2 - var(--i)) * 100%);
  height: var(--ph); width: auto; max-width: none;
  transform: translate(calc(-50% + var(--d) * var(--k, 1)), -50%);
}
/* relief de chaque cannelure : ombre aux bords, reflet au tiers */
.cannelure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(0, 0, 0, .36) 0%,
    rgba(255, 255, 255, .09) 22%,
    rgba(255, 255, 255, .02) 48%,
    rgba(0, 0, 0, .06) 78%,
    rgba(0, 0, 0, .32) 100%);
}
/* fondu vers le noir : haut (menu), bas (texte), côtés */
.heros-scene::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 10, 7, .85) 0%, rgba(9, 10, 7, 0) 18%),
    linear-gradient(0deg, var(--noir) 0%, rgba(9, 10, 7, .7) 16%, rgba(9, 10, 7, 0) 42%),
    radial-gradient(75% 95% at 50% 50%, rgba(9, 10, 7, 0) 45%, rgba(9, 10, 7, .6) 100%);
}

/* ---------- X animé du héros ---------- */
/* Le héros ne réagit pas à la souris (choix du client) : décor et logo restent fixes. */
.heros-scene {
  transform: scale(1.035);
  will-change: transform;               /* calque à part : dessiné une fois, jamais redessiné */
}
.cannelures { animation: heros-allume 1.8s ease .55s both; }
.heros-traits {
  position: absolute; left: 50%; top: var(--py);
  height: var(--ph); width: calc(var(--ph) * 1.63636);
  transform: translate(-50%, -50%);
  overflow: visible; pointer-events: none;
}
.h-trait {
  stroke: url(#heros-or); stroke-width: 2.2; fill: none; opacity: .7;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: x-trace 1.7s cubic-bezier(.65, 0, .25, 1) .2s forwards;
}
.heros-traits g g + g .h-trait { animation-delay: .5s; }
.h-comete {
  stroke: #FFF4D8; stroke-width: 4; stroke-linecap: round; fill: none;
  stroke-dasharray: 4 96; stroke-dashoffset: 100; opacity: 0;
  animation: x-comete var(--duree) cubic-bezier(.45, 0, .2, 1) var(--delai) infinite;
}
/* Les comètes ont leur propre calque, et leur halo est un filtre CSS appliqué par la carte
   graphique (même rayon que le flou SVG des traits : 2 × 5 unités de 1100 sur la hauteur --ph). */
.heros-cometes { will-change: transform; filter: drop-shadow(0 0 calc(var(--ph) * .0091) #FFF4D8); }
.heros-souffle {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(65% 70% at 50% 53%, rgba(9, 10, 7, 0) 0%, rgba(9, 10, 7, .6) 100%);
  opacity: 0;
  animation: heros-souffle 6.5s ease-in-out 2.5s infinite alternate;
}
.heros-balayage {
  position: absolute; inset: -20% -50%; pointer-events: none;
  background: linear-gradient(105deg, transparent 45%, rgba(255, 226, 165, .07) 50%, transparent 55%);
  animation: x-balaie 9s ease-in-out 3s infinite;
}
.heros-centre::after, .heros-metiers { animation: heros-monte 1s cubic-bezier(.2, .7, .2, 1) 1.45s both; }
.heros-bas { animation: heros-monte 1s cubic-bezier(.2, .7, .2, 1) 1.75s both; }

/* ---------- Défilement « cinéma » (classes ajoutées par app.js ; sans script, tout est visible) ---------- */
/* le constat s'allume : mots éteints → blancs, la vague dorée sur les deux derniers allumés */
.lumiere .mot-lum { color: rgba(255, 255, 255, .14); transition: color .45s ease, text-shadow .45s ease; }
.lumiere .mot-lum.allume { color: var(--blanc); }
.lumiere .mot-lum.chaud { color: var(--or-clair); text-shadow: 0 0 28px rgba(215, 174, 90, .5); }
/* titres : chaque mot monte depuis un masque */
.cine .titre-cine .mot-masque {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding: .14em .03em .1em; margin: -.14em -.03em -.1em;
}
.cine .titre-cine .mot-in {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1s cubic-bezier(.2, .75, .15, 1) calc(var(--i) * 45ms);
}
.cine .titre-cine.est-revele .mot-in { transform: none; }
/* photos : un rideau s'ouvre, l'image se pose */
.cine .rideau { clip-path: inset(0 100% 0 0); transition: clip-path 1.25s cubic-bezier(.7, 0, .2, 1); }
.cine .rideau.est-revele { clip-path: inset(0 0 0 0); }
.cine .rideau.est-revele img { animation: rideau-zoom 1.7s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes rideau-zoom { from { transform: scale(1.15); } to { transform: scale(1); } }
/* listes : les éléments arrivent l'un après l'autre */
.cine .cascade > * {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s ease, transform 1s cubic-bezier(.2, .75, .15, 1);
  transition-delay: calc(var(--rang, 0) * 90ms);
}
.cine .cascade.est-revele > * { opacity: 1; transform: none; }

/* ---------- Intro d'ouverture : le X se croise, le logo apparaît, le site s'ouvre ----------
   Pendant l'intro, le héros est déjà dans son état final derrière : quand l'écran noir
   s'efface, le logo de l'intro se superpose exactement à celui du héros. */
.intro {
  position: fixed; inset: 0; z-index: 300;
  background: var(--noir);
  overflow: hidden; pointer-events: auto; cursor: pointer;
  animation: intro-sortie .75s ease 1.75s forwards;
}
.intro-vue .intro { display: none; }
.intro.intro-passe { animation: intro-sortie .35s ease forwards; }
.intro-ligne {
  position: absolute; left: 50%; top: var(--intro-y, 53%);
  width: 170vmax; height: 2px; margin: -1px 0 0 -85vmax;
  background: linear-gradient(90deg, rgba(241, 213, 138, 0), #F1D58A 35%, #FFF6DC 50%, #F1D58A 65%, rgba(241, 213, 138, 0));
  box-shadow: 0 0 18px 2px rgba(215, 174, 90, .6);
  opacity: 0;
}
.intro-ligne-a { transform: rotate(36deg) translateX(-110vmax); animation: intro-ligne-a .8s cubic-bezier(.7, 0, .2, 1) .1s forwards; }
.intro-ligne-b { transform: rotate(-36deg) translateX(110vmax); animation: intro-ligne-b .8s cubic-bezier(.7, 0, .2, 1) .1s forwards; }
.intro-eclat {
  position: absolute; left: 50%; top: var(--intro-y, 53%); width: 60vmin; aspect-ratio: 1; margin: -30vmin 0 0 -30vmin;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 240, 200, .9), rgba(215, 174, 90, .35) 40%, rgba(215, 174, 90, 0));
  opacity: 0; transform: scale(.2);
  animation: intro-eclat .9s ease-out .75s forwards;
}
.intro-logo {
  position: absolute; left: 50%; top: 53%; width: min(60vw, 900px); max-width: none; height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55));
  opacity: 0;
  animation: intro-logo .75s cubic-bezier(.2, .7, .2, 1) .85s forwards;
}
@keyframes intro-ligne-a { 0% { opacity: 1; } 100% { opacity: 1; transform: rotate(36deg) translateX(0); } }
@keyframes intro-ligne-b { 0% { opacity: 1; } 100% { opacity: 1; transform: rotate(-36deg) translateX(0); } }
@keyframes intro-eclat { 0% { opacity: 0; transform: scale(.2); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6); } }
/* Le logo ne bouge jamais (choix du client) : dans l'intro il apparaît sur place, en fondu seul. */
@keyframes intro-logo { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-sortie { to { opacity: 0; visibility: hidden; pointer-events: none; } }
/* le héros attend derrière, déjà prêt */
.avec-intro .cannelures { animation: none; }
.avec-intro .h-trait { animation: none; stroke-dashoffset: 0; }
.avec-intro .heros-centre::after, .avec-intro .heros-metiers { animation-delay: 2.15s; }
.avec-intro .heros-bas { animation-delay: 2.4s; }
@keyframes heros-allume { from { opacity: 0; } to { opacity: 1; } }
@keyframes heros-souffle { to { opacity: 1; } }
@keyframes heros-monte { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.heros-centre {
  position: absolute; left: 50%; top: 53%;
  transform: translate(-50%, -50%);
  width: min(60vw, 900px);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
  z-index: 2;
}
.heros-titre { width: 100%; order: 0; }
.heros-titre img { width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)); }
/* le filet doré entre le logo et les métiers */
.heros-centre::after {
  content: ""; order: 1; display: block; width: 64px; height: 2px;
  background: var(--degrade-or); box-shadow: 0 0 14px rgba(241, 213, 138, .55);
}
.heros-metiers {
  order: 2;
  font-family: var(--police-large);
  font-size: clamp(8.5px, .78vw, 11.5px); letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .9);
}
.heros-metiers em { font-style: normal; color: var(--or); margin: 0 .5em; }

/* Socle du héros : un filet sur toute la largeur, la phrase à gauche,
   l'invitation à défiler au centre, l'email à droite — même écriture des deux côtés. */
.heros-bas {
  position: absolute; left: var(--marge); right: var(--marge); bottom: 30px; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.heros-accroche, .heros-mail {
  font-size: clamp(13px, 1.02vw, 15px); font-weight: 500; letter-spacing: .01em; line-height: 1.3;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
  white-space: nowrap;
}
.heros-accroche::before {
  content: "+"; display: inline-block; margin-right: 14px; vertical-align: -.1em;
  color: var(--or); font-size: 1.5em; font-weight: 300; line-height: 1;
}
.heros-accroche em {
  font-style: normal; font-weight: 600;
  background: linear-gradient(180deg, #FFF3D1, #E9C676 45%, #C9953A);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
}
.heros-mail { justify-self: end; display: flex; }
.heros-mail a { display: inline-flex; align-items: center; gap: 14px; transition: color .3s; }
.heros-mail a::before {
  content: ""; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23090A07' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E") center / 16px no-repeat, var(--degrade-or);
  box-shadow: 0 0 22px -4px rgba(215, 174, 90, .55);
  transition: transform .3s;
}
.heros-mail a:hover { color: var(--or-clair); }
.heros-mail a:hover::before { transform: scale(1.08); }

/* invitation à défiler : une souris dont la molette descend (dessinée en CSS sur le lien) */
.heros-defiler { display: grid; place-items: center; padding: 4px; opacity: .75; transition: opacity .3s; }
.heros-defiler:hover { opacity: 1; }
.heros-defiler a {
  position: relative; display: block; width: 22px; height: 34px;
  border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .55);
  font-size: 0; color: transparent; overflow: hidden;
}
.heros-defiler a::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px;
  background: var(--or);
  animation: molette 1.8s ease-in-out infinite;
}
@keyframes molette { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 70% { opacity: 1; transform: translateY(8px); } 100% { opacity: 0; transform: translateY(10px); } }

@media (max-width: 820px) {
  .heros-bas { grid-template-columns: 1fr; gap: 14px; }
  .heros-defiler { display: none; }
  .heros-accroche { white-space: normal; }
  .heros-mail { justify-self: start; }
}

/* =========================================================
   Deux colonnes (À propos, Services) — comme la référence
   ========================================================= */
.deux-colonnes {
  display: grid;
  grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
  padding: 0 var(--marge);
}
.col-etroite { padding: 120px clamp(24px, 4vw, 64px) 120px 0; border-right: 1px solid var(--filet-clair); }
.col-large { padding: 120px 0 120px clamp(28px, 5.5vw, 80px); }
.col-etroite .libelle + .texte { margin-top: 18px; max-width: 26ch; }

/* ---------- À propos ---------- */
.apropos { padding: 0 var(--marge) 120px; }
.apropos-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 36%); }
.apropos-texte { padding: 120px clamp(28px, 5.5vw, 80px) 90px 0; }
.apropos-texte .plus { margin-top: 34px; }
.apropos-visuel { padding: 120px 0 90px clamp(24px, 4vw, 64px); border-left: 1px solid var(--filet-clair); }
.apropos .texte + .texte { margin-top: 16px; }
.signature { margin-top: 34px; font-weight: 600; font-size: 15px; color: var(--encre); letter-spacing: -.01em; }
.signature em { font-style: normal; font-weight: 400; color: var(--gris); }

/* ---------- Le X animé ---------- */
.x-anime { position: sticky; top: 40px; }
.x-anime-scene {
  --mx: 0; --my: 0;
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--rayon);
  background: var(--noir);
  transform: perspective(1100px) rotateX(calc(var(--my) * -5deg)) rotateY(calc(var(--mx) * 5deg));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  isolation: isolate;
}
.x-anime-fond img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.x-anime-fond {
  position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover;
  transform: translate(calc(var(--mx) * -12px), calc(var(--my) * -12px));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  animation: x-respire 7s ease-in-out infinite alternate;
}
.x-anime-traits {
  position: absolute; inset: -4%; width: 108%; height: 108%;
  transform: translate(calc(var(--mx) * 10px), calc(var(--my) * 10px));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  overflow: visible;
}
.x-trait { stroke: url(#x-anime-or); stroke-width: 3.5; fill: none; stroke-linecap: round; }
.x-comete {
  stroke: #FFF6DC; stroke-width: 7; stroke-linecap: round; fill: none;
  stroke-dasharray: 7 93; stroke-dashoffset: 100;
  animation: x-comete var(--duree) cubic-bezier(.45, 0, .2, 1) var(--delai) infinite;
}
/* comètes sur leur propre calque, halo par la carte graphique (flou SVG de 6 unités ≈ 7 px) */
.x-cometes { will-change: transform; filter: drop-shadow(0 0 7px #FFF6DC); }
/* le X se dessine quand la section arrive à l'écran (app.js ajoute les classes) */
.x-anime.x-pret .x-trait { stroke-dasharray: 1; stroke-dashoffset: 1; }
.x-anime.x-pret .x-anime-fond { opacity: 0; transition: opacity 1.6s ease .5s, transform .5s cubic-bezier(.2, .7, .2, 1); }
.x-anime.est-visible .x-trait { animation: x-trace 1.5s cubic-bezier(.65, 0, .25, 1) forwards; }
.x-anime.est-visible g + g .x-trait { animation-delay: .35s; }
.x-anime.est-visible .x-anime-fond { opacity: 1; }

.x-balayage {
  position: absolute; inset: -30% -60%; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 228, 170, .16) 50%, transparent 58%);
  animation: x-balaie 6.5s ease-in-out 1.5s infinite;
  /* mélange normal, pas « screen » : pour un reflet presque blanc le rendu est le même,
     et la carte graphique n'a plus à fusionner ce grand calque mobile avec le décor */
}
.x-verre {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg,
    rgba(0, 0, 0, .24) 0px, rgba(255, 255, 255, .06) 6px, rgba(255, 255, 255, 0) 14px,
    rgba(0, 0, 0, .12) 26px, rgba(0, 0, 0, .24) 28px);
}
/* Particule : un rail invisible de toute la hauteur qui glisse vers le haut (transform, pas top :
   aucune mise en page à recalculer), le point lumineux posé au bas du rail. */
.x-particule {
  position: absolute; left: var(--x); top: calc(-4% + 3px); height: 108%;
  width: 3px;
  opacity: 0;
  animation: x-monte var(--d) linear var(--t) infinite;
}
.x-particule::before {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 3px; height: 3px; border-radius: 50%;
  background: #FFE7B0; box-shadow: 0 0 8px 2px rgba(241, 213, 138, .65);
  animation: x-monte-point var(--d) linear var(--t) infinite;
}
.x-anime-legende {
  display: flex; justify-content: space-between; margin-top: 16px;
  font-family: var(--police-large); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gris);
}
@keyframes x-trace { to { stroke-dashoffset: 0; } }
@keyframes x-comete { 0% { stroke-dashoffset: 100; opacity: 0; } 8% { opacity: 1; } 70% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes x-respire { from { filter: brightness(.82) saturate(1); } to { filter: brightness(1.12) saturate(1.15); } }
@keyframes x-balaie { 0% { transform: translateX(-35%); } 60%, 100% { transform: translateX(35%); } }
@keyframes x-monte {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: .7; }
  100% { transform: translateY(-100%); opacity: 0; }
}
@keyframes x-monte-point {
  0% { transform: translateX(0) scale(.6); }
  50% { transform: translateX(10px) scale(1); }
  100% { transform: translateX(-6px) scale(.5); }
}

/* Qui sommes-nous : même cadre que l'esprit du terrain. Titre et carte au X sur la première ligne,
   la présentation en grand dessous, sur toute la largeur (le bloc texte s'efface : ses enfants vont dans la grille). */
.apropos { padding-top: 120px; }
.cadre-qui { margin-bottom: 28px; }
.cadre-qui-tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); column-gap: clamp(32px, 5vw, 80px); align-items: center; }
.cadre-qui-texte { display: contents; }
.cadre-qui-texte .libelle { grid-column: 1; grid-row: 1; align-self: end; color: var(--or); }
.cadre-qui-texte .terrain-titre { grid-column: 1; grid-row: 2; align-self: start; margin-top: 22px; }
.cadre-qui-visuel { grid-column: 2; grid-row: 1 / span 2; }
.cadre-qui .cadre-qui-texte .texte { grid-column: 1 / -1; max-width: none; }
.cadre-qui .cadre-qui-texte .terrain-titre + .texte {
  margin-top: 44px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: clamp(19px, 2vw, 25px); line-height: 1.5; letter-spacing: -.01em; color: rgba(255, 255, 255, .9);
}
.cadre-qui .cadre-qui-texte .texte + .texte { margin-top: 22px; font-size: clamp(16px, 1.55vw, 19px); line-height: 1.65; color: rgba(255, 255, 255, .68); }
.cadre-qui-texte .texte strong { font-weight: 600; }
.cadre-qui-texte .signature { grid-column: 1 / -1; margin-top: 30px; }
.cadre-qui .x-anime { position: static; max-width: 380px; margin-left: auto; }
.cadre-qui .x-anime-scene { aspect-ratio: 1 / 1; }

/* L'esprit du terrain : ce que le handball à haut niveau apporte aux clients */
.terrain {
  position: relative; overflow: hidden; isolation: isolate;
  margin-bottom: 80px;
  padding: clamp(30px, 4.5vw, 64px);
  border-radius: var(--rayon);
  border: 1px solid rgba(215, 174, 90, .35);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(215, 174, 90, .13), rgba(215, 174, 90, 0) 60%),
    rgba(255, 255, 255, .015);
}
.terrain::before {
  content: ""; position: absolute; z-index: -1; right: -6%; top: -30%; width: 46%; aspect-ratio: 1;
  background: url("assets/img/x-carte.jpg") center / cover no-repeat;
  opacity: .12;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 25%, transparent 100%);
}
.terrain-tete { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px 60px; align-items: end; }
.terrain-tete .libelle { grid-column: 1 / -1; color: var(--or); }
.terrain-titre {
  font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 3.1vw, 46px); line-height: 1.02; letter-spacing: -.02em;
  color: var(--blanc); text-wrap: balance;
}
.terrain-tete .texte { font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.terrain-valeurs {
  margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.terrain-valeurs > * { padding: 32px 28px 0 0; }
.terrain-valeurs > * + * { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .1); }
/* Pastille dorée avec son icône : un pseudo-élément, l'icône change avec la classe icone-… */
.valeur::before, .engagement::before {
  content: ""; display: block; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(215, 174, 90, .5);
  background: var(--icone) center / 20px no-repeat, rgba(215, 174, 90, .08);
}
/* L'écart pastille → titre est porté par la pastille : le titre est le premier enfant
   du groupe, et WordPress annule la marge haute du premier enfant (:first-child). */
.valeur::before { margin-bottom: 20px; }
.icone-mobile { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7AE5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2.5'/%3E%3Cpath d='M11 18.5h2'/%3E%3C/svg%3E"); }
.icone-barres { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7AE5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20V11'/%3E%3Cpath d='M12 20V5'/%3E%3Cpath d='M19 20v-6'/%3E%3C/svg%3E"); }
.icone-couches { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7AE5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5 9-5z'/%3E%3Cpath d='m3 13 9 5 9-5'/%3E%3C/svg%3E"); }
.icone-lieu { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7AE5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.icone-drapeau { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7AE5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4'/%3E%3Cpath d='M5 4h11l-2 4 2 4H5'/%3E%3C/svg%3E"); }
.icone-equipe { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7AE5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3Ccircle cx='16' cy='8' r='3'/%3E%3Cpath d='M3 20c0-3 2.5-5 5-5s5 2 5 5'/%3E%3Cpath d='M11 20c0-3 2.5-5 5-5s5 2 5 5'/%3E%3C/svg%3E"); }
.icone-courbe { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7AE5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 18 10 12l4 4 6-8'/%3E%3Cpath d='M15 8h5v5'/%3E%3C/svg%3E"); }
.icone-cible { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7AE5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='12' cy='12' r='1' fill='%23D7AE5A' stroke='none'/%3E%3C/svg%3E"); }
.icone-refaire { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7AE5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.34-5.66'/%3E%3Cpath d='M20 4v5h-5'/%3E%3C/svg%3E"); }
.icone-parrain { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7AE5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3Cpath d='M3 20c0-3 2.5-5 5-5s5 2 5 5'/%3E%3Cpath d='M17 8v6M14 11h6'/%3E%3C/svg%3E"); }
.terrain-valeurs h4 { margin-top: 0; margin-bottom: 1.33em; font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.15; letter-spacing: -.01em; color: var(--blanc); }
.terrain-valeurs p { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .62); }

/* Valeurs */
.atouts-trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.atouts-trois .atout-num { font-family: var(--police); font-size: 22px; font-weight: 300; line-height: 1; color: var(--or); }
.atouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--filet-clair); }
.atouts > * { padding: 40px 32px 10px 0; }
.atouts > * + * { padding-left: 32px; border-left: 1px solid var(--filet-clair); }
/* Dans la maquette, le numéro est un <span> : sa ligne prend la hauteur de celle du parent
   (15px × 1,55). Devenu un paragraphe, il la reprend explicitement. */
.atout-num { font-family: var(--police-large); font-size: 10.5px; line-height: 23.25px; letter-spacing: .12em; color: var(--or-fonce); }
.atouts h3 { margin-top: 22px; font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.1; letter-spacing: -.015em; color: var(--encre); }
.atouts p:not(.atout-num) { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: var(--gris); }
.apropos .chiffres { margin-top: 90px; }

.enonce {
  font-weight: 500;
  font-size: clamp(24px, 2.55vw, 38px);
  line-height: 1.17;
  letter-spacing: -.025em;
  color: var(--encre);
  max-width: 21em;
  text-wrap: pretty;
}
.apropos .enonce + .texte { margin-top: 30px; }
.apropos .texte { font-size: 14px; color: var(--texte); max-width: 64ch; }
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid var(--filet-clair); }
.chiffres > * { padding: 26px 20px 0 0; }
.chiffres > * + * { padding-left: 24px; border-left: 1px solid var(--filet-clair); }
.chiffre-valeur {
  display: block; font-stretch: 125%; font-weight: 700;
  font-size: clamp(38px, 4.2vw, 62px); line-height: 1; letter-spacing: -.03em; color: var(--encre);
}
.chiffre-valeur sup { font-size: .45em; line-height: 0; color: var(--or); vertical-align: .9em; margin-left: .05em; }
.chiffre-legende { display: block; margin-top: 10px; font-size: 13px; color: var(--gris); }

/* ---------- Photo à verre cannelé (dispositif de la référence) ---------- */
/* app.js découpe l'image en lamelles décalées ; sans script, la photo reste nette */
.photo-cannelee { position: relative; overflow: hidden; border-radius: var(--rayon); background: var(--noir); }
.photo-cannelee > img { width: 100%; height: 100%; object-fit: cover; }
.photo-cannelee.est-cannelee > img { visibility: hidden; }
.lamelles { position: absolute; inset: 0; display: flex; }
.lamelle { position: relative; flex: 1 1 0; overflow: hidden; }
.lamelle img {
  position: absolute; top: 0; height: 100%; max-width: none;
  width: calc(var(--n) * 100%);
  left: calc(var(--i) * -100%);
  object-fit: cover;
  transform: translateX(var(--d)) scaleX(1.03);
}
.lamelle::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(0, 0, 0, .42) 0%,
    rgba(255, 255, 255, .12) 24%,
    rgba(255, 255, 255, .02) 50%,
    rgba(0, 0, 0, .08) 80%,
    rgba(0, 0, 0, .38) 100%);
}

/* =========================================================
   MANIFESTE
   ========================================================= */
.manifeste { padding: 150px var(--marge) 130px; }
.manifeste-titre {
  margin-top: 34px;
  font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(32px, 6.1vw, 96px); line-height: .96; letter-spacing: -.025em;
  color: var(--blanc);
  max-width: 15.5em;
  text-wrap: balance; hyphens: none;
}
.fantome, .manifeste-titre em, .tete-page-titre em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, .42);
}
.manifeste-bas {
  margin-top: 80px; padding-top: 30px; border-top: 1px solid var(--filet-sombre);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap;
}
.lien-souligne {
  position: relative; padding-bottom: 10px; white-space: nowrap; width: fit-content;
  font-family: var(--police-large); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--blanc);
}
.lien-souligne::before, .lien-souligne::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; }
.lien-souligne::before { right: 0; background: rgba(255, 255, 255, .25); }
.lien-souligne::after { width: 28%; background: var(--degrade-or); transition: width .45s; }
.lien-souligne:hover::after { width: 100%; }

/* =========================================================
   SERVICES
   ========================================================= */
.services .col-etroite .texte { margin-top: 22px; max-width: 26ch; }
.liste-services { border-top: 1px solid var(--filet-clair); }
.liste-services > * {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 190px; gap: 28px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--filet-clair);
}
.liste-services .num { font-family: var(--police-large); font-size: 11px; letter-spacing: .12em; color: var(--or-fonce); align-self: start; padding-top: 12px; }
.liste-services h3 {
  font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(22px, 2.6vw, 40px); line-height: 1; letter-spacing: -.02em; color: var(--encre);
  transition: transform .4s;
}
.liste-services .service-texte p { margin-top: 12px; font-size: 13.5px; line-height: 1.55; color: var(--gris); max-width: 46ch; }
.liste-services > :hover h3 { transform: translateX(10px); }
.vignette { position: relative; aspect-ratio: 16 / 10; border-radius: var(--rayon); overflow: hidden; background: var(--noir); }
.vignette img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s, transform .6s; }
.liste-services > :hover .vignette img { filter: none; transform: scale(1.05); }

/* =========================================================
   OFFRE
   ========================================================= */
.offre { padding: 140px var(--marge) 120px; }
.offre-tete { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 60px; align-items: end; }
.offre-tete .titre-section { margin-top: 26px; }
.offre .carte-offerte { margin-top: 64px; }
.offre-pied { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.offre-actions { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }

/* ---------- Carte « 1ère vidéo offerte » : vraie photo + typographie du site ---------- */
.carte-offerte {
  position: relative; overflow: hidden;
  border-radius: var(--rayon);
  min-height: clamp(380px, 42vw, 560px);
  display: flex; align-items: flex-end;
  background: var(--noir);
  isolation: isolate;
}
.carte-offerte-photo { position: absolute; inset: 0; z-index: -2; }
.carte-offerte-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.carte-offerte::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 10, 7, .92) 0%, rgba(9, 10, 7, .72) 38%, rgba(9, 10, 7, .15) 70%, rgba(9, 10, 7, .05) 100%),
    linear-gradient(0deg, rgba(9, 10, 7, .6) 0%, rgba(9, 10, 7, 0) 45%);
}
.carte-offerte-texte { padding: clamp(28px, 4.5vw, 64px); max-width: 640px; color: var(--blanc); }
.carte-offerte .libelle { color: rgba(255, 255, 255, .6); }
.carte-offerte-titre {
  margin-top: 22px;
  font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(40px, 6.6vw, 104px); line-height: .9; letter-spacing: -.035em;
  color: var(--blanc);
}
.carte-offerte-titre em { font-style: normal; background: var(--argent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.carte-offerte-valeur { margin-top: 24px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.carte-offerte-valeur s { color: rgba(255, 255, 255, .45); }
.carte-offerte-valeur strong { color: var(--or); font-weight: 600; margin-right: 4px; }
.carte-offerte .wp-block-buttons { margin-top: 30px; }
.points { display: flex; gap: 36px; flex-wrap: wrap; }
.points li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.points li::before { content: "+"; color: var(--or); font-size: 18px; font-weight: 300; }

/* =========================================================
   PAGE OFFRES
   ========================================================= */
.tete-page { position: relative; overflow: hidden; padding: 210px var(--marge) 110px; }
/* fond doré des en-têtes de page : un pseudo-élément, pas un bloc vide */
.tete-page.avec-fond::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("assets/img/x-dore.jpg") center 46% / cover no-repeat;
  opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.tete-page-contenu { position: relative; z-index: 1; }
.tete-page-titre {
  margin-top: 30px;
  font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(24px, 6.5vw, 104px); line-height: .92; letter-spacing: -.035em;
  color: var(--blanc);
  hyphens: none;
}
.tete-page-bas {
  margin-top: 70px; padding-top: 28px; border-top: 1px solid var(--filet-sombre);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap;
}

.tarifs { padding: 110px var(--marge) 140px; }
.tarifs-bloc { padding: 0; margin-top: 30px; }
.tarifs-bloc .col-etroite { padding-top: 90px; padding-bottom: 90px; }
.tarifs-bloc .col-large { padding-top: 90px; padding-bottom: 90px; }
.tarifs-bloc .col-etroite .texte { margin-top: 18px; max-width: 24ch; }

.prix {
  font-stretch: 125%; font-weight: 700;
  font-size: clamp(34px, 3.4vw, 50px); line-height: 1; letter-spacing: -.035em;
  color: var(--encre); white-space: nowrap;
}
.prix sup { font-size: .42em; letter-spacing: -.01em; vertical-align: .95em; margin-left: .04em; }
.bande-sombre .prix, .pack-phare .prix { color: var(--blanc); }

.lignes-prix { border-top: 1px solid var(--filet-clair); }
.lignes-prix > * {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 46px; gap: 36px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--filet-clair);
}
.lignes-prix h3 { font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 34px); line-height: 1; letter-spacing: -.02em; color: var(--encre); }
.lignes-prix p:not(.prix):not(.fleche-ronde) { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: var(--gris); max-width: 48ch; }
/* flèche ronde : un lien dont le texte (lu par les lecteurs d'écran) est masqué */
.fleche-ronde { width: 46px; height: 46px; }
.fleche-ronde a {
  display: block; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--filet-clair);
  font-size: 0; color: transparent; overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: background .3s, border-color .3s, transform .3s;
}
.fleche-ronde a:hover, .lignes-prix > :hover .fleche-ronde a, .packs-vip:hover .fleche-ronde a, .vip-plus:hover .fleche-ronde a, .contact-paiement:hover .fleche-ronde a {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23090A07' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / 16px no-repeat, var(--degrade-or);
  border-color: transparent; transform: rotate(45deg);
}

/* Nos engagements : satisfait ou remonté, parrainage */
.engagements { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.engagement {
  display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 26px 28px; border-radius: var(--rayon);
  border: 1px solid rgba(215, 174, 90, .35);
  background: linear-gradient(120deg, rgba(215, 174, 90, .09), rgba(215, 174, 90, 0) 60%);
}
.engagement h3 { font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -.01em; color: var(--blanc); }
.engagement p:not(.lien-souligne) { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .68); }
.engagement-lien { display: inline-block; margin-top: 16px; }

/* ---------- Page Parrainage ---------- */
.parrainage { padding: 110px var(--marge) 130px; }
.parrainage-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.parrainage-etapes, .suite-etapes { margin-top: 26px; display: grid; gap: 26px; }
.parrainage-etapes, .suite-etapes { counter-reset: etape; }
.parrainage-etapes > *, .suite-etapes > * { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 18px; counter-increment: etape; }
.parrainage-etapes > * > *, .suite-etapes > * > * { grid-column: 2; }
.parrainage-etapes > *::before, .suite-etapes > *::before {
  content: counter(etape); grid-row: 1 / span 2;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(215, 174, 90, .5); background: rgba(215, 174, 90, .08);
  font-stretch: 125%; font-weight: 700; color: var(--or);
}
.parrainage-etapes h3, .suite-etapes h3 { font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: 16px; letter-spacing: -.01em; color: var(--blanc); padding-top: 4px; }
.parrainage-etapes p, .suite-etapes p { margin-top: 6px; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .65); }
.parrainage-conditions { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--filet-clair); font-size: 12.5px; line-height: 1.6; color: var(--gris); }

.parrainage-form {
  padding: clamp(26px, 3.5vw, 44px); border-radius: var(--rayon);
  border: 1px solid rgba(215, 174, 90, .4);
  background: linear-gradient(160deg, rgba(215, 174, 90, .1), rgba(215, 174, 90, 0) 50%), var(--noir);
}
.parrainage-pas { margin: 0; padding: 0; border: 0; display: grid; gap: 24px; min-width: 0; }
.parrainage-pas[hidden] { display: none; }
.parrainage-pas > legend { padding: 0; margin-bottom: 6px; }
.parrainage-pas .libelle b { font-weight: 400; color: var(--or); margin-right: 10px; }
.parrainage-pas > .pilule { justify-self: start; }
.parrainage-note { font-size: 13px; color: var(--gris); }
.parrainage-note a { color: var(--blanc); text-decoration: underline; text-underline-offset: 3px; }
.parrainage-ok { font-size: 13.5px; line-height: 1.55; color: var(--or-clair); }
.parrainage-ok:empty { display: none; }
.parrainage-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
button.lien-souligne { background: none; border: 0; cursor: pointer; padding: 0 0 10px; }
.parrainage-merci { font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: clamp(20px, 2vw, 28px); line-height: 1.15; letter-spacing: -.015em; color: var(--blanc); }
.parrainage-code {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px;
  padding: 20px 22px; border-radius: var(--rayon);
  border: 1px dashed rgba(215, 174, 90, .6); background: rgba(215, 174, 90, .06);
}
.parrainage-code-libelle { flex-basis: 100%; font-family: var(--police-large); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
/* Le code ne se coupe jamais : s'il manque de place, c'est le bouton qui passe dessous. */
.parrainage-code-valeur { font-stretch: 125%; font-weight: 800; font-size: clamp(19px, 2.2vw, 28px); letter-spacing: .02em; color: var(--or-clair); white-space: nowrap; }
.parrainage-suite { font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.parrainage-whatsapp { justify-self: start; font-size: 14px; color: var(--blanc); text-decoration: underline; text-underline-offset: 4px; }
.parrainage-whatsapp:hover { color: var(--or); }

.packs-tete { display: flex; flex-direction: column; gap: 26px; padding-top: 10px; }
.packs { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pack {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 32px 32px;
  border-radius: var(--rayon);
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--filet-clair);
}
.pack-phare {
  background: linear-gradient(160deg, rgba(215, 174, 90, .16), rgba(215, 174, 90, .02) 55%), var(--noir);
  border-color: rgba(215, 174, 90, .55);
  color: var(--blanc);
}
.pack-badge {
  position: absolute; top: -13px; left: 32px;
  font-family: var(--police-large); font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--noir); background: var(--degrade-or); padding: 7px 12px; border-radius: 999px;
}
.pack-nom { font-family: var(--police-large); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.pack-phare .pack-nom { color: rgba(255, 255, 255, .55); }
.pack-contenu { margin-top: 14px; font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: 20px; line-height: 1.1; letter-spacing: -.015em; color: var(--encre); }
.pack-phare .pack-contenu { color: var(--blanc); }
.pack .prix { margin-top: 34px; }
.pack-barre { margin-top: 8px; font-size: 12.5px; color: var(--gris); text-decoration: line-through; }
.pack-phare .pack-barre { color: rgba(255, 255, 255, .45); }
.pack-abo { margin-top: 18px; padding: 12px 0; border-top: 1px solid var(--filet-clair); border-bottom: 1px solid var(--filet-clair); font-size: 13.5px; font-weight: 600; color: var(--encre); }
.pack-abo-prix em { font-style: normal; font-weight: 400; color: var(--gris); margin-right: 4px; }
.pack-abo-detail { margin-top: 4px; font-size: 12.5px; font-weight: 400; color: var(--gris); }
.pack-abo-vide, .pack-abo-vide .pack-abo-prix { font-weight: 400; color: var(--gris); }
.pack-phare .pack-abo { border-color: var(--filet-sombre); color: var(--blanc); }
.pack-phare .pack-abo-prix em { color: var(--or); }
.pack-texte { margin-top: 18px; margin-bottom: 30px; font-size: 13.5px; line-height: 1.6; color: var(--gris); }
.pack-phare .pack-texte { color: rgba(255, 255, 255, .65); }
.pack .wp-block-buttons { margin-top: auto; align-self: flex-start; }

.offre-site { padding: 140px var(--marge); }
.offre-site-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: end; }
.offre-site .titre-section { margin-top: 26px; }
.offre-site .texte { margin-top: 28px; }
.offre-site .points { margin-top: 32px; flex-direction: column; gap: 12px; }
.offre-site-prix { padding-left: clamp(0px, 4vw, 60px); border-left: 1px solid var(--filet-sombre); }
.prix-geant { font-size: clamp(56px, 7vw, 110px); }
.offre-site-sous { margin-top: 10px; font-family: var(--police-large); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.garantie {
  margin-top: 36px; padding: 24px 26px;
  border-radius: var(--rayon);
  border: 1px solid rgba(215, 174, 90, .45);
  background: linear-gradient(135deg, rgba(215, 174, 90, .10), rgba(215, 174, 90, 0) 60%);
}
.garantie-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.garantie-nom { font-family: var(--police-large); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.garantie-prix { font-stretch: 125%; font-weight: 700; font-size: 22px; letter-spacing: -.02em; color: var(--blanc); }
.garantie-prix em { font-style: normal; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, .55); margin-left: 2px; }
.garantie > p:not(.garantie-tete) { margin-top: 12px; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.garantie-liste { margin-top: 12px; display: grid; gap: 8px; }
.garantie-liste li { position: relative; padding-left: 20px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.garantie-liste li::before { content: "+"; position: absolute; left: 0; top: -1px; color: var(--or); font-size: 15px; }
.garantie > p.garantie-engagement {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(215, 174, 90, .3);
  font-family: var(--police-large); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--or);
}
.offre-site-prix .pilule { margin-top: 32px; }

/* ---------- VIP : l'offre ultime, la seule section où l'or prend de la place ---------- */
.vip {
  --mx: 0; --my: 0;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 150px var(--marge);
  color: var(--blanc);
  background:
    radial-gradient(55% 65% at 80% 42%, rgba(215, 174, 90, .17), rgba(215, 174, 90, 0) 70%),
    radial-gradient(40% 50% at 8% 100%, rgba(215, 174, 90, .07), rgba(215, 174, 90, 0) 70%),
    #0B0B09;
  border-top: 1px solid rgba(215, 174, 90, .35);
  border-bottom: 1px solid rgba(215, 174, 90, .35);
}
.vip::before {
  content: ""; position: absolute; z-index: -1; right: -8%; top: 50%; width: 62%; aspect-ratio: 1; transform: translateY(-50%);
  background: url("assets/img/x-carte.jpg") center / cover no-repeat;
  opacity: .16;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}
.vip .libelle { color: rgba(255, 255, 255, .55); }
.vip-tete { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.vip-badge {
  font-family: var(--police-large); font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--noir); background: var(--degrade-or); padding: 7px 12px; border-radius: 999px;
}
.vip-grille { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.vip-titre { margin: 0; font-stretch: 125%; text-transform: uppercase; }
.vip-titre-sous {
  display: block; margin-top: 26px; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(15px, 1.6vw, 22px); font-weight: 700; line-height: 1.2; letter-spacing: .01em;
  color: var(--blanc);
}

/* ---------- VIP en relief, fixe, or brillant ----------
   Trois calques superposés au même endroit :
   ::before = la tranche (ombre en escalier bronze → brun) + ombre portée,
   ::after = la face en or poli et son fin liseré clair ; le texte du bloc, transparent, garde la place. */
.vip-3d {
  position: relative; display: inline-block; isolation: isolate;
  margin-bottom: .08em;
  font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(84px, 13vw, 210px); line-height: .82; letter-spacing: -.045em;
  color: transparent;   /* le texte du bloc garde la place ; les deux calques le dessinent */
}
.vip-3d::before, .vip-3d::after {
  content: "VIP";
  position: absolute; left: 0; top: 0;
  pointer-events: none;
}
.vip-3d::before {
  z-index: 0;
  color: #B58A38;
  text-shadow:
    .0035em .0055em 0 #AC8334,
    .007em .011em 0 #A17B30,
    .0105em .0165em 0 #96722C,
    .014em .022em 0 #8A6928,
    .0175em .0275em 0 #7E6024,
    .021em .033em 0 #725720,
    .0245em .0385em 0 #664E1C,
    .028em .044em 0 #5A4418,
    .0315em .0495em 0 #4E3B14,
    .035em .055em 0 #433210,
    .0385em .0605em 0 #38290D,
    .042em .066em 0 #2E210A,
    .065em .11em .16em rgba(0, 0, 0, .7),
    0 0 .35em rgba(215, 174, 90, .22);
}
/* la face en or poli et son fin liseré clair */
.vip-3d::after {
  z-index: 1;
  background: linear-gradient(180deg,
    #FFF9E6 0%, #FBE7A8 16%, #EDC66C 34%, #C9953A 47%,
    #9C6E22 52%, #D9AE55 63%, #F6DA92 82%, #FFF3CF 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .006em rgba(255, 246, 218, .55);
}

/* le texte d'accroche du VIP : plus petit, plus aéré */
.vip .enonce {
  margin-top: 30px; max-width: 34em;
  font-size: clamp(16px, 1.3vw, 19px); font-weight: 400; line-height: 1.65; letter-spacing: 0;
  color: rgba(255, 255, 255, .74);
}
.vip-avantages {
  margin-top: 48px; padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px;
}
.vip-avantages > * { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-content: start; }
.vip-avantages > *::before { content: "+"; grid-row: 1 / span 2; color: var(--or); font-size: 20px; font-weight: 300; line-height: 1.05; }
.vip-avantages > * > * { grid-column: 2; }
.vip-avantages h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--blanc); }
.vip-avantages p { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .6); }

.vip-offre { display: flex; flex-direction: column; gap: 48px; min-width: 0; }

/* « à la demande » : l'argument clé du VIP, en or */
.texte-or, .terrain-titre em, .engagement h3 em, .vip-titre-sous em, .vip-economie-sous em, .tete-page-titre strong, .cadre-qui-texte .texte strong {
  font-style: normal;
  background: linear-gradient(100deg, #A37D35 0%, #F1D58A 25%, #FFF6DC 50%, #F1D58A 75%, #A37D35 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: or-brille 5s linear infinite;
}
@keyframes or-brille { to { background-position: -250% 0; } }
.vip-avantage-phare {
  grid-column: 1 / -1;
  padding: 22px 24px; border-radius: var(--rayon);
  border: 1px solid rgba(215, 174, 90, .55);
  background: linear-gradient(100deg, rgba(215, 174, 90, .14), rgba(215, 174, 90, .02) 70%);
}
.vip-avantages .vip-avantage-phare h3 {
  font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -.01em;
  background: linear-gradient(180deg, #FFF3D1, #D7AE5A 65%, #A37D35); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vip-avantages .vip-avantage-phare p { color: rgba(255, 255, 255, .78); font-size: 14px; }
.carte-vip-membre em { font-style: normal; color: var(--or); }

/* la carte de membre VIP (sans puce : ce n'est pas une carte bancaire) */
.carte-vip { perspective: 1200px; animation: vip-flotte 6s ease-in-out infinite alternate; }
.carte-vip-face {
  position: relative; overflow: hidden;
  width: 100%; max-width: 520px; aspect-ratio: 1.586;
  border-radius: 18px;
  border: 1px solid rgba(215, 174, 90, .6);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(241, 213, 138, .24), rgba(241, 213, 138, 0) 55%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .028) 0 1px, rgba(255, 255, 255, 0) 1px 4px),
    linear-gradient(135deg, #1B1B17 0%, #0C0C0A 55%, #16160F 100%);
  box-shadow: 0 44px 80px -34px rgba(0, 0, 0, .95), 0 0 70px -14px rgba(215, 174, 90, .3);
  transform: rotateX(calc(var(--my) * -9deg)) rotateY(calc(var(--mx) * 11deg));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.carte-vip-face::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/img/x-carte.jpg") 60% 50% / 115% auto no-repeat;
  opacity: .28; mix-blend-mode: screen;
}
.carte-vip-logo { position: absolute; top: 9%; left: 7%; width: 30%; }
.carte-vip-logo img { width: 100%; height: auto; }
.carte-vip-nom {
  position: absolute; top: 7%; right: 7%;
  font-stretch: 125%; font-weight: 800; font-size: clamp(28px, 3.3vw, 46px); letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(180deg, #FFF3D1, #D7AE5A 60%, #A37D35); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.carte-vip-membre {
  position: absolute; left: 7%; bottom: 9%;
  font-family: var(--police-large); font-size: clamp(7.5px, .7vw, 9.5px); letter-spacing: .22em; text-transform: uppercase; line-height: 1.9;
  color: rgba(255, 255, 255, .55);
}
.carte-vip-membre strong { font-family: var(--police); font-stretch: 125%; font-weight: 700; font-size: clamp(12px, 1.15vw, 15px); letter-spacing: .02em; color: var(--blanc); }
.carte-vip-face::after {
  content: ""; position: absolute; inset: -40%; pointer-events: none;   /* mélange normal : voir .x-balayage */
  background: linear-gradient(105deg, transparent 42%, rgba(255, 240, 200, .24) 50%, transparent 58%);
  animation: x-balaie 5.5s ease-in-out 1s infinite;
}
@keyframes vip-flotte { from { transform: translateY(-7px); } to { transform: translateY(7px); } }

/* l'argent économisé */
.vip-economie {
  margin-top: 90px; padding-top: 50px; border-top: 1px solid rgba(215, 174, 90, .35);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: center;
}
.vip-economie-montant {
  margin-top: 14px;
  font-stretch: 125%; font-weight: 800; font-size: clamp(44px, 5.8vw, 92px); line-height: .95; letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #FFF3D1 0%, #F1D58A 35%, #D7AE5A 60%, #A37D35 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.vip-economie-sous { margin-top: 14px; font-size: 16px; color: rgba(255, 255, 255, .7); }
.vip-economie-sous strong { color: var(--blanc); font-weight: 600; }
.vip-comparaison { display: grid; gap: 26px; }
.barre-legende { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.barre-legende strong { font-stretch: 125%; font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--blanc); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* la piste (::before) et le remplissage (::after) sont dessinés entre la légende et le détail ;
   la longueur de la barre VIP est calculée par app.js depuis les deux montants affichés */
.barre { --l: 100%; display: flex; flex-direction: column; }
.barre-vip { --l: 83.3%; }
.barre-legende { order: 0; }
.barre::before { content: ""; order: 1; margin-top: 10px; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.barre::after { content: ""; order: 1; margin-top: -12px; height: 12px; width: var(--l); border-radius: 999px; background: rgba(255, 255, 255, .28); }
.barre-vip::after { background: var(--degrade-or); box-shadow: 0 0 18px rgba(215, 174, 90, .5); }
.barre-vip .barre-legende { color: var(--or); }
.barre-detail { order: 2; margin-top: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.vip.vip-pret .barre::after { width: 0; }
.vip.est-visible .barre::after { width: var(--l); transition: width 1.4s cubic-bezier(.2, .7, .2, 1) .3s; }
.vip.est-visible .barre-vip::after { transition-delay: .7s; }
.vip-comparaison-note { font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .45); max-width: 60ch; }

/* rappel du VIP sous les packs */
.packs-vip {
  margin-top: 26px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 24px;
  padding: 20px 24px; border-radius: var(--rayon);
  border: 1px solid rgba(215, 174, 90, .45);
  background: linear-gradient(90deg, rgba(215, 174, 90, .1), rgba(215, 174, 90, 0) 70%);
  font-size: 14.5px; color: rgba(255, 255, 255, .8);
  transition: border-color .3s;
}
.packs-vip .libelle { color: var(--or); }
.packs-vip strong { color: var(--or); font-weight: 600; }
.packs-vip:hover { border-color: var(--or); }
.carte-cliquable { cursor: pointer; }

.vip-prix { padding-top: 30px; border-top: 1px solid rgba(215, 174, 90, .35); }
.vip-prix .prix { margin-top: 14px; color: var(--blanc); font-size: clamp(54px, 6.2vw, 96px); }
.prix em { font-style: normal; font-size: .3em; font-weight: 400; letter-spacing: 0; color: rgba(255, 255, 255, .55); margin-left: .2em; }
.vip-mensuel { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .65); }
.vip-mensuel strong { color: var(--or); font-weight: 600; }
.vip-actions { margin-top: 30px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
/* VIP+ : pour ceux qui ont besoin de plus */
.vip-plus {
  margin-top: 30px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 18px 20px; border-radius: var(--rayon);
  border: 1px solid rgba(215, 174, 90, .4);
  background: rgba(255, 255, 255, .02);
  transition: border-color .3s, background .3s;
}
.vip-plus:hover { border-color: var(--or); background: rgba(215, 174, 90, .07); }
.vip-plus-nom {
  font-stretch: 125%; font-weight: 800; font-size: 26px; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(180deg, #FFF3D1, #D7AE5A 60%, #A37D35); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vip-plus-nom strong { font-weight: 800; }
.vip-plus-texte { font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.vip-plus-texte strong { color: var(--blanc); font-weight: 600; }
.vip-plus .fleche-ronde a { border-color: rgba(255, 255, 255, .2); }
/* VIP+ : une petite couronne posée sur le nom, et un éclat de lumière quand la carte arrive à l'écran
   (classes posées par app.js ; sans JavaScript ou en mouvement réduit, la couronne est simplement là) */
.vip-plus { position: relative; overflow: hidden; }
.vip-plus::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(241, 213, 138, .9), inset 0 0 26px rgba(215, 174, 90, .25);
}
.vip-plus::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-110%);
  background: linear-gradient(105deg, transparent 30%, rgba(255, 240, 200, .25) 46%, rgba(255, 250, 235, .55) 50%, rgba(255, 240, 200, .25) 54%, transparent 70%);
}
.vip-plus-nom { position: relative; padding-top: 15px; }
.vip-plus-nom::before {
  content: ""; position: absolute; left: -3px; top: 2px; width: 24px; height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Cdefs%3E%3ClinearGradient id='o' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='20'%3E%3Cstop offset='0' stop-color='%23FFF3D1'/%3E%3Cstop offset='.55' stop-color='%23D7AE5A'/%3E%3Cstop offset='1' stop-color='%23A37D35'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23o)'%3E%3Cpath d='M3 7l5.5 4.5L14 3.5l5.5 8L25 7l-2 7.5H5z'/%3E%3Crect x='5' y='15.5' width='18' height='2.6' rx='1.1'/%3E%3Ccircle cx='3' cy='6' r='1.9'/%3E%3Ccircle cx='14' cy='2.4' r='1.9'/%3E%3Ccircle cx='25' cy='6' r='1.9'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 5px rgba(241, 213, 138, .55));
  transform: rotate(-14deg); transform-origin: 50% 100%;
}
.vip-plus-nom::after {
  content: ""; position: absolute; left: 16px; top: -4px; width: 10px; height: 10px; opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath fill='%23FFF6DC' d='M5 0l1.2 3.8L10 5 6.2 6.2 5 10 3.8 6.2 0 5l3.8-1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.vip-plus-pret .vip-plus-nom::before { opacity: 0; transform: translateY(-14px) rotate(-50deg) scale(.5); }
.vip-plus-allume::before { animation: vip-plus-lueur 2.4s ease-out .2s both; }
.vip-plus-allume::after { animation: vip-plus-eclat 1.5s cubic-bezier(.35, .1, .25, 1) .35s both; }
.vip-plus-allume .vip-plus-nom::before { animation: couronne-pose .8s cubic-bezier(.34, 1.56, .64, 1) .1s both; }
.vip-plus-allume .vip-plus-nom::after { animation: couronne-etincelle 4.8s ease-in-out 1.1s infinite; }
@keyframes vip-plus-lueur { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: .3; } }
@keyframes vip-plus-eclat { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
@keyframes couronne-pose {
  from { opacity: 0; transform: translateY(-14px) rotate(-50deg) scale(.5); }
  to { opacity: 1; transform: rotate(-14deg); }
}
@keyframes couronne-etincelle {
  0%, 72%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  80% { opacity: 1; transform: scale(1) rotate(45deg); }
  90% { opacity: 0; transform: scale(.2) rotate(90deg); }
}

/* ---------- VIP+ : le graal. La carte en or massif dans un écrin, sous un halo de rayons ----------
   Entrée (classes posées par app.js) : les rayons s'ouvrent, la carte se redresse et monte, puis un éclat la traverse.
   Sans JavaScript ou en mouvement réduit, tout est simplement affiché. */
.vip-graal {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 110px; padding: clamp(30px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 80px); align-items: center;
  border-radius: 14px; border: 1px solid rgba(241, 213, 138, .55);
  background:
    radial-gradient(55% 75% at 27% 50%, rgba(241, 213, 138, .2), rgba(241, 213, 138, 0) 70%),
    linear-gradient(160deg, #17140C 0%, #0A0907 60%, #120F09 100%);
  box-shadow: 0 40px 120px -40px rgba(215, 174, 90, .35), inset 0 1px 0 rgba(255, 240, 200, .12);
}
.vip-graal::before { content: ""; position: absolute; inset: 10px; z-index: -1; border-radius: 9px; border: 1px solid rgba(215, 174, 90, .22); pointer-events: none; }
.graal-carte { position: relative; perspective: 1400px; }
.graal-carte::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: 150%; aspect-ratio: 1; pointer-events: none;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(rgba(241, 213, 138, .13) 0deg 4deg, rgba(241, 213, 138, 0) 4deg 15deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 18%, transparent 74%); mask-image: radial-gradient(closest-side, #000 18%, transparent 74%);
}
/* quelques éclats autour de la carte */
.graal-carte::after {
  content: ""; position: absolute; inset: -7%; pointer-events: none;
  background:
    radial-gradient(circle at 6% 16%, #FFF6DC 0 1.6px, transparent 2.6px), radial-gradient(circle at 95% 9%, #FFF6DC 0 2px, transparent 3px),
    radial-gradient(circle at 88% 94%, #FFF6DC 0 1.4px, transparent 2.4px), radial-gradient(circle at 14% 90%, #FFF6DC 0 1.8px, transparent 2.8px),
    radial-gradient(circle at 52% 2%, #FFF6DC 0 1.2px, transparent 2.2px);
  animation: graal-scintille 2.6s ease-in-out infinite alternate;
}
.graal-carte figure {
  position: relative; overflow: hidden; margin: 0; border-radius: 3.5% / 5.56%;
  box-shadow: 0 40px 70px -25px rgba(0, 0, 0, .9), 0 0 70px -12px rgba(241, 213, 138, .5);
  animation: vip-flotte 6s ease-in-out infinite alternate;
}
.graal-carte img { display: block; width: 100%; height: auto; }
.graal-carte figure::after {
  content: ""; position: absolute; inset: -40%; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 250, 230, .5) 50%, transparent 58%);
  transform: translateX(-35%);
  animation: x-balaie 6s ease-in-out 1.3s infinite;
}
.graal-libelle { display: flex; align-items: center; gap: 12px; }
.vip .graal-libelle { color: var(--or); }
.graal-libelle::before {
  content: ""; width: 26px; height: 19px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Cdefs%3E%3ClinearGradient id='o' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='20'%3E%3Cstop offset='0' stop-color='%23FFF3D1'/%3E%3Cstop offset='.55' stop-color='%23D7AE5A'/%3E%3Cstop offset='1' stop-color='%23A37D35'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23o)'%3E%3Cpath d='M3 7l5.5 4.5L14 3.5l5.5 8L25 7l-2 7.5H5z'/%3E%3Crect x='5' y='15.5' width='18' height='2.6' rx='1.1'/%3E%3Ccircle cx='3' cy='6' r='1.9'/%3E%3Ccircle cx='14' cy='2.4' r='1.9'/%3E%3Ccircle cx='25' cy='6' r='1.9'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 6px rgba(241, 213, 138, .6));
}
.vip-3d.graal-titre { margin-top: 22px; font-size: clamp(72px, 9.5vw, 156px); }
.vip-3d.graal-titre::before, .vip-3d.graal-titre::after { content: "VIP+"; }
.graal-avantages { margin-top: 28px; display: grid; gap: 12px; }
.graal-avantages li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.graal-avantages li::before { content: ""; position: absolute; left: 1px; top: .52em; width: 8px; height: 8px; transform: rotate(45deg); background: var(--degrade-or); box-shadow: 0 0 10px rgba(241, 213, 138, .6); }
.graal-avantages strong { color: var(--blanc); font-weight: 600; }
.vip-graal .vip-prix { margin-top: 34px; }
.graal-pret .graal-carte::before { opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-25deg); }
.graal-pret .graal-carte figure { opacity: 0; transform: translateY(46px) rotateY(-28deg) rotateX(10deg) scale(.9); }
.graal-allume .graal-carte::before { animation: graal-rayons 2.2s cubic-bezier(.2, .8, .2, 1) both; }
.graal-allume .graal-carte figure { animation: graal-entree 1.4s cubic-bezier(.2, .8, .2, 1) both, vip-flotte 6s ease-in-out 1.4s infinite alternate; }
@keyframes graal-rayons {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-25deg); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
}
@keyframes graal-entree {
  from { opacity: 0; transform: translateY(46px) rotateY(-28deg) rotateX(10deg) scale(.9); }
  to { opacity: 1; transform: translateY(-7px); }
}
@keyframes graal-scintille { from { opacity: .25; } to { opacity: 1; } }

.pilule-or > .wp-block-button__link { background: var(--degrade-or); color: var(--noir); border-color: transparent; font-weight: 600; }
.pilule-or > .wp-block-button__link::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7AE5A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / 15px no-repeat, var(--noir);
}
.pilule-or > .wp-block-button__link:hover { border-color: transparent; color: var(--noir); box-shadow: 0 0 30px -4px rgba(215, 174, 90, .55); }

.projets-a-venir { padding: 110px var(--marge) 130px; }
.projets-a-venir .atouts { margin-top: 34px; }

/* =========================================================
   FORMULAIRES (contact, paiement)
   ========================================================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-actions { margin-top: 40px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }

.contact-page { padding: 110px var(--marge) 130px; }
.contact-page-grille { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }

/* ---------- Contact Form 7 : ses enrobages sont neutralisés, sa feuille n'est pas chargée ---------- */
.wpcf7 form { margin: 0; }
.wpcf7-form-control-wrap { display: block; position: relative; }
.wpcf7 .screen-reader-response, .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7-spinner { display: none; }
.wpcf7-not-valid-tip { display: block; margin-top: 8px; font: 400 12.5px/1.4 var(--police); letter-spacing: 0; text-transform: none; color: var(--or-clair); }
.wpcf7 form .wpcf7-response-output {
  margin: 28px 0 0; padding: 16px 20px; border-radius: var(--rayon);
  border: 1px solid rgba(215, 174, 90, .45); background: rgba(215, 174, 90, .08);
  font-size: 14px; line-height: 1.55; color: var(--blanc);
}
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: rgba(241, 213, 138, .6); color: var(--or-clair); }
.wpcf7 form.submitting button[type="submit"] { opacity: .6; pointer-events: none; }
/* Paiement : le message de Contact Form 7 est déplacé sous le bouton « Payer » (app.js) */
.wpcf7 form .recap .wpcf7-response-output { margin-top: 18px; padding: 14px 16px; font-size: 13.5px; }

.formulaire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 32px; }
.formulaire > .libelle, .champ-large { grid-column: 1 / -1; }
.champ { display: flex; flex-direction: column; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.champ label, .champ legend {
  padding: 0;
  font-family: var(--police-large); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gris);
}
.champ legend { margin-bottom: 14px; }
.champ abbr { color: var(--or); text-decoration: none; }
.champ input, .champ textarea {
  width: 100%; padding: 10px 0 12px; margin: 0;
  background: transparent; color: var(--blanc);
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); border-radius: 0;
  font: 400 16px/1.5 var(--police); letter-spacing: -.005em;
  transition: border-color .3s, box-shadow .3s;
}
.champ textarea { display: block; resize: vertical; min-height: 140px; }
.champ input::placeholder, .champ textarea::placeholder { color: rgba(255, 255, 255, .3); }
.champ input:focus, .champ textarea:focus { outline: none; border-bottom-color: var(--or); box-shadow: 0 1px 0 var(--or); }
.champ .wpcf7-not-valid { border-bottom-color: var(--or-clair); }

/* pastilles à cocher (cases et boutons radio de Contact Form 7) */
.choix .wpcf7-checkbox, .choix .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 10px; }
.choix .wpcf7-list-item { display: block; margin: 0; }
.choix label { position: relative; display: block; cursor: pointer; font-family: var(--police); text-transform: none; letter-spacing: 0; }
.choix input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choix .wpcf7-list-item-label {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18);
  font-size: 13.5px; color: rgba(255, 255, 255, .8);
  transition: border-color .25s, color .25s, background .25s;
}
.choix label:hover .wpcf7-list-item-label { border-color: rgba(255, 255, 255, .4); }
.choix input:checked + .wpcf7-list-item-label { border-color: var(--or); color: var(--blanc); background: rgba(215, 174, 90, .12); }
.choix input:focus-visible + .wpcf7-list-item-label { outline: 2px solid var(--or); outline-offset: 3px; }
.choix .wpcf7-list-item-label small { margin-left: 6px; font-size: 11.5px; color: rgba(255, 255, 255, .5); }
.choix input:disabled { cursor: not-allowed; }
.choix input:disabled + .wpcf7-list-item-label { opacity: .32; text-decoration: line-through; }
.choix label:has(input:disabled):hover .wpcf7-list-item-label { border-color: rgba(255, 255, 255, .18); }
.choix .choix-vip .wpcf7-list-item-label { border-color: rgba(215, 174, 90, .5); }
.choix-info { margin-top: 16px; display: grid; gap: 10px; max-width: 62ch; }
.choix-info:empty { display: none; }
.choix-resume {
  position: relative;
  padding: 14px 18px; border-radius: var(--rayon);
  border-left: 2px solid var(--or);
  background: linear-gradient(90deg, rgba(215, 174, 90, .1), rgba(215, 174, 90, .02));
  font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .78);
  animation: resume-apparait .35s cubic-bezier(.2, .7, .2, 1);
}
.choix-resume strong { font-weight: 600; color: var(--blanc); }
.choix-prix { margin-left: 10px; font-weight: 600; color: var(--or); }
.choix-texte { display: block; margin-top: 4px; }
.choix-alerte { font-size: 13px; line-height: 1.5; color: var(--or-clair); }

/* étiquette « ★ Le meilleur choix » du VIP */
.etiquette-or {
  display: inline-block; vertical-align: middle;
  padding: 5px 10px; border-radius: 999px;
  background: var(--degrade-or); color: var(--noir);
  box-shadow: 0 0 18px -4px rgba(215, 174, 90, .6);
  font-family: var(--police-large); font-style: normal; font-size: 8.5px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
  white-space: nowrap;
  -webkit-text-fill-color: var(--noir);
}
/* petite étoile dessinée (la police Michroma n'a pas le caractère ★) */
.etiquette-or::before {
  content: ""; display: inline-block; width: 1.1em; height: 1.1em; margin-right: .55em; vertical-align: -.2em;
  background: var(--noir);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.choix-resume:has(.choix-etiquette) { padding-right: 160px; }
.choix-etiquette { position: absolute; top: 12px; right: 12px; }
.offre-option-nom .etiquette-or { margin-left: 8px; }
@media (max-width: 560px) {
  .choix-resume:has(.choix-etiquette) { padding-right: 18px; padding-top: 44px; }
  .choix-etiquette { left: 18px; right: auto; }
}
@keyframes resume-apparait { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* numéros de téléphone : un vrai bouton « appeler », l'icône est dessinée sur le lien */
.lien-tel { display: flex; }
.lien-tel a { display: inline-flex; align-items: center; gap: 10px; }
.lien-tel a::before {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23090A07'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.1.37 2.3.57 3.6.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1l-2.22 2.23z'/%3E%3C/svg%3E") center / 14px no-repeat, var(--degrade-or);
  transition: transform .3s;
}
.lien-tel a:hover::before { transform: scale(1.08) rotate(-8deg); }

/* case de consentement (acceptation de Contact Form 7) */
.consentement { font-size: 13px; line-height: 1.55; color: var(--gris); }
.consentement .wpcf7-list-item { display: block; margin: 0; }
.consentement label { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.consentement input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 20px; height: 20px; margin: 1px 0 0; border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, .3); background: transparent; cursor: pointer;
  display: grid; place-content: center; transition: background .2s, border-color .2s;
}
.consentement input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--noir); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.consentement input:checked { background: var(--degrade-or); border-color: transparent; }
.consentement input:checked::after { opacity: 1; }
.consentement input:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.consentement a { color: var(--blanc); text-decoration: underline; text-underline-offset: 3px; }

.formulaire-pied { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.formulaire-note { font-size: 12px; color: var(--gris); }

.contact-page-infos { padding-left: clamp(0px, 4vw, 56px); border-left: 1px solid var(--filet-clair); }
.contact-page-infos .contact-mail { margin-top: 26px; font-size: clamp(19px, 1.8vw, 26px); }
.contact-zones { margin: 40px 0 0; display: grid; gap: 22px; }
.zone-titre { font-family: var(--police-large); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.zone-texte { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--texte); }
.contact-reseaux { margin-top: 44px; }
.contact-reseaux .wp-block-social-links.reseaux { justify-content: flex-start; margin-top: 16px; }
.contact-paiement {
  margin-top: 48px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 16px;
  padding: 22px 24px; border-radius: var(--rayon); border: 1px solid var(--filet-clair);
  transition: border-color .3s;
}
.contact-paiement-titre { grid-column: 1; font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: 17px; letter-spacing: -.01em; color: var(--blanc); }
.contact-paiement .fleche-ronde { grid-column: 2; grid-row: 1 / 3; }
.contact-paiement:hover { border-color: rgba(215, 174, 90, .55); }

/* ---------- Paiement ---------- */
.paiement { padding: 110px var(--marge) 130px; }
.paiement-grille { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.paiement .libelle b { font-weight: 400; color: var(--or); margin-right: 10px; }
.offres-liste { margin: 26px 0 0; padding: 0; border: 0; border-top: 1px solid var(--filet-clair); min-width: 0; }
.offres-liste .wpcf7-checkbox { display: block; }
/* chaque case de Contact Form 7 devient une ligne d'offre (nom et prix ajoutés par app.js) */
.offres-liste .wpcf7-list-item { display: block; margin: 0; border-bottom: 1px solid var(--filet-clair); transition: background .25s; }
.offres-liste .wpcf7-list-item:hover { background: rgba(255, 255, 255, .02); }
.offres-liste label {
  position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 24px 6px; cursor: pointer;
}
.offres-liste input {
  appearance: none; -webkit-appearance: none; margin: 0;
  width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .3);
  display: grid; place-content: center; cursor: pointer; transition: border-color .2s, background .2s;
}
.offres-liste input::after {
  content: ""; width: 10px; height: 6px; margin-top: -2px;
  border: 2px solid var(--noir); border-top: 0; border-right: 0;
  transform: rotate(-45deg) scale(0); transition: transform .2s;
}
.offres-liste input:checked { border-color: transparent; background: var(--degrade-or); }
.offres-liste input:checked::after { transform: rotate(-45deg) scale(1); }
.offres-liste .wpcf7-list-item:has(input:disabled) { opacity: .38; }
.offres-liste label:has(input:disabled) { cursor: not-allowed; }
.offres-liste .wpcf7-list-item:has(input:disabled) .offre-option-nom { text-decoration: line-through; }
.offres-liste input:disabled { cursor: not-allowed; }
.offres-liste input:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.offres-liste .wpcf7-list-item:has(input:checked) { background: linear-gradient(90deg, rgba(215, 174, 90, .09), rgba(215, 174, 90, 0) 70%); }
.paiement-choix .choix-info { margin-top: 18px; }
.offres-liste .wpcf7-list-item-label, .offre-option-nom { font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: clamp(16px, 1.5vw, 21px); letter-spacing: -.015em; color: var(--blanc); }
.offre-option-nom small { display: block; margin-top: 6px; font-stretch: 100%; font-weight: 400; text-transform: none; font-size: 13px; letter-spacing: 0; color: var(--gris); }
.offre-option-prix { font-stretch: 125%; font-weight: 700; font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -.02em; color: var(--blanc); white-space: nowrap; }
.offre-option-prix small { font-size: 12px; font-weight: 400; color: var(--gris); }
.offre-option-vip .offre-option-nom { background: linear-gradient(180deg, #FFF3D1, #D7AE5A 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.offre-option-vip .offre-option-nom small { -webkit-text-fill-color: var(--gris); }
.paiement-mode { margin-top: 44px; }
.paiement-mode[hidden] { display: none; }
.paiement-mode .choix { margin-top: 18px; }
.paiement-vip { margin-top: 40px; font-size: 13.5px; color: var(--gris); }
.paiement-vip a { color: var(--blanc); text-decoration: underline; text-underline-offset: 3px; }

.recap {
  position: sticky; top: 30px;
  padding: 32px 30px; border-radius: var(--rayon);
  border: 1px solid rgba(215, 174, 90, .4);
  background: linear-gradient(160deg, rgba(215, 174, 90, .1), rgba(215, 174, 90, 0) 50%), var(--noir);
}
.recap-vide { margin-top: 18px; font-size: 13.5px; color: var(--gris); }
.recap-vide[hidden], .recap-suite[hidden] { display: none; }
.recap-lignes { margin-top: 18px; display: grid; gap: 12px; }
.recap-lignes:empty { display: none; }
.recap-lignes li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.recap-lignes li span { min-width: 0; }
.recap-lignes li .etiquette-or { margin-left: 4px; }
.recap-lignes strong { flex: none; font-weight: 600; color: var(--blanc); font-variant-numeric: tabular-nums; }
.recap-suite { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--gris); }
.recap-email, .recap-parrain { margin-top: 22px; }
.recap-email input, .recap-parrain input { font-size: 15px; }
.recap-lignes .recap-remise, .recap-lignes .recap-remise strong { color: var(--or-clair); }
.recap-lignes .recap-inconnu, .recap-lignes .recap-inconnu strong { font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, .5); }
.champ-aide { margin-left: 6px; color: var(--or); letter-spacing: .08em; }
.recap-total { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--filet-sombre); display: flex; justify-content: space-between; align-items: baseline; }
.recap-total span { font-family: var(--police-large); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.recap-prix { font-stretch: 125%; font-weight: 700; font-size: clamp(30px, 2.8vw, 40px); letter-spacing: -.03em; color: var(--blanc); }
.recap .consentement { margin-top: 26px; }
.recap .consentement + .consentement { margin-top: 14px; }
.consentement-demarrage { font-size: 12px; }
button.recap-payer { margin-top: 24px; width: 100%; justify-content: space-between; }
button.recap-payer:disabled { opacity: .45; cursor: not-allowed; }
/* Michroma n'a pas de glyphe « € » : le montant passe en Archivo */
.recap-payer-texte { font-family: var(--police); font-weight: 600; font-size: 14px; letter-spacing: .02em; text-transform: none; }
.recap-garanties { margin-top: 26px; display: grid; gap: 10px; }
.recap-garanties li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--gris); }
.recap-garanties li::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--icone) center / 16px no-repeat; }
.garantie-cadenas { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7AE5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.garantie-carte { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7AE5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E"); }
.garantie-recu { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7AE5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E"); }
/* =========================================================
   MÉTHODE
   ========================================================= */
.methode { padding: 140px var(--marge) 0; overflow: hidden; }
.methode-tete { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 60px; align-items: end; }
.methode-tete .titre-section { margin-top: 26px; }
.etapes { margin-top: 84px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--filet-clair); }
.etapes > * { padding: 40px 40px 10px 0; }
.etapes > * + * { padding-left: 40px; border-left: 1px solid var(--filet-clair); }
.etape-num {
  display: block; font-stretch: 125%; font-weight: 800;
  font-size: clamp(56px, 6.4vw, 104px); line-height: .9; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .32);
}
.etapes > :hover .etape-num { -webkit-text-stroke-color: var(--or); }
.etapes h3 { margin-top: 30px; font-weight: 600; font-size: 21px; letter-spacing: -.02em; color: var(--encre); }
.etapes p:not(.etape-num) { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--gris); max-width: 34ch; }

/* =========================================================
   POUR QUI (bandeau défilant)
   ========================================================= */
.pourqui { margin: 0 calc(-1 * var(--marge)); padding: 150px 0 130px; }
.pourqui .libelle { padding: 0 var(--marge); }
.defilant { margin-top: 34px; overflow: hidden; border-top: 1px solid var(--filet-clair); border-bottom: 1px solid var(--filet-clair); }
.defilant-piste { display: flex; align-items: center; gap: 34px; width: max-content; padding: 26px 0; animation: defile 38s linear infinite; }
.defilant-piste li {
  display: flex; align-items: center; gap: 34px;
  font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(30px, 4.4vw, 64px); line-height: 1; letter-spacing: -.02em; color: var(--encre);
  white-space: nowrap;
}
.defilant-piste li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px var(--encre); }
/* le « + » doré entre deux métiers */
.defilant-piste li::after {
  content: "+"; font-stretch: 100%; font-weight: 300; font-size: clamp(22px, 2.6vw, 36px);
  color: var(--or); -webkit-text-stroke: 0;
}
@keyframes defile { to { transform: translateX(-50%); } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: 140px var(--marge); }
.contact-grille { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: end; }
.contact-infos { padding-left: clamp(0px, 4vw, 60px); border-left: 1px solid var(--filet-sombre); padding-bottom: 8px; }
.contact-infos .contact-mail { margin-top: 0; }
.titre-geant {
  font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(44px, 8.4vw, 136px); line-height: .9; letter-spacing: -.035em;
  background: var(--argent); -webkit-background-clip: text; background-clip: text; color: transparent;
  hyphens: none;
}
.contact-mail {
  display: block; width: fit-content; position: relative; margin-top: 56px; padding-bottom: 14px;
  font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -.015em; color: var(--blanc);
}
.contact-mail::before, .contact-mail::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; }
.contact-mail::before { right: 0; background: rgba(255, 255, 255, .22); }
.contact-mail::after { width: 22%; background: var(--degrade-or); transition: width .5s; }
.contact-mail:hover::after { width: 100%; }
.contact-tel { margin-top: 40px; display: flex; gap: 48px; flex-wrap: wrap; }
.contact-tel > * { display: flex; flex-direction: column; gap: 6px; }
.contact-tel-nom { font-family: var(--police-large); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.contact-tel a { font-size: 19px; color: var(--blanc); letter-spacing: .01em; }
.contact-tel a:hover { color: var(--or); }
.contact .texte { margin-top: 36px; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.pied { background: var(--noir); color: rgba(255, 255, 255, .6); padding: 0 var(--marge); border-top: 1px solid var(--filet-sombre); }
.pied-haut { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 46px 0; }
.wp-block-site-logo.pied-logo { justify-self: start; line-height: 0; }
.wp-block-site-logo.pied-logo img { height: 44px; width: auto; max-width: none; }
nav.pied-nav, nav.pied-nav .wp-block-navigation__container { display: flex; gap: 40px; }
nav.pied-nav .wp-block-navigation-item { color: rgba(255, 255, 255, .8); transition: color .2s; }
nav.pied-nav .wp-block-navigation-item:hover { color: var(--or); }
nav.pied-nav .wp-block-navigation-item__content { font-family: var(--police-large); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
/* bulles des réseaux : bloc Icônes de réseaux sociaux, en blanc (pas les couleurs des marques) */
.wp-block-social-links.reseaux { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin: 0; padding: 0; }
.wp-block-social-links.reseaux li.wp-social-link { margin: 0; padding: 0; color: var(--blanc); background: none; border-radius: 50%; }
.wp-block-social-links.reseaux .wp-social-link .wp-block-social-link-anchor {
  width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid var(--filet-sombre);
  display: grid; place-items: center; color: var(--blanc); transition: border-color .3s, background .3s;
}
.wp-block-social-links.reseaux .wp-social-link .wp-block-social-link-anchor:hover { border-color: var(--or); background: rgba(215, 174, 90, .1); }
.wp-block-social-links.reseaux .wp-social-link .wp-block-social-link-anchor svg { width: 18px; height: 18px; fill: currentColor; }
.pied-bas {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 22px 0 30px; border-top: 1px solid var(--filet-sombre);
  font-size: 12px;
}
.pied-bas a:hover { color: var(--or); }
.pied-bas p:last-child { font-family: var(--police-large); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* 6 liens dans la barre : en dessous de 1320 px ils passent dans le menu rond */
@media (max-width: 1320px) {
  .entete { grid-template-columns: 1fr auto; }
  .wp-block-navigation.entete-nav { display: none; }
}
@media (max-width: 1080px) {
  .liste-services > * { grid-template-columns: 48px minmax(0, 1fr) 140px; gap: 20px; }
}

@media (max-width: 820px) {
  /* lamelles plus étroites : on réduit le décalage pour ne pas dédoubler les visages */
  .heros { --ph: max(96vh, 150vw); --py: 47%; --k: .16; }
  .heros-centre { top: 50%; width: 90vw; }
  .deux-colonnes { grid-template-columns: 1fr; }
  .apropos-grille { grid-template-columns: 1fr; }
  .apropos-texte { padding: 90px 0 50px; }
  .apropos-visuel { padding: 0 0 70px; border-left: 0; }
  .x-anime { position: static; max-width: 520px; }
  .atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atouts > :nth-child(3) { padding-left: 0; border-left: 0; }
  .atouts > :nth-child(n+3) { border-top: 1px solid var(--filet-clair); }
  .terrain-tete, .cadre-qui-tete { grid-template-columns: 1fr; }
  .cadre-qui-tete .cadre-qui-texte > *, .cadre-qui-tete .cadre-qui-visuel { grid-column: 1; grid-row: auto; }
  .cadre-qui-tete .cadre-qui-visuel { margin-top: 44px; }
  .cadre-qui .cadre-qui-texte .terrain-titre + .texte { margin-top: 30px; padding-top: 30px; }
  .cadre-qui .x-anime { margin: 0; max-width: 420px; }
  .apropos { padding-top: 80px; }
  .terrain-valeurs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terrain-valeurs > :nth-child(3) { padding-left: 0; border-left: 0; }
  .terrain-valeurs > :nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 28px; }
  .atouts-trois { grid-template-columns: 1fr; }
  .atouts-trois > *, .atouts-trois > * + * { padding: 28px 0; border-left: 0; }
  .atouts-trois > * + * { border-top: 1px solid var(--filet-clair); }
  .col-etroite { border-right: 0; padding: 90px 0 0; }
  .col-large { padding: 40px 0 90px; }
  .apropos-photo { margin-top: 28px; aspect-ratio: 4 / 3; }
  .offre-tete, .contact-grille, .methode-tete { grid-template-columns: 1fr; gap: 28px; }
  .contact-infos { border-left: 0; padding-left: 0; }
  .packs, .engagements, .parrainage-grille { grid-template-columns: 1fr; }
  .vip-grille, .vip-economie, .vip-graal { grid-template-columns: 1fr; }
  .graal-carte { max-width: 560px; }
  .packs-vip { grid-template-columns: minmax(0, 1fr) auto; }
  .packs-vip .libelle { grid-column: 1 / -1; }
  .vip::before { width: 120%; top: 75%; }
  .contact-page-grille, .paiement-grille { grid-template-columns: 1fr; }
  .contact-page-infos { padding-left: 0; border-left: 0; padding-top: 50px; border-top: 1px solid var(--filet-clair); }
  .recap { position: static; }
  .offre-site-grille { grid-template-columns: 1fr; }
  .offre-site-prix { border-left: 0; padding-left: 0; }
  .tete-page { padding-top: 150px; padding-bottom: 80px; }
  .tete-page.avec-fond::before { -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); opacity: .4; }
  .tarifs { padding-top: 70px; }
  .tarifs-bloc .col-etroite { padding-top: 70px; padding-bottom: 0; }
  .tarifs-bloc .col-large { padding-top: 28px; padding-bottom: 80px; }
  .etapes { grid-template-columns: 1fr; }
  .etapes > *, .etapes > * + * { padding: 34px 0; border-left: 0; }
  .etapes > * + * { border-top: 1px solid var(--filet-clair); }
  .pied-haut { grid-template-columns: 1fr; justify-items: start; }
  .wp-block-social-links.reseaux { justify-content: flex-start; }
  .manifeste, .offre, .contact, .methode { padding-top: 100px; }
}

@media (max-width: 560px) {
  .entete { padding-top: 18px; }
  .wp-block-site-logo.entete-logo img { height: 30px; }
  .wp-block-buttons.entete-cta { display: none; }
  .heros-bas { flex-direction: column; align-items: flex-start; bottom: 28px; }
  .chiffres { grid-template-columns: 1fr; }
  .atouts { grid-template-columns: 1fr; }
  .formulaire { grid-template-columns: 1fr; gap: 28px; }
  .offres-liste label { grid-template-columns: 22px minmax(0, 1fr); gap: 8px 16px; }
  .offre-option-prix { grid-column: 2; }
  .atouts > *, .atouts > * + * { padding: 30px 0; border-left: 0; }
  .atouts > * + * { border-top: 1px solid var(--filet-clair); }
  .terrain-valeurs { grid-template-columns: 1fr; }
  .terrain-valeurs > *, .terrain-valeurs > * + * { padding: 26px 0 0; border-left: 0; margin-top: 0; }
  .terrain-valeurs > * + * { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 26px; }
  .x-anime-scene { aspect-ratio: 1 / 1; }
  .chiffres > *, .chiffres > * + * { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--filet-clair); }
  .liste-services > * { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
  .liste-services .num { padding-top: 0; }
  .vignette { aspect-ratio: 16 / 8; }
  .points { flex-direction: column; gap: 12px; }
  nav.pied-nav, nav.pied-nav .wp-block-navigation__container { flex-wrap: wrap; gap: 18px 26px; }
  .carte-offerte::before { background: linear-gradient(0deg, rgba(9, 10, 7, .95) 0%, rgba(9, 10, 7, .7) 55%, rgba(9, 10, 7, .2) 100%); }
  .lignes-prix > * { grid-template-columns: minmax(0, 1fr) auto; gap: 16px 20px; }
  .lignes-prix > * > .wp-block-group { grid-column: 1 / -1; }
  .fleche-ronde { justify-self: end; }
  .vip-avantages { grid-template-columns: 1fr; }
  .vip { padding-top: 100px; padding-bottom: 100px; }
  .offre-actions { flex-direction: column-reverse; align-items: flex-start; gap: 24px; }
}

/* Bloc sorti de l'écran (app.js) : ses animations en boucle se figent jusqu'à son retour. */
.hors-ecran, .hors-ecran::before, .hors-ecran::after,
.hors-ecran *, .hors-ecran *::before, .hors-ecran *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  .defilant-piste, .x-comete, .x-particule, .x-particule::before, .x-balayage, .x-anime-fond,
  .cannelures, .h-comete, .heros-souffle, .heros-balayage,
  .heros-centre::after, .heros-metiers, .heros-bas, .heros-defiler a::after, .choix-resume { animation: none; }
  .intro { display: none; }
  .h-trait { animation: none; stroke-dashoffset: 0; }
  .carte-vip, .carte-vip-face::after, .texte-or, .terrain-titre em, .engagement h3 em, .vip-titre-sous em, .vip-economie-sous em, .tete-page-titre strong, .cadre-qui-texte .texte strong,
  .graal-carte::after, .graal-carte figure, .graal-carte figure::after { animation: none; }
  .vip.vip-pret .barre::after { width: var(--l); }
  .x-anime.x-pret .x-trait { stroke-dashoffset: 0; animation: none; }
  .x-anime.x-pret .x-anime-fond { opacity: 1; }
}

/* =========================================================
   ADAPTATIONS WORDPRESS (formulaires, pages simples)
   ========================================================= */
/* Parrainage : bouton « Copier » avec son icône, message de Contact Form 7 remplacé par l'étape 3 */
button.parrainage-copier::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23090A07' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V6a1 1 0 0 1 1-1h9'/%3E%3C/svg%3E") center / 15px no-repeat, var(--degrade-or);
}
button.parrainage-copier:hover::after { transform: scale(1.06); }
.parrainage-form-bloc .wpcf7 form.sent .wpcf7-response-output { display: none; }
.parrainage-form .consentement, .parrainage-form .champ { min-width: 0; }

/* Pages de texte (actualités, futures pages légales) */
.page-texte { padding: 90px var(--marge) 120px; color: var(--texte); }
.page-texte .wp-block-post-title { font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 32px); color: var(--blanc); }
.page-texte .wp-block-post-title a:hover { color: var(--or); }
.page-texte .wp-block-post-excerpt { margin-top: 10px; color: var(--gris); }
.page-texte .wp-block-post-template { display: grid; gap: 48px; list-style: none; margin: 0; padding: 0; }

/* =========================================================
   ESPACE CLIENT : page Bienvenue (après paiement), accueil de l'espace, espace d'un client
   ========================================================= */
.bienvenue, .espace-accueil, .espace-suivi, .espace-demande { padding: 110px var(--marge) 120px; }
.bienvenue-plus, .espace-livraisons { padding: 100px var(--marge) 120px; }
.bienvenue-grille, .espace-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
/* carte dorée : récapitulatif de commande, code d'accès, formulaire de demande */
.bienvenue-commande, .espace-carte {
  padding: clamp(26px, 3.5vw, 44px); border-radius: var(--rayon);
  border: 1px solid rgba(215, 174, 90, .4);
  background: linear-gradient(160deg, rgba(215, 174, 90, .1), rgba(215, 174, 90, 0) 50%), var(--noir);
}
.tete-page .bienvenue-statut { display: flex; align-items: center; gap: 10px; color: var(--or-clair); }
.bienvenue-statut::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23090A07' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center / 12px no-repeat, var(--degrade-or);
  box-shadow: 0 0 18px -2px rgba(215, 174, 90, .6);
}
.bienvenue-offre { margin-top: 18px; font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 38px); line-height: 1; letter-spacing: -.025em; color: var(--blanc); }
.bienvenue-prix { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--or); }
.bienvenue-prix:empty { display: none; }
.bienvenue-detail { margin-top: 16px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .68); }
.bienvenue-abonnement { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--filet-sombre); }
.bienvenue-abonnement p { font-size: 13.5px; line-height: 1.6; color: var(--gris); }
.bienvenue-abonnement .wp-block-buttons { margin-top: 16px; }
.bienvenue-contact { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--filet-sombre); font-size: 12.5px; line-height: 1.8; color: var(--gris); }
.bienvenue-contact a, .espace-aide a { color: var(--blanc); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.bienvenue-contact a:hover, .espace-aide a:hover { color: var(--or); }
.bienvenue-preparer { margin-top: 48px; }
.bienvenue .bienvenue-points { margin-top: 18px; flex-direction: column; gap: 12px; }
.bienvenue-plus .engagements { margin-top: 0; }
.icone-cle { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7AE5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='m10.8 12.2 9.2-9.2'/%3E%3Cpath d='m17 6 3 3'/%3E%3Cpath d='m14.5 8.5 2.5 2.5'/%3E%3C/svg%3E"); }

/* « Gérer mon abonnement » : caché tant que le lien du portail Stripe n'est pas renseigné (app.js) */
.lien-portail:not(.portail-pret) { display: none; }
.lien-portail .wp-block-buttons { gap: 12px; }  /* deux portails (un par associé) : deux boutons */
.espace-abonnement {
  margin-top: 56px; padding: 26px 30px; border-radius: var(--rayon);
  display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap;
  border: 1px solid rgba(215, 174, 90, .35);
  background: linear-gradient(120deg, rgba(215, 174, 90, .09), rgba(215, 174, 90, 0) 60%);
}
.espace-abonnement h3 { font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -.01em; color: var(--blanc); }
.espace-abonnement p { margin-top: 8px; max-width: 62ch; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .68); }

/* Code d'accès : page « Espace client » et espace verrouillé */
.espace-code { margin-top: 22px; display: grid; gap: 22px; }
.espace-code input { font-size: 18px; letter-spacing: .06em; }
.espace-code-envoi { display: flex; }
.espace-erreur { font-size: 13px; line-height: 1.5; color: var(--or-clair); }
.espace-aide { margin-top: 22px; font-size: 12.5px; line-height: 1.7; color: var(--gris); }
.espace-explication .suite-etapes { margin-top: 26px; }
.espace-offres { margin-top: 44px; }
.espace-verrou { --gris: rgba(255, 255, 255, .5); min-height: 78vh; }
.espace-verrou .espace-code { margin-top: 64px; max-width: 460px; }
.espace-verrou .espace-aide { max-width: 460px; }

/* Espace d'un client */
.espace-formule strong { font-weight: 600; color: var(--blanc); }
.espace-suivi .titre-section, .espace-livraisons .titre-section, .espace-demande .titre-section { margin-top: 22px; }
.compteurs { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.compteur {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 28px 28px; border-radius: var(--rayon);
  border: 1px solid var(--filet-clair); background: rgba(255, 255, 255, .02);
}
.compteur-nom { font-family: var(--police-large); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
.compteur-valeur { font-stretch: 125%; font-weight: 700; font-size: clamp(28px, 2.8vw, 42px); line-height: 1; letter-spacing: -.03em; color: var(--blanc); font-variant-numeric: tabular-nums; }
.compteur-date .compteur-valeur { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -.01em; }
.compteur-jauge { display: block; height: 4px; margin-top: auto; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.compteur-jauge::after { content: ""; display: block; height: 100%; width: calc(var(--part) * 100%); border-radius: inherit; background: var(--degrade-or); box-shadow: 0 0 12px rgba(241, 213, 138, .5); }
.compteur-plein { border-color: rgba(215, 174, 90, .5); }
.livraisons { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.livraison {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: var(--rayon);
  border: 1px solid var(--filet-sombre); background: var(--noir-2);
}
.livraison-type { font-family: var(--police-large); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--or); }
.livraison h3 { font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.1; letter-spacing: -.01em; color: var(--blanc); }
.livraison p:not(.livraison-type) { font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .65); }
.livraison figure, .livraison .wp-block-video { margin: 0 0 4px; border-radius: 6px; overflow: hidden; }
.livraison .wp-block-buttons { margin-top: auto; padding-top: 10px; }
.espace-demande .texte { margin-top: 26px; }
.espace-interlocuteurs { margin-top: 44px; }
.espace-demande .contact-tel { margin-top: 18px; gap: 26px 40px; }
.espace-demande .contact-tel a { font-size: 16px; }
.lien-mail { display: flex; }
.lien-mail a { display: inline-flex; align-items: center; gap: 10px; }
.lien-mail a::before {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23090A07' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='m3.5 7 8.5 6 8.5-6'/%3E%3C/svg%3E") center / 14px no-repeat, var(--degrade-or);
  transition: transform .3s;
}
.lien-mail a:hover::before { transform: scale(1.08) rotate(-8deg); }
.espace-formulaire .formulaire { gap: 28px 24px; }

/* Le site d'un client : « Mon espace » dans l'en-tête et en tête du menu (app.js) */
.pilule-client > .wp-block-button__link { border-color: rgba(215, 174, 90, .6); box-shadow: 0 0 24px -8px rgba(215, 174, 90, .7); }
nav.menu-deroulant .menu-espace { margin-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 10px 10px 0 0; color: var(--or-clair); }
nav.menu-deroulant.est-ouvert .wp-block-navigation-item:nth-child(7) { animation-delay: .24s; }

@media (max-width: 820px) {
  .bienvenue-grille, .espace-grille { grid-template-columns: minmax(0, 1fr); }
  .bienvenue, .espace-accueil, .espace-suivi, .espace-demande, .bienvenue-plus, .espace-livraisons { padding-top: 80px; padding-bottom: 90px; }
  .espace-verrou { min-height: 0; }
}
@media (max-width: 560px) {
  .espace-abonnement { padding: 24px 22px; }
  .espace-verrou .espace-code { margin-top: 44px; }
}

/* =========================================================
   PAGES LÉGALES (mentions, CGV, remboursement, confidentialité, cookies)
   Texte long : une colonne étroite, titres en capitales, puces « + » dorées.
   ========================================================= */
.legal { padding: 100px var(--marge) 130px; }
.legal-contenu { max-width: 780px; }
.legal-contenu > * + * { margin-top: 14px; }
.legal h2 {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--filet-clair);
  font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(17px, 1.9vw, 22px); line-height: 1.2; letter-spacing: -.01em;
  color: var(--encre);
}
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { margin-top: 30px; font-size: 16px; font-weight: 600; color: var(--encre); }
.legal-contenu > h2 + *, .legal-contenu > h3 + * { margin-top: 12px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--texte); }
.legal strong { font-weight: 600; color: var(--encre); }
.legal a { color: var(--or-clair); text-decoration: underline; text-decoration-color: rgba(215, 174, 90, .45); text-underline-offset: 3px; transition: text-decoration-color .3s; }
.legal a:hover { text-decoration-color: var(--or); }
.legal ul { display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: "+"; position: absolute; left: 0; top: -2px; color: var(--or); font-size: 18px; font-weight: 300; }
.legal-encadre { padding: 26px 28px; border: 1px solid var(--filet-clair); border-radius: var(--rayon); background: rgba(255, 255, 255, .03); }
.legal-encadre > * + * { margin-top: 14px; }
.legal .legal-note { font-size: 13px; color: var(--gris); }
#formulaire-retractation { scroll-margin-top: 110px; }

/* =========================================================
   PAGE LIENS (/liens/, le lien à mettre en bio des réseaux)
   Gabarit page-liens.html : ni en-tête ni pied, une colonne pensée pour le téléphone.
   ========================================================= */
main.page-liens { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; padding: 56px 20px 36px; background: var(--noir); color: var(--blanc); }
.page-liens::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("assets/img/x-dore.jpg") center 28% / cover no-repeat;
  opacity: .4;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}
.liens-carte { position: relative; z-index: 1; max-width: 460px; margin: 0 auto; text-align: center; }
.liens-logo { display: flex; justify-content: center; }
.liens-logo img { width: 150px; height: auto; filter: drop-shadow(0 0 22px rgba(241, 213, 138, .3)); }
.liens-carte .libelle { margin-top: 26px; font-size: 9px; letter-spacing: .12em; color: var(--or); }
.liens-titre {
  margin-top: 14px;
  font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(20px, 6.4vw, 34px); line-height: 1; letter-spacing: -.02em;
  color: var(--blanc); text-wrap: balance;
}
.liens-titre strong { color: var(--or-clair); }
.liens-intro { max-width: 34ch; margin: 16px auto 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .7); }
.liens-boutons.wp-block-buttons { display: grid; gap: 12px; margin-top: 30px; }
.liens-boutons .wp-block-button { width: 100%; margin: 0; }
.liens-boutons .wp-block-button__link {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px;
  padding: 0 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05); color: var(--blanc);
  font-size: 15px; font-weight: 600; letter-spacing: .01em; text-align: center;
  transition: border-color .3s, background .3s, transform .2s;
}
.liens-boutons .wp-block-button__link:hover { border-color: var(--or); background: rgba(215, 174, 90, .1); }
.liens-boutons .wp-block-button__link:active { transform: scale(.98); }
.liens-boutons .lien-or .wp-block-button__link { border-color: transparent; background: var(--degrade-or); color: var(--noir); box-shadow: 0 8px 30px rgba(215, 174, 90, .25); }
.liens-boutons .lien-or .wp-block-button__link:hover { background: var(--degrade-or); filter: brightness(1.06); }
.liens-carte .wp-block-social-links.reseaux { justify-content: center; margin-top: 32px; }
.liens-contact { margin-top: 22px; font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, .6); }
.liens-contact a { color: var(--blanc); }
.liens-contact a:hover, .liens-pied a:hover { color: var(--or); }
.liens-pied { margin-top: 34px; font-size: 11.5px; color: rgba(255, 255, 255, .4); }
@media (max-width: 560px) {
  .legal { padding-top: 70px; padding-bottom: 90px; }
  .legal-encadre { padding: 20px 18px; }
}

/* Site web : prix personnalisé (1.3.14) — texte à la place du montant, il peut passer sur deux lignes. */
.offre-site .prix-perso { font-size: clamp(40px, 4.6vw, 72px); white-space: normal; line-height: .98; }
