/* Landing Weblace (www.weblace.fr) : base charte Ruban (chartes.css), scènes sombres en aubergine, l'encre de la charte.
   La mosaïque et le mur de pages sont communs aux sites de démo (/_vitrine/vitrine.js, sites.json, captures). */

:root {
  --nuit: #1E0F24; --nuit-2: #2B1533; --sur-nuit: #FBF3F7; --nuit-doux: #CDB4D4; --nuit-trait: rgba(251, 243, 247, .14);
  --rose: #F45D92;
  --courbe: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden; background: var(--fond); color: var(--encre);
  font: 400 1.0625rem/1.65 var(--texte); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.scene :focus-visible, .france :focus-visible, .appel :focus-visible { outline-color: var(--rose); }
.invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 16px; top: -60px; z-index: 70; padding: 10px 16px; border-radius: 999px; background: var(--surface); font-weight: 800; }
.evitement:focus { top: 12px; }
.cadre { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
.ancre { position: absolute; top: 0; }
p { text-wrap: pretty; }

h1, h2, h3, legend, .defile, .marque-mot, .tarif-prix {
  font-family: var(--titre); font-weight: var(--titre-graisse); font-variation-settings: var(--titre-variation);
  letter-spacing: var(--titre-approche); line-height: var(--titre-interligne);
}
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); margin: 0; }
h3 { margin: 0; }

/* Têtes de section : titre à gauche, chapeau à droite */
.tete { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.tete h2 { max-width: 15ch; }
.tete p { margin: 0; max-width: 46ch; color: var(--gris); font-size: 1.1rem; }

/* ---------- Boutons ---------- */
.bouton {
  --b-fond: var(--accent); --b-encre: var(--sur-accent);
  appearance: none; position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: var(--rayon-bouton); color: var(--b-encre); text-decoration: none; cursor: pointer; white-space: nowrap;
  font: 800 1rem/1 var(--texte);
  background: radial-gradient(120% 140% at 30% 0%, #DE3A72 0%, var(--b-fond) 55%, var(--accent-fonce) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 26px -14px var(--accent);
  transition: transform .18s cubic-bezier(.3,.7,.4,1), box-shadow .18s;
}
.bouton::after { content: ""; position: absolute; inset: 5px; border-radius: inherit; border: 1.5px dashed currentColor; opacity: .5; pointer-events: none; }
.bouton:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 16px 30px -12px var(--accent); }
.bouton:active { transform: none; }
.bouton:disabled { opacity: .55; cursor: progress; transform: none; }
.bouton-grand { min-height: 60px; padding: 0 34px; font-size: 1.08rem; }
.bouton-clair { --b-encre: var(--accent-fonce); background: var(--sur-nuit); box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); }
.bouton-discret { --b-encre: var(--encre); background: transparent; box-shadow: inset 0 0 0 2px var(--trait); }
.bouton-discret::after, .bouton-clair::after { opacity: .35; }
.bouton-discret::after { display: none; }
.bouton-discret:hover { box-shadow: inset 0 0 0 2px var(--encre); }

/* ---------- En-tête ---------- */
.entete { position: fixed; inset: 0 0 auto; z-index: 40; color: var(--sur-nuit); transition: background .35s, color .35s, box-shadow .35s; }
.entete-cadre { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.entete.passe { color: var(--encre); background: color-mix(in srgb, var(--fond) 86%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--trait); }
.marque { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.marque .logo { width: 40px; height: 40px; flex: none; }
.marque-mot { font-size: 1.45rem; line-height: 1; }
.entete-nav { display: flex; gap: 24px; margin-left: auto; font-weight: 700; font-size: .95rem; }
.entete-nav a { text-decoration: none; opacity: .8; transition: opacity .2s; }
.entete-nav a:hover { opacity: 1; text-decoration: underline; text-decoration-thickness: 2px; }
.entete-nav + .nav-tel { margin-left: 0; }
.nav-tel { flex: none; display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 10px 14px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font-weight: 800; font-size: .92rem; background: color-mix(in srgb, currentColor 10%, transparent); color: inherit; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 22%, transparent); }
.nav-tel svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.nav-tel.revele { background: var(--rose); color: var(--nuit); box-shadow: none; }
.appel-direct { display: none; position: relative; flex: none; width: 40px; height: 40px; margin-left: auto; border-radius: 50%; place-items: center; text-decoration: none; color: inherit;
  background: color-mix(in srgb, currentColor 10%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 22%, transparent); }
.appel-direct svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.appel-direct-06 { position: absolute; right: -5px; bottom: -3px; padding: 1px 4px; border-radius: 999px; background: var(--rose); color: var(--nuit); font: 800 .6rem/1.2 var(--texte); letter-spacing: .02em; }
.entete .bouton { min-height: 46px; padding: 0 20px; font-size: .95rem; }

/* Drapeau : un tissu tricolore qui ondule, et la Bretagne qui se dévoile au survol */
.drapeau { display: inline-flex; align-items: center; gap: 0; padding: 7px 9px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .82rem;
  background: color-mix(in srgb, currentColor 9%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 16%, transparent); transition: gap .35s var(--courbe), padding .35s var(--courbe); }
.drapeau-tissu { display: flex; width: 27px; height: 18px; border-radius: 3px; overflow: hidden; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.drapeau-tissu i { flex: 1; animation: ondule 2.4s ease-in-out infinite; animation-delay: calc(var(--k) * -0.18s); }
.drapeau-tissu i:nth-child(-n+3) { background: #0055A4; } .drapeau-tissu i:nth-child(n+4):nth-child(-n+6) { background: #FFFFFF; } .drapeau-tissu i:nth-child(n+7) { background: #EF4135; }
.drapeau-tissu i:nth-child(1) { --k: 0; } .drapeau-tissu i:nth-child(2) { --k: 1; } .drapeau-tissu i:nth-child(3) { --k: 2; } .drapeau-tissu i:nth-child(4) { --k: 3; }
.drapeau-tissu i:nth-child(5) { --k: 4; } .drapeau-tissu i:nth-child(6) { --k: 5; } .drapeau-tissu i:nth-child(7) { --k: 6; } .drapeau-tissu i:nth-child(8) { --k: 7; } .drapeau-tissu i:nth-child(9) { --k: 8; }
@keyframes ondule { 0%, 100% { transform: translateY(-1.5px) scaleY(.94); filter: brightness(1.08); } 50% { transform: translateY(1.5px) scaleY(1); filter: brightness(.9); } }
.drapeau-texte { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .45s var(--courbe), opacity .3s; }
.drapeau:hover, .drapeau:focus-visible { gap: 9px; padding-right: 13px; }
.drapeau:hover .drapeau-texte, .drapeau:focus-visible .drapeau-texte { max-width: 160px; opacity: 1; }

/* ---------- Menu rapide : une colonne de traits sur le côté, les noms au survol ---------- */
.rail { position: fixed; right: clamp(8px, 1.4vw, 22px); top: 50%; z-index: 35; transform: translate(14px, -50%); opacity: 0; pointer-events: none; transition: opacity .35s, transform .45s var(--courbe); }
.rail.visible { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.rail-poignee, .rail-tel { display: none; }
.defileur { display: none; }
.rail-tel button, .rail-tel a { display: block; margin-top: 6px; padding: 9px 14px; border: 0; border-radius: 999px; background: var(--doux); color: var(--accent); font-weight: 800; font-size: .92rem; text-decoration: none; cursor: pointer; }
.rail-tel span { all: unset; }
.rail-liste { list-style: none; margin: 0; padding: 10px 6px; display: grid; gap: 2px; justify-items: end; }
.rail-liste a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 5px 6px; text-decoration: none; color: var(--encre); font-weight: 700; font-size: .86rem; }
.rail-liste a::after { content: ""; width: 14px; height: 2.5px; border-radius: 2px; background: color-mix(in srgb, var(--encre) 30%, transparent); transition: width .3s var(--courbe), background .3s; }
.rail-liste span { padding: 4px 10px; border-radius: 999px; background: var(--surface); box-shadow: 0 6px 18px -8px rgba(30,10,40,.35); opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .3s var(--courbe); white-space: nowrap; pointer-events: none; }
.rail-liste a[aria-current="true"]::after { width: 28px; background: var(--accent); }
.rail-liste a:hover::after { width: 22px; background: var(--accent); }
.rail:hover .rail-liste span, .rail:focus-within .rail-liste span { opacity: 1; transform: none; pointer-events: auto; }
.rail-liste a[aria-current="true"] span { color: var(--accent); }
.rail.sombre .rail-liste a::after { background: color-mix(in srgb, var(--sur-nuit) 40%, transparent); }
.rail.sombre .rail-liste a[aria-current="true"]::after, .rail.sombre .rail-liste a:hover::after { background: var(--rose); }

/* ---------- Scène d'ouverture : le mur de pages ---------- */
.scene {
  position: relative; isolation: isolate; overflow: hidden; min-height: max(720px, 100svh);
  display: flex; align-items: center; padding-block: 104px 56px; background: var(--nuit); color: var(--sur-nuit);
}
.scene::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--nuit) 0%, rgba(30,15,36,.95) 34%, rgba(30,15,36,.6) 60%, rgba(30,15,36,.12) 100%),
    linear-gradient(0deg, var(--nuit) 0%, transparent 22%),
    linear-gradient(180deg, rgba(30,15,36,.8) 0%, transparent 18%);
}
.scene::after { content: ""; position: absolute; z-index: 1; pointer-events: none; width: 70vmax; height: 70vmax; left: -28vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(179,19,76,.32), transparent); }
.mur { position: absolute; inset: 0; z-index: 0; perspective: 1600px; pointer-events: none; }
.mur-plan { position: absolute; left: 32%; top: -30%; width: 110%; height: 170%; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 22px;
  transform: rotateX(32deg) rotateY(-10deg) rotateZ(-17deg); transform-origin: 30% 30%; transform-style: preserve-3d; }
