/* DRC GAMES WEEK — styles du site (thème WordPress). Source : maquette validée, phase 2.
   Palette du cahier des charges + cyan discret validé par le client. */

:root {
  --graphite: #0D0B16;
  --nuit: #08060F;
  --violet-profond: #22005B;
  --violet: #7C3AED;
  --violet-clair: #A78BFA;
  --cyan: #22D3EE;
  --blanc: #F5F3FA;

  --texte-doux: rgba(245, 243, 250, .70);
  --ligne: rgba(245, 243, 250, .10);
  --ligne-violette: rgba(167, 139, 250, .22);
  --encre: #0D0B16;
  --encre-douce: #4A4462;
  --ligne-claire: rgba(13, 11, 22, .10);

  --rayon: 16px;
  --rayon-s: 10px;
  --max: 1200px;
  --gouttiere: 24px;
  --police: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --entete-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Les halos décoratifs débordent de leur bloc : rien ne doit élargir la page sur téléphone.
   « clip » (et non « hidden ») laisse fonctionner les éléments collants (sticky). */
main { overflow-x: clip; }
body {
  margin: 0;
  background: var(--graphite);
  color: var(--blanc);
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 700; hyphens: none; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol.etapes, ol.regles { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.enveloppe { width: 100%; max-width: calc(var(--max) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }
.evitement { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--blanc); color: var(--encre); padding: 8px 14px; border-radius: 8px; }
.evitement:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- Boutons ---------- */
.btn, .bouton .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 24px;
  border-radius: var(--rayon-s); border: 1px solid transparent;
  font: 600 15px/1 var(--police); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s, color .2s;
  white-space: nowrap;
}
.btn-grand, .bouton-grand .elementor-button { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-plein, .bouton-plein .elementor-button { background: var(--violet); color: #fff; box-shadow: 0 8px 28px -10px rgba(124, 58, 237, .8); }
.btn-plein:hover, .bouton-plein .elementor-button:hover { background: #8B4DF5; box-shadow: 0 10px 34px -8px rgba(124, 58, 237, .95); transform: translateY(-1px); }
.btn-contour, .bouton-contour .elementor-button { border-color: rgba(245, 243, 250, .28); color: var(--blanc); background: rgba(13, 11, 22, .25); backdrop-filter: blur(6px); }
.btn-contour:hover, .bouton-contour .elementor-button:hover { border-color: var(--violet-clair); background: rgba(124, 58, 237, .16); }
.btn-blanc, .bouton-blanc .elementor-button { background: var(--blanc); color: var(--violet-profond); }
.btn-blanc:hover, .bouton-blanc .elementor-button:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(245, 243, 250, .6); }
.btn-encre, .bouton-encre .elementor-button { background: var(--encre); color: var(--blanc); }
.btn-encre:hover, .bouton-encre .elementor-button:hover { background: var(--violet-profond); }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; }
.boutons-centre { justify-content: center; }

.lien-fleche, .lien .elementor-button { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--violet-clair); text-decoration: none; }
.lien-fleche::after, .lien .elementor-button::after { content: ''; width: 18px; height: 1.5px; background: currentColor; box-shadow: 0 0 0 0 currentColor; transition: width .2s; }
.lien-fleche:hover::after, .lien .elementor-button:hover::after { width: 30px; }

.pastille, .etiquette .elementor-heading-title {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(124, 58, 237, .22); border: 1px solid rgba(167, 139, 250, .45);
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blanc);
}
.pastille::before, .etiquette .elementor-heading-title::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.pastille-sombre, .etiquette-sombre .elementor-heading-title { background: rgba(13, 11, 22, .62); border-color: rgba(245, 243, 250, .18); backdrop-filter: blur(8px); font-size: 12px; padding: 6px 12px; }
.pastille-sombre::before, .etiquette-sombre .elementor-heading-title::before { display: none; }

.surtitre { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-clair); margin-bottom: 18px; }
.clair .surtitre { color: var(--violet); }
.puces + p { margin-top: 28px; }

/* ---------- En-tête ---------- */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.entete.defile { background: rgba(13, 11, 22, .78); backdrop-filter: blur(14px); border-bottom-color: var(--ligne); }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; height: var(--entete-h); gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blanc); }
.logo-marque { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 4px 14px rgba(124, 58, 237, .55)); }
.logo-texte { font-size: 17px; font-weight: 500; letter-spacing: .06em; white-space: nowrap; }
.logo-texte b { font-weight: 800; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav-liens { display: flex; gap: 32px; }
.nav-liens a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--texte-doux); padding: 6px 0; position: relative; transition: color .2s; }
.nav-liens a:hover, .nav-liens a[aria-current="page"] { color: var(--blanc); }
.nav-liens a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.nav-compte { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--texte-doux); text-decoration: none; transition: color .2s; }
.nav-compte svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nav-compte:hover, .nav-compte[aria-current="page"] { color: var(--blanc); }
@media (max-width: 1180px) { .nav-compte span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Barre d'accès rapide en bas d'écran (mobile) */
.barre-mobile { display: none; }
@media (max-width: 900px) {
  .barre-mobile {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: rgba(13, 11, 22, .94); backdrop-filter: blur(16px);
    border-top: 1px solid var(--ligne);
  }
  .barre-mobile a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px; border-radius: 12px; font-size: 11px; font-weight: 600; letter-spacing: .01em; color: var(--texte-doux); text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .barre-mobile svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .barre-mobile a[aria-current="page"] { color: var(--blanc); }
  .barre-mobile a[aria-current="page"] svg { stroke: var(--violet-clair); filter: drop-shadow(0 0 6px rgba(167, 139, 250, .8)); }
  .barre-mobile .rond { display: grid; place-items: center; width: 54px; height: 54px; margin-top: -24px; border-radius: 50%; background: var(--violet); color: #fff; box-shadow: 0 10px 26px -6px rgba(124, 58, 237, .95), 0 0 0 5px var(--graphite); }
  .barre-mobile .barre-billet[aria-current="page"] svg { stroke: #fff; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .pied { padding-bottom: 8px; }
}
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--ligne); background: rgba(13, 11, 22, .4); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--blanc); border-radius: 2px; transition: transform .25s, top .25s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.menu-mobile { padding: 8px var(--gouttiere) 28px; background: rgba(13, 11, 22, .96); border-bottom: 1px solid var(--ligne); }
.menu-mobile ul { margin-bottom: 20px; }
.menu-mobile li a { display: block; padding: 14px 0; font-size: 20px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ligne); }
.menu-mobile .btn { width: 100%; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.clair { background: var(--blanc); color: var(--encre); }
.sombre { background: var(--graphite); }
.violet { background: var(--violet-profond); }
.titre-section { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; letter-spacing: -.015em; }
.clair .titre-section { color: var(--encre); }
.chapo { font-size: 21px; line-height: 1.5; font-weight: 500; }
.entete-section { margin-bottom: 56px; max-width: 760px; }
.entete-2col { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; }
.entete-2col p { margin: 0; font-size: 18px; color: var(--encre-douce); }

/* ---------- 1 · Hero ---------- */
.hero { position: relative; min-height: max(760px, 100svh); display: flex; align-items: center; overflow: hidden; padding: calc(var(--entete-h) + 60px) 0 200px; isolation: isolate; }
.hero-photo { position: absolute; top: 0; right: 0; width: 72%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -3; filter: saturate(.9) brightness(.82); }
.hero-photo.virer-violet { filter: hue-rotate(68deg) saturate(1.15) brightness(.9); } /* photo d'arène bleu-cyan ramenée au violet */
.hero-voile {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 60% at 74% 38%, rgba(124, 58, 237, .38), transparent 70%),
    linear-gradient(90deg, var(--graphite) 28%, rgba(13, 11, 22, .84) 48%, rgba(13, 11, 22, .28) 76%, rgba(13, 11, 22, .45) 100%),
    linear-gradient(0deg, var(--graphite) 0%, rgba(13, 11, 22, 0) 34%),
    linear-gradient(180deg, rgba(13, 11, 22, .7) 0%, rgba(13, 11, 22, 0) 22%);
}
.hero-contenu { position: relative; }
.hero-titre { margin: 28px 0 26px; max-width: 1120px; font-size: clamp(40px, 5.6vw, 82px); font-weight: 800; line-height: .98; letter-spacing: -.025em; text-transform: uppercase; text-shadow: 0 4px 40px rgba(13, 11, 22, .55); }
.hero-titre .ligne { display: block; }
.mot-fort { background: linear-gradient(100deg, #DDD6FE 0%, var(--violet-clair) 45%, #67E8F9 110%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 30px rgba(124, 58, 237, .45)); }
.hero-texte { max-width: 520px; font-size: 20px; line-height: 1.55; color: var(--texte-doux); margin-bottom: 40px; }
.signature { display: flex; align-items: center; gap: 14px; margin: 48px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--texte-doux); }
.signature i { width: 5px; height: 5px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.signature-petite { margin-top: 20px; font-size: 11px; letter-spacing: .26em; gap: 10px; }

.lueur { position: absolute; z-index: -1; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px 4px rgba(34, 211, 238, .55); animation: flotte 9s ease-in-out infinite; }
.lueur.l1 { top: 22%; left: 47%; }
.lueur.l2 { top: 64%; left: 58%; width: 4px; height: 4px; animation-delay: -3s; background: var(--violet-clair); box-shadow: 0 0 14px 4px rgba(167, 139, 250, .6); }
.lueur.l3 { top: 30%; right: 8%; animation-delay: -5s; }
.lueur.l4 { top: 78%; right: 22%; width: 8px; height: 8px; animation-delay: -1s; background: var(--violet-clair); box-shadow: 0 0 18px 6px rgba(124, 58, 237, .6); }
@keyframes flotte { 50% { transform: translateY(-16px); opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .lueur { animation: none; } }

/* ---------- 2/3 · Chiffres + intro ---------- */
.intro { padding-top: 0; }
.chiffres { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -120px; margin-bottom: 120px; }
.chiffre {
  position: relative; overflow: hidden;
  padding: 30px 28px 28px; border-radius: var(--rayon);
  background: linear-gradient(165deg, #1B1233 0%, #110C20 70%);
  border: 1px solid var(--ligne-violette);
  box-shadow: 0 30px 60px -30px rgba(13, 11, 22, .9), 0 0 40px -12px rgba(124, 58, 237, .55);
  color: var(--blanc);
}
.chiffre::after { content: ''; position: absolute; width: 180px; height: 180px; right: -60px; top: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .35), transparent 70%); }
.chiffre-nb {
  display: block; font-size: clamp(64px, 7.4vw, 104px); font-weight: 800; line-height: .9; letter-spacing: -.04em;
  background: linear-gradient(115deg, #C4B5FD 0%, var(--violet) 52%, var(--cyan) 120%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chiffre-unite { display: block; margin: 10px 0 14px; font-size: 22px; font-weight: 700; }
.chiffre p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--texte-doux); }

.intro-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro-texte .titre-section { margin-bottom: 30px; }
.intro-texte .chapo { color: var(--encre); }
.intro-texte p { color: var(--encre-douce); }
.intro-texte .btn { margin-top: 14px; }
.intro-visuel { position: relative; }
.intro-visuel::before { content: ''; position: absolute; inset: 12% -8% -6% 18%; border-radius: 40px; background: radial-gradient(closest-side, rgba(124, 58, 237, .32), transparent); filter: blur(30px); z-index: 0; }
.intro-photo { position: relative; z-index: 1; width: 100%; height: 600px; object-fit: cover; object-position: 50% 30%; border-radius: var(--rayon); }
.intro-badge {
  position: absolute; z-index: 2; left: -44px; bottom: 48px;
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 26px; border-radius: var(--rayon);
  background: var(--graphite); color: var(--blanc);
  border: 1px solid var(--ligne-violette);
  box-shadow: 0 24px 50px -20px rgba(34, 0, 91, .7);
}
.intro-badge span { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--violet-clair); }
.intro-badge b { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }

/* ---------- 4 · Temps forts ---------- */
.temps-forts { overflow: hidden; }
.temps-forts::before { content: ''; position: absolute; width: 900px; height: 700px; left: -300px; top: -200px; background: radial-gradient(closest-side, rgba(34, 0, 91, .9), transparent); pointer-events: none; }
.temps-forts .enveloppe { position: relative; }
.cartes-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.carte-temps {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 28px 32px; border-radius: var(--rayon);
  background: linear-gradient(180deg, rgba(34, 0, 91, .55) 0%, rgba(21, 16, 39, .85) 100%);
  border: 1px solid var(--ligne);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.carte-temps:hover { border-color: rgba(167, 139, 250, .5); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(124, 58, 237, .6); }
.carte-num { position: absolute; top: 26px; right: 26px; font-size: 14px; font-weight: 700; letter-spacing: .1em; color: rgba(245, 243, 250, .35); }
.icone { position: relative; width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; margin-bottom: 34px; background: radial-gradient(circle at 50% 35%, rgba(124, 58, 237, .7), rgba(34, 0, 91, .75) 70%); border: 1px solid rgba(167, 139, 250, .6); box-shadow: 0 0 46px -2px rgba(124, 58, 237, .85), inset 0 0 18px rgba(196, 181, 253, .45); }
.icone::after { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(167, 139, 250, .28); }
.icone svg { width: 36px; height: 36px; fill: none; stroke: var(--blanc); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(196, 181, 253, .9)); }
.carte-temps h3 { font-size: 22px; margin-bottom: 14px; }
.carte-temps p { font-size: 15.5px; line-height: 1.6; color: var(--texte-doux); }
.carte-temps .lien-fleche { margin-top: auto; padding-top: 8px; }

/* ---------- 5 · Focus compétitions ---------- */
.cartes-jeux { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.carte-jeu {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  height: 520px; padding: 24px; border-radius: var(--rayon); overflow: hidden; isolation: isolate;
  color: var(--blanc); text-decoration: none;
  box-shadow: 0 30px 60px -34px rgba(34, 0, 91, .75);
}
.carte-jeu img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.carte-jeu::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 11, 22, .55) 0%, rgba(13, 11, 22, 0) 32%, rgba(13, 11, 22, .15) 55%, rgba(34, 0, 91, .92) 100%); }
.carte-jeu::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(245, 243, 250, .14); pointer-events: none; transition: border-color .25s; }
.carte-jeu:hover img { transform: scale(1.06); }
.carte-jeu:hover::after { border-color: rgba(167, 139, 250, .7); }
.carte-jeu-haut { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.carte-jeu-nom { font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; text-shadow: 0 2px 20px rgba(13, 11, 22, .6); }
.carte-jeu-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; font-size: 17px; font-weight: 500; line-height: 1.4; }
.rond-fleche { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--violet); position: relative; box-shadow: 0 0 24px -2px rgba(124, 58, 237, .9); transition: transform .25s; }
.rond-fleche::before { content: ''; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 11 11 3M5 3h6v6'/%3E%3C/svg%3E"); }
.carte-jeu:hover .rond-fleche { transform: rotate(45deg); }
.centre-bouton { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- 6 · Game Jam ---------- */
.jam { overflow: hidden; }
.jam::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 70% at 20% 50%, rgba(124, 58, 237, .45), transparent 70%), radial-gradient(40% 50% at 100% 0%, rgba(34, 211, 238, .10), transparent 70%); pointer-events: none; }
.jam-grille { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 88px; align-items: center; }
.jam-visuel { position: relative; }
.jam-photo { width: 100%; height: 620px; object-fit: cover; border-radius: var(--rayon); box-shadow: 0 40px 80px -30px rgba(8, 6, 15, .9); }
.jam-24 {
  position: absolute; right: -56px; bottom: -64px;
  font-size: clamp(120px, 15vw, 220px); font-weight: 800; line-height: .8; letter-spacing: -.05em;
  background: linear-gradient(115deg, #F5F3FA 0%, #C4B5FD 45%, var(--cyan) 120%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 40px rgba(124, 58, 237, .85));
}
.jam-texte .titre-section { margin-bottom: 26px; }
.jam-texte .chapo { color: var(--blanc); }
.jam-texte p { color: var(--texte-doux); }
.jam-texte .boutons { margin-top: 34px; }

/* ---------- 7 · Partenariat ---------- */
.partenariat { padding: 100px 0; }
.bandeau {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
  padding: 60px 64px; border-radius: var(--rayon);
  background: linear-gradient(105deg, var(--violet-profond) 0%, #4C1D95 48%, var(--violet) 100%);
  color: var(--blanc);
  box-shadow: 0 40px 80px -40px rgba(34, 0, 91, .8);
}
.bandeau-halo { position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 211, 238, .28), transparent); }
.bandeau::after { content: ''; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(90deg, rgba(245, 243, 250, .05) 0 1px, transparent 1px 64px); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.bandeau-marque { width: 96px; height: 96px; filter: drop-shadow(0 10px 30px rgba(13, 11, 22, .45)); }
.bandeau h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 16px; max-width: 700px; }
.bandeau p { margin: 0; max-width: 620px; font-size: 17px; color: rgba(245, 243, 250, .82); }

