/* ---- /assets/css/pg-base.css ---- */
/* ══════════════════════════════════════════════
    pg-base.css · lmscom · DA « Playful Geometric »
    Socle partagé de la page v2/index.html.
    Remplace main.css : reset, base, nav, drawer,
    boutons, layout de section, fade-up, footer,
    mini RDV, keyframes partagées, responsive.
    Tout passe par pg-tokens.css (var(--...)).
    ══════════════════════════════════════════════ */

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
ul, ol { list-style: none; }

/* ── BASE ────────────────────────────────────── */
html { scroll-behavior: smooth; overflow-anchor: none; }

/* Ancres : la pill flottante ne doit pas recouvrir le titre visé */
section[id], div[id] { scroll-margin-top: 92px; }

body {
    counter-reset: sec;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--fg);
    line-height: var(--lh-body);
    font-size: var(--fs-base);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-anchor: none;
    padding-top: var(--announce-h);
}

/* Léger pois autorisé sur certaines zones (jamais sur tout le body) */
.pg-dots-soft { background-image: var(--pat-dots-soft); }
.pg-dots { background-image: var(--pat-dots); }
.pg-grid { background-image: var(--pat-grid); }
.pg-stripes { background-image: var(--pat-stripes); }

/* Focus visible partout */
:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
}

/* ── FORMULAIRES (base, s'il y en a) ─────────── */
input, textarea, select {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--fg);
    background: var(--card);
    border: var(--bw) solid var(--border-input);
    border-radius: var(--r-sm);
    padding: 12px 14px;
    transition: border-color var(--t) ease, box-shadow var(--t) ease;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-ink);
    box-shadow: var(--pop-focus);
}
label {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--fs-xs);
    letter-spacing: 0.12em;
    color: var(--fg);
    margin-bottom: 6px;
}

/* ── EYEBROWS / LABELS / FOLIOS (pastille sticker) ── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--fs-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg);
    background: var(--yellow);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-full);
    padding: 6px 14px;
    margin-bottom: 20px;
}
.section-head { counter-increment: sec; }
.section-head .eyebrow::before {
    content: "(" counter(sec, decimal-leading-zero) ")";
    font-weight: 800;
}

/* ── ANNOUNCE BAR (fond --fg, pastille jaune) ── */
.announce-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
    min-height: 40px;
    background: var(--fg);
    border-bottom: var(--bw) solid var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 8px 20px;
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--fg-inverse);
    letter-spacing: 0.01em;
}
.announce-bar strong { color: var(--yellow); font-weight: 800; }
.announce-bar .announce-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: var(--r-full);
    background: var(--yellow);
    border: var(--bw) solid var(--bg);
}
.announce-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-ink);
    color: var(--accent-fg);
    text-decoration: none;
    font-size: var(--fs-xs);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--r-full);
    border: var(--bw) solid var(--bg);
    transition: transform var(--t) var(--ease-bounce);
    flex-shrink: 0;
}
.announce-cta:hover { transform: translate(-1px, -1px); }
@media (max-width: 600px) {
    .announce-bar { gap: 10px; font-size: var(--fs-xs); }
    .announce-text-long { display: none; }
    .announce-text-short { display: inline; }
}
@media (min-width: 601px) {
    .announce-text-short { display: none; }
}

/* ── NAV (pilule flottante, version sticker) ─── */
nav {
    position: fixed;
    top: calc(14px + var(--announce-h));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1060px;
    z-index: 100;
    padding: 7px 8px 7px 22px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--card);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-full);
    box-shadow: var(--pop);
    transition: transform 0.45s var(--ease-bounce), opacity 0.3s ease;
}
nav.nav-hidden {
    transform: translateX(-50%) translateY(calc(-100% - 24px));
    opacity: 0;
    pointer-events: none;
}

/* Logo */
.logo {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-md);
    letter-spacing: -0.02em;
    color: var(--fg);
    text-decoration: none;
    flex-shrink: 0;
}
.logo .dot { color: var(--accent); }

/* Liens nav */
.nav-links {
    display: flex;
    gap: 2px;
}
.nav-links > li { position: relative; }
.nav-links a {
    text-decoration: none;
    color: var(--muted-fg);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: -0.005em;
    padding: 8px 14px;
    border-radius: var(--r-full);
    transition: color var(--t) ease, background var(--t) ease;
    display: inline-block;
    white-space: nowrap;
}
/* 4 entrées : la pill tient sans débordement de 981 à 1440 px */
@media (max-width: 1140px) {
    .nav-links a { padding: 8px 10px; }
    nav { gap: 10px; }
}
@media (max-width: 1080px) {
    .nav-links a { padding: 8px 8px; font-size: 0.85rem; }
    nav { gap: 6px; padding-left: 18px; }
    .nav-cta { padding: 9px 14px; }
}
.nav-links a:hover { color: var(--fg); background: var(--yellow); }
.nav-links a.active { color: var(--fg); background: var(--yellow); }

/* Entrées à sous-menu : petit chevron, sous-menu au survol ET au focus clavier */
.nav-links .nav-top::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform var(--t) var(--ease-bounce);
}
.nav-links .has-sub.is-open > .nav-top { color: var(--fg); background: var(--yellow); }
.nav-links .has-sub.is-open > .nav-top::after { transform: rotate(180deg); }
.nav-sub {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 5;
    min-width: 17rem;
    margin-top: 14px;
    padding: 8px;
    background: var(--card);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-md);
    box-shadow: var(--pop);
    opacity: 0;
    visibility: hidden;
    translate: -50% 6px;
    transition: opacity 0.2s ease, translate 0.3s var(--ease-bounce), visibility 0s linear 0.2s;
}
/* pont invisible : le pointeur ne perd pas le survol entre le titre et le sous-menu */
.nav-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub.is-open > .nav-sub { opacity: 1; visibility: visible; translate: -50% 0; transition-delay: 0s; }
.nav-sub a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    color: var(--fg);
}
.nav-sub a:hover, .nav-sub a:focus-visible { background: var(--c, var(--yellow)); }
.nav-sub a { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.nav-sub .ns-p { font-size: 0.8rem; font-weight: 700; color: var(--muted-fg); white-space: nowrap; }
.nav-sub a:hover .ns-p, .nav-sub a:focus-visible .ns-p { color: var(--fg); }
/* en-tête de porte : numéro + besoin + prix d'entrée, comme sur le hub de la home */
.nav-sub-head { display: flex; align-items: center; gap: 12px; padding: 8px 14px 12px; margin-bottom: 6px; border-bottom: 1px dashed var(--border-input); color: var(--fg); }
.nav-sub-head--plain { padding-bottom: 10px; }
.ns-num { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: var(--bw) solid var(--fg); border-radius: 50%; background: var(--c, var(--yellow)); font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; color: var(--fg); }
.ns-need { font-family: var(--font-head); font-weight: 800; font-size: var(--fs-sm); line-height: 1.2; letter-spacing: -0.01em; }
.ns-need small { display: block; margin-top: 2px; font-family: var(--font-body); font-weight: 700; font-size: 0.75rem; color: var(--muted-fg); letter-spacing: 0; }
.nav-links .has-sub[data-sub="studio"] .nav-sub { min-width: 13.5rem; }

/* CTA dans la pill */
.nav-cta { padding: 9px 18px; font-size: var(--fs-sm); flex-shrink: 0; }

/* Burger, masqué desktop */
.nav-burger {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    border-radius: 50%;
    color: var(--fg);
    flex-shrink: 0;
}
.nav-burger span {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2.5px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.35s var(--ease-bounce), top 0.35s var(--ease-bounce);
}
.nav-burger span:first-child { top: 15px; }
.nav-burger span:last-child  { top: 23px; }
body.drawer-open .nav-burger span:first-child { top: 19px; transform: rotate(45deg); }
body.drawer-open .nav-burger span:last-child  { top: 19px; transform: rotate(-45deg); }

/* ── DRAWER (mobile plein écran) ─────────────── */
.nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--bg);
    color: var(--fg);
    display: flex;
    flex-direction: column;
    padding: 96px 28px 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    overflow-y: auto;
}
/* Grandes formes décoratives dans le drawer */
.nav-drawer::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: var(--r-full);
    background: var(--yellow);
    opacity: 0.55;
    z-index: 0;
    animation: pg-float 8s ease-in-out infinite;
}
.nav-drawer::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -50px;
    width: 190px;
    height: 190px;
    background: var(--mint);
    opacity: 0.4;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    z-index: 0;
}
body.drawer-open .nav-drawer { opacity: 1; visibility: visible; }
body.drawer-open { overflow: hidden; }

.nav-drawer-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.nav-drawer-link {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(32px, 7.5vw, 46px);
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--fg);
    text-decoration: none;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: var(--bw) solid var(--border);
    transition: color 0.25s ease, padding-left 0.35s var(--ease-bounce);
}
.nav-drawer-num { flex: none; width: 34px; height: 34px; margin-right: 14px; display: grid; place-items: center; border: var(--bw) solid var(--fg); border-radius: 50%; background: var(--c, var(--yellow)); font-size: 1rem; line-height: 1; }
.nav-drawer-link .nav-drawer-label { flex: 1; }
.nav-drawer-need { padding: 4px 0 8px 8px; font-family: var(--font-body); font-weight: 600; font-size: var(--fs-sm); color: var(--muted-fg); }
.nav-drawer-sublink .ns-l { flex: 1; }
.nav-drawer-sublink .ns-p { font-size: var(--fs-sm); font-weight: 700; color: var(--muted-fg); white-space: nowrap; }
.nav-drawer-link em {
    font-family: var(--font-head);
    font-weight: 800;
    font-style: normal;
    color: var(--accent);
}
.nav-drawer-link:hover { color: var(--accent-ink); padding-left: 8px; }
.nav-drawer-link .nav-arrow {
    font-size: 22px;
    color: var(--muted-fg);
    transition: transform 0.3s var(--ease-bounce), color 0.3s ease;
}
.nav-drawer-link:hover .nav-arrow { color: var(--accent-ink); transform: translateX(4px); }

/* Drawer : les trois métiers en accordéon. Le titre mène au hub, le chevron déplie les sous-liens. */
.nav-drawer-row { display: flex; align-items: stretch; border-bottom: var(--bw) solid var(--border); }
.nav-drawer-row .nav-drawer-link { flex: 1; border-bottom: 0; min-width: 0; }
.nav-drawer-toggle {
    flex: none;
    width: 56px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 0;
    color: var(--fg);
    cursor: pointer;
}
.nav-drawer-toggle svg { transition: transform 0.35s var(--ease-bounce); }
.nav-drawer-item.is-open .nav-drawer-toggle svg { transform: rotate(180deg); }
.nav-drawer-toggle:focus-visible { outline-offset: -4px; border-radius: var(--r-md); }
.nav-drawer-subwrap { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.35s ease, visibility 0s linear 0.35s; }
.nav-drawer-item.is-open .nav-drawer-subwrap { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.nav-drawer-sub { min-height: 0; overflow: hidden; }
.nav-drawer-sublink {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0 12px 8px;
    color: var(--fg);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--fs-md);
    border-bottom: 1px dashed var(--border-input);
}
.nav-drawer-sublink::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--accent)); border: 2px solid var(--fg); flex: none; }
.nav-drawer-sublink:hover { color: var(--accent-ink); }
.nav-drawer-sub li:last-child .nav-drawer-sublink { border-bottom: 0; padding-bottom: 16px; }

.nav-drawer-foot {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 32px;
    border-top: var(--bw) solid var(--border);
    position: relative;
    z-index: 1;
}
.nav-drawer-mail {
    color: var(--muted-fg);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--fs-base);
    text-decoration: none;
    transition: color 0.2s ease;
}
.nav-drawer-mail:hover { color: var(--accent-ink); }
.nav-drawer-cta { width: 100%; justify-content: center; }

/* ── BOUTONS ─────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: var(--r-full);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    border: var(--bw) solid transparent;
    line-height: 1;
    letter-spacing: -0.005em;
    position: relative;
    overflow: visible;
    transition: transform var(--t) var(--ease-bounce), box-shadow var(--t) var(--ease-bounce), background var(--t) ease, border-color var(--t) ease;
}
.btn-tc, .nav-cta, .announce-cta {
    background: var(--accent-ink);
    color: var(--accent-fg);
    border-color: var(--fg);
    box-shadow: var(--pop);
}
.btn-tc:hover, .nav-cta:hover { transform: translate(-2px, -2px); box-shadow: var(--pop-hover); }
.btn-tc:active, .nav-cta:active { transform: translate(2px, 2px); box-shadow: var(--pop-active); }

.btn-ghost {
    background: transparent;
    color: var(--fg);
    border-color: var(--fg);
}
.btn-ghost:hover { background: var(--yellow); }

/* Bouton secondaire (cartes claires) : bordure visible, pilule, pleine largeur possible */
.btn-primary {
    background: transparent;
    color: var(--fg);
    border-color: var(--fg);
    border-width: var(--bw);
}
.btn-primary:hover { background: var(--yellow); transform: translate(-2px, -2px); box-shadow: var(--pop-hover); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: var(--pop-active); }

.btn-white {
    background: var(--fg);
    color: var(--fg-inverse);
    border-color: var(--fg);
    box-shadow: var(--pop);
}
.btn-white:hover { background: var(--accent-ink); transform: translate(-2px, -2px); box-shadow: var(--pop-hover); }
.btn-white:active { transform: translate(2px, 2px); box-shadow: var(--pop-active); }
.btn-white .btn-arrow > span { background: var(--bg); color: var(--fg); }

