/* ==========================================================================
   Aurélien Henrion · piste « Studio coloré »
   Style de départ : Refero « candy-colored creative studio » (voir DESIGN-refero.md)
   ========================================================================== */

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-latin-opsz-normal.woff2") format("woff2-variations"),
       url("fonts/dm-sans-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-latin-opsz-italic.woff2") format("woff2-variations"),
       url("fonts/dm-sans-latin-opsz-italic.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Couleurs du style */
  --violet: #8b3dff;
  --orange: #ff6105;
  --ink: #0f1015;
  --slate: #575a5f;
  --mist: #d7d9de;
  --paper: #ffffff;
  --lilac: #f1ebff;

  /* Dégradés (linéaires uniquement, chacun finit plus clair) */
  --g-candy: linear-gradient(125deg, #ff3d4d 0%, #ff5424 42%, #ff7a2e 78%, #ff9d57 100%); /* cadre chaud : rouge braise vers orange solaire, sans violet */
  --g-contact: linear-gradient(165deg, #ff3d4d 0%, #ff6105 55%, #ffb27a 100%);
  --g-coral: linear-gradient(180deg, #ff3b4c 5.8%, #ff6212 32.1%, #ffcdb3 100%);
  --g-emerald: linear-gradient(180deg, #007d26 0%, #00a414 52%, #7fdc5a 74%, #e1ffc0 100%);
  --g-plasma: linear-gradient(180deg, #7d2ae8 0%, #8b3dff 42%, #b58cff 74%, #ece2ff 100%);
  --g-cyan: linear-gradient(180deg, #13a3b5 0%, #5fd0e2 42%, #93e8f6 70%, #f1ebff 100%);

  /* Ombres « à peine là », teintées de bleu */
  --shadow: rgba(64, 79, 109, .06) 0 0 0 .5px, rgba(24, 44, 89, .137) 0 2px 4px 0, rgba(24, 44, 89, .07) 0 6px 12px 0;
  --shadow-lift: rgba(64, 79, 109, .06) 0 0 0 .5px, rgba(24, 44, 89, .12) 0 8px 16px 0, rgba(24, 44, 89, .10) 0 20px 40px -8px;
  --ring-dark: rgba(255, 255, 255, .2) 0 0 0 1px inset;

  --r-sm: 8px;
  --r-lg: 16px;
  --frame: 10px;
  --gutter: 20px;
  --maxw: 1280px;
  --section: clamp(64px, 9vw, 120px);
  --header-h: 64px;

  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif; /* réservé aux sites fictifs, comme les vignettes du style */
}

@media (min-width: 720px) { :root { --frame: 14px; --gutter: 32px; --header-h: 76px; } }
@media (min-width: 1100px) { :root { --frame: 18px; --gutter: 48px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.nowrap { white-space: nowrap; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-weight: 500;
  text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  color: var(--violet);
  font-size: clamp(15px, .85rem + .25vw, 17px);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 14px;
}
.eyebrow-ink { color: var(--ink); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn-dark { background: var(--ink); color: #fff; box-shadow: var(--ring-dark); }
.btn-dark:hover { background: #2b2d36; transform: translateY(-2px); box-shadow: var(--ring-dark), 0 8px 18px -6px rgba(15, 16, 21, .45); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--lilac); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--lilac); transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 18px; }
.btn:active { transform: translateY(0); }

/* ---------- En-tête : posé sur la toile blanche, puis barre flottante qui reste en haut ---------- */
.site-header {
  position: fixed;
  z-index: 20;
  top: var(--frame);
  left: var(--frame);
  right: var(--frame);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px calc(var(--gutter) - var(--frame) + 6px);
  min-height: var(--header-h);
  background: var(--paper);
  border-radius: var(--r-lg);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-lift); }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}
/* Pastille « AH » : la même tuile violette que l'outil « Aa » de l'accroche */
.brand-mark {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--violet);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  transform: rotate(-6deg);
  box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.brand:hover .brand-mark { transform: rotate(0deg); }
.brand-name {
  font-size: 19px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand-role {
  display: none;
  font-size: 14px;
  color: var(--slate);
  padding-left: 12px;
  border-left: 1px solid var(--mist);
}
.nav { display: none; }
.nav ul { display: flex; gap: 4px; }
.nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s ease;
}
.nav ul a:hover { background: var(--lilac); }
/* Section en cours : « sélectionnée » comme les mots de l'accroche */
.nav ul a[aria-current="true"] { background: rgba(139, 61, 255, .09); box-shadow: inset 0 0 0 2px var(--violet); }
.nav-cta { display: none; }

/* Bouton « Menu » (téléphone et tablette, seulement si le script tourne) */
.menu-btn { display: none; gap: 10px; padding-inline: 14px 16px; border: 0; cursor: pointer; }
.menu-ic { display: grid; gap: 5px; width: 18px; }
.menu-ic i { display: block; height: 2px; border-radius: 99px; background: currentColor; transition: transform .25s ease; }
.menu-btn[aria-expanded="true"] .menu-ic i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-ic i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1099px) {
  .js .menu-btn { display: inline-flex; }
  /* Le menu devient un panneau sous la barre, aligné sur le bouton */
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(100%, 380px);
    max-height: calc(100svh - var(--header-h) - 3 * var(--frame) - 8px);
    overflow-y: auto;
    padding: 8px;
    background: var(--paper);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lift);
  }
  .site-header.is-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 0 16px;
    border-radius: var(--r-sm);
    font-size: 18px;
  }
  .nav ul a[aria-current="true"]::after {
    content: "Vous êtes ici";
    flex: none;
    padding: 3px 10px;
    border-radius: 9999px;
    background: var(--violet);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
  }
}
/* Téléphone : « Me contacter » passe dans le panneau pour laisser la place au bouton « Menu » */
@media (max-width: 719px) {
  .js .header-cta { display: none; }
  .nav-cta { display: flex; width: 100%; margin-top: 8px; }
}

@media (min-width: 720px) { .site-header { gap: 16px; } }
@media (min-width: 900px) { .brand-role { display: inline; } }
@media (min-width: 1100px) {
  .nav { display: block; }
  .site-header { gap: 32px; }
}
@media (min-width: 1100px) and (max-width: 1319px) { .brand-role { display: none; } } /* place pour les 5 liens du menu */

/* ---------- Accroche : toile blanche dans un ciel coloré ---------- */
.sky {
  background: var(--g-candy);
  padding: var(--frame);
}
.canvas {
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 24px 48px -24px rgba(120, 30, 10, .35);
}
.hero {
  display: grid;
  gap: 36px;
  padding: 104px calc(var(--gutter) - var(--frame) + 6px) 28px;
  overflow: hidden;
}
.hero-copy { max-width: 660px; }
.hero h1 {
  font-size: clamp(2.1rem, 1rem + 3.4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-bottom: 32px;
  text-wrap: balance;
}
.lead {
  font-size: clamp(18px, 1rem + .4vw, 21px);
  line-height: 1.5;
  color: var(--slate);
  max-width: 30em;
  margin-bottom: 30px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Les mots « sélectionnés » comme dans un éditeur */
.sel { position: relative; display: inline-block; z-index: 0; margin-left: .08em; }
.sel-box {
  position: absolute;
  z-index: -1;
  inset: 0.06em -0.14em -0.02em -0.12em;
  border: 2px solid var(--violet);
  background: rgba(139, 61, 255, .09);
  border-radius: 3px;
  transform-origin: left center;
}
.sel-box i {
  position: absolute;
  width: 11px;
  height: 11px;
  background: #fff;
  border: 2px solid var(--violet);
  border-radius: 2px;
}
.sel-box i:nth-child(1) { left: -7px; top: -7px; }
.sel-box i:nth-child(2) { right: -7px; top: -7px; }
.sel-box i:nth-child(3) { left: -7px; bottom: -7px; }
.sel-box i:nth-child(4) { right: -7px; bottom: -7px; }


/* Composition de sites fictifs */
.hero-art {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 540;
  container-type: inline-size;
}
.hero-art > * { position: absolute; }
.win-hero { left: 0; top: 4%; width: 84%; --r: -1.5deg; transform: rotate(var(--r)); }
.phone-hero { left: 64%; top: 27%; width: 31%; --r: 4deg; transform: rotate(var(--r)); }
.hero-art .tool-type { left: 1%; top: 73%; width: 13%; --r: -9deg; transform: rotate(var(--r)); }
.hero-art .tool-swatch { left: 16.5%; top: 90%; --r: 0deg; }
.toast { left: 19%; top: 75%; --r: 0deg; }

/* Fenêtre de navigateur */
.win {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: #f4f4f6;
  border-bottom: 1px solid #e6e7ea;
}
.win-bar > i { width: 9px; height: 9px; border-radius: 50%; background: var(--mist); }
.win-url {
  margin-left: 10px;
  flex: 1;
  max-width: 62%;
  background: #fff;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--slate);
  line-height: 20px;
  padding: 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0;
}
.win-body { aspect-ratio: 16 / 10; container-type: inline-size; overflow: hidden; }

/* Téléphone */
.phone {
  background: #0f1015;
  border-radius: 12% / 6%;
  padding: 3.2%;
  box-shadow: var(--shadow-lift);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.phone-screen {
  aspect-ratio: 9 / 17.5;
  border-radius: 9% / 4.6%;
  overflow: hidden;
  container-type: inline-size;
  background: #fff;
}

/* Outils du studio (tuiles pleines, pas de verre) */
.tool {
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lift);
}
.tool-type { aspect-ratio: 1; background: var(--violet); color: #fff; }
.tool-type span { font-size: 6.4cqw; font-weight: 500; letter-spacing: -0.03em; }
.tool-swatch {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 9999px;
}
.tool-swatch i { width: 16px; height: 16px; border-radius: 50%; }
.tool-swatch i:nth-child(1) { background: var(--violet); }
.tool-swatch i:nth-child(2) { background: #00a414; }
.tool-swatch i:nth-child(3) { background: #13a3b5; }
.tool-swatch i:nth-child(4) { background: var(--orange); }

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-lift);
  font-size: 14px;
  line-height: 1.25;
  z-index: 4;
}
.toast b { display: block; font-weight: 600; }
.toast small { display: block; color: var(--slate); font-size: 12.5px; }
.toast-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #00861f;
}

/* ---------- Sites fictifs (tailles relatives à leur cadre) ---------- */
.ms {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink2);
  letter-spacing: 0;
  line-height: 1.2;
}
.ms span { display: block; }
.ms-logo { font-family: var(--serif); font-weight: 700; }
.ms-title { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.ms-kicker { color: var(--acc2, var(--acc)); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.ms-lines i { display: block; background: currentColor; opacity: .18; border-radius: 99px; }
.ms-btn { background: var(--acc); color: var(--on-acc); font-weight: 700; text-align: center; white-space: nowrap; }
.ms-btn-o { background: transparent; color: var(--ink2); box-shadow: inset 0 0 0 .3cqw currentColor; }
.ms-pill { background: var(--acc); color: var(--on-acc); font-weight: 700; border-radius: 99px; }
.ms-pic { position: relative; overflow: hidden; }
.ms-pic i { position: absolute; display: block; }

/* dans un navigateur */
.win .ms { padding: 3cqw 4.5cqw 4cqw; gap: 3cqw; font-size: 2cqw; }
.win .ms-nav { display: flex; align-items: center; gap: 3cqw; }
.win .ms-logo { font-size: 3.1cqw; margin-right: auto; }
.win .ms-links { display: flex; gap: 2cqw; }
.win .ms-links i { width: 6cqw; height: .9cqw; background: currentColor; opacity: .3; border-radius: 99px; }
.win .ms-pill { padding: 1cqw 2.4cqw; font-size: 1.9cqw; }
.win .ms-hero { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 4cqw; align-items: stretch; min-height: 0; }
.win .ms-copy { align-self: center; }
.win .ms-kicker { font-size: 1.7cqw; margin-bottom: 1.6cqw; }
.win .ms-title { font-size: 5.6cqw; line-height: 1.04; margin-bottom: 2.4cqw; }
.win .ms-lines i { height: 1cqw; margin-bottom: 1.3cqw; }
.win .ms-lines i:nth-child(1) { width: 92%; }
.win .ms-lines i:nth-child(2) { width: 64%; }
.win .ms-btns { display: flex; gap: 1.4cqw; margin-top: 2.6cqw; }
.win .ms-btn { padding: 1.3cqw 2.4cqw; font-size: 1.9cqw; border-radius: 1cqw; }
.win .ms-pic { border-radius: 1.6cqw; }
.win .ms-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.win .ms-row span { background: var(--soft); padding: 2cqw 2.2cqw; border-radius: 1.2cqw; font-size: 1.9cqw; font-weight: 700; }

/* dans un téléphone */
.phone .ms { padding: 4.5cqw 6.5cqw 6.5cqw; gap: 4.6cqw; font-size: 5cqw; }
.ms-status i { display: block; width: 30cqw; height: 6cqw; margin: 0 auto; background: #0f1015; border-radius: 99px; }
.phone .ms-nav { display: flex; align-items: center; justify-content: space-between; }
.phone .ms-logo { font-size: 7.4cqw; }
.ms-burger { display: grid; gap: 1.6cqw; }
.ms-burger i { display: block; width: 7cqw; height: 1.2cqw; background: currentColor; border-radius: 99px; }
.phone .ms-pic { aspect-ratio: 16 / 12; border-radius: 4cqw; flex: none; }
.phone .ms-title { font-size: 10cqw; line-height: 1.05; }
.phone .ms-lines i { height: 2.4cqw; margin-bottom: 2.6cqw; }
.phone .ms-lines i:nth-child(1) { width: 94%; }
.phone .ms-lines i:nth-child(2) { width: 70%; }
.phone .ms-lines i:nth-child(3) { width: 82%; }
.ms-hours { font-size: 5.2cqw; }
.ms-hours b { color: var(--acc); }
.phone .ms-dock { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.phone .ms-btn { padding: 4.2cqw 0; font-size: 5cqw; border-radius: 3cqw; }

/* palettes des entreprises fictives */
.ms-bois { --bg: #f5ede1; --ink2: #2a1f16; --acc: #2f5d46; --on-acc: #fff; --soft: #eadcc6; }
.ms-pain { --bg: #fff8ee; --ink2: #2b1b12; --acc: #b9381f; --on-acc: #fff; --soft: #f6e2c8; }
.ms-vert { --bg: #ffffff; --ink2: #0f1015; --acc: #0f1015; --on-acc: #fff; --soft: #e9f7e0; }

/* images dessinées */
.pic-bois { background: linear-gradient(180deg, #efe2cf 0 70%, #e2cfb3 70%); }
.pic-bois i {
  right: 0; bottom: 0;
  background: repeating-linear-gradient(90deg, #c99a62 0 3.2cqw, #b88549 3.2cqw 3.45cqw, #d4a872 3.45cqw 6.6cqw, #b88549 6.6cqw 6.85cqw);
  border-radius: .6cqw 0 0 0;
}
.pic-bois i:nth-child(1) { width: 100%; height: 22%; }
.pic-bois i:nth-child(2) { width: 68%; height: 46%; }
.pic-bois i:nth-child(3) { width: 36%; height: 70%; }

.pic-pain { background: linear-gradient(180deg, #f6e2c8, #efcfa6); }
.pic-pain i {
  left: 8%; top: 36%; width: 84%; height: 28%;
  border-radius: 99px;
  background:
    repeating-linear-gradient(118deg, transparent 0 13%, rgba(255, 238, 205, .85) 13% 16%, transparent 16% 22%),
    linear-gradient(180deg, #e0a052, #b8702e);
  transform: rotate(-12deg);
  box-shadow: 0 3cqw 4cqw -2cqw rgba(90, 45, 10, .5);
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.method, .pricing { padding-top: clamp(8px, 2vw, 24px); } /* pas de grand blanc entre deux sections blanches */
.needs { padding-bottom: clamp(16px, 3vw, 32px); }
/* Un clic dans le menu amène le haut de la section juste sous la barre fixe */
.section { scroll-margin-top: max(16px, calc(var(--frame) + var(--header-h) + 20px - var(--section))); }
.method, .pricing, .contact { scroll-margin-top: calc(var(--frame) + var(--header-h) + 12px); }
.head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2, .solo h2, .about h2, .contact h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
}

/* Ce que je fais : bento de panneaux colorés.
   Chaque panneau prend la hauteur de son contenu : le dessin en haut, le texte juste dessous. */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.feat {
  --pad: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: var(--pad);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.feat-emerald { background: var(--g-emerald); }
.feat-plasma { background: var(--g-plasma); }
.feat-cyan { background: var(--g-cyan); }
.feat-coral { background: var(--g-coral); }
/* Le dessin part du bord du panneau (marges négatives) et reste sous le texte.
   Si le voisin de rangée est plus haut, le dessin se centre dans la place en plus. */
.feat-art {
  position: relative;
  z-index: -1;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 0;
  padding: 20px 16px 0;
}
/* Panneau vert : le téléphone glisse derrière le texte */
.feat-emerald .feat-art { height: 196px; padding: 0; }
.feat-plasma .feat-art { gap: 14px; padding-top: 24px; }
.feat-cyan .feat-art { padding: 28px 20px 0; }
.feat-art > * { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.feat:hover .feat-art > * { transform: translateY(-6px) rotate(var(--r, 0deg)); }
.feat-copy {
  background: #fff;
  border-radius: var(--r-sm);
  padding: 20px 22px 22px;
  box-shadow: var(--shadow);
  max-width: 440px;
}
.feat-copy h3 { font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 8px; }
.feat-copy p { color: var(--slate); font-size: 16.5px; line-height: 1.5; }

.phone-feat { position: absolute; width: 170px; left: 50%; top: 28px; margin-left: -85px; --r: 3deg; transform: rotate(var(--r)); }
.speed {
  position: absolute;
  left: 16px; top: 16px;
  background: #fff;
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 14px;
  box-shadow: var(--shadow);
}
.speed b { color: #00731b; font-weight: 600; }
.ms-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; }
.ms-cards i { display: block; aspect-ratio: 1; border-radius: 4cqw; background: var(--soft); }
.ms-cards i:nth-child(2) { background: #d4f0c4; }

.mail {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lift);
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.3;
}
.mail:first-child { margin-right: 18%; --r: -2deg; transform: rotate(var(--r)); }
.mail-head { display: block; margin-bottom: 12px; }
.mail-head b { font-weight: 600; }
.mail-line { display: block; height: 8px; border-radius: 99px; background: #ece8f5; margin-top: 8px; }
.mail-line.short { width: 60%; }
.mail-reply { align-self: flex-end; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; --r: 2deg; transform: rotate(var(--r)); }
.mail-reply .mail-head { margin: 0; }
.mail-reply .toast-ic { width: 24px; height: 24px; border-radius: 7px; }

.deed {
  position: relative;
  width: min(300px, 100%);
  margin-inline: auto;
  --r: -3deg;
  transform: rotate(var(--r));
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lift);
  padding: 18px 20px;
}
.deed-label { display: block; font-size: 13px; font-weight: 600; color: var(--slate); margin-bottom: 4px; }
.deed-name { display: block; font-size: 23px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 14px; overflow-wrap: anywhere; }
.deed-name span { color: var(--violet); }
.deed-owner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--mist);
  font-size: 15px;
  color: var(--ink);
}
.deed-owner svg { color: var(--violet); flex: none; }
.deed-owner b { font-weight: 600; color: var(--violet); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: var(--r-sm);
  padding: 10px 14px 10px 10px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.chip i { width: 20px; height: 20px; border-radius: 6px; flex: none; }
.chip .c1 { background: var(--violet); }
.chip .c2 { background: #13a3b5; }
.chip .c3 { background: var(--orange); }
.chip:nth-child(2) { rotate: 2deg; }
.chip:nth-child(3) { rotate: -1.5deg; }
.chip-add { background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1.5px rgba(15, 16, 21, .55); padding-left: 14px; }

@media (min-width: 640px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .feat { --pad: 20px; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .feat { --pad: 24px; }
  .feat-emerald { grid-column: span 7; }
  .feat-plasma { grid-column: span 5; }
  .feat-cyan { grid-column: span 5; }
  .feat-coral { grid-column: span 7; }
  /* Panneau vert : téléphone à droite sur toute la hauteur, texte en bas à gauche */
  .feat-emerald { min-height: 350px; justify-content: flex-end; }
  .feat-emerald .feat-art { position: absolute; inset: 0; height: auto; margin: 0; }
  .feat-emerald .phone-feat { left: auto; right: 9%; margin: 0; top: 24px; width: 180px; }
  .feat-emerald .speed { left: auto; right: calc(9% + 170px); top: 52px; }
  .feat-emerald .feat-copy, .feat-coral .feat-copy { max-width: 380px; }
  .feat-plasma .feat-art, .feat-coral .feat-art { padding: 28px 24px 0; }
  .feat-coral .chips { margin-left: auto; width: 56%; justify-content: flex-end; }
}

/* Vous vous reconnaissez ? : quatre questions, une réponse */
.needs-grid { display: grid; gap: 14px; }
.need {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px 24px;
  border-radius: var(--r-lg);
  background: var(--bg);
}
.need-q {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--acc);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.need p { padding-top: 7px; font-size: clamp(18px, 1rem + .35vw, 21px); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.need-1 { --bg: #f1ebff; --acc: var(--violet); }
.need-2 { --bg: #e6f8dc; --acc: #00861f; }
.need-3 { --bg: #e1f6f9; --acc: #0f8a99; }
.need-4 { --bg: #fff0e6; --acc: #e05200; }
@media (min-width: 760px) { .needs-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }

/* Méthode : une page qui prend forme */
.steps { display: grid; gap: 28px; }
.step { display: grid; grid-template-columns: 116px 1fr; gap: 18px; align-items: start; }
.thumb {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  container-type: inline-size;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0;
}
.step h3 { font-size: 21px; line-height: 1.25; margin-bottom: 6px; letter-spacing: -0.012em; }
.step p { color: var(--slate); font-size: 16px; line-height: 1.5; }

.thumb-1 { background: var(--lilac); }
.bubble { position: absolute; display: block; background: #fff; border-radius: 6cqw 6cqw 6cqw 1.5cqw; padding: 5cqw 6cqw; box-shadow: var(--shadow); }
.bubble i { display: block; height: 3.4cqw; border-radius: 99px; background: #d9d1ee; margin: 1.6cqw 0; }
.b-left { left: 8%; top: 10%; width: 60%; }
.b-left i:nth-child(2) { width: 70%; }
.b-right { right: 8%; top: 42%; width: 46%; background: var(--violet); border-radius: 6cqw 6cqw 1.5cqw 6cqw; }
.b-right i { background: rgba(255, 255, 255, .6); }
.b-small { top: 72%; width: 38%; }

.thumb-2 { background: #fff; box-shadow: inset 0 0 0 1px var(--mist); }
.wf { position: absolute; display: block; border-radius: 1.5cqw; background: #eef0f3; border: .5cqw dashed #c3c7cf; }
.wf-nav { left: 8%; right: 8%; top: 7%; height: 8%; }
.wf-title { left: 8%; width: 58%; top: 22%; height: 13%; border-color: var(--violet); border-style: solid; background: rgba(139, 61, 255, .08); }
.wf-img { left: 8%; right: 8%; top: 42%; height: 28%; }
.wf-line { left: 8%; width: 70%; top: 75%; height: 6%; }
.wf-btn { left: 8%; width: 32%; top: 85%; height: 9%; background: #dfe2e7; }

.thumb-3 { background: #fff6ef; }
.thumb-3 > span { position: absolute; display: block; border-radius: 1.5cqw; }
.t3-nav { left: 8%; right: 8%; top: 7%; height: 6%; background: linear-gradient(90deg, var(--ink) 0 24%, transparent 24% 60%, #e7dccf 60%); }
.t3-title { left: 8%; width: 70%; top: 20%; height: 16%; background: linear-gradient(180deg, var(--ink) 0 42%, transparent 42% 58%, var(--ink) 58%); opacity: .92; }
.t3-img { left: 8%; right: 8%; top: 42%; height: 28%; background: var(--g-coral); border-radius: 2.4cqw; }
.t3-line { left: 8%; width: 62%; top: 75%; height: 4%; background: #e7dccf; }
.t3-btn { left: 8%; width: 34%; top: 84%; height: 10%; background: var(--violet); border-radius: 2cqw; }

.thumb-4 { background: linear-gradient(180deg, #e1ffc0, #c4f2a6); }
.t4-phone {
  position: absolute;
  left: 30%; top: 12%;
  width: 40%;
  height: 100%;
  background: #fff;
  border-radius: 6cqw;
  box-shadow: 0 0 0 2.4cqw var(--ink), var(--shadow-lift);
  padding: 8cqw 5cqw;
}
.t4-phone i { display: block; border-radius: 1.5cqw; background: #eceef1; margin-bottom: 3cqw; height: 4cqw; }
.t4-phone i:nth-child(1) { height: 12cqw; background: var(--g-coral); }
.t4-phone i:nth-child(3) { width: 60%; }
.live {
  position: absolute;
  left: 6%; top: 9%;
  display: flex !important;
  align-items: center;
  gap: 2.4cqw;
  background: var(--ink);
  color: #fff;
  font-size: max(11px, 7cqw);
  font-weight: 600;
  padding: 2.6cqw 4.4cqw 2.6cqw 3.6cqw;
  border-radius: 9999px;
  letter-spacing: 0;
  z-index: 2;
}
.live i { width: 3.6cqw; height: 3.6cqw; min-width: 7px; min-height: 7px; border-radius: 50%; background: #3fe06a; }

@media (min-width: 640px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .step { grid-template-columns: 1fr; gap: 20px; }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* Tarifs : deux offres, puis l'encart « Vous avez déjà un site ? » */
.plans { display: grid; gap: 16px; }
.plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--mist), var(--shadow);
}
.plan-main { background: var(--ink); color: #fff; box-shadow: var(--shadow-lift); }
.plan-name { font-size: 15px; font-weight: 600; color: var(--violet); letter-spacing: 0; }
.plan-main .plan-name { color: #c7adff; }
.plan-price { font-size: clamp(2.5rem, 1.9rem + 1.8vw, 3.5rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.plan-price small { font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--slate); }
.plan-main .plan-price small { color: #b9bcc4; }
.plan-list { margin: 6px 0 10px; }
.plan-list li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-top: 1px solid var(--mist); font-size: 16.5px; line-height: 1.4; }
.plan-main .plan-list li { border-top-color: rgba(255, 255, 255, .16); }
.ok-ic { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; background: #00861f; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plans-note { margin-top: 16px; font-size: 14.5px; color: var(--slate); }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; gap: 20px; } }

.redo {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-top: clamp(32px, 4vw, 56px);
  padding: 16px;
  border-radius: var(--r-lg);
  background: var(--g-coral);
}
.redo-card { max-width: 560px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow); }
.redo-card h3 { font-size: clamp(24px, 1rem + 1vw, 30px); line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 10px; }
.redo-card p:not(.eyebrow) { color: var(--slate); margin-bottom: 22px; }
.redo-art { display: none; }
@media (min-width: 900px) {
  .redo { grid-template-columns: 1.1fr 1fr; padding: 24px; }
  .redo-art { display: flex; align-items: center; justify-content: center; gap: 14px; }
}
/* ancien site (daté) → nouvelle version */
.old-site, .new-site { display: flex; flex-direction: column; gap: 8px; width: 170px; aspect-ratio: 3 / 4; padding: 12px; border-radius: 8px; box-shadow: var(--shadow-lift); }
.old-site { background: #eeeae0; rotate: -4deg; font-family: "Times New Roman", Times, serif; color: #5b4a3a; }
.old-bar { height: 16px; background: #6d8aa8; }
.old-title { font-size: 13px; font-style: italic; text-align: center; color: #1a3a7a; text-decoration: underline; }
.old-lines { display: grid; gap: 6px; }
.old-lines i { height: 5px; background: #c7bfae; }
.old-foot { margin-top: auto; font-size: 9px; text-align: center; }
.new-site { background: #fff; rotate: 3deg; }
.new-nav { display: flex; align-items: center; justify-content: space-between; }
.new-nav i { width: 44px; height: 8px; border-radius: 99px; background: var(--ink); }
.new-nav b { font-size: 9px; font-weight: 600; color: #fff; background: var(--violet); padding: 4px 8px; border-radius: 99px; }
.new-title { height: 26px; width: 90%; border-radius: 4px; background: linear-gradient(180deg, var(--ink) 0 40%, transparent 40% 60%, var(--ink) 60%); }
.new-lines { display: grid; gap: 5px; }
.new-lines i { height: 5px; border-radius: 99px; background: var(--mist); }
.new-lines i:nth-child(2) { width: 70%; }
.new-img { flex: 1; border-radius: 6px; background: var(--g-plasma); }
.redo-arrow { flex: none; }

/* Mon suivi : bandeau froid entre la méthode et le contact chaud.
   La carte liste les étapes du site, de la maquette aux modifications. */
.solo {
  margin: 0 var(--frame) var(--frame);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #eafcfd 0%, #bdf1f7 45%, #7fdbe9 100%);
}
.solo-grid { display: grid; gap: 44px; align-items: center; }
.solo-copy { max-width: 560px; }
.solo-copy h2 { margin-bottom: 20px; }
.solo-copy > p:not(.eyebrow):not(.hook) { color: #26282e; font-size: clamp(18px, 1rem + .3vw, 20px); }
.solo-copy > .hook { margin-bottom: 12px; font-size: clamp(22px, 1rem + 1vw, 28px); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }

.board {
  width: 100%;
  max-width: 470px;
  justify-self: center;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 8px 10px 12px;
  box-shadow: var(--shadow), 0 30px 60px -30px rgba(10, 80, 95, .5);
  rotate: -2deg;
}
.board-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
.board li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 12px 12px 12px 14px;
  border-radius: var(--r-sm);
  background: #f5f6f8;
}
.task-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #00861f;
}
.task-live { background: #dcf7e3; }
.task-live i { width: 9px; height: 9px; border-radius: 50%; background: #16a843; }
.task { margin-right: auto; font-size: 17px; font-weight: 500; letter-spacing: -0.012em; }
@media (min-width: 900px) {
  .solo-grid { grid-template-columns: 6fr 5fr; gap: 72px; }
  .board { justify-self: end; }
}

/* Qui suis-je : photo (emplacement en attendant) + présentation */
.about-grid { display: grid; gap: 40px; align-items: center; }
/* Cadre photo : bordure blanche comme un tirage ; la photo, si elle existe, recouvre l'emplacement */
.portrait {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(72vw, 340px);
  aspect-ratio: 4 / 5;
  padding: 10px;
  background: #fff;
  border-radius: var(--r-lg);
  rotate: -2deg;
  box-shadow: var(--shadow-lift);
}
.portrait-photo {
  position: absolute;
  inset: 10px;
  z-index: 1;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: cover;
  border-radius: 10px;
}
.portrait-photo + .portrait-empty { visibility: hidden; } /* photo présente : l'emplacement ne déborde pas sur ses bords */
.portrait-empty {
  height: 100%;
  border-radius: 10px;
  display: grid;
  place-items: center;
  align-content: end;
  gap: 18px;
  padding-bottom: 28px;
  background: var(--g-plasma);
}
.portrait-empty svg { width: 62%; height: auto; }
.portrait-tag {
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 7px 14px;
  border-radius: 9999px;
}
.about-copy { max-width: 600px; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy > p:not(.eyebrow):not(.promise) { color: var(--slate); font-size: clamp(18px, 1rem + .3vw, 20px); }
.promise {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 4px solid var(--violet);
  color: var(--ink);
  font-size: clamp(22px, 1rem + 1.1vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.promise mark {
  color: inherit;
  background: rgba(139, 61, 255, .14);
  box-shadow: inset 0 -3px 0 var(--violet);
  padding: 0 .12em;
  border-radius: 3px;
}
/* Pourquoi travailler avec moi ? */
.why { margin-top: clamp(48px, 6vw, 88px); }
.why-title { font-size: clamp(24px, 1rem + 1.1vw, 32px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 24px; }
.why-grid { display: grid; gap: 14px; }
.why-card { padding: 22px 22px 24px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--mist), var(--shadow); }
.why-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; margin-bottom: 16px; }
.why-1 { background: var(--violet); }
.why-2 { background: #00861f; }
.why-3 { background: #0f8a99; }
.why-4 { background: #e05200; }
.why-card h4 { font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 6px; }
.why-card p { color: var(--slate); font-size: 16px; line-height: 1.5; }
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 72px; }
  .portrait { justify-self: start; }
}

/* Contact : on referme la page comme on l'a ouverte */
.contact {
  position: relative;
  margin: 0 var(--frame) var(--frame);
  padding: clamp(28px, 6vw, 88px) var(--frame);
  border-radius: var(--r-lg);
  background: var(--g-contact);
  overflow: hidden;
}
.contact-card {
  position: relative;
  z-index: 2;
  max-width: 660px;
  margin-inline: auto;
  background: #fff;
  border-radius: var(--r-lg);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 30px 60px -30px rgba(120, 30, 10, .45);
}
.contact-card h2 { margin-bottom: 16px; }
.contact-card > p:not(.eyebrow):not(.mail-plain) { color: var(--slate); font-size: clamp(18px, 1rem + .3vw, 20px); margin-bottom: 28px; }
.mail-plain { margin-top: 20px; font-size: 16px; color: var(--slate); }
.mail-plain a { display: inline-block; padding-block: 10px; margin-block: -10px; color: var(--ink); font-weight: 600; text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.mail-plain a:hover { color: var(--violet); }
.contact .actions .btn { width: 100%; }
.contact-art { display: none; }
@media (min-width: 560px) { .contact .actions .btn { width: auto; } }
@media (min-width: 1100px) {
  .contact-art { display: block; position: absolute; inset: 0; z-index: 1; container-type: inline-size; }
  .contact-art .tool { position: absolute; }
  .contact-art .tool-type { width: 96px; left: 9%; top: 18%; --r: -10deg; transform: rotate(var(--r)); }
  .contact-art .tool-type span { font-size: 38px; }
  .contact-art .tool-mail { width: 84px; height: 84px; right: 10%; top: 22%; background: #fff; color: var(--violet); --r: 8deg; transform: rotate(var(--r)); }
  .contact-art .tool-swatch { right: 14%; bottom: 18%; --r: -4deg; transform: rotate(var(--r)); }
}

/* Pied de page */
.site-footer { padding: 28px 0 32px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 15px; color: var(--slate); }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font-size: 17px; font-weight: 650; letter-spacing: -0.03em; color: var(--ink); }
.foot-brand .brand-mark { width: 30px; height: 30px; border-radius: 8px; font-size: 12px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-underline-offset: 4px; }
.foot a:hover { color: var(--violet); }

/* Barre fixe sur téléphone */
.mobile-bar {
  position: fixed;
  z-index: 50;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--mist);
  box-shadow: 0 -8px 24px -12px rgba(24, 44, 89, .25);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}
.mobile-bar .btn { width: 100%; }
.mobile-bar.is-on { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
html:not(.js) .mobile-bar { transform: none; visibility: visible; }
@media (min-width: 720px) { .mobile-bar { display: none; } }
/* Sans JavaScript, la barre reste affichée : on laisse la place pour ne pas cacher le pied de page */
@media (max-width: 719px) { html:not(.js) .site-footer { padding-bottom: 96px; } }

/* ---------- Page « Mentions légales » ---------- */
.page-legal { border-top: 10px solid #ff5424; border-image: var(--g-candy) 1; }
.page-legal .site-header {
  position: static;
  max-width: 820px;
  margin-inline: auto;
  padding: 18px var(--gutter);
}
.legal { max-width: 820px; margin-inline: auto; padding: 24px var(--gutter) 64px; }
.legal h1 {
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.legal h2 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--mist);
}
.legal p { color: #33353b; margin-bottom: 12px; }
.legal b { font-weight: 600; color: var(--ink); }
.legal a { color: var(--ink); font-weight: 500; text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal a:hover { color: var(--violet); }
.legal .btn { margin-top: 12px; text-decoration: none; }
.legal .btn-dark, .legal .btn-dark:hover { color: #fff; } /* bouton de la page 404 */
.todo { background: #fff0e6; color: #9a3a00; padding: 1px 8px; border-radius: 6px; font-weight: 600; font-size: .92em; }
.page-legal .site-footer { border-top: 1px solid var(--mist); }
.page-legal .foot { max-width: 820px; }
@media (max-width: 719px) { .page-legal .site-footer { padding-bottom: 32px; } }

/* ---------- Accroche : mise en page large ---------- */
@media (min-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    align-items: center;
    gap: 40px;
    min-height: calc(100svh - 2 * var(--frame));
    max-height: 980px;
    padding: 110px calc(var(--gutter) - var(--frame) + 6px) 48px;
  }
  .hero-copy { padding-bottom: 12px; }
}
@media (min-width: 1400px) {
  .hero { padding-inline: 72px; }
  .site-header { padding-inline: 58px; }
}

/* ---------- Apparitions ---------- */
@keyframes pop-in {
  from { opacity: 0; transform: translateY(24px) rotate(var(--r, 0deg)) scale(.96); }
  to { opacity: 1; transform: rotate(var(--r, 0deg)); }
}
@keyframes draw-sel {
  from { transform: scaleX(.2); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63, 224, 106, .6); }
  50% { box-shadow: 0 0 0 1.6cqw rgba(63, 224, 106, 0); }
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 168, 67, .55); }
  50% { box-shadow: 0 0 0 6px rgba(22, 168, 67, 0); }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero-art > * { animation: pop-in .8s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero-art > .win-hero { animation-delay: .1s; }
  .js .hero-art > .phone-hero { animation-delay: .3s; }
  .js .hero-art > .tool-type { animation-delay: .5s; }
  .js .hero-art > .tool-swatch { animation-delay: .6s; }
  .js .hero-art > .toast { animation-delay: 1.1s; }
  .js .sel-box { animation: draw-sel .6s cubic-bezier(.2, .7, .2, 1) .35s both; }
  .live i { animation: pulse 2.4s ease-in-out infinite; }
  .task-live i { animation: pulse-dot 2.4s ease-in-out infinite; }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .steps .step:nth-child(2) { transition-delay: .08s; }
  .js .steps .step:nth-child(3) { transition-delay: .16s; }
  .js .steps .step:nth-child(4) { transition-delay: .24s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