/* ---------- 8 · Appel final + contact ---------- */
.final { overflow: hidden; isolation: isolate; padding-top: 150px; }
.final-photo { position: absolute; inset: 0; width: 100%; height: 72%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.1); opacity: .5; }
.final-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34, 0, 91, .78) 0%, rgba(13, 11, 22, .82) 40%, var(--graphite) 70%); }
.final-appel { text-align: center; max-width: 880px; margin: 0 auto 130px; }
.titre-geant { font-size: clamp(42px, 6.4vw, 88px); font-weight: 800; line-height: .98; letter-spacing: -.03em; margin-bottom: 26px; }
.final-appel p { font-size: 20px; color: var(--texte-doux); max-width: 640px; margin: 0 auto 40px; }

.contact-grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; padding-top: 72px; border-top: 1px solid var(--ligne); }
.contact-infos h3 { font-size: 36px; margin-bottom: 18px; }
.contact-infos > p { color: var(--texte-doux); margin-bottom: 36px; }
.coordonnees li { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
.coordonnees span { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-clair); }
.formulaire {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  padding: 40px; border-radius: var(--rayon);
  background: linear-gradient(180deg, #17112B, #110C20);
  border: 1px solid var(--ligne-violette);
}
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ-large { grid-column: 1 / -1; }
.champ label { font-size: 14px; font-weight: 600; }
.champ input, .champ select, .champ textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--rayon-s);
  background: rgba(8, 6, 15, .6); border: 1px solid rgba(245, 243, 250, .14);
  color: var(--blanc); font: 400 16px/1.4 var(--police);
  transition: border-color .2s, box-shadow .2s;
}
.champ textarea { resize: vertical; min-height: 140px; }
.champ select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23A78BFA' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; }
.champ select option { background: var(--graphite); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124, 58, 237, .22); }
.case { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--texte-doux); line-height: 1.5; }
.case input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--violet); flex: none; }
.case a { color: var(--violet-clair); }
.formulaire .btn { justify-self: start; }

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit); border-top: 1px solid var(--ligne); padding-top: 80px; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 48px; padding-bottom: 64px; }
.pied h4 { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-clair); margin-bottom: 22px; }
.pied p, .pied li { font-size: 15px; color: var(--texte-doux); }
.pied li { margin-bottom: 12px; }
.pied a { text-decoration: none; transition: color .2s; }
.pied ul a:hover { color: var(--blanc); }
.pied-marque .logo { margin-bottom: 22px; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid var(--ligne); }
.pied-bas p { margin: 0; font-size: 14px; }
.pied-bas ul { display: flex; flex-wrap: wrap; gap: 28px; }
.pied-bas li { margin: 0; font-size: 14px; }

/* =========================================================
   PAGES INTERNES (phase 3) — mêmes jetons, mêmes composants
   ========================================================= */

/* ---------- Hero de page ---------- */
.hero-page { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: 660px; padding: calc(var(--entete-h) + 90px) 0 120px; }
.hero-page .hero-photo { width: 66%; }
.hero-page .hero-titre { font-size: clamp(36px, 4.7vw, 68px); max-width: 1150px; }
.hero-page .hero-texte { max-width: 600px; }
.hero-page .chapo-hero { max-width: 640px; font-size: 20px; color: var(--texte-doux); margin-bottom: 36px; }
.mot-violet { color: var(--violet-clair); }
.hero-jam .jam-24-hero { position: absolute; z-index: -1; right: 4%; bottom: -40px; font-size: clamp(160px, 22vw, 340px); opacity: .9; }
.sombre .entete-2col p, .violet .entete-2col p { color: var(--texte-doux); }
.podium-grand { grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; margin: 0; }
.podium-grand .prix { padding: 34px 32px; border-radius: var(--rayon); }
.podium-grand .prix b, .podium-grand .prix-montant { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.05; margin: 8px 0; }
.podium-grand .prix em, .podium-grand .prix-detail { font-style: normal; font-size: 15.5px; color: var(--texte-doux); }
.podium-grand .prix.or em, .podium-grand .prix.or .prix-detail { color: rgba(245, 243, 250, .85); }
.regles-entete { margin-top: 110px; }
.champ .label { font-size: 14px; font-weight: 600; }

/* ---------- Note de contenu provisoire ---------- */
.note {
  display: flex; gap: 12px; align-items: flex-start;
  max-width: 820px; margin: 32px 0 0; padding: 16px 20px;
  border-radius: var(--rayon-s); border: 1px dashed rgba(167, 139, 250, .55);
  background: rgba(124, 58, 237, .08);
  font-size: 14.5px; line-height: 1.55; color: var(--texte-doux);
}
.note::before { content: 'i'; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 700; font-size: 13px; font-style: normal; }
.clair .note { color: var(--encre-douce); background: rgba(124, 58, 237, .06); border-color: rgba(124, 58, 237, .45); }
.a-confirmer { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(167, 139, 250, .14); color: var(--violet-clair); border: 1px solid rgba(167, 139, 250, .3); }
.clair .a-confirmer { background: rgba(124, 58, 237, .08); color: var(--violet); border-color: rgba(124, 58, 237, .25); }

/* ---------- Texte en deux colonnes ---------- */
.texte-2col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.texte-2col .chapo { color: var(--encre); font-size: 24px; line-height: 1.45; }
.texte-2col p { color: var(--encre-douce); }
.sombre .texte-2col .chapo, .violet .texte-2col .chapo { color: var(--blanc); }
.sombre .texte-2col p, .violet .texte-2col p { color: var(--texte-doux); }

/* ---------- Duo vision / mission ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.carte-duo {
  position: relative; overflow: hidden; padding: 48px 44px 52px; border-radius: var(--rayon);
  background: linear-gradient(160deg, rgba(34, 0, 91, .85), rgba(21, 16, 39, .9));
  border: 1px solid var(--ligne-violette);
  box-shadow: 0 0 50px -18px rgba(124, 58, 237, .6);
}
.carte-duo::after { content: ''; position: absolute; width: 320px; height: 320px; right: -110px; bottom: -150px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 58, 237, .45), transparent); }
.carte-duo .surtitre { margin-bottom: 22px; }
.carte-duo p { position: relative; z-index: 1; margin: 0; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.32; font-weight: 600; letter-spacing: -.01em; }

/* ---------- Valeurs ---------- */
.valeurs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.valeur {
  display: flex; flex-direction: column; gap: 22px; padding: 28px 24px; border-radius: var(--rayon);
  background: #fff; border: 1px solid var(--ligne-claire);
  box-shadow: 0 20px 40px -30px rgba(34, 0, 91, .45);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.valeur:hover { transform: translateY(-4px); border-color: rgba(124, 58, 237, .4); box-shadow: 0 26px 50px -28px rgba(124, 58, 237, .55); }
.valeur .icone { width: 56px; height: 56px; margin: 0; }
.valeur .icone::after { inset: -9px; }
.valeur .icone svg { width: 26px; height: 26px; }
.valeur h3 { font-size: 21px; color: var(--encre); }
.valeur-num { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--violet); }

