
/* Concept : une station Art déco nocturne. Le bandeau du haut est la frise de la station et porte le plan de ligne ;
   le quai a son poteau et son panneau-titre ; la rame en inox poli relie les pages. Monde unique, sombre, assumé. */
:root {
  color-scheme: dark;
  --void: #060807;
  --night: #0a0f0d;
  --green: #0f241b;
  --green-2: #163428;
  --brass: #c2a463;
  --brass-dim: #7d6a3f;
  --cream: #ece4d0;
  --cream-dim: #a39d8c;
  --f-display: "Limelight", "Didot", "Bodoni MT", Georgia, serif;
  --f-body: "Josefin Sans", "Futura", "Century Gothic", "Segoe UI", sans-serif;
}
:root { --acc: #c2a463; --wash: #0f241b; }
/* ---- Un habillage par station : couleurs, typographies, ornements du bandeau et du contenu ---- */
:root[data-st="sea"] {
  color-scheme: light;
  --void: #fbf7ef; --night: #f6efe0; --brass: #c8372d; --brass-dim: #a9bccb; --cream: #1f3a5a; --cream-dim: #5a6f84;
  --acc: #c8372d; --wash: #d6eaf3;
  --f-display: "Abril Fatface", Didot, Georgia, serif; --f-body: "Work Sans", "Segoe UI", Roboto, sans-serif;
}
body, .content-wrap, footer, .card { transition: background-color .6s ease, color .6s ease, border-color .6s ease; }

/* galerie sous-marine, façon Jules Verne (10/11) : eau des abysses, cuivre riveté, parchemin */
:root[data-st="verne"] {
  --void: #06202a; --night: #04141b; --brass: #d98b52; --brass-dim: #6b4630; --cream: #f1e6cc; --cream-dim: #a9bdb8;
  --acc: #e8a26c; --wash: #0f4a55;
  --f-display: "IM Fell English SC", Georgia, serif; --f-body: "EB Garamond", Garamond, Georgia, serif;
}
:root[data-st="verne"] body { font-size: 19px; }
/* bandeau : tôle sombre, liseré de cuivre et rang de rivets */
:root[data-st="verne"] .frieze {
  border-bottom: 3px solid var(--brass); box-shadow: 0 1px 0 #ffd2ab, 0 5px 0 #03101a;
  background-image: radial-gradient(circle, rgba(240,185,138,.7) 0 1.4px, rgba(0,0,0,.4) 1.9px 2.8px, transparent 3.2px), linear-gradient(180deg, #0b2e3a, #06202a);
  background-size: 26px 10px, 100% 100%; background-position: 5px calc(100% - 1px), 0 0; background-repeat: repeat-x, no-repeat;
}
/* pastilles : petits hublots ; la station courante laisse voir l'eau éclairée */
:root[data-st="verne"] .dot {
  transform: none; border-radius: 50%; width: 20px; height: 20px; margin: 2px 0;
  background: radial-gradient(circle at 40% 35%, #1f8790, #072a35 72%); border: 3px solid var(--brass); box-shadow: inset 0 0 0 1px #4e2812;
}
:root[data-st="verne"] .stops a[aria-current="page"] .dot { background: radial-gradient(circle at 40% 35%, #e2fff7, #58d6cc 50%, #1f8790); outline-color: transparent; box-shadow: inset 0 0 0 1px #4e2812, 0 0 12px rgba(88,214,204,.75); }
:root[data-st="verne"] .stops a[aria-current="page"] { color: #9be8dc; }
:root[data-st="verne"] .track { height: 6px; top: 9px; border: 0; border-radius: 3px; background: linear-gradient(180deg, #f6c8a0, #c9763f 50%, #6b3618); }
/* le contenu baigne dans l'eau : rais de lumière en haut, puis on descend vers les abysses */
:root[data-st="verne"] .content-wrap {
  background:
    linear-gradient(180deg, rgba(10,52,64,0) 0, #0a3440 640px) 0 0 / 100% 640px no-repeat,
    linear-gradient(103deg, transparent 0 9%, rgba(200,255,242,.07) 9% 14%, transparent 14% 29%, rgba(200,255,242,.05) 29% 32%, transparent 32% 50%, rgba(200,255,242,.07) 50% 57%, transparent 57% 73%, rgba(200,255,242,.045) 73% 78%, transparent 78% 90%, rgba(200,255,242,.05) 90% 93%, transparent 93%) 0 0 / 100% 640px no-repeat,
    #072733 linear-gradient(180deg, #13606b 0, #0c3f4c 360px, #072733 1000px, var(--night) 1900px);
}
:root[data-st="verne"] .content-wrap::before {
  content: ""; position: absolute; inset: 0 0 -640px 0; pointer-events: none; opacity: .24;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='640' viewBox='0 0 420 640'%3E%3Cg fill='none' stroke='%23c8fff2' stroke-width='1.2'%3E%3Ccircle cx='40' cy='90' r='4'/%3E%3Ccircle cx='52' cy='130' r='2'/%3E%3Ccircle cx='300' cy='220' r='5.5'/%3E%3Ccircle cx='312' cy='262' r='2.4'/%3E%3Ccircle cx='292' cy='296' r='1.6'/%3E%3Ccircle cx='170' cy='420' r='3.4'/%3E%3Ccircle cx='180' cy='452' r='1.8'/%3E%3Ccircle cx='380' cy='560' r='4.4'/%3E%3Ccircle cx='96' cy='600' r='2.4'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 420px 640px;
  animation: vdrift 46s linear infinite;
}
@keyframes vdrift { to { transform: translateY(-640px); } }
:root[data-st="verne"] .card { background: rgba(4,20,27,.55); border: 1px solid var(--brass-dim); outline: 0; border-radius: 10px; }
:root[data-st="verne"] .next, :root[data-st="verne"] body .chip, :root[data-st="verne"] body .mapbtn { border-radius: 4px; }
:root[data-st="verne"] .station h1, :root[data-st="verne"] .station h2 { letter-spacing: .01em; }
/* boutons : plaques de cuivre */
:root[data-st="verne"] #swup .elementor-button {
  border-radius: 6px; color: #1f0f05; background: #d98b52 linear-gradient(180deg, #f6c8a0, #d98b52 46%, #a55a2c);
  box-shadow: inset 0 1px 0 rgba(255,240,224,.8), inset 0 -2px 0 rgba(60,25,5,.35), 0 3px 0 #4e2812, 0 8px 14px -6px rgba(0,0,0,.6);
  text-shadow: 0 1px 0 rgba(255,226,198,.55); font-weight: 600; transition: transform .2s, filter .2s;
}
:root[data-st="verne"] #swup .elementor-button:hover, :root[data-st="verne"] #swup .elementor-button:focus { color: #1f0f05; filter: brightness(1.08); transform: translateY(-1px); }
/* scène du quai : poissons, bulles, laminaires, rais de lumière */
.vswim { animation: vswim 100s linear infinite; }
.vswim2 { animation-duration: 140s; }
@keyframes vswim { to { transform: translateX(-2600px); } }
.vbub { animation: vbub 7s linear infinite; }
@keyframes vbub { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: .8; } 85% { opacity: .55; } 100% { transform: translateY(-424px); opacity: 0; } }
.vsway { transform-box: fill-box; transform-origin: 50% 100%; animation: vsway 6.5s ease-in-out infinite alternate; }
.vsway.vtop { transform-origin: 90% 0; }
@keyframes vsway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.vrays { animation: vrays 7s ease-in-out infinite alternate; }
@keyframes vrays { from { opacity: .5; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .vswim, .vbub, .vsway, .vrays, :root[data-st="verne"] .content-wrap::before { animation: none; } }

/* dojo (11/11) : maison japonaise ouverte sur un jardin zen — bois sombre, papier washi, encre, sceau vermillon */
:root[data-st="dojo"] {
  color-scheme: light;
  --void: #f4eddb; --night: #ece3cd; --brass: #5a3a1c; --brass-dim: #cdb894; --cream: #1c120b; --cream-dim: #5d5142;
  --acc: #b12f1d; --wash: #f4eddb;
  --f-display: "Zen Antique", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif; --dj-brush: "Yuji Boku", "Zen Antique", Georgia, serif; --dj-fude: "Kolker Brush", "Yuji Boku", "Zen Antique", Georgia, serif;
  --f-body: "Klee One", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --dj-ink: #1c120b; --dj-wood: #33200f; --dj-moss: #4f6a34; --dj-red: #b12f1d; --dj-paper: #f6efdd;
  --dj-washi: url("../dojo/dojo-washi.webp"); --dj-bois: url("../dojo/dojo-bois.webp"); --dj-bois-clair: url("../dojo/dojo-bois-clair.webp");
}
:root[data-st="dojo"] body { font-size: 18px; background: #ece3cd; }
/* bandeau : imposte de la cloison — poutre sombre, papier tendu sur un treillis de bois, traverse basse */
:root[data-st="dojo"] .frieze {
  border-bottom: 0; box-shadow: 0 10px 18px -8px rgba(40, 22, 6, .55); padding-top: 15px !important; padding-bottom: 17px !important;
  background-color: #f4eddb;
  background-image:
    linear-gradient(90deg, rgba(74, 46, 22, .8) 0 3px, rgba(74, 46, 22, 0) 3px),
    linear-gradient(180deg, rgba(74, 46, 22, 0) 0 calc(50% - 1.5px), rgba(74, 46, 22, .8) calc(50% - 1.5px) calc(50% + 1.5px), rgba(74, 46, 22, 0) calc(50% + 1.5px)),
    var(--dj-washi);
  background-size: 96px 100%, 100% 100%, 320px 320px; background-position: 40px 0, 0 0, 0 0;
}
:root[data-st="dojo"] .frieze::before, :root[data-st="dojo"] .frieze::after {
  content: ""; position: absolute; left: 0; right: 0; pointer-events: none; background: #33200f var(--dj-bois) 0 0 / 400px 200px; z-index: 1;
}
:root[data-st="dojo"] .frieze::before { top: 0; height: 9px; box-shadow: 0 1px 0 #1a0f07, 0 3px 5px rgba(40, 22, 6, .35); }
:root[data-st="dojo"] .frieze::after { bottom: 0; height: 11px; box-shadow: 0 -1px 0 #1a0f07, inset 0 1px 0 rgba(255, 220, 170, .18); }
:root[data-st="dojo"] .frieze .frieze-inner { position: relative; z-index: 2; }
:root[data-st="dojo"] .frieze .shutter { z-index: 50; }
/* plan de ligne : tige de bambou, chevilles de bois, sceau rouge sur la station courante */
:root[data-st="dojo"] .track {
  border: 0; height: 6px; top: 9px; border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 45%, rgba(40, 40, 0, .28)), repeating-linear-gradient(90deg, #a9b05c 0 58px, #5f6a2c 58px 60px, #c3c878 60px 62px);
  box-shadow: 0 1px 1px rgba(40, 30, 0, .5);
}
:root[data-st="dojo"] .dot {
  transform: none; border-radius: 50%; width: 20px; height: 20px; margin: 2px 0; border: 1.5px solid #3d2814;
  background: radial-gradient(circle at 36% 30%, #f0d2a2, #c08c4e 55%, #8a5a2c); box-shadow: 0 1px 2px rgba(40, 22, 6, .55), inset 0 0 0 3px rgba(90, 58, 28, .18);
}
:root[data-st="dojo"] .stops a { color: #3d2e1e; font-weight: 600; text-shadow: none; }
:root[data-st="dojo"] .stops a .lbl { background: rgba(246, 239, 221, .92); padding: 2px 5px 1px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(90, 58, 28, .28); }
:root[data-st="dojo"] .stops a:hover { color: #b12f1d; }
:root[data-st="dojo"] .stops a[aria-current="page"] { color: #b12f1d; }
:root[data-st="dojo"] .stops a[aria-current="page"] .dot { border-radius: 4px; border-color: #7d1f12; background: #b12f1d; outline-color: transparent; box-shadow: inset 0 0 0 2px #b12f1d, inset 0 0 0 3px rgba(251, 238, 224, .8), 0 1px 3px rgba(40, 22, 6, .6); transform: rotate(-5deg); }
:root[data-st="dojo"] body .chip { background: #f6efdd; color: #2a1a10; border: 1px solid #5a3a1c; border-radius: 2px; font-weight: 600; }
:root[data-st="dojo"] body .chip:hover, :root[data-st="dojo"] body .chip:focus { background: #33200f; color: #f6efdd; border-color: #33200f; }
:root[data-st="dojo"] body .mapbtn { background: #f6efdd; color: #2a1a10; border-color: #5a3a1c; border-radius: 2px; }
:root[data-st="dojo"] .scene { border-bottom: 0; background: #1c120b; }
/* contenu : mur d'enduit clair, uni ; le beau papier n'apparaît que par endroits (en-tête, feuilles, encadrés) */
:root[data-st="dojo"] .content-wrap { background: #ece3cd linear-gradient(180deg, #e4d9bf 0, #ece3cd 180px); }
:root[data-st="dojo"] #swup, :root[data-st="dojo"] #swup p, :root[data-st="dojo"] #swup li, :root[data-st="dojo"] #swup .elementor-widget-text-editor { color: #2a2018; }
:root[data-st="dojo"] #swup p, :root[data-st="dojo"] #swup li { line-height: 1.7; }
:root[data-st="dojo"] #swup strong { color: #1c120b; font-weight: 600; }
:root[data-st="dojo"] #swup .elementor-heading-title { font-family: var(--f-display) !important; font-weight: 400; color: #1c120b; letter-spacing: 0; text-transform: none; }
:root[data-st="dojo"] #swup a:not(.elementor-button) { color: #b12f1d; text-decoration-color: rgba(177, 47, 29, .4); text-underline-offset: 3px; }
:root[data-st="dojo"] #swup :is(p, li, dd) a:not(.elementor-button) { font-family: inherit; font-weight: 600; }
/* titres de section : soulignés d'un trait de pinceau */
:root[data-st="dojo"] #swup .swl-sec h2.elementor-heading-title { position: relative; font-size: clamp(27px, 3vw, 38px); line-height: 1.25; padding-bottom: 24px; margin-bottom: 12px; }
:root[data-st="dojo"] #swup .swl-sec h2.elementor-heading-title::after { content: ""; position: absolute; left: -4px; bottom: 0; width: 168px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 18' preserveAspectRatio='none'%3E%3Cfilter id='b' x='-5%25' y='-80%25' width='110%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .9' numOctaves='2' seed='4' result='s'/%3E%3CfeColorMatrix in='s' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -5 3.75' result='m'/%3E%3CfeComposite in='SourceGraphic' in2='m' operator='in' result='c'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.06 .4' numOctaves='2' seed='9' result='n'/%3E%3CfeDisplacementMap in='c' in2='n' scale='4' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' fill='%231c120b' d='M3 9.5C12 2.5 30 2.6 52 3.2 90 4.4 130 1.8 170 2.8c24 .6 46 2.6 67 5.8-15 4.6-41 6.2-67 6.6-40 .4-76 3.4-116 2.4C34 16.6 13 16.4 3 9.5Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; box-shadow: none; border: 0; transform: none; }
:root[data-st="dojo"] #swup .swl-sec.swl-center h2.elementor-heading-title::after { left: 50%; transform: translateX(-50%); }
/* en-tête : grande feuille de washi, rouleau suspendu */
:root[data-st="dojo"] #swup .e-con.swl-hero {
  --padding-top: 58px; --padding-bottom: 54px; background: #f6efdd var(--dj-washi) 0 0 / 480px 480px;
  box-shadow: inset 0 -1px 0 #cdb894, 0 22px 26px -24px rgba(40, 22, 6, .6); margin-bottom: 34px;
}
:root[data-st="dojo"] #swup .e-con.swl-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; }
/* titre principal : écriture au pinceau sec (Kolker Brush, choisie par Seb) */
:root[data-st="dojo"] #swup .swl-hero h1.elementor-heading-title { font-family: var(--dj-fude) !important; color: #120d08; font-size: clamp(56px, 7vw, 96px); line-height: .98; letter-spacing: 0; margin-bottom: 16px; padding-top: 6px; }
:root[data-st="dojo"] #swup .swl-kicker { color: #b12f1d; font-weight: 600; letter-spacing: .3em; font-size: 12.5px; }
:root[data-st="dojo"] #swup .swl-kicker::before { width: 22px; height: 22px; border-radius: 3px; background: #b12f1d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' seed='5'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 .98 0 0 0 0 .93 0 0 0 0 .86 0 0 0 -7 3.05'/%3E%3C/filter%3E%3Crect width='90' height='90' filter='url(%23w)'/%3E%3C/svg%3E"); box-shadow: inset 0 0 0 2px #b12f1d, inset 0 0 0 3px rgba(251, 238, 224, .75); transform: rotate(-5deg); }
:root[data-st="dojo"] #swup .swl-lead .swl-strap { font-family: var(--f-display); color: #4f6a34; font-size: clamp(19px, 2vw, 24px); margin-bottom: 16px; }
:root[data-st="dojo"] #swup .swl-lead p { font-size: 1.1em; }
:root[data-st="dojo"] #swup .swl-hero .swl-illu { max-width: 330px; filter: drop-shadow(0 22px 20px rgba(40, 22, 6, .32)); }
:root[data-st="dojo"] #swup .swl-hero .swl-illu img { display: block; width: 100%; height: auto; transform-origin: 50% 0; animation: dj-sway 9s ease-in-out infinite alternate; }
@keyframes dj-sway { from { transform: rotate(-.7deg); } to { transform: rotate(.7deg); } }
/* boutons : laque vermillon, puis plaquette de bois sombre */
:root[data-st="dojo"] #swup .elementor-button {
  border-radius: 3px; color: #fbf1e2; font-family: var(--f-body); font-weight: 600; letter-spacing: .08em; text-transform: none; font-size: 16px; padding: 14px 24px 13px;
  background: #b12f1d linear-gradient(180deg, #c8402b, #a52a19 55%, #8c2012);
  box-shadow: inset 0 1px 0 rgba(255, 210, 190, .45), inset 0 -2px 0 rgba(70, 10, 0, .35), 0 3px 0 #5e150b, 0 10px 14px -8px rgba(60, 15, 5, .6); text-shadow: 0 1px 0 rgba(70, 10, 0, .5);
  transition: transform .2s, filter .2s;
}
:root[data-st="dojo"] #swup .elementor-button:hover, :root[data-st="dojo"] #swup .elementor-button:focus { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
:root[data-st="dojo"] #swup .swl-ctas .elementor-widget-button:nth-child(2) .elementor-button {
  color: #f6efdd; background: #33200f var(--dj-bois) 0 0 / 400px 200px; text-shadow: 0 1px 0 #000;
  box-shadow: inset 0 1px 0 rgba(255, 220, 170, .25), inset 0 0 0 1px rgba(0, 0, 0, .35), 0 3px 0 #120a04, 0 10px 14px -8px rgba(30, 15, 5, .6);
}
/* cartes : feuilles de washi suspendues à une baguette de bois */
:root[data-st="dojo"] .card { background: #f6efdd; border: 0; outline: 0; }
:root[data-st="dojo"] #swup .e-con.card {
  background: #f6efdd var(--dj-washi) 0 0 / 420px 420px; border: 0; outline: 0; border-radius: 0 0 2px 2px; overflow: visible;
  --padding-top: 34px; --padding-bottom: 24px; --padding-left: 24px; --padding-right: 24px; margin-top: 8px;
  box-shadow: 0 0 0 1px rgba(150, 120, 80, .35), 0 26px 28px -24px rgba(40, 22, 6, .7);
}
:root[data-st="dojo"] #swup .e-con.card::before {
  content: ""; position: absolute; z-index: 3; top: -7px !important; bottom: auto !important; left: -7px !important; right: auto !important; width: calc(100% + 14px) !important; height: 14px !important;
  border-radius: 7px; background: #33200f var(--dj-bois) 0 0 / 300px 150px; box-shadow: inset 0 2px 1px rgba(255, 220, 170, .28), inset 0 -3px 3px rgba(0, 0, 0, .5), 0 5px 7px rgba(40, 22, 6, .4); opacity: 1; transform: none;
}
:root[data-st="dojo"] #swup .e-con.card:hover { box-shadow: 0 0 0 1px rgba(150, 120, 80, .45), 0 34px 30px -24px rgba(40, 22, 6, .75); }
:root[data-st="dojo"] #swup .card .swl-ibox {
  width: 52px; height: 52px; border-radius: 5px; border: 0; color: #fbeee0; background: #b12f1d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' seed='5'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 .98 0 0 0 0 .93 0 0 0 0 .86 0 0 0 -7 3.05'/%3E%3C/filter%3E%3Crect width='90' height='90' filter='url(%23w)'/%3E%3C/svg%3E"); transform: rotate(-4deg); margin-bottom: 16px;
  box-shadow: inset 0 0 0 2.5px #b12f1d, inset 0 0 0 4px rgba(251, 238, 224, .8), 0 2px 3px rgba(60, 15, 5, .35);
}
:root[data-st="dojo"] #swup .card .kind, :root[data-st="dojo"] #swup .card .kind p { color: #4f6a34; font-weight: 600; letter-spacing: .26em; font-size: 11.5px; text-transform: uppercase; }
:root[data-st="dojo"] #swup .card .elementor-widget-heading .elementor-heading-title { font-size: 23px; line-height: 1.3; margin-bottom: 8px; }
:root[data-st="dojo"] #swup .swl-two .card .elementor-widget-heading .elementor-heading-title { font-size: 28px; }
:root[data-st="dojo"] #swup .card p { font-size: 16px; line-height: 1.65; color: #3a2e22; }
:root[data-st="dojo"] #swup .card ul { margin: 6px 0 0; padding: 0; list-style: none; }
:root[data-st="dojo"] #swup .card ul li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.55; margin-bottom: 5px; color: #3a2e22; }
:root[data-st="dojo"] #swup .card ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: #b12f1d; }
/* bandes : paroi de bois sombre, texte clair */
:root[data-st="dojo"] #swup .swl-band {
  background: #2e1c0e var(--dj-bois) 0 0 / 800px 400px; margin: 34px 0; --padding-top: 54px; --padding-bottom: 54px;
  box-shadow: inset 0 9px 0 -1px rgba(0, 0, 0, .38), inset 0 10px 0 -1px rgba(255, 220, 170, .14), inset 0 -9px 0 -1px rgba(0, 0, 0, .38), inset 0 -10px 0 -1px rgba(255, 220, 170, .12), inset 0 0 120px rgba(0, 0, 0, .35);
}
:root[data-st="dojo"] #swup .swl-band .elementor-heading-title { color: #f6ecd6; text-shadow: 0 2px 0 rgba(0, 0, 0, .45); }
:root[data-st="dojo"] #swup .swl-band p, :root[data-st="dojo"] #swup .swl-band li, :root[data-st="dojo"] #swup .swl-band .elementor-widget-text-editor { color: #eadfc8; }
:root[data-st="dojo"] #swup .swl-band strong { color: #fff6e4; }
:root[data-st="dojo"] #swup .swl-band a:not(.elementor-button) { color: #f3b79b; }
:root[data-st="dojo"] #swup .swl-band h2.elementor-heading-title::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 18' preserveAspectRatio='none'%3E%3Cfilter id='b' x='-5%25' y='-80%25' width='110%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .9' numOctaves='2' seed='4' result='s'/%3E%3CfeColorMatrix in='s' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -5 3.75' result='m'/%3E%3CfeComposite in='SourceGraphic' in2='m' operator='in' result='c'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.06 .4' numOctaves='2' seed='9' result='n'/%3E%3CfeDisplacementMap in='c' in2='n' scale='4' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' fill='%23f6ecd6' d='M3 9.5C12 2.5 30 2.6 52 3.2 90 4.4 130 1.8 170 2.8c24 .6 46 2.6 67 5.8-15 4.6-41 6.2-67 6.6-40 .4-76 3.4-116 2.4C34 16.6 13 16.4 3 9.5Z'/%3E%3C/svg%3E"); opacity: .9; }
:root[data-st="dojo"] #swup .swl-band .card .elementor-heading-title { color: #1c120b; text-shadow: none; }
:root[data-st="dojo"] #swup .swl-band .card p, :root[data-st="dojo"] #swup .swl-band .card li { color: #3a2e22; }
:root[data-st="dojo"] #swup .swl-band .e-con.card::before { background: #c79457 var(--dj-bois-clair) 0 0 / 400px 200px; box-shadow: inset 0 2px 1px rgba(255, 240, 210, .55), inset 0 -3px 3px rgba(60, 30, 5, .45), 0 5px 7px rgba(0, 0, 0, .55); }
:root[data-st="dojo"] #swup .swl-band .e-con.card { box-shadow: 0 0 0 1px rgba(0, 0, 0, .45), 0 26px 28px -22px rgba(0, 0, 0, .85); }
:root[data-st="dojo"] #swup .swl-band .swl-grid { margin-top: 14px; }
:root[data-st="dojo"] #swup .swl-checks { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 44px; margin-top: 4px; }
:root[data-st="dojo"] #swup .swl-checks li { padding: 17px 0 15px; border-bottom: 1px solid rgba(90, 58, 28, .26); font-size: 16px; line-height: 1.62; gap: 14px; color: #3a2e22; }
:root[data-st="dojo"] #swup .swl-checks li strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 20px; line-height: 1.35; color: #1c120b; margin-bottom: 2px; }
:root[data-st="dojo"] #swup .swl-checks .swl-ico { color: #b12f1d; width: 24px; height: 24px; margin-top: 5px; }
/* bande d'appel : lampion (chochin) suspendu à droite du titre */
:root[data-st="dojo"] #swup .swl-band.swl-cta { margin-bottom: 0; overflow: hidden; }
:root[data-st="dojo"] #swup .swl-band.swl-cta::before { content: ""; position: absolute; left: auto !important; right: max(7%, calc(50% - 500px)) !important; top: 0 !important; bottom: auto !important; width: 150px !important; height: min(338px, calc(100% - 8px)) !important; margin: 0; border-radius: 0; background: url("../dojo/dojo-lampion-sw.svg") center top / contain no-repeat; opacity: 1; box-shadow: none; filter: drop-shadow(0 0 34px rgba(255, 128, 56, .42)) drop-shadow(0 0 90px rgba(255, 110, 40, .18)); transform-origin: 50% 0; animation: djLampion 7s ease-in-out infinite alternate; }
@keyframes djLampion { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
:root[data-st="dojo"] #swup .swl-band.swl-cta .swl-band-in > .e-con-inner > * { max-width: min(620px, 100%); }
:root[data-st="dojo"] #swup .swl-cta .elementor-heading-title { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.25; }
/* étapes : un ensō autour de chaque numéro */
:root[data-st="dojo"] #swup .swl-steps { grid-template-columns: repeat(4, 1fr); gap: 18px; }
:root[data-st="dojo"] #swup .swl-steps::before { display: none; }
:root[data-st="dojo"] #swup .swl-steps .st-n { width: 64px; height: 64px; border: 0; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cfilter id='e' x='-10%25' y='-10%25' width='120%25' height='120%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.09' numOctaves='2' seed='6' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='3.4' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23e)' fill='none' stroke='%231c120b' stroke-linecap='round'%3E%3Cpath d='M40 8.5A25 25 0 1 0 55.5 22' stroke-width='5.4'/%3E%3Cpath d='M55.5 22c-2.4-5-6-8.6-10.4-11.2' stroke-width='3'/%3E%3C/g%3E%3C/svg%3E") 50% 50% / contain no-repeat; color: #b12f1d; font-size: 24px; padding: 2px 0 0 1px; }
:root[data-st="dojo"] #swup .swl-steps strong { font-size: 20px; color: #1c120b; }
:root[data-st="dojo"] #swup .swl-steps p { font-size: 15px; color: #4a3d2e; line-height: 1.6; }
/* questions fréquentes : feuille de papier, traits fins */
:root[data-st="dojo"] #swup .swl-faq { background: #f6efdd var(--dj-washi) 0 0 / 420px 420px; box-shadow: 0 0 0 1px rgba(150, 120, 80, .35), inset 0 7px 0 #33200f, 0 26px 28px -24px rgba(40, 22, 6, .7); padding: 16px 12px 6px; margin-top: 8px; }
:root[data-st="dojo"] #swup .swl-faq .e-n-accordion-item { border-bottom: 1px solid rgba(90, 58, 28, .28); }
:root[data-st="dojo"] #swup .swl-faq .e-n-accordion-item:last-child { border-bottom: 0; }
:root[data-st="dojo"] #swup .swl-faq .e-n-accordion-item-title { color: #1c120b; background: none; border: 0 !important; padding: 16px 16px 14px; }
:root[data-st="dojo"] #swup .swl-faq .e-n-accordion-item > .e-con { border: 0 !important; }
:root[data-st="dojo"] #swup .swl-faq .e-n-accordion-item-title-header { order: 0; }
:root[data-st="dojo"] #swup .swl-faq .e-n-accordion-item-title-text { font-family: var(--f-display); font-size: 19px; line-height: 1.4; }
:root[data-st="dojo"] #swup .swl-faq .e-n-accordion-item-title-icon { color: #b12f1d; }
:root[data-st="dojo"] #swup .swl-faq .e-n-accordion-item-title-icon svg { fill: #b12f1d; }
:root[data-st="dojo"] #swup .swl-faq .e-n-accordion-item > .e-con { background: none; }
/* échange d'exemple : deux voix sur un rouleau */
:root[data-st="dojo"] #swup .dj-dialog { background: #f6efdd var(--dj-washi) 0 0 / 420px 420px; padding: 30px 26px 22px; position: relative; box-shadow: 0 0 0 1px rgba(150, 120, 80, .35), 0 26px 28px -24px rgba(40, 22, 6, .7); }
:root[data-st="dojo"] #swup .dj-dialog::before, :root[data-st="dojo"] #swup .dj-dialog::after { content: ""; position: absolute; left: -10px; right: -10px; height: 14px; border-radius: 7px; background: #33200f var(--dj-bois) 0 0 / 300px 150px; box-shadow: inset 0 2px 1px rgba(255, 220, 170, .28), inset 0 -3px 3px rgba(0, 0, 0, .5), 0 5px 7px rgba(40, 22, 6, .4); }
:root[data-st="dojo"] #swup .dj-dialog::before { top: -7px; } :root[data-st="dojo"] #swup .dj-dialog::after { bottom: -7px; }
:root[data-st="dojo"] #swup .dj-dialog .dj-cap { margin: 0 0 14px; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: #4f6a34; font-weight: 600; }
:root[data-st="dojo"] #swup .dj-dialog .dj-l { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; margin: 0 0 14px; }
:root[data-st="dojo"] #swup .dj-dialog .dj-who { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; font-family: var(--f-display); font-size: 15px; line-height: 1; color: #fbeee0; background: #33200f; transform: rotate(-3deg); margin-top: 2px; }
:root[data-st="dojo"] #swup .dj-dialog .dj-ia .dj-who { background: #b12f1d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' seed='5'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 .98 0 0 0 0 .93 0 0 0 0 .86 0 0 0 -7 3.05'/%3E%3C/filter%3E%3Crect width='90' height='90' filter='url(%23w)'/%3E%3C/svg%3E"); box-shadow: inset 0 0 0 2px #b12f1d, inset 0 0 0 3px rgba(251, 238, 224, .75); }
:root[data-st="dojo"] #swup .dj-dialog .dj-l p { margin: 0; font-size: 16px; line-height: 1.6; color: #2a2018; }
:root[data-st="dojo"] #swup .dj-dialog .dj-l small { display: block; font-family: var(--f-body); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #7a6a56; margin-bottom: 1px; }
:root[data-st="dojo"] #swup .dj-dialog .dj-ia p { font-family: var(--dj-brush); font-size: 17px; }
:root[data-st="dojo"] #swup .dj-dialog .dj-doc { margin: 4px 0 14px 46px; padding: 10px 14px; border-left: 3px solid #b12f1d; background: rgba(255, 255, 255, .5); font-size: 14.5px; line-height: 1.55; color: #3a2e22; }
:root[data-st="dojo"] #swup .dj-dialog .dj-doc b { color: #1c120b; font-weight: 600; }
/* note en marge */
:root[data-st="dojo"] #swup .swl-note p { color: #5d5142; font-size: 14.5px; }
:root[data-st="dojo"] #swup .swl-band .swl-note p { color: #cbbd9f; }
:root[data-st="dojo"] #swup .swl-band .swl-note { margin-top: 18px; }
:root[data-st="dojo"] #swup .swl-quote { border-left: 0; padding: 6px 0 0 34px; position: relative; font-family: var(--dj-brush); color: #1c120b; }
:root[data-st="dojo"] #swup .swl-quote::before { content: ""; position: absolute; left: 4px; top: 4px; bottom: 2px; width: 9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 18' preserveAspectRatio='none'%3E%3Cfilter id='b' x='-5%25' y='-80%25' width='110%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .9' numOctaves='2' seed='4' result='s'/%3E%3CfeColorMatrix in='s' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -5 3.75' result='m'/%3E%3CfeComposite in='SourceGraphic' in2='m' operator='in' result='c'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.06 .4' numOctaves='2' seed='9' result='n'/%3E%3CfeDisplacementMap in='c' in2='n' scale='4' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' fill='%231c120b' d='M3 9.5C12 2.5 30 2.6 52 3.2 90 4.4 130 1.8 170 2.8c24 .6 46 2.6 67 5.8-15 4.6-41 6.2-67 6.6-40 .4-76 3.4-116 2.4C34 16.6 13 16.4 3 9.5Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; transform: none; opacity: .85; writing-mode: vertical-rl; }
:root[data-st="dojo"] .nextbar { background: #f6efdd; color: #1c120b; border-top: 3px solid #33200f; }
:root[data-st="dojo"] .linemap { background: #f4eddb; color: #1c120b; }
/* scène : pétales de cerisier */
.djpet { animation: djpet 12s linear infinite; }
@keyframes djpet { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 8% { opacity: .95; } 80% { opacity: .9; } 100% { transform: translate(-190px, 330px) rotate(300deg); opacity: 0; } }
@media (max-width: 900px) {
  :root[data-st="dojo"] #swup .e-con.swl-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  :root[data-st="dojo"] #swup .swl-hero .swl-illu { max-width: 230px; }
  :root[data-st="dojo"] #swup .swl-steps { grid-template-columns: 1fr; gap: 0; }
  :root[data-st="dojo"] #swup .swl-steps .st-n { width: 54px; height: 54px; font-size: 20px; }
  :root[data-st="dojo"] #swup .swl-steps li { grid-template-columns: 54px 1fr; }
}
@media (max-width: 760px) {
  :root[data-st="dojo"] .frieze { padding-top: 13px !important; padding-bottom: 15px !important; }
  :root[data-st="dojo"] #swup .e-con.swl-hero { --padding-top: 36px; --padding-bottom: 40px; }
  :root[data-st="dojo"] #swup .dj-dialog .dj-doc { margin-left: 0; }
  :root[data-st="dojo"] #swup .swl-band.swl-cta::before { width: 58px !important; height: 130px !important; right: 10px !important; top: 0 !important; bottom: auto !important; }
  :root[data-st="dojo"] #swup .swl-band.swl-cta .elementor-widget-heading { padding-right: 62px; }
}
@media (prefers-reduced-motion: reduce) { .djpet, :root[data-st="dojo"] #swup .swl-hero .swl-illu img, :root[data-st="dojo"] #swup .swl-band.swl-cta::before { animation: none; } .djpet { opacity: 0; } }

/* astro (13/11) : observatoire — coupole de bois, ciel du cimier ; bandeau et bandes bleu nuit, contenu sur papier, argent et or */
:root[data-st="astro"] {
  color-scheme: light;
  --void: #f4efe2; --night: #ebe4d2; --brass: #7a5a1c; --brass-dim: #d9cfb4; --cream: #1b2440; --cream-dim: #56617c;
  --acc: #7a5a1c; --wash: #f4efe2;
  --f-display: "Bodoni Moda", "Didot", "Bodoni MT", Georgia, serif;
  --f-body: "Hanken Grotesk", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --as-nuit: #14244a; --as-profond: #1d3466; --as-ciel: #3f66a6; --as-argent: #c9d2dc; --as-clair: #eef2f6; --as-or: #d7b56d; --as-orl: #f6e2a6; --as-papier: #f4efe2; --as-fiche: #fbf8ef; --as-encre: #1b2440; --as-laiton: #7a5a1c;
  --as-etoiles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='260'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='22' cy='31' r='.9' opacity='.8'/%3E%3Ccircle cx='71' cy='112' r='.7' opacity='.6'/%3E%3Ccircle cx='118' cy='48' r='1.2' opacity='.9'/%3E%3Ccircle cx='163' cy='201' r='.8' opacity='.7'/%3E%3Ccircle cx='204' cy='84' r='.7' opacity='.5'/%3E%3Ccircle cx='247' cy='152' r='1.1' opacity='.85'/%3E%3Ccircle cx='296' cy='27' r='.8' opacity='.7'/%3E%3Ccircle cx='331' cy='218' r='.9' opacity='.6'/%3E%3Ccircle cx='44' cy='226' r='.7' opacity='.55'/%3E%3Ccircle cx='140' cy='138' r='.6' opacity='.5'/%3E%3Ccircle cx='312' cy='118' r='.7' opacity='.65'/%3E%3Ccircle cx='226' cy='238' r='.6' opacity='.5'/%3E%3Ccircle cx='92' cy='178' r='1' opacity='.75'/%3E%3Ccircle cx='268' cy='66' r='.6' opacity='.45'/%3E%3C/g%3E%3C/svg%3E");
  --as-etoile4: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cpath d='M0 -11Q0 0 11 0Q0 0 0 11Q0 0 -11 0Q0 0 0 -11Z' fill='%23f6e2a6'/%3E%3Ccircle r='1.8' fill='%23fff'/%3E%3C/svg%3E");
}
:root[data-st="astro"] body { background: #f4efe2; }
/* bandeau : ciel de nuit, règle graduée d'argent en pied */
:root[data-st="astro"] .frieze {
  background: #14244a linear-gradient(180deg, #1b2f62, #14244a); border-bottom: 1px solid #c9d2dc;
  box-shadow: 0 3px 0 #14244a, 0 4px 0 #d7b56d, 0 14px 20px -12px rgba(10, 16, 40, .7);
}
:root[data-st="astro"] .frieze::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; pointer-events: none; opacity: .65;
  background: repeating-linear-gradient(90deg, #c9d2dc 0 1px, transparent 1px 10px) 0 100% / 10px 3px repeat-x, repeating-linear-gradient(90deg, #c9d2dc 0 1px, transparent 1px 50px) 0 100% / 50px 6px repeat-x;
}
:root[data-st="astro"] .frieze .frieze-inner { position: relative; z-index: 2; }
:root[data-st="astro"] .frieze .shutter { z-index: 50; }
/* plan de ligne : une constellation — les stations sont des étoiles reliées par un trait d'argent, la station courante une étoile d'or */
:root[data-st="astro"] .track { display: none; }
:root[data-st="astro"] .stops li { position: relative; }
:root[data-st="astro"] .stops li:not(:last-child)::before {
  content: ""; position: absolute; left: 50%; width: 100%; top: 7px; height: 10px; pointer-events: none; opacity: .8;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 10L100 0' stroke='%23c9d2dc' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
:root[data-st="astro"] .stops li:nth-child(even):not(:last-child)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0L100 10' stroke='%23c9d2dc' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}
:root[data-st="astro"] .dot {
  position: relative; top: 5px; transform: none; border: 0; outline: 0; border-radius: 50%; box-shadow: none;
  background: radial-gradient(circle, #fff 0 3.2px, rgba(190, 210, 255, .5) 4.2px, rgba(190, 210, 255, 0) 10px);
}
:root[data-st="astro"] .stops li:nth-child(even) .dot { top: -5px; }
:root[data-st="astro"] .stops a { color: #c9d2dc; text-shadow: none; }
:root[data-st="astro"] .stops a:hover { color: #fff; }
:root[data-st="astro"] .stops a:hover .dot { outline-color: transparent; background: radial-gradient(circle, #fff 0 4px, rgba(190, 210, 255, .65) 5px, rgba(190, 210, 255, 0) 12px); }
:root[data-st="astro"] .stops a[aria-current="page"] { color: #f6e2a6; }
:root[data-st="astro"] .stops a[aria-current="page"] .dot {
  outline-color: transparent; box-shadow: none;
  background: var(--as-etoile4) center / 22px 22px no-repeat, radial-gradient(circle, rgba(255, 233, 160, .55), rgba(255, 233, 160, 0) 68%);
}
:root[data-st="astro"] body .chip { background: #fbf8ef; color: #1b2440; border: 1px solid #7a5a1c; border-radius: 3px; font-weight: 600; }
:root[data-st="astro"] body .chip:hover, :root[data-st="astro"] body .chip:focus { background: #14244a; color: #f6e2a6; border-color: #14244a; }
:root[data-st="astro"] body .mapbtn { background: #14244a; color: #eef2f6; border-color: #c9d2dc; border-radius: 3px; }
:root[data-st="astro"] .scene { border-bottom: 0; background: #14244a; }
:root[data-st="astro"] .content-wrap { background: #f4efe2; }
/* contenu : papier clair, encre bleu nuit */
:root[data-st="astro"] #swup, :root[data-st="astro"] #swup p, :root[data-st="astro"] #swup li, :root[data-st="astro"] #swup .elementor-widget-text-editor { color: #25304f; }
:root[data-st="astro"] #swup p, :root[data-st="astro"] #swup li { line-height: 1.7; }
:root[data-st="astro"] #swup strong { color: #1b2440; font-weight: 600; }
:root[data-st="astro"] #swup .elementor-heading-title { font-family: var(--f-display) !important; font-weight: 600; color: #1d3466; letter-spacing: 0; text-transform: none; }
:root[data-st="astro"] #swup a:not(.elementor-button) { color: #2a4f97; text-decoration-color: rgba(42, 79, 151, .4); text-underline-offset: 3px; }
:root[data-st="astro"] #swup :is(p, li, dd) a:not(.elementor-button) { font-family: inherit; font-weight: 600; }
/* titres de section : soulignés d'une petite constellation */
:root[data-st="astro"] #swup .swl-sec h2.elementor-heading-title { position: relative; font-size: clamp(27px, 3vw, 38px); line-height: 1.22; padding-bottom: 26px; margin-bottom: 12px; }
:root[data-st="astro"] #swup .swl-sec h2.elementor-heading-title::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 170px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 16'%3E%3Cpath d='M4 9L46 4L92 11L134 5L166 9' fill='none' stroke='%237a5a1c' stroke-width='1.1'/%3E%3Cg fill='%23d3ac58'%3E%3Ccircle cx='4' cy='9' r='3'/%3E%3Ccircle cx='46' cy='4' r='2.4'/%3E%3Ccircle cx='92' cy='11' r='3'/%3E%3Ccircle cx='134' cy='5' r='2.4'/%3E%3Ccircle cx='166' cy='9' r='3'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
:root[data-st="astro"] #swup .swl-sec.swl-center h2.elementor-heading-title::after { left: 50%; transform: translateX(-50%); }
/* en-tête : le ciel de nuit, la sphère armillaire */
:root[data-st="astro"] #swup .e-con.swl-hero {
  --padding-top: 62px; --padding-bottom: 58px; margin-bottom: 34px;
  background-color: #10214d; background-image: var(--as-etoiles), linear-gradient(180deg, #0b1637, #10214d 55%, #18306a); background-size: 360px 260px, 100% 100%;
  box-shadow: inset 0 -1px 0 #c9d2dc, 0 22px 26px -24px rgba(10, 16, 40, .7);
}
:root[data-st="astro"] #swup .e-con.swl-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; }
:root[data-st="astro"] #swup .swl-hero, :root[data-st="astro"] #swup .swl-hero p, :root[data-st="astro"] #swup .swl-hero li, :root[data-st="astro"] #swup .swl-hero .elementor-widget-text-editor { color: #dbe4f3; }
:root[data-st="astro"] #swup .swl-hero strong { color: #fff; }
:root[data-st="astro"] #swup .swl-hero a:not(.elementor-button) { color: #f6e2a6; text-decoration-color: rgba(246, 226, 166, .5); }
:root[data-st="astro"] #swup .swl-hero h1.elementor-heading-title { color: #fff; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.06; word-spacing: .04em; margin-bottom: 16px; }
:root[data-st="astro"] #swup .swl-kicker { color: #7a5a1c; font-weight: 600; letter-spacing: .28em; font-size: 12.5px; }
:root[data-st="astro"] #swup .swl-hero .swl-kicker, :root[data-st="astro"] #swup .swl-band .swl-kicker { color: #f6e2a6; }
:root[data-st="astro"] #swup .swl-kicker::before { width: 20px; height: 20px; border-radius: 0; background: var(--as-etoile4) center / contain no-repeat; }
:root[data-st="astro"] #swup .swl-lead .swl-strap { font-family: var(--f-display); font-style: italic; font-weight: 400; color: #cfdcf5; font-size: clamp(20px, 2.1vw, 25px); margin-bottom: 16px; }
:root[data-st="astro"] #swup .swl-lead p { font-size: 1.08em; }
:root[data-st="astro"] #swup .swl-hero .swl-illu { max-width: 250px; position: relative; filter: drop-shadow(0 24px 20px rgba(0, 0, 0, .45)); }
:root[data-st="astro"] #swup .swl-hero .swl-illu::before { content: ""; position: absolute; left: 50%; top: 2%; width: 130%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(rgba(255, 213, 150, .5) 0, rgba(255, 191, 112, .18) 40%, rgba(255, 191, 112, 0) 70%); pointer-events: none; }
:root[data-st="astro"] #swup .swl-hero .swl-illu img { display: block; width: 100%; height: auto; position: relative; }
/* boutons : laiton poli, puis filet d'argent */
:root[data-st="astro"] #swup .elementor-button {
  border-radius: 4px; color: #1b2440; font-family: var(--f-body); font-weight: 600; letter-spacing: .04em; text-transform: none; font-size: 16px; padding: 14px 24px;
  background: #d3ac58 linear-gradient(180deg, #f6e2a6, #d3ac58 60%, #b8943f); text-shadow: 0 1px 0 rgba(255, 240, 200, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 3px 0 #7c5c1f, 0 12px 16px -10px rgba(10, 16, 40, .7); transition: transform .2s, filter .2s;
}
:root[data-st="astro"] #swup .elementor-button:hover, :root[data-st="astro"] #swup .elementor-button:focus { color: #14244a; filter: brightness(1.06); transform: translateY(-1px); }
:root[data-st="astro"] #swup .swl-ctas .elementor-widget-button:nth-child(2) .elementor-button { color: #1d3466; background: transparent; text-shadow: none; box-shadow: inset 0 0 0 1.5px #1d3466; }
:root[data-st="astro"] #swup :is(.swl-hero, .swl-band) .swl-ctas .elementor-widget-button:nth-child(2) .elementor-button { color: #eef2f6; box-shadow: inset 0 0 0 1.5px #c9d2dc; }
/* cartes : fiches de papier à bord gradué, comme une carte du ciel */
:root[data-st="astro"] .card { background: #fbf8ef; border: 0; outline: 0; }
:root[data-st="astro"] #swup .e-con.card {
  background: #fbf8ef; border: 0; outline: 0; border-radius: 2px; overflow: visible;
  --padding-top: 32px; --padding-bottom: 26px; --padding-left: 28px; --padding-right: 28px;
  box-shadow: 0 0 0 1px #d9cfb4, 0 26px 30px -26px rgba(27, 36, 64, .65);
}
:root[data-st="astro"] #swup .e-con.card::before {
  content: "" !important; position: absolute !important; left: 7px !important; right: 7px !important; top: 7px !important; bottom: 7px !important; width: auto !important; height: auto !important;
  border: 1px solid rgba(122, 90, 28, .35); border-radius: 0; pointer-events: none; opacity: 1 !important;
  background: repeating-linear-gradient(90deg, rgba(122, 90, 28, .5) 0 1px, transparent 1px 12px) 0 0 / 100% 5px no-repeat !important;
}
:root[data-st="astro"] #swup .e-con.card:hover { box-shadow: 0 0 0 1px #c9b98f, 0 34px 32px -26px rgba(27, 36, 64, .8); }
:root[data-st="astro"] #swup .card .swl-ibox {
  width: 54px; height: 54px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #f6e2a6; background: #14244a;
  box-shadow: 0 0 0 1.5px #d7b56d, 0 0 0 5px #fbf8ef, 0 0 0 6px rgba(122, 90, 28, .4); margin: 4px 0 6px 4px;
}
:root[data-st="astro"] #swup .card .swl-ibox .swl-ico { color: #f6e2a6; }
:root[data-st="astro"] #swup .card .kind, :root[data-st="astro"] #swup .card .kind p { color: #7a5a1c; font-weight: 600; letter-spacing: .24em; font-size: 11.5px; text-transform: uppercase; }
:root[data-st="astro"] #swup .card .elementor-widget-heading .elementor-heading-title { font-size: 23px; line-height: 1.28; margin-bottom: 8px; color: #1d3466; }
:root[data-st="astro"] #swup .swl-two .card .elementor-widget-heading .elementor-heading-title { font-size: 27px; }
:root[data-st="astro"] #swup .card p { font-size: 16px; line-height: 1.65; color: #33405f; }
:root[data-st="astro"] #swup .card ul { margin: 6px 0 0; padding: 0; list-style: none; }
:root[data-st="astro"] #swup .card ul li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.55; margin-bottom: 5px; color: #33405f; }
:root[data-st="astro"] #swup .card ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #d3ac58; box-shadow: 0 0 0 2px rgba(211, 172, 88, .25); }
/* bandes pleine largeur : la nuit étoilée */
:root[data-st="astro"] #swup .swl-band { background-color: #1d3466; background-image: var(--as-etoiles), linear-gradient(180deg, #16265a, #1d3466); background-size: 360px 260px, 100% 100%; box-shadow: inset 0 1px 0 #c9d2dc, inset 0 -1px 0 #c9d2dc; }
:root[data-st="astro"] #swup .swl-band .elementor-heading-title { color: #fff; }
:root[data-st="astro"] #swup .swl-band p, :root[data-st="astro"] #swup .swl-band li, :root[data-st="astro"] #swup .swl-band .elementor-widget-text-editor { color: #dbe4f3; }
:root[data-st="astro"] #swup .swl-band strong { color: #fff; }
:root[data-st="astro"] #swup .swl-band a:not(.elementor-button) { color: #f6e2a6; }
:root[data-st="astro"] #swup .swl-band h2.elementor-heading-title::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 16'%3E%3Cpath d='M4 9L46 4L92 11L134 5L166 9' fill='none' stroke='%23c9d2dc' stroke-width='1.1'/%3E%3Cg fill='%23f6e2a6'%3E%3Ccircle cx='4' cy='9' r='3'/%3E%3Ccircle cx='46' cy='4' r='2.4'/%3E%3Ccircle cx='92' cy='11' r='3'/%3E%3Ccircle cx='134' cy='5' r='2.4'/%3E%3Ccircle cx='166' cy='9' r='3'/%3E%3C/g%3E%3C/svg%3E"); }
:root[data-st="astro"] #swup .swl-band .card .elementor-heading-title { color: #1d3466; }
:root[data-st="astro"] #swup .swl-band .card p, :root[data-st="astro"] #swup .swl-band .card li { color: #33405f; }
:root[data-st="astro"] #swup .swl-band .card strong { color: #1b2440; }
:root[data-st="astro"] #swup .swl-band .swl-grid { margin-top: 14px; }
:root[data-st="astro"] #swup .swl-band.swl-cta { margin-bottom: 0; overflow: hidden; }
:root[data-st="astro"] #swup .swl-band.swl-cta::before { content: ""; position: absolute; left: auto !important; right: max(8%, calc(50% - 480px)) !important; top: 50% !important; bottom: auto !important; width: 120px !important; height: 120px !important; transform: translateY(-50%); background: var(--as-etoile4) center / 62px 62px no-repeat, radial-gradient(circle, rgba(255, 233, 160, .35), rgba(255, 233, 160, 0) 68%) !important; opacity: 1 !important; pointer-events: none; animation: as-tw 5s ease-in-out infinite alternate; }
:root[data-st="astro"] #swup .swl-band.swl-cta .swl-band-in > .e-con-inner > * { max-width: min(620px, 100%); }
:root[data-st="astro"] #swup .swl-cta .elementor-heading-title { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.2; }
/* garde-fous : liste à coches */
:root[data-st="astro"] #swup .swl-checks { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 44px; margin-top: 4px; }
:root[data-st="astro"] #swup .swl-checks li { padding: 17px 0 15px; border-bottom: 1px solid rgba(27, 36, 64, .16); font-size: 16px; line-height: 1.62; gap: 14px; color: #33405f; }
:root[data-st="astro"] #swup .swl-checks li strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 20px; line-height: 1.3; color: #1d3466; margin-bottom: 2px; }
:root[data-st="astro"] #swup .swl-checks .swl-ico { color: #b8943f; width: 24px; height: 24px; margin-top: 5px; }
:root[data-st="astro"] #swup .swl-band .swl-checks li { border-bottom-color: rgba(201, 210, 220, .25); color: #dbe4f3; }
:root[data-st="astro"] #swup .swl-band .swl-checks li strong { color: #fff; }
:root[data-st="astro"] #swup .swl-band .swl-checks .swl-ico { color: #f6e2a6; }
/* méthode : quatre étoiles reliées */
:root[data-st="astro"] #swup .swl-steps { grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
:root[data-st="astro"] #swup .swl-steps::before { display: block; content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 32px; height: 0; border: 0; border-top: 1px solid #b8943f; background: none; opacity: .8; }
:root[data-st="astro"] #swup .swl-steps .st-n { position: relative; width: 64px; height: 64px; border: 0; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 24px; color: #f6e2a6; background: #14244a; box-shadow: 0 0 0 1.5px #d7b56d, 0 0 0 6px #f4efe2, 0 0 18px 6px rgba(63, 102, 166, .3); }
:root[data-st="astro"] #swup .swl-band .swl-steps .st-n { box-shadow: 0 0 0 1.5px #d7b56d, 0 0 0 6px #1b2f62, 0 0 20px 6px rgba(190, 210, 255, .3); }
:root[data-st="astro"] #swup .swl-band .swl-steps::before { border-top-color: #c9d2dc; }
:root[data-st="astro"] #swup .swl-steps strong { font-family: var(--f-display); font-size: 20px; color: #1d3466; }
:root[data-st="astro"] #swup .swl-steps p { font-size: 15px; color: #47536f; line-height: 1.6; }
:root[data-st="astro"] #swup .swl-band .swl-steps strong { color: #fff; }
:root[data-st="astro"] #swup .swl-band .swl-steps p { color: #b9c7e2; }
/* questions fréquentes */
:root[data-st="astro"] #swup .swl-faq { background: #fbf8ef; box-shadow: 0 0 0 1px #d9cfb4, inset 0 5px 0 #14244a, inset 0 6px 0 #d7b56d, 0 26px 28px -24px rgba(27, 36, 64, .6); padding: 16px 12px 6px; }
:root[data-st="astro"] #swup .swl-faq .e-n-accordion-item { border-bottom: 1px solid rgba(27, 36, 64, .16); }
:root[data-st="astro"] #swup .swl-faq .e-n-accordion-item:last-child { border-bottom: 0; }
:root[data-st="astro"] #swup .swl-faq .e-n-accordion-item-title { color: #1d3466; background: none; border: 0 !important; padding: 16px 16px 14px; }
:root[data-st="astro"] #swup .swl-faq .e-n-accordion-item > .e-con { border: 0 !important; background: none; }
:root[data-st="astro"] #swup .swl-faq .e-n-accordion-item-title-header { order: 0; }
:root[data-st="astro"] #swup .swl-faq .e-n-accordion-item-title-text { font-family: var(--f-display); font-weight: 600; font-size: 19px; line-height: 1.4; }
:root[data-st="astro"] #swup .swl-faq .e-n-accordion-item-title-icon { color: #b8943f; }
:root[data-st="astro"] #swup .swl-faq .e-n-accordion-item-title-icon svg { fill: #b8943f; }
/* exemple d'échange : une page du carnet d'observation */
:root[data-st="astro"] #swup .dj-dialog { background: #fbf8ef repeating-linear-gradient(180deg, transparent 0 31px, rgba(63, 102, 166, .16) 31px 32px); padding: 30px 26px 22px 34px; position: relative; box-shadow: 0 0 0 1px #d9cfb4, inset 22px 0 0 -21px rgba(156, 61, 28, .45), 0 26px 28px -24px rgba(27, 36, 64, .6); }
:root[data-st="astro"] #swup .dj-dialog .dj-cap { font-family: var(--f-body); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #7a5a1c; margin: 0 0 16px; }
:root[data-st="astro"] #swup .dj-dialog .dj-l { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; margin: 0 0 14px; }
:root[data-st="astro"] #swup .dj-dialog .dj-who { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-family: var(--f-display); font-weight: 600; font-size: 15px; line-height: 1; color: #eef2f6; background: #56617c; margin-top: 2px; }
:root[data-st="astro"] #swup .dj-dialog .dj-ia .dj-who { background: #14244a; color: #f6e2a6; box-shadow: 0 0 0 1.5px #d7b56d; }
:root[data-st="astro"] #swup .dj-dialog .dj-l p { margin: 0; font-size: 16px; line-height: 1.6; color: #25304f; }
:root[data-st="astro"] #swup .dj-dialog .dj-l small { display: block; font-family: var(--f-body); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #6a7590; margin-bottom: 1px; }
:root[data-st="astro"] #swup .dj-dialog .dj-ia p { font-family: var(--f-display); font-style: italic; font-size: 17.5px; color: #1d3466; }
:root[data-st="astro"] #swup .dj-dialog .dj-doc { margin: 4px 0 14px 46px; padding: 10px 14px; border-left: 3px solid #d3ac58; background: rgba(255, 255, 255, .7); font-size: 14.5px; line-height: 1.55; color: #33405f; }
:root[data-st="astro"] #swup .dj-dialog .dj-doc b { color: #1b2440; font-weight: 600; }
:root[data-st="astro"] #swup .swl-note p { color: #56617c; font-size: 14.5px; }
:root[data-st="astro"] #swup .swl-band .swl-note p { color: #b9c7e2; }
:root[data-st="astro"] #swup .swl-band .swl-note { margin-top: 18px; }
:root[data-st="astro"] #swup .swl-quote { border-left: 3px solid #d3ac58; padding: 4px 0 4px 22px; font-family: var(--f-display); font-style: italic; color: #1d3466; }
/* éléments sur fond de nuit : les variables de couleur repassent en clair */
:root[data-st="astro"] :is(.nextbar, .linemap, footer) { --void: #14244a; --night: #1b2f62; --brass: #f6e2a6; --brass-dim: #8fa0bd; --cream: #eef2f6; --cream-dim: #c9d2dc; --acc: #f6e2a6; --wash: #1b2f62; }
:root[data-st="astro"] .nextbar { background: #14244a; color: #eef2f6; border-top: 2px solid #d7b56d; }
:root[data-st="astro"] .linemap { background: #14244a; color: #eef2f6; }
/* scène : étoiles qui scintillent, constellations qui se tracent, étoiles filantes, lueur des lampes */
.astw { animation: as-tw 4s ease-in-out infinite alternate; }
@keyframes as-tw { from { opacity: .22; } to { opacity: 1; } }
.asln { stroke-dasharray: 1; stroke-dashoffset: 0; animation: as-draw 30s linear infinite backwards; animation-delay: calc(var(--i, 0) * .9s); }
@keyframes as-draw { 0% { stroke-dashoffset: 1; opacity: .85; } 3% { stroke-dashoffset: 0; opacity: .85; } 78% { stroke-dashoffset: 0; opacity: .85; } 84% { stroke-dashoffset: 0; opacity: 0; } 84.01%, 100% { stroke-dashoffset: 1; opacity: 0; } }
.asshoot { opacity: 0; animation: as-shoot 23s linear infinite; }
@keyframes as-shoot { 0% { opacity: 0; transform: translate(70px, -34px); } .8% { opacity: 1; } 3.4% { opacity: 0; transform: translate(-150px, 74px); } 100% { opacity: 0; transform: translate(-150px, 74px); } }
.asglow { animation: as-glow 5.5s ease-in-out infinite alternate; }
@keyframes as-glow { from { opacity: .55; } to { opacity: 1; } }
/* Rotation de la coupole (15/11). Deux secondes après l'arrivée du décor, puis un cycle de 52 s en quatre temps de 13 s :
   la coupole tourne, reste en place, revient, se repose.
   Le ciel (.asrot) pivote de 6,37° autour d'un point placé au-dessus du cadre, soit 47 unités au bas de l'ouverture ; la couronne
   (.asrack) avance d'autant en sens inverse : 10 pas de la crémaillère, donc 225° pour le pignon de 16 dents (.aspin) ;
   le volant (.asvol) fait un tour et demi de pignon dans l'autre sens ; le paysage des deux fenêtres (.aswin) glisse de 47 unités
   vers la gauche, comme le bas du ciel du cimier. Mêmes durée et paliers partout : une seule horloge. */
.asrot, .asrack, .aspin, .asvol, .aswin { animation: as-rot 52s cubic-bezier(.45, 0, .55, 1) 2s infinite; }
.asrot { transform-origin: 800px -228px; }
.asrack { animation-name: as-run; }
.aswin { animation-name: as-win; }
.aspin { transform-origin: 1404px 184px; animation-name: as-pin; }
.asvol { transform-origin: 1436px 168px; animation-name: as-vol; }
@keyframes as-rot { 0% { transform: rotate(0deg); } 25%, 50% { transform: rotate(6.37deg); } 75%, 100% { transform: rotate(0deg); } }
@keyframes as-run { 0% { stroke-dashoffset: 0; } 25%, 50% { stroke-dashoffset: -47.124; } 75%, 100% { stroke-dashoffset: 0; } }
@keyframes as-win { 0% { transform: translate(0, 0); } 25%, 50% { transform: translate(-47.124px, 0); } 75%, 100% { transform: translate(0, 0); } }
@keyframes as-pin { 0% { transform: rotate(0deg); } 25%, 50% { transform: rotate(-225deg); } 75%, 100% { transform: rotate(0deg); } }
@keyframes as-vol { 0% { transform: rotate(0deg); } 25%, 50% { transform: rotate(337.5deg); } 75%, 100% { transform: rotate(0deg); } }
@media (max-width: 900px) {
  :root[data-st="astro"] #swup .e-con.swl-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  :root[data-st="astro"] #swup .swl-hero .swl-illu { max-width: 170px; }
  :root[data-st="astro"] #swup .swl-steps { grid-template-columns: 1fr; gap: 0; }
  :root[data-st="astro"] #swup .swl-steps::before { display: none; }
  :root[data-st="astro"] #swup .swl-steps .st-n { width: 54px; height: 54px; font-size: 20px; }
  :root[data-st="astro"] #swup .swl-steps li { grid-template-columns: 54px 1fr; }
}
@media (max-width: 760px) {
  :root[data-st="astro"] #swup .e-con.swl-hero { --padding-top: 38px; --padding-bottom: 40px; }
  :root[data-st="astro"] #swup .dj-dialog .dj-doc { margin-left: 0; }
  :root[data-st="astro"] #swup .swl-band.swl-cta::before { width: 70px !important; height: 70px !important; right: 6px !important; top: 34px !important; background-size: 38px 38px, auto !important; }
  :root[data-st="astro"] #swup .swl-band.swl-cta .elementor-widget-heading { padding-right: 62px; }
}
@media (prefers-reduced-motion: reduce) { .astw, .asln, .asglow, .asrot, .asrack, .aspin, .asvol, .aswin, :root[data-st="astro"] #swup .swl-band.swl-cta::before { animation: none; } .asshoot { animation: none; opacity: 0; } }

/* terminus balnéaire : lambrequin festonné, rouge signal, bleu marine */
:root[data-st="sea"] .frieze { border-bottom: 3px solid var(--brass); box-shadow: none; }
:root[data-st="sea"] .frieze::after { content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 10px; background: radial-gradient(circle at 10px 0, var(--void) 8px, var(--brass) 8.5px, var(--brass) 10px, transparent 10.5px) repeat-x; background-size: 20px 10px; pointer-events: none; }
:root[data-st="sea"] .dot { transform: none; border-radius: 50%; border: 2px solid var(--cream); background: var(--void); }
:root[data-st="sea"] .stops a[aria-current="page"] .dot { background: var(--brass); border-color: var(--brass); box-shadow: none; }
:root[data-st="sea"] .track { border-top: 2px solid var(--cream); border-bottom: 0; top: 11px; }
:root[data-st="sea"] .content-wrap { background: linear-gradient(180deg, var(--wash) 0, var(--night) 320px); }
:root[data-st="sea"] .station h1, :root[data-st="sea"] .station h2 { letter-spacing: .01em; }
:root[data-st="sea"] .card { background: #fff; border: 2px solid var(--cream); border-top: 6px solid var(--brass); outline: 0; }

/* ---- V3 : hall, IA ---- */
:root[data-st="hall"] {
  --void: #17191c; --night: #111315; --brass: #f2c230; --brass-dim: #4a4d52; --cream: #f2f2ee; --cream-dim: #a3a7ab;
  --acc: #f2c230; --wash: #24272b;
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif; --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}
:root[data-st="hall"] .frieze { border-bottom: 3px solid var(--brass); box-shadow: none; }
:root[data-st="hall"] .dot { transform: none; border-radius: 50%; border: 2px solid var(--cream); background: var(--void); }
:root[data-st="hall"] .stops a[aria-current="page"] .dot { background: var(--brass); border-color: var(--brass); box-shadow: none; }
:root[data-st="hall"] .track { border-top: 2px solid var(--cream); border-bottom: 0; top: 11px; }
:root[data-st="hall"] .station h1, :root[data-st="hall"] .station h2 { font-weight: 800; letter-spacing: -.01em; }
:root[data-st="hall"] .card { background: #1c1f23; border: 0; border-left: 6px solid var(--brass); outline: 0; }

:root[data-st="ai"] {
  --void: #041420; --night: #020c14; --brass: #4fd6ff; --brass-dim: #1d5f7a; --cream: #d9f6ff; --cream-dim: #7fb3c6;
  --acc: #4fd6ff; --wash: #06263a;
  --f-display: "Orbitron", "Arial Black", sans-serif; --f-body: "Rajdhani", "Segoe UI", Arial, sans-serif;
}
:root[data-st="ai"] body { font-size: 19px; }
:root[data-st="ai"] .frieze { background: linear-gradient(180deg, rgba(79,214,255,.10), rgba(4,20,32,.96)) , var(--void); border-bottom: 1px solid var(--brass); box-shadow: 0 0 18px rgba(79,214,255,.45); }
:root[data-st="ai"] .dot { transform: none; clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); border: 0; background: var(--brass-dim); }
:root[data-st="ai"] .stops a[aria-current="page"] .dot { background: var(--brass); box-shadow: none; filter: drop-shadow(0 0 6px #4fd6ff); }
:root[data-st="ai"] .track { border: 0; height: 2px; top: 11px; background: var(--brass); box-shadow: 0 0 8px var(--brass); }
:root[data-st="ai"] .station h1, :root[data-st="ai"] .station h2 { font-size: clamp(26px, 3.8vw, 42px); text-shadow: 0 0 18px rgba(79,214,255,.45); }
:root[data-st="ai"] .content-wrap { background: linear-gradient(rgba(79,214,255,.06) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(79,214,255,.06) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(180deg, var(--wash) 0, var(--night) 320px); }
:root[data-st="ai"] .card { background: rgba(79,214,255,.06); border: 1px solid var(--brass-dim); outline: 0; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)); }
:root[data-st="ai"] .next { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }

:root[data-st="space"] {
  color-scheme: light;
  --void: #4a2a17; --night: #f6ead2; --brass: #e8702a; --brass-dim: #c9a77e; --cream: #3b2214; --cream-dim: #7a5a42;
  --acc: #d65a1f; --wash: #f0dcb4;
  --f-display: "Righteous", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif; --f-body: "Nunito", "Trebuchet MS", Arial, sans-serif;
}
:root[data-st="space"] .frieze { color: #f6ead2; border-bottom: 0; box-shadow: 0 5px 0 #b8461f, 0 10px 0 #e8702a, 0 15px 0 #f0b429; margin-bottom: 15px; }
:root[data-st="space"] .frieze .brand, :root[data-st="space"] .stops a, :root[data-st="space"] .mapbtn { color: #f6ead2; }
:root[data-st="space"] .brand small { color: #f0c58a; }
:root[data-st="space"] .dot { transform: none; border-radius: 50%; width: 18px; height: 18px; background: #4a2a17; border: 3px solid #f0b429; }
:root[data-st="space"] .stops a[aria-current="page"] .dot { background: #f0b429; box-shadow: 0 0 0 4px #e8702a; }
:root[data-st="space"] .stops a[aria-current="page"] { color: #f0b429; }
:root[data-st="space"] .track { border: 0; height: 6px; top: 9px; border-radius: 3px; background: linear-gradient(180deg, #e8702a 0 50%, #f0b429 50%); }
:root[data-st="space"] .station h1, :root[data-st="space"] .station h2 { letter-spacing: .01em; }
:root[data-st="space"] .content-wrap { background: radial-gradient(circle at 90% 0, rgba(232,112,42,.18) 0 160px, transparent 161px), linear-gradient(180deg, var(--wash) 0, var(--night) 320px); }
:root[data-st="space"] .card { background: #fff8e6; border: 3px solid #4a2a17; outline: 0; border-radius: 28px; overflow: hidden; box-shadow: inset 0 10px 0 #e8702a, inset 0 16px 0 #f0b429; padding-top: 30px; }
:root[data-st="space"] .next, :root[data-st="space"] .chip { border-radius: 999px; }
:root[data-st="space"] .next { border-width: 2px; color: #3b2214; border-color: #3b2214; background: #f0b429; }
:root[data-st="space"] .next:hover { background: #e8702a; color: #fff8e6; }
:root[data-st="space"] .chip { color: #f6ead2; }
:root[data-st="space"] .nextbar, :root[data-st="space"] .linemap { color: #f6ead2; }
:root[data-st="space"] .nextbar-n, :root[data-st="space"] .vline .vname, :root[data-st="space"] .linemap-close, :root[data-st="space"] .linemap-head p { color: #f6ead2; }
:root[data-st="space"] .vline .vtag { color: #f0c58a; }
.bob { transform-box: fill-box; transform-origin: 50% 50%; animation: bob 3.2s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .bob { animation: none; } }

/* tableau des départs (Accueil) */
.flap { display: block; min-width: 0; background: linear-gradient(#22252a 0 48%, #08090a 48% 52%, #1b1e22 52%); color: #f5f3ea; padding: 7px 9px 5px; border-radius: 3px; font-size: 17px; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flap.ok { color: #f2c230; font-size: 14px; }
@media (max-width: 560px) {
  .flap { font-size: 14px; }
}

/* animations V3 */
.spin { transform-box: fill-box; transform-origin: 50% 50%; animation: spin 20s linear infinite; }
.spin.rev { animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.pulse { transform-box: fill-box; transform-origin: 50% 50%; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .65; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.06); } }
.codescroll { animation: codescroll 14s linear infinite; }
@keyframes codescroll { to { transform: translateY(-210px); } }
.flicker { animation: flicker 5s linear infinite; }
@keyframes flicker { 0%, 18%, 22%, 61%, 64%, 100% { opacity: 1; } 20%, 62% { opacity: .35; } }
.rain { animation: rain .6s linear infinite; }
@keyframes rain { from { transform: translate(0, -40px); } to { transform: translate(-12px, 0); } }
.tick { transform-box: view-box; transform-origin: 965px 154px; animation: spin 60s steps(60) infinite; }
.mod { animation: mod0 12s ease-in-out infinite; }
@keyframes mod0 { 0%, 28% { transform: translate(0, 0); } 36%, 62% { transform: translate(180px, 8px); } 70%, 100% { transform: translate(0, 0); } }
#trainArt.roll-f .wheel { animation: spin .32s linear infinite; }
#trainArt.roll-b .wheel { animation: spin .32s linear infinite reverse; }
/* 11/11 : le voile d'ombre et le reflet teinté de la rame (rectangles masqués) ne doivent pas intercepter les clics sur les tableaux des départs */
#trainShade, #trainTint { pointer-events: none; }
.wheel { transform-box: fill-box; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: reduce) { .spin, .pulse, .codescroll, .flicker, .rain, .tick, .mod, .wheel { animation: none !important; } }

/* petites animations des décors */
.needle { transform-box: fill-box; transform-origin: 50% 100%; animation: needle 3.2s ease-in-out infinite alternate; }
@keyframes needle { from { transform: rotate(-38deg); } to { transform: rotate(24deg); } }
.blink { animation: blink 1.8s steps(2, jump-none) infinite; }
@keyframes blink { 0% { opacity: 1; } 100% { opacity: .2; } }
.scope { stroke-dasharray: 18 6; animation: scope 1.2s linear infinite; }
@keyframes scope { to { stroke-dashoffset: -48; } }
/* mouettes du terminus (11/11) : traversée du ciel, léger flottement, battements d'ailes par séries puis vol plané */
.gl-fly { animation: gl-fly 70s linear infinite; }
@keyframes gl-fly { from { transform: translateX(var(--a)); } to { transform: translateX(var(--b)); } }
.gl-bob { animation: gl-bob 5s ease-in-out infinite alternate; }
@keyframes gl-bob { from { transform: translateY(-5px); } to { transform: translateY(6px); } }
.gl-w { transform-origin: 1px -1px; animation: gl-flap 6.4s ease-in-out infinite; animation-delay: var(--fd, 0s); }
.gl-w2 { transform-origin: 3.5px -1.3px; }
@keyframes gl-flap { 0%, 11%, 22%, 33%, 44% { transform: scaleY(1); } 5.5%, 16.5%, 27.5%, 38.5%, 49.5% { transform: scaleY(-.6); } 56%, 95% { transform: scaleY(.38); } 100% { transform: scaleY(1); } }
.gl-head { transform-origin: 7.2px -19px; animation: gl-head 13s ease-in-out infinite; }
@keyframes gl-head { 0%, 38% { transform: scaleX(1); } 40.5%, 61% { transform: scaleX(-1); } 63.5%, 100% { transform: scaleX(1); } }
.sail { animation: sail 18s ease-in-out infinite alternate; }
@keyframes sail { from { transform: translateX(0); } to { transform: translateX(-80px); } }
.beam { animation: beam 4s ease-in-out infinite; }
@keyframes beam { 0%, 100% { opacity: .05; } 50% { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .needle, .blink, .scope, .gl-fly, .gl-bob, .gl-w, .gl-head, .sail, .beam { animation: none; } }
* { box-sizing: border-box; }
body {
  background: var(--night);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 30; background: var(--void);
}
a { color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- Bandeau : frise + plan de ligne ---------- */
/* rideau métallique qui descend sur le bandeau pendant le trajet */
.shutter {
  position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 24px); z-index: 50; pointer-events: none;
  transform: translateY(calc(-100% - 24px)); transition: transform .5s cubic-bezier(.6,0,.8,.6);
  background:
    linear-gradient(90deg, rgba(0,0,0,.35), transparent 6%, transparent 94%, rgba(0,0,0,.35)),
    repeating-linear-gradient(180deg, #c3c9ce 0 3px, #eef1f3 3px 6px, #a9b0b6 6px 9px, #7d858c 9px 11px, #5d646a 11px 12px);
  border-bottom: 9px solid #4a5157;
  box-shadow: 0 4px 10px rgba(0,0,0,.5);
}
.shutter::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 70px; height: 9px; margin-left: -35px;
  background: linear-gradient(180deg, #d8dde0, #8d969c); border-radius: 0 0 4px 4px;
}
.frieze.away .shutter { transform: translateY(0); }
.frieze.away { pointer-events: none; }
.frieze.lifting .shutter { transition: transform .75s cubic-bezier(.2,.8,.3,1); }
.frieze {
  position: sticky; isolation: isolate; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--void);
  border-bottom: 1px solid var(--brass-dim);
  box-shadow: 0 3px 0 var(--void), 0 4px 0 var(--brass-dim);
  padding-block: 12px 10px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.frieze-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 18px; letter-spacing: .12em; line-height: 1.1; }
.brand small { display: block; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--cream-dim); }

.line { position: relative; min-width: 0; }
.track {
  position: absolute; left: calc(50% / var(--n, 7)); right: calc(50% / var(--n, 7)); top: 10px; height: 5px;
  border-top: 1px solid var(--brass); border-bottom: 1px solid var(--brass);
}
.marker { display: none !important; }
.marker::before {
  content: ""; position: absolute; left: 6px; top: 4px; width: 9px; height: 5px; border-radius: 3px;
  background: #e8b866;
}
.stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); position: relative; }
.stops a {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; color: var(--cream-dim); text-align: center;
  font-weight: 400; font-size: 11px; line-height: 1.2;
  text-transform: uppercase; letter-spacing: .16em;
  padding: 0 4px 2px;
}
.dot {
  width: 24px; height: 24px; transform: rotate(45deg);
  background: var(--void); border: 1px solid var(--brass);
  outline: 1px solid transparent; outline-offset: 3px;
  transition: background .25s, outline-color .25s;
}
.stops a:hover { color: var(--cream); }
.stops a:hover .dot { outline-color: var(--brass-dim); }
.stops a[aria-current="page"] { color: var(--brass); }
.stops a[aria-current="page"] .dot { background: var(--brass); outline-color: var(--brass); box-shadow: 0 0 14px rgba(194,164,99,.55); }

/* ---------- Scène ---------- */
.scene {
  position: relative;
  height: clamp(300px, 33vw, 600px);
  overflow: hidden;
  background: var(--void);
  border-bottom: 1px solid var(--brass-dim);
}
.scene svg { display: block; width: 100%; height: 100%; }
.plaque {
  position: absolute; left: 50%; top: 5%; transform: translateX(-50%);
  background: var(--void); color: var(--cream);
  border: 1px solid var(--brass); outline: 1px solid var(--brass-dim); outline-offset: 4px;
  padding: 8px 22px 6px; text-align: center; max-width: calc(100% - 48px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-family: var(--f-display); font-size: clamp(16px, 2vw, 24px); letter-spacing: .06em;
}
.plaque small { display: block; font-family: var(--f-body); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); }
.tools {
  position: absolute; display: flex; gap: 8px;
  right: max(12px, env(safe-area-inset-right, 0px)); bottom: 10px;
}
.chip {
  font-family: var(--f-body); font-weight: 400; font-size: 11px;
  text-transform: uppercase; letter-spacing: .2em;
  background: var(--void); color: var(--cream-dim);
  border: 1px solid var(--brass-dim); padding: 7px 12px 5px; cursor: pointer;
}
.chip:hover { color: var(--brass); border-color: var(--brass); }

/* ---------- Contenu ---------- */
.content-wrap {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, var(--wash) 0, var(--night) 260px);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 48px 64px;
}
.stage { position: relative; max-width: 900px; margin: 0 auto; }
.panel {
  position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 5; pointer-events: none;
  background: linear-gradient(180deg, #e3e7ea 0%, #d3d9dd 30%, #cdd3d7 56%, #dfe3e6 62%, #c4cacf 78%, #b4bbc1 100%);
  border: 3px solid #3b4246;
  box-shadow: inset 0 0 0 3px #eef1f3, inset 0 0 0 4px #8d969c;
}
.panel-l { border-right: 5px solid #121416; }
.panel-r { border-left: 5px solid #121416; }
/* vitre haute et étroite, intérieur éclairé */
.panel::before {
  content: ""; position: absolute; top: 48px; left: 27%; right: 27%; height: min(48%, 460px);
  background: linear-gradient(180deg, #735a32 0%, #5e4826 45%, #4a3a1f 100%);
  border: 6px solid #a9b1b7; outline: 2px solid #3b4246; outline-offset: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 2px #3b4246, inset 0 10px 18px rgba(0,0,0,.25);
}
/* liseré vert */
.panel::after {
  content: ""; position: absolute; left: 4px; right: 4px; top: calc(48px + min(48%, 460px) + 56px); height: 9px;
  background: #2f5a45; border-block: 1px solid #f1f4f6;
}
.panel .lamp {
  position: absolute; top: 62px; left: calc(27% + 16px); width: 12%; height: 8px; z-index: 1;
  background: #f3dfa0; border-radius: 2px; clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}
.panel-l { left: 0; transform: translateX(-102%); }
.panel-r { right: 0; transform: translateX(102%); }

.station { padding: 0 2px 8px; }
.station h1, .station h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(30px, 4.6vw, 50px); line-height: 1.12; letter-spacing: .01em;
  margin: 18px 0 18px; text-wrap: balance;
}
.station h1 em, .station h2 em { font-style: normal; color: var(--acc); }
.station p { max-width: 62ch; margin: 0 0 14px; }
.muted { color: var(--cream-dim); font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 28px 0; }
.card {
  min-width: 0; padding: 22px 20px 18px; background: var(--void);
  border: 1px solid var(--brass-dim); outline: 1px solid rgba(194,164,99,.18); outline-offset: -7px;
}
.card .kind { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--acc); }
.card h3 { margin: 8px 0 6px; font-family: var(--f-display); font-weight: 400; font-size: 21px; line-height: 1.2; }
.card p { margin: 0; font-size: 15px; color: var(--cream-dim); }
.next {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 22px;
  font-size: 13px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  color: var(--acc); border: 1px solid var(--acc); padding: 12px 18px 10px;
}
.next:hover { background: var(--acc); color: var(--void); }
footer {
  text-align: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-dim);
  background: var(--void); border-top: 1px solid var(--brass-dim);
  padding-block: 20px 26px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===================== Mobile ===================== */
.mapbtn, .nextbar { display: none; }
.linemap[hidden] { display: none !important; }
.scene.paused * { animation-play-state: paused !important; }
@media (max-width: 760px) {
  .frieze-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .brand { justify-content: flex-start; min-width: 0; }
  .brand > span:last-child { min-width: 0; overflow: hidden; }
  .brand strong { white-space: nowrap; font-size: 16px; }
  .brand small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .12em; }
  .mapbtn .maptxt { display: none; }
  .line { display: none; }
  .mapbtn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--cream); background: transparent; border: 1px solid var(--brass); padding: 10px 12px 8px; cursor: pointer;
  }
  .mapicon { display: grid; gap: 3px; }
  .mapicon i { display: block; width: 16px; height: 2px; background: var(--acc); }
  .mapicon i:nth-child(2) { width: 10px; }
  .scene { height: clamp(300px, 46vh, 440px); height: clamp(300px, 46svh, 440px); }
  .nextbar {
    display: flex; align-items: center; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
    background: var(--void); color: var(--cream); text-decoration: none;
    border-top: 2px solid var(--acc); box-shadow: 0 -6px 18px rgba(0,0,0,.25);
    font-family: var(--f-body); transition: transform .35s ease;
  }
  .nextbar-k { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--acc); white-space: nowrap; }
  .nextbar-n { flex: 1; min-width: 0; font-family: var(--f-display); font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.riding .nextbar { transform: translateY(110%); }
  footer { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
/* plan de ligne vertical, comme au-dessus des portes */
.linemap {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  background: var(--void); color: var(--cream); font-family: var(--f-body);
  padding-top: calc(16px + env(safe-area-inset-top, 0px)); padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
  animation: mapIn .3s ease both;
}
@keyframes mapIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.linemap-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--brass-dim); }
.linemap-head p { margin: 0; font-family: var(--f-display); font-size: 22px; letter-spacing: .06em; }
.linemap-close { font: inherit; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); background: transparent; border: 1px solid var(--brass); padding: 9px 14px 7px; cursor: pointer; }
.vline { list-style: none; margin: 18px 0 0; padding: 0; position: relative; }
.vline::before { content: ""; position: absolute; left: 15px; top: 22px; bottom: 22px; width: 4px; background: var(--acc); border-radius: 2px; }
.vline a { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 13px 0; color: var(--cream); text-decoration: none; min-height: 56px; }
.vline .vdot { width: 22px; height: 22px; margin-left: 6px; border-radius: 50%; background: var(--void); border: 3px solid var(--acc); box-sizing: border-box; }
.vline .vname { font-family: var(--f-display); font-size: 22px; line-height: 1.15; }
.vline .vtag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-dim); }
.vline a[aria-current="page"] .vdot { background: var(--acc); box-shadow: 0 0 0 5px var(--void), 0 0 0 7px var(--acc); }
.vline a[aria-current="page"] .vname { color: var(--acc); }
.vline a[aria-current="page"] .vtag { color: var(--acc); }
.linemap-tip { margin: 22px 0 0; font-size: 14px; color: var(--cream-dim); }

/* ===================== Intégration WordPress / Elementor ===================== */
.content-wrap { padding: 0; }
.stage { max-width: none; margin: 0; }
#swup { min-height: 40vh; color: var(--cream); font-family: var(--f-body); }
#swup h1, #swup h2, #swup h3, #swup h4, #swup h5, #swup h6,
#swup .elementor-heading-title { font-family: var(--f-display); color: var(--cream); font-weight: 400; }
#swup p, #swup li, #swup .elementor-widget-text-editor { color: var(--cream); }
#swup a:not(.elementor-button) { color: var(--acc); }
#swup .elementor-button { background: var(--acc); color: var(--void); border-radius: 0; font-family: var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
:root[data-st="space"] #swup .elementor-button, :root[data-st="sea"] #swup .elementor-button{ border-radius: 999px; color: #fff; }
.swl-page { max-width: 900px; margin: 0 auto; padding-block: 48px 64px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.admin-bar .frieze { top: 32px; }
@media (max-width: 782px) { .admin-bar .frieze { top: 46px; } }

/* Hello et le kit Elementor stylent tous les <button> : on reprend la main sur ceux du thème */
[hidden] { display: none !important; }
 html body .chip, html body .mapbtn, html body .linemap-close {
  background: var(--void); color: var(--cream-dim); border: 1px solid var(--brass-dim); border-radius: 0;
  font-family: var(--f-body); text-transform: uppercase; box-shadow: none; line-height: 1.2;
}
html body .chip { font-size: 11px; letter-spacing: .2em; padding: 7px 12px 5px; font-weight: 400; }
html body .chip:hover, html body .chip:focus { color: var(--brass); border-color: var(--brass); background: var(--void); }
html body .mapbtn { color: var(--cream); border-color: var(--brass); }
html body .linemap-close { color: var(--cream); border-color: var(--brass); }
 :root[data-st="space"] body .chip, :root[data-st="space"] body .next { border-radius: 999px; }
:root[data-st="space"] body .chip { color: #f6ead2; }
html body .frieze a.brand, html body .frieze a.brand:hover { color: var(--cream); text-decoration: none; }
html body .stops a, html body .stops a:hover { text-decoration: none; }
html body .nextbar, html body .nextbar:hover { color: var(--cream); text-decoration: none; }

/* Alignement vertical des pastilles sur le tracé : centre à 12px, hauteur totale 24px comme le modèle par défaut */
:root[data-st="space"] .dot { margin: 3px 0; }

/* ---------- Bandeau compact (31/10) : plan de ligne de largeur fixe, calé à droite ---------- */
html[data-st] body .frieze { padding-block: 8px 7px; }
html[data-st] body .frieze .brand strong { font-size: 16px; }
html[data-st] body .frieze .brand small { font-size: 10px; letter-spacing: .22em; }
html[data-st] body .frieze .line { justify-self: end; width: min(825px, 100%); }
html[data-st] body .frieze .stops a { gap: 4px; font-size: 10px; letter-spacing: .12em; padding: 0 3px 1px; }
/* pastilles réduites autour de leur centre : la boîte garde 24px, le centre reste sur le tracé */
html[data-st] body .frieze .stops .dot { scale: .75; }
/* ---------- Logo Sweb-Créa 2026 (16/11) : picto à la couleur de la station, lettrage blanc ou noir selon le fond (bandeau et pied de page) ---------- */
html[data-st] body .frieze .brand {
  display: inline-flex; align-items: center; gap: 0; justify-self: start;
  background: none; border-radius: 0; padding: 0; box-shadow: none;
  outline: 0; transform: none;
}
html[data-st] body .frieze .brand-logo { display: block; height: 40px; width: auto; max-width: none; overflow: visible; }
.brand-logo .lg-pic { fill: var(--logo-pic, var(--acc)); transition: fill .6s ease; }
.brand-logo .lg-txt { fill: var(--logo-txt, #fff); transition: fill .6s ease, stroke .6s ease; }
/* CREA (graisse fine) : épaissi d'un demi-pixel écran, quelle que soit la taille, pour rester net en petit */
.brand-logo .lg-fin { stroke: var(--logo-txt, #fff); stroke-width: .5px; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
:root[data-st="hall"]  { --logo-pic: #f2c230; --logo-txt: #fff; }
:root[data-st="deco"]  { --logo-pic: #c2a463; --logo-txt: #fff; }
:root[data-st="ai"]    { --logo-pic: #4fd6ff; --logo-txt: #fff; }
:root[data-st="astro"] { --logo-pic: #d7b56d; --logo-txt: #fff; }
:root[data-st="verne"] { --logo-pic: #e8a26c; --logo-txt: #fff; }
:root[data-st="space"] { --logo-pic: #e8702a; --logo-txt: #fff; }
:root[data-st="dojo"]  { --logo-pic: #b12f1d; --logo-txt: #000; }
:root[data-st="sea"]   { --logo-pic: #c8372d; --logo-txt: #000; }
/* pied de page : même logo, sans cartouche */
footer.swl-foot .swl-foot-brand { display: inline-block; padding: 0; background: none; border-radius: 0; line-height: 0; }
footer.swl-foot .swl-foot-brand .brand-logo { display: block; width: auto; height: 46px; max-width: none; overflow: visible; }
/* Blog (dojo) : le logo est posé sur un panneau de washi uni encadré de bois, pour ne plus être coupé par le treillis */
html[data-st="dojo"] body .frieze .brand {
  padding: 4px 12px; border-radius: 1px;
  background: #f8f2e2 var(--dj-washi) 0 0 / 320px 320px;
  box-shadow: 0 0 0 2px #4a2e16, 0 0 0 3px rgba(26, 15, 7, .6), 0 3px 6px rgba(40, 22, 6, .35);
}
@media (max-width: 760px) {
  html[data-st] body .frieze .brand { padding: 0; }
  html[data-st] body .frieze .brand-logo { height: 32px; }
  html[data-st="dojo"] body .frieze .brand { padding: 3px 9px; }
}
/* ===================== Contenus des stations (01/11) ===================== */
#swup .swl-sec { --gap: 18px; }
#swup .e-con.swl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 8px 0 0; padding: 0; }
#swup .e-con.card { --padding-top: 22px; --padding-right: 20px; --padding-bottom: 18px; --padding-left: 20px; --gap: 6px; justify-content: flex-start; }
:root[data-st="space"] #swup .e-con.card { --padding-top: 30px; }
#swup .card .elementor-widget-text-editor p { margin: 0 0 .4em; }
#swup .card .kind { margin: 0; }
#swup .card .swl-more { margin-top: auto; }
#swup .card .elementor-widget-heading .elementor-heading-title { font-size: 21px; line-height: 1.2; }
#swup .swl-lead p { font-size: 1.15em; line-height: 1.55; }
#swup .swl-lead p strong { font-family: var(--f-display); font-weight: 400; font-size: 1.25em; color: var(--acc); }
#swup .swl-ctas { --gap: 12px; padding: 0; }
#swup .swl-faq .e-n-accordion-item-title { color: var(--cream); }
#swup .swl-faq .e-n-accordion-item { border-bottom: 1px solid var(--brass-dim); }
#swup .swl-map iframe { display: block; width: 100%; height: 340px; border: 0; }
#swup .swl-map p { margin: .5em 0 0; font-size: 14px; }
#swup .swl-team .elementor-widget-image img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; }
#swup .swl-board table { width: 100%; border-collapse: collapse; font-family: var(--f-display); }
#swup .swl-board td { padding: 10px 12px; border-bottom: 1px solid var(--brass-dim); }
#swup .swl-board td:nth-child(2) { color: var(--acc); text-align: center; width: 4em; }
#swup .swl-board a { color: var(--cream); text-decoration: none; }
#swup .swl-note p { font-size: 14px; color: var(--cream-dim); }
#swup .e-con.swl-ctas { gap: 12px !important; }
#swup .e-con.swl-grid.swl-team, #swup .e-con.swl-grid:has(> .card:nth-child(5):last-child) { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
#swup .e-con.swl-grid.swl-steps { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
#swup .swl-steps .card .elementor-widget-heading .elementor-heading-title { font-size: 18px; }
#swup .swl-steps .card p { font-size: 14px; }
#swup .swl-team .elementor-widget-image img { background: rgba(127,127,127,.18); }
#swup .swl-faq .e-n-accordion-item > .e-con { padding: 6px 16px 14px !important; }
#swup .swl-faq .e-n-accordion-item-title { padding: 12px 16px; }
@media (max-width: 600px) { #swup .e-con.swl-grid.swl-steps { grid-template-columns: repeat(2, 1fr); } }

/* ===================== Pied de page (14/11) : habillé comme le bandeau de la station ===================== */
.swl-foot {
  --ft-bg: var(--void); --ft-tx: var(--cream); --ft-tx2: var(--cream-dim); --ft-line: var(--brass-dim); --ft-acc: var(--acc, var(--brass));
  position: relative; isolation: isolate;
  text-align: left; text-transform: none; letter-spacing: normal; font-size: 15px; line-height: 1.6;
  font-family: var(--f-body); color: var(--ft-tx2); background: var(--ft-bg);
  border-top: 1px solid var(--ft-line); box-shadow: 0 -3px 0 var(--ft-bg), 0 -4px 0 var(--ft-line);
  margin-top: 4px; padding: 0;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.swl-foot-in {
  max-width: 1180px; margin: 0 auto; padding: 54px 0 40px;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px;
}
.swl-foot-brand { display: inline-block; padding: 6px 12px; background: #fff; border-radius: 6px; line-height: 0; }
.swl-foot-brand img { display: block; width: auto; height: 46px; max-width: none; }
.swl-foot-pitch { margin: 18px 0 0; max-width: 34ch; color: var(--ft-tx2); }
.swl-foot-t {
  margin: 0 0 14px; padding: 0 0 8px; border-bottom: 1px solid var(--ft-line);
  font-family: var(--f-display); font-weight: 400; font-size: 19px; line-height: 1.25; letter-spacing: .02em;
  color: var(--ft-tx); text-transform: none;
}
.swl-foot-adr { margin: 0 0 12px; font-style: normal; }
.swl-foot-adr strong { color: var(--ft-tx); font-weight: 600; }
.swl-foot p { margin: 0 0 12px; }
.swl-foot a { color: var(--ft-acc); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.swl-foot a:hover, .swl-foot a:focus-visible { color: var(--ft-tx); border-bottom-color: currentColor; }
.swl-foot a:focus-visible { outline: 2px solid var(--ft-acc); outline-offset: 3px; }
.swl-foot .swl-foot-brand, .swl-foot .swl-foot-brand:hover { border-bottom: 0; }
/* plan de ligne vertical : tracé et pastilles aux couleurs de la station */
.swl-foot-line { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; }
.swl-foot-line::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--ft-line); }
.swl-foot-line li { position: relative; margin: 0; padding: 2px 0; }
.swl-foot-line li::before {
  content: ""; position: absolute; left: -21px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border-radius: 50%; background: var(--ft-bg); border: 2px solid var(--ft-acc); box-sizing: border-box;
}
.swl-foot-line a { color: var(--ft-tx2); }
.swl-foot-line a:hover, .swl-foot-line a:focus-visible { color: var(--ft-acc); }
/* barre du bas */
.swl-foot-bar {
  max-width: 1180px; margin: 0 auto; padding: 16px 0 20px; border-top: 1px solid var(--ft-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  font-size: 13px; letter-spacing: .04em; color: var(--ft-tx2);
}
.swl-foot-bar p { margin: 0; }
.swl-foot-sep { margin: 0 8px; opacity: .6; }
.swl-foot-legal > span:not(.swl-foot-sep) { opacity: .75; }

@media (max-width: 900px) {
  .swl-foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .swl-foot-id { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .swl-foot-in { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 44px; }
  .swl-foot-bar { flex-direction: column; }
  .swl-foot { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 760px) {
  .swl-foot { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* --- habillage par station (repris du bandeau) --- */
/* Art déco : double filet de laiton et éventail au centre */
:root:not([data-st]) .swl-foot, :root[data-st="deco"] .swl-foot { border-top: 1px solid var(--brass); box-shadow: 0 -4px 0 var(--ft-bg), 0 -5px 0 var(--brass); }
:root:not([data-st]) .swl-foot::before, :root[data-st="deco"] .swl-foot::before {
  content: ""; position: absolute; left: 50%; top: -1px; width: 120px; height: 30px; margin-left: -60px; pointer-events: none;
  background: repeating-conic-gradient(from 270deg at 50% 0, var(--brass) 0 3deg, transparent 3deg 15deg);
  -webkit-mask: radial-gradient(circle at 50% 0, #000 0 29px, transparent 30px); mask: radial-gradient(circle at 50% 0, #000 0 29px, transparent 30px);
  opacity: .8;
}
/* Hall : rayures de chantier jaune et noir */
:root[data-st="hall"] .swl-foot { border-top: 0; box-shadow: none; }
:root[data-st="hall"] .swl-foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; pointer-events: none;
  background: repeating-linear-gradient(-45deg, #f2c230 0 14px, #17191c 14px 28px);
}
/* Poste de contrôle IA : filet lumineux et grille */
:root[data-st="ai"] .swl-foot {
  border-top: 1px solid var(--brass); box-shadow: 0 0 18px rgba(79, 214, 255, .45);
  background: linear-gradient(0deg, rgba(79, 214, 255, .06), rgba(4, 20, 32, 0) 60%), repeating-linear-gradient(90deg, rgba(79, 214, 255, .05) 0 1px, transparent 1px 40px), var(--void);
}
/* Observatoire : ciel de nuit, règle graduée d'argent et d'or */
:root[data-st="astro"] .swl-foot {
  --ft-bg: #14244a; --ft-tx: #f4efe2; --ft-tx2: #c4cde0; --ft-line: #3a5288; --ft-acc: #e2c27c;
  background: var(--as-etoiles) 0 0 / 360px 260px, linear-gradient(0deg, #101d3d, #1b2f62) #14244a;
  border-top: 1px solid #c9d2dc; box-shadow: 0 -3px 0 #14244a, 0 -4px 0 #d7b56d;
}
:root[data-st="astro"] .swl-foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; pointer-events: none; opacity: .65;
  background: repeating-linear-gradient(90deg, #c9d2dc 0 1px, transparent 1px 10px) 0 0 / 10px 3px repeat-x, repeating-linear-gradient(90deg, #c9d2dc 0 1px, transparent 1px 50px) 0 0 / 50px 6px repeat-x;
}
/* Nautilus : tôle sombre, liseré de cuivre et rang de rivets */
:root[data-st="verne"] .swl-foot {
  border-top: 3px solid var(--brass); box-shadow: 0 -1px 0 #ffd2ab, 0 -5px 0 #03101a;
  background-image: radial-gradient(circle, rgba(240, 185, 138, .7) 0 1.4px, rgba(0, 0, 0, .4) 1.9px 2.8px, transparent 3.2px), linear-gradient(0deg, #04141b, #06202a);
  background-size: 26px 10px, 100% 100%; background-position: 13px 6px, 0 0; background-repeat: repeat-x, no-repeat;
}
/* Space age : trois bandes orange, comme le bandeau */
:root[data-st="space"] .swl-foot {
  --ft-bg: #4a2a17; --ft-tx: #f6ead2; --ft-tx2: #e3cfae; --ft-line: #7a4a2c; --ft-acc: #f0b429;
  border-top: 0; margin-top: 15px; box-shadow: 0 -5px 0 #b8461f, 0 -10px 0 #e8702a, 0 -15px 0 #f0b429;
}
:root[data-st="space"] .swl-foot-line li::before { border-radius: 50%; border-color: #f0b429; }
/* Dojo : poutre de bois sombre sur papier washi */
:root[data-st="dojo"] .swl-foot {
  --ft-line: #cdb894; --ft-acc: #a02a1a;
  border-top: 0; box-shadow: none; margin-top: 0;
  background: #f4eddb var(--dj-washi); background-size: 420px auto;
}
:root[data-st="dojo"] .swl-foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px; pointer-events: none;
  background: #33200f var(--dj-bois) 0 0 / 400px 200px; box-shadow: 0 4px 8px rgba(40, 22, 6, .35);
}
:root[data-st="dojo"] .swl-foot-in { padding-top: 66px; }
:root[data-st="dojo"] .swl-foot-line li::before { border-radius: 2px; background: #a02a1a; border-color: #a02a1a; transform: rotate(45deg) scale(.8); }
/* Terminus balnéaire : lambrequin festonné rouge sur fond clair */
:root[data-st="sea"] .swl-foot { border-top: 3px solid var(--brass); box-shadow: none; margin-top: 13px; }
:root[data-st="sea"] .swl-foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 10px; pointer-events: none;
  background: radial-gradient(circle at 10px 10px, var(--brass) 0 9px, transparent 9.5px) 0 0 / 20px 10px repeat-x;
}

@media (prefers-reduced-motion: reduce) { .swl-foot a { transition: none; } }

/* ===== Pages de texte (15/11) : mentions légales, confidentialité ===== */
.swl-page h1 + p { opacity: .7; font-size: .92em; }
.swl-page h2 { margin: 2.2em 0 .6em; }
.swl-page ul { margin: 0 0 1.2em; padding-left: 1.3em; }
.swl-page li { margin: .3em 0; }
.swl-page p { margin: 0 0 1em; }

/* ===== Bandeau cookies (15/11) : suit l'habillage de la station (variables de html[data-st]) ===== */
.swl-consent {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  width: min(380px, calc(100vw - 32px));
  padding: 16px 18px 18px;
  background: var(--void, #15171b); color: var(--cream, #f1ece2);
  border-top: 3px solid var(--acc, var(--brass, #d7b56d));
  border-radius: 6px; box-shadow: 0 12px 34px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
  font-family: var(--f-body, system-ui, sans-serif); font-size: 14px; line-height: 1.5;
  opacity: 0; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease;
}
.swl-consent[hidden] { display: none; }
.swl-consent.is-on { opacity: 1; transform: none; }
.swl-consent p { margin: 0; }
.swl-consent-k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--acc, var(--brass, #d7b56d)); }
.swl-consent-t { margin-top: 2px !important; font-family: var(--f-display, inherit); font-size: 18px; line-height: 1.25; }
.swl-consent-d { margin-top: 8px !important; color: var(--cream-dim, inherit); }
.swl-consent-d a { color: var(--acc, var(--brass, #d7b56d)); text-decoration: underline; text-underline-offset: 2px; }
.swl-consent-b { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.swl-consent-b button {
  appearance: none; cursor: pointer; padding: 10px 12px; min-height: 42px;
  font: 600 14px/1.2 var(--f-body, system-ui, sans-serif);
  color: var(--cream, #f1ece2); background: transparent;
  border: 1.5px solid var(--acc, var(--brass, #d7b56d)); border-radius: 4px;
  transition: background-color .2s ease, color .2s ease;
}
.swl-consent-b button:hover, .swl-consent-b button:focus-visible {
  background: var(--acc, var(--brass, #d7b56d)); color: var(--void, #15171b);
}
.swl-consent-b button:focus-visible { outline: 2px solid var(--cream, #fff); outline-offset: 2px; }
.swl-foot-cookies {
  appearance: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font: inherit; color: inherit; text-decoration: inherit;
}
footer.swl-foot .swl-foot-cookies, footer.swl-foot .swl-foot-cookies:hover, footer.swl-foot .swl-foot-cookies:focus {
  background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important;
  color: var(--ft-acc) !important; font: inherit !important; letter-spacing: inherit !important; text-transform: none !important; min-height: 0 !important;
}
footer.swl-foot .swl-foot-cookies:hover, footer.swl-foot .swl-foot-cookies:focus-visible { text-decoration: underline !important; }
@media (max-width: 759px) {
  /* Au-dessus de la barre « Station suivante » fixe en bas. */
  .swl-consent { left: 10px; right: 10px; width: auto; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .swl-consent { transition: none; transform: none; }
}

/* ===== Tableau des départs de la scène : pas de liens au doigt (15/11) ===== */
/* Sur mobile et écran tactile, les lignes du tableau (a.flaprow) partaient au moindre passage du doigt sur la scène. */
@media (max-width: 760px), (hover: none) {
  #scene .flaprow { pointer-events: none; cursor: default; }
}

/* ===================== Contenus V2 (07/11) : vie par univers ===================== */
@keyframes swl-spin { to { transform: rotate(360deg); } }
@keyframes swl-spinrev { to { transform: rotate(-360deg); } }
@keyframes swl-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .55; } }
@keyframes swl-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes swl-scroll { to { transform: translateY(-50%); } }
@keyframes swl-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes swl-beam { 0%, 100% { opacity: .1; } 50% { opacity: .32; } }

/* --- En-tête de station --- */
#swup .e-con.swl-hero { --padding-top: 52px; --padding-bottom: 36px; }
#swup .e-con.swl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding: 0; }
#swup .e-con.swl-hero-txt, #swup .e-con.swl-hero-illu { padding: 0; min-width: 0; }
#swup .swl-hero .swl-illu { max-width: 430px; width: 100%; margin: 0 auto; }
#swup .swl-illu svg { width: 100%; height: auto; display: block; overflow: visible; }
#swup .swl-kicker { margin: 0 0 8px; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--acc); display: flex; align-items: center; gap: 12px; font-family: var(--f-body); }
#swup .swl-kicker::before { content: ""; width: 34px; height: 2px; background: var(--acc); flex: 0 0 auto; }
#swup .swl-hero h1.elementor-heading-title { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.05; margin: 0 0 14px; }
#swup .swl-lead .swl-strap { font-family: var(--f-display); font-size: clamp(19px, 2vw, 25px); line-height: 1.3; color: var(--acc); margin: 0 0 14px; }
#swup .swl-lead p { max-width: 62ch; font-size: 1.08em; line-height: 1.6; }
#swup .swl-lead p strong { font-family: inherit; font-size: inherit; color: inherit; font-weight: 700; }

/* --- Titres de section --- */
#swup .swl-sec > .elementor-widget-heading .elementor-heading-title, #swup .swl-band-in > .elementor-widget-heading .elementor-heading-title { position: relative; padding-bottom: 12px; margin-bottom: 14px; font-size: clamp(24px, 2.6vw, 34px); }
#swup .swl-sec > .elementor-widget-heading .elementor-heading-title::after, #swup .swl-band-in > .elementor-widget-heading .elementor-heading-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--acc); }
:root[data-st="deco"] #swup .elementor-heading-title::after { height: 1px; width: 96px; box-shadow: 0 4px 0 var(--brass-dim); }
:root[data-st="space"] #swup .elementor-heading-title::after { width: 72px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #e8702a 0 34%, #f0b429 34% 67%, #4a2a17 67%); }
:root[data-st="sea"] #swup .elementor-heading-title::after { width: 64px; height: 6px; background: repeating-linear-gradient(90deg, #c8372d 0 8px, #fff 8px 16px); border: 1px solid #c8372d; }
:root[data-st="ai"] #swup .elementor-heading-title::after { width: 80px; height: 2px; box-shadow: 0 0 10px var(--acc); }
#swup .swl-sec > .elementor-widget-text-editor p:first-child { margin-top: 0; }
#swup .swl-sec > .elementor-widget-text-editor p { max-width: 70ch; line-height: 1.6; }
#swup .swl-center { text-align: center; }
#swup .swl-center .elementor-heading-title::after { left: 50%; transform: translateX(-50%); }
#swup .swl-center .elementor-widget-text-editor p { margin-inline: auto; }
#swup .swl-center .e-con.swl-ctas { justify-content: center; }

/* --- Cartes avec icône --- */
#swup .e-con.card { transition: transform .25s ease, box-shadow .25s ease; }
#swup .e-con.card:hover { transform: translateY(-4px); }
#swup .card .elementor-widget-html { margin: 0; }
#swup .card .swl-ibox { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--acc); color: var(--acc); margin-bottom: 12px; }
#swup .swl-ico { width: 26px; height: 26px; }
:root[data-st="hall"] #swup .card .swl-ibox { border-radius: 6px; background: #f2c230; color: #111; border: 0; }
:root[data-st="deco"] #swup .card .swl-ibox { border-radius: 0; box-shadow: 0 0 0 4px var(--void), 0 0 0 5px var(--brass-dim); }
:root[data-st="ai"] #swup .card .swl-ibox { border: 0; background: rgba(79,214,255,.12); clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); width: 58px; }
:root[data-st="space"] #swup .card .swl-ibox { background: #e8702a; color: #fff; border: 0; box-shadow: 0 4px 0 #4a2a17; }
:root[data-st="sea"] #swup .card .swl-ibox { background: #fff; color: #c8372d; border: 2px solid #c8372d; }
#swup .card .elementor-widget-heading .elementor-heading-title { font-size: 21px; line-height: 1.2; padding: 0; margin: 0 0 6px; }
#swup .card .elementor-widget-heading .elementor-heading-title::after { display: none; }
#swup .card p { font-size: 15.5px; line-height: 1.5; }
#swup .e-con.swl-grid.swl-two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
#swup .swl-two .card .elementor-widget-heading .elementor-heading-title { font-size: 26px; }

/* --- Chiffres clés --- */
#swup .swl-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
#swup .swl-stats li { text-align: center; padding: 20px 10px 16px; border: 1px solid var(--brass-dim); }
#swup .swl-stats strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 4vw, 46px); line-height: 1; color: var(--acc); margin-bottom: 10px; }
#swup .swl-stats span { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-dim); line-height: 1.4; display: block; }
:root[data-st="hall"] #swup .swl-stats li { background: #111315; border-left: 4px solid #f2c230; border-top: 0; border-right: 0; border-bottom: 0; text-align: left; padding-left: 16px; }
:root[data-st="space"] #swup .swl-stats li { background: #fff8e6; border: 3px solid #4a2a17; border-radius: 22px; }
:root[data-st="sea"] #swup .swl-stats li { background: #fff; border-top: 5px solid #c8372d; }

/* --- Frise d'étapes --- */
#swup .swl-steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; position: relative; }
#swup .swl-steps::before { content: ""; position: absolute; left: 7%; right: 7%; top: 23px; height: 2px; background: var(--brass-dim); }
#swup .swl-steps li { position: relative; text-align: center; padding: 0 4px; }
#swup .swl-steps .st-n { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; background: var(--void); border: 2px solid var(--acc); color: var(--acc); font-family: var(--f-display); font-size: 20px; position: relative; z-index: 1; }
:root[data-st="deco"] #swup .swl-steps .st-n { box-shadow: 0 0 0 4px var(--void), 0 0 0 5px var(--brass-dim); }
:root[data-st="space"] #swup .swl-steps .st-n { background: #e8702a; color: #fff; border-color: #4a2a17; }
#swup .swl-steps strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 17px; margin-bottom: 6px; line-height: 1.2; }
#swup .swl-steps p { font-size: 13.5px; color: var(--cream-dim); margin: 0; line-height: 1.45; }
@media (max-width: 900px) {
  #swup .swl-steps { grid-template-columns: 1fr; gap: 0; }
  #swup .swl-steps::before { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  #swup .swl-steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; text-align: left; padding: 0 0 22px; }
  #swup .swl-steps .st-n { margin: 0; grid-row: 1 / span 2; }
}

/* --- Listes à coche, étiquettes, citation --- */
#swup .swl-checks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
#swup .swl-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
#swup .swl-checks .swl-ico { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 3px; color: var(--acc); }
#swup .swl-tags { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
#swup .swl-tags li { padding: 8px 16px; border: 1.5px solid var(--acc); color: var(--cream); font-size: 14px; letter-spacing: .04em; }
:root[data-st="space"] #swup .swl-tags li { border-radius: 999px; background: #fff8e6; border: 2px solid #4a2a17; color: #4a2a17; }
:root[data-st="sea"] #swup .swl-tags li { border-radius: 999px; background: #fff; }
#swup .swl-quote { margin: 14px 0 0; padding: 18px 22px 18px 28px; border-left: 4px solid var(--acc); font-family: var(--f-display); font-size: clamp(19px, 2vw, 24px); line-height: 1.35; }
#swup .swl-quote p { margin: 0; font-size: inherit; }
#swup .swl-quote footer { font-family: var(--f-body); font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--cream-dim); margin-top: 10px; }
:root[data-st="space"] #swup .swl-quote { border-left: 0; background: #fff8e6; border-radius: 0 28px 28px 28px; border: 3px solid #4a2a17; box-shadow: 6px 6px 0 #e8702a; }

/* --- Bandes pleine largeur par univers --- */
#swup .e-con.swl-band { position: relative; margin: 10px 0; }
#swup .e-con.swl-band-in { position: relative; z-index: 1; }
:root[data-st="hall"] #swup .swl-band { background: #1c1f23 radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.3px) 0 0 / 16px 16px; }
:root[data-st="hall"] #swup .swl-band::before, :root[data-st="hall"] #swup .swl-band::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: repeating-linear-gradient(45deg, #f2c230 0 16px, #17191c 16px 32px); z-index: 2; }
:root[data-st="hall"] #swup .swl-band::before { top: 0; } :root[data-st="hall"] #swup .swl-band::after { bottom: 0; }
:root[data-st="deco"] #swup .swl-band { background-color: #0b1b15; background-image: linear-gradient(135deg, rgba(194,164,99,.09) 25%, transparent 25%), linear-gradient(225deg, rgba(194,164,99,.09) 25%, transparent 25%), linear-gradient(45deg, rgba(194,164,99,.09) 25%, transparent 25%), linear-gradient(315deg, rgba(194,164,99,.09) 25%, transparent 25%); background-position: 24px 0, 24px 0, 0 0, 0 0; background-size: 48px 48px; box-shadow: inset 0 0 0 1px var(--brass-dim), inset 0 6px 0 #0b1b15, inset 0 7px 0 var(--brass-dim), inset 0 -6px 0 #0b1b15, inset 0 -7px 0 var(--brass-dim); }
:root[data-st="ai"] #swup .swl-band { background-color: rgba(79,214,255,.045); background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(79,214,255,.035) 3px 4px); border-top: 1px solid var(--brass-dim); border-bottom: 1px solid var(--brass-dim); box-shadow: inset 0 0 60px rgba(79,214,255,.08); }
:root[data-st="space"] #swup .swl-band { background-color: #e8702a; background-image: linear-gradient(90deg, rgba(74,42,23,.22) 2px, transparent 2px), linear-gradient(rgba(74,42,23,.22) 2px, transparent 2px); background-size: 44px 44px; }
:root[data-st="space"] #swup .swl-band .elementor-heading-title, :root[data-st="space"] #swup .swl-band p, :root[data-st="space"] #swup .swl-band li, :root[data-st="space"] #swup .swl-band .swl-stats strong, :root[data-st="space"] #swup .swl-band .swl-stats span { color: #fff8e6; }
:root[data-st="space"] #swup .swl-band .elementor-heading-title::after { background: #fff8e6; }
:root[data-st="space"] #swup .swl-band .swl-stats li { background: #4a2a17; border-color: #fff8e6; }
:root[data-st="space"] #swup .swl-band .swl-tags li { background: #fff8e6; }
:root[data-st="space"] #swup .swl-band .swl-checks .swl-ico { color: #fff8e6; }
:root[data-st="sea"] #swup .swl-band { background-color: #d6eaf3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='20' viewBox='0 0 60 20'%3E%3Cpath d='M0 10c10-8 20-8 30 0s20 8 30 0' fill='none' stroke='%23a9bccb' stroke-width='1.5' opacity='.275'/%3E%3C/svg%3E"); border-top: 1px solid #a9bccb; border-bottom: 1px solid #a9bccb; }

/* --- Séparateurs --- */
#swup .swl-div { height: 28px; margin: 4px 0; background-repeat: no-repeat; background-position: center; background-size: auto 100%; }
#swup .elementor-widget.swl-div-w { margin: 0; }
:root[data-st="hall"] #swup .swl-div { height: 10px; background: repeating-linear-gradient(45deg, #f2c230 0 16px, #17191c 16px 32px); }
:root[data-st="deco"] #swup .swl-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='28' viewBox='0 0 600 28'%3E%3Cpath d='M0 20h248M352 20h248' stroke='%237d6a3f' stroke-width='1'/%3E%3Cg fill='none' stroke='%23c2a463' stroke-width='1.4'%3E%3Cpath d='M300 26L262 6M300 26L281 2M300 26V0M300 26L319 2M300 26L338 6'/%3E%3Cpath d='M276 14a24 24 0 0 1 48 0' /%3E%3Cpath d='M286 20a14 14 0 0 1 28 0' /%3E%3C/g%3E%3Ccircle cx='300' cy='26' r='2.5' fill='%23c2a463'/%3E%3C/svg%3E"); }
:root[data-st="ai"] #swup .swl-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='28' viewBox='0 0 600 28'%3E%3Cpath d='M0 14h228M372 14h228' stroke='%231d5f7a' stroke-width='1'/%3E%3Cpath d='M240 4v20M360 4v20' stroke='%234fd6ff' stroke-width='2'/%3E%3Cpath d='M250 14h100' stroke='%234fd6ff' stroke-width='1' stroke-dasharray='4 6'/%3E%3Ccircle cx='300' cy='14' r='4.5' fill='none' stroke='%234fd6ff' stroke-width='1.5'/%3E%3Ccircle cx='300' cy='14' r='1.6' fill='%234fd6ff'/%3E%3C/svg%3E"); }
:root[data-st="space"] #swup .swl-div { height: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='36' viewBox='0 0 160 36'%3E%3Cg fill='none' stroke-width='7'%3E%3Cpath d='M10 36a70 70 0 0 1 140 0' stroke='%23e8702a'/%3E%3Cpath d='M24 36a56 56 0 0 1 112 0' stroke='%23f0b429'/%3E%3Cpath d='M38 36a42 42 0 0 1 84 0' stroke='%23d65a1f'/%3E%3Cpath d='M52 36a28 28 0 0 1 56 0' stroke='%234a2a17'/%3E%3C/g%3E%3C/svg%3E"); }
:root[data-st="sea"] #swup .swl-div { height: 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='630' height='20' viewBox='0 0 630 20'%3E%3Cpath d='M0 10c15-10 30-10 45 0s30 10 45 0 30-10 45 0 30 10 45 0 30-10 45 0 30 10 45 0 30-10 45 0 30 10 45 0 30-10 45 0 30 10 45 0 30-10 45 0 30 10 45 0 30-10 45 0 30 10 45 0' fill='none' stroke='%231f3a5a' stroke-width='2'/%3E%3C/svg%3E"); }

/* --- Tuiles d'état et console (poste de contrôle) --- */
#swup .swl-status { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
#swup .swl-status li { position: relative; padding: 16px 16px 14px 18px; background: rgba(79,214,255,.05); border: 1px solid var(--brass-dim); display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; row-gap: 4px; }
#swup .swl-status li::before, #swup .swl-status li::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--acc); }
#swup .swl-status li::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
#swup .swl-status li::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
#swup .swl-status .swl-ico { grid-row: 1 / span 2; color: var(--acc); width: 28px; height: 28px; margin-top: 2px; }
#swup .swl-status strong { font-family: var(--f-display); font-weight: 400; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); }
#swup .swl-status span { font-size: 14.5px; color: var(--cream-dim); display: flex; align-items: center; gap: 8px; }
#swup .swl-status i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #39ff9b; box-shadow: 0 0 8px #39ff9b; animation: swl-blink 1.8s ease-in-out infinite; }
#swup .swl-console { border: 1px solid var(--brass-dim); background: #020b12; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; max-width: 800px; box-shadow: 0 0 30px rgba(79,214,255,.08); }
#swup .cs-bar { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-bottom: 1px solid var(--brass-dim); background: rgba(79,214,255,.07); }
#swup .cs-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--brass-dim); }
#swup .cs-bar i:first-child { background: var(--acc); }
#swup .cs-bar span { margin-left: 8px; font-family: var(--f-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-dim); }
#swup .cs-body { height: 200px; overflow: hidden; padding: 10px 14px 0; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
#swup .cs-log { animation: swl-scroll 30s linear infinite; }
#swup .cs-log p { margin: 0 0 8px; color: #a7ebff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; line-height: 1.4; }
#swup .cs-log time { color: var(--acc); margin-right: 12px; }
#swup .cs-log p::before { content: "▸ "; color: var(--brass-dim); }
#swup .e-con.swl-alert-box { display: grid; grid-template-columns: 64px 1fr auto; gap: 22px; align-items: center; padding: 22px 26px; border: 1px solid #ff6b6b; background: rgba(255,107,107,.07); box-shadow: inset 0 0 40px rgba(255,107,107,.06); }
#swup .swl-alert-box .swl-ico { width: 52px; height: 52px; color: #ff6b6b; animation: swl-blink 2.2s ease-in-out infinite; }
#swup .swl-alert-box .elementor-widget-heading .elementor-heading-title { padding: 0; margin: 0 0 6px; font-size: 24px; }
#swup .swl-alert-box .elementor-heading-title::after { display: none; }
#swup .swl-alert-box p { margin: 0; }
#swup .swl-alert-box .elementor-button { background: #ff6b6b; color: #041420; white-space: nowrap; }
@media (max-width: 760px) { #swup .e-con.swl-alert-box { grid-template-columns: 1fr; gap: 14px; } }
#swup .swl-hud .hud-r1 { animation: swl-spin 32s linear infinite; }
#swup .swl-hud .hud-r2 { animation: swl-spinrev 20s linear infinite; }
#swup .swl-hud .hud-core { animation: swl-pulse 2.6s ease-in-out infinite; }

/* --- Hall des départs : panneaux, tableau, plan --- */
#swup .swl-signpost { position: relative; padding: 18px 0 18px 30px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
#swup .swl-signpost::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 12px; border-radius: 4px; background: linear-gradient(90deg, #4a4d52, #a3a7ab 45%, #4a4d52); }
#swup a.sp-sign { display: inline-flex; align-items: center; gap: 14px; background: #f2c230; color: #111 !important; text-decoration: none; padding: 11px 40px 11px 14px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; transition: transform .25s; }
#swup a.sp-sign:hover { transform: translateX(8px); }
#swup a.sp-sign b { display: grid; place-items: center; width: 30px; height: 30px; background: #111; color: #f2c230; border-radius: 4px; font-size: 16px; }
#swup a.sp-sign:nth-child(2) { margin-left: 12px; } #swup a.sp-sign:nth-child(3) { margin-left: 4px; } #swup a.sp-sign:nth-child(4) { margin-left: 18px; }
#swup .swl-board { background: #0b0c0e; border: 2px solid #2a2d31; border-radius: 6px; padding: 8px 14px 12px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; box-shadow: inset 0 0 0 1px #000, 0 12px 30px rgba(0,0,0,.45); }
#swup .swl-board .bd-head, #swup .swl-board .bd-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) 64px 120px; align-items: center; gap: 10px; padding: 10px 6px; }
#swup .swl-board .bd-head { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: #8d9196; border-bottom: 1px solid #2a2d31; }
#swup .swl-board a.bd-row { color: #f2c230 !important; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; border-top: 1px solid #1a1c1f; transition: background .2s; }
#swup .swl-board a.bd-row:hover { background: #16181b; }
#swup .swl-board .bd-row span { background-image: linear-gradient(transparent 47%, rgba(0,0,0,.6) 47% 53%, transparent 53%); }
#swup .swl-board .bd-row .bd-voie { justify-self: start; display: grid; place-items: center; width: 30px; height: 26px; background: #f2c230; color: #111; border-radius: 3px; font-weight: 700; background-image: none; }
#swup .swl-board .bd-row .bd-etat { color: #39ff9b; font-size: 12px; letter-spacing: .15em; }
@media (max-width: 600px) { #swup .swl-board .bd-head, #swup .swl-board .bd-row { grid-template-columns: 58px minmax(0, 1fr) 40px; } #swup .swl-board .bd-etat, #swup .swl-board .bd-head span:last-child { display: none; } }
#swup .swl-linemap { max-width: 560px; margin: 8px auto 0; }
#swup .swl-linemap svg { width: 100%; height: auto; display: block; }

/* --- Art déco : soleil --- */
#swup .swl-sun .sb-rays { animation: swl-spin 140s linear infinite; }

/* --- Space age : orbite et fondateur --- */
#swup .swl-orbit { --R: 148px; position: relative; width: min(100%, 380px); aspect-ratio: 1 / 1; margin: 0 auto; }
#swup .swl-orbit .ob-ring { position: absolute; border-radius: 50%; border: 3px solid rgba(74,42,23,.22); }
#swup .swl-orbit .ob-ring.r1 { inset: 11%; }
#swup .swl-orbit .ob-ring.r2 { inset: 0; border-style: dashed; border-color: rgba(232,112,42,.65); animation: swl-spin 80s linear infinite; }
#swup .swl-orbit .ob-center { position: absolute; left: 50%; top: 50%; width: 124px; height: 124px; margin: -62px; border-radius: 50%; background: #4a2a17; color: #fff8e6; display: grid; place-items: center; text-align: center; font-family: var(--f-display); font-size: 18px; line-height: 1.1; box-shadow: 0 0 0 7px #f0b429, 0 0 0 13px #e8702a, 0 10px 24px rgba(74,42,23,.3); z-index: 2; }
#swup .swl-orbit .ob-group { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: swl-spin 60s linear infinite; }
#swup .swl-orbit .ob-bub { position: absolute; left: 0; top: 0; width: 96px; height: 96px; margin: -48px; transform: rotate(var(--a)) translate(var(--R)) rotate(calc(-1 * var(--a))); }
#swup .swl-orbit .ob-bub span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--f-display); font-size: 13px; line-height: 1.15; text-align: center; padding: 8px; border: 3px solid #fff8e6; box-shadow: 0 6px 0 rgba(74,42,23,.25); animation: swl-spinrev 60s linear infinite; }
#swup .e-con.swl-founder { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; align-items: center; padding: 0; }
#swup .swl-founder .elementor-widget-image img { border-radius: 50%; width: 100%; max-width: 240px; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 8px #f0b429, 0 0 0 16px #e8702a, 0 0 0 24px #4a2a17; margin: 24px; }
#swup .swl-founder .elementor-widget-image { text-align: center; }
@media (max-width: 760px) { #swup .e-con.swl-founder { grid-template-columns: 1fr; } #swup .swl-founder .elementor-widget-image img { max-width: 180px; } }
#swup .swl-team .elementor-widget-image img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; border: 4px solid #fff8e6; box-shadow: 0 0 0 3px #e8702a; }
#swup .swl-team .card .elementor-widget-heading .elementor-heading-title { font-size: 24px; }

/* --- Terminus balnéaire : phare, carte postale, marquise --- */
#swup .swl-lh .lh-beam { animation: swl-beam 3.2s ease-in-out infinite; }
#swup .swl-lh .lh-gull { animation: swl-float 4s ease-in-out infinite; }
#swup .swl-lh .lh-gull2 { animation: swl-float 5s ease-in-out infinite .8s; }
#swup .swl-postcard { display: grid; grid-template-columns: 1.15fr .85fr; background: #fff; border: 1px solid #a9bccb; box-shadow: 0 10px 30px rgba(31,58,90,.12); position: relative; overflow: hidden; }
#swup .swl-postcard::before { content: ""; grid-column: 1 / -1; height: 16px; background: repeating-linear-gradient(90deg, #c8372d 0 22px, #fff 22px 44px); border-bottom: 1px solid #c8372d; }
#swup .swl-postcard .pc-left { padding: 20px 22px 22px; border-right: 1px dashed #a9bccb; }
#swup .swl-postcard .pc-title { font-family: var(--f-display); font-size: 22px; color: var(--acc); margin: 0 0 12px; }
#swup .swl-postcard p { margin: 0 0 10px; line-height: 1.5; font-size: 15px; }
#swup .swl-postcard .pc-right { padding: 18px 20px 22px; position: relative; display: flex; flex-direction: column; gap: 14px; }
#swup .swl-postcard .pc-stamp { align-self: flex-end; width: 76px; padding: 6px; background: #d6eaf3; border: 1px dashed #1f3a5a; outline: 4px solid #fff; outline-offset: -5px; text-align: center; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #1f3a5a; }
#swup .swl-postcard .pc-stamp svg { width: 100%; height: auto; display: block; margin-bottom: 4px; }
#swup .swl-postcard .pc-mark { position: absolute; right: 78px; top: 30px; width: 72px; height: 72px; border: 2px solid rgba(31,58,90,.5); border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(31,58,90,.7); transform: rotate(-12deg); line-height: 1.3; padding: 6px; }
#swup .swl-postcard .pc-lines { margin-top: auto; display: grid; gap: 18px; padding-top: 10px; }
#swup .swl-postcard .pc-lines i { display: block; height: 1px; background: #a9bccb; }
@media (max-width: 560px) { #swup .swl-postcard { grid-template-columns: 1fr; } #swup .swl-postcard .pc-left { border-right: 0; border-bottom: 1px dashed #a9bccb; } #swup .swl-postcard .pc-right { min-height: 150px; } }
#swup .swl-awning { height: 20px; background: repeating-linear-gradient(90deg, #c8372d 0 24px, #fff 24px 48px); position: relative; margin: -22px -20px 22px; border-bottom: 1px solid rgba(200,55,45,.4); }
#swup .swl-awning::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; background: radial-gradient(circle at 12px 0, #c8372d 11px, transparent 12px) 0 0 / 48px 12px repeat-x, radial-gradient(circle at 12px 0, #fff 11px, transparent 12px) 24px 0 / 48px 12px repeat-x; }
#swup .e-con.swl-contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
#swup .e-con.swl-form.card { --padding-top: 22px; }
#swup .swl-form .gform_wrapper .gfield_label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
#swup .swl-form .gform_wrapper input[type="text"], #swup .swl-form .gform_wrapper input[type="email"], #swup .swl-form .gform_wrapper input[type="tel"], #swup .swl-form .gform_wrapper select, #swup .swl-form .gform_wrapper textarea { --gf-ctrl-bg-color: rgba(214,238,252,.5); --gf-ctrl-bg-color-hover: rgba(214,238,252,.5); --gf-ctrl-bg-color-focus: rgba(214,238,252,.5); border: 1px solid #a9bccb; border-radius: 4px; background: rgba(214,238,252,.5); }
#swup .swl-form .gform_wrapper textarea { min-height: 150px; }
#swup .swl-form .gform_wrapper .gform_button { background: #c8372d; color: #fff; border: 0; border-radius: 999px; padding: 12px 26px; text-transform: uppercase; letter-spacing: .12em; font-family: var(--f-body); }
#swup .swl-stars { display: inline-flex; gap: 4px; color: #f2b100; margin: 6px 0 10px; }
#swup .swl-stars .swl-ico { width: 30px; height: 30px; fill: currentColor; }
#swup .swl-map iframe { margin-top: 25px; border-radius: 6px; border: 4px solid #fff; box-shadow: 0 10px 30px rgba(31,58,90,.15); }

/* --- Appel à l'action final --- */
#swup .swl-cta .elementor-heading-title { font-size: clamp(28px, 3.4vw, 42px); }

/* --- Mobile et accessibilité --- */
@media (max-width: 760px) {
  #swup .e-con.swl-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  #swup .swl-hero .swl-illu { max-width: 300px; }
  #swup .e-con.swl-contact-grid { grid-template-columns: 1fr; }
  #swup .swl-orbit { --R: 112px; width: min(100%, 300px); }
  #swup .swl-orbit .ob-bub { width: 78px; height: 78px; margin: -39px; }
  #swup .swl-orbit .ob-bub span { font-size: 11px; }
  #swup .swl-orbit .ob-center { width: 100px; height: 100px; margin: -50px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  #swup .cs-log, #swup .ob-group, #swup .ob-bub span, #swup .ob-ring, #swup .hud-ring, #swup .hud-core, #swup .sb-rays, #swup .swl-status i, #swup .swl-alert-box .swl-ico, #swup .lh-beam, #swup .lh-gull, #swup .lh-gull2 { animation: none !important; }
}

/* --- Ajustements 07/11 (b) --- */
#swup .swl-hero .swl-ctas .elementor-button { padding: 12px 18px; font-size: 13px; }
#swup .e-con.swl-grid.swl-five { grid-template-columns: repeat(6, 1fr); }
#swup .swl-five > .card { grid-column: span 3; }
@media (min-width: 1000px) { #swup .swl-five > .card:nth-child(-n+3) { grid-column: span 2; } }
@media (max-width: 600px) { #swup .e-con.swl-grid.swl-five { grid-template-columns: 1fr; } #swup .swl-five > .card { grid-column: auto; } }
#swup .swl-linemap { max-width: 620px; }
#swup .swl-hud .hud-ring, #swup .swl-hud .hud-core, #swup .swl-sun .sb-rays { transform-origin: 210px 210px; transform-box: view-box; }
#swup .swl-hud .hud-r3 { animation: swl-spin 7s linear infinite; }
#swup .e-con.swl-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; align-items: center; padding: 0; }
#swup .swl-split > .e-con { padding: 0; min-width: 0; }
@media (max-width: 760px) { #swup .e-con.swl-split { grid-template-columns: 1fr; } }
#swup .e-con.swl-alert-txt { padding: 0; }
#swup .e-con.swl-grid.swl-three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { #swup .e-con.swl-grid.swl-three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { #swup .e-con.swl-grid.swl-three { grid-template-columns: 1fr; } }
#swup .e-con.swl-founder-txt { padding: 0; }
#swup .swl-founder-txt .elementor-heading-title::after { left: 0; }
#swup .e-con.swl-grid.swl-team { grid-template-columns: repeat(5, 1fr); gap: 16px; }
#swup .swl-team > .card { grid-column: auto; }
@media (max-width: 1100px) { #swup .e-con.swl-grid.swl-team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { #swup .e-con.swl-grid.swl-team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { #swup .e-con.swl-grid.swl-team { grid-template-columns: 1fr; } }
#swup .swl-team .card .kind { font-size: 10px; letter-spacing: .18em; }
#swup .swl-team .elementor-widget-image img { width: 132px; height: 132px; }
:root[data-st="space"] #swup .swl-band .swl-tags li { color: #4a2a17; }
#swup .swl-quote cite { display: block; font-style: normal; font-family: var(--f-body); font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--cream-dim); margin-top: 10px; }
#swup .swl-orbit .ob-bub span { font-size: 12.5px; }
#swup .e-con.swl-contact-side { padding: 0; }
#swup .swl-contact-side .elementor-widget-heading .elementor-heading-title { font-size: 26px; margin-bottom: 0; }
#swup .swl-note p { font-size: 14px; color: var(--cream-dim); }
:root[data-st="sea"] #swup .e-con.card.swl-form { overflow: hidden; border-top: 0; }
#swup .swl-form .elementor-widget-heading .elementor-heading-title { margin-top: 10px; }
#swup .swl-center .swl-stars-w { text-align: center; }
#swup .swl-orbit .ob-bub span { hyphens: manual; font-size: 12px; }
@media (max-width: 600px) { #swup .cs-log p { white-space: normal; font-size: 12.5px; } #swup .cs-body { height: 230px; } #swup .swl-map iframe { height: 260px; } }

/* Création (deco) : bande "Votre projet, station par station" (11/11) : fond discret, fines lignes verticales façon pilastres Art déco, pour ne pas gêner la lecture. Ajouté à la main : ligne.css n'est plus identique à v2.css, ne pas relancer swl_css_sync sans rapprocher les deux. */
:root[data-st="deco"] #swup .swl-band.swl-band-steps { background-color: #0b1b15; background-image: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(194,164,99,.07), transparent 70%), linear-gradient(90deg, rgba(194,164,99,.06) 0 1px, transparent 1px 6px, rgba(194,164,99,.06) 6px 7px, transparent 7px 12px, rgba(194,164,99,.06) 12px 13px, transparent 13px 72px); background-size: 100% 100%, 72px 100%; background-position: 0 0, 30px 0; }

/* Infogérance (ai) : icônes de la FAQ — « + » bleu (fermé), « − » bleu vif (déplié) */
:root[data-st="ai"] #swup .swl-faq .e-n-accordion-item-title-icon .e-closed, :root[data-st="ai"] #swup .swl-faq .e-n-accordion-item-title-icon .e-closed svg { color: #2f7df0 !important; fill: #2f7df0 !important; }
:root[data-st="ai"] #swup .swl-faq .e-n-accordion-item-title-icon .e-opened, :root[data-st="ai"] #swup .swl-faq .e-n-accordion-item-title-icon .e-opened svg { color: #19c3ff !important; fill: #19c3ff !important; }
:root[data-st="ai"] #swup .swl-faq .e-n-accordion-item-title-icon .e-opened svg { filter: drop-shadow(0 0 4px rgba(25, 195, 255, .7)); }

/* Agence : espace sous les photos de l'équipage (11/11) */
#swup .swl-team .elementor-widget-image { margin-bottom: 14px !important; }