.colonne { position: relative; }
.colonne-piste { display: grid; gap: 22px; animation: defile var(--duree, 90s) linear infinite; will-change: transform; }
.colonne:nth-child(even) .colonne-piste { animation-direction: reverse; }
@keyframes defile { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.tuile { display: block; border-radius: 12px; overflow: hidden; background: var(--nuit-2); text-decoration: none;
  box-shadow: 0 30px 50px -24px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06);
  opacity: 0; transform: translateY(40px) scale(.96); filter: saturate(.9) brightness(.92); }
.mur.pret .tuile { animation: arrivee 1.1s var(--courbe) forwards; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes arrivee { to { opacity: 1; transform: none; } }
.tuile img { width: 100%; height: auto; }
.tuile-bureau img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.tuile-paire { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: none; box-shadow: none; overflow: visible; }
.tuile-paire span { border-radius: 16px; overflow: hidden; border: 4px solid #0E0A10; box-shadow: 0 30px 50px -24px rgba(0,0,0,.7); }
.tuile-paire img { aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }

.heros { position: relative; z-index: 2; display: grid; justify-items: start; }
.heros > * { max-width: 640px; }
.scene h1 { margin: 0; max-width: 13ch; font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: .98; font-weight: 520;
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144; letter-spacing: -.03em; }
.chapeau { margin: 18px 0 0; max-width: 50ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--nuit-doux); }

/* La phrase qui défile et l'appel, posés sur un voile translucide */
.saisie { width: 100%; margin-top: 24px; padding: clamp(20px, 2.6vw, 30px); border-radius: 28px;
  background: linear-gradient(160deg, rgba(251,243,247,.11), rgba(251,243,247,.04)); box-shadow: inset 0 0 0 1px var(--nuit-trait), 0 40px 80px -40px rgba(0,0,0,.6);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.defile { margin: 0; font-size: clamp(1.45rem, 2.3vw, 2.05rem); line-height: 1.25; }
.defile-mots { display: block; color: var(--rose); }
.defile-mots.sort { animation: defile-sort .32s ease-in forwards; }
.defile-mots.entre { animation: defile-entre .55s var(--courbe) both; }
@keyframes defile-sort { to { opacity: 0; transform: translateY(-.35em); filter: blur(3px); } }
@keyframes defile-entre { from { opacity: 0; transform: translateY(.45em); filter: blur(3px); } }
.erreur-champ { margin: 6px 0 0; color: var(--alerte); font-weight: 700; font-size: .95rem; }
.erreur-champ:empty { display: none; }
.scene .erreur-champ { display: inline-block; margin-top: 14px; padding: 4px 12px; border-radius: 999px; background: var(--alerte); color: #fff; }
.scene .erreur-champ:empty { display: none; }
.lancer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 24px; }
.garanties { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font-size: .92rem; color: var(--nuit-doux); }
.garanties li { display: inline-flex; align-items: center; gap: 7px; }
.garanties li::before { content: ""; width: 12px; height: 7px; border-left: 2.2px solid var(--rose); border-bottom: 2.2px solid var(--rose); transform: rotate(-45deg) translateY(-2px); }
.lien-fil { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; font-weight: 800; text-decoration: none; color: var(--sur-nuit); }
.lien-fil::after { content: ""; width: 34px; height: 12px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 12'%3E%3Cpath d='M1 6c4-6 7 6 11 0s7 6 11 0 6-3 10 0' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 12'%3E%3Cpath d='M1 6c4-6 7 6 11 0s7 6 11 0 6-3 10 0' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--courbe); }
.lien-fil:hover::after { transform: translateX(6px); }

/* ---------- Fenêtre de demande (atelier en trois étapes) ---------- */
.fenetre { border: 0; padding: 0; margin: auto; background: transparent; color: var(--encre); width: min(660px, 100vw - 32px); max-width: none; max-height: calc(100dvh - 32px); overflow: visible; }
.fenetre::backdrop { background: rgba(30, 15, 36, .62); backdrop-filter: blur(8px); }
.fenetre[open] { animation: fenetre-entre .42s var(--courbe) both; }
.fenetre[open]::backdrop { animation: fond-entre .3s ease-out both; }
@keyframes fenetre-entre { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fond-entre { from { opacity: 0; } to { opacity: 1; } }
html.fenetre-ouverte { overflow: hidden; }
.atelier { position: relative; max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; padding: clamp(26px, 3.4vw, 40px);
  border-radius: 30px; background: var(--surface); box-shadow: 0 60px 120px -50px rgba(0,0,0,.7); }
.atelier::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--accent), var(--rose)); }
.fermer { position: absolute; top: 16px; right: 16px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  background: var(--fond); color: var(--encre); transition: background .2s, transform .25s; }
.fermer:hover { background: var(--doux); transform: rotate(90deg); }
.fermer svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.fenetre-titre { margin: 0 52px 6px 0; font-weight: 800; color: var(--accent); font-size: .92rem; }
.atelier-tete { position: relative; margin: 24px 0 22px; }
.progres { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; position: relative; z-index: 1; }
.progres li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .84rem; font-weight: 700; color: var(--gris); text-align: center; }
.progres li:first-child { align-items: flex-start; text-align: left; }
.progres li:last-child { align-items: flex-end; text-align: right; }
.oeillet { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 3px var(--trait); transition: box-shadow .3s, background .3s; }
.progres li.fait .oeillet, .progres li.en-cours .oeillet { box-shadow: inset 0 0 0 3px var(--accent); }
.progres li.fait .oeillet { background: var(--accent); }
.progres li.en-cours { color: var(--encre); }
.progres-fil { position: absolute; left: 9px; right: 9px; top: 7.5px; height: 3px; border-radius: 3px; background: var(--trait); }
.progres-trace { display: block; height: 100%; width: calc(var(--avance, 0) * 1%); border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--rose)); transition: width .6s var(--courbe); }
.etape { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.etape.entre { animation: entre .35s ease-out both; }
@keyframes entre { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.etape legend { font-size: clamp(1.45rem, 2.4vw, 1.85rem); padding: 0; margin: 0 0 4px; float: left; width: 100%; }
.etape legend + * { clear: both; }
.etape-aide { margin: 0; color: var(--gris); }
.champ { display: grid; gap: 6px; }
.champ label, .libelle { font-weight: 700; font-size: .95rem; }
.champ small { color: var(--gris); font-size: .86rem; line-height: 1.45; }
.champ input[type=text], .champ input[type=email], .champ input[type=tel], .champ select, .champ textarea {
  width: 100%; font-size: 1.02rem; background: var(--fond); border: 2px solid transparent; border-radius: 14px; padding: 13px 15px;
  box-shadow: inset 0 0 0 1px var(--trait); transition: border-color .15s, background .15s, box-shadow .15s; }
.champ textarea { resize: vertical; min-height: 54px; line-height: 1.5; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.champ [aria-invalid="true"] { border-color: var(--alerte); }
.facultatif { font-weight: 600; color: var(--gris); font-size: .8rem; margin-left: 4px; }
.correction { margin: 0; font-size: .92rem; }
.correction button, .merci-aide button, .lien-bouton { border: 0; background: none; padding: 0; font-weight: 700; color: var(--accent); text-decoration: underline; cursor: pointer; }
.pastilles, .precisions-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.bascule { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--fond); box-shadow: inset 0 0 0 1px var(--trait); width: max-content; }
.bascule label, .pastilles label { position: relative; cursor: pointer; }
.bascule input, .pastilles input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.bascule span { display: block; padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: background .2s, color .2s; }
.bascule input:checked + span { background: var(--encre); color: var(--fond); }
.bascule input:focus-visible + span, .pastilles input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.pastilles span { display: block; padding: 8px 15px; border-radius: 999px; font-weight: 700; font-size: .93rem; box-shadow: inset 0 0 0 1.5px var(--trait); transition: background .15s, box-shadow .15s, color .15s; }
.pastilles input:checked + span { background: var(--encre); color: var(--fond); box-shadow: none; }
.precisions-choix button { border: 0; cursor: pointer; padding: 7px 13px; border-radius: 999px; font-size: .88rem; font-weight: 700; background: var(--fond); box-shadow: inset 0 0 0 1.5px var(--trait); }
.precisions-choix button::before { content: "+ "; color: var(--accent); }
.precisions-choix button[aria-expanded="true"] { background: var(--doux); box-shadow: inset 0 0 0 1.5px var(--accent); }
.precisions-choix button[aria-expanded="true"]::before { content: "✓ "; }
.precisions { display: grid; gap: 12px; }
.precisions:has(.precision:not([hidden])) { margin-top: 6px; }
.precision:not([hidden]) { animation: entre .3s ease-out both; }
.existant { display: grid; gap: 16px; padding: 16px; border-radius: 18px; background: color-mix(in srgb, var(--doux) 45%, transparent); }
.note-wp { margin: 4px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--surface); font-size: .9rem; border-left: 4px solid var(--accent); }
.depot { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; cursor: pointer; border: 2px dashed var(--trait); color: var(--gris); transition: border-color .15s, background .15s; }
.depot svg { width: 34px; height: 34px; flex: none; color: var(--accent); }
.depot strong { color: var(--encre); }
.depot.survol, .depot:focus-visible { border-color: var(--accent); background: color-mix(in srgb, var(--doux) 50%, transparent); outline: none; }
.vignettes { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.vignettes:empty { display: none; }
.vignette { position: relative; width: 78px; height: 78px; border-radius: 14px; overflow: hidden; background: var(--fond); animation: entre .25s both; }
.vignette img { width: 100%; height: 100%; object-fit: cover; }
.vignette .choisir-logo { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; }
.vignette.logo { box-shadow: 0 0 0 3px var(--accent); }
.vignette.logo::after { content: "Logo"; position: absolute; left: 4px; bottom: 4px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: var(--sur-accent); font-size: .7rem; font-weight: 700; }
.vignette .retirer { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(0,0,0,.72); color: #fff; font-size: 15px; line-height: 24px; z-index: 1; }
.accord { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; line-height: 1.5; margin-top: 4px; }
.accord input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; }
.etape-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.etape[data-etape="1"] .etape-actions { justify-content: flex-end; }
.message { margin: 0; font-weight: 700; }
.message:empty { display: none; }
.message.erreur { color: var(--alerte); }
.merci { animation: entre .4s both; outline: none; }
.merci-signe { width: 72px; height: 72px; margin-bottom: 10px; fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.merci-signe circle { stroke-dasharray: 170; stroke-dashoffset: 170; animation: trace .9s var(--courbe) .1s forwards; }
.merci-signe path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: trace .5s var(--courbe) .8s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.merci h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 10px; }
.merci p { margin: 0 0 12px; }
.merci-suite, .merci-aide { color: var(--gris); }
.merci-aide { font-size: .92rem; }
.fenetre-contact .atelier { display: grid; gap: 14px; }
.fenetre-contact .atelier h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 4px; }

/* ---------- Mosaïque des sites ---------- */
.mosaique { position: relative; padding-block: clamp(80px, 10vw, 140px); background: radial-gradient(70% 50% at 100% 0%, var(--scene) 0%, transparent 70%), var(--fond); }
.filtres { display: grid; gap: 14px; margin-bottom: clamp(30px, 4vw, 44px); padding-block: 22px; border-block: 1.5px solid var(--trait); }
.filtre { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.filtre-titre { margin: 0; font-weight: 800; font-size: .92rem; color: var(--gris); }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--trait); background: var(--surface); font-weight: 700; font-size: .95rem; transition: border-color .2s, background .2s, color .2s, opacity .2s; }
.puce small { font-size: .78rem; font-weight: 800; color: var(--gris); }
.puce:hover:not(:disabled) { border-color: var(--accent); }
.puce[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--fond); }
.puce[aria-pressed="true"] small { color: var(--doux); }
.puce:disabled { opacity: .38; cursor: default; }
.compte { margin: 4px 0 0; font-size: .92rem; color: var(--gris); }
.compte button { margin-left: 8px; padding: 0; border: 0; background: none; font-weight: 800; color: var(--accent); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(64px, 8vw, 120px) clamp(24px, 3.4vw, 48px); }
.site { display: grid; gap: 26px; align-content: start; }
.site-visuel { position: relative; display: block; padding: 0 12% 12% 0; text-decoration: none; cursor: pointer; }
.site .navigateur { display: block; border-radius: var(--rayon-petit); overflow: hidden; background: var(--surface);
  box-shadow: 0 50px 80px -48px rgba(30, 10, 40, .55), 0 0 0 1px rgba(38,20,44,.07); transition: transform .6s var(--courbe), box-shadow .6s; }