/* ---------- Pastilles de compétences ---------- */
.puces { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.puces li { padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; background: rgba(124, 58, 237, .16); border: 1px solid rgba(167, 139, 250, .35); color: var(--blanc); }
.clair .puces li { background: #fff; color: var(--encre); border-color: var(--ligne-claire); }

/* ---------- Média + texte ---------- */
.media-texte { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.media-texte.inverse > :first-child { order: 2; }
.media-texte figure { position: relative; }
.media-texte figure img { width: 100%; height: 540px; object-fit: cover; border-radius: var(--rayon); box-shadow: 0 40px 80px -40px rgba(34, 0, 91, .7); }
.media-texte .titre-section { margin-bottom: 26px; }
.clair .media-texte p { color: var(--encre-douce); }
.sombre .media-texte p, .violet .media-texte p { color: var(--texte-doux); }
.etiquette-photo {
  position: absolute; left: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 2px;
  padding: 16px 20px; border-radius: var(--rayon-s); background: rgba(13, 11, 22, .82); backdrop-filter: blur(10px);
  border: 1px solid var(--ligne-violette); color: var(--blanc);
}
.etiquette-photo span { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--violet-clair); }
.etiquette-photo b { font-size: 20px; }

/* ---------- Index des disciplines ---------- */
.index-jeux { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.index-jeu {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  height: 200px; padding: 18px; border-radius: var(--rayon); overflow: hidden; isolation: isolate;
  text-decoration: none; color: var(--blanc);
}
.index-jeu img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.index-jeu::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 11, 22, .1), rgba(34, 0, 91, .92)); }
.index-jeu:hover img { transform: scale(1.07); }
.index-jeu span, .index-jeu-cat { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-clair); }
.index-jeu b, .index-jeu-nom { font-size: 18px; font-weight: 700; line-height: 1.15; }

/* ---------- Fiche compétition ---------- */
.fiche { display: grid; grid-template-columns: .92fr 1.08fr; gap: 72px; align-items: start; scroll-margin-top: calc(var(--entete-h) + 20px); }
.fiche.inverse .fiche-visuel { order: 2; }
.fiche-visuel { position: sticky; top: calc(var(--entete-h) + 30px); }
.fiche-visuel img { width: 100%; height: 600px; object-fit: cover; border-radius: var(--rayon); box-shadow: 0 40px 80px -40px rgba(8, 6, 15, .9); }
.fiche-visuel .pastille { position: absolute; top: 22px; left: 22px; }
.fiche-num {
  position: absolute; right: 22px; bottom: 6px; font-size: 150px; font-weight: 800; line-height: .8; letter-spacing: -.05em;
  background: linear-gradient(115deg, #F5F3FA 0%, #C4B5FD 50%, var(--cyan) 130%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 30px rgba(124, 58, 237, .8));
}
.fiche-corps h2 { font-size: clamp(36px, 4.2vw, 58px); font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 14px; }
.fiche-accroche { font-size: 22px; font-weight: 600; color: var(--violet-clair); margin-bottom: 22px; }
.clair .fiche-accroche { color: var(--violet); }
.fiche-corps > p { color: var(--texte-doux); }
.clair .fiche-corps > p { color: var(--encre-douce); }
.infos { display: grid; grid-template-columns: 1fr 1fr; margin: 32px 0; border-top: 1px solid var(--ligne); }
.clair .infos { border-color: var(--ligne-claire); }
.infos > div { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--ligne); }
.clair .infos > div { border-color: var(--ligne-claire); }
.infos dt, .info-titre { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-doux); }
.clair .infos dt, .clair .info-titre { color: var(--encre-douce); }
.infos dd, .info-valeur { margin: 0; font-size: 16px; font-weight: 600; }
.podium { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.prix {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 20px 18px; border-radius: var(--rayon-s);
  background: rgba(245, 243, 250, .05); border: 1px solid var(--ligne);
}
.clair .prix { background: #fff; border-color: var(--ligne-claire); }
.prix span, .prix-rang { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-doux); }
.clair .prix span, .clair .prix-rang { color: var(--encre-douce); }
.prix b, .prix-montant { font-size: clamp(19px, 1.75vw, 25px); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.prix.or { background: linear-gradient(150deg, var(--violet) 0%, var(--violet-profond) 100%); border-color: rgba(196, 181, 253, .5); color: #fff; box-shadow: 0 16px 40px -18px rgba(124, 58, 237, .9); }
.prix.or span, .prix.or .prix-rang { color: rgba(245, 243, 250, .8); }

/* ---------- Accordéons (règles, FAQ) ---------- */
.accordeon { border-radius: var(--rayon-s); border: 1px solid var(--ligne); background: rgba(245, 243, 250, .03); margin-bottom: 28px; }
.clair .accordeon { border-color: var(--ligne-claire); background: #fff; }
.accordeon + .accordeon { margin-top: -16px; }
.accordeon summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 17px; }
.accordeon summary::-webkit-details-marker { display: none; }
.accordeon summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(124, 58, 237, .2); color: var(--violet-clair); font-size: 20px; font-weight: 500; transition: transform .25s; }
.clair .accordeon summary::after { color: var(--violet); background: rgba(124, 58, 237, .1); }
.accordeon[open] summary::after { transform: rotate(45deg); }
.accordeon-corps { padding: 0 22px 20px; color: var(--texte-doux); font-size: 15.5px; }
.clair .accordeon-corps { color: var(--encre-douce); }
.accordeon-corps ul { padding-left: 20px; list-style: disc; }
.accordeon-corps li { margin-bottom: 8px; }
.accordeon-corps li::marker { color: var(--violet); }
.faq { max-width: 880px; }
.faq .accordeon { margin-bottom: 12px; }
.faq .accordeon + .accordeon { margin-top: 0; }

/* ---------- Étapes ---------- */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: etape; }
.etapes.x4 { grid-template-columns: repeat(4, 1fr); }
.etape { position: relative; padding: 30px 28px 30px; border-radius: var(--rayon); counter-increment: etape; }
.clair .etape { background: #fff; border: 1px solid var(--ligne-claire); }
.sombre .etape, .violet .etape { background: rgba(245, 243, 250, .04); border: 1px solid var(--ligne); }
.etape::before {
  content: counter(etape, decimal-leading-zero); display: block; margin-bottom: 22px;
  font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.03em;
  background: linear-gradient(115deg, #C4B5FD 0%, var(--violet) 55%, var(--cyan) 130%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.etape h3 { font-size: 20px; margin-bottom: 12px; }
.clair .etape h3 { color: var(--encre); }
.etape p { margin: 0; font-size: 15.5px; color: var(--encre-douce); }
.sombre .etape p, .violet .etape p { color: var(--texte-doux); }

/* ---------- Thèmes Game Jam ---------- */
.themes { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.themes-alt { display: grid; gap: 22px; }
.theme {
  position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 36px 34px; border-radius: var(--rayon);
  background: linear-gradient(170deg, rgba(34, 0, 91, .7), rgba(21, 16, 39, .92)); border: 1px solid var(--ligne);
}
.theme-principal { justify-content: flex-end; min-height: 560px; isolation: isolate; border-color: rgba(167, 139, 250, .5); box-shadow: 0 0 60px -20px rgba(124, 58, 237, .7); }
.theme-principal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.theme-principal::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 11, 22, .15) 0%, rgba(34, 0, 91, .95) 70%); }
.theme .pastille { align-self: flex-start; margin-bottom: 22px; }
.theme h3 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 10px; }
.theme-principal h3 { font-size: clamp(32px, 3.6vw, 48px); text-transform: uppercase; font-weight: 800; letter-spacing: -.015em; }
.theme-axes { margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-clair); }
.theme p { margin: 0 0 10px; color: var(--texte-doux); font-size: 15.5px; }
.theme-principal p { color: rgba(245, 243, 250, .85); font-size: 17px; }

/* ---------- Barème ---------- */
.bareme { display: grid; gap: 14px; }
.critere { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; align-items: center; padding: 18px 22px; border-radius: var(--rayon-s); background: #fff; border: 1px solid var(--ligne-claire); }
.critere b, .critere-nom { font-size: 17px; font-weight: 700; color: var(--encre); }
.critere span, .critere-points { font-size: 20px; font-weight: 800; color: var(--violet); }
.critere i { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: rgba(124, 58, 237, .1); overflow: hidden; }
.critere i::after { content: ''; display: block; height: 100%; width: var(--part); border-radius: inherit; background: linear-gradient(90deg, var(--violet-profond), var(--violet) 70%, var(--cyan) 140%); }
.critere.part-25 { --part: 25%; } .critere.part-20 { --part: 20%; } .critere.part-10 { --part: 10%; }
.critere i::after { width: calc(var(--part) * 4); } /* échelle : le critère le plus lourd (25 pts) remplit la barre */
.critere-total { background: var(--encre); border-color: var(--encre); }
.critere-total b, .critere-total span, .critere-total .critere-nom, .critere-total .critere-points { color: var(--blanc); }

/* ---------- Règlement numéroté ---------- */
.regles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; counter-reset: regle; }
.regles li { counter-increment: regle; position: relative; padding: 22px 0 22px 64px; border-bottom: 1px solid var(--ligne-claire); color: var(--encre-douce); font-size: 15.5px; }
.regles li::before { content: counter(regle, decimal-leading-zero); position: absolute; left: 0; top: 20px; font-size: 26px; font-weight: 800; color: var(--violet); letter-spacing: -.02em; }
.regles li b { display: block; margin-bottom: 4px; font-size: 17px; color: var(--encre); }

/* ---------- Billets ---------- */
.billets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.billet {
  position: relative; display: flex; flex-direction: column; padding: 34px 32px 32px; border-radius: var(--rayon);
  background: #fff; border: 1px solid var(--ligne-claire); color: var(--encre);
  box-shadow: 0 24px 50px -34px rgba(34, 0, 91, .5);
}
.billet-type { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); margin-bottom: 12px; }
.billet h3 { font-size: 30px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 10px; }
.billet-desc { color: var(--encre-douce); font-size: 15.5px; margin-bottom: 24px; }
.billet-prix { display: flex; align-items: baseline; gap: 10px; padding: 22px 0; margin-bottom: 22px; border-top: 1px dashed rgba(13, 11, 22, .2); border-bottom: 1px dashed rgba(13, 11, 22, .2); }
.billet-prix b, .billet-prix-montant { font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.billet-prix span, .billet-prix-note { font-size: 14px; color: var(--encre-douce); }
.billet ul { margin-bottom: 30px; display: grid; gap: 12px; }
.billet li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--encre-douce); }
.billet li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(124, 58, 237, .12) no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8' fill='none' stroke='%237C3AED' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 4 3 3 5-6'/%3E%3C/svg%3E"); }
.billet .btn { margin-top: auto; width: 100%; }
.billet-vedette {
  background: linear-gradient(165deg, #1B1233 0%, var(--graphite) 75%); color: var(--blanc);
  border-color: rgba(167, 139, 250, .5); box-shadow: 0 0 60px -16px rgba(124, 58, 237, .75); transform: translateY(-14px);
}
.billet-vedette .billet-type { color: var(--violet-clair); }
.billet-vedette .billet-desc, .billet-vedette li, .billet-vedette .billet-prix span, .billet-vedette .billet-prix-note { color: var(--texte-doux); }
.billet-vedette .billet-prix { border-color: rgba(245, 243, 250, .2); }
.billet-vedette li::before { background-color: rgba(167, 139, 250, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8' fill='none' stroke='%23C4B5FD' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 4 3 3 5-6'/%3E%3C/svg%3E"); }
.billet-ruban { position: absolute; top: -14px; right: 26px; padding: 6px 14px; border-radius: 999px; background: var(--violet); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 24px -8px rgba(124, 58, 237, .9); }

/* ---------- Moyens de paiement ---------- */
.paiements { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 36px; }
.paiements li { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--rayon-s); background: rgba(245, 243, 250, .06); border: 1px solid rgba(245, 243, 250, .16); font-weight: 600; font-size: 15px; }
.paiements li i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--violet-clair)); box-shadow: 0 0 10px var(--c, var(--violet-clair)); }
.garanties { display: grid; gap: 18px; }
.garanties li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.garanties .icone { width: 48px; height: 48px; margin: 0; }
.garanties .icone::after { display: none; }
.garanties .icone svg { width: 22px; height: 22px; }
.garanties b { display: block; font-size: 17px; margin-bottom: 2px; }
.garanties p { margin: 0; font-size: 15px; color: var(--texte-doux); }

