/* WordPress : marges par défaut des blocs neutralisées AVANT les styles de la maquette (qui gardent la main) */
.wp-block-group, .wp-block-heading, .wp-block-list, .wp-block-buttons, .wp-block-image, .wp-block-paragraph { margin: 0; }
.wp-block-list { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }

/* WEBENSIS v3 — styles du site. Base : maquette HTML V5.11 validée (octobre 2026), puis adaptation WordPress en fin de fichier. */
:root {
  --navy: #162033;
  --surface: #20252D;
  --ink: #0B1120;
  --ink-2: #0E1526;
  --panel: #111A2C;
  --panel-2: #15203A;
  --line: rgba(245, 247, 250, 0.10);
  --line-2: rgba(245, 247, 250, 0.18);
  --text: #F5F7FA;
  --text-2: #C3CCD9;
  --text-3: #95A1B3;
  --yellow: #F2B705;
  --yellow-2: #FFC933;
  --blue: #2F6FED;
  --blue-2: #6E9BFF;
  --blue-glow: rgba(47, 111, 237, 0.45);
  --red: #EB5757;
  --green: #6FCF97;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "IBM Plex Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --cond: "IBM Plex Sans Condensed", "IBM Plex Sans", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --r: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; transition: color .2s; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
svg { overflow: visible; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: var(--ink); padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 16px; top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typographie ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
  padding: 7px 14px 7px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03);
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(242,183,5,.16); animation: beacon 2.4s ease-in-out infinite; }
@keyframes beacon { 0%, 100% { box-shadow: 0 0 0 3px rgba(242,183,5,.18); } 50% { box-shadow: 0 0 0 7px rgba(242,183,5,0); } }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2); }
.giant {
  font-size: clamp(50px, 8.8vw, 150px); line-height: .94; letter-spacing: -0.05em; font-weight: 300;
}
.giant--md { font-size: clamp(44px, 7vw, 116px); }
.giant em, .h2 em, .statement em {
  font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -0.03em;
  background: linear-gradient(100deg, #9DBBFF 0%, #6E9BFF 35%, #2F6FED 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.h2 { font-size: clamp(36px, 5vw, 76px); line-height: 1; letter-spacing: -0.045em; font-weight: 300; }
.h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.2; }
.serif-xl { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 92px); line-height: 1; letter-spacing: -0.025em; }
.lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; color: var(--text-2); }
.lead--strong { color: var(--text); }
.muted { color: var(--text-3); }
.hl { color: var(--blue-2); background: none; }
.price { font-family: var(--mono); font-size: 14px; letter-spacing: .03em; color: var(--yellow); white-space: nowrap; }
.mention { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--text-3); }
.footnote { font-size: 14px; color: var(--text-3); max-width: 820px; }
.footnote-band { padding: 0 0 56px; }
.footnote-band .wrap { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 24px; }

/* Grand énoncé révélé au défilement */
.statement {
  font-size: clamp(34px, 5vw, 72px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 300; max-width: 1100px; margin: 0 auto; text-align: center;
  color: var(--text);
}
@supports (animation-timeline: view()) {
  .statement--reveal {
    background: linear-gradient(90deg, var(--text) 0 50%, #33415C 50% 100%);
    background-size: 200% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: reveal-text linear both; animation-timeline: view(); animation-range: entry 10% cover 55%;
  }
  .statement--reveal .hl { color: inherit; }
}
@keyframes reveal-text { to { background-position: 0 0; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 500 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--spring), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--cta { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(242,183,5,.6); }
.btn--cta:hover { color: var(--ink); background: var(--yellow-2); box-shadow: 0 16px 40px -12px rgba(242,183,5,.75); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--text); color: var(--text); }
.btn--mono { font-family: var(--mono); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; border-radius: 8px; }
.btn .arr { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(11,17,32,.14); transition: transform .3s var(--spring); }
.btn:hover .arr { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.price-btn { font-family: var(--mono); font-size: 14px; letter-spacing: .03em; }

/* « En savoir plus » : vrai bouton */
.more {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  padding: 7px 8px 7px 18px; min-height: 46px; border-radius: 999px;
  border: 1px solid rgba(110,155,255,.45); background: rgba(47,111,237,.08); color: var(--text);
  font: 500 15px/1 var(--sans); cursor: pointer; text-decoration: none;
  transition: border-color .2s, background-color .2s, color .2s, transform .25s var(--spring);
}
.more__ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; transition: transform .3s var(--spring), background-color .2s; }
.more:hover { border-color: var(--blue-2); background: rgba(47,111,237,.18); color: var(--text); transform: translateY(-1px); }
.more:hover .more__ico { transform: rotate(-45deg); background: var(--yellow); color: var(--ink); }
.more--back .more__ico { background: rgba(245,247,250,.12); }
.more--back:hover .more__ico { transform: rotate(-90deg); }

/* Flèche ronde des cartes-liens */
.go {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--text); background: rgba(255,255,255,.03);
  transition: background-color .25s, border-color .25s, color .25s, transform .35s var(--spring);
}
.card--link:hover .go { background: var(--yellow); border-color: var(--yellow); color: var(--ink); transform: rotate(-45deg); }

/* ---------- En-tête flottant en pastille ---------- */
.site-header { position: sticky; top: 0; z-index: 60; padding: 14px 0; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; min-width: 0; padding: 10px 16px; border-radius: 999px; background: rgba(11,17,32,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); }
.brand img { height: 26px; width: auto; }
.brand__method { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--text); white-space: nowrap; }
.brand__method b { color: var(--yellow); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 10px; }
.nav__list {
  list-style: none; display: flex; align-items: center; gap: 2px; padding: 6px;
  border-radius: 999px; background: rgba(11,17,32,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line);
}
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 999px;
  color: var(--text-2); text-decoration: none; font-size: 14.5px; transition: background-color .2s, color .2s;
}
.nav__link:hover { color: var(--yellow); background: rgba(255,255,255,.04); }
.nav__link[aria-current="page"] { color: var(--ink); background: var(--text); }
.nav__link[aria-current="page"]:hover { color: var(--ink); }
.nav__sub {
  list-style: none; position: absolute; left: 0; top: calc(100% + 12px); min-width: 240px; padding: 8px;
  background: rgba(17,26,44,.96); backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__sub a { display: block; padding: 11px 14px; border-radius: 12px; text-decoration: none; color: var(--text-2); font-size: 15px; }
.nav__sub a:hover { background: rgba(255,255,255,.05); color: var(--yellow); }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub, .has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.sub-toggle { display: inline-grid; place-items: center; width: 26px; height: 36px; margin-left: -8px; background: none; border: 0; color: var(--text-3); cursor: pointer; padding: 0; }
.has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.nav__cta { min-height: 48px; padding: 12px 22px; }
.menu-btn { display: none; }

@media (max-width: 1240px) { .brand__method { display: none; } }
@media (max-width: 1000px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 18px;
    background: rgba(11,17,32,.8); backdrop-filter: blur(14px); color: var(--text); border: 1px solid var(--line-2); border-radius: 999px;
    font: 500 15px var(--sans); cursor: pointer;
  }
  .nav {
    position: fixed; inset: 0; z-index: -1; background: var(--ink);
    flex-direction: column; align-items: stretch; justify-content: flex-start; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 10px; }
  .nav__list > li { flex-wrap: wrap; justify-content: space-between; }
  .nav__link { font-size: 22px; padding: 14px 16px; }
  .sub-toggle { width: 48px; height: 48px; margin: 0; }
  .nav__sub { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 8px 16px; }
  .has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { display: none; }
  .has-sub.is-open .nav__sub { display: block; }
  .nav__cta { margin-top: 18px; align-self: stretch; }
  .nav-open { overflow: hidden; }
  .brand__method { display: none; }
}

/* ---------- Scène héros (cadre lumineux + voie lactée) ---------- */
.stage { padding: 0 12px; margin-top: calc(-1 * var(--header-h)); }
.stage__frame {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 32px;
  background: radial-gradient(120% 90% at 50% 0%, #1A2A4D 0%, var(--navy) 38%, var(--ink) 100%);
  border: 1px solid rgba(110,155,255,.28);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), inset 0 -120px 160px -80px rgba(47,111,237,.35), 0 0 0 1px rgba(11,17,32,1);
  padding: calc(var(--header-h) + clamp(56px, 8vw, 120px)) 0 clamp(64px, 8vw, 120px);
}
.stage__frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(245,247,250,.045) 0 1px, transparent 1px 120px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.stage--tall .stage__frame { min-height: min(960px, 100vh); display: flex; flex-direction: column; justify-content: center; }
.milky {
  position: absolute; inset: -30% -20%; z-index: -1; pointer-events: none;
  background:
    linear-gradient(118deg, transparent 40%, rgba(255,255,255,.035) 47%, rgba(157,187,255,.12) 50%, rgba(255,255,255,.035) 53%, transparent 60%),
    radial-gradient(40% 30% at 70% 22%, rgba(47,111,237,.22), transparent 70%),
    radial-gradient(30% 25% at 20% 80%, rgba(47,111,237,.12), transparent 70%);
  animation: milky 16s ease-in-out infinite alternate;
}
.milky::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 20% 30%, rgba(245,247,250,.7), transparent 60%),
    radial-gradient(1px 1px at 63% 22%, rgba(245,247,250,.55), transparent 60%),
    radial-gradient(1.6px 1.6px at 78% 64%, rgba(157,187,255,.8), transparent 60%),
    radial-gradient(1px 1px at 41% 70%, rgba(245,247,250,.45), transparent 60%),
    radial-gradient(1.2px 1.2px at 88% 18%, rgba(245,247,250,.6), transparent 60%),
    radial-gradient(1px 1px at 55% 46%, rgba(245,247,250,.4), transparent 60%),
    radial-gradient(1.6px 1.6px at 30% 52%, rgba(157,187,255,.6), transparent 60%),
    radial-gradient(1px 1px at 12% 12%, rgba(245,247,250,.5), transparent 60%),
    radial-gradient(1px 1px at 92% 82%, rgba(245,247,250,.5), transparent 60%);
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes milky { from { transform: translate3d(-3%, 1%, 0) rotate(-1deg); } to { transform: translate3d(3%, -2%, 0) rotate(1deg); } }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }

.hero { display: grid; gap: 28px; justify-items: center; text-align: center; position: relative; }
.hero .lead { max-width: 760px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; margin-top: 10px; }
.hero__local { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.hero__visual { width: 100%; max-width: 980px; margin-top: clamp(24px, 4vw, 56px); }
.hero--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); text-align: left; justify-items: start; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero--split .hero__actions { justify-content: flex-start; }
.hero--split .hero__visual { margin-top: 0; }
.hero__copy { display: grid; gap: 24px; justify-items: inherit; min-width: 0; }
@media (max-width: 920px) {
  .hero--split { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero--split .hero__actions { justify-content: center; }
}

/* Titre traversé par l'hexagone (accueil) */
.crossed { position: relative; width: 100%; display: grid; place-items: center; }
.crossed__obj { position: absolute; left: 50%; top: 50%; width: min(560px, 80vw); transform: translate(-50%, -50%); z-index: -1; opacity: .95; }
.crossed .giant { position: relative; text-shadow: 0 2px 30px rgba(11,17,32,.55); }

/* Hexagone 3D */
.hexa { width: 100%; filter: drop-shadow(0 40px 80px rgba(47,111,237,.35)); }
.hexa__spin { transform-box: fill-box; transform-origin: 50% 50%; animation: hexa-turn 18s linear infinite; }
.hexa__tint { animation: hexa-tint 9s ease-in-out infinite; }
.hexa__orbit { transform-box: view-box; transform-origin: 200px 200px; animation: orbit 9s linear infinite; }
.hexa__orbit--2 { animation-duration: 14s; animation-direction: reverse; }
@keyframes hexa-turn { 0% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.03); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes hexa-tint { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes orbit { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 11vw, 168px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--panel { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.section--navy { background: var(--navy); }
.section-head { display: grid; gap: 22px; justify-items: center; text-align: center; max-width: 900px; margin: 0 auto clamp(48px, 6vw, 88px); }
.section-head p { color: var(--text-2); font-size: clamp(18px, 1.5vw, 21px); max-width: 640px; }
.section-head--left { justify-items: start; text-align: left; margin-left: 0; }

/* ---------- Grilles et tuiles égales ---------- */
.grid { display: grid; gap: 20px; grid-auto-rows: 1fr; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; grid-auto-rows: auto; } }

.card {
  position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; height: 100%;
  padding: 30px; border-radius: var(--r);
  background:
    radial-gradient(380px circle at var(--mx, 50%) var(--my, -20%), rgba(110,155,255,.14), transparent 60%),
    linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.card:hover { border-color: rgba(110,155,255,.35); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.card--link { cursor: pointer; }
.card--link:hover { transform: translateY(-4px); }
.card__index { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--text-3); }
.card__title { font-size: clamp(22px, 1.9vw, 27px); letter-spacing: -0.025em; line-height: 1.18; font-weight: 400; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card__text { color: var(--text-2); }
.card__label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.card__block + .card__block { padding-top: 14px; border-top: 1px solid var(--line); }
.card__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; position: relative; z-index: 2; padding-top: 6px; }
.card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tags { font-family: var(--mono); font-size: 13px; color: var(--blue-2); letter-spacing: .02em; }
.badge { align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(47,111,237,.18); color: var(--blue-2); }
.badge--yellow { background: rgba(242,183,5,.14); color: var(--yellow); }
.price-tag { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.price-tag small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }

.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; color: var(--text-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(111,207,151,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%236FCF97' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.checklist--dots li::before { background: rgba(110,155,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='3' fill='%236E9BFF'/%3E%3C/svg%3E") center / 18px no-repeat; }
.deflist { list-style: none; display: grid; gap: 12px; }
.deflist li { display: grid; gap: 2px; color: var(--text-2); padding-left: 28px; position: relative; }
.deflist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: rgba(111,207,151,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%236FCF97' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.deflist strong { color: var(--text); font-weight: 500; }

/* ---------- Cartes qui se retournent ---------- */
.flip { position: relative; height: 100%; min-height: var(--flip-h, 380px); perspective: 1600px; }
.flip__inner { position: relative; height: 100%; min-height: inherit; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip__face.card { height: auto; }
.flip__back {
  transform: rotateY(180deg); overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(500px circle at 100% 0%, rgba(47,111,237,.22), transparent 60%), linear-gradient(180deg, #172446 0%, #101a30 100%);
  border-color: rgba(110,155,255,.4);
  scrollbar-width: thin; scrollbar-color: rgba(110,155,255,.5) transparent;
}
.flip__back .card__title { font-size: clamp(20px, 1.7vw, 24px); }
.flip__back > * { flex-shrink: 0; }
.flip__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.flip__face[aria-hidden="true"] { pointer-events: none; }
.flip__front { justify-content: flex-start; }
.flip__front .more { margin-top: auto; }

/* ---------- Bandeau final ---------- */
.final { padding: clamp(40px, 6vw, 80px) 12px 12px; }
.final__frame {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; text-align: center;
  padding: clamp(96px, 12vw, 180px) var(--gutter);
  background: radial-gradient(90% 120% at 50% 110%, rgba(47,111,237,.55) 0%, rgba(22,32,51,.9) 45%, var(--ink) 80%);
  border: 1px solid rgba(110,155,255,.25);
}
.final__inner { max-width: 1100px; margin: 0 auto; display: grid; justify-items: center; gap: 30px; }
.final__inner p:not(.kicker) { color: var(--text-2); font-size: clamp(18px, 1.5vw, 21px); max-width: 640px; }
.final__title { font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 6.6vw, 104px); line-height: 1; letter-spacing: -0.03em; }

/* Défilement géant de la doctrine */
.marquee { overflow: hidden; padding: clamp(24px, 4vw, 48px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__item { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 8vw, 120px); line-height: 1; letter-spacing: -0.03em; padding-right: .6em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(245,247,250,.35); }
.marquee__item:nth-child(odd) { color: var(--text); -webkit-text-stroke: 0; }
.marquee__item span { color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Réseau courbe Personnes · Processus · Outils · Équipe ---------- */
.network { position: relative; width: 100%; aspect-ratio: 1200 / 600; margin: 0; }
.network svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.network__label { position: absolute; transform: translate(-50%, -50%); font-size: clamp(14px, 2.1vw, 28px); font-weight: 300; letter-spacing: -0.01em; white-space: nowrap; padding: 8px 18px; border-radius: 999px; background: rgba(11,17,32,.7); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.network__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; font-size: clamp(12px, 1.6vw, 20px); font-weight: 600; color: var(--ink); line-height: 1.1; width: 12%; }
.net-flow { stroke-dasharray: 2 14; animation: dash 1.6s linear infinite; }
.net-glow { animation: glow 3s ease-in-out infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
@keyframes glow { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.net-ring { transform-box: fill-box; transform-origin: center; animation: ring 3s ease-out infinite; }
.net-ring--2 { animation-delay: 1.5s; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(2.2); opacity: 0; } }

/* ---------- Cartes « situations » (accueil) ---------- */
.situation { gap: 20px; }
.situation .card__title { font-size: clamp(20px, 1.6vw, 23px); }
.situation .card__foot { margin-top: auto; }
.mini {
  position: relative; height: 150px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #1B2A4A 0%, #121B2F 70%); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.mini svg { width: 100%; height: 100%; display: block; }
.mini text { font-family: var(--sans); font-size: 11px; font-weight: 500; fill: var(--text); }
.mini .t-dark { fill: var(--ink); }

/* ---------- Offre : Comprendre · Décider · Agir (centré) ---------- */
.cda { width: 100%; max-width: 980px; margin: 0 auto; }
.cda svg { width: 100%; height: auto; display: block; }
.cda__labels { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin-top: 18px; }
.cda__labels span { font-family: var(--mono); font-size: clamp(12px, 1.2vw, 15px); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.cda-step { animation: cda 6s ease-in-out infinite; }
.cda-step--2 { animation-delay: 2s; }
.cda-step--3 { animation-delay: 4s; }
@keyframes cda { 0%, 100% { opacity: .35; } 12%, 30% { opacity: 1; } 45% { opacity: .35; } }
.cda-beam { stroke-dasharray: 60 900; animation: beam 6s linear infinite; }
@keyframes beam { from { stroke-dashoffset: 60; } to { stroke-dashoffset: -900; } }

/* Moyens : grandes tuiles visuelles */
.means-big { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; grid-auto-rows: 1fr; }
@media (max-width: 1000px) { .means-big { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .means-big { grid-template-columns: 1fr; grid-auto-rows: auto; } }
.mean { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 260px; padding: 26px; border-radius: var(--r); text-decoration: none; color: var(--text); overflow: hidden;
  background: linear-gradient(160deg, rgba(47,111,237,.20) 0%, rgba(17,26,44,.9) 55%); border: 1px solid rgba(110,155,255,.25); transition: transform .4s var(--ease), border-color .3s; }
.mean:hover { transform: translateY(-4px); border-color: var(--blue-2); color: var(--text); }
.mean__ico { width: 84px; height: 84px; }
.mean__name { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 2.8vw, 42px); line-height: .95; letter-spacing: -0.005em; }
.mean__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.mean:hover .go { background: var(--yellow); border-color: var(--yellow); color: var(--ink); transform: rotate(-45deg); }
.means-strip { padding: 22px 0 0; }

/* Lignes condensées (accueil) */
.rows { border-bottom: 1px solid var(--line-2); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; padding: clamp(18px, 2.4vw, 30px) 0; border-top: 1px solid var(--line-2); text-decoration: none; color: var(--text); position: relative; }
.row__name { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 7.4vw, 116px); line-height: .88; transition: color .25s, transform .4s var(--ease); }
.row .go { width: clamp(52px, 5vw, 72px); height: clamp(52px, 5vw, 72px); }
.row:hover { color: var(--text); }
.row:hover .row__name { color: var(--blue-2); transform: translateX(10px); }
.row:hover .go { background: var(--yellow); border-color: var(--yellow); color: var(--ink); transform: rotate(-45deg); }

/* ---------- Schémas avant / avec ---------- */
.schema { position: relative; margin: 0; border-radius: 28px; padding: clamp(24px, 3.4vw, 48px); overflow: hidden;
  background: radial-gradient(80% 80% at 100% 0%, rgba(47,111,237,.16), transparent 60%), var(--navy); border: 1px solid var(--line-2); }
.schema__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: baseline; margin-bottom: 30px; }
.schema__q { font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -0.03em; line-height: 1.12; font-weight: 300; }
.schema__cols { display: grid; grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr); align-items: stretch; }
.schema__col { border-radius: 18px; padding: 24px; min-height: 320px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.schema__col--before { background: var(--surface); border: 1px solid rgba(235,87,87,.25); }
.schema__col--before::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(235,87,87,.04) 0 10px, transparent 10px 20px); pointer-events: none; }
.schema__col--after { background: #F5F7FA; color: var(--navy); box-shadow: 0 30px 60px -30px rgba(47,111,237,.6); }
.schema__tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #F3A0A0; }
.schema__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.4s ease-in-out infinite; }
.schema__col--after .schema__tag { color: #2457C5; }
.schema__col--after .schema__tag::before { background: #27AE60; animation: none; }
.schema__foot { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.schema__claim { font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; line-height: 1.35; max-width: 860px; }
.schema__claim span { color: var(--yellow); }
.schema__sign { height: 28px; width: auto; }
/* Passage avant → avec : faisceau animé */
.gate { position: relative; display: grid; place-items: center; }
.gate svg { width: 112px; height: 100%; min-height: 200px; }
.gate__beam { stroke-dasharray: 10 18; animation: dash-x 1s linear infinite; }
@keyframes dash-x { to { stroke-dashoffset: -28; } }
.gate__ring { transform-box: fill-box; transform-origin: center; animation: spin 6s linear infinite; }
.gate__core { animation: core 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes core { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@media (max-width: 860px) {
  .schema__cols { grid-template-columns: 1fr; }
  .gate svg { width: 100px; min-height: 0; height: 100px; transform: rotate(90deg); }
  .schema__col { min-height: 0; }
}

.node { position: relative; z-index: 1; border-radius: 12px; padding: 12px 14px; text-align: center; font-size: 15px; font-weight: 500; background: #2A313C; border: 1px solid #3A4352; color: var(--text); }
.schema__col--after .node { background: #fff; border-color: #CFD7E2; color: var(--navy); }
.schema__col--after .node--blue { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.node--warn { border-color: rgba(235,87,87,.7); color: #FFD5D5; }
.note { position: relative; z-index: 1; font-size: 14px; color: var(--text-2); text-align: center; }
.schema__col--after .note { color: #46526A; }
.shake { animation: shake 2.6s ease-in-out infinite; }
.shake:nth-child(2n) { animation-delay: -.8s; }
.shake:nth-child(3n) { animation-delay: -1.6s; }
@keyframes shake { 0%, 100% { transform: translate(0, 0) rotate(-2deg); } 25% { transform: translate(4px, -5px) rotate(2deg); } 50% { transform: translate(-3px, 3px) rotate(-1deg); } 75% { transform: translate(3px, 4px) rotate(1.5deg); } }
.blink-red { animation: blink-red 1.8s ease-in-out infinite; }
@keyframes blink-red { 0%, 100% { border-color: #3A4352; } 50% { border-color: var(--red); box-shadow: 0 0 0 3px rgba(235,87,87,.15); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.pop { animation: pop 4.5s var(--ease) infinite; }
.pop--2 { animation-delay: .5s; } .pop--3 { animation-delay: 1s; } .pop--4 { animation-delay: 1.5s; }
@keyframes pop { 0% { opacity: 0; transform: translateY(10px) scale(.96); } 12%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
.glow-blue { animation: glow-blue 2.4s ease-in-out infinite; }
@keyframes glow-blue { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,111,237,.5); } 50% { box-shadow: 0 0 0 12px rgba(47,111,237,0); } }
.loop { position: relative; flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 70px 50px; align-content: center; padding: 8px; }
.loop svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loop__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 13.5px; color: #F3A0A0; text-align: center; white-space: nowrap; z-index: 1; }
.loop-run { stroke-dasharray: 6 10; animation: dash 1.2s linear infinite; }
.flow { flex: 1; display: grid; align-content: center; gap: 0; }
.flow__link { height: 34px; display: grid; place-items: center; }
.flow__link svg { width: 14px; height: 34px; }
.flow__dot { animation: drop 1.4s ease-in infinite; }
@keyframes drop { from { transform: translateY(-2px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(26px); opacity: 0; } }
.scatter { flex: 1; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-content: center; }
.scatter .node { font-size: 14px; padding: 9px 13px; }
.sources { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sources .node { font-size: 13px; padding: 9px 4px; }
.merge { width: 100%; height: 54px; display: block; }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tools .node { font-size: 14px; padding: 12px 6px; }
.tools-svg { width: 100%; height: 70px; display: block; }
.status { flex: 1; display: grid; gap: 10px; align-content: center; }
.status__row { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #2A313C; border: 1px solid #3A4352; font-size: 15px; }
.schema__col--after .status__row { background: #fff; border-color: #CFD7E2; }
.status__val { font-size: 13.5px; display: inline-flex; align-items: center; gap: 8px; text-align: right; }
.status__val::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.status--bad .status__val { color: #F3A0A0; }
.status--bad .status__val::before { background: var(--red); animation: blink 1.2s ease-in-out infinite; }
.status--bad .status__row:nth-child(2) .status__val::before { animation-delay: .3s; }
.status--bad .status__row:nth-child(3) .status__val::before { animation-delay: .6s; }
.status--good .status__val { color: #1F7A47; }
.status--good .status__val::before { background: #27AE60; }
.status--good .status__row { animation: settle 5s var(--ease) infinite; }
.status--good .status__row:nth-child(2) { animation-delay: .25s; }
.status--good .status__row:nth-child(3) { animation-delay: .5s; }
.status--good .status__row:nth-child(4) { animation-delay: .75s; }
@keyframes settle { 0% { opacity: .2; transform: translateX(14px); } 14%, 90% { opacity: 1; transform: none; } 100% { opacity: .2; } }

/* ---------- Visuels de héros animés ---------- */
.screen {
  position: relative; border-radius: 18px; overflow: hidden; text-align: left;
  background: linear-gradient(180deg, #16223B 0%, #0F172A 100%); border: 1px solid rgba(110,155,255,.3);
  box-shadow: 0 50px 100px -40px rgba(47,111,237,.55), 0 0 0 1px rgba(0,0,0,.4);
}
.screen__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.screen__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A3650; display: block; }
.screen__bar span { margin-left: 12px; flex: 1; height: 22px; border-radius: 999px; background: rgba(255,255,255,.05); font-family: var(--mono); font-size: 11px; color: var(--text-3); display: flex; align-items: center; padding: 0 12px; }
.screen__body { padding: 20px; display: grid; gap: 14px; }

/* Web : le site se construit, un clic, une demande arrive */
.wb { position: relative; }
.wb__nav { display: flex; justify-content: space-between; align-items: center; }
.wb__logo { width: 70px; height: 12px; border-radius: 6px; background: rgba(245,247,250,.5); }
.wb__links { display: flex; gap: 8px; }
.wb__links i { width: 34px; height: 8px; border-radius: 4px; background: rgba(245,247,250,.2); display: block; }
.wb__hero { display: grid; gap: 10px; padding: 18px 0 6px; }
.wb__h { height: 18px; border-radius: 6px; background: linear-gradient(90deg, #F5F7FA, #9DBBFF); transform-origin: left; animation: build 6s var(--ease) infinite; }
.wb__h--2 { width: 70%; animation-delay: .25s; }
.wb__p { height: 8px; width: 82%; border-radius: 4px; background: rgba(245,247,250,.2); transform-origin: left; animation: build 6s var(--ease) infinite; animation-delay: .5s; }
.wb__btn { width: 120px; height: 34px; border-radius: 999px; background: var(--yellow); position: relative; animation: build 6s var(--ease) infinite, press 6s ease infinite; animation-delay: .7s, 0s; transform-origin: left; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--ink); }
.wb__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wb__cards i { height: 64px; border-radius: 10px; background: rgba(110,155,255,.14); border: 1px solid rgba(110,155,255,.25); display: block; animation: rise 6s var(--ease) infinite; }
.wb__cards i:nth-child(2) { animation-delay: .15s; } .wb__cards i:nth-child(3) { animation-delay: .3s; }
@keyframes build { 0% { transform: scaleX(0); opacity: 0; } 12%, 88% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes rise { 0%, 10% { transform: translateY(14px); opacity: 0; } 24%, 88% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes press { 0%, 52% { box-shadow: 0 0 0 0 rgba(242,183,5,.6); } 56% { box-shadow: 0 0 0 10px rgba(242,183,5,0); } 100% { box-shadow: none; } }
.wb__cursor { position: absolute; width: 22px; height: 22px; left: 70%; top: 85%; animation: cursor 6s var(--ease) infinite; z-index: 3; }
@keyframes cursor { 0%, 30% { left: 78%; top: 92%; } 50%, 58% { left: 21%; top: 60%; } 54% { transform: scale(.85); } 100% { left: 78%; top: 92%; } }
.toast { position: absolute; right: -14px; top: 26%; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; background: #F5F7FA; color: var(--navy); box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); font-size: 14px; font-weight: 500; animation: toast 6s var(--spring) infinite; z-index: 4; }
.toast b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #27AE60; color: #fff; font-size: 15px; }
@keyframes toast { 0%, 58% { opacity: 0; transform: translateY(14px) scale(.9); } 64%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Informatique : jauges qui passent au vert */
.gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gauge { display: grid; justify-items: center; gap: 8px; padding: 16px 8px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.gauge svg { width: 86px; height: 86px; }
.gauge span { font-size: 13px; color: var(--text-2); }
.gauge__arc { stroke-dasharray: 220; animation: gauge 7s var(--ease) infinite; transform: rotate(-90deg); transform-origin: 50% 50%; }
.gauge:nth-child(2) .gauge__arc { animation-delay: .4s; }
.gauge:nth-child(3) .gauge__arc { animation-delay: .8s; }
@keyframes gauge { 0%, 10% { stroke-dashoffset: 170; stroke: var(--red); } 45%, 90% { stroke-dashoffset: 18; stroke: var(--green); } 100% { stroke-dashoffset: 170; stroke: var(--red); } }
.scanline { position: absolute; left: 0; right: 0; height: 60px; top: -60px; background: linear-gradient(180deg, transparent, rgba(110,155,255,.18), transparent); animation: scan 3.5s linear infinite; pointer-events: none; }
@keyframes scan { to { top: 100%; } }
.checks { display: grid; gap: 8px; }
.checks div { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.03); font-size: 14px; }
.checks b { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; animation: chk 7s ease infinite; }
.checks div:nth-child(2) b { animation-delay: .5s; } .checks div:nth-child(3) b { animation-delay: 1s; } .checks div:nth-child(4) b { animation-delay: 1.5s; }
@keyframes chk { 0%, 25% { background: rgba(235,87,87,.18); color: #F3A0A0; } 45%, 92% { background: rgba(111,207,151,.18); color: var(--green); } 100% { background: rgba(235,87,87,.18); color: #F3A0A0; } }

/* Automatisation : la demande traverse le traitement */
.pipe { display: grid; gap: 14px; }
.pipe__track { position: relative; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.pipe__track i { position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--blue-2), var(--yellow)); animation: track 2.2s linear infinite; }
@keyframes track { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.step { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); animation: step 7.5s var(--ease) infinite; }
.step:nth-child(2) { animation-delay: 1.4s; }
.step:nth-child(3) { animation-delay: 2.8s; border-color: rgba(242,183,5,.6); }
@keyframes step { 0% { opacity: .18; transform: translateX(-10px); } 10%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: .18; } }
.pill { flex: none; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(111,207,151,.16); color: var(--green); min-width: 82px; text-align: center; }
.pill--wait { background: rgba(242,183,5,.16); color: var(--yellow); }
.step__ok { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: rgba(111,207,151,.16); display: grid; place-items: center; color: var(--green); font-size: 14px; }

/* Logiciels : les modules s'assemblent */
.app { display: grid; grid-template-columns: 80px 1fr; gap: 14px; min-height: 260px; }
.app__side { display: grid; gap: 10px; align-content: start; }
.app__side i { height: 10px; border-radius: 5px; background: rgba(245,247,250,.16); display: block; }
.app__side i:first-child { background: var(--blue); }
.app__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.module { border-radius: 12px; padding: 14px; background: rgba(110,155,255,.1); border: 1px dashed rgba(110,155,255,.4); font-size: 13.5px; display: grid; gap: 10px; align-content: start; animation: snap 7s var(--spring) infinite; }
.module i { display: block; height: 6px; border-radius: 3px; background: rgba(245,247,250,.2); }
.module i + i { width: 60%; }
.module:nth-child(2) { animation-delay: .5s; } .module:nth-child(3) { animation-delay: 1s; } .module:nth-child(4) { animation-delay: 1.5s; }
@keyframes snap { 0% { opacity: 0; transform: translate(30px, -20px) rotate(4deg) scale(.9); border-style: dashed; } 14% { opacity: 1; transform: none; } 18%, 88% { border-style: solid; background: rgba(47,111,237,.2); } 100% { opacity: 0; } }

/* Contact : ondes abstraites */
.waves { width: 100%; max-width: 360px; margin: 0 auto; }
.wave { transform-box: fill-box; transform-origin: center; animation: wave 4s ease-out infinite; }
.wave--2 { animation-delay: 1.33s; } .wave--3 { animation-delay: 2.66s; }
@keyframes wave { from { transform: scale(.3); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Formulaires ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: 28px; padding: clamp(22px, 3vw, 44px); display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; color: var(--text-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; background: var(--ink); color: var(--text); border: 1px solid var(--line-2); font: 16px/1.4 var(--sans); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(110,155,255,.2); }
.field--trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { font-size: 14px; color: var(--text-3); }
.form__privacy a { color: var(--text-2); }
.form__status { font-size: 15px; color: var(--green); min-height: 1em; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; text-align: center;
  background: radial-gradient(100% 80% at 50% 0%, rgba(47,111,237,.3), transparent 70%), var(--navy); border: 1px solid rgba(110,155,255,.3); }

/* ---------- Pages juridiques ---------- */
.legal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.legal > * { min-width: 0; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } }
.toc { position: sticky; top: calc(var(--header-h) + 24px); background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.toc summary { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; display: grid; gap: 2px; margin-top: 12px; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; text-decoration: none; color: var(--text-2); font-size: 15px; line-height: 1.35; }
.toc a:hover { background: rgba(255,255,255,.04); }
@media (max-width: 900px) { .toc { position: static; } }
.prose { max-width: 780px; color: var(--text-2); }
.prose > * + * { margin-top: 16px; }
.prose h2 { color: var(--text); font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.02em; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); font-weight: 400; }
.prose h3 { color: var(--text); font-size: 21px; margin-top: 32px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--blue-2); }
.prose a:hover { color: var(--yellow); }
.prose ul { padding-left: 22px; display: grid; gap: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 500; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.prose td:first-child { font-family: var(--mono); font-size: 13px; color: var(--text); white-space: nowrap; }

/* ---------- Page Carte (landing) ---------- */
.landing { min-height: 100vh; padding: 12px; }
.landing__frame { position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; border: 1px solid rgba(110,155,255,.28);
  background: radial-gradient(120% 80% at 50% 0%, #1D3060 0%, var(--navy) 40%, var(--ink) 100%); }
.landing__inner { max-width: 640px; margin: 0 auto; padding: clamp(40px, 8vw, 80px) var(--gutter) 56px; display: grid; gap: clamp(36px, 6vw, 56px); text-align: center; justify-items: center; }
.landing__inner .giant { font-size: clamp(42px, 11vw, 76px); }
.landing__hexa { width: 150px; margin-bottom: -10px; }
.landing__cta { display: grid; gap: 22px; justify-items: center; }
.landing__cta img { width: 96px; }
.landing__domains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; grid-auto-rows: 1fr; }
@media (max-width: 460px) { .landing__domains { grid-template-columns: 1fr; grid-auto-rows: auto; } }
.landing__domains .card { text-align: left; padding: 22px; gap: 8px; }
.landing__domains .card__title { font-size: 20px; }
.direct { width: 100%; border-radius: 26px; padding: 26px; display: grid; gap: 18px;
  background: linear-gradient(135deg, #2F6FED 0%, #1D4FC0 55%, #16337F 100%); box-shadow: 0 30px 60px -30px rgba(47,111,237,.8); }
.direct h2 { font-size: 22px; }
.direct__btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 460px) { .direct__btns { grid-template-columns: 1fr; } }
.direct__btns a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 58px; padding: 10px; border-radius: 16px; text-decoration: none; font-weight: 600; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); transition: background-color .2s, color .2s, transform .25s var(--spring); }
.direct__btns a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: translateY(-2px); }
.landing__need { width: 100%; border-radius: 26px; padding: clamp(26px, 5vw, 40px); display: grid; gap: 14px; justify-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.landing__need h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 6vw, 42px); line-height: 1.05; letter-spacing: -0.02em; }
.landing__sign { font-family: var(--serif); font-weight: 300; font-size: 22px; color: var(--text-2); }

/* ---------- Pied de page ---------- */
.site-footer { padding: 72px 0 36px; color: var(--text-2); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.footer__brand img { width: 92px; }
.footer__doctrine { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; color: var(--text); letter-spacing: -0.02em; }
.footer__list { list-style: none; display: grid; gap: 10px; align-content: start; }
.footer__list a { text-decoration: none; }
.footer__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--text-3); }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .grid > .reveal:nth-child(2), .js .means-big > .reveal:nth-child(2) { transition-delay: .08s; }
.js .grid > .reveal:nth-child(3), .js .means-big > .reveal:nth-child(3) { transition-delay: .16s; }
.js .grid > .reveal:nth-child(4), .js .means-big > .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- Réduire les animations ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .flip__inner { transform: none !important; }
  .flip__back { transform: none; opacity: 0; visibility: hidden; }
  .flip.is-flipped .flip__back { opacity: 1; visibility: visible; }
  .flip.is-flipped .flip__front { opacity: 0; visibility: hidden; }
  .statement--reveal { background: none !important; color: var(--text) !important; }
  .mover, .toast, .wb__cursor { display: none; }
  .step, .module, .status--good .status__row { opacity: 1; }
}
.card__head { flex-wrap: wrap; align-items: baseline; }
.row__name { font-size: clamp(38px, 6.6vw, 100px); }
.mean__row { flex-direction: column; align-items: flex-start; }
.mean .go { position: absolute; top: 22px; right: 22px; }
.mean__name { font-size: clamp(24px, 2.1vw, 30px); overflow-wrap: anywhere; }
.flip__front .price[style] { white-space: normal; font-size: clamp(20px, 1.8vw, 24px) !important; }
.hero--split .giant--md { font-size: clamp(40px, 5.4vw, 86px); }
@media (max-width: 700px) {
  .flip { min-height: min(var(--flip-h, 380px), 440px); }
  .mean { min-height: 170px; }
}

/* ==========================================================================
   V5 — corrections
   ========================================================================== */

/* En-tête : une seule barre arrondie */
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  background: rgba(11,17,32,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); box-shadow: 0 20px 50px -24px rgba(0,0,0,.7);
}
.brand { padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; gap: 16px; align-items: center; }
.brand img { height: 26px; display: block; }
/* le mot WEBENSIS est dans le bas du fichier logo : on aligne la formule sur lui */
.brand__method { align-items: center; height: 26px; padding: 0 0 0 16px; border-left: 1px solid var(--line-2); line-height: 1; transform: translateY(3px); }
.nav__list { background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }
.nav__cta { min-height: 46px; }
@media (max-width: 1000px) {
  .site-header__bar { padding: 8px 8px 8px 18px; }
  .nav { z-index: -1; }
  .nav__list { background: rgba(17,26,44,.9); border: 1px solid var(--line); padding: 10px; }
}

/* Cartes qui se retournent : « Retour » discret en haut à droite, fixe pendant le défilement */
.flip__close {
  position: sticky; top: 0; align-self: flex-end; z-index: 4; flex-shrink: 0;
  width: 38px; height: 38px; margin: -14px -14px -24px 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(17,26,44,.85); color: var(--text-2); border: 1px solid var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .2s, color .2s, border-color .2s, transform .3s var(--spring);
}
.flip__close:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: rotate(90deg); }
.flip__back > .flip__close + * { padding-right: 40px; }
.flip__actions { justify-content: flex-start; }
.flip__actions:empty { display: none; }

/* Note de l'astérisque, à côté du prix */
.price-note { font-size: 12.5px; line-height: 1.45; color: var(--text-3); }
.price-note--hero { max-width: 520px; margin-top: -6px; }
.hero--split .price-note--hero { text-align: left; }
@media (max-width: 920px) { .hero--split .price-note--hero { text-align: center; } }

/* Énoncé simple, sans effet de défilement */
.statement--bold { font-weight: 500; }

/* Accueil : CTA sous les moyens */
.moyens__cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

/* Titres sur une ligne (ordinateur) et textes sans mot isolé */
h1, h2, h3, .final__inner p, .section-head p, .lead { text-wrap: balance; }
.final__title--line { font-size: clamp(34px, 4.6vw, 70px); }
@media (min-width: 900px) { .final__title--line, .nowrap-desk { white-space: nowrap; } }

/* Situations : toute la tuile cliquable, sans flèche */
.situation .card__title { margin-top: auto; }
.situation:hover .mini { border-color: rgba(110,155,255,.45); }

/* Animation B2 « Rubans de lumière » */
.b2 { position: relative; margin: 0; width: 100%; aspect-ratio: 560 / 400; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(47,111,237,.22) 0%, rgba(22,32,51,.65) 50%, rgba(11,17,32,.7) 100%); border: 1px solid rgba(110,155,255,.3);
  box-shadow: 0 50px 100px -40px rgba(47,111,237,.55); }
.b2 svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.b2 text { font-family: var(--sans); }
.b2-lab { font-size: 12px; font-weight: 500; fill: #F5F7FA; }
.b2-labd { font-size: 12px; font-weight: 600; fill: #162033; }
.ribbon { stroke-dasharray: 180 120; animation: rib 3s linear infinite; }
.ribbon.slow { animation-duration: 5s; stroke-dasharray: 260 160; }
.ribbon.fast { animation-duration: 2.2s; stroke-dasharray: 90 140; }
@keyframes rib { to { stroke-dashoffset: -300; } }
.gate { animation: gate 4s ease-in-out infinite; }
@keyframes gate { 0%, 100% { stroke: rgba(110,155,255,.35); fill: rgba(47,111,237,.05); } 6%, 14% { stroke: #F2B705; fill: rgba(242,183,5,.16); } 22% { stroke: rgba(110,155,255,.35); fill: rgba(47,111,237,.05); } }
.arrive { animation: arrive 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes arrive { 0%, 70% { opacity: .45; transform: scale(.96); } 80%, 96% { opacity: 1; transform: none; } 100% { opacity: .45; } }

/* Carte : tuiles en une colonne */
.landing__domains { grid-template-columns: 1fr; grid-auto-rows: auto; }

@media (prefers-reduced-motion: reduce) {
  .ribbon, .gate, .arrive { animation: none !important; }
  .arrive { opacity: 1; }
}
.brand__method { height: auto; line-height: 26px; }
@media (min-width: 1241px) { .brand__method { display: inline-block; } }
@media (max-width: 1240px) { .brand__method { display: none !important; } }
.row__name { font-size: clamp(34px, 5.6vw, 84px); }
.kicker { flex-wrap: wrap; justify-content: center; }
@media (max-width: 700px) { .flip { min-height: min(var(--flip-h, 380px), 400px); } }
@media (max-width: 920px) { .hero--split { grid-template-columns: minmax(0, 1fr); } .hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; } .kicker { letter-spacing: .08em; } }

/* ==========================================================================
   V5.1
   ========================================================================== */
/* Plus aucune trame de lignes dans les héros et la page Carte */
.stage__frame::before { display: none; }

/* Accueil : texte à gauche, hexagone à droite */
.hero__visual--hexa { max-width: 480px; justify-self: center; }
.stage--tall .stage__frame { min-height: 0; }

/* Accueil : énoncé + réseau condensés sur une rangée */
.duo__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.duo__text { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 500; }
@media (max-width: 860px) { .duo__grid { grid-template-columns: 1fr; text-align: center; } }

/* Accueil : interventions plus compactes */
.compact .section-head { margin-bottom: 32px; }
.compact .card { padding: 24px; gap: 12px; }
.compact .card__text { font-size: 15.5px; line-height: 1.55; }
.compact .card__title { font-size: 22px; }

/* Bande défilante : plus petite, un seul style clair */
.marquee { padding: 18px 0; }
.marquee__item, .marquee__item:nth-child(odd) { font-size: clamp(22px, 2.8vw, 38px); color: var(--text-2); -webkit-text-stroke: 0; }
.marquee__track { animation-duration: 50s; }

.section-head .btn { margin-top: 12px; }
.price-tag { align-items: flex-start; text-align: left; }

/* ==========================================================================
   V5.2
   ========================================================================== */
/* Accueil : situations plus proches, titre sur une ligne */
.duo { padding-bottom: 24px; }
.situations-sec { padding-top: clamp(40px, 5vw, 64px); }
.h2--line { font-size: clamp(30px, 3.6vw, 54px); }
@media (min-width: 900px) { .h2--line { white-space: nowrap; } }

/* Web : titre des formules sur deux lignes */
.formules-title { display: grid; gap: 6px; justify-items: center; text-align: center; font-weight: 300; }
.formules-title span:first-child { font-size: clamp(34px, 4vw, 58px); letter-spacing: -0.04em; line-height: 1; }
.formules-title span:last-child { font-family: var(--mono); font-size: clamp(14px, 1.3vw, 17px); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2); }

/* Web : animation W1 « Le site se dessine », plus haute */
.w1 { position: relative; margin: 0; width: 100%; aspect-ratio: 560 / 440; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(47,111,237,.22) 0%, rgba(22,32,51,.65) 50%, rgba(11,17,32,.7) 100%); border: 1px solid rgba(110,155,255,.3);
  box-shadow: 0 50px 100px -40px rgba(47,111,237,.55); }
.w1 svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Animations dans les tuiles (recto) */
.mini--tile { height: 132px; flex-shrink: 0; }
.mini--tile svg, .w1 svg { overflow: hidden; }
.mlab { font: 500 12px var(--sans); fill: #F5F7FA; }
.mlabd { font: 600 12px var(--sans); fill: #162033; }
.mmono { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; fill: #95A1B3; }
.m-draw { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); animation: m-draw 7s ease-in-out infinite; }
@keyframes m-draw { 0% { stroke-dashoffset: var(--len, 600); } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.m-fillin { opacity: 0; animation: m-fillin 7s ease infinite; }
@keyframes m-fillin { 0%, 30% { opacity: 0; } 42%, 85% { opacity: 1; } 100% { opacity: 0; } }
.m-pop { opacity: 0; animation: m-pop 7s cubic-bezier(.34,1.4,.64,1) infinite; }
@keyframes m-pop { 0%, 58% { opacity: 0; transform: translateY(10px) scale(.9); } 66%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.m-spin { transform-box: fill-box; transform-origin: center; animation: m-spin 6s linear infinite; }
@keyframes m-spin { to { transform: rotate(360deg); } }
.m-scan { animation: m-scan 2.6s ease-in-out infinite; }
@keyframes m-scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(78px); } }
.m-tag { opacity: 0; animation: m-tag 5.2s ease infinite; }
@keyframes m-tag { 0%, 20% { opacity: 0; transform: translateX(-8px); } 30%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.m-progress { transform-box: fill-box; transform-origin: left; animation: m-progress 4s ease-in-out infinite; }
@keyframes m-progress { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
.m-ok { opacity: 0; animation: m-ok 4s ease infinite; }
@keyframes m-ok { 0%, 70% { opacity: 0; transform: scale(.4); } 78%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.m-ok, .m-pop, .m-tag { transform-box: fill-box; transform-origin: center; }
.m-wave { animation: m-wave 2.4s ease-out infinite; }
@keyframes m-wave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: .15; } }
.m-bounce { animation: m-bounce 3s ease-in infinite; }
@keyframes m-bounce { 0% { transform: translate(-40px,-40px); opacity: 0; } 15% { opacity: 1; } 45% { transform: translate(48px,6px); } 60% { transform: translate(20px,-30px); opacity: 1; } 75%, 100% { transform: translate(-10px,-60px); opacity: 0; } }
.m-ecg { stroke-dasharray: 420; stroke-dashoffset: 420; animation: m-ecg 2.8s linear infinite; }
@keyframes m-ecg { to { stroke-dashoffset: 0; } }
.m-slide { animation: m-slide 3.2s ease-in-out infinite; }
@keyframes m-slide { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(34px); } }
.m-snap { animation: m-snap 4.8s cubic-bezier(.34,1.4,.64,1) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes m-snap { 0%, 10% { transform: translate(20px,-18px) rotate(8deg); opacity: 0; } 25%, 88% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.m-lock { animation: m-lock 4s ease infinite; }
@keyframes m-lock { 0%, 40% { transform: translateY(0); } 50%, 85% { transform: translateY(-7px); } 100% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .m-fillin, .m-pop, .m-tag, .m-ok, .m-snap { opacity: 1 !important; transform: none !important; }
  .m-draw, .m-ecg { stroke-dashoffset: 0 !important; }
  .m-progress { transform: none !important; }
  .m-bounce, .m-mover { display: none; }
}

/* ==========================================================================
   V5.3
   ========================================================================== */

/* En-tête : Comprendre · Décider · Agir un peu plus grand, en gras */
.brand__method { font-size: 13.5px; font-weight: 700; letter-spacing: .06em; }
.brand__method b { font-weight: 700; }

/* Accueil : l'énoncé respire */
.duo__text { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.32; letter-spacing: -0.02em; font-weight: 400; max-width: 17em; }
.duo__soft { color: var(--blue-2); font-weight: 500; }
.h2--line { font-weight: 600; }

/* Bandeau : WEBENSIS */
.marquee__brand { font-family: var(--cond); font-weight: 700; letter-spacing: .04em; color: var(--text); font-style: normal; }

/* Moyens : au survol, la flèche s'efface et le nom se centre */
.row__name { white-space: nowrap; font-size: clamp(22px, 5.2vw, 76px); }
.row .go { transition: opacity .2s, transform .3s var(--ease); }
@media (hover: hover) {
  .row:hover { grid-template-columns: minmax(0, 1fr); }
  .row:hover .go { display: none; }
  .row:hover .row__name { justify-self: center; transform: none; color: var(--blue-2); }
}

/* Cartes : la carte ouverte prend toute la largeur de sa série (choix A) */
@keyframes wbsOpen { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
[data-flip-group] .flip.is-flipped { grid-column: 1 / -1; min-height: 0; height: auto; perspective: none; }
[data-flip-group] .flip.is-flipped .flip__inner { transform: none; transition: none; min-height: 0; height: auto; }
[data-flip-group] .flip.is-flipped .flip__front { display: none; }
[data-flip-group] .flip.is-flipped .flip__back {
  position: relative; inset: auto; transform: none; overflow: visible; height: auto;
  padding: clamp(26px, 3.4vw, 48px); gap: 16px; animation: wbsOpen .45s var(--ease) both;
}
[data-flip-group] .flip.is-flipped .flip__back .card__title { font-size: clamp(24px, 2.4vw, 34px); max-width: 30em; }
[data-flip-group] .flip.is-flipped .flip__back p { max-width: 72ch; }
[data-flip-group] .flip.is-flipped .flip__back .flip__close { position: absolute; top: 18px; right: 18px; }
[data-flip-group] .flip.is-flipped .flip__actions { justify-content: flex-start; padding-top: 12px; }
@media (min-width: 901px) {
  [data-flip-group].has-open > .flip:not(.is-flipped) { display: none; }
  [data-flip-group] .flip.is-flipped .flip__back ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; row-gap: 14px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  [data-flip-group] .flip.is-flipped .flip__back { opacity: 1; visibility: visible; animation: none; }
}

/* Automatisation & IA : bandeau final aéré */
.final--airy .final__inner { gap: 40px; padding-block: clamp(20px, 3vw, 40px); }
.final--airy .final__title { font-size: clamp(34px, 4.4vw, 66px); line-height: 1.12; max-width: 14em; text-wrap: balance; }

/* Informatique & logiciels : constellation dans le héros */
.cst { position: relative; margin: 0; width: 100%; aspect-ratio: 560 / 440; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(47,111,237,.22) 0%, rgba(22,32,51,.65) 50%, rgba(11,17,32,.7) 100%); border: 1px solid rgba(110,155,255,.3);
  box-shadow: 0 50px 100px -40px rgba(47,111,237,.55); }
.cst svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cs-lab { font-family: var(--sans); font-size: 12px; font-weight: 500; fill: #F5F7FA; }
.cs-mono { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; fill: #95A1B3; }
.cs-monob { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; fill: #6E9BFF; }
.cs-node { animation: csNode 9s ease-in-out infinite; }
@keyframes csNode { 0%, 8% { opacity: .35; } 14%, 88% { opacity: 1; } 100% { opacity: .35; } }
.cs-halo { opacity: 0; transform-box: fill-box; transform-origin: center; animation: csHalo 9s ease-out infinite; }
@keyframes csHalo { 0%, 8% { opacity: 0; transform: scale(.6); } 14% { opacity: .9; } 30%, 100% { opacity: 0; transform: scale(1.9); } }
.cs-hub { animation: csHub 3s ease-in-out infinite; }
@keyframes csHub { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.cs-orbit { transform-origin: 280px 220px; animation: csSpin 60s linear infinite; }
@keyframes csSpin { to { transform: rotate(360deg); } }
.cs-out { opacity: 0; animation: csOut 9s ease infinite; }
@keyframes csOut { 0%, 55% { opacity: 0; transform: translateY(6px); } 64%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cs-node, .cs-out { opacity: 1; } .cs-halo { display: none; } }
.projet-sec { padding-top: clamp(32px, 4vw, 56px); }

/* Contact : page courte, le formulaire visible dès l'arrivée */
.contact-page { padding: clamp(20px, 3vw, 36px) 0 clamp(48px, 6vw, 80px); }
.contact-page__head { display: grid; gap: 10px; justify-items: start; margin-bottom: clamp(18px, 2.4vw, 28px); }
.contact-page__title { font-weight: 300; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -0.04em; margin: 0; }
.contact-page__title em { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--blue-2); }
.contact-page .lead { margin: 0; }
.contact-page__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr); gap: clamp(24px, 3.6vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-page__grid { grid-template-columns: 1fr; } }
.form--compact { gap: 14px; padding: clamp(18px, 2.4vw, 30px); }
.form--compact .form__row { gap: 14px; }
.form--compact .field { gap: 6px; }
.form--compact .field label { font-size: 14px; }
.form--compact .field input, .form--compact .field select { min-height: 46px; padding: 10px 14px; }
.form--compact .field textarea { min-height: 112px; }
.form__row--end { align-items: end; }
.form--compact .form__privacy { font-size: 13px; margin: 0; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.steps3 { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; padding-left: clamp(18px, 2vw, 28px); border-left: 1px solid var(--line-2); }
.steps3 ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.steps3 li { display: grid; gap: 4px; color: var(--text); font-size: 17px; }
.steps3__k { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2); }
.steps3__free { margin: 0; color: var(--text-2); font-size: 15px; }
.steps3__mail { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.steps3__mail a { color: var(--text); }
@media (max-width: 900px) { .steps3 { position: static; border-left: 0; border-top: 1px solid var(--line-2); padding: 22px 0 0; } }

/* La face avant donne sa hauteur à la carte : plus de chevauchement sur téléphone */
[data-flip-group] .flip__front { position: relative; inset: auto; min-height: inherit; height: 100%; }
[data-flip-group] .flip:not(.is-flipped) .flip__back { display: none; }
@media (min-width: 1200px) {
  [data-flip-group] .flip.is-flipped .flip__back ul.deflist { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; row-gap: 12px; }
  [data-flip-group] .flip.is-flipped .flip__back { gap: 12px; padding-block: 30px; }
  [data-flip-group] .flip.is-flipped .flip__back .deflist li { font-size: 15.5px; line-height: 1.5; }
}

/* ==========================================================================
   V5.4
   ========================================================================== */
.h2--bold { font-weight: 600; letter-spacing: -0.035em; }
/* Pied de page : logo complet, devise sur une ligne */
.footer__brand img.footer__logo { width: 168px; height: auto; }
.footer__doctrine { white-space: nowrap; font-size: clamp(22px, 2.2vw, 32px); }
@media (max-width: 420px) { .footer__doctrine { white-space: normal; } }
/* Informatique & logiciels : les deux séries se rapprochent */
.il-info { padding-bottom: clamp(16px, 2vw, 28px); }
.il-logiciels { padding-top: clamp(28px, 3vw, 44px); }
/* Web : les prix tiennent sur une ligne */
.plan__price, #formules .price { white-space: nowrap; }

/* ==========================================================================
   V5.5 : photos du site actuel en filigrane
   ========================================================================== */
/* Héros : la photo derrière, la voie lactée et l'animation par-dessus */
.landing__frame { position: relative; isolation: isolate; }
.stage__photo {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-size: cover; background-position: right center; background-repeat: no-repeat;
  opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 30%, #000 62%), linear-gradient(180deg, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 30%, #000 62%); 
}
.stage__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,17,32,.55) 0%, transparent 30%, transparent 70%, rgba(11,17,32,.6) 100%); }
@media (max-width: 860px) {
  .stage__photo { opacity: .35; background-position: 72% center; -webkit-mask-image: none; mask-image: none; }
}

/* Contact : la photo du site actuel dans la colonne de droite */
.steps3--photo {
  position: relative; isolation: isolate; overflow: hidden; border: 1px solid rgba(110,155,255,.28); border-radius: 28px;
  padding: clamp(24px, 2.6vw, 34px); min-height: 100%; align-content: start;
  background: linear-gradient(180deg, #0E1730 0%, #0B1120 100%);
  box-shadow: 0 40px 90px -50px rgba(47,111,237,.6);
}
.steps3__photo {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(../img/07-contact-hero-logo.webp) 86% 100% / auto 92% no-repeat;
}
.steps3__photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,17,32,.94) 0%, rgba(11,17,32,.82) 38%, rgba(11,17,32,.25) 62%, rgba(11,17,32,0) 80%); }
.contact-page__grid { align-items: stretch; }
.steps3--photo { position: relative; top: auto; }
@media (min-width: 901px) { .steps3--photo { padding-bottom: 300px; } }
@media (max-width: 900px) {
  .steps3--photo { border-top: 1px solid rgba(110,155,255,.28); padding-bottom: 240px; }
  .steps3__photo { background-position: 74% 100%; background-size: auto 115%; }
}

/* Pied de page : les montagnes */
.site-footer { position: relative; isolation: isolate; overflow: hidden; }
.footer__mountains {
  position: absolute; left: 0; right: 0; bottom: 0; height: min(420px, 70%); z-index: -1; pointer-events: none;
  background: url(../img/08-offre-bandeau-montagnes.webp) center 80% / cover no-repeat; opacity: .6;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%); mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
}
/* Informatique & logiciels : l'écran au logo passe derrière l'animation, pas sous le titre */
@media (min-width: 861px) { .stage__photo--03 { background-size: auto 112%; background-position: calc(100% + 300px) 40%; } }
@media (max-width: 860px) { .stage__photo--03 { background-position: 100% center; } }

/* ==========================================================================
   V5.6 : la photo du héros continue en filigrane sous toute la page
   Réglage : changer --page-photo-opacity (0 = invisible, 1 = photo pleine)
   ========================================================================== */
:root { --page-photo-opacity: .22; }
.page-photo {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-size: cover; background-position: right center; background-repeat: no-repeat;
  opacity: var(--page-photo-opacity);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0%, #000 55%); mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0%, #000 55%);
}
.page-photo--03 { background-position: 85% center; }
@media (max-width: 860px) { .page-photo { background-position: 72% center; -webkit-mask-image: none; mask-image: none; } .page-photo--03 { background-position: 100% center; } }
/* les sections laissent passer la photo */
main:has(.page-photo) .section--panel { background: linear-gradient(180deg, rgba(11,17,32,.45) 0%, rgba(17,26,44,.6) 100%); }
main:has(.page-photo) ~ .site-footer { background: linear-gradient(180deg, rgba(11,17,32,.0) 0%, rgba(11,17,32,.35) 100%); }

/* ==========================================================================
   V5.7 : une seule photo, fixe ; tout le reste défile par-dessus
   Réglages : --page-photo-opacity (intensité de la photo)
              --page-veil (voile sombre des sections sous le héros : 0 = aucun, .8 = très sombre)
   ========================================================================== */
:root { --page-photo-opacity: .5; --page-veil: .55; }
/* le héros laisse voir la photo fixe au lieu d'avoir sa propre photo */
.stage__frame--see { background: linear-gradient(180deg, rgba(26,42,77,.35) 0%, rgba(22,32,51,.15) 45%, rgba(11,17,32,.35) 100%); }
/* sous le héros, un voile régulier : la photo reste visible en filigrane sans cassure */
main:has(.page-photo) > section:not(.stage) { background: rgba(11,17,32,var(--page-veil)); }
main:has(.page-photo) > section.section--panel { background: rgba(14,21,38,var(--page-veil)); }
main:has(.page-photo) > .marquee, main:has(.page-photo) > div:not(.page-photo) { background: rgba(11,17,32,var(--page-veil)); }
main:has(.page-photo) ~ .site-footer { background: rgba(11,17,32,var(--page-veil)); }
.page-photo { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0%, #000 50%); mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0%, #000 50%); }

/* ==========================================================================
   V5.8
   ========================================================================== */
/* Pied de page : devise 10 % plus petite */
.footer__doctrine { font-size: clamp(20px, 1.98vw, 29px); }

/* Héros sur photo fixe : plus de cadre marqué ni de bande bleue en bas, transition douce vers la suite */
.stage:has(.stage__frame--see) { padding: 0; }
.stage__frame--see {
  border: 0; border-radius: 0; box-shadow: none;
  background: linear-gradient(180deg, rgba(26,42,77,.35) 0%, rgba(22,32,51,.12) 45%, rgba(11,17,32,.3) 72%, rgba(11,17,32,var(--page-veil)) 100%);
}

/* Contact : logo horizontal officiel en surimpression, net à toutes les tailles */
.steps3__logo { position: absolute; right: 22px; bottom: 22px; width: 150px; height: auto; z-index: 1; filter: drop-shadow(0 2px 10px rgba(11,17,32,.85)); pointer-events: none; }
.stage__frame--see .milky { -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 76%); mask-image: linear-gradient(180deg, #000 45%, transparent 76%); }

/* ==========================================================================
   V5.9 : photo de fond centrée sur la scène, fondu bleu WEBENSIS sur les côtés
   ========================================================================== */
.page-photo {
  opacity: 1; -webkit-mask-image: none; mask-image: none; background: none;
  background-color: #0B1120;
  background-image:
    radial-gradient(60% 80% at 0% 50%, rgba(47,111,237,.32), transparent 70%),
    radial-gradient(60% 80% at 100% 50%, rgba(47,111,237,.32), transparent 70%);
}
.page-photo__img {
  position: absolute; inset: 0; opacity: var(--page-photo-opacity);
  --img-w: calc(var(--ratio) * 100vh);
  --img-x: calc(50vw - var(--focus) * var(--img-w));
  background-repeat: no-repeat; background-size: var(--img-w) 100%; background-position: var(--img-x) center;
  /* fondu aux bords de la photo : elle se perd dans le bleu */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 22%, #000 48%, #000 84%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 22%, #000 48%, #000 84%, transparent 100%);
  -webkit-mask-size: var(--img-w) 100%; mask-size: var(--img-w) 100%;
  -webkit-mask-position: var(--img-x) center; mask-position: var(--img-x) center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
@media (max-width: 860px) { .page-photo__img { opacity: calc(var(--page-photo-opacity) * .8); } }
/* téléphone : cadrage propre à chaque photo si besoin (logo jamais coupé) */
@media (max-width: 860px) { .page-photo__img { --img-x: calc(50vw - var(--focus-m, var(--focus)) * var(--img-w)); } }

/* ==========================================================================
   V5.10
   ========================================================================== */
/* Surtitres des héros en gras ; « Comprendre · Décider · Agir » de l'accueil 5 % plus grand */
.kicker { font-weight: 700; }
.kicker--cda { font-size: 1.05em; }

/* Moyens (accueil) : plus de flèche */
.row, .row:hover { grid-template-columns: minmax(0, 1fr); }

/* Animations des héros : intitulés plus lisibles */
.cs-lab { font-size: 16px; font-weight: 500; }
.cs-mono, .cs-monob { font-size: 13px; letter-spacing: .12em; }
.b2-lab--lg { font-size: 17px; font-weight: 600; }
.b2-labd--lg { font-size: 16px; font-weight: 700; }
.w1-lab { font: 700 16px var(--sans); fill: #162033; }

/* Cartes ouvertes : apparition plus douce et plus lente, retour en fondu des autres cartes */
@keyframes wbsOpenSoft { from { opacity: 0; transform: translateY(8px) scale(.995); } to { opacity: 1; transform: none; } }
[data-flip-group] .flip.is-flipped .flip__back { animation: wbsOpenSoft .85s cubic-bezier(.22,.61,.36,1) both; }
@keyframes wbsBack { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
[data-flip-group].was-open > .flip { animation: wbsBack .7s cubic-bezier(.22,.61,.36,1) both; }
@media (prefers-reduced-motion: reduce) { [data-flip-group].was-open > .flip, [data-flip-group] .flip.is-flipped .flip__back { animation: none; } }

/* ==========================================================================
   V5.11 : corps de texte
   ========================================================================== */
/* Correctif : surtitre de l'accueil = 13 px + 5 % (et non 5 % du texte courant) */
.kicker--cda { font-size: 13.65px; }

/* Titres des héros (phrases d'accroche) en semi-gras, partie en italique comprise */
.stage .giant { font-weight: 600; letter-spacing: -0.04em; }
.stage .giant em { font-weight: 500; }

/* Petits textes en police à chasse fixe : plus lisibles */
.card__label { font-size: 13px; }
.mention { font-size: 13.5px; }
.tags { font-size: 14px; }
.price-note { font-size: 13.5px; }
.form__privacy, .form--compact .form__privacy { font-size: 14px; }

/* Accueil, interventions : prix et textes alignés sur le reste du site */
.compact .price { font-size: 16px; }
.compact .card__text { font-size: 16px; }

/* Titres des cartes : poids intermédiaire, hiérarchie nette sous les titres de section */
.card__title { font-weight: 500; }

/* ==========================================================================
   ADAPTATION WORDPRESS (thème WEBENSIS v3)
   ========================================================================== */
:root { --wp-admin-h: var(--wp-admin--admin-bar--height, 0px); }
.wp-site-blocks { padding: 0 !important; }
.wp-block-image img { height: auto; }

/* Header : la partie de modèle colle en haut (le header seul ne peut pas coller dans son conteneur) */
.wbs-header-part { position: sticky; top: var(--wp-admin-h); z-index: 60; height: var(--header-h); }
.wbs-header-part .site-header { position: relative; top: 0; }
.admin-bar .stage { margin-top: calc(-1 * var(--header-h)); }
/* Héros en premier bloc de la page : WordPress remet la marge du premier enfant à 0, on la rétablit. */
.wbs-main > .stage:first-child { margin-top: calc(-1 * var(--header-h)); }
.flip__back > .flip__close { margin: -14px -14px -24px 0; }

/* Boutons natifs (wp:buttons) */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wp-block-button { margin: 0; }
.wp-block-button__link.btn { border-radius: 999px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.hero--split .hero__actions { justify-content: flex-start; }
@media (max-width: 920px) { .hero--split .hero__actions { justify-content: center; } }
.hero__actions > .wp-block-buttons { display: contents; }
.hero__actions > p.price { margin: 0; }
.moyens__cta > .wp-block-buttons { justify-content: center; }
.section-head .wp-block-buttons { justify-content: center; }

/* Cartes qui s'ouvrent : bouton « En savoir plus » en bas de la face avant */
.flip__front > .wbs-more-wrap { margin-top: auto; }
.flip__front > .wbs-more-wrap .wp-block-button { margin: 0; }
.flip__back > .flip__actions { margin-top: auto; padding-top: 6px; justify-content: flex-start; }
.flip-h-440 { --flip-h: 440px; } .flip-h-460 { --flip-h: 460px; } .flip-h-500 { --flip-h: 500px; } .flip-h-540 { --flip-h: 540px; } .flip-h-600 { --flip-h: 600px; }
html:not(.js) .flip__back { position: relative; transform: none; inset: auto; margin-top: 12px; }
html:not(.js) .flip__inner { transform: none; }
[data-flip-group] .flip.is-flipped .flip__back { animation-duration: var(--flip-speed, 850ms); }

/* Classes de mise en forme (remplacent les styles en ligne de la maquette) */
.price--20 { font-size: 20px !important; white-space: nowrap; }
.flip__front .price--20 { white-space: normal; font-size: clamp(20px, 1.8vw, 24px) !important; }
.price--text { color: var(--text) !important; }
.mt-28 { margin-top: 28px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-0 { margin-bottom: 0 !important; }
.section-head--wide { max-width: 1200px; }
.kicker--list { list-style: none; gap: 14px; }
.kicker--list li { list-style: none; }
.landing__center { display: grid; gap: 20px; justify-items: center; }

/* Moyens de l'accueil : lignes = paragraphes avec un lien */
.rows .row { display: block; padding: clamp(18px, 2.4vw, 30px) 0; border-top: 1px solid var(--line-2); }
.rows .row a { display: block; font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 5.2vw, 76px); line-height: .88; white-space: nowrap; text-decoration: none; color: var(--text); transition: color .25s; }
@media (hover: hover) { .rows .row a:hover { color: var(--blue-2); text-align: center; } }

/* Graisses réglables (Apparence > Réglages WEBENSIS) */
.stage .giant { font-weight: var(--hero-weight, 600); }
.stage .giant em { font-weight: calc(var(--hero-weight, 600) - 100); }
.h2--bold, .h2--line { font-weight: var(--title-weight, 600); }

/* Photo de fond : réglages du thème */
.page-photo__img { opacity: var(--page-photo-opacity, .5); }

/* Pied de page : le conteneur de la partie de modèle */
.wbs-main:has(.page-photo) ~ .wbs-footer-part .site-footer { background: rgba(11,17,32,var(--page-veil)); }
.wbs-main:has(.page-photo) > section:not(.stage) { background: rgba(11,17,32,var(--page-veil)); }
.wbs-main:has(.page-photo) > section.section--panel { background: rgba(14,21,38,var(--page-veil)); }
.wbs-main:has(.page-photo) > .marquee { background: rgba(11,17,32,var(--page-veil)); }
.site-footer--carte .footer__bottom { border-top: 0; justify-content: center; flex-wrap: wrap; gap: 8px 24px; }
.footer__inline { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__inline a { color: var(--text-2); }

/* Contact : colonne de droite (photo en arrière-plan du groupe, modifiable dans l'éditeur) */
.steps3--photo { background-color: #0B1120; isolation: isolate; }
.steps3--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,17,32,.94) 0%, rgba(11,17,32,.82) 38%, rgba(11,17,32,.25) 62%, rgba(11,17,32,0) 80%); }
.steps3--photo .wp-block-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.steps3--photo .wp-block-list li { display: grid; gap: 4px; color: var(--text); font-size: 17px; }
figure.steps3__logo { position: absolute; right: 22px; bottom: 22px; width: 150px; margin: 0; z-index: 1; pointer-events: none; }
figure.steps3__logo img { width: 150px; filter: drop-shadow(0 2px 10px rgba(11,17,32,.85)); }
@media (max-width: 900px) { .steps3--photo { background-position: 74% 100% !important; background-size: auto 115% !important; } }

/* Formulaire de l'extension WEBENSIS Core : mise en page compacte de la maquette */
.wbs-form { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: 28px; padding: clamp(18px, 2.4vw, 30px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; position: relative; }
.wbs-form > * { grid-column: 1 / -1; }
.wbs-form .wbs-form__field { display: grid; gap: 6px; grid-column: auto; }
.wbs-form .wbs-form__field--full { grid-column: 1 / -1; }
.wbs-form label { font-size: 14px; color: var(--text-2); }
.wbs-form__req { color: var(--text-2); }
.wbs-form__opt { color: var(--text-3); }
.wbs-form input, .wbs-form select, .wbs-form textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 14px; background: var(--ink); color: var(--text);
  border: 1px solid var(--line-2); font: 16px/1.4 var(--sans); transition: border-color .2s, box-shadow .2s; }
.wbs-form textarea { min-height: 112px; resize: vertical; }
.wbs-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.wbs-form input:focus, .wbs-form select:focus, .wbs-form textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(110,155,255,.2); }
.wbs-form ::placeholder { color: var(--text-3); }
.wbs-form__privacy { font-size: 14px; color: var(--text-3); margin: 0; }
.wbs-form__privacy a { color: var(--text-2); }
.wbs-form__error { font-size: 13px; color: #FF8A8A; min-height: 0; }
.wbs-form__status:empty { display: none; }
.wbs-form__status { border-radius: 14px; padding: 12px 16px; font-size: 15px; }
.wbs-form__status.is-success { background: rgba(111,207,151,.12); color: #6FCF97; border: 1px solid rgba(111,207,151,.35); }
.wbs-form__status.is-error { background: rgba(235,87,87,.12); color: #FF8A8A; border: 1px solid rgba(235,87,87,.35); }
.wbs-form__actions { display: flex; align-items: center; gap: 14px; }
/* Core 1.3.0 : préférence de contact et bouton sur une même ligne (maquette V5.11) */
.wbs-form__end { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
@media (max-width: 600px) { .wbs-form__end { grid-template-columns: 1fr; } }
.landing__logo { margin: 0; }
.landing__logo img { width: 96px; height: auto; }
.wbs-form__submit { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px var(--sans); background: var(--yellow); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(242,183,5,.6); transition: transform .25s var(--spring), background-color .2s; }
.wbs-form__submit:hover { background: var(--yellow-2); transform: translateY(-2px); }
.wbs-form__submit svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(11,17,32,.14); box-sizing: border-box; }
@media (max-width: 600px) { .wbs-form { grid-template-columns: 1fr; } }
.contact-page__grid > .wbs-form, .contact-page__grid > form { align-self: start; }

/* Contact direct (page Carte) */
.wbs-direct { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.wbs-direct.has-1 { grid-template-columns: 1fr; } .wbs-direct.has-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 460px) { .wbs-direct { grid-template-columns: 1fr !important; } }
.wbs-direct__btn { display: flex; gap: 8px; align-items: center; justify-content: center; text-align: center; min-height: 58px; padding: 10px; border-radius: 16px; text-decoration: none; font-weight: 600; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); transition: background-color .2s, color .2s, transform .25s var(--spring); }
.wbs-direct__btn:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: translateY(-2px); }
.wbs-direct__btn svg { width: 20px; height: 20px; }

/* Pages juridiques : sommaire automatique + texte */
.wbs-legal .wbs-legal__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.wbs-legal .wbs-legal__layout > * { min-width: 0; }
@media (max-width: 900px) { .wbs-legal .wbs-legal__layout { grid-template-columns: 1fr; } }
.wbs-toc { position: sticky; top: calc(var(--header-h) + 24px + var(--wp-admin-h)); }
.wbs-toc__details { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.wbs-toc__title { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); cursor: pointer; list-style: none; }
.wbs-toc__title::-webkit-details-marker { display: none; }
.wbs-toc__list { list-style: none; display: grid; gap: 2px; margin-top: 12px !important; padding: 0; }
.wbs-toc__list a { display: block; padding: 7px 10px; border-radius: 10px; text-decoration: none; color: var(--text-2); font-size: 15px; line-height: 1.35; }
.wbs-toc__list a:hover { background: rgba(255,255,255,.04); color: var(--text); }
@media (max-width: 900px) { .wbs-toc { position: static; } }
.wbs-legal__body { max-width: 780px; color: var(--text-2); }
.wbs-legal__body > * + * { margin-top: 16px !important; }
.wbs-legal__body h2 { color: var(--text); font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.02em; margin-top: 52px !important; padding-top: 26px; border-top: 1px solid var(--line); font-weight: 400; }
.wbs-legal__body h2:first-child, .wbs-legal__body .wbs-legal__date + h2 { margin-top: 24px !important; }
.wbs-legal__body h3 { color: var(--text); font-size: 21px; margin-top: 32px !important; }
.wbs-legal__body strong { color: var(--text); font-weight: 600; }
.wbs-legal__body a { color: var(--blue-2); }
.wbs-legal__body a:hover { color: var(--yellow); }
.wbs-legal__body ul, .wbs-legal__body ol { padding-left: 22px; display: grid; gap: 8px; }
.wbs-legal__body table { width: 100%; border-collapse: collapse; font-size: 14.5px; display: block; overflow-x: auto; }
.wbs-legal__body th, .wbs-legal__body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.wbs-legal__body th { color: var(--text); font-weight: 500; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.wbs-legal__date { font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.wbs-legal__contact { margin-top: 48px !important; padding-top: 20px; border-top: 1px solid var(--line); }

/* Lien d'évitement et texte pour lecteurs d'écran */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Menu mobile : le flou du bandeau enfermait le panneau dans le header (maquette comprise) */
@media (max-width: 1000px) { .nav-open .site-header__bar { -webkit-backdrop-filter: none; backdrop-filter: none; } }