.barre-fenetre { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F3ECF4; }
.barre-fenetre i { width: 10px; height: 10px; flex: none; border-radius: 50%; background: rgba(38,20,44,.16); }
.barre-fenetre span { min-width: 0; margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: var(--surface); font-size: .76rem; color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site .ecran { position: relative; display: block; overflow: hidden; }
.site .ecran img { width: 100%; height: auto; object-fit: cover; object-position: top; transition: opacity .45s ease; }
.site .navigateur .ecran img { aspect-ratio: 16 / 10; }
.site .ecran img + img { position: absolute; inset: 0; opacity: 0; }
.site .mobile { position: absolute; right: 0; bottom: 0; width: 25%; padding: 5px; border-radius: 24px; background: #0E0A10; box-shadow: 0 36px 60px -26px rgba(20,5,25,.6); transition: transform .6s var(--courbe); }
.site .mobile .ecran { border-radius: 19px; }
.site .mobile .ecran img { aspect-ratio: 390 / 844; }
.site-visuel:hover .navigateur, .site.survol .navigateur { transform: translateY(-8px) rotate(-.8deg); box-shadow: 0 64px 90px -44px rgba(30,10,40,.6), 0 0 0 1px rgba(38,20,44,.07); }
.site-visuel:hover .mobile, .site.survol .mobile { transform: translateY(-18px) rotate(3deg); }
.site-texte { display: grid; justify-items: start; gap: 8px; max-width: 52ch; }
.site-statut { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .85rem; font-weight: 800; color: var(--accent); }
.site-statut::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--doux); }
.site-statut.en-ligne { color: var(--succes); }
.site-statut.en-ligne::before { box-shadow: 0 0 0 4px #D5EEDF; }
.site h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.metier { margin: -4px 0 0; font-weight: 700; color: var(--gris); }
.phrase { margin: 0; }
.etiquettes { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; padding: 0; }
.etiquettes li { padding: 3px 11px; border-radius: 999px; background: var(--doux); color: var(--accent-fonce); font-size: .82rem; font-weight: 700; }
.site.vedette, .site-votre.large { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 72px); align-items: center; }
.site.vedette-fin { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.site.vedette-fin .site-visuel { order: 2; padding: 0 0 12% 12%; }
.site.vedette-fin .mobile { right: auto; left: 0; }
.site.vedette h3 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
.site.vedette .phrase { font-size: 1.12rem; }
.site-votre .votre-cadre { display: block; margin-right: 12%; border-radius: var(--rayon-petit); overflow: hidden; background: var(--surface); outline: 2px dashed color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 8px; }
.votre-squelette { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 26px; aspect-ratio: 16 / 10; align-content: start; background: linear-gradient(180deg, var(--scene), var(--surface)); }
.site-votre.large .votre-squelette { aspect-ratio: 16 / 7; }
.votre-squelette i, .votre-squelette b { display: block; border-radius: 8px; border: 2px dashed color-mix(in srgb, var(--accent) 45%, transparent); }
.votre-squelette i { grid-column: 1 / -1; height: 12px; }
.votre-squelette i:first-child { height: 34px; width: 68%; background: color-mix(in srgb, var(--accent) 14%, transparent); animation: palpite 2.4s ease-in-out infinite; }
.votre-squelette i:nth-child(3) { width: 52%; }
.votre-squelette b { height: 100%; min-height: 80px; margin-top: 10px; }
@keyframes palpite { 50% { background: color-mix(in srgb, var(--accent) 26%, transparent); } }
.sans-script { display: grid; gap: 10px; padding: 30px 0; font-weight: 800; font-size: 1.2rem; }

/* ---------- Étapes ---------- */
.etapes-bloc { padding-block: clamp(80px, 10vw, 140px); background: var(--surface); }
.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 36px); margin: 0; padding: 0; list-style: none; counter-reset: e; }
.etape-carte { counter-increment: e; position: relative; display: grid; align-content: start; gap: 10px; padding: 22px 24px 30px; border-radius: var(--rayon); background: var(--fond); }
.etape-carte::before { content: counter(e); position: absolute; right: 22px; top: 6px; font: 520 5rem/1 var(--titre); font-variation-settings: "SOFT" 100, "opsz" 144; color: color-mix(in srgb, var(--accent) 16%, transparent); pointer-events: none; }
.etape-carte h3 { font-size: 1.45rem; }
.etape-carte p { margin: 0; color: var(--gris); }
/* Petites maquettes des étapes : un même site de coach, dont on choisit les couleurs (1), qui se construit avec elles (2)
   et qu'on reçoit sur son téléphone (3). Sans animation, chacune montre son état parlant ; animées, elles bouclent
   seulement quand elles sont à l'écran (classe .joue). */