/* ---------- Choix radio dans les formulaires ---------- */
.choix { display: flex; flex-wrap: wrap; gap: 10px; }
.choix label { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--rayon-s); border: 1px solid rgba(245, 243, 250, .14); background: rgba(8, 6, 15, .6); font-size: 15px; font-weight: 500; cursor: pointer; }
.choix input { accent-color: var(--violet); width: 16px; height: 16px; margin: 0; }
.champ .aide { font-size: 13px; color: var(--texte-doux); font-weight: 400; }
.formulaire-note { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: var(--rayon-s); background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .35); font-size: 14.5px; color: var(--blanc); }
.formulaire-clair .formulaire-note { color: var(--encre); }
.formulaire-titre { grid-column: 1 / -1; }
.formulaire-titre h3 { font-size: 26px; margin-bottom: 6px; }
.formulaire-titre p { margin: 0; font-size: 15px; color: var(--texte-doux); }
.bloc-formulaire { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; scroll-margin-top: calc(var(--entete-h) + 20px); }
.bloc-formulaire .titre-section { margin-bottom: 22px; }
.bloc-formulaire > div > p { color: var(--texte-doux); }

/* ---------- Responsive pages internes ---------- */
@media (max-width: 1080px) {
  .valeurs { grid-template-columns: repeat(3, 1fr); }
  .index-jeux { grid-template-columns: repeat(3, 1fr); }
  .etapes, .etapes.x4 { grid-template-columns: repeat(2, 1fr); }
  .fiche, .media-texte, .texte-2col, .bloc-formulaire { gap: 48px; }
}
@media (max-width: 900px) {
  .hero-page { min-height: 600px; padding-bottom: 90px; }
  .hero-page .hero-photo { width: 100%; opacity: .6; }
  .texte-2col, .duo, .media-texte, .fiche, .themes, .regles, .bloc-formulaire { grid-template-columns: 1fr; }
  .media-texte.inverse > :first-child, .fiche.inverse .fiche-visuel { order: 0; }
  .fiche-visuel { position: relative; top: 0; }
  .fiche-visuel img, .media-texte figure img { height: 420px; }
  .theme-principal { min-height: 440px; }
  .billets { grid-template-columns: 1fr; gap: 30px; }
  .billet-vedette { transform: none; }
}
@media (max-width: 600px) {
  .valeurs { grid-template-columns: 1fr 1fr; }
  .index-jeux { grid-template-columns: 1fr 1fr; }
  .index-jeu { height: 160px; }
  .etapes, .etapes.x4 { grid-template-columns: 1fr; }
  .infos { grid-template-columns: 1fr; }
  .podium { grid-template-columns: 1fr; }
  .fiche-num { font-size: 110px; }
  .carte-duo { padding: 34px 26px 38px; }
  .regles li { padding-left: 52px; }
  .texte-2col .chapo { font-size: 20px; }
}

/* =========================================================
   COMPTE : connexion / inscription + espace membre
   ========================================================= */