.btn-lg { padding: 16px 30px; font-size: var(--fs-base); }

.btn-arrow { display: inline-flex; align-items: center; gap: 8px; }
.btn-arrow > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: var(--r-full);
    background: var(--card);
    color: var(--fg);
    transition: transform var(--t) var(--ease-bounce);
}
.btn:hover .btn-arrow > span { transform: translateX(3px); }

/* Ghost dans contexte sombre (aplat --accent ou --fg) */
.dark-ctx .btn-ghost { color: var(--fg-inverse); border-color: var(--fg-inverse); }
.dark-ctx .btn-ghost:hover { background: var(--bg); color: var(--fg); }

/* ── LAYOUT SECTIONS ─────────────────────────── */
.section { padding: var(--section-y) var(--gutter); }
.section-inner { max-width: var(--container); margin: 0 auto; }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 60px;
    margin-bottom: calc(var(--section-y) * 0.66);
    flex-wrap: wrap;
}
.section-head-left { flex: 1; min-width: 280px; }
.section-head-right {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--muted-fg);
    max-width: 380px;
    line-height: var(--lh-body);
}

.section-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-3xl);
    letter-spacing: -0.02em;
    line-height: var(--lh-tight);
    color: var(--fg);
}

/* <em> : plus d'italique serif. Surlignage sticker par défaut,
   variante squiggle et rotation de couleur disponibles. */
.section-title em, .mega-headline em {
    font-family: var(--font-head);
    font-weight: 800;
    font-style: normal;
    color: var(--fg);
    position: relative;
    display: inline-block;
    padding: 0 0.1em;
}
.section-title em::before {
    content: '';
    position: absolute;
    inset: 0.1em -0.04em 0.05em;
    background: var(--yellow);
    transform: rotate(-2deg);
    border-radius: var(--r-sm);
    z-index: -1;
}
.section-title em.em-violet::before { background: var(--violet); }
.section-title em.em-pink::before   { background: var(--pink); }
.section-title em.em-mint::before   { background: var(--mint); }
.section-title em.em-accent::before { background: var(--accent); }
.section-title em.em-violet, .section-title em.em-accent { color: var(--accent-fg); }
/* Variante squiggle : plus de plaque, un trait ondulé sous le mot */
.section-title em.em-squiggle::before { display: none; }
.section-title em.em-squiggle {
    color: var(--fg);
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
    text-decoration-color: var(--accent);
}
.section-title em.em-squiggle.em-violet { text-decoration-color: var(--violet); }
.section-title em.em-squiggle.em-pink   { text-decoration-color: var(--pink); }
.section-title em.em-squiggle.em-mint   { text-decoration-color: var(--mint); }
.section-title em.em-squiggle.em-yellow { text-decoration-color: var(--yellow); }

/* ── FADE-UP / TITLE-IN ───────────────────────
   FAIL-SAFE : sans html.js, tout reste visible. */
.fade-up { transition: opacity var(--t) var(--ease-bounce), transform var(--t) var(--ease-bounce); }
html.js .fade-up { opacity: 0; transform: scale(0.85) translateY(22px); }
html.js .fade-up.visible { opacity: 1; transform: scale(1) translateY(0); }
.fade-up-d1 { transition-delay: 0.08s; }
.fade-up-d2 { transition-delay: 0.16s; }
.fade-up-d3 { transition-delay: 0.24s; }
.fade-up-d4 { transition-delay: 0.32s; }

html.js .section-title.title-in { animation: pg-pop 0.6s var(--ease-bounce) both; }

/* ── MEGA FOOTER ──────────────────────────────── */
.mega-footer {
    background: var(--fg);
    color: var(--fg-inverse);
    padding: var(--section-y) var(--gutter) calc(var(--section-y) * 0.7);
    position: relative;
    overflow: hidden;
}
.mega-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--bg) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
    opacity: 0.06;
    pointer-events: none;
}
.mega-footer-inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 1; }

.mega-footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gutter);
    padding-bottom: calc(var(--section-y) * 0.66);
    border-bottom: var(--bw) solid var(--bg);
}
.mega-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--fs-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg);
    background: var(--yellow);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-full);
    padding: 6px 14px;
    margin-bottom: 24px;
}
.mega-headline {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-2xl);
    letter-spacing: -0.02em;
    line-height: var(--lh-tight);
    margin-bottom: 36px;
    color: var(--fg-inverse);
}
.mega-headline em {
    color: var(--yellow);
    background: none;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
    text-decoration-color: var(--yellow);
}
.mega-headline em::before { display: none; }
.mega-mail {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-2xl);
    letter-spacing: -0.02em;
    color: var(--fg-inverse);
    text-decoration: none;
    border-bottom: var(--bw) solid var(--bg);
    padding-bottom: 8px;
    display: inline-block;
    transition: color var(--t) ease, border-color var(--t) ease, transform var(--t) var(--ease-bounce);
}
.mega-mail:hover { color: var(--yellow); border-color: var(--yellow); transform: translate(-2px, -2px); }
.mega-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px clamp(20px, 3vw, 40px); align-content: start; }
.mega-meta-block .mb-list { display: grid; gap: 6px; }
@media (max-width: 520px) { .mega-meta { grid-template-columns: 1fr; gap: 26px; } }
.mega-meta-block .mb-label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--fs-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 10px;
}
.mega-meta-block .mb-content { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--fg-inverse); line-height: var(--lh-body); }
.mega-meta-block a {
    color: var(--fg-inverse);
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    transition: text-decoration-color var(--t) ease, color var(--t) ease;
}
.mega-meta-block a:hover { color: var(--yellow); text-decoration-color: var(--yellow); }

.mega-logo-row { padding: calc(var(--section-y) * 0.66) 0 40px; position: relative; }
.mega-logo-row::before {
    content: '';
    position: absolute;
    top: 4px;
    right: 8%;
    width: 40px;
    height: 40px;
    border-radius: var(--r-full);
    background: var(--violet);
    border: var(--bw) solid var(--bg);
    animation: pg-float 7s ease-in-out infinite;
}
.mega-logo-row::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 4%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 34px solid var(--mint);
}
.mega-logo {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(60px, 18vw, 300px);
    letter-spacing: -0.02em;
    line-height: 0.85;
    color: var(--fg-inverse);
    display: block;
    white-space: nowrap;
}
.mega-logo .dot { color: var(--accent); }
.mega-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    border-top: var(--bw) solid var(--bg);
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    color: var(--fg-inverse);
    flex-wrap: wrap;
    gap: 16px;
}
.mega-bottom-links { display: flex; gap: 24px; }
.mega-bottom-links a { color: var(--fg-inverse); text-decoration: none; transition: color var(--t) ease; }
.mega-bottom-links a:hover { color: var(--yellow); }

/* ── MINI BOUTON RDV (déclencheur modale Cal.com) ── */
.lms-rdv-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 90;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--r-full);
    background: var(--accent-ink);
    color: var(--accent-fg);
    border: var(--bw) solid var(--fg);
    cursor: pointer;
    box-shadow: var(--pop);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--t) var(--ease-bounce), box-shadow var(--t) var(--ease-bounce), background var(--t) ease;
}
.lms-rdv-btn span {
    /* Visuellement caché, lu par les lecteurs d'écran */
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.lms-rdv-btn svg { width: 18px; height: 18px; color: var(--accent-fg); }
.lms-rdv-btn:hover { transform: translate(-2px, -2px); box-shadow: var(--pop-hover); }
.lms-rdv-btn:active { transform: translate(2px, 2px); box-shadow: var(--pop-active); }
/* Tooltip au hover (desktop) */
.lms-rdv-btn::after {
    content: 'Prendre rendez-vous';
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: var(--fg);
    color: var(--fg-inverse);
    padding: 6px 14px;
    border-radius: var(--r-full);
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border: var(--bw) solid var(--fg);
}
.lms-rdv-btn:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ── NEUTRALISATION DE L'ANCIENNE DA ──────────
   Curseur signature, grain, sceau, cadre blueprint :
   plus de raison d'être dans la DA sticker. */
.cursor-ring, .seal, .bp-frame, .hero-grain { display: none; }

/* ── KEYFRAMES PARTAGÉES ─────────────────────── */
@keyframes pg-pop {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes pg-wiggle {
    0%, 100% { transform: rotate(0deg); }
    25%      { transform: rotate(3deg); }
    75%      { transform: rotate(-3deg); }
}
@keyframes pg-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes pg-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-14px) rotate(4deg); }
}

/* ── REDUCED MOTION ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    html.js .fade-up { opacity: 1 !important; transform: none !important; }
    html.js .section-title.title-in { animation: none !important; }
    .mega-logo-row::before, .nav-drawer::before { animation: none !important; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

/* ── RESPONSIVE PARTAGÉ ───────────────────────── */
@media (max-width: 980px) {
    nav { padding: 7px 8px 7px 22px; gap: 8px; }
    .nav-links, .nav-cta { display: none; }
    .nav-burger { display: block; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
    .mega-footer-top { grid-template-columns: 1fr; gap: 48px; }
    .mega-logo-row { padding: 48px 0 28px; }
}
@media (max-width: 640px) {
    nav { width: calc(100% - 24px); top: calc(10px + var(--announce-h)); min-height: 52px; }
    .logo { font-size: var(--fs-base); }
    .nav-drawer { padding: 88px 24px 32px; }
    .nav-drawer::before, .nav-drawer::after { display: none; }
    .mega-footer { padding: 56px 5% 60px; }
    .btn { width: 100%; }
    .nav-cta, .lms-rdv-btn { width: auto; }
    /* Cible tactile : 48px minimum au doigt */
    .lms-rdv-btn { width: 48px; height: 48px; bottom: 14px; right: 14px; }
    .lms-rdv-btn::after { display: none; }
}

/* ── DECOR DE SECTION : les formes en z-index -1 restent au-dessus du fond de leur section ── */
.impact-section, .pillars-section, .offre-section, .included-section, .faq-section {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
}

/* ── SQUIGGLES : air sous le mot pour ne pas toucher la ligne suivante ── */
.compare-section .section-title { margin-bottom: 18px; }
.mega-headline em { display: inline-block; padding-bottom: .12em; }


/* ---- /assets/css/pg-home-a.css ---- */
/* ══════════════════════════════════════════════
   pg-home-a.css · lmscom · DA « Playful Geometric »
   Lot B : hero · marquee · impact · notre travail ·
   identite. S'appuie sur pg-tokens.css (variables)
   et pg-base.css (reset, nav, boutons, .section,
   .fade-up, keyframes pg-pop / pg-wiggle /
   pg-marquee / pg-float). Ne redefinit aucun des
   deux. Toute keyframe propre a ce lot est prefixee
   pga-.
   ══════════════════════════════════════════════ */

/* ── HERO : structure ── */
.hero {
    position: relative;
    overflow-x: clip;
    padding: clamp(120px, 20vw, 176px) var(--gutter) clamp(88px, 12vw, 120px);
    background: var(--bg);
    text-align: center;
}

/* coin en pois, discret */
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: min(260px, 40vw);
    height: min(260px, 40vw);
    background-image: var(--pat-dots);
    opacity: .5;
    -webkit-mask-image: radial-gradient(circle at 0 0, black 55%, transparent 78%);
            mask-image: radial-gradient(circle at 0 0, black 55%, transparent 78%);
    pointer-events: none;
    z-index: 0;
}

/* cercle jaune massif, decentre, derriere le titre */
.hero-inner::before {
    content: '';
    position: absolute;
    top: -6%;
    left: 54%;
    width: clamp(320px, 46vw, 620px);
    height: clamp(320px, 46vw, 620px);
    background: var(--yellow);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: -1;
    animation: pga-hero-drift 16s ease-in-out infinite;
}

/* halos : 5 formes nettes, flottement lent */
.hero-aura { position: absolute; inset: 0; overflow: visible; z-index: 0; pointer-events: none; }
.hero-aura .blob { position: absolute; will-change: transform; }
.hero-aura .blob-1 {
    top: 10%; left: 4%;
    width: 76px; height: 76px;
    background: var(--pink);
    border: var(--bw) solid var(--fg);
    border-radius: 50%;
    animation: pg-float 7s ease-in-out infinite;
}
.hero-aura .blob-2 {
    top: 62%; left: 10%;
    width: 0; height: 0;
    border-left: 46px solid transparent;
    border-right: 46px solid transparent;
    border-bottom: 78px solid var(--mint);
    filter: drop-shadow(0 0 0 var(--fg));
    animation: pg-float 9s ease-in-out infinite 1s;
}
.hero-aura .blob-3 {
    top: 22%; right: 8%;
    width: 64px; height: 64px;
    background: var(--violet);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-sm);
    transform: rotate(18deg);
    animation: pg-float 8s ease-in-out infinite .5s;
}
.hero-aura .blob-4 {
    bottom: 16%; right: 14%;
    width: 120px; height: 46px;
    background: var(--accent);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-full);
    animation: pg-float 10s ease-in-out infinite 1.4s;
}
.hero-aura .blob-5 {
    /* deplace hors de la zone centree (stats + scroll), coin bas-gauche libre */
    bottom: 3%; left: 5%;
    width: 90px; height: 90px;
    border: var(--bw) solid var(--fg);
    border-radius: 50%;
    background: transparent;
    animation: pg-float 11s ease-in-out infinite .8s;
}
@keyframes pga-hero-drift {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(2.4%); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
}

/* ── HERO : contenu ── */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 28px;
    padding: 8px 18px;
    background: var(--mint);
    color: var(--fg);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-full);
    box-shadow: var(--pop);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--fs-xs);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-display {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-display);
    line-height: var(--lh-tight);
    letter-spacing: -0.02em;
    color: var(--fg);
}
.hero-display .line { display: block; }

.hero-display .accent-phrase { display: inline; }

/* etiquette sticker du mot qui tourne */
.rotator {
    /* content-box : la largeur posee en JS ne doit couvrir que le texte,
       padding et bordure s'ajoutent en plus, sinon le mot le plus long est rogne */
    box-sizing: content-box;
    position: relative;
    display: inline-block;
    height: 1.05em;
    line-height: 1.05;
    overflow: visible;   /* jamais de rognage : le fondu suffit a masquer le mot sortant */
    vertical-align: -0.08em;
    margin-right: .16em;
    padding: 0 .28em;
    background: var(--accent);
    color: var(--fg);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-sm);
    box-shadow: var(--pop);
    transform: rotate(-2deg);
    /* pas de bounce sur la largeur : le rebond passait sous la largeur du mot et le coupait */
    transition: width .3s ease-out;
}
.rotator .rotator-word {
    position: absolute;
    left: .28em;
    bottom: 0;
    white-space: nowrap;
    transition: opacity .25s ease .3s, transform .45s var(--ease-bounce) .3s;   /* le mot entre une fois l'etiquette a sa largeur */
}
.rotator .rotator-word.rw-in { opacity: 0; transform: translateY(.3em); transition: none; }
.rotator .rotator-word.rw-out { opacity: 0; transform: translateY(-.3em); transition: opacity .15s ease, transform .15s ease; }

.hero-display .line-2 { position: relative; display: inline-block; }
.hand-underline {
    position: absolute;
    left: -.05em;
    bottom: -.16em;
    width: 3em;
    max-width: 102%;
    height: .26em;
    color: var(--violet);
    overflow: visible;
    pointer-events: none;
}
.hand-underline path {
    stroke: currentColor;
    stroke-width: 5;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 1;
    /* fail-safe : trait visible par defaut sans animation (capture headless, JS/anim indisponible) */
    stroke-dashoffset: 0;
    vector-effect: non-scaling-stroke;
    animation: pga-hand-draw .9s .3s cubic-bezier(.45,0,.2,1) forwards;
}
/* l'animation ne doit jamais finir a stroke-dashoffset plein (trait invisible) */
@keyframes pga-hand-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.hero-bottom { margin-top: 40px; }
.hero-lead { font-size: var(--fs-md); color: var(--muted-fg); line-height: var(--lh-body); max-width: 520px; margin: 0 auto 32px; }
.hero-lead strong { color: var(--fg); font-weight: 700; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-stats {
    display: inline-flex;
    gap: 18px;
    margin-top: 52px;
    margin-bottom: 24px; /* degage .hero-scroll, absolu en bas de section */
    flex-wrap: wrap;
    justify-content: center;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 20px;
    background: var(--card);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-md);
    box-shadow: var(--pop);
}
.hero-stat:nth-child(1) { background: var(--yellow); transform: rotate(-2deg); }
.hero-stat:nth-child(2) { background: var(--mint); transform: rotate(1.5deg); }
.hero-stat:nth-child(3) { background: var(--pink); transform: rotate(-1deg); }
.hero-stat-label { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); opacity: .68; }
.hero-stat-value { font-family: var(--font-head); font-weight: 800; font-size: var(--fs-lg); color: var(--fg); line-height: 1; }

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.hero-scroll-label { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-fg); }
.hero-scroll-line {
    width: 26px;
    height: 26px;
    border: var(--bw) solid var(--fg);
    border-radius: 50%;
    background: var(--card);
    animation: pga-scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes pga-scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

@media (max-width: 640px) {
    .hero-aura,
    .hero::after { display: none; }
    .hero-inner::before { width: 60vw; height: 60vw; top: -4%; }
    .hero-stats { gap: 10px; }
    .hero-stat { padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-inner::before,
    .hero-aura .blob,
    .hero-scroll-line { animation: none; }
    .hand-underline path { animation: none; stroke-dashoffset: 0; }
}

/* ── MARQUEE ── */
.marquee-wrap {
    position: relative;
    overflow: hidden;
    background: var(--fg);
    border-top: var(--bw) solid var(--fg);
    border-bottom: var(--bw) solid var(--fg);
    padding: 16px 0;
}
.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: pg-marquee 32s linear infinite;
}
.marquee-item {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-md);
    color: var(--bg);
    white-space: nowrap;
    padding: 0 6px;
}
.marquee-item.italic { font-style: normal; }
.marquee-item.italic:nth-of-type(6n+2)  { color: var(--yellow); }
.marquee-item.italic:nth-of-type(6n+8)  { color: var(--mint); }
.marquee-item.italic:nth-of-type(6n+14) { color: var(--pink); }

.marquee-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin: 0 14px;
    font-size: 0;
}
.marquee-sep::before { content: ''; display: block; }
.marquee-sep:nth-of-type(3n+1)::before { width: 12px; height: 12px; background: var(--yellow); border-radius: 50%; }
.marquee-sep:nth-of-type(3n+2)::before {
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 11px solid var(--pink);
}
.marquee-sep:nth-of-type(3n)::before { width: 11px; height: 11px; background: var(--mint); transform: rotate(20deg); }

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* ── IMPACT ── */
.impact-section {
    position: relative;
    overflow-x: clip;
    padding: var(--section-y) var(--gutter);
    background: var(--bg);
}
.impact-inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 1; }

/* decor desktop uniquement : grand demi-cercle rose + zone de pois en coin */
@media (min-width: 1024px) {
    .impact-section::before {
        content: '';
        position: absolute;
        top: 70px; right: -110px;
        width: 380px; height: 380px;
        border-radius: 50%;
        background: var(--pink);
        border: var(--bw) solid var(--fg);
        z-index: -1;
        pointer-events: none;
    }
    .impact-section::after {
        content: '';
        position: absolute;
        bottom: 0; left: 0;
        width: 180px; height: 180px;
        background-image: var(--pat-dots-soft);
        -webkit-mask-image: radial-gradient(circle at 0 100%, black 55%, transparent 78%);
                mask-image: radial-gradient(circle at 0 100%, black 55%, transparent 78%);
        z-index: -1;
        pointer-events: none;
    }
}

.impact-statement {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-3xl);
    line-height: var(--lh-tight);
    letter-spacing: -0.015em;
    color: var(--fg);
    max-width: 900px;
    margin-bottom: 28px;
}
.impact-statement em {
    font-style: normal;
    position: relative;
    display: inline-block;
    padding: 0 .1em;
    color: var(--fg);
    background: var(--yellow);
    border-radius: var(--r-sm);
    transform: rotate(-1.4deg);
}

.impact-sub {
    font-size: var(--fs-md);
    color: var(--muted-fg);
    max-width: 640px;
    line-height: var(--lh-body);
    margin-bottom: 56px;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.impact-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 22px 22px;
    background: var(--card);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-md);
    box-shadow: var(--pop-card);
}
.impact-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 96px;
    padding: 0 12px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-xl);
    color: var(--fg);
    border: var(--bw) solid var(--fg);
}
.impact-stat:nth-child(1) .impact-num { background: var(--pink); border-radius: 50%; }
.impact-stat:nth-child(2) .impact-num { background: var(--yellow); border-radius: var(--r-arch); }
.impact-stat:nth-child(3) .impact-num { background: var(--mint); border-radius: var(--r-leaf); }
.impact-label { font-size: var(--fs-sm); color: var(--muted-fg); line-height: var(--lh-body); }
.impact-source { font-size: var(--fs-xs); color: var(--muted-fg); margin-top: 28px; opacity: .8; }

@media (max-width: 760px) {
    .impact-stats { grid-template-columns: 1fr; }
}

/* ── NOTRE TRAVAIL : rail ── */
.work-section { background: var(--bg); }
.case-rail-wrap { position: relative; overflow-x: clip; }

.case-wall {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    overflow-anchor: none;
    scroll-snap-type: x proximity;
    scroll-behavior: auto;
    padding: 16px 6px 34px;
    margin: -8px 0 -18px;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.case-wall::-webkit-scrollbar { display: none; }
.case-wall.is-grab { cursor: grabbing; }

.case-card {
    flex: 0 0 82%;
    max-width: 320px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    padding: 16px;
    background: var(--card);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-md);
    box-shadow: var(--pop-card);
    color: var(--fg);
    text-decoration: none;
    transition: transform var(--t) var(--ease-bounce), box-shadow var(--t) var(--ease-bounce);
}
.case-card:hover { transform: rotate(-1deg) scale(1.02); box-shadow: var(--pop-hover); }

.case-head { display: flex; align-items: center; padding: 2px 4px 12px; }
.case-logo { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); letter-spacing: -.01em; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.case-logo i { font-style: normal; color: var(--accent-ink); }

.case-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 14px;
    padding: 20px 0;
    border-radius: var(--r-sm);
    position: relative;
    overflow: hidden;
}
.case-card:nth-of-type(5n+1) .case-stage { background-color: var(--violet); }
.case-card:nth-of-type(5n+2) .case-stage { background-color: var(--pink); }
.case-card:nth-of-type(5n+3) .case-stage { background-color: var(--yellow); }
.case-card:nth-of-type(5n+4) .case-stage { background-color: var(--mint); }
.case-card:nth-of-type(5n+5) .case-stage { background-color: var(--accent); }
.case-card:nth-of-type(3n+1) .case-stage { background-image: var(--pat-dots); }
.case-card:nth-of-type(3n+2) .case-stage { background-image: var(--pat-grid); }
.case-card:nth-of-type(3n+3) .case-stage { background-image: var(--pat-stripes); background-size: auto; }

.case-phone {
    width: 62%;
    border-radius: var(--r-md);
    background: var(--card);
    padding: 6px;
    border: var(--bw) solid var(--fg);
    box-shadow: var(--pop);
    position: relative;
    z-index: 1;
    transition: transform var(--t) var(--ease-bounce);
}
.case-card:hover .case-phone { transform: rotate(1.5deg) scale(1.04); }
.case-shot { display: block; width: 100%; aspect-ratio: 11 / 16; border-radius: calc(var(--r-md) - 6px); object-fit: cover; object-position: top center; }

.case-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 4px; }
.case-foot-l { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.case-tag { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.case-name { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); letter-spacing: -.01em; line-height: 1.15; color: var(--fg); }
.case-go { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; color: var(--fg); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; flex-shrink: 0; opacity: .6; transition: opacity var(--t) ease, transform var(--t) var(--ease-bounce); }
.case-card:hover .case-go { opacity: 1; transform: translateX(3px); }

.case-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; }
.case-hint { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-fg); }
.case-hint span { width: 22px; height: 2px; background: var(--fg); border-radius: 2px; }
.case-arrows { display: flex; gap: 14px; padding: 2px 8px 8px 2px; }   /* marge pour l'ombre dure : le rail est en overflow-x clip */
.case-arrow {
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 50%;
    border: var(--bw) solid var(--fg);
    background: var(--accent-ink);
    color: var(--card);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--pop);
    transition: transform var(--t) var(--ease-bounce), box-shadow var(--t) var(--ease-bounce);
}
.case-arrow:hover { transform: translate(-2px, -2px); box-shadow: var(--pop-hover); }
.case-arrow:active { transform: translate(2px, 2px); box-shadow: var(--pop-active); }
.case-arrow:disabled { opacity: .35; pointer-events: none; box-shadow: var(--pop); transform: none; }
.case-arrow svg { width: 18px; height: 18px; pointer-events: none; }

@media (min-width: 760px) {
    .case-card { flex-basis: 300px; max-width: none; }
}
@media (min-width: 1140px) {
    .case-card { flex-basis: 300px; min-height: 404px; }
}
@media (max-width: 759px) {
    .case-wall { gap: 16px; padding: 12px 4px 28px; margin: -6px 0 -14px; }
    .case-card { flex-basis: 82%; }
    .case-phone { width: 60%; }
    .case-arrows { display: none; }
    .case-nav { justify-content: center; margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .case-wall { scroll-behavior: auto; }
    .case-card, .case-phone, .case-arrow { transition: none; }
}

/* ── VOTRE IDENTITE ── */
.identity-section { background: var(--bg); }

/* surlignage alterne : squiggle violet, pas d'aplat repete */
.identity-section .section-title em {
    color: var(--fg);
    background: none;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
    text-decoration-color: var(--violet);
}
.identity-section .section-title em::before { display: none; }

.identity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gutter);
    margin-bottom: 40px;
}

.brand-card {
    border-radius: var(--r-md);
    overflow: hidden;
    border: var(--bw) solid var(--fg);
    box-shadow: var(--pop-card);
    display: flex;
    flex-direction: column;
    transition: transform var(--t) var(--ease-bounce), box-shadow var(--t) var(--ease-bounce);
}
.brand-card:hover { transform: rotate(-1deg) scale(1.02); box-shadow: var(--pop-hover); }

.bcd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-bottom: var(--bw) solid var(--fg);
}

.bcd-logo-area {
    padding: 24px 20px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-grow: 1;
}
.bcd-mark { font-size: 28px; line-height: 1; flex-shrink: 0; }
.bcd-brandname { font-family: var(--font-head); font-weight: 800; font-size: var(--fs-md); letter-spacing: -0.01em; line-height: 1.1; }

.bcd-palette { display: grid; grid-template-columns: repeat(4, 1fr); height: 40px; border-top: var(--bw) solid var(--fg); border-bottom: var(--bw) solid var(--fg); }

.bcd-typo { padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.bcd-aa { font-size: 46px; line-height: 1; flex-shrink: 0; letter-spacing: -0.02em; font-family: var(--font-head); font-weight: 700; }
.bcd-aa--serif { font-family: var(--font-body); font-style: italic; font-weight: 300; }
.bcd-aa--grotesque { font-family: var(--font-head); font-weight: 800; }
.bcd-aa--sans { font-family: var(--font-body); font-weight: 800; }
.bcd-typo-meta { display: flex; flex-direction: column; gap: 4px; }
.bcd-fontname { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; }
.bcd-typo-role { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }

.bcd-lines { padding: 0 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.bcd-line { height: 3px; border-radius: 2px; opacity: .18; background: currentColor; }
.bcd-line--short { width: 55%; }

.bcd-foot { padding: 10px 20px 12px; font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-top: var(--bw) solid var(--fg); opacity: .55; }

.brand-card--dark { background: var(--fg); color: var(--bg); }
.brand-card--dark .bcd-header,
.brand-card--dark .bcd-palette,
.brand-card--dark .bcd-typo,
.brand-card--dark .bcd-foot { border-color: rgba(255,255,255,.2); }
.brand-card--dark .bcd-mark { color: var(--yellow); }

.brand-card--warm { background: var(--yellow); color: var(--fg); }
.brand-card--warm .bcd-mark { color: var(--violet); }

.brand-card--minimal { background: var(--card); color: var(--fg); }
.brand-card--minimal .bcd-mark { color: var(--accent-ink); }

.identity-note {
    text-align: center;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--muted-fg);
    line-height: var(--lh-body);
}

@media (max-width: 760px) {
    .identity-grid { grid-template-columns: 1fr; }
}


/* ---- /assets/css/pg-home-b.css ---- */
/* ══════════════════════════════════════════════
   pg-home-b.css · lmscom · DA « Playful Geometric »
   Sections ⑤ à ⑪ : piliers, comparatif, forfaits,
   témoignages, inclus, méthode, FAQ, CTA final.
   Dépend de pg-tokens.css et pg-base.css (reset,
   nav, boutons, .section, .fade-up, keyframes
   pg-pop / pg-wiggle / pg-marquee / pg-float).
   ══════════════════════════════════════════════ */

/* ── PILIERS (4 RAISONS) ─────────────────────── */
.pillars-section {
    background: var(--bg);
    position: relative;
    overflow-x: clip;
}
.pillars-section .section-title em::before { background: var(--pink); }
@media (min-width: 1024px) {
    /* decor : triangle menthe + carre violet pivote, coins libres */
    .pillars-section::before {
        content: '';
        position: absolute;
        top: 9%; right: 7%;
        width: 0; height: 0;
        border-left: 56px solid transparent;
        border-right: 56px solid transparent;
        border-bottom: 96px solid var(--mint);
        transform: rotate(-12deg);
        z-index: -1;
        pointer-events: none;
    }
    .pillars-section::after {
        content: '';
        position: absolute;
        bottom: 5%; left: 2.5%;
        width: 84px; height: 84px;
        background: var(--violet);
        box-shadow: var(--pop);
        border: var(--bw) solid var(--fg);
        border-radius: var(--r-sm);
        transform: rotate(20deg);
        z-index: -1;
        pointer-events: none;
    }
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gutter);
    position: relative;
    z-index: 1;
}
.pillars-grid::before {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    top: 34px;
    height: 0;
    border-top: 3px dashed var(--border-input);
    z-index: 0;
}
.pillar-item {
    background: var(--card);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-md);
    box-shadow: var(--pop-card);
    padding: 40px 24px 28px;
    position: relative;
    z-index: 1;
    transition: transform var(--t) var(--ease-bounce);
}
.pillar-item:hover {
    transform: rotate(-1deg) scale(1.02);
}
.pillar-num {
    position: absolute;
    top: calc(var(--bw) * -1 - 18px);
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: var(--r-full);
    border: var(--bw) solid var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-sm);
    color: var(--fg);
    background: var(--yellow);
}
.pillar-item:nth-child(4n+1) .pillar-num { background: var(--violet); color: var(--accent-fg); }
.pillar-item:nth-child(4n+2) .pillar-num { background: var(--pink); }
.pillar-item:nth-child(4n+3) .pillar-num { background: var(--yellow); }
.pillar-item:nth-child(4n+4) .pillar-num { background: var(--mint); }
.pillar-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--fs-md);
    margin: 16px 0 10px;
}
.pillar-desc {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    color: var(--muted-fg);
    line-height: var(--lh-body);
}
.pillar-tag {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--fs-xs);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fg);
    background: var(--muted);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-full);
    padding: 4px 12px;
}

/* ── COMPARATIF ──────────────────────────────── */
.compare-section {
    background: var(--muted);
}
.compare-section .section-title em {
    color: var(--fg);
    background: none;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
    text-decoration-color: var(--accent);
}
.compare-section .section-title em::before { display: none; }
.compare-header {
    text-align: center;
    margin-bottom: 40px;
}
.compare-header p {
    font-family: var(--font-body);
    color: var(--muted-fg);
    max-width: 420px;
    margin: 0 auto;
    line-height: var(--lh-body);
}
.compare-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--fs-xs);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fg);
    background: var(--pink);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-full);
    padding: 6px 16px;
    margin-bottom: 20px;
}
.compare-list {
    max-width: 640px;
    margin: 0 auto;
    background: var(--card);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-md);
    box-shadow: var(--pop-card);
    overflow: hidden;
}
.compare-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: var(--bw) dashed var(--border);
}
.compare-row:last-child { border-bottom: none; }
.compare-row--yes {
    background: var(--card);
    box-shadow: var(--pop-card-feat);
    position: relative;
    z-index: 1;
    border-top: var(--bw) solid var(--fg);
}
.compare-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--r-full);
    border: var(--bw) solid var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.compare-icon--no { background: var(--pink); color: var(--fg); }
.compare-icon--yes { background: var(--mint); color: var(--fg); }
.compare-info { flex: 1; min-width: 0; }
.compare-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--fs-sm);
    color: var(--fg);
}
.compare-sub {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    color: var(--muted-fg);
    margin-top: 2px;
}
.compare-price {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-md);
    white-space: nowrap;
    flex-shrink: 0;
}
.compare-price--no {
    color: var(--muted-fg);
    text-decoration: line-through;
}
.compare-price--yes {
    color: var(--accent-ink);
    font-size: var(--fs-lg);
}

/* ── FORFAITS ────────────────────────────────── */
.offre-section {
    background: var(--bg);
    position: relative;
    overflow-x: clip;
}
.offre-section .section-title em::before { background: var(--mint); }
@media (min-width: 1024px) {
    /* decor : grand cercle jaune derriere la carte centrale + bande de rayures */
    .offre-section::before {
        content: '';
        position: absolute;
        top: 24%;
        left: 50%;
        transform: translateX(-50%);
        width: 560px; height: 560px;
        background: var(--yellow);
        border-radius: 50%;
        z-index: -1;
        pointer-events: none;
    }
    .offre-section::after {
        content: '';
        position: absolute;
        bottom: 0; right: 0;
        width: 240px; height: 120px;
        background-image: var(--pat-stripes);
        opacity: .55;
        z-index: -1;
        pointer-events: none;
    }
}
.offre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gutter);
    margin-bottom: 32px;
    align-items: start;
    padding-top: 20px;
    position: relative;
    z-index: 1;
}
.card {
    background: var(--card);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-md);
    box-shadow: var(--pop-card);
    padding: 32px 28px 28px;
    position: relative;
    transition: transform var(--t) var(--ease-bounce);
}
.card:hover {
    transform: rotate(-1deg) scale(1.02);
}
.card.dark {
    background: var(--fg);
    border-color: var(--fg);
    color: var(--bg);
    box-shadow: var(--pop-card-feat);
}
.card.dark:hover {
    transform: scale(1.02);
}
@media (min-width: 901px) {
    .card.dark {
        transform: scale(1.06);
        z-index: 1;
    }
    .card.dark:hover {
        transform: scale(1.06) rotate(-1deg);
    }
}
.card-badge-star {
    /* massive, debordant du coin haut droit ; drop-shadow net (pas de flou) */
    position: absolute;
    top: -46px;
    right: -30px;
    width: 110px;
    height: 110px;
    background: var(--yellow);
    border: var(--bw) solid var(--fg);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    transform: rotate(15deg);
    filter: drop-shadow(3px 3px 0 var(--fg));
    z-index: 1;
}
@media (max-width: 640px) {
    .card-badge-star {
        top: -20px;
        right: 12px;
        width: 64px;
        height: 64px;
    }
}
.card-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--fs-lg);
    margin-bottom: 8px;
}
.card-desc {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    color: var(--muted-fg);
    margin-bottom: 24px;
    line-height: var(--lh-body);
}
.card.dark .card-desc { color: var(--fg-inverse-muted); }
.price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}
.price-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-3xl);
    line-height: 1;
}
.price-unit {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--fs-md);
    color: var(--muted-fg);
}
.card.dark .price-unit { color: var(--fg-inverse-muted); }
.price-note {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    color: var(--muted-fg);
    margin-bottom: 24px;
    line-height: var(--lh-body);
}
.card.dark .price-note { color: var(--fg-inverse-muted); }
.price-monthly {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    color: var(--muted-fg);
    margin-top: 6px;
}
.card.dark .price-monthly { color: var(--fg-inverse-muted); }
.divider {
    height: 0;
    border-top: var(--bw) dashed var(--border);
    margin-bottom: 24px;
}
.card.dark .divider { border-top-color: var(--fg-inverse-muted); }
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.feature {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}
.feature::before {
    content: '✓';
    color: var(--accent-ink);
    font-weight: 700;
    flex-shrink: 0;
}
.card.dark .feature::before { color: var(--yellow); }
.hosting-note {
    background: var(--card);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-md);
    box-shadow: var(--pop);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.hosting-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--r-full);
    border: var(--bw) solid var(--fg);
    background: var(--mint);
    color: var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hosting-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--fs-sm);
    margin-bottom: 2px;
}
.hosting-sub {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    color: var(--muted-fg);
}

/* ── OPTION MOTION DESIGN ─────────────────────── */
.motion-offer {
    margin-top: 32px;
    position: relative;
    background: var(--card);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-md);
    box-shadow: 8px 8px 0 0 var(--violet);
    padding: clamp(26px, 3.6vw, 44px);
    overflow: hidden;
}
.motion-offer::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 160px;
    height: 160px;
    background-image: var(--pat-stripes);
    opacity: .12;
    transform: rotate(12deg);
    pointer-events: none;
}
.eyebrow--motion { background: var(--mint); }
.motion-head {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}
.motion-title {
    font-size: clamp(28px, 3vw, 44px);
    margin-bottom: 16px;
}
.offre-section .motion-title em::before { background: var(--violet); }
.motion-desc {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    color: var(--muted-fg);
    line-height: var(--lh-body);
    max-width: 62ch;
}
.motion-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--gutter);
    align-items: start;
}
.motion-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.motion-card {
    background: var(--bg);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-md);
    box-shadow: var(--pop);
    padding: 22px 20px;
    transition: transform var(--t) var(--ease-bounce);
}
.motion-card:hover { transform: rotate(-1deg) scale(1.02); }
.motion-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.motion-kind {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--fs-sm);
}
.motion-dur {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--fs-xs);
    background: var(--mint);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-full);
    padding: 3px 11px;
    flex-shrink: 0;
}
.motion-card--feat .motion-dur { background: var(--yellow); }
.motion-card .price { margin-bottom: 10px; }
.motion-card .price-num { font-size: var(--fs-2xl); }
.motion-card-desc {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    color: var(--muted-fg);
    line-height: var(--lh-body);
}
.motion-incl-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--fs-sm);
    margin-bottom: 14px;
}
.motion-incl { margin-bottom: 20px; }
.motion-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.motion-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--muted);
    border: var(--bw) dashed var(--border-input);
    border-radius: var(--r-md);
    padding: 14px 16px;
}
.motion-option-tag {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--fs-xs);
    letter-spacing: .1em;
    text-transform: uppercase;
    background: var(--bg);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-full);
    padding: 3px 11px;
    flex-shrink: 0;
}
.motion-option-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--fs-sm);
    margin-bottom: 2px;
}
.motion-option-price { color: var(--accent-ink); }
.motion-option-sub {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    color: var(--muted-fg);
}
.motion-cta { width: 100%; }
@media (max-width: 900px) {
    .motion-body { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .motion-cards { grid-template-columns: 1fr; }
}

/* ── TÉMOIGNAGES ─────────────────────────────── */
.testi-section {
    background: var(--fg);
    position: relative;
}
.testi-section .eyebrow { background: var(--yellow); }
.testi-section .section-title { color: var(--fg-inverse); }
.testi-section .section-head-right { color: var(--fg-inverse-muted); }
/* le mot en em garde son surlignage jaune, texte --fg (contraste sur aplat clair) */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: calc(var(--gutter) + 12px) var(--gutter);
    align-items: start;
    padding-top: 16px;
}
/* composition en escalier : un avis vedette, deux moyens décalés, un court */
.testi-card--main { grid-column: 1 / 8; grid-row: 1 / 3; }
.testi-card--b { grid-column: 8 / 13; grid-row: 1; }
.testi-card--c { grid-column: 8 / 13; grid-row: 2; margin-left: 28px; }
.testi-card--d { grid-column: 2 / 7; grid-row: 3; }
.testi-links { grid-column: 8 / 13; grid-row: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-left: 28px; }
.testi-links .btn { background: var(--yellow); color: var(--fg); border-color: var(--fg-inverse); box-shadow: 4px 4px 0 0 var(--accent); }
.testi-links .btn:hover { background: var(--fg-inverse); }
.testi-link-sec {
    color: var(--fg-inverse);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--fs-sm);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}
.testi-link-sec:hover { color: var(--yellow); }
.testi-link-sec:focus-visible, .testi-links .btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.testi-card--main { padding: 40px 36px 34px; }
.testi-card--main .testi-quote { font-size: var(--fs-md, 1.125rem); line-height: 1.65; }
.testi-card { margin: 0; }
.testi-quote { margin-inline: 0; }
.testi-stars { display: inline-flex; gap: 2px; }
.testi-stars svg { width: 16px; height: 16px; fill: var(--yellow); stroke: var(--fg); stroke-width: 1.4; stroke-linejoin: round; }
.testi-src { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; color: var(--muted-fg); white-space: nowrap; }
.testi-src > svg { display: none; }
.testi-card--d .testi-author { flex-wrap: wrap; }
.testi-score { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.testi-score p { margin: 0; }
.testi-score-line { display: flex; align-items: center; gap: 12px; }
.testi-g { width: 28px; height: 28px; background: var(--card); border-radius: var(--r-full); padding: 5px; box-sizing: border-box; flex-shrink: 0; }
.testi-score-num { font-family: var(--font-head); font-weight: 800; font-size: var(--fs-xl, 2rem); color: var(--fg-inverse); line-height: 1; }
.testi-score .testi-stars svg { width: 22px; height: 22px; stroke: var(--fg-inverse); }
.testi-score-sub { color: var(--fg-inverse-muted); }
.testi-card {
    background: var(--card);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-bubble);
    padding: 32px 28px 28px;
    position: relative;
    transition: transform var(--t) var(--ease-bounce);
}
.testi-card--main { box-shadow: 8px 8px 0 0 var(--yellow); }
.testi-card--b { box-shadow: 8px 8px 0 0 var(--mint); }
.testi-card--c { box-shadow: 8px 8px 0 0 var(--accent); }
.testi-card--d { box-shadow: 8px 8px 0 0 var(--pink); }
.testi-card:hover { transform: rotate(-1deg) scale(1.02); }
.testi-open {
    position: absolute;
    top: -20px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: var(--r-full);
    border: var(--bw) solid var(--fg);
    background: var(--pink);
    color: var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-lg);
}
.testi-quote {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    color: var(--fg);
    line-height: var(--lh-body);
    margin: 16px 0 20px;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testi-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--r-full);
    border: var(--bw) solid var(--fg);
    background: var(--accent);
    flex-shrink: 0;
}
.testi-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--fs-sm);
    color: var(--fg);
}
.testi-role {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    color: var(--muted-fg);
    margin-top: 2px;
}

/* ── CE QUI EST INCLUS ───────────────────────── */
.included-section { position: relative; overflow-x: clip; }
.included-section .section-title em {
    color: var(--fg);
    background: none;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
    text-decoration-color: var(--pink);
}
.included-section .section-title em::before { display: none; }
@media (min-width: 1024px) {
    /* decor : pilule accent + anneau, sous la grille */
    .included-section::before {
        content: '';
        position: absolute;
        top: 11%; right: 4%;
        width: 150px; height: 60px;
        transform: rotate(-8deg);
        box-shadow: var(--pop);
        background: var(--accent);
        border: var(--bw) solid var(--fg);
        border-radius: var(--r-full);
        opacity: .9;
        z-index: -1;
        pointer-events: none;
    }
    .included-section::after {
        content: '';
        position: absolute;
        bottom: 28px; left: 2%;
        width: 110px; height: 110px;
        border: 10px solid var(--mint);
        outline: var(--bw) solid var(--fg);
        border-radius: 50%;
        background: transparent;
        z-index: -1;
        pointer-events: none;
    }
}
.included-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gutter);
    position: relative;
    z-index: 1;
}
.included-item {
    background: var(--card);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-md);
    box-shadow: var(--pop-card);
    padding: 24px 22px 20px;
    transition: transform var(--t) var(--ease-bounce), box-shadow var(--t) var(--ease-bounce);
}
.included-item:hover {
    transform: rotate(-1deg) scale(1.02);
    box-shadow: var(--pop-hover);
}
.ii-icon {
    width: 52px;
    height: 52px;
    padding: 13px;
    margin-bottom: 18px;
    border-radius: var(--r-full);
    border: var(--bw) solid var(--fg);
    color: var(--fg);
    transition: transform var(--t) var(--ease-bounce);
}
.included-item:nth-child(6n+1) .ii-icon { background: var(--violet); color: var(--accent-fg); }
.included-item:nth-child(6n+2) .ii-icon { background: var(--pink); }
.included-item:nth-child(6n+3) .ii-icon { background: var(--yellow); }
.included-item:nth-child(6n+4) .ii-icon { background: var(--mint); }
.included-item:nth-child(6n+5) .ii-icon { background: var(--accent); }
.included-item:nth-child(6n+6) .ii-icon { background: var(--violet); color: var(--accent-fg); }
.included-item:hover .ii-icon { animation: pg-wiggle var(--t) var(--ease-bounce); }
.ii-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--fs-md);
    margin-bottom: 10px;
}
.ii-desc {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    color: var(--muted-fg);
    line-height: var(--lh-body);
}

/* ── MÉTHODE ─────────────────────────────────── */
.process-bg {
    background: var(--pat-grid), var(--bg);
    position: relative;
}
.process-bg .section-title em { color: var(--fg-inverse); }
.process-bg .section-title em::before { background: var(--violet); }
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gutter);
    position: relative;
}
.steps::before {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    top: 34px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12' viewBox='0 0 40 12'%3E%3Cpath d='M0 6 Q10 0 20 6 T40 6' fill='none' stroke='%231E293B' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 40px 12px;
    z-index: 0;
}
.step {
    position: relative;
    z-index: 1;
    text-align: center;
}
.step-n {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    border-radius: var(--r-full);
    border: var(--bw) solid var(--fg);
    box-shadow: var(--pop);
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-lg);
    color: var(--fg);
}
.step:nth-child(4n+1) .step-n { background: var(--yellow); }
.step:nth-child(4n+2) .step-n { background: var(--mint); }
.step:nth-child(4n+3) .step-n { background: var(--pink); }
.step:nth-child(4n+4) .step-n { background: var(--violet); color: var(--accent-fg); }
.step-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--fs-md);
    margin-bottom: 8px;
}
.step-desc {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    color: var(--muted-fg);
    line-height: var(--lh-body);
}

/* ── FAQ ─────────────────────────────────────── */
.faq-section {
    background: var(--bg);
    position: relative;
    overflow-x: clip;
}
.faq-section .section-title em::before { background: var(--mint); }
@media (min-width: 1024px) {
    /* decor : arche violette en bas a gauche, sous le titre */
    .faq-section::before {
        content: '';
        position: absolute;
        bottom: -1px; left: 8%;
        width: 240px; height: 130px;
        background: var(--violet);
        border: var(--bw) solid var(--fg);
        border-radius: var(--r-arch);
        z-index: -1;
        pointer-events: none;
    }
}
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.faq-sticky {
    position: sticky;
    top: 100px;
}
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: var(--muted);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-md);
    padding: 0 22px;
    transition: box-shadow var(--t) var(--ease-bounce), background var(--t);
}
.faq-item.open {
    background: var(--card);
    box-shadow: var(--pop);
}
.faq-q {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--fs-sm);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    color: var(--fg);
}
.faq-toggle {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    position: relative;
    border-radius: var(--r-full);
    border: var(--bw) solid var(--fg);
    background: var(--yellow);
    transition: transform var(--t) var(--ease-bounce);
}
.faq-toggle::before, .faq-toggle::after {
    content: '';
    position: absolute;
    background: var(--fg);
    transition: transform .25s, opacity .25s;
}
.faq-toggle::before { width: 12px; height: 2px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-toggle::after  { width: 2px; height: 12px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-item.open .faq-toggle { transform: rotate(90deg); }
.faq-item.open .faq-toggle::after { opacity: 0; }
.faq-a {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    color: var(--muted-fg);
    line-height: var(--lh-body);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 22px; }

/* ── CTA FINAL ───────────────────────────────── */
.cta-section {
    background: var(--accent);
    border: var(--bw) solid var(--fg);
    box-shadow: var(--pop-hover);
    border-radius: var(--r-lg);
    margin: 0 var(--gutter) var(--section-y); /* espace avant le footer */
    position: relative;
    overflow: hidden;
}
.cta-section .section-inner { position: relative; z-index: 1; }
.cta-section .eyebrow { background: var(--card); }
.cta-section .section-title,
.cta-sub,
.cta-note {
    color: var(--fg);
}
/* jaune sur orange jure : aplat creme a la place */
.cta-section .section-title em::before { background: var(--fg-inverse); }
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background: var(--pat-stripes);
    opacity: .25;
    pointer-events: none;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    border-radius: var(--r-full);
    border: var(--bw) solid var(--fg);
    background: var(--yellow);
    opacity: .9;
    pointer-events: none;
}
.cta-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.cta-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}
.cta-sub {
    font-family: var(--font-body);
    font-size: var(--fs-md);
    line-height: var(--lh-body);
    max-width: 380px;
}
.cta-note {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    opacity: .75;
}
.cta-section .btn-white {
    background: var(--fg);
    color: var(--accent-fg);
    border-color: var(--fg);
    box-shadow: 4px 4px 0 0 var(--card);
}
.cta-section .btn-white:hover {
    transform: translate(-2px,-2px);
    box-shadow: 6px 6px 0 0 var(--card);
}

/* ── REDUCED MOTION ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .pillar-item,
    .card,
    .card.dark,
    .testi-card,
    .faq-toggle,
    .ii-icon {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
    .pillars-grid { grid-template-columns: 1fr 1fr; }
    .pillars-grid::before { display: none; }
    .offre-grid { grid-template-columns: 1fr; }
    .card.dark { transform: none; }
    .testi-grid { grid-template-columns: 1fr; row-gap: 32px; }
    .testi-card--main, .testi-card--b, .testi-card--c, .testi-card--d, .testi-links { grid-column: 1; grid-row: auto; margin-left: 0; }
    .testi-card--c { margin-left: clamp(0px, 6vw, 40px); }
    .testi-card--d { margin-right: clamp(0px, 6vw, 40px); }
    .included-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .steps::before { display: none; }
    .faq-layout { grid-template-columns: 1fr; gap: 32px; }
    .faq-sticky { position: static; }
    .cta-layout { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
    .testi-card--main { padding: 36px 22px 26px; }
    .testi-card--c { margin-left: 0; }
    .testi-card--d { margin-right: 0; }
    .testi-author { flex-wrap: wrap; }
    .testi-src { margin-left: 22px; flex-direction: row; align-items: center; gap: 8px; }
    .pillars-grid { grid-template-columns: 1fr; }
    .pillar-item:hover,
    .card:hover,
    .card.dark:hover,
    .testi-card:hover {
        transform: none;
    }
    .card.dark { transform: none; }
    .card-badge-star { width: 36px; height: 36px; top: -14px; right: 14px; }
    .included-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; gap: 32px; }
    .compare-row { flex-wrap: wrap; }
    .cta-section { margin: 0 var(--gutter) var(--section-y); border-radius: var(--r-md); }
    .cta-section::before,
    .cta-section::after { display: none; }
}


/* ---- /assets/css/pg-home-motion.css ---- */
/* ══════════════════════════════════════════════
   pg-home-motion.css · lmscom · home
   Surcouche chargée APRÈS pg-home-a / pg-home-b.
   1. États d'animation (GSAP piloté par home-motion.js)
   2. Nouveaux décors : pastilles, bandes croisées,
      vagues, stickers, trait de méthode
   3. Corrections de finition (espacements, hauteurs,
      contrastes, retours à la ligne)
   Sans JS ou en mouvement réduit : tout est visible.
   ══════════════════════════════════════════════ */

/* ══ 1. ÉTATS ═══════════════════════════════════ */

/* Attente de l'intro (classe posée en tête, retirée par le script ou au bout de 3,5 s) */
.hm-pre .hero-eyebrow,
.hm-pre .hero-display,
.hm-pre .hero-lead,
.hm-pre .hero-cta,
.hm-pre .hero-stat,
.hm-pre .hm-chip { opacity: 0; }

/* GSAP actif : les apparitions CSS historiques s'effacent devant lui */
html.hm-live .fade-up { transition: none; }
html.hm-live .hand-underline path { animation: none; }
html.hm-live .rotator { transition: none; }
html.hm-live .ii-icon { transition: none; }
html.hm-loop .marquee-track { animation: none; }

/* Les survols passent sur les propriétés individuelles (rotate / scale / translate) :
   GSAP anime `transform`, les deux se composent sans se battre. */
.case-card, .brand-card, .pillar-item, .card, .testi-card, .included-item, .motion-card {
    transition: rotate var(--t) var(--ease-bounce), scale var(--t) var(--ease-bounce),
                translate var(--t) var(--ease-bounce), box-shadow var(--t) var(--ease-bounce);
}
.brand-card:hover, .pillar-item:hover, .card:hover, .card.dark:hover,
.testi-card:hover, .included-item:hover, .motion-card:hover { transform: none; }
/* Rail : l'éventail GSAP passe par des variables, le tilt de repos et le survol par rotate/translate */
.case-card, .case-card:hover {
    --fx: 0px; --fy: 0px; --fr: 0deg;
    transform: translate(var(--fx), var(--fy)) rotate(var(--fr));
}
.brand-card:hover, .pillar-item:hover, .card:hover, .testi-card:hover,
.included-item:hover, .motion-card:hover { rotate: -1deg; scale: 1.02; }
.hero-stat:nth-child(n) { transform: none; }
.hero-stat:nth-child(1) { rotate: -2deg; }
.hero-stat:nth-child(2) { rotate: 1.5deg; }
.hero-stat:nth-child(3) { rotate: -1deg; }
.rotator { transform: none; rotate: -2deg; }
@media (min-width: 901px) {
    .card.dark { transform: none; scale: 1.06; }
    .card.dark:hover { scale: 1.06; rotate: -1deg; }
}
@media (max-width: 900px) {
    .card.dark { scale: 1; }
}
@media (max-width: 640px) {
    .pillar-item:hover, .card:hover, .card.dark:hover, .testi-card:hover { rotate: 0deg; scale: 1; }
}

/* Soulignés ondulés : après découpe en mots, chaque mot porte son trait */
.identity-section .section-title em .hm-tw,
.compare-section .section-title em .hm-tw,
.included-section .section-title em .hm-tw {
    text-decoration: underline wavy 3px;
    text-underline-offset: 6px;
}
.identity-section .section-title em .hm-tw { text-decoration-color: var(--violet); }
.compare-section .section-title em .hm-tw  { text-decoration-color: var(--accent); }
.included-section .section-title em .hm-tw { text-decoration-color: var(--pink); }

/* Découpes SplitText */
.hm-ch, .hm-tw, .hm-w { display: inline-block; }
.hero-display .hm-ch { transform-origin: 50% 100%; }
.rotator .hm-rc { display: inline-block; transform-origin: 50% 100%; }

/* Titres « remplissage » : le surlignage suit la lecture */
.hm-fill-title em::before { transform: rotate(-2deg) scaleX(var(--hl, 1)); transform-origin: 0 50%; }
.impact-statement em {
    background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 0 / calc(var(--hl, 1) * 100%) 100%;
}

/* ══ 2. DÉCORS ══════════════════════════════════ */

/* ── Hero : blobs en parallaxe, le flottement passe sur translate/rotate ── */
.hero-aura .blob { will-change: auto; animation-name: hm-float; }
.hero-aura .blob-3 { transform: none; rotate: 18deg; }
@keyframes hm-float {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -14px; }
}

.hm-chip { position: absolute; display: block; z-index: 1; }
.hm-chip > span {
    display: inline-block;
    padding: 8px 16px;
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-full);
    background: var(--card);
    color: var(--fg);
    box-shadow: var(--pop);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(0.85rem, 0.7rem + 0.4vw, 1.05rem);
    line-height: 1;
    white-space: nowrap;
    rotate: var(--r, 0deg);
    animation: hm-bob 5.5s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}
.hm-chip--1 { top: 34%; left: 6%; --r: -7deg; }
.hm-chip--1 > span { background: var(--yellow); }
.hm-chip--2 { top: 46%; right: 5%; --r: 6deg; --d: -2.2s; }
.hm-chip--2 > span { background: var(--mint); }
@media (max-width: 1100px) { .hm-chip { display: none; } }
/* Tablette : le triangle et la pilule du hero tombaient sur le CTA et la 3e pastille */
@media (max-width: 1100px) { .hero-aura .blob-2, .hero-aura .blob-4 { display: none; } }

.hm-magnet { display: inline-block; }

/* ── Bandes croisées ── */
.hm-band {
    position: relative;
    overflow-x: clip;
    padding: clamp(26px, 3.4vw, 48px) 0;
}
.hm-band .marquee-wrap {
    position: relative;
    z-index: 1;
    width: 116%;
    margin-left: -8%;
    rotate: -2deg;
    box-shadow: 0 5px 0 0 var(--accent);
}
.hm-strip--back {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: -8%;
    width: 116%;
    translate: 0 -50%;
    rotate: 2.4deg;
    padding: 11px 0;
    overflow: hidden;
    background: var(--yellow);
    border-block: var(--bw) solid var(--fg);
    color: var(--fg);
}
.hm-track { display: flex; width: max-content; }
.hm-track-item { display: flex; align-items: center; flex: none; white-space: nowrap; }
.hm-strip--back .hm-track-item {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-sm);
    letter-spacing: .14em;
    text-transform: uppercase;
    padding-right: .6em;
}
html.hm-loop .hm-track { will-change: transform; }

/* ── Vagues (lisières animées, moteur rAF unique) ── */
.hm-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% - 1px);
    height: clamp(40px, 6vw, 96px);
    pointer-events: none;
    z-index: 2;
}
.hm-wave svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hm-wave path { fill: currentColor; }
.hm-wave--ink    { color: var(--fg); }
.hm-wave--paper  { color: var(--bg); }
.hm-wave--accent { color: var(--accent); }
.hm-wave--accent svg { transform: scaleX(-1); }
.hm-wave--foot   { color: var(--fg); bottom: -1px; }

/* ── Stickers déplaçables (identité, desktop) ── */
.hm-stickers {
    position: relative;
    height: 150px;
    margin: 8px 0 28px;
}
.hm-stk {
    position: absolute;
    left: var(--x);
    top: var(--y);
    rotate: var(--r);
    user-select: none;
    -webkit-user-select: none;
    transition: scale .25s var(--ease-bounce);
}
.hm-stk-in {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--c);
    color: var(--fg);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-md);
    box-shadow: var(--pop);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.1rem, 0.8rem + 0.8vw, 1.45rem);
    line-height: 1;
    white-space: nowrap;
    animation: hm-bob 6s ease-in-out infinite;
}
.hm-stk:nth-child(2n) .hm-stk-in { border-radius: var(--r-full); animation-delay: -2s; }
.hm-stk:nth-child(3n) .hm-stk-in { border-radius: var(--r-bubble); animation-delay: -3.5s; }
.hm-stk--violet .hm-stk-in { color: #fff; }
.hm-stk-aa { font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.2rem); padding: 10px 20px; }
.hm-swatch { display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: var(--bw) solid var(--fg); }
@media (hover: hover) and (pointer: fine) {
    .hm-stk { cursor: grab; touch-action: none; }
    .hm-stk.is-drag { cursor: grabbing; scale: 1.08; z-index: 5; }
    .hm-stk.is-drag .hm-stk-in { box-shadow: var(--pop-hover); }
}
@media (max-width: 899px) { .hm-stickers { display: none; } }

/* ── Méthode : trait dessiné entre les numéros ── */
.steps::before { display: none; }
.hm-steps-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}
.hm-steps-track { fill: none; stroke: var(--border-input); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 10; }
.hm-steps-draw  { fill: none; stroke: var(--fg); stroke-width: 4; stroke-linecap: round; }

/* ── Comparatif : barre de prix tracée ── */
.compare-price--no { text-decoration: none; position: relative; }
.compare-price--no::after {
    content: '';
    position: absolute;
    left: -3px;
    right: -3px;
    top: 52%;
    height: 2px;
    background: var(--muted-fg);
    border-radius: 2px;
    transform: scaleX(var(--strike, 1));
    transform-origin: 0 50%;
}

/* ══ 3. FINITIONS ═══════════════════════════════ */

/* Les entrées pivotées ne doivent jamais élargir la page (viewport mobile qui dézoome) */
.identity-section, .compare-section, .testi-section, .process-bg { overflow-x: clip; }

/* Retours à la ligne : pas de mot orphelin sur les textes courants */
.section-head-right, .impact-sub, .compare-header p, .identity-note, .cta-sub,
.hero-lead, .pillar-desc, .ii-desc, .step-desc, .card-desc, .motion-desc,
.testi-quote, .faq-a, .impact-label { text-wrap: pretty; }
.faq-q, .section-title, .impact-statement { text-wrap: balance; }

/* Hero : contraste du chapô sur le disque jaune (3:1 avant, 6,4:1 après),
   « sur-mesure » ne se coupe plus au tiret */
.hero-lead { color: #334155; }
.hero-lead strong { white-space: nowrap; }
.hero-stat-label { opacity: 1; }
.hero-cta { align-items: center; }

/* Plaques de titre : leur z-index -1 reste dans le titre. Sans ce contexte, en mouvement
   réduit (plus de transform sur .fade-up), la plaque passait sous le fond de la section :
   « en 4 étapes. » blanc sur crème et « confiance. » encre sur encre. */
.section-title { isolation: isolate; }

/* Plaques de titre : un mot surligné ne se coupe jamais en deux lignes */
.section-head .section-title em,
.faq-sticky .section-title em,
.motion-title em { white-space: nowrap; }
/* le soulignement ondulé n'a pas besoin du retrait de la plaque */
.identity-section .section-title em,
.compare-section .section-title em,
.included-section .section-title em { padding: 0; }

/* En-têtes de section : empilés tant que titre et chapô ne tiennent pas côte à côte */
@media (max-width: 1199px) {
    .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
    .section-head-right { max-width: 36rem; }
}

/* Impact : moins de vide avant « Notre travail » */
.impact-source { opacity: 1; margin-top: 24px; }
.work-section { padding-top: calc(var(--section-y) * 0.55); overflow-x: clip; }

/* Rail des réalisations */
.work-section .case-rail-wrap { overflow: visible; }
.case-wall { padding-top: 24px; margin-top: -16px; }
.case-card:nth-of-type(4n+1) { --r: -1.4deg; }
.case-card:nth-of-type(4n+2) { --r: 1deg; }
.case-card:nth-of-type(4n+3) { --r: -0.6deg; }
.case-card:nth-of-type(4n+4) { --r: 1.5deg; }
.case-go { opacity: .85; }
@media (min-width: 760px) {
    /* le rail court jusqu'au bord droit de l'écran, la dernière carte s'aligne sur la grille */
    .case-wall { margin-right: calc(50% - 50vw); padding-right: calc(50vw - 50%); scroll-padding-left: 6px; }
    .case-card { rotate: var(--r); }
    .case-card:hover { rotate: 0deg; translate: 0 -10px; box-shadow: var(--pop-hover); }
}
@media (max-width: 759px) {
    .case-wall {
        margin-inline: calc(-1 * var(--gutter));
        padding-inline: var(--gutter);
        scroll-padding-inline: var(--gutter);
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
    }
    .case-card { flex-basis: min(80vw, 300px); scroll-snap-align: start; }
    .case-card:hover { box-shadow: var(--pop-card); }
}

/* Identité : la ligne typo ne s'écrase plus sur trois colonnes étroites */
@media (min-width: 761px) and (max-width: 1023px) {
    .bcd-typo { flex-direction: column; align-items: flex-start; gap: 10px; }
    .bcd-header { font-size: 9px; letter-spacing: .08em; padding: 12px 16px; }
}
@media (max-width: 760px) {
    .identity-grid { max-width: 30rem; margin-inline: auto; }
}
.bcd-typo-role, .bcd-foot { opacity: .8; }

/* Piliers : étiquettes alignées en pied de carte, 2 colonnes tant que 4 ne tiennent pas */
.pillar-item { display: flex; flex-direction: column; }
.pillar-tag { align-self: flex-start; margin-top: auto; }
.pillar-desc { margin-bottom: 16px; }
.pillar-num { font-size: 1.2rem; width: 48px; height: 48px; top: calc(var(--bw) * -1 - 22px); }
@media (min-width: 641px) and (max-width: 1199px) {
    .pillars-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }
    .pillars-grid::before { display: none; }
}

/* Comparatif : chapô équilibré, ligne lmscom lisible en mobile */
.compare-header p { max-width: 460px; }
@media (max-width: 640px) {
    .compare-row { flex-wrap: nowrap; padding: 16px; gap: 12px; }
    .compare-price { font-size: var(--fs-base); }
    .compare-price--yes { font-size: var(--fs-md); }
}

/* Forfaits : cartes de même hauteur, boutons alignés */
.offre-grid { align-items: stretch; }
.offre-grid .card { display: flex; flex-direction: column; }
.offre-grid .card > .btn { margin-top: auto; }
@media (min-width: 641px) and (max-width: 900px) {
    .offre-grid { max-width: 34rem; margin-inline: auto; }
}
.motion-cards { align-items: stretch; }

/* Témoignages : guillemet posé sur la bulle, pas collé au texte */
.testi-quote { margin-top: 20px; }

/* Méthode : frise en ligne sur desktop, colonne à gauche sur tablette et mobile */
@media (max-width: 900px) {
    .steps { grid-template-columns: 1fr; gap: 30px; max-width: 34rem; }
    .step {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 18px;
        text-align: left;
        align-items: start;
    }
    .step-n { grid-row: 1 / 3; margin: 0; width: 58px; height: 58px; font-size: var(--fs-md); }
    .step-title { margin-top: 6px; }
}

/* FAQ : hauteur animée par GSAP, réponses visibles sans JS */
html:not(.js) .faq-a { max-height: none; padding-bottom: 22px; }
html.js .faq-a { max-height: none; height: 0; padding-bottom: 0; transition: none; }
html.js .faq-item.open .faq-a { height: auto; }
html.js .faq-a::after { content: ''; display: block; height: 22px; }
.faq-q:focus-visible { outline-offset: 6px; border-radius: 4px; }
/* ouvert : la barre reste horizontale (« − »), elle ne se dresse plus en « | » */
.faq-item.open .faq-toggle { transform: rotate(180deg); }

/* Sans JS (ou script en échec) : le sticker du H1 épouse son mot au lieu de s'écraser */
html:not(.js) .rotator { width: auto !important; }
html:not(.js) .rotator .rotator-word { position: static; }
.faq-section::before { display: none; }

/* CTA final : pleine largeur entre deux vagues, texte encre profonde (5,4:1 sur terracotta) */
.cta-section {
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-x: clip;
    overflow-y: visible;
    padding-top: calc(var(--section-y) + 12px);
    padding-bottom: calc(var(--section-y) + clamp(40px, 6vw, 96px));
}
.cta-section::after { display: none; }
.cta-section .section-title, .cta-sub, .cta-note { color: #0F172A; }
.cta-note { opacity: 1; }
.cta-section .hm-magnet { display: inline-block; }
@media (max-width: 640px) {
    .cta-section { margin: 0; border-radius: 0; }
    .cta-section .hm-magnet { display: block; width: 100%; }
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .hero-cta .hm-magnet { display: block; width: 100%; }
    /* trois pastilles sur une ligne */
    .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; margin-top: 40px; }
    .hero-stat { padding: 10px 8px; align-items: center; text-align: center; }
    .hero-stat-label { font-size: 0.62rem; letter-spacing: .06em; }
    .hero-stat-value { font-size: var(--fs-md); white-space: nowrap; }
    /* chiffres clés à l'horizontale : moitié moins de hauteur */
    .impact-stat { flex-direction: row; align-items: center; gap: 16px; padding: 16px; }
    .impact-num { min-width: 76px; height: 76px; font-size: var(--fs-lg); flex: none; }
    .impact-sub { margin-bottom: 40px; }
    .card-badge-star { width: 44px; height: 44px; top: -18px; right: 14px; }
}
@media (max-width: 380px) {
    .hero-stat-value { font-size: 1.05rem; }
}

/* ══ MOUVEMENT RÉDUIT ═══════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .hm-chip > span, .hm-stk-in, .hero-aura .blob { animation: none !important; }
    .hm-stk, .case-card, .brand-card, .pillar-item, .card, .testi-card, .included-item, .motion-card { transition: none; }
}

@keyframes hm-bob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-10px) rotate(2.5deg); }
}


/* ---- /assets/css/pg-hub.css ---- */
/* ══════════════════════════════════════════════
   pg-hub.css · lmscom · pages pôles (hubs)
   /creation-site-internet/ · /photo-video/ · /visibilite/
   Socle partagé des trois hubs : hero géant, bandeau,
   manifeste, cartes de prix, étapes, FAQ, CTA final.
   DA Playful Geometric, tout passe par pg-tokens.css.
   Chaque hub ajoute sa couleur (--hub) et ses objets
   dans pg-creation-site / pg-photo-video / pg-visibilite.
   ══════════════════════════════════════════════ */

.hb-page { background: var(--bg); --hub: var(--yellow); --hub-final: var(--pink); }
.hb-page--media { --hub: var(--pink); --hub-final: var(--yellow); }
.hb-page--reach { --hub: var(--mint); --hub-final: var(--yellow); }
.hb-page main { display: block; overflow-x: clip; }

.hb-wrap {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.hb-wrap--narrow { max-width: 54rem; }

.hb-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-3xl);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin-bottom: clamp(24px, 3.4vw, 40px);
    max-width: 20ch;
    text-wrap: balance;
}
.hb-title--inv { color: var(--fg-inverse); }
.hb-lede { max-width: 34rem; font-size: var(--fs-md); line-height: 1.5; }
.hb-lede--inv { color: var(--fg-inverse-muted); }
.hb-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 40px; margin-bottom: clamp(30px, 4vw, 54px); }
.hb-head .hb-title { margin-bottom: 0; }
.hb-text { max-width: 40rem; font-size: var(--fs-md); line-height: 1.55; }
.hb-text--inv { color: var(--fg-inverse-muted); }

/* Reveal au défilement : masquage posé seulement par html.hb-anim (retiré si le JS ne démarre pas) */
.hb-anim .hb-rv:not(.is-in) {
    opacity: 0;
    translate: 0 36px;
    rotate: calc(var(--tilt, 0deg) + 5deg);
}
.hb-rv {
    rotate: var(--tilt, 0deg);
    transition: opacity 0.6s ease, translate 0.8s var(--ease-bounce), rotate 0.8s var(--ease-bounce), box-shadow 0.3s ease;
}

/* ══ HERO ═══════════════════════════════════ */
.hb-hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    display: flex;
    align-items: center;
    min-height: min(100svh, 880px);
    padding: clamp(104px, 13vh, 140px) 0 clamp(56px, 7vw, 100px);
    background: var(--hub);
    color: var(--fg);
    border-bottom: var(--bw) solid var(--fg);
}
.hb-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(color-mix(in srgb, var(--fg) 16%, transparent) 1.5px, transparent 1.6px) 0 0 / 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
            mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}
.hb-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.hb-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-full);
    background: var(--card);
    box-shadow: var(--pop);
    rotate: -3deg;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--fs-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* H1 : la phrase géante porte l'accroche, la ligne qui suit porte le mot-clé */
.hb-h1 { margin: clamp(18px, 2.6vw, 30px) 0 0; }
.hb-giant {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: min(8.2vw, 156px);
    line-height: 0.96;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    color: var(--fg);
}
.hb-gl { display: block; width: max-content; max-width: 100%; white-space: nowrap; }
.hb-gl--2 { padding-left: 0.5em; }
.hb-hw { display: inline-block; }
.hb-kw {
    display: block;
    max-width: 38rem;
    margin-top: clamp(16px, 2vw, 26px);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.45rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-transform: none;
    text-wrap: balance;
}
.hb-strike { position: relative; }
.hb-strike::after {
    content: '';
    position: absolute;
    left: -0.04em;
    right: -0.04em;
    top: 54%;
    height: 0.13em;
    margin-top: -0.065em;
    background: var(--accent-ink);
    border: var(--bw) solid var(--fg);
    border-radius: 0.1em;
    rotate: -4deg;
    transform-origin: 0 50%;
}
.hb-hero-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: clamp(14px, 2vw, 26px);
}
.hb-hero-copy { max-width: 36rem; }
.hb-hero-sub {
    font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.3rem);
    font-weight: 500;
    line-height: 1.45;
    margin-bottom: 24px;
}
.hb-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.hb-hero-link { background: var(--bg); }
.hb-hero .btn:focus-visible { outline-color: var(--fg); }
.hb-art { flex: none; position: relative; }
@media (min-width: 1100px) {
    .hb-art { position: absolute; right: calc(var(--gutter) + 64px); bottom: clamp(8px, 2vw, 28px); margin: 0; }
}
@media (max-width: 1099px) {
    .hb-hero-foot { flex-direction: column; align-items: flex-start; }
    .hb-art { align-self: flex-end; margin: 18px 76px 0 0; }
}

/* Formes décoratives */
.hb-deco { position: absolute; z-index: 1; display: block; border: var(--bw) solid var(--fg); pointer-events: none; }
.hb-deco--circle { top: 16%; right: 9%; width: clamp(46px, 6vw, 92px); aspect-ratio: 1; border-radius: 50%; background: var(--violet); box-shadow: var(--pop); animation: hb-bob 6s ease-in-out infinite; }
.hb-deco--square { top: 36%; right: 5%; width: clamp(30px, 3.4vw, 54px); aspect-ratio: 1; border-radius: var(--r-sm); background: var(--accent); rotate: 18deg; box-shadow: var(--pop); animation: hb-bob 7s ease-in-out -2s infinite; }
.hb-deco--tri { bottom: 12%; left: 44%; width: clamp(40px, 4.4vw, 70px); aspect-ratio: 1; border: 0; background: var(--mint); clip-path: polygon(50% 0, 100% 100%, 0 100%); rotate: -12deg; animation: hb-bob 6.5s ease-in-out -3s infinite; }
.hb-page--reach .hb-deco--tri { background: var(--pink); }
.hb-page--media .hb-deco--circle { background: var(--yellow); }

/* ══ BANDEAU DÉFILANT (CSS pur) ═════════════ */
.hb-band {
    position: relative;
    z-index: 2;
    overflow-x: clip;
    background: var(--bg);
    padding: clamp(46px, 7vw, 92px) 0 clamp(54px, 8vw, 104px);
}
.hb-strip {
    position: relative;
    width: 116%;
    margin-left: -8%;
    padding: clamp(12px, 1.4vw, 18px) 0;
    border-block: var(--bw) solid var(--fg);
    background: var(--fg);
    color: var(--yellow);
    overflow: hidden;
    rotate: -3deg;
    box-shadow: 0 6px 0 0 var(--accent);
}
.hb-strip--back {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -1.6em;
    background: var(--hub);
    color: var(--fg);
    rotate: 3.5deg;
    box-shadow: none;
}
.hb-track { display: flex; width: max-content; animation: hb-roll 46s linear infinite; }
.hb-track--rev { animation-direction: reverse; animation-duration: 58s; }
.hb-track-item {
    flex: none;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.5rem, 1rem + 2.6vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    padding-right: 0.35em;
}

/* ══ MANIFESTE ══════════════════════════════ */
.hb-manifesto {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    padding: clamp(40px, 6vw, 90px) 0 clamp(72px, 10vw, 140px);
    background: var(--bg);
}
.hb-mf-text {
    max-width: 30ch;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.7rem, 1rem + 2.9vw, 3.5rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--fg);
    text-wrap: pretty;
}
.mf-hot { color: var(--accent-ink); }
.js-mf .mf-w { color: var(--border-input); transition: color 0.25s ease; }
.js-mf .mf-w.is-on { color: var(--fg); }
.js-mf .mf-hot .mf-w.is-on { color: var(--accent-ink); }
.hb-shape { position: absolute; z-index: -1; display: block; border: var(--bw) solid var(--fg); }
.hb-shape--circle { top: 12%; right: 8%; width: clamp(60px, 9vw, 130px); aspect-ratio: 1; border-radius: 50%; background: var(--hub); box-shadow: var(--pop); }
.hb-shape--square { bottom: 12%; right: 22%; width: clamp(40px, 5vw, 76px); aspect-ratio: 1; border-radius: var(--r-sm); background: var(--violet); rotate: 18deg; box-shadow: var(--pop); }

/* ══ SECTIONS (fonds) ═══════════════════════ */
.hb-sec {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    padding: var(--section-y) 0;
    background: var(--bg);
}
.hb-sec--ink { background: var(--fg); color: var(--fg-inverse); }
.hb-sec--tint { background: color-mix(in srgb, var(--hub) 26%, var(--bg)); border-block: var(--bw) solid var(--fg); }
.hb-sec--dots::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--pat-dots-soft);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

/* ── Entrées numérotées (trois ancres) ── */
.hb-doors {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.2vw, 28px);
}
.hb-door {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: clamp(20px, 2.2vw, 28px);
    background: var(--card);
    color: var(--fg);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-lg);
    box-shadow: 8px 8px 0 0 var(--c);
    text-decoration: none;
    transition: translate var(--t) var(--ease-bounce), box-shadow var(--t) var(--ease-bounce);
}
.hb-door:hover { translate: -2px -2px; box-shadow: 10px 10px 0 0 var(--c); }
.hb-door:nth-child(2) { margin-top: 24px; }
.hb-door-num {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--c);
    border: var(--bw) solid var(--fg);
    box-shadow: var(--pop);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.3rem;
}
.hb-door-name { font-family: var(--font-head); font-weight: 800; font-size: var(--fs-lg); line-height: 1.1; letter-spacing: -0.02em; }
.hb-door-go { margin-top: auto; font-weight: 700; font-size: var(--fs-sm); }

/* ── Stickers ── */
.hb-stickers { position: relative; height: clamp(170px, 18vw, 230px); margin-top: clamp(28px, 4vw, 48px); }
.hb-stk { position: absolute; left: var(--x); top: var(--y); rotate: var(--r); user-select: none; -webkit-user-select: none; transition: scale 0.7s var(--ease-bounce); }
.hb-anim .hb-stickers:not(.is-in) .hb-stk { scale: 0; }
.hb-stk:nth-child(2) { transition-delay: 0.07s; }
.hb-stk:nth-child(3) { transition-delay: 0.14s; }
.hb-stk:nth-child(4) { transition-delay: 0.21s; }
.hb-stk:nth-child(5) { transition-delay: 0.28s; }
.hb-stk:nth-child(6) { transition-delay: 0.35s; }
.hb-stk-in {
    display: inline-block;
    padding: 12px 22px;
    background: var(--c);
    color: var(--fg);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-md);
    box-shadow: var(--pop);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.2rem, 0.9rem + 1vw, 1.6rem);
    line-height: 1;
    white-space: nowrap;
    animation: hb-bob 6s ease-in-out infinite;
}
.hb-stk:nth-child(2n) .hb-stk-in { border-radius: var(--r-full); animation-delay: -2s; }
.hb-stk:nth-child(3n) .hb-stk-in { border-radius: var(--r-bubble); animation-delay: -3.5s; }
.hb-stk--light .hb-stk-in { color: #fff; }
@media (hover: hover) and (pointer: fine) {
    .hb-stk { cursor: grab; touch-action: none; }
    .hb-stk.is-drag { cursor: grabbing; scale: 1.08; z-index: 5; transition: none; }
    .hb-stk.is-drag .hb-stk-in { box-shadow: var(--pop-hover); }
}

/* ══ CARTES DE PRIX ═════════════════════════ */
.hb-grid { display: grid; gap: clamp(24px, 3.4vw, 48px); align-items: start; margin: 0 auto; }
.hb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
.hb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1120px; }
.hb-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(24px, 2.6vw, 36px);
    background: var(--card);
    color: var(--fg);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-lg);
    box-shadow: 10px 10px 0 0 var(--c, var(--accent));
}
.hb-card--feat { background: var(--yellow); }
.hb-card-star {
    position: absolute;
    top: -22px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: var(--bw) solid var(--fg);
    background: var(--pink);
    box-shadow: var(--pop);
    font-size: 1.3rem;
    line-height: 1;
    rotate: 12deg;
}
.hb-card-name {
    align-self: flex-start;
    display: inline-block;
    padding: 5px 14px;
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-full);
    background: var(--yellow);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--fs-sm);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.hb-card--feat .hb-card-name { background: var(--bg); }
.hb-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 2px 0 8px; }
.hb-card-amount {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2.8rem, 1.8rem + 3vw, 4.4rem);
    line-height: 1;
    letter-spacing: -0.045em;
    color: var(--accent-ink);
    white-space: nowrap;
}
.hb-card--feat .hb-card-amount { color: var(--fg); }
.hb-card-unit { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-md); line-height: 1.2; }
.hb-card-lead { font-family: var(--font-head); font-weight: 800; padding-top: 16px; margin-bottom: 12px; border-top: var(--bw) dashed var(--fg); }
.hb-card-list { display: grid; align-content: start; gap: 10px; flex: 1; margin: 14px 0 24px; }
.hb-card-lead + .hb-card-list { margin-top: 0; }
.hb-card-list li { position: relative; padding-left: 30px; font-size: var(--fs-sm); line-height: 1.5; }
.hb-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: var(--bw) solid var(--fg);
    background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E293B' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.hb-card .btn { width: 100%; }
.hb-card .btn:focus-visible { outline-color: var(--accent-ink); }
.hb-note {
    max-width: 46rem;
    margin: clamp(30px, 4vw, 48px) auto 0;
    padding: 14px 20px;
    border: var(--bw) dashed var(--fg);
    border-radius: var(--r-md);
    text-align: center;
    font-weight: 700;
    line-height: 1.5;
}
.hb-sec--ink .hb-note { border-color: var(--fg-inverse-muted); }

/* Lien discret sous un bloc */
.hb-more { margin-top: clamp(22px, 3vw, 34px); font-weight: 700; }
.hb-more a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hb-more a:hover { text-decoration-color: var(--accent-ink); }
.hb-sec--ink .hb-more a:hover { text-decoration-color: var(--yellow); }

/* ══ ÉTAPES ═════════════════════════════════ */
.hb-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 26px);
    counter-reset: hbs;
}
.hb-step {
    position: relative;
    padding: clamp(20px, 2vw, 26px);
    background: var(--card);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-lg);
    box-shadow: 6px 6px 0 0 var(--fg);
}
.hb-step-num {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--c);
    border: var(--bw) solid var(--fg);
    box-shadow: var(--pop);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.3rem;
}
.hb-step:nth-child(4) .hb-step-num { color: #fff; }
.hb-step h3 { font-family: var(--font-head); font-weight: 800; font-size: var(--fs-md); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 8px; }
.hb-step p { font-size: var(--fs-sm); line-height: 1.55; }

/* ══ FAQ ════════════════════════════════════ */
.hb-faq { position: relative; padding: var(--section-y) 0 calc(var(--section-y) + clamp(30px, 5vw, 70px)); background: var(--bg); }
.hb-faq-list { display: grid; gap: 14px; }
.hb-qa {
    background: var(--card);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-md);
    box-shadow: var(--pop);
    transition: box-shadow var(--t) ease, background var(--t) ease;
}
.hb-qa[open] { box-shadow: 6px 6px 0 0 var(--accent); }
.hb-qa summary {
    position: relative;
    display: block;
    list-style: none;
    padding: 18px 64px 18px 22px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--fs-md);
    line-height: 1.3;
    cursor: pointer;
    border-radius: var(--r-md);
}
.hb-qa summary::-webkit-details-marker { display: none; }
.hb-qa-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    border-radius: 50%;
    border: var(--bw) solid var(--fg);
    background: var(--yellow);
    transition: transform 0.4s var(--ease-bounce), background var(--t) ease;
}
.hb-qa-icon::before, .hb-qa-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2.5px;
    margin: -1.25px 0 0 -6px;
    border-radius: 2px;
    background: var(--fg);
}
.hb-qa-icon::after { transform: rotate(90deg); }
.hb-qa[open] .hb-qa-icon { transform: rotate(135deg); background: var(--pink); }
.hb-qa-a p { padding: 0 22px 20px; line-height: 1.65; }
.hb-qa-a a { color: var(--accent-ink); font-weight: 700; }
.hb-qa[open] .hb-qa-a { animation: hb-open 0.45s var(--ease-bounce); }

/* ══ CTA FINAL ══════════════════════════════ */
.hb-final {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    padding: clamp(72px, 9vw, 130px) 0 clamp(80px, 10vw, 140px);
    background: var(--hub-final);
    color: var(--fg);
    text-align: center;
    border-top: var(--bw) solid var(--fg);
}
.hb-final::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(color-mix(in srgb, var(--fg) 16%, transparent) 1.5px, transparent 1.6px) 0 0 / 22px 22px;
    -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 75%);
            mask-image: linear-gradient(0deg, #000 0%, transparent 75%);
}
.hb-final .hb-deco--circle { top: 10%; right: 6%; background: var(--accent); }
.hb-final .hb-deco--square { top: auto; bottom: 14%; left: 7%; right: auto; background: var(--mint); }
.hb-final-title { font-family: var(--font-head); font-weight: 800; line-height: 1; letter-spacing: -0.045em; text-transform: uppercase; }
.hb-fl { display: block; width: max-content; max-width: 100%; margin: 0 auto; white-space: nowrap; font-size: min(9.4vw, 9rem); }
.hb-final-sub { max-width: 34rem; margin: clamp(22px, 3vw, 36px) auto 28px; font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.35rem); font-weight: 500; line-height: 1.45; }
.hb-final-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 28px; }
.hb-final-note { margin-top: 18px; font-size: var(--fs-sm); font-weight: 700; }
.hb-final-links { margin-top: clamp(20px, 2.6vw, 30px); font-weight: 600; line-height: 1.7; }
.hb-final-links a { color: var(--fg); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hb-final-links a:hover { text-decoration-color: var(--accent-ink); }
.hb-final .btn:focus-visible { outline-color: var(--fg); }

/* ══ KEYFRAMES ══════════════════════════════ */
@keyframes hb-bob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-10px) rotate(2.5deg); }
}
@keyframes hb-roll { to { transform: translateX(-50%); } }
@keyframes hb-open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes hb-rise { from { transform: translateY(70%) rotate(5deg); } to { transform: none; } }
@keyframes hb-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hb-pop { from { transform: scale(0.6) rotate(-10deg); } to { transform: none; } }

/* Intro du hero en CSS pur (transform seul, jamais d'opacité : le LCP ne bouge pas) */
@media (prefers-reduced-motion: no-preference) {
    .hb-gl { animation: hb-rise 0.9s var(--ease-bounce) both; transform-origin: 0 100%; }
    .hb-gl--2 { animation-delay: 0.12s; }
    .hb-strike::after { animation: hb-draw 0.6s 0.9s cubic-bezier(0.7, 0, 0.2, 1) both; }
    .hb-pill { animation: hb-pop 0.7s var(--ease-bounce) both; }
}

/* ══ RESPONSIVE ═════════════════════════════ */
@media (max-width: 1100px) {
    .hb-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
    .hb-doors { grid-template-columns: 1fr; }
    .hb-door:nth-child(n) { margin-top: 0; }
    .hb-giant { font-size: min(8.8vw, 156px); }
}
@media (max-width: 699px) {
    .hb-hero { align-items: flex-start; padding-top: 92px; min-height: 0; }
    .hb-giant { font-size: 12.4vw; line-height: 0.98; }
    .hb-gl { width: auto; white-space: normal; }
    .hb-gl--2 { padding-left: 0; }
    .hb-hero-foot { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 14px; }
    .hb-hero-actions .btn { width: 100%; }
    .hb-art { margin: 8px auto 0; order: 2; }
    .hb-deco--circle { top: 9%; right: 6%; }
    .hb-deco--square { top: 36%; right: 8%; }
    .hb-deco--tri { bottom: 8%; left: 8%; }
    .hb-mf-text { max-width: none; }
    .hb-shape--circle { top: 3%; right: 6%; }
    .hb-stickers { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 10px; height: auto; }
    .hb-stk { position: static; }
    .hb-stk-in { padding: 10px 16px; }
    .hb-grid--2, .hb-grid--3 { grid-template-columns: 1fr; }
    .hb-card { box-shadow: 6px 6px 0 0 var(--c, var(--accent)); }
    .hb-steps { grid-template-columns: 1fr; }
    .hb-fl { font-size: 10.6vw; white-space: normal; width: auto; }
    .hb-final .btn { width: 100%; }
    .hb-qa summary { padding: 16px 58px 16px 18px; font-size: var(--fs-base); }
    .hb-qa-a p { padding: 0 18px 18px; }
}

/* ══ MOUVEMENT RÉDUIT ═══════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .hb-track, .hb-track--rev, .hb-stk-in, .hb-art *, .hb-deco { animation: none !important; }
    .hb-rv, .hb-stk, .hb-qa-icon { transition: none; }
    .hb-qa[open] .hb-qa-a { animation: none; }
}


/* ---- /assets/css/pg-creation-site.css ---- */
/* ══════════════════════════════════════════════
   pg-creation-site.css · lmscom · /creation-site-internet/
   Hub pôle 1 (Présence digitale). S'appuie sur pg-hub.css
   (socle des hubs) et sur pg-home-a / pg-home-b / pg-home-motion
   pour les sections reprises de la home : impact, formules,
   comparatif, identité, inclus, raisons, méthode, FAQ.
   ══════════════════════════════════════════════ */

/* ── Objet du hero : une fenêtre de navigateur dessinée ── */
.hb-art--site { width: clamp(210px, 18vw, 270px); aspect-ratio: 1.12; rotate: 5deg; animation: hb-bob 5.5s ease-in-out infinite; }
.as-win {
    position: absolute;
    inset: 0;
    display: block;
    background: var(--card);
    border: 4px solid var(--fg);
    border-radius: 14px;
    box-shadow: 10px 10px 0 0 var(--fg);
    overflow: hidden;
}
.as-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--bg); border-bottom: 3px solid var(--fg); }
.as-bar i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--fg); background: var(--pink); }
.as-bar i:nth-child(2) { background: var(--yellow); }
.as-bar i:nth-child(3) { background: var(--mint); }
.as-hero { position: relative; display: block; margin: 14px 14px 12px; height: 40%; background: var(--accent); border: 3px solid var(--fg); border-radius: 8px; }
.as-hero b { position: absolute; left: 10%; top: 34%; width: 52%; height: 18%; background: var(--bg); border: 2px solid var(--fg); border-radius: 99px; }
.as-row { display: flex; gap: 10px; margin: 0 14px; }
.as-row i { flex: 1; aspect-ratio: 1.3; border: 3px solid var(--fg); border-radius: 8px; background: var(--mint); }
.as-row i:nth-child(2) { background: var(--violet); }
.as-row i:nth-child(3) { background: var(--pink); }
.as-cursor { position: absolute; right: -20px; bottom: -18px; width: 48px; height: 52px; background: var(--fg); clip-path: polygon(0 0, 100% 62%, 58% 66%, 40% 100%); rotate: -10deg; }

/* ── Stickers sous le manifeste ── */
.hb-sticky-sec { padding: 0 0 clamp(40px, 6vw, 80px); }
.hb-sticky-sec .hb-stickers { margin-top: 0; }

/* ── Bandeau « SEO de base inclus, SEO suivi au mois » (dans la section formules) ── */
.seo-note {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-top: 24px;
    padding: 20px 26px;
    background: var(--card);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-lg);
    box-shadow: 6px 6px 0 0 var(--mint);
}
.seo-note p { flex: 1 1 28rem; font-weight: 600; line-height: 1.55; }

/* ── Près de chez vous : maillage vers les 13 pages locales ── */
.hb-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.hb-chips a {
    display: inline-block;
    padding: 10px 18px;
    background: var(--card);
    color: var(--fg);
    border: var(--bw) solid var(--fg);
    border-radius: var(--r-full);
    box-shadow: var(--pop);
    font-weight: 700;
    font-size: var(--fs-sm);
    text-decoration: none;
    transition: translate var(--t) var(--ease-bounce), box-shadow var(--t) var(--ease-bounce), background var(--t) ease;
}
.hb-chips a:hover { background: var(--yellow); translate: -2px -2px; box-shadow: var(--pop-hover); }
.hb-chips li:last-child a { background: var(--fg); color: var(--fg-inverse); }
.hb-chips li:last-child a:hover { background: var(--accent-ink); }
.hb-examples { font-size: var(--fs-md); }

/* Les sections reprises de la home gardent leur rythme : un peu d'air après le bandeau de stickers */
.hb-page--site .impact-section { margin-top: 0; }

@media (max-width: 699px) {
    .hb-art--site { width: 200px; margin: 18px auto 0; }
    .seo-note { box-shadow: 4px 4px 0 0 var(--mint); }
    .seo-note .btn { width: 100%; }
}