.mini { --m1: #2C6E63; --m2: #F3E7D3; --m3: #E07A5F; position: relative; height: 176px; margin-bottom: 12px; border-radius: var(--rayon-petit); background: var(--surface); padding: 14px 16px; overflow: hidden; box-shadow: 0 24px 40px -30px rgba(30,10,40,.4); line-height: 1.2; }

.mini-fiche { display: grid; grid-template-rows: auto 1fr; gap: 12px; }
.m-onglets { display: flex; gap: 5px; }
.m-onglets b { padding: 4px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; white-space: nowrap; color: var(--gris); box-shadow: inset 0 0 0 1.5px var(--trait); }
.m-onglets b:nth-child(2) { background: var(--accent); color: var(--sur-accent); box-shadow: none; }
.m-volet { grid-area: 2 / 1; display: grid; gap: 8px; align-content: start; }
.m-volet-1, .m-volet-3 { opacity: 0; }
.m-champ { display: grid; gap: 3px; padding: 6px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--trait); }
.m-champ small { font-size: .6rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--gris); }
.m-champ em { width: max-content; font-style: normal; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.m-nuancier { display: flex; gap: 10px; padding-top: 4px; }
.m-nuancier i { width: 34px; height: 34px; border-radius: 50%; background: var(--m1); box-shadow: 0 6px 14px -8px rgba(30,10,40,.6); }
.m-nuancier i:nth-child(2) { background: var(--m2); box-shadow: inset 0 0 0 1.5px var(--trait); }
.m-nuancier i:nth-child(3) { background: var(--m3); }
.m-fichier { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 7px; border-radius: 8px; background: color-mix(in srgb, var(--encre) 6%, transparent); font-size: .76rem; font-weight: 700; }
.m-fichier::before { content: ""; width: 20px; height: 20px; border-radius: 5px; background: radial-gradient(circle, var(--m2) 0 4px, var(--m1) 4.5px); }

.mini-chantier { padding-bottom: 0; }
.m-fenetre { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 6px 12px auto 1fr; gap: 7px 10px; height: 100%; padding: 8px 10px 0; border-radius: 10px 10px 0 0; box-shadow: inset 0 0 0 1.5px var(--trait); }
.m-points { grid-column: 1 / -1; display: flex; gap: 4px; }
.m-points i { width: 6px; height: 6px; border-radius: 50%; background: var(--trait); }
.m-entete { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; }
.m-entete b, .m-entete i, .m-heros i, .m-heros em, .m-visuel, .m-cartes i { display: block; border-radius: 4px; background: var(--c); }
.m-entete b { --c: var(--m1); width: 22px; height: 12px; margin-right: auto; }
.m-entete i { --c: color-mix(in srgb, var(--encre) 18%, transparent); width: 20px; height: 4px; }
.m-heros { display: grid; gap: 6px; align-content: start; }
.m-heros strong { font: 600 1.02rem/1.05 var(--titre); color: var(--m1); }
.m-heros i { --c: color-mix(in srgb, var(--encre) 15%, transparent); width: 88%; height: 5px; }
.m-heros em { --c: var(--m3); width: 48px; height: 14px; border-radius: 999px; }
.m-visuel { --c: radial-gradient(circle at 72% 32%, var(--m3) 0 7px, transparent 7.5px), linear-gradient(160deg, var(--m2) 30%, color-mix(in srgb, var(--m1) 55%, var(--m2))); min-height: 54px; border-radius: 7px; }
.m-cartes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-self: start; }
.m-cartes i { --c: var(--m2); height: 34px; border-radius: 6px; }
.m-verifie { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; background: var(--surface); box-shadow: 0 10px 24px -10px rgba(30,10,40,.5), 0 0 0 1px var(--trait); font-size: .68rem; font-weight: 800; color: var(--m1); }
.m-verifie::before { content: "✓"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--m1); color: #fff; font-size: .62rem; }

.m-tel { position: absolute; left: 50%; top: 14px; width: 124px; height: 200px; translate: -50% 0; padding: 9px 8px; border: 3px solid var(--encre); border-bottom: 0; border-radius: 18px 18px 0 0; background: var(--surface); overflow: hidden; }
.m-tel-site { display: grid; gap: 5px; }
.m-tel-site b { height: 9px; border-radius: 3px; background: var(--m1); }
.m-tel-site strong { font: 600 .8rem/1.05 var(--titre); color: var(--m1); }
.m-tel-site i { width: 80%; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--encre) 15%, transparent); }
.m-tel-site em { height: 34px; border-radius: 6px; background: radial-gradient(circle at 72% 32%, var(--m3) 0 5px, transparent 5.5px), linear-gradient(160deg, var(--m2) 30%, color-mix(in srgb, var(--m1) 55%, var(--m2))); }
.m-tel-barre { position: absolute; left: 0; right: 0; top: 104px; display: grid; gap: 5px; padding: 6px 7px; border-top: 2.5px solid var(--accent); background: var(--surface); }
.m-tel-barre small { font-size: .55rem; font-weight: 700; line-height: 1.25; color: var(--gris); }
.m-tel-barre small b { color: var(--encre); }
.m-choix { display: flex; gap: 4px; }
.m-choix i { display: grid; font-style: normal; font-size: .56rem; font-weight: 800; padding: 3px 6px; border-radius: 5px; box-shadow: inset 0 0 0 1.2px var(--trait); }
.m-choix span { grid-area: 1 / 1; }
.m-garder span + span { opacity: 0; }
.m-mail { position: absolute; left: 50%; top: 24px; width: min(232px, 88%); translate: -50% 0; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 12px; background: var(--surface); box-shadow: 0 14px 30px -12px rgba(30,10,40,.5), 0 0 0 1px var(--trait); opacity: 0; }
.m-enveloppe { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='4' y='6' width='16' height='12' rx='2'/%3E%3Cpath d='M4.5 7l7.5 6 7.5-6'/%3E%3C/svg%3E") center / 18px no-repeat; }
.m-mail b { display: block; font-size: .76rem; }
.m-mail small { font-size: .64rem; color: var(--gris); }
.m-doigt { position: absolute; left: 50%; top: 42px; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: color-mix(in srgb, var(--encre) 24%, transparent); box-shadow: 0 0 0 2px rgba(255,255,255,.85); opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  .mini *, .mini *::before { animation-duration: 10.5s; animation-iteration-count: infinite; animation-play-state: paused; }
  .mini.joue *, .mini.joue *::before { animation-play-state: running; }
  /* 1. Les trois onglets à tour de rôle, le texte se tape, les couleurs et le logo arrivent */
  .m-onglets b { animation-name: m-onglet; }
  .m-volet { animation-name: m-volet; }
  .m-champ em { animation-name: m-frappe; animation-timing-function: steps(14, end); }
  .m-champ + .m-champ em { animation-name: m-frappe-2; }
  .m-nuancier i { animation-name: m-pastille; animation-timing-function: cubic-bezier(.3, 1.6, .5, 1); }
  .m-fichier { animation-name: m-fichier; }
  .m-onglets b:nth-child(2), .m-volet-2, .m-volet-2 * { animation-delay: -7s; }
  .m-onglets b:nth-child(3), .m-volet-3, .m-volet-3 * { animation-delay: -3.5s; }
  .m-nuancier i:nth-child(2) { animation-delay: -3.2s; }
  .m-nuancier i:nth-child(3) { animation-delay: -2.9s; }
  /* 2. La maquette se pose en pointillés, prend les couleurs choisies, puis l'équipe la vérifie */
  .m-fenetre { animation-name: m-cycle; }
  .m-entete b, .m-entete i, .m-heros i, .m-heros em, .m-cartes i { animation-name: m-peint; }
  .m-heros strong { animation-name: m-titre; }
  .m-entete { animation-name: m-pose-a; }
  .m-heros { animation-name: m-pose-b; }
  .m-visuel { animation-name: m-peint, m-pose-b; }
  .m-cartes { animation-name: m-pose-c; }
  .m-verifie { animation-name: m-verifie; }
  /* 3. Le mail arrive, on l'ouvre, le site s'affiche avec sa barre d'essai, on le garde */
  .m-mail { animation-name: m-mail; }
  .m-tel-site { animation-name: m-ecran; }
  .m-tel-barre { animation-name: m-barre; }
  .m-garder { animation-name: m-garder; }
  .m-garder span:first-child { animation-name: m-sort; }
  .m-garder span + span { animation-name: m-entre; }
  .m-doigt { animation-name: m-doigt; }
}
@keyframes m-onglet { 0%, 31% { background: var(--accent); color: var(--sur-accent); box-shadow: none; } 34%, 100% { background: transparent; color: var(--gris); box-shadow: inset 0 0 0 1.5px var(--trait); } }
@keyframes m-volet { 0% { opacity: 0; transform: translateX(10px); } 3%, 30% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateX(-10px); } }
@keyframes m-frappe { 0%, 4% { clip-path: inset(0 100% 0 0); } 13%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes m-frappe-2 { 0%, 14% { clip-path: inset(0 100% 0 0); } 24%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes m-pastille { 0%, 5% { transform: scale(0); } 9%, 100% { transform: none; } }
@keyframes m-fichier { 0%, 14% { opacity: 0; transform: translateY(8px); } 18%, 100% { opacity: 1; transform: none; } }
@keyframes m-cycle { 0% { opacity: 0; } 3%, 93% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes m-pose-a { 0%, 5% { opacity: 0; transform: translateY(6px); } 10%, 100% { opacity: 1; transform: none; } }
@keyframes m-pose-b { 0%, 11% { opacity: 0; transform: translateY(6px); } 16%, 100% { opacity: 1; transform: none; } }
@keyframes m-pose-c { 0%, 17% { opacity: 0; transform: translateY(6px); } 22%, 100% { opacity: 1; transform: none; } }
@keyframes m-peint { 0%, 34% { background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 50%, transparent); } 44%, 100% { background: var(--c); box-shadow: none; } }
@keyframes m-titre { 0%, 11% { opacity: 0; } 16%, 36% { opacity: 1; color: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 4px; } 44%, 100% { opacity: 1; color: var(--m1); box-shadow: none; } }
@keyframes m-verifie { 0%, 58% { opacity: 0; transform: translateY(10px) scale(.8); } 64%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes m-mail { 0%, 4% { opacity: 0; transform: translateY(-16px); } 9%, 18% { opacity: 1; transform: none; } 20% { opacity: 1; transform: scale(.96); } 25%, 100% { opacity: 0; transform: scale(.9); } }
@keyframes m-ecran { 0%, 24% { opacity: 0; } 30%, 94% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes m-barre { 0%, 34% { transform: translateY(110%); } 40%, 94% { transform: none; } 99%, 100% { transform: translateY(110%); } }
@keyframes m-garder { 0%, 60% { background: transparent; color: var(--encre); } 63%, 100% { background: var(--m1); color: #fff; box-shadow: none; } }
@keyframes m-sort { 0%, 60% { opacity: 1; } 63%, 100% { opacity: 0; } }
@keyframes m-entre { 0%, 60% { opacity: 0; } 63%, 100% { opacity: 1; } }
@keyframes m-doigt {
  0%, 11% { opacity: 0; left: 50%; top: 42px; transform: scale(1.3); }
  14% { opacity: 1; transform: none; }
  18% { transform: scale(.75); }
  22% { opacity: 0; left: 50%; top: 42px; transform: scale(1.2); }
  23%, 50% { opacity: 0; left: calc(50% - 38px); top: 156px; transform: scale(1.3); }
  54% { opacity: 1; transform: none; }
  59% { transform: scale(.75); }
  64%, 100% { opacity: 0; left: calc(50% - 38px); top: 156px; transform: scale(1.2); }
}
.relance-bloc { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: clamp(44px, 5vw, 70px); color: var(--gris); font-weight: 600; }

/* ---------- Inclus dans chaque site ---------- */
.serie { padding-block: clamp(80px, 10vw, 140px); background: var(--fond); }
.serie-cadre { display: grid; }
.atouts { list-style: none; margin: 0 0 clamp(40px, 5vw, 64px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--trait); }
.atout { display: grid; align-content: start; gap: 12px; padding: 30px 26px 10px 0; }
.atout + .atout { padding-left: 26px; border-left: 1.5px solid var(--trait); }
.atout-signe { width: 46px; height: 46px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.atout h3 { font-size: 1.55rem; }
.atout p { margin: 0; }
.atout-detail { font-size: .92rem; color: var(--gris); }
.natif { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 30px 60px; align-items: center;
  padding: clamp(28px, 4vw, 52px); border-radius: var(--rayon); background: var(--nuit); color: var(--sur-nuit); }
.natif::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -240px; background: radial-gradient(closest-side, rgba(179,19,76,.4), transparent); pointer-events: none; }
.natif-texte { position: relative; }
.natif h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 14px; }
.natif p { margin: 0; color: var(--nuit-doux); max-width: 44ch; }
.natif-liste { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.natif-liste li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(251,243,247,.06); border: 1px solid var(--nuit-trait); font-weight: 700; }
.natif-liste li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%231E0F24' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* ---------- Comparateur et carte de positionnement ---------- */
.comparer { padding-block: clamp(80px, 10vw, 140px); background: var(--surface); }
.comparer-onglets { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.comparer-onglets button { border: 0; cursor: pointer; text-align: left; padding: 12px 18px; border-radius: 16px; background: var(--fond); font-weight: 800; font-size: .98rem; line-height: 1.25; transition: box-shadow .2s, background .2s, color .2s; }
.comparer-onglets small { display: block; font-weight: 600; color: var(--gris); font-size: .8rem; }
.comparer-onglets button[aria-selected="true"] { background: var(--encre); color: var(--fond); }
.comparer-onglets button[aria-selected="true"] small { color: var(--doux); }
.comparer-table { border-radius: var(--rayon); overflow: hidden; box-shadow: 0 0 0 1px var(--trait); }
.comparer-ligne { display: grid; grid-template-columns: 1fr 1.15fr 1.15fr; }
.comparer-ligne + .comparer-ligne { border-top: 1px solid var(--trait); }
.comparer-ligne > * { padding: 16px 20px; display: flex; align-items: center; }
.comparer-ligne > [role="rowheader"] { font-weight: 800; }
.comparer-autre { color: var(--gris); }
.comparer-autre b { display: none; font-weight: 500; }
[data-actif="0"] .comparer-autre b[data-a="0"], [data-actif="1"] .comparer-autre b[data-a="1"],
[data-actif="2"] .comparer-autre b[data-a="2"], [data-actif="3"] .comparer-autre b[data-a="3"] { display: block; animation: entre .3s both; }
.comparer-nous { background: color-mix(in srgb, var(--doux) 60%, var(--surface)); font-weight: 700; gap: 10px; }
.comparer-ligne:not(.comparer-legende) .comparer-nous::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%; }
.comparer-legende > * { font-weight: 800; font-size: .9rem; padding-block: 14px; }
.comparer-legende .comparer-nous { color: var(--accent); font-family: var(--titre); font-variation-settings: var(--titre-variation); font-size: 1.2rem; }
.carte-pos { margin-top: clamp(64px, 9vw, 120px); --zone: var(--accent); }
.carte-pos-tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 60px; align-items: end; margin-bottom: 28px; }
.carte-pos-tete h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 20ch; }
.carte-pos-tete p { margin: 0; color: var(--gris); }
.carte-pos[data-zone="ia"] { --zone: #8E879B; } .carte-pos[data-zone="outil"] { --zone: #2E8FA3; }
.carte-pos[data-zone="cms"] { --zone: #3E63C9; } .carte-pos[data-zone="dev"] { --zone: #C27A16; }
.carte-pos[data-zone="weblace"] { --zone: var(--accent); } .carte-pos[data-zone="vide"] { --zone: #8E879B; }
.carte-pos-cadre { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; }
.carte-axe { display: flex; color: var(--gris); font-size: .74rem; font-weight: 800; line-height: 1.2; opacity: .7; }
.carte-axe span { transition: color .25s, opacity .25s; }
.carte-axe span.actif { color: var(--encre); opacity: 1; }
.carte-axe-y { flex-direction: column; justify-content: space-between; align-items: flex-end; padding: 10px 0; text-align: right; }
.carte-axe-x { grid-column: 2; justify-content: space-between; }
.carte-plan { position: relative; aspect-ratio: 16 / 9; cursor: crosshair; touch-action: pan-y; }
.carte-papier { position: absolute; inset: 0; overflow: hidden; contain: paint; border-radius: var(--rayon); background: var(--fond); box-shadow: inset 0 0 0 1px var(--trait); }
.carte-grille { position: absolute; inset: 0; background-image: linear-gradient(to right, var(--trait) 1px, transparent 1px), linear-gradient(to bottom, var(--trait) 1px, transparent 1px); background-size: 33.333% 33.333%; opacity: .7; }
.carte-diag { position: absolute; inset: 0; width: 100%; height: 100%; }
.carte-diag path { fill: none; stroke: var(--gris); stroke-width: 1.4; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .55; }
.carte-champ { position: absolute; inset: 0; }
.carte-tache { position: absolute; left: var(--x); top: var(--y); width: calc(var(--rx) * 2.7); height: calc(var(--ry) * 2.7); transform: translate(-50%, -50%); border-radius: 50%; will-change: opacity, transform;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 50%, transparent), color-mix(in srgb, var(--c) 22%, transparent) 55%, color-mix(in srgb, var(--c) 6%, transparent) 80%, transparent); opacity: .5; transition: opacity .45s, transform .45s var(--courbe); }
.carte-tache.allumee { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
.carte-pos-corps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 28px; align-items: center; }
.carte-pin { position: absolute; left: var(--x); top: var(--y); z-index: 4; transform: translate(var(--tx, -50%), -50%); display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px;
  border: 0; border-radius: 999px; background: var(--surface); color: var(--gris); font-weight: 800; font-size: .84rem; white-space: nowrap; cursor: pointer;
  box-shadow: 0 0 0 1px var(--trait), 0 8px 18px -12px rgba(0,0,0,.4); transition: color .2s, box-shadow .2s, transform .35s var(--courbe); }
.carte-pin i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.carte-pin.allumee { color: var(--encre); transform: translate(var(--tx, -50%), -50%) scale(1.07); box-shadow: 0 0 0 2px var(--c), 0 14px 26px -14px rgba(0,0,0,.5); z-index: 6; }
.carte-pin[data-pin="weblace"] { font-size: .95rem; height: 40px; }
[data-pin="ia"] { --c: #8E879B; } [data-pin="outil"] { --c: #2E8FA3; } [data-pin="cms"] { --c: #3E63C9; } [data-pin="dev"] { --c: #C27A16; } [data-pin="weblace"] { --c: var(--accent); }
.carte-curseur { position: absolute; z-index: 8; width: 28px; height: 28px; transform: translate(-50%, -50%); pointer-events: none; left: var(--cx, 40%); top: var(--cy, 24%); }
.carte-curseur::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--zone); background: color-mix(in srgb, var(--zone) 14%, transparent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--zone) 10%, transparent); }
.carte-curseur::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--zone); }
.carte-verdict { margin: 0; padding: 22px 24px; border-radius: var(--rayon-petit); background: color-mix(in srgb, var(--zone) 8%, var(--surface)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--zone) 35%, transparent); transition: background .3s, box-shadow .3s; }
.carte-verdict p { margin: 0; color: var(--gris); min-height: 9em; }
.carte-verdict .carte-verdict-ici { min-height: 0; font-size: .8rem; font-weight: 800; margin-bottom: 4px; }
.carte-verdict .carte-verdict-nom { display: flex; align-items: center; gap: 10px; color: var(--encre); font-weight: 800; font-size: 1.1rem; min-height: 0; margin-bottom: 6px; }
.carte-verdict-nom i { width: 10px; height: 10px; border-radius: 50%; background: var(--zone); box-shadow: 0 0 10px var(--zone); }

/* ---------- Métiers : les mots ouvrent la demande ---------- */
.metiers { padding-block: clamp(90px, 11vw, 150px); background: radial-gradient(60% 60% at 0% 100%, var(--scene) 0%, transparent 70%), var(--fond); }
.metiers h2 { max-width: 16ch; }
.metiers-chapeau { margin: 22px 0 0; max-width: 60ch; color: var(--gris); font-size: 1.1rem; }
.nuage { list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 26px; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; }
.nuage button { padding: 0; border: 0; background: none; cursor: pointer; color: var(--encre);
  font-family: var(--titre); font-variation-settings: "SOFT" 100, "opsz" 144; font-weight: 450; letter-spacing: -.02em; line-height: 1.15; font-size: clamp(1.6rem, 4vw, 3.3rem);
  text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 30%, transparent); text-decoration-thickness: .06em; text-underline-offset: .14em; transition: color .2s, text-decoration-color .2s; }
.nuage li:nth-child(3n+2) button { color: var(--accent); }
.nuage button:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* ---------- Conçu en Bretagne ---------- */
.france { position: relative; overflow: clip; padding-block: clamp(90px, 11vw, 150px); background: var(--nuit); color: var(--sur-nuit); }
.france::before { content: ""; position: absolute; width: 80vmax; height: 80vmax; left: -40vmax; bottom: -50vmax; background: radial-gradient(closest-side, rgba(179,19,76,.35), transparent); pointer-events: none; }
.france-grille { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.france h2 { max-width: 14ch; }
.france-texte > p { margin: 22px 0 0; font-size: 1.1rem; color: var(--nuit-doux); max-width: 46ch; }
.france-faits { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.france-faits li { display: grid; gap: 2px; padding-left: 20px; border-left: 3px solid var(--rose); }
.france-faits span { color: var(--nuit-doux); }
.france-carte { position: relative; margin: 0; }
.france-carte svg { width: 100%; height: auto; overflow: visible; }
.france-contour { fill: rgba(251,243,247,.05); stroke: rgba(251,243,247,.35); stroke-width: 1.4; stroke-linejoin: round; }
.france-dep { fill: rgba(244,93,146,.45); stroke: var(--rose); stroke-width: 1.2; }
.france-fil { fill: none; stroke: var(--rose); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; }
.en-vue .france-fil { animation: trace 1.8s cubic-bezier(.4,.1,.2,1) .2s forwards; }
.france-point { fill: var(--nuit); stroke: var(--rose); stroke-width: 3.5; }
.france-source { margin-top: 6px; font-size: .74rem; color: var(--nuit-doux); opacity: .7; text-align: right; }
.france-lieu { position: absolute; left: var(--x); top: var(--y); transform: translate(-100%, -50%); margin-left: -18px; font-weight: 800; line-height: 1.15;
  padding: 7px 11px; border-radius: 12px; background: rgba(251,243,247,.1); box-shadow: inset 0 0 0 1px var(--nuit-trait); backdrop-filter: blur(6px); white-space: nowrap; }
.france-lieu small { display: block; font-weight: 600; color: var(--nuit-doux); font-size: .8rem; }
.france-lieu-droite { transform: translate(0, -50%); margin-left: 18px; }
.france-lieu-haut { transform: translate(-78%, -168%); margin-left: 0; }

/* ---------- Refonte ---------- */
.refonte { padding-block: clamp(80px, 10vw, 140px); background: var(--scene); }
.refonte-grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.refonte-texte h2 { max-width: 13ch; }
.refonte-texte p { font-size: 1.1rem; max-width: 46ch; }
.refonte-wp { padding: 16px 18px; border-radius: 18px; background: var(--surface); margin: 22px 0 30px; }
/* Le déménagement : l'ancien site et ses défauts, le nouveau et ses avantages aux mêmes places.
   La scène est dessinée à taille fixe (640 × 575, ou 360 × 626 en étroit) et mise à l'échelle de la figure par landing.js. */
.demenagement { position: relative; margin: 0; aspect-ratio: 640 / 575; }
.dm-scene { position: absolute; left: 0; top: 0; width: 640px; height: 575px; transform-origin: 0 0; font: 400 16px/normal var(--texte); color: var(--encre); }
.dm-scene * { margin: 0; padding: 0; }
.dm-site { position: absolute; display: flex; flex-direction: column; }
.dm-o { left: 20px; top: 58px; width: 252px; height: 318px; rotate: -4deg; background: #E9E9E9; border: 1px solid #BDBDBD; font-family: Arial, Helvetica, sans-serif; color: #555; font-size: 9.5px;
  box-shadow: 0 18px 30px -24px rgba(30,15,36,.5); transition: filter .6s, opacity .6s; }
.dm-o.dm-pali { filter: grayscale(1); opacity: .78; }
.dm-o-ch { display: flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; background: linear-gradient(#F4F4F4, #D6D6D6); border-bottom: 1px solid #B5B5B5; }
.dm-o-ch i { width: 6px; height: 6px; border-radius: 50%; background: #BDBDBD; }
.dm-o-ch span { margin-left: 6px; padding: 1px 8px; background: #FFF; border: 1px solid #C5C5C5; flex: 1; font-size: 9px; }
.dm-o-adm { padding: 3px 7px; background: #F3E3A8; color: #6B5A1A; border-bottom: 1px solid #D9C27A; font-size: 8.5px; }
.dm-o-hd { padding: 7px; background: linear-gradient(#A9A9A9, #8E8E8E); color: #FFF; font-weight: 700; font-size: 12px; letter-spacing: .5px; }
.dm-o-c { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 5px; padding: 6px; }
.dm-ob { position: relative; background: #FFF; border: 1px solid #C8C8C8; padding: 4px 6px; transition: box-shadow .25s, transform .25s, opacity .3s; }
.dm-ob.dm-vu { box-shadow: 0 0 0 2px var(--accent), 0 0 0 6px rgba(179,19,76,.16); z-index: 2; }
.dm-ob.dm-vu::after { content: attr(data-t); position: absolute; right: 4px; top: 50%; translate: 0 -50%; background: var(--accent); color: #FFF; font: 800 9.5px/1 var(--texte); padding: 3px 7px; border-radius: 99px; white-space: nowrap; animation: dm-pop .3s cubic-bezier(.3,1.6,.5,1); }
.dm-ob.dm-leve { transform: scale(1.05); box-shadow: 0 0 0 2px var(--accent), 0 10px 18px -8px rgba(179,19,76,.6); }
.dm-ob.dm-vide { opacity: .35; box-shadow: none; }
.dm-ob.dm-vide::after { display: none; }
@keyframes dm-pop { from { scale: .5; opacity: 0; } }
.dm-o-nav { color: #2A4FB0; text-decoration: underline; font-family: "Times New Roman", serif; font-size: 10px; }
.dm-o-img { flex: 1; min-height: 40px; padding: 0; }
.dm-o-img svg, .dm-n-img svg { display: block; width: 100%; height: 100%; max-width: none; }
.dm-o-img svg { filter: grayscale(1) contrast(.7) brightness(1.05); }
.dm-o-r { display: flex; gap: 5px; }
.dm-o-r .dm-ob { flex: 1; line-height: 1.35; }
.dm-o-p { padding: 3px 7px; font-size: 8px; color: #888; text-align: center; }
.dm-o-ck { position: absolute; left: 10px; right: 24px; bottom: 22px; padding: 5px 7px; background: #4D4D4D; color: #EEE; font-size: 8.5px; line-height: 1.3; border: 1px solid #333; }
.dm-n { right: 20px; top: 126px; width: 318px; height: 404px; border-radius: 24px; padding: 12px; gap: 8px; background: radial-gradient(circle at 92% 0%, #4A1838, var(--nuit) 62%); color: var(--sur-nuit);
  box-shadow: 0 0 0 1px rgba(244,93,146,.28), 0 36px 70px -34px rgba(30,15,36,.9); transition: box-shadow .9s var(--courbe); }
.dm-n.dm-fin { box-shadow: 0 0 0 1.5px var(--rose), 0 0 0 9px rgba(244,93,146,.14), 0 40px 80px -30px rgba(179,19,76,.85); }
.dm-n-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dm-n-logo, .dm-n-a, .dm-n-q, .dm-n-g b { font-family: var(--titre); font-weight: var(--titre-graisse); font-variation-settings: var(--titre-variation); }
.dm-n-logo { font-size: 14px; }
.dm-n-logo::first-letter { color: var(--rose); }
.dm-it { opacity: 0; }
.dm-n-nav { display: flex; gap: 3px; padding: 3px; border-radius: 99px; background: rgba(251,243,247,.08); }
.dm-n-nav span { padding: 4px 8px; border-radius: 99px; font-size: 9.5px; font-weight: 700; color: var(--nuit-doux); }
.dm-n-nav span:first-child { background: var(--sur-nuit); color: var(--encre); }
.dm-n-img { flex: 1; min-height: 60px; border-radius: 16px; overflow: hidden; }
.dm-n-r { display: flex; gap: 8px; }
.dm-n-c { flex: 1; padding: 9px 10px; border-radius: 14px; background: var(--nuit-2); box-shadow: inset 0 0 0 1px rgba(251,243,247,.08); }
.dm-n-k { font-size: 8.5px; font-weight: 800; letter-spacing: .5px; color: var(--rose); margin-bottom: 3px; }
.dm-n-a, .dm-n-q { font-size: 12px; line-height: 1.2; }
.dm-n-st { color: var(--rose); font-size: 10px; letter-spacing: 2px; margin-top: 3px; }
.dm-n-g { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: var(--sur-nuit); color: var(--encre); }
.dm-n-g b { font-size: 24px; line-height: 1; color: var(--accent); }
.dm-n-g span { font-size: 10px; line-height: 1.3; color: var(--gris); }
.dm-n-g strong { color: var(--encre); }
.dm-ch { position: absolute; z-index: 4; font-size: 10px; font-weight: 800; white-space: nowrap; perspective: 300px; }
.dm-ch.dm-g { left: -22px; } .dm-ch.dm-d { right: -22px; }
.dm-ch.dm-haut, .dm-ch.dm-bas { translate: -50% 0; } .dm-ch.dm-haut { top: -11px; } .dm-ch.dm-bas { bottom: -11px; }
.dm-ox { display: flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; background: #FFF; color: var(--gris); font-family: var(--texte); box-shadow: 0 0 0 1px var(--trait), 0 8px 14px -10px rgba(30,15,36,.5); }
.dm-ox::before, .dm-fa::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #B0A0B4; }
.dm-o .dm-ch { opacity: 0; rotate: 4deg; }
.dm-in { position: relative; display: block; transform-style: preserve-3d; }
.dm-fa, .dm-fb { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 4px 9px; border-radius: 99px; backface-visibility: hidden; }
.dm-fa { background: #FFF; color: var(--gris); box-shadow: 0 0 0 1px var(--trait); }
.dm-fb { position: absolute; top: 0; transform: rotateX(180deg); background: radial-gradient(circle at 20% 0, #DE3A72, var(--accent) 55%, var(--accent-fonce)); color: #FFF; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 18px -10px var(--rose); }
.dm-n .dm-ch { opacity: 0; }
.dm-ch.dm-g .dm-fb { left: 0; } .dm-ch.dm-d .dm-fb { right: 0; } .dm-ch.dm-haut .dm-fb, .dm-ch.dm-bas .dm-fb { left: 50%; translate: -50% 0; }
.dm-tel .dm-o { left: 16px; top: 22px; width: 214px; height: 256px; }
.dm-tel .dm-n { right: 14px; top: 300px; width: 300px; height: 310px; padding: 10px; gap: 6px; }
.dm-tel .dm-ch { font-size: 10.6px; }
.dm-tel .dm-ch.dm-g { left: -12px; } .dm-tel .dm-ch.dm-d { right: -12px; }
.dm-tel .dm-n-g b { font-size: 20px; }

/* ---------- Tarifs ---------- */
.tarifs { padding-block: clamp(80px, 10vw, 140px); background: var(--fond); }
.tarifs-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1.15fr .9fr; gap: clamp(18px, 2.6vw, 32px); align-items: stretch; }
.tarif { display: grid; align-content: start; padding: 32px 30px; border-radius: var(--rayon); background: var(--surface); box-shadow: 0 30px 60px -44px rgba(30,10,40,.5); }
.tarif-phare { position: relative; overflow: hidden; background: var(--nuit); color: var(--sur-nuit); transform: translateY(-14px); }
.tarif-phare::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; background: radial-gradient(closest-side, rgba(179,19,76,.45), transparent); pointer-events: none; }
.tarif-phare > * { position: relative; }
.tarif-phare .tarif-prix { color: var(--rose); }
.tarif-discret { background: transparent; box-shadow: inset 0 0 0 2px var(--trait); }
.tarif h3 { font-size: 1.3rem; }
.tarif-prix { font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1; margin: 14px 0 6px; }
.tarif-sous { margin: 0 0 18px; font-weight: 700; opacity: .8; }
.tarif ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tarif ul li { padding-left: 26px; position: relative; }
.tarif ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2.4px solid var(--accent); border-bottom: 2.4px solid var(--accent); transform: rotate(-45deg); }
.tarif-phare ul li::before { border-color: var(--rose); }
.tarif-discret p { color: var(--gris); }
.tarif-discret .bouton { justify-self: start; margin-top: 8px; }
.tarif-bouton { margin-top: 24px; width: 100%; }

/* ---------- Questions ---------- */
.questions { padding-block: clamp(80px, 10vw, 140px); background: var(--surface); }
.questions-grille { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.questions-tete { position: sticky; top: 100px; }
.questions-tete p { color: var(--gris); max-width: 34ch; }
.questions-liste details { border-radius: 18px; background: var(--fond); margin-bottom: 10px; transition: background .2s, box-shadow .2s; }
.questions-liste details[open] { background: var(--surface); box-shadow: 0 0 0 1.5px var(--trait), 0 24px 40px -30px rgba(30,10,40,.4); }
.questions-liste summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 22px; position: relative; font-weight: 800; font-size: 1.06rem; }
.questions-liste summary::-webkit-details-marker { display: none; }
.questions-liste summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  background: var(--doux) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 9l4 4 4-4' fill='none' stroke='%23B3134C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%; transition: transform .25s; }
.questions-liste details[open] summary::after { transform: rotate(180deg); }
.questions-liste details p { margin: 0; padding: 0 22px 22px; color: var(--gris); max-width: 62ch; }

/* ---------- Appel final ---------- */
.appel { position: relative; overflow: hidden; padding-block: clamp(70px, 9vw, 120px) clamp(90px, 11vw, 150px); background: var(--nuit); color: var(--sur-nuit); }
.appel::before { content: ""; position: absolute; width: 90vmax; height: 90vmax; right: -40vmax; bottom: -60vmax; background: radial-gradient(closest-side, rgba(179,19,76,.45), transparent); pointer-events: none; }
.appel { padding-block: clamp(190px, 18vw, 250px); }
.rubans { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ruban-pages { position: absolute; left: -6vw; right: -6vw; overflow: hidden; pointer-events: auto; opacity: .5; transition: opacity .4s;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ruban-a { top: 2%; transform: rotate(-4deg); }
.ruban-b { bottom: 0; transform: rotate(3deg); }
.ruban-pages:hover { opacity: .95; }
.ruban-piste { display: flex; align-items: center; gap: 16px; width: max-content; padding-block: 22px; animation: glisse 140s linear infinite; }
.ruban-b .ruban-piste { animation-duration: 170s; animation-direction: reverse; }
.ruban-pages:hover .ruban-piste { animation-play-state: paused; }
@keyframes glisse { to { transform: translateX(-50%); } }
.ruban-piste img, .ruban-libre { flex: none; width: clamp(150px, 15vw, 220px); height: auto; aspect-ratio: 16 / 10; border-radius: 12px; }
.ruban-piste img { object-fit: cover; object-position: top; filter: saturate(.85) brightness(.85); box-shadow: 0 24px 40px -22px rgba(0,0,0,.8); }
.ruban-tel { flex: none; width: clamp(64px, 6.2vw, 92px); border-radius: 16px; overflow: hidden; border: 4px solid #0E0A10; box-shadow: 0 24px 40px -20px rgba(0,0,0,.85); }
.ruban-piste .ruban-tel img { width: 100%; aspect-ratio: 390 / 844; border-radius: 0; box-shadow: none; }
.ruban-libre { display: grid; place-items: center; border: 2px dashed var(--rose); background: rgba(244,93,146,.08); font-family: var(--titre); font-variation-settings: "SOFT" 100, "opsz" 144; font-size: 1.3rem; color: var(--sur-nuit); }
.appel-cadre { position: relative; z-index: 1; display: grid; justify-items: start; gap: 24px; pointer-events: none; }
.appel-cadre > * { pointer-events: auto; }
.appel-cadre::before { content: ""; position: absolute; z-index: -1; left: -8%; top: -18%; width: min(860px, 100%); height: 136%; border-radius: 50%; background: radial-gradient(closest-side, rgba(30,15,36,.92), rgba(30,15,36,.7) 55%, transparent); pointer-events: none; }
.appel h2 { max-width: 15ch; font-size: clamp(2.4rem, 5.6vw, 4.8rem); }
.appel-texte { margin: 0; max-width: 50ch; color: var(--nuit-doux); font-size: 1.1rem; }

/* ---------- Pied ---------- */
.pied { padding-block: 34px 48px; color: var(--gris); font-size: .93rem; }
.pied-grille { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; }
.pied p { margin: 0; }
.pied nav { display: flex; flex-wrap: wrap; gap: 20px; }
.pied .marque { color: var(--encre); }
.pied .marque .logo { width: 32px; height: 32px; }
.pied .marque-mot { font-size: 1.2rem; }

/* ---------- Bandeau de consentement (suivi.js), repris du bandeau du CMS ---------- */
.consentement-voile { position: fixed; inset: 0; z-index: 59; background: rgba(30, 15, 36, .38); pointer-events: none; animation: consentement-fondu .3s ease both; }
.consentement { position: fixed; left: 24px; bottom: 24px; z-index: 60; width: min(440px, calc(100vw - 48px)); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain;
  padding: 26px; border-radius: 24px; background: var(--surface); color: var(--encre); font-size: .95rem; line-height: 1.55;
  box-shadow: 0 1px 2px rgba(30,15,36,.08), 0 18px 40px -12px rgba(30,15,36,.32), 0 40px 80px -30px rgba(30,15,36,.4), 0 0 0 1px var(--trait);
  animation: consentement-monte .38s cubic-bezier(.16, 1, .3, 1) both; }
.consentement p, .consentement ul { margin: 0; }
.consentement-tete { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.consentement-pastille { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--doux); color: var(--accent); }
.consentement-titre { font-family: var(--titre); font-weight: 700; font-size: 1.3rem; line-height: 1.2; font-variation-settings: var(--titre-variation); }
.consentement-texte { color: var(--gris); font-size: .93rem; }
.consentement-usages { margin-top: 14px; padding: 12px 16px; border-radius: 16px; background: var(--fond); font-size: .9rem; }
.consentement-usages p { font-weight: 700; }
.consentement-usages ul { padding: 0; list-style: none; }
.consentement-usages li { position: relative; margin-top: 3px; padding-left: 18px; }
.consentement-usages li::before { content: "–"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.consentement-politique { display: inline-block; margin-top: 12px; color: var(--gris); font-size: .86rem; text-underline-offset: 3px; }
.consentement-politique:hover { color: var(--encre); }
.consentement-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.consentement .bouton { min-height: 50px; padding: 0 14px; font-size: 1rem; }
.consentement .bouton-discret { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--encre) 30%, transparent); }
.consentement .bouton-discret:hover { box-shadow: inset 0 0 0 2px var(--encre); }
@keyframes consentement-monte { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes consentement-fondu { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 576px) {
  .consentement { left: 0; right: 0; bottom: 0; width: auto; max-height: 88dvh; padding: 22px 18px calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 24px 24px 0 0; }
  .consentement-pastille { width: 40px; height: 40px; }
  .consentement-titre { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { .consentement, .consentement-voile { animation: none; } }

/* ---------- Pages de texte (conditions, mentions légales) ---------- */
.page-texte .entete { position: static; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; color: var(--encre); }
.texte-long { max-width: 760px; padding-block: 30px 90px; }
.texte-long h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 20px 0 10px; }
.texte-long h2 { font-size: 1.45rem; margin: 40px 0 8px; }
.texte-long p { max-width: 68ch; }
.texte-long .date { color: var(--gris); }

/* ---------- Écrans moyens et petits ---------- */
@media (max-width: 1180px) {
  .entete-nav { display: none; }
  .entete-nav + .nav-tel { margin-left: auto; }
  .atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atout:nth-child(3) { padding-left: 0; border-left: 0; }
  .atout:nth-child(n+3) { border-top: 1.5px solid var(--trait); margin-top: 20px; }
}
@media (max-width: 960px) {
  .tete, .natif, .france-grille, .refonte-grille, .questions-grille, .carte-pos-tete, .carte-pos-corps { grid-template-columns: minmax(0, 1fr); }
  .grille { grid-template-columns: minmax(0, 1fr); }
  .site.vedette, .site-votre.large { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .site.vedette-fin .site-visuel { order: 0; padding: 0 12% 12% 0; }
  .site.vedette-fin .mobile { left: auto; right: 0; }
  .etapes { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .tarifs-liste { grid-template-columns: minmax(0, 1fr); max-width: 540px; }
  .tarif-phare { transform: none; }
  .questions-tete { position: static; }
  .mur-plan { left: -10%; width: 140%; }
  .scene::before { background: linear-gradient(180deg, rgba(30,15,36,.82) 0%, rgba(30,15,36,.74) 40%, rgba(30,15,36,.92) 75%, var(--nuit) 100%); }
  .comparer-ligne { grid-template-columns: 1fr 1fr; }
  .comparer-ligne > [role="rowheader"] { grid-column: 1 / -1; padding-bottom: 0; font-size: .9rem; color: var(--gris); }
  .comparer-legende > :first-child { display: none; }
  .carte-verdict { order: -1; }
  .carte-verdict p { min-height: 6.4em; }
  .carte-axe { display: none; }
  .carte-pos-cadre { grid-template-columns: minmax(0, 1fr); }
  .carte-plan { aspect-ratio: 4 / 3.6; cursor: default; }
  .carte-pin { height: 28px; padding: 0 10px; font-size: .72rem; }
  .carte-pin[data-pin="ia"] { --tx: -22%; } .carte-pin[data-pin="outil"] { --tx: -36%; } .carte-pin[data-pin="dev"] { --tx: -78%; }
  .carte-pin[data-pin="weblace"] { height: 32px; font-size: .82rem; }
  /* Menu rapide sur écran tactile : une poignée discrète qui déplie la liste */
  .rail { right: 0; }
  .rail-poignee { display: grid; place-items: center; width: 24px; height: 56px; margin-left: auto; padding: 0; border: 0; border-radius: 18px 0 0 18px; cursor: pointer;
    background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: 0 8px 24px -10px rgba(30,10,40,.4), inset 0 0 0 1px var(--trait); backdrop-filter: blur(10px); }
  .rail-poignee::before { content: ""; width: 10px; height: 16px; background: linear-gradient(var(--accent), var(--accent)) 0 0 / 100% 2.5px no-repeat, linear-gradient(var(--gris), var(--gris)) 0 50% / 70% 2.5px no-repeat, linear-gradient(var(--gris), var(--gris)) 0 100% / 85% 2.5px no-repeat; border-radius: 2px; }
  .rail-liste { position: absolute; right: 8px; top: 50%; transform: translate(12px, -50%) scale(.96); transform-origin: right center; padding: 10px; border-radius: 22px; gap: 0;
    background: var(--surface); box-shadow: 0 30px 60px -20px rgba(30,10,40,.45), 0 0 0 1px var(--trait); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, transform .3s var(--courbe), visibility 0s .3s; }
  .rail.ouvert .rail-liste { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(0, -50%); transition-delay: 0s; }
  .rail.ouvert .rail-poignee { opacity: 0; }
  .rail-liste a { padding: 9px 10px; font-size: .95rem; }
  .rail-liste span, .rail:hover .rail-liste span { opacity: 1; transform: none; padding: 0; background: none; box-shadow: none; pointer-events: none; }
  .rail.sombre .rail-liste a::after { background: color-mix(in srgb, var(--encre) 30%, transparent); }
  /* Défileur rapide : la poignée suit le pouce, les parties marquées le long du bord, la partie en cours dans une bulle */
  .rail-poignee { touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; transition: transform .35s var(--courbe), width .2s; }
  .rail.glisse { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
  .rail.glisse .rail-poignee { width: 30px; transition: width .2s; box-shadow: 0 10px 28px -8px rgba(179,19,76,.55), inset 0 0 0 1.5px var(--accent); }
  .defileur { display: block; position: fixed; inset: 0; z-index: 34; pointer-events: none; opacity: 0; transition: opacity .2s;
    background: linear-gradient(90deg, transparent 45%, color-mix(in srgb, var(--nuit) 22%, transparent)); }
  .defileur.visible { opacity: 1; }
  .defileur i { position: absolute; right: 34px; width: 10px; height: 2.5px; border-radius: 2px; background: color-mix(in srgb, var(--sur-nuit) 80%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--nuit) 25%, transparent); transform: translateY(-50%); transition: width .2s, background .2s; }
  .defileur i.courant { width: 18px; background: var(--accent); }
  .defileur-bulle { position: absolute; right: 62px; top: var(--y, 50%); transform: translateY(-50%); max-width: calc(100vw - 90px); padding: 10px 18px; border-radius: 999px;
    background: var(--nuit); color: var(--sur-nuit); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 18px 36px -14px rgba(30,10,40,.7);
    font-family: var(--titre); font-weight: var(--titre-graisse); font-variation-settings: var(--titre-variation); font-size: 1.1rem; line-height: 1.2; }
  .defileur-bulle:empty { display: none; }
}
/* La poignée se signale d'un léger mouvement de haut en bas, le geste du pouce, jusqu'à ce qu'on s'en serve */
@media (max-width: 960px) and (prefers-reduced-motion: no-preference) {
  .rail.visible:not(.ouvert):not(.glisse):not(.connu) .rail-poignee { animation: rail-invite 5.5s cubic-bezier(.45,0,.3,1) 1.2s infinite; }
}
@keyframes rail-invite { 0%, 34%, 100% { translate: 0 0; } 8% { translate: 0 -7px; } 17% { translate: 0 6px; } 25% { translate: 0 -2px; } }
@media (max-width: 640px) {
  .entete-cadre { min-height: 64px; gap: 10px; }
  .marque-mot { font-size: 1.25rem; }
  .marque .logo { width: 34px; height: 34px; }
  .nav-tel { padding: 9px; }
  .nav-tel span { display: none; }
  .entete .bouton { min-height: 42px; padding: 0 14px; font-size: .88rem; }
  .entete .bouton::after { inset: 4px; }
  .entete .bouton, .marque { flex: none; }
  .drapeau { padding: 6px 7px; }
  .drapeau-tissu { width: 23px; height: 16px; }
  .scene { padding-block: 96px 56px; }
  .saisie { padding: 18px; border-radius: 22px; }
  .defile { font-size: clamp(1.45rem, 7vw, 1.8rem); }
  .fenetre { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; }
  .fenetre .atelier { max-height: 100dvh; height: 100dvh; border-radius: 0; padding: 26px 18px 32px; }
  .filtre { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .puces { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .puces::-webkit-scrollbar { display: none; }
  .puce { flex: none; }
  .atouts { grid-template-columns: minmax(0, 1fr); }
  .atout, .atout + .atout { padding: 26px 0 0; border-left: 0; }
  .atout + .atout { border-top: 1.5px solid var(--trait); margin-top: 20px; }
  .natif-liste { grid-template-columns: minmax(0, 1fr); }
  .site .mobile { width: 28%; }
  .comparer-onglets button { flex: 1 1 calc(50% - 10px); padding: 10px 12px; font-size: .86rem; }
  .comparer-ligne > * { padding: 12px 14px; font-size: .92rem; line-height: 1.4; }
  /* Sur un écran étroit, la colonne teintée suffit à marquer Weblace : la coche laisse sa place au texte. */
  .comparer-ligne:not(.comparer-legende) .comparer-nous::before { display: none; }
  .demenagement { aspect-ratio: 360 / 626; }
  .appel { padding-block: 150px 170px; }
  .ruban-a { transform: rotate(-6deg); }
  .ruban-b { transform: rotate(5deg); }
  .france-lieu { font-size: .9rem; }
  .france-lieu-haut { transform: translate(-18%, 42%); }
  .france-lieu-droite { transform: translate(-8%, 58%); margin-left: 0; }
}
@media (max-width: 640px) {
  .entete .nav-tel { display: none; }
  .appel-direct { display: grid; }
}
@media (max-width: 430px) {
  .rail-tel { display: block; }
  .entete-cadre { gap: 7px; }
  .entete .bouton { padding: 0 11px; font-size: .86rem; }
  .marque { gap: 8px; }
  .marque-mot { font-size: 1.15rem; }
}
@media (max-width: 389px) {
  .entete-cadre { gap: 6px; }
  .entete .bouton { padding: 0 9px; font-size: .82rem; }
  .drapeau { padding: 5px 6px; }
  .drapeau-tissu { width: 21px; height: 14px; }
  .marque .logo { width: 30px; height: 30px; }
  .marque-mot { font-size: 1.08rem; }
}
@media (max-width: 350px) {
  .marque-mot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .colonne-piste, .ruban-piste, .drapeau-tissu i { animation: none; }
  .tuile { opacity: 1; transform: none; }
  .mur.pret .tuile { animation: none; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}