/* ---------- Connexion ---------- */
.connexion { position: relative; overflow: hidden; isolation: isolate; min-height: max(820px, 100svh); display: flex; align-items: center; padding: calc(var(--entete-h) + 56px) 0 90px; }
.connexion-photo { position: absolute; z-index: -3; inset: 0 auto 0 0; width: 62%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.7); }
.connexion-voile { position: absolute; z-index: -2; inset: 0; background: radial-gradient(45% 55% at 25% 45%, rgba(124, 58, 237, .35), transparent 70%), linear-gradient(270deg, var(--graphite) 38%, rgba(13, 11, 22, .78) 58%, rgba(13, 11, 22, .35) 100%), linear-gradient(0deg, var(--graphite), transparent 30%); }
.connexion-grille { display: grid; grid-template-columns: 1fr 500px; gap: 88px; align-items: center; }
.connexion-texte .hero-titre { font-size: clamp(36px, 4.4vw, 62px); margin: 24px 0 22px; }
.connexion-texte .chapo-hero { color: var(--texte-doux); font-size: 19px; max-width: 520px; margin-bottom: 34px; }
.connexion-texte .garanties { max-width: 480px; }
.carte-connexion { padding: 34px 34px 30px; border-radius: var(--rayon); background: linear-gradient(180deg, #17112B, #110C20); border: 1px solid var(--ligne-violette); box-shadow: 0 0 70px -24px rgba(124, 58, 237, .75); }
.onglets { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; margin-bottom: 28px; border-radius: 12px; background: rgba(8, 6, 15, .7); border: 1px solid var(--ligne); }
.onglets button { min-height: 46px; border: 0; border-radius: 8px; background: transparent; color: var(--texte-doux); font: 600 15px var(--police); cursor: pointer; transition: background .2s, color .2s; }
.onglets button[aria-selected="true"] { background: var(--violet); color: #fff; box-shadow: 0 6px 20px -8px rgba(124, 58, 237, .9); }
.onglet-panneau { display: grid; gap: 18px; }
.onglet-panneau[hidden] { display: none; }
.onglet-panneau h2 { font-size: 26px; }
.onglet-panneau > p { margin: -10px 0 4px; font-size: 15px; color: var(--texte-doux); }
.carte-connexion .btn { width: 100%; }
.champ-mdp { position: relative; }
.champ-mdp input { padding-right: 54px; }
.voir-mdp { position: absolute; right: 6px; bottom: 6px; width: 42px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--texte-doux); cursor: pointer; display: grid; place-items: center; }
.voir-mdp:hover { color: var(--blanc); background: rgba(245, 243, 250, .06); }
.voir-mdp svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ligne-options { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ligne-options .case { font-size: 14px; }
.lien-discret { background: none; border: 0; padding: 0; cursor: pointer; font: 600 14px var(--police); color: var(--violet-clair); text-decoration: none; }
.lien-discret:hover { text-decoration: underline; }
.bascule-identifiant { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bascule-identifiant label { justify-content: center; }
.tel-groupe { display: grid; grid-template-columns: 104px 1fr; gap: 8px; }
.tel-groupe-noms { grid-template-columns: 1fr 1fr; gap: 14px; }
.etape a { color: var(--violet); font-weight: 600; }

/* Parcours d'inscription en 3 étapes */
.etapes-inscription { display: flex; gap: 6px; margin: 0 0 4px; padding: 0; list-style: none; counter-reset: ei; }
.etapes-inscription li { flex: 1; counter-increment: ei; padding-top: 10px; border-top: 3px solid rgba(245, 243, 250, .14); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--texte-doux); }
.etapes-inscription li::before { content: counter(ei) ' · '; }
.etapes-inscription li.fait { border-color: var(--violet); color: var(--blanc); }
.etapes-inscription li.encours { border-color: var(--violet-clair); color: var(--blanc); box-shadow: 0 -6px 14px -10px rgba(167, 139, 250, .9); }
.code-otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.champ .code-otp input { padding: 0; height: 60px; text-align: center; font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.renvoyer-code:disabled { color: var(--texte-doux); cursor: default; text-decoration: none; }
.adresse-saisie { color: var(--blanc); }

/* Photo de profil */
.avatar { background-size: cover; background-position: center; overflow: hidden; color: #fff; }
/* (0,2,0) : le raccourci « background » de .avatar, plus bas, remettrait la taille à « auto ». */
.avatar.avec-photo { font-size: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.depot-photo { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 12px; border: 1px dashed rgba(167, 139, 250, .5); background: rgba(124, 58, 237, .08); cursor: pointer; transition: border-color .2s, background .2s; }
.depot-photo:hover, .depot-photo:focus-within { border-color: var(--violet-clair); background: rgba(124, 58, 237, .14); }
.depot-photo .avatar { width: 76px; height: 76px; font-size: 24px; }
.depot-photo-texte b { display: block; font-size: 16px; }
.depot-photo-texte span { font-size: 13px; color: var(--texte-doux); }
.photo-profil label.btn { cursor: pointer; }
.photo-profil label.btn:focus-within { outline: 2px solid var(--cyan); outline-offset: 3px; }
.erreur-photo, .erreur-fichier { flex-basis: 100%; margin: 0; font-size: 14px; font-weight: 700; color: var(--violet); }
.erreur-photo::before, .erreur-fichier::before { content: '⚠ '; }
.carte-connexion .erreur-photo, .depot-sombre ~ .erreur-fichier { color: #C4B5FD; }

/* Dépôt de fichiers (Game Jam) */
.depot-fichiers { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 18px; border-radius: 12px; border: 2px dashed rgba(124, 58, 237, .35); background: rgba(124, 58, 237, .05); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.depot-fichiers:hover, .depot-fichiers:focus-within, .depot-fichiers.survol { border-color: var(--violet); background: rgba(124, 58, 237, .1); }
.depot-fichiers svg { width: 30px; height: 30px; fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.depot-fichiers b { font-size: 16px; color: var(--encre); }
.depot-fichiers span { font-size: 13px; color: var(--encre-douce); }
.depot-fichiers u { color: var(--violet); font-weight: 600; }
.depot-sombre { border-color: rgba(167, 139, 250, .4); background: rgba(8, 6, 15, .5); }
.depot-sombre svg { stroke: var(--violet-clair); }
.depot-sombre b { color: var(--blanc); }
.depot-sombre span { color: var(--texte-doux); }
.fichiers { display: grid; gap: 8px; margin: 12px 0; }
.fichiers:empty { display: none; }
.fichiers li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--ligne-claire); background: #fff; font-size: 14px; color: var(--encre); }
.fichier-type { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: rgba(124, 58, 237, .1); color: var(--violet); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.fichier-nom { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.fichier-nom small { display: block; font-weight: 500; color: var(--encre-douce); font-size: 12.5px; }
.retirer-fichier { width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--encre-douce); font-size: 18px; cursor: pointer; }
.retirer-fichier:hover { background: rgba(13, 11, 22, .06); color: var(--encre); }
.depot-sombre + .fichiers li { background: rgba(8, 6, 15, .6); border-color: var(--ligne); color: var(--blanc); }
.depot-sombre + .fichiers .fichier-nom small, .depot-sombre + .fichiers .retirer-fichier { color: var(--texte-doux); }
.depot-jam .depot { margin-top: 0; }
.equipe-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .equipe-2col { grid-template-columns: 1fr; } .fichiers li { grid-template-columns: auto 1fr auto; } .fichiers li .etat { grid-column: 2; justify-self: start; } }
.billet-qr .etat-ok { background: rgba(167, 139, 250, .16); color: #C4B5FD; }
.carte-pied { margin: 6px 0 0; text-align: center; font-size: 14px; color: var(--texte-doux); }

/* ---------- Espace membre : bandeau ---------- */
.espace-entete { position: relative; overflow: hidden; isolation: isolate; background: var(--graphite); padding-top: calc(var(--entete-h) + 52px); }
.espace-entete::before { content: ''; position: absolute; z-index: -1; width: 900px; height: 700px; right: -200px; top: -300px; background: radial-gradient(closest-side, rgba(124, 58, 237, .42), transparent); }
.profil-ligne { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.avatar { flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(135deg, var(--violet), var(--violet-profond)); border: 2px solid rgba(196, 181, 253, .65); box-shadow: 0 0 44px -6px rgba(124, 58, 237, .85); }
.profil-ligne h1 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.02em; }
.profil-ligne .pseudo { margin: 6px 0 0; color: var(--texte-doux); }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.roles .pastille { font-size: 11px; padding: 6px 12px; }
.profil-actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.resume { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.resume-carte { position: relative; overflow: hidden; padding: 22px 22px 20px; border-radius: var(--rayon); background: linear-gradient(165deg, #1B1233 0%, #110C20 70%); border: 1px solid var(--ligne-violette); box-shadow: 0 0 40px -16px rgba(124, 58, 237, .6); text-decoration: none; color: var(--blanc); transition: border-color .2s, transform .2s; }
.resume-carte:hover { border-color: rgba(196, 181, 253, .6); transform: translateY(-2px); }
.resume-carte span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); margin-bottom: 10px; }
.resume-carte b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.resume-carte b.degrade { font-size: 40px; background: linear-gradient(115deg, #C4B5FD 0%, var(--violet) 55%, var(--cyan) 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.resume-carte small { display: block; margin-top: 6px; font-size: 14px; color: var(--texte-doux); }
.espace-onglets { position: sticky; top: var(--entete-h); z-index: 20; margin-top: 44px; background: rgba(13, 11, 22, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ligne); }
.espace-onglets ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.espace-onglets ul::-webkit-scrollbar { display: none; }
.espace-onglets a { display: block; padding: 18px 14px 16px; white-space: nowrap; font-size: 15px; font-weight: 600; color: var(--texte-doux); text-decoration: none; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.espace-onglets a:hover, .espace-onglets a.actif { color: var(--blanc); border-bottom-color: var(--violet); }

/* ---------- Espace membre : corps ---------- */
.espace-corps { background: var(--blanc); color: var(--encre); padding: 48px 0 110px; }
.demo-vue { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 30px; padding: 14px 18px; border-radius: var(--rayon-s); border: 1px dashed rgba(124, 58, 237, .45); background: rgba(124, 58, 237, .06); font-size: 14px; color: var(--encre-douce); }
.demo-vue strong { color: var(--encre); margin-right: 4px; }
.demo-vue button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(13, 11, 22, .14); background: #fff; font: 600 14px var(--police); color: var(--encre); cursor: pointer; }
.demo-vue button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.espace-grille { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; align-items: start; }
.panneau { grid-column: span 6; padding: 30px; border-radius: var(--rayon); background: #fff; border: 1px solid var(--ligne-claire); box-shadow: 0 24px 50px -40px rgba(34, 0, 91, .5); scroll-margin-top: calc(var(--entete-h) + 84px); }
.panneau.l4 { grid-column: span 4; } .panneau.l5 { grid-column: span 5; } .panneau.l7 { grid-column: span 7; } .panneau.l8 { grid-column: span 8; } .panneau.l12 { grid-column: 1 / -1; }
.panneau-tete { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.panneau-tete h2 { font-size: 24px; color: var(--encre); }
.panneau-tete a { font-size: 14px; font-weight: 600; color: var(--violet); text-decoration: none; }
.panneau h3 { color: var(--encre); }
.panneau p { color: var(--encre-douce); }
.etat { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.etat::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.etat-ok { background: rgba(124, 58, 237, .1); color: var(--violet); }
.etat-attente { background: rgba(13, 11, 22, .06); color: var(--encre-douce); }
.btn-petit, .bouton-petit .elementor-button { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-clair, .bouton-clair .elementor-button { background: #fff; color: var(--encre); border-color: rgba(13, 11, 22, .16); }
.btn-clair:hover, .bouton-clair .elementor-button:hover { border-color: var(--violet); color: var(--violet); }
.vide { padding: 26px; border-radius: 12px; border: 1px dashed rgba(13, 11, 22, .18); background: var(--blanc); }
.vide h3 { font-size: 19px; margin-bottom: 8px; }
.vide p { margin-bottom: 18px; font-size: 15px; }

/* Billet avec QR */
.billet-qr { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; padding: 26px; border-radius: var(--rayon); background: linear-gradient(150deg, #1E1438 0%, var(--graphite) 80%); color: var(--blanc); border: 1px solid var(--ligne-violette); }
.billet-qr::after { content: ''; position: absolute; z-index: -1; width: 260px; height: 260px; left: -90px; bottom: -150px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 58, 237, .5), transparent); }
.billet-qr .billet-type { color: var(--violet-clair); margin-bottom: 6px; }
.billet-qr h3 { color: var(--blanc); font-size: 26px; font-weight: 800; margin-bottom: 16px; }
.billet-faits { display: grid; grid-template-columns: max-content 1fr; gap: 12px 18px; margin: 0; }
.billet-code { white-space: nowrap; font-variant-numeric: tabular-nums; }
.billet-faits dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }
.billet-faits dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; }
.qr { width: 150px; height: 150px; padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 6px rgba(245, 243, 250, .06); }
.qr svg { display: block; width: 100%; height: 100%; }
.billet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Compétitions : statistiques et matchs */
.inscrit-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.inscrit-tete h3 { font-size: 22px; }
.inscrit-tete p { margin: 4px 0 0; font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.stat { padding: 16px 16px 14px; border-radius: 12px; background: var(--blanc); border: 1px solid var(--ligne-claire); }
.stat b { display: block; font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.02em; background: linear-gradient(115deg, var(--violet-profond) 0%, var(--violet) 60%, var(--cyan) 140%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-douce); }
.prochain { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px; background: var(--encre); color: var(--blanc); margin-bottom: 18px; }
.prochain-date { flex: none; display: grid; place-items: center; width: 60px; padding: 8px 0; border-radius: 10px; background: var(--violet); line-height: 1; }
.prochain-date b { font-size: 24px; }
.prochain-date span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.prochain p { margin: 0; color: var(--texte-doux); font-size: 14px; }
.prochain strong { display: block; font-size: 16px; color: var(--blanc); }
.historique li { display: grid; grid-template-columns: 74px 1fr auto 34px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ligne-claire); font-size: 15px; color: var(--encre); }
.historique li:last-child { border-bottom: 0; }
.historique time { font-size: 13px; color: var(--encre-douce); }
.historique .score { font-weight: 800; font-variant-numeric: tabular-nums; }
.res { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; font-size: 13px; font-weight: 800; }
.res-v { background: var(--violet); color: #fff; }
.res-d { background: rgba(13, 11, 22, .08); color: var(--encre-douce); }
.autre-inscription { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--ligne-claire); }
.autre-inscription b { color: var(--encre); }
.note-donnees { margin: 18px 0 0; font-size: 13px; color: var(--encre-douce); }

/* Game Jam : parcours de candidature */
.parcours { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 6px 0 26px; padding: 0; list-style: none; }
.parcours li { position: relative; padding-top: 30px; text-align: center; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--encre-douce); }
.parcours li::before { content: ''; position: absolute; top: 0; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #fff; border: 2px solid rgba(13, 11, 22, .16); z-index: 1; }
.parcours li::after { content: ''; position: absolute; top: 9px; right: calc(50% + 12px); width: calc(100% - 18px); height: 2px; background: rgba(13, 11, 22, .12); }
.parcours li:first-child::after { display: none; }
.parcours li.fait, .parcours li.encours { color: var(--encre); }
.parcours li.fait::before { background: var(--violet) no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 4 3 3 5-6'/%3E%3C/svg%3E"); border-color: var(--violet); }
.parcours li.encours::before { border-color: var(--violet); box-shadow: 0 0 0 5px rgba(124, 58, 237, .18); }
.parcours li.fait::after, .parcours li.encours::after { background: var(--violet); }
.jam-infos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.equipe li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 15px; color: var(--encre); }
.equipe li span { color: var(--encre-douce); font-size: 13px; }
.mini-avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: rgba(124, 58, 237, .12); color: var(--violet); }
.depot { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 8px; }
.panneau .bareme { gap: 10px; }
.panneau .critere { padding: 12px 16px; background: var(--blanc); }
.panneau .critere b { font-size: 14.5px; }
.panneau .critere-total { background: var(--encre); align-content: center; }
.panneau .critere span { font-size: 16px; }
.panneau .critere i::after { width: var(--note, 0%); }
.panneau p { font-size: 15.5px; }
.evaluation { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ligne-claire); }
.evaluation .aide { font-weight: 500; color: var(--encre-douce); letter-spacing: 0; }
.bareme-compact { grid-template-columns: repeat(3, 1fr); }
.qr { width: 132px; height: 132px; }
.note-75 { --note: 75%; } .note-76 { --note: 76%; } .note-80 { --note: 80%; } .note-84 { --note: 84%; } .note-85 { --note: 85%; }
.depot.formulaire-clair { grid-template-columns: 1fr auto; gap: 8px; }
.sous-titre-espace { margin-top: 26px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sous-titre { font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--encre); margin: 0 0 12px; }

/* Programme et badges */
.agenda li { display: grid; grid-template-columns: 62px 1fr; gap: 16px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--ligne-claire); }
.agenda li:last-child { border-bottom: 0; }
.jour { display: grid; place-items: center; padding: 8px 0; border-radius: 10px; background: rgba(124, 58, 237, .08); line-height: 1; }
.jour b { font-size: 22px; color: var(--violet); }
.jour span { margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--encre-douce); }
.agenda h3 { font-size: 16px; margin-bottom: 2px; }
.agenda p { margin: 0; font-size: 14px; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.badge { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 16px; border-radius: 12px; border: 1px solid var(--ligne-claire); text-align: center; font-size: 13px; font-weight: 600; color: var(--encre); }
.badge .icone { width: 54px; height: 54px; margin: 0; }
.badge .icone::after { display: none; }
.badge .icone svg { width: 24px; height: 24px; }
.badge small { font-weight: 500; color: var(--encre-douce); font-size: 12px; }
.badge.verrouille { opacity: .45; filter: grayscale(1); }

/* Formulaire clair (profil) */
.formulaire-clair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.formulaire-clair .champ label, .formulaire-clair .label { color: var(--encre); }
.formulaire-clair .champ input, .formulaire-clair .champ select, .formulaire-clair .champ textarea { background: #fff; border-color: rgba(13, 11, 22, .18); color: var(--encre); }
.formulaire-clair .champ select option { background: #fff; }
.formulaire-clair .aide { color: var(--encre-douce); }
.formulaire-clair .case { color: var(--encre-douce); }
.formulaire-clair .voir-mdp { color: var(--encre-douce); }
.photo-profil { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.photo-profil .avatar { width: 72px; height: 72px; font-size: 24px; color: #fff; }
.groupe-titre { grid-column: 1 / -1; margin: 14px 0 -4px; padding-top: 22px; border-top: 1px solid var(--ligne-claire); font-size: 17px; color: var(--encre); }
.interrupteur { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: var(--rayon-s); border: 1px solid var(--ligne-claire); font-size: 15px; color: var(--encre); cursor: pointer; }
.interrupteur input { appearance: none; flex: none; width: 46px; height: 26px; border-radius: 999px; background: rgba(13, 11, 22, .16); position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.interrupteur input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(13, 11, 22, .3); transition: transform .2s; }
.interrupteur input:checked { background: var(--violet); }
.interrupteur input:checked::after { transform: translateX(20px); }
.actions-profil { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--ligne-claire); }
.lien-danger { font-size: 14px; color: var(--encre-douce); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; font-family: var(--police); }

/* Vues de démonstration : l'espace s'adapte au profil */
.si-pas-compet, .si-pas-jam { display: none; }
.espace[data-vue="participant"] .pour-compet, .espace[data-vue="jam"] .pour-compet,
.espace[data-vue="participant"] .pour-jam, .espace[data-vue="competiteur"] .pour-jam { display: none !important; }
.espace[data-vue="participant"] .si-pas-compet, .espace[data-vue="jam"] .si-pas-compet,
.espace[data-vue="participant"] .si-pas-jam, .espace[data-vue="competiteur"] .si-pas-jam { display: block; }

@media (max-width: 1080px) {
  .connexion-grille { grid-template-columns: 1fr 440px; gap: 48px; }
  .panneau.l4, .panneau.l5, .panneau.l7, .panneau.l8, .panneau { grid-column: 1 / -1; }
  .resume { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .connexion { min-height: 0; padding-bottom: 70px; }
  .connexion-photo { width: 100%; opacity: .45; }
  .connexion-grille { grid-template-columns: 1fr; }
  .connexion-texte .garanties { display: none; }
  .profil-actions { margin-left: 0; }
  .jam-infos { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .carte-connexion { padding: 24px 18px; }
  .avatar { width: 72px; height: 72px; font-size: 26px; }
  .resume { gap: 10px; }
  .resume-carte { padding: 16px; }
  .resume-carte b { font-size: 19px; }
  .resume-carte b.degrade { font-size: 32px; }
  .panneau { padding: 22px 18px; }
  .billet-qr { grid-template-columns: 1fr; }
  .qr { justify-self: center; width: 180px; height: 180px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .historique li { grid-template-columns: 56px 1fr auto 32px; gap: 10px; font-size: 14px; }
  .parcours { grid-template-columns: 1fr; gap: 0; }
  .parcours li { text-align: left; padding: 0 0 16px 34px; }
  .parcours li::before { left: 0; margin-left: 0; }
  .parcours li::after { top: -16px; left: 9px; right: auto; width: 2px; height: 18px; }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .formulaire-clair { grid-template-columns: 1fr; }
  .depot { grid-template-columns: 1fr; }
  .bareme-compact { grid-template-columns: 1fr 1fr; }
}

/* ---------- Apparition au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-liens { gap: 22px; }
  .nav { gap: 22px; }
  .chiffres, .cartes-4 { grid-template-columns: repeat(2, 1fr); }
  .intro-grille, .jam-grille, .contact-grille { gap: 56px; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .section { padding: 88px 0; }
  .hero { min-height: 720px; padding-bottom: 170px; }
  .hero-photo { width: 100%; opacity: .7; }
  .hero-voile { background: linear-gradient(180deg, rgba(13, 11, 22, .75) 0%, rgba(13, 11, 22, .55) 40%, var(--graphite) 100%), radial-gradient(70% 50% at 70% 30%, rgba(124, 58, 237, .4), transparent 70%); }
  .entete-2col, .intro-grille, .jam-grille, .contact-grille { grid-template-columns: 1fr; }
  .entete-2col { gap: 20px; }
  .intro-photo { height: 460px; }
  .intro-badge { left: 16px; bottom: -28px; }
  .cartes-jeux { grid-template-columns: 1fr; }
  .carte-jeu { height: 440px; }
  .jam-photo { height: 440px; }
  .jam-24 { right: -10px; }
  .jam-texte { padding-top: 30px; }
  .bandeau { grid-template-columns: 1fr; gap: 28px; padding: 44px 32px; }
  .bandeau-marque { width: 64px; height: 64px; }
  .bandeau .btn { justify-self: start; }
}
@media (max-width: 600px) {
  :root { --gouttiere: 16px; --entete-h: 72px; }
  body { font-size: 16px; }
  .hero-texte, .final-appel p { font-size: 18px; }
  .chapo { font-size: 19px; }
  .pastille, .etiquette .elementor-heading-title { font-size: 11px; letter-spacing: .06em; }
  .chiffres { gap: 12px; margin-top: -110px; margin-bottom: 88px; }
  .chiffre { padding: 22px 18px; }
  .chiffre-unite { font-size: 18px; }
  .chiffre p { font-size: 14px; }
  .cartes-4 { grid-template-columns: 1fr; }
  .boutons .btn { width: 100%; }
  .btn, .bouton .elementor-button { white-space: normal; text-align: center; line-height: 1.3; padding-block: 10px; }
  .formulaire { grid-template-columns: 1fr; padding: 26px 20px; }
  .formulaire .btn { width: 100%; }
  .pied-grille { grid-template-columns: 1fr; gap: 36px; }
  .signature { letter-spacing: .22em; font-size: 12px; }
  .logo-texte { font-size: 15px; }
}


/* =========================================================
   PONT ELEMENTOR
   Le widget porte la classe du composant (Avancé → Classes CSS) ;
   Elementor l'enveloppe et place l'élément visible à l'intérieur.
   Ces règles raccordent les deux sans toucher aux réglages de l'éditeur.
   ========================================================= */

/* Titres : la typographie est portée par l'enveloppe, la balise interne hérite.
   :where() garde une spécificité faible pour laisser gagner les composants. */
:where(.elementor-widget-heading) .elementor-heading-title,
:where(.elementor-widget-heading) .elementor-heading-title a { font: inherit; color: inherit; line-height: inherit; letter-spacing: inherit; text-transform: inherit; text-wrap: inherit; margin: 0; padding: 0; }
:where(.elementor-widget-text-editor) { color: inherit; }
/* Les paragraphes gardent leur marge (1em) comme dans la maquette : l'espacement entre textes en dépend. */
.elementor-widget-text-editor a { color: var(--violet-clair); }
.clair .elementor-widget-text-editor a { color: var(--violet); }
.elementor-widget-image img { display: block; max-width: 100%; }

/* Boutons */
.elementor-widget-button.bouton .elementor-button-wrapper { display: flex; }
.boutons-centre .elementor-widget-button .elementor-button-wrapper, .centre-bouton .elementor-widget-button .elementor-button-wrapper { justify-content: center; }
.bouton .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: .5em; }
.lien .elementor-button { background: none; padding: 0; min-height: 0; border-radius: 0; box-shadow: none; line-height: 1.65; vertical-align: top; }
.elementor-widget-button.lien { line-height: 0; }
.lien .elementor-button-content-wrapper { display: contents; }

/* Étiquettes, signature, badge : l'élément visible est la balise du titre */
.elementor-widget-heading.signature { display: block; margin: 48px 0 0; }
.signature .elementor-heading-title { display: flex; align-items: center; gap: 14px; }
/* Dans la maquette, les marges 36 px + 48 px fusionnent (blocs) ; en flex elles s'additionnent. */
.elementor-widget.chapo-hero + .elementor-widget-heading.signature { margin-top: 12px; }
/* Maquette : « .carte-duo p » s'applique aussi au surtitre (grand surtitre de 30 px). */
.carte-duo .surtitre, .carte-duo .surtitre .elementor-heading-title { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.32; letter-spacing: -.01em; }
.intro-badge .elementor-heading-title { display: flex; flex-direction: column; gap: 4px; }

/* Images : l'enveloppe porte la position et le rayon, l'image remplit */
.elementor-widget-image.hero-photo > .elementor-widget-container,
.elementor-widget-image.final-photo > .elementor-widget-container,
.elementor-widget-image.image-fond > .elementor-widget-container,
.elementor-widget-image.connexion-photo > .elementor-widget-container { height: 100%; }
.elementor-widget-image.hero-photo img, .elementor-widget-image.final-photo img, .elementor-widget-image.image-fond img,
.elementor-widget-image.connexion-photo img, .elementor-widget-image.intro-photo img, .elementor-widget-image.jam-photo img,
.elementor-widget-image.media-photo img, .elementor-widget-image.fiche-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: inherit; border-radius: inherit;
}
.elementor-widget-image.intro-photo, .elementor-widget-image.jam-photo { overflow: visible; }
.elementor-widget-image.intro-photo img { height: 600px; }
.elementor-widget-image.jam-photo img { height: 620px; }
.elementor-widget-image.media-photo img { height: 540px; box-shadow: 0 40px 80px -40px rgba(34, 0, 91, .7); }
.elementor-widget-image.fiche-photo img { height: 600px; box-shadow: 0 40px 80px -40px rgba(8, 6, 15, .9); }
.elementor-widget-image.image-fond { position: absolute; inset: 0; z-index: -2; margin: 0; }
.elementor-widget-image.image-fond img { position: static; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.carte-jeu:hover .image-fond img, .index-jeu:hover .image-fond img { transform: scale(1.06); }
.theme-principal .image-fond img { opacity: .55; }

/* Icônes (SVG au trait importés dans la médiathèque) */
.elementor-widget-icon.icone .elementor-icon-wrapper, .elementor-widget-icon.rond-fleche .elementor-icon-wrapper { display: grid; place-items: center; line-height: 0; }
.icone .elementor-icon, .rond-fleche .elementor-icon, .bandeau-marque .elementor-icon { color: var(--blanc); font-size: inherit; line-height: 0; }
.elementor-widget-icon.rond-fleche { width: 48px; height: 48px; display: grid; place-items: center; }
.rond-fleche svg { width: 16px; height: 16px; }
.carte-jeu:hover .rond-fleche { transform: rotate(45deg); }
.elementor-widget-icon.bandeau-marque { width: 96px; height: 96px; }
.bandeau-marque svg { width: 96px; height: 96px; }

/* Conteneurs de mise en page : les règles d'Elementor sur .e-con / .e-flex
   sont plus spécifiques, on les reprend à spécificité (0,2,0). */
.e-con.hero { flex-direction: row; align-items: center; overflow: hidden; }
.e-con.hero-page, .e-con.connexion { flex-direction: row; align-items: center; overflow: hidden; }
.e-con.enveloppe { flex-direction: column; }
.e-con.boutons { flex-direction: row; flex-wrap: wrap; gap: 14px; }
.e-con.boutons > .elementor-widget, .e-con.carte-jeu-bas > .elementor-widget, .e-con.centre-bouton > .elementor-widget { width: auto; max-width: 100%; flex: 0 0 auto; }
.e-con.carte-jeu-bas > .elementor-widget.rond-fleche { width: 48px; height: 48px; }
.elementor-widget.rond-fleche::before { content: none; }
.e-con.boutons-centre, .e-con.centre-bouton { justify-content: center; }
.e-con.centre-bouton { flex-direction: row; }
.e-con.chiffres { display: grid; gap: 20px; }
.e-con.intro-grille { display: grid; gap: 80px; align-items: center; }
.e-con.cartes-4 { display: grid; gap: 20px; }
.e-con.entete-2col { display: grid; gap: 64px; align-items: end; }
.e-con.cartes-jeux { display: grid; gap: 22px; }
.e-con.carte-jeu { justify-content: space-between; text-decoration: none; }
.e-con.carte-jeu-haut { align-items: flex-start; gap: 14px; }
.e-con.carte-jeu-bas { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 18px; }
.e-con.carte-jeu-bas > .carte-jeu-accroche { flex: 1 1 auto; }
.e-con.jam-grille { display: grid; gap: 88px; align-items: center; }
.e-con.bandeau { display: grid; gap: 40px; align-items: center; }
.e-con.contact-grille { display: grid; gap: 72px; align-items: start; }
.e-con.texte-2col { display: grid; gap: 80px; align-items: start; }
.e-con.duo { display: grid; gap: 22px; }
.e-con.valeurs { display: grid; gap: 16px; }
.e-con.valeur { gap: 22px; }
.e-con.media-texte { display: grid; gap: 80px; align-items: center; }
.e-con.index-jeux { display: grid; gap: 14px; }
.e-con.index-jeu { justify-content: flex-end; gap: 6px; text-decoration: none; }
.e-con.fiche { display: grid; gap: 72px; align-items: start; }
.e-con.podium { display: grid; gap: 12px; }
.e-con.podium-grand { gap: 12px; } /* maquette : « .podium » (gap 12 px) est déclaré après « .podium-grand » */
/* Comme dans la maquette, une colonne s'élargit au montant (sans retour à la ligne). */
.e-con.podium-grand > .e-con.prix { min-width: auto; }
.e-con.podium > .e-con.prix, .e-con.fiche > .e-con.fiche-corps { min-width: auto; }
.e-con.etapes { display: grid; gap: 20px; }
.e-con.themes { display: grid; gap: 22px; }
.e-con.themes-alt { display: grid; gap: 22px; }
.e-con.theme-principal { justify-content: flex-end; }
.e-con.billets { display: grid; gap: 22px; align-items: stretch; }
.e-con.bloc-formulaire { display: grid; gap: 72px; align-items: start; }
.e-con.regles { display: grid; gap: 0 56px; }
.e-con.infos { display: grid; }

/* Apparition au défilement (classe « reveler » posée dans Elementor) */
.js .reveler { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveler.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveler { opacity: 1; transform: none; transition: none; } }

/* Couches décoratives portées par les sections (aucun widget vide dans l'éditeur) */
.e-con.hero::before, .e-con.hero-page::before { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(55% 60% at 74% 38%, rgba(124, 58, 237, .38), transparent 70%),
    linear-gradient(90deg, var(--graphite) 28%, rgba(13, 11, 22, .84) 48%, rgba(13, 11, 22, .28) 76%, rgba(13, 11, 22, .45) 100%),
    linear-gradient(0deg, var(--graphite) 0%, rgba(13, 11, 22, 0) 34%),
    linear-gradient(180deg, rgba(13, 11, 22, .7) 0%, rgba(13, 11, 22, 0) 22%);
}
.e-con.hero::after, .e-con.hero-page::after { content: ''; position: absolute; z-index: -1; top: 22%; left: 47%; width: 6px; height: 6px; border-radius: 50%; pointer-events: none;
  background: var(--cyan);
  box-shadow: 0 0 14px 4px rgba(34, 211, 238, .55), 160px 300px 0 -1px var(--violet-clair), 160px 300px 14px 3px rgba(167, 139, 250, .6), 640px 60px 0 0 var(--cyan), 640px 60px 14px 4px rgba(34, 211, 238, .5), 470px 410px 0 1px var(--violet-clair), 470px 410px 18px 6px rgba(124, 58, 237, .6);
  animation: flotte 9s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .e-con.hero::after, .e-con.hero-page::after { animation: none; } }
.e-con.final::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(34, 0, 91, .78) 0%, rgba(13, 11, 22, .82) 40%, var(--graphite) 70%); }
.e-con.bandeau::before { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 211, 238, .28), transparent); pointer-events: none; }
.e-con.carte-jeu, .e-con.index-jeu, .e-con.theme-principal { isolation: isolate; }
/* Elementor donne width/height 100 % à .e-con::before : le halo de la photo reprend ses seuls « inset ». */
.e-con.intro-visuel::before { width: auto; height: auto; }

/* Responsive : équivalents des règles mobiles de la maquette quand le pont ci-dessus
   (spécificité 0,2,0 ou plus) l'emporterait sur elles. */
@media (max-width: 1080px) {
  .e-con.intro-grille, .e-con.jam-grille, .e-con.contact-grille { gap: 56px; }
  .e-con.fiche, .e-con.media-texte, .e-con.texte-2col, .e-con.bloc-formulaire { gap: 48px; }
}
@media (max-width: 900px) {
  .e-con.entete-2col { gap: 20px; }
  .elementor-widget-image.intro-photo img { height: 460px; }
  .elementor-widget-image.jam-photo img { height: 440px; }
  .elementor-widget-image.media-photo img, .elementor-widget-image.fiche-photo img { height: 420px; }
  .e-con.bandeau { gap: 28px; }
  .e-con.bandeau > .elementor-widget-button { justify-self: start; }
  .elementor-widget-icon.bandeau-marque, .bandeau-marque svg { width: 64px; height: 64px; }
  .e-con.billets { gap: 30px; }
}
@media (max-width: 600px) {
  .e-con.chiffres { gap: 12px; }
  .e-con.boutons > .elementor-widget { width: 100%; }
  .e-con.boutons .bouton .elementor-button { width: 100%; justify-content: center; }
}

/* =========================================================
   WORDPRESS : menus, barre d'administration, pages classiques
   ========================================================= */
.nav-liens li, .menu-mobile li, .pied li { list-style: none; }
.menu-mobile .menu-mobile-liens:first-child { margin-bottom: 0; }
.menu-mobile-extra li a { font-size: 17px; color: var(--texte-doux); }
.custom-logo-link img { max-height: 44px; width: auto; }
.pied .custom-logo-link { display: inline-block; margin-bottom: 22px; }
.reseaux { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.reseaux a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ligne); color: var(--texte-doux); transition: color .2s, border-color .2s, background .2s; }
.reseaux a:hover { color: var(--blanc); border-color: var(--violet-clair); background: rgba(124, 58, 237, .16); }
.reseaux svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.admin-bar .entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .entete { top: 46px; } }
@media (max-width: 600px) { .admin-bar .entete { top: 0; } #wpadminbar { position: absolute; } }

.page-standard { padding-top: calc(var(--entete-h) + 72px); min-height: 70vh; }
.contenu-texte { max-width: 880px; }
.contenu-texte .titre-section { margin-bottom: 32px; }
.contenu-texte h2 { font-size: 30px; margin: 40px 0 14px; }
.contenu-texte h3 { font-size: 22px; margin: 28px 0 10px; }
.contenu-texte p, .contenu-texte li { color: var(--encre-douce); }
.contenu-texte ul, .contenu-texte ol { padding-left: 22px; margin: 0 0 1em; list-style: disc; }
.contenu-texte ol { list-style: decimal; }
.contenu-texte a { color: var(--violet); }
.contenu-texte table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; }
.contenu-texte th, .contenu-texte td { padding: 10px 12px; border-bottom: 1px solid var(--ligne-claire); text-align: left; }
.liste-articles li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ligne-claire); }
.liste-articles a { font-weight: 600; text-decoration: none; }
.page-404 { min-height: 80vh; }
.page-404 .hero-contenu { padding-top: 40px; }
.page-classique.single .page-standard, .page-classique.page .page-standard { padding-bottom: 110px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =========================================================
   WOOCOMMERCE : panier, commande, produit (zone de lecture claire)
   ========================================================= */
.woocommerce .page-boutique, .page-boutique { padding-top: calc(var(--entete-h) + 72px); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .wc-block-components-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border: 0; border-radius: var(--rayon-s); background: var(--violet); color: #fff;
  font: 600 15px/1 var(--police); text-decoration: none; transition: background .2s, box-shadow .2s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: #8B4DF5; color: #fff; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .quantity .qty, .select2-container .select2-selection--single {
  min-height: 46px; padding: 10px 14px; border: 1px solid rgba(13, 11, 22, .18); border-radius: var(--rayon-s); background: #fff; color: var(--encre); font: 400 16px/1.4 var(--police);
}
.woocommerce form .form-row label { font-weight: 600; color: var(--encre); }
.woocommerce table.shop_table { border-radius: var(--rayon); border-color: var(--ligne-claire); background: #fff; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top-color: var(--violet); background: #fff; color: var(--encre); border-radius: 0 0 var(--rayon-s) var(--rayon-s); }
.woocommerce-info::before, .woocommerce-message::before { color: var(--violet); }
.woocommerce div.product .product_title { font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: var(--encre); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--violet); font-weight: 800; font-size: 28px; }
.woocommerce #payment { background: #fff; border-radius: var(--rayon); border: 1px solid var(--ligne-claire); }
.woocommerce-checkout #payment div.payment_box { background: var(--blanc); color: var(--encre); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--blanc); }

/* =========================================================
   PONT ELEMENTOR (2) — composants des pages installées
   ========================================================= */
.chapo p, .chapo-hero p { color: inherit; }
.intro-texte .elementor-widget-button.bouton { margin-top: 14px; }
.carte-temps .elementor-widget-button.lien { margin-top: auto; padding-top: 8px; }
.contact-texte { color: var(--texte-doux); margin-bottom: 36px; }
.fiche-texte { color: var(--texte-doux); }
.clair .fiche-texte { color: var(--encre-douce); }
.bloc-corps { color: var(--texte-doux); }
.e-con.page-application { padding: 0; }
.e-con.media-visuel { position: relative; }
.e-con.carte-jeu { color: var(--blanc); }

/* Étiquettes placées sur une photo */
.fiche-visuel .elementor-widget-heading.etiquette { position: absolute; top: 22px; left: 22px; z-index: 1; }
.theme .elementor-widget-heading.etiquette { align-self: flex-start; margin-bottom: 22px; }
.elementor-widget-heading.etiquette-photo { position: absolute; left: 24px; bottom: 24px; z-index: 1; }
.etiquette-photo .elementor-heading-title { display: flex; flex-direction: column; gap: 2px; }
.etiquette-photo span { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--violet-clair); }
.etiquette-photo b { font-size: 20px; }
.e-con.fiche-visuel { position: sticky; top: calc(var(--entete-h) + 30px); }
.elementor-widget-heading.fiche-num, .elementor-widget-heading.jam-24, .elementor-widget-heading.intro-badge, .elementor-widget-heading.billet-ruban { position: absolute; }

/* Listes à icônes : pastilles, moyens de paiement, avantages des billets */
.elementor-widget-icon-list .elementor-icon-list-items { margin: 0; padding: 0; }
.elementor-widget-icon-list .elementor-icon-list-icon { display: none; }
.elementor-widget-icon-list .elementor-icon-list-text { color: inherit; padding: 0; }
.elementor-widget.puces { margin: 28px 0; }
/* Maquette : marges fusionnées avec le titre (26 px) ou le paragraphe (1em) qui précède. */
.elementor-widget.titre-section + .elementor-widget.puces { margin-top: 2px; }
.elementor-widget-text-editor + .elementor-widget.puces { margin-top: 11px; }
.elementor-widget-text-editor + .elementor-widget.paiements { margin-top: 13px; }
.puces .elementor-icon-list-items, .paiements .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 10px; }
.paiements .elementor-icon-list-items { gap: 12px; }
.puces .elementor-icon-list-items .elementor-icon-list-item, .paiements .elementor-icon-list-items .elementor-icon-list-item { margin: 0; }
.puces .elementor-icon-list-item::after, .paiements .elementor-icon-list-item::after { display: none; }
.elementor-widget.paiements { margin: 30px 0 36px; }
.paiements .elementor-icon-list-item { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--rayon-s); background: rgba(245, 243, 250, .06); border: 1px solid rgba(245, 243, 250, .16); font-weight: 600; font-size: 15px; }
.paiements .elementor-icon-list-item::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--violet-clair); box-shadow: 0 0 10px var(--violet-clair); }
.billet-liste .elementor-icon-list-items { display: grid; gap: 12px; }
/* Elementor remet padding, marge et taille de police des éléments à zéro
   (.elementor-widget .elementor-icon-list-item, 0,2,0 ; éléments en ligne, 0,4,0) : on reprend à (0,5,0). */
.elementor-widget.puces .elementor-icon-list-items .elementor-icon-list-item.elementor-icon-list-item { margin: 0; padding: 10px 18px; font-size: 15px; }
.elementor-widget.paiements .elementor-icon-list-items .elementor-icon-list-item.elementor-icon-list-item { margin: 0; padding: 12px 18px; font-size: 15px; }
.elementor-widget.billet-liste .elementor-icon-list-items .elementor-icon-list-item.elementor-icon-list-item { margin: 0; padding: 0 0 0 30px; font-size: 15.5px; display: block; }
.elementor-widget.billet-liste { margin-bottom: 30px; }
.billet .elementor-widget-button { margin-top: auto; }
.billet .bouton .elementor-button { width: 100%; }
.e-con.billet-prix { flex-direction: row; align-items: baseline; gap: 10px; flex-wrap: nowrap; }
.e-con.billet-prix > .elementor-widget { flex: 0 1 auto; }
.e-con.billet { position: relative; }

/* Boîtes icône + texte (garanties de paiement) */
/* Spécificité 0,4,0 : la feuille du widget (chargée après le thème) passe en colonne centrée sous 767 px. */
.elementor-widget.elementor-widget-icon-box.garantie .elementor-icon-box-wrapper { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; text-align: left; }
.garantie .elementor-icon-box-icon { margin: 0; }
.garantie .elementor-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--blanc); background: radial-gradient(circle at 50% 35%, rgba(124, 58, 237, .7), rgba(34, 0, 91, .75) 70%); border: 1px solid rgba(167, 139, 250, .6); box-shadow: 0 0 46px -2px rgba(124, 58, 237, .85); font-size: 22px; }
.garantie .elementor-icon svg { width: 22px; height: 22px; }
.garantie .elementor-icon-box-title { margin: 0 0 2px; font-size: 17px; font-weight: 700; line-height: 1.65; color: inherit; }
.garantie .elementor-icon-box-title a, .garantie .elementor-icon-box-title span { color: inherit; }
.garantie .elementor-icon-box-description { margin: 0; font-size: 15px; color: var(--texte-doux); }

/* Accordéons (widget Bascule) : règles provisoires et FAQ */
.accordeon .elementor-toggle-item { margin-bottom: 12px; border-radius: var(--rayon-s); border: 1px solid var(--ligne); background: rgba(245, 243, 250, .03); }
.clair .accordeon .elementor-toggle-item { border-color: var(--ligne-claire); background: #fff; }
.elementor-widget.accordeon { margin-bottom: 28px; border: 0; border-radius: 0; background: none; }
.elementor-widget.accordeon:not(.faq) .elementor-toggle-item { margin-bottom: 0; }
.accordeon .elementor-toggle .elementor-tab-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border: 0; font-weight: 600; font-size: 17px; line-height: 1.65; cursor: pointer; color: inherit; }
.accordeon .elementor-toggle .elementor-tab-title .elementor-toggle-icon { display: none; }
.accordeon .elementor-toggle .elementor-toggle-title { color: inherit; text-decoration: none; }
.accordeon .elementor-toggle .elementor-tab-title::after { content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(124, 58, 237, .2); color: var(--violet-clair); font-size: 20px; font-weight: 500; transition: transform .25s; }
.clair .accordeon .elementor-toggle .elementor-tab-title::after { color: var(--violet); background: rgba(124, 58, 237, .1); }
.accordeon .elementor-toggle .elementor-tab-title.elementor-active::after { transform: rotate(45deg); }
.accordeon .elementor-toggle .elementor-tab-content { padding: 0 22px 20px; border: 0; color: var(--texte-doux); font-size: 15.5px; }
.clair .accordeon .elementor-toggle .elementor-tab-content { color: var(--encre-douce); }
.accordeon .elementor-tab-content ul { padding-left: 20px; list-style: disc; margin: 0; }
.accordeon .elementor-tab-content li { margin-bottom: 8px; }
.accordeon .elementor-tab-content li::marker { color: var(--violet); }
.faq.elementor-widget { max-width: 880px; }

/* Barème (barre dessinée par la carte) et règlement numéroté */
.e-con.bareme { display: grid; gap: 14px; }
.e-con.critere { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; align-items: center; padding: 18px 22px; border-radius: var(--rayon-s); background: #fff; border: 1px solid var(--ligne-claire); }
.e-con.critere::after { content: ''; grid-column: 1 / -1; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--violet-profond), var(--violet) 70%, var(--cyan) 140%) 0 0 / calc(var(--part, 0%) * 4) 100% no-repeat, rgba(124, 58, 237, .1); }
.e-con.critere.critere-total { background: var(--encre); border-color: var(--encre); }
.e-con.critere.critere-total::after { display: none; }
.e-con.regles { grid-template-columns: 1fr 1fr; counter-reset: regle; }
.e-con.regle { counter-increment: regle; position: relative; padding: 22px 0 22px 64px; border-bottom: 1px solid var(--ligne-claire); }
.e-con.regle::before { content: counter(regle, decimal-leading-zero); position: absolute; left: 0; top: 20px; font-size: 26px; font-weight: 800; color: var(--violet); letter-spacing: -.02em; }
.regle-titre { display: block; margin-bottom: 4px; font-size: 17px; font-weight: 700; color: var(--encre); }
.regle-texte { color: var(--encre-douce); font-size: 15.5px; }
.e-con.etapes { counter-reset: etape; }
/* Elementor réserve .e-con::before au calque de fond (position absolue, pleine taille) :
   le numéro d'étape reprend sa place dans le flux. */
.e-con.etape::before { position: static; inset: auto; width: auto; height: auto; border-radius: 0; opacity: 1; mix-blend-mode: normal; }
.e-con.etapes.x4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1080px) { .e-con.etapes.x4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .e-con.regles { grid-template-columns: 1fr; }
  .e-con.fiche-visuel { position: relative; top: 0; }
  .e-con.fiche.inverse > .fiche-visuel, .e-con.media-texte.inverse > :first-child { order: 0; }
}
@media (max-width: 600px) {
  .e-con.etapes.x4 { grid-template-columns: 1fr; }
  .e-con.regle { padding-left: 52px; }
}

/* =========================================================
   EXTENSION : messages, formulaires, paiement, contrôle
   ========================================================= */
.pot-de-miel { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.erreur-champ { margin: 4px 0 0; font-size: 13.5px; font-weight: 600; color: #C4B5FD; }
.erreur-champ::before { content: '⚠ '; }
.formulaire-clair .erreur-champ, .clair .erreur-champ { color: var(--violet); }
.message-formulaire { grid-column: 1 / -1; margin: 0 0 6px; padding: 14px 16px; border-radius: var(--rayon-s); font-size: 15px; font-weight: 600; border: 1px solid rgba(167, 139, 250, .45); background: rgba(124, 58, 237, .14); color: var(--blanc); }
.message-formulaire.message-succes { border-color: rgba(34, 211, 238, .45); background: rgba(34, 211, 238, .1); }
.message-formulaire.message-erreur::before { content: '⚠ '; }
.espace-corps .message-formulaire, .clair .message-formulaire { color: var(--encre); background: rgba(124, 58, 237, .08); margin-bottom: 24px; }
.onglet-panneau form { display: grid; gap: 18px; }
.onglet-panneau form + form { margin-top: 4px; }
.formulaire-info { display: flex; flex-direction: column; gap: 22px; }
.formulaire-info .boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.formulaire input[readonly] { opacity: .75; cursor: not-allowed; }
.billet-actions form { display: contents; }
.supprimer-compte { grid-column: 1 / -1; margin-top: 22px; }
.supprimer-compte summary { list-style: none; cursor: pointer; display: inline-block; }
.supprimer-compte summary::-webkit-details-marker { display: none; }
.supprimer-compte form { margin-top: 16px; padding: 18px; border-radius: var(--rayon-s); border: 1px dashed rgba(13, 11, 22, .2); }

/* Attente de confirmation du paiement */
.attente-paiement { display: flex; gap: 20px; align-items: flex-start; margin: 0 0 32px; padding: 24px; border-radius: var(--rayon); background: var(--encre); color: var(--blanc); border: 1px solid var(--ligne-violette); box-shadow: 0 0 50px -20px rgba(124, 58, 237, .8); }
.attente-paiement h2 { font-size: 22px; margin-bottom: 8px; color: var(--blanc); }
.attente-paiement p { margin: 0 0 8px; color: var(--texte-doux); }
.attente-icone { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(167, 139, 250, .3); border-top-color: var(--violet-clair); animation: tourne 1s linear infinite; }
.attente-echec .attente-icone { animation: none; border-color: rgba(245, 243, 250, .3); }
@keyframes tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .attente-icone { animation: none; } }
.merci-billets { margin: 32px 0; }
.billets-merci { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 16px; }
.billets-merci li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px; border-radius: var(--rayon); background: #fff; border: 1px solid var(--ligne-claire); text-align: center; }
.dgw-flexpay-modes label { margin-right: 18px; font-weight: 600; }
.dgw-flexpay-tel { position: relative; }
.dgw-flexpay-prefixe { position: absolute; left: 14px; top: 38px; font-weight: 600; color: var(--encre-douce); }
.dgw-flexpay-tel input.input-text { padding-left: 64px !important; }
.dgw-flexpay-tel small { display: block; margin-top: 6px; color: var(--encre-douce); }

/* Contrôle des billets */
.controle { padding-top: calc(var(--entete-h) + 60px); min-height: 100vh; }
.controle .titre-section { margin: 18px 0 32px; }
.controle-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.controle-camera { position: relative; display: grid; place-items: center; gap: 14px; min-height: 320px; padding: 20px; border-radius: var(--rayon); background: #000; border: 1px solid var(--ligne-violette); overflow: hidden; }
.controle-camera video { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; display: none; }
.camera-active .controle-camera video { display: block; }
.controle-viseur { position: absolute; width: 60%; aspect-ratio: 1; border: 3px solid rgba(167, 139, 250, .8); border-radius: 18px; pointer-events: none; display: none; }
.camera-active .controle-viseur { display: block; }
.controle-aide { margin: 0; font-size: 14px; color: var(--texte-doux); text-align: center; }
.controle-resultat { margin-top: 18px; padding: 22px; border-radius: var(--rayon); background: rgba(245, 243, 250, .06); border: 1px solid var(--ligne); font-size: 18px; }
.controle-resultat b { display: block; font-size: 22px; margin-bottom: 6px; }
.controle-resultat p { margin: 0; color: var(--texte-doux); }
.controle-ok { background: rgba(34, 211, 238, .12); border-color: rgba(34, 211, 238, .55); }
.controle-refus { background: rgba(124, 58, 237, .2); border-color: rgba(196, 181, 253, .6); }
@media (max-width: 900px) { .controle-grille { grid-template-columns: 1fr; } }

/* =========================================================
   PONT ELEMENTOR (3) — marges et largeurs des widgets
   Elementor 4 remet à zéro la marge basse de tout widget
   (.e-con .elementor-widget.elementor-widget, spécificité 0,3,0) et force
   max-width: 100% (.elementor.elementor .e-con > .elementor-widget, 0,4,0).
   Ses deux règles lisent désormais deux variables que chaque composant
   renseigne ; sans variable, le comportement d'Elementor est inchangé.
   ========================================================= */
@property --marge-bas { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --largeur-max { syntax: '<length-percentage> | none'; inherits: false; initial-value: 100%; }
.e-con .elementor-widget.elementor-widget { margin-block-end: var(--marge-bas, 0px); }
.elementor.elementor .e-con > .elementor-widget { max-width: var(--largeur-max, 100%); }

.hero-titre { --marge-bas: 26px; --largeur-max: 1120px; }
.hero-page .hero-titre { --largeur-max: 1150px; }
.hero-texte { --marge-bas: 40px; --largeur-max: 520px; }
.chapo-hero { --marge-bas: 36px; --largeur-max: 640px; }
.connexion-texte .chapo-hero { --marge-bas: 34px; --largeur-max: 520px; }
.surtitre { --marge-bas: 18px; }
.carte-duo .surtitre { --marge-bas: 22px; }
.chiffre-unite { --marge-bas: 14px; }
.elementor-widget.icone { --marge-bas: 34px; }
.valeur .elementor-widget.icone { --marge-bas: 0px; }
.titre-geant { --marge-bas: 26px; }
.contact-texte { --marge-bas: 36px; }
.fiche-accroche { --marge-bas: 22px; }
.elementor-widget.accordeon { --marge-bas: 28px; }
.elementor-widget.faq { --marge-bas: 0px; --largeur-max: 880px; }
.billet-type { --marge-bas: 12px; }
.billet-desc { --marge-bas: 24px; }
.billet-liste { --marge-bas: 30px; }
.theme-axes { --marge-bas: 10px; }
/* Maquette : « .theme p » l'emporte sur .theme-axes (taille, couleur et marge du paragraphe). */
.theme .theme-axes, .theme .theme-axes .elementor-heading-title { font-size: 15.5px; color: var(--texte-doux); }
.theme-principal .theme-axes, .theme-principal .theme-axes .elementor-heading-title { font-size: 17px; color: rgba(245, 243, 250, .85); }
.theme .etiquette { --marge-bas: 22px; }
.elementor-widget.puces { --marge-bas: 28px; }
.elementor-widget.paiements { --marge-bas: 36px; }
.regle-titre { --marge-bas: 4px; }
.regle-titre, .regle-titre .elementor-heading-title { line-height: 1.65; }
.regle-texte p:last-child { margin-bottom: 0; }
.podium-grand .prix-montant { --marge-bas: 8px; }
.intro-texte .titre-section { --marge-bas: 30px; }
.jam-texte .titre-section, .media-texte .titre-section { --marge-bas: 26px; }
.bloc-formulaire .titre-section { --marge-bas: 22px; }
/* Paragraphes uniques dont la maquette porte la marge sur le <p> : la marge passe au widget. */
.hero-texte p:last-child, .chapo-hero p:last-child, .billet-desc p:last-child, .note p:last-child { margin-bottom: 0; }
/* Marge du dernier paragraphe fusionnée, dans la maquette, avec celle du bloc suivant. */
.fiche-texte p:last-child, .jam-corps p:last-child, .contact-texte p:last-child { margin-bottom: 0; }
.elementor-widget.note { --largeur-max: 820px; }
.etiquette-photo, .intro-badge, .jam-24, .fiche-num, .billet-ruban { --largeur-max: none; }
/* Titres h1–h6 dans Elementor : graisse et interlignage de la maquette par défaut
   (spécificité nulle : la classe d'un composant l'emporte toujours). */
:where(.elementor-widget-heading:has(> :is(h1, h2, h3, h4, h5, h6), > .elementor-widget-container > :is(h1, h2, h3, h4, h5, h6))) { line-height: 1.08; font-weight: 700; hyphens: none; text-wrap: balance; }