/* IDTrax — page d'accueil (refonte du 25/10/2026).
   Même construction que le site CaniFelis (Space Grotesk + Inter + Caveat, coins arrondis,
   boutons en relief, mascottes et icônes 3D), dans les couleurs chantier d'IDTrax :
   jaune #ffc300, anthracite #1b1e24, béton #f6f3ec. Les autres pages gardent styles.css. */
:root {
  --beton: #f6f3ec;
  --sand: #efe8d9;
  --paper: #fffdf8;
  --line: #e6dfcf;
  --ink: #1b1e24;
  --ink-2: #2b2f36;
  --ink-3: #12141a;
  --muted: #5d6370;
  --yellow: #ffc300;
  --yellow-2: #ffd84a;
  --yellow-soft: #fff1bf;
  --amber: #e6a700;
  --orange: #f89000;
  --green: #1e9e5a;
  --red: #d8463a;
  --radius: 24px;
  --shadow: 0 1px 0 rgba(27, 30, 36, .04), 0 14px 34px -16px rgba(27, 30, 36, .30);
  --shadow-lg: 0 2px 0 rgba(27, 30, 36, .04), 0 30px 60px -24px rgba(27, 30, 36, .38);
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', 'Segoe Print', cursive;
  --hazard: repeating-linear-gradient(-45deg, var(--ink) 0 16px, var(--yellow) 16px 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--beton); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.025em; line-height: 1.08; }
p, ul, ol { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
svg { width: 1em; height: 1em; flex: none; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; position: relative; }
.wrap--narrow { width: min(820px, 100% - 40px); }

/* Surlignage jaune, posé sur le bas de chaque ligne (tient sur plusieurs lignes) */
.hl { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .08em; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; padding: 13px 22px; font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s, color .15s; white-space: nowrap; }
.btn svg { font-size: 18px; transition: translate .2s; }
.btn:hover svg { translate: 4px 0; }
.btn--sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.btn--lg { padding: 17px 28px; font-size: 16.5px; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--yellow { background: linear-gradient(180deg, var(--yellow-2), var(--yellow)); color: var(--ink); box-shadow: 0 4px 0 var(--amber), 0 12px 24px -10px rgba(230, 167, 0, .7); }
.btn--yellow:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--amber), 0 16px 28px -10px rgba(230, 167, 0, .75); }
.btn--yellow:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--amber); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #000; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #000; }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn--ghost:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
/* Offre pas encore ouverte à la souscription */
.btn--soon, .btn--soon:hover, .btn--soon:active { opacity: .55; cursor: default; transform: none; box-shadow: 0 4px 0 var(--ink); }
.btn--line { color: var(--ink); border-color: rgba(27, 30, 36, .18); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn--line-light { color: #fff; border-color: rgba(255, 255, 255, .28); background: transparent; }
.btn--line-light:hover { border-color: var(--yellow); color: var(--yellow); }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 236, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(27, 30, 36, .4); }
.top__in { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--display); letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 4px 10px -4px rgba(27, 30, 36, .5); }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 3px; border-radius: 3px; background: var(--yellow); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.top__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); font-size: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 0;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(255, 195, 0, .22), transparent 70%),
    var(--beton); }
.hero__in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; padding-bottom: 64px; padding-top: 6px; }
.hero__text { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(36px, 4.6vw, 56px); margin: 0 0 16px; font-weight: 700; }
.hero__sub { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero__alt { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.hero__alt a { color: var(--ink); font-weight: 700; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }

/* ---------- Formulaire avant-première (haut de page) ---------- */
.ap { position: relative; margin-top: 26px; max-width: 560px; background: var(--paper); border: 2px solid var(--ink); border-radius: 24px; padding: 18px 22px 18px; box-shadow: 0 8px 0 var(--ink), 0 30px 50px -24px rgba(27, 30, 36, .45); }
.ap__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -34px -6px 10px; }
.ap__tag { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: var(--yellow); font: 700 14px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; padding: 6px 14px 6px 6px; border-radius: 99px; box-shadow: 0 4px 12px -4px rgba(27, 30, 36, .5); }
.ap__tag img { width: 30px; height: 30px; margin: -6px 0; }
.ap__places { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; padding: 7px 12px; border-radius: 99px; transform: rotate(2deg); }
.ap__places i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(216, 70, 58, .6); animation: ping 1.6s ease-out infinite; }
.ap__title { font: 700 24px/1.15 var(--display); letter-spacing: -.02em; }
.ap__sub { color: var(--muted); font-size: 14.5px; margin: 4px 0 14px; }
.ap__err { display: none; background: #fdecea; color: #a8281e; border-radius: 10px; padding: 9px 12px; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.ap__err.show { display: block; }
.ap__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ap__field span { display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin: 0 0 5px 2px; }
.ap__field input { width: 100%; height: 52px; border-radius: 13px; border: 2px solid var(--line); background: #fff; padding: 0 14px; font: 500 16px var(--body); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.ap__field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 195, 0, .45); }
.ap__team { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 12px 0 14px; }
.ap__team > span { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-right: 4px; }
.ap__team label { position: relative; cursor: pointer; }
.ap__team input { position: absolute; opacity: 0; pointer-events: none; }
.ap__team b { display: block; padding: 9px 13px; border-radius: 11px; border: 2px solid var(--line); background: #fff; font-size: 14.5px; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.ap__team label:hover b { border-color: var(--ink); }
.ap__team input:checked + b { background: var(--ink); border-color: var(--ink); color: var(--yellow); transform: translateY(-1px); }
.ap__team input:focus-visible + b { outline: 3px solid var(--yellow); outline-offset: 2px; }
.ap .btn--lg { font-size: 17.5px; padding: 18px 24px; }
.ap__trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 12px; font-size: 13.5px; font-weight: 700; }
.ap__trust li { display: flex; align-items: center; gap: 6px; }
.ap__trust li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ap__legal { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.ap__legal a { color: inherit; }
.ap__done { display: none; align-items: center; gap: 16px; padding: 6px 0 2px; }
.ap__done img { width: 70px; height: auto; flex: none; }
.ap__done p:not(.ap__title) { color: var(--muted); margin-top: 6px; }
.ap.sent form { display: none; }
.ap.sent .ap__done { display: flex; animation: rise .5s both; }
.ap.sent .ap__places { display: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(216, 70, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(216, 70, 58, 0); } }

.hero__stage { position: relative; height: 600px; z-index: 1; }
.blob { position: absolute; border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%; }
.blob--hero { inset: 70px 40px 40px 40px; background: linear-gradient(150deg, var(--yellow-2), var(--yellow) 60%, var(--orange)); box-shadow: inset 0 -20px 40px rgba(248, 144, 0, .35); animation: morph 14s ease-in-out infinite; }
.blob--hero::after { content: ''; position: absolute; inset: 18% 10% auto auto; width: 90px; height: 90px; border-radius: 50%; background: rgba(255, 255, 255, .3); filter: blur(2px); }
.phone { position: absolute; left: 50%; top: 18px; width: 262px; margin-left: -131px; aspect-ratio: 480 / 986; padding: 11px; background: var(--ink); border-radius: 44px; box-shadow: 0 0 0 2px #3a3f48, var(--shadow-lg), 0 40px 60px -30px rgba(27, 30, 36, .6); z-index: 2; }
.phone__shot { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; background: #fff; }
.mascot { position: absolute; bottom: 0; z-index: 3; filter: drop-shadow(0 18px 18px rgba(27, 30, 36, .28)); pointer-events: none; }
.mascot--marc { left: -6px; height: 370px; width: auto; }
.mascot--leo { right: -4px; height: 340px; width: auto; }
.hand { position: absolute; z-index: 4; font: 600 25px/1.05 var(--hand); color: var(--ink); text-align: center; }
.hand::after { content: ''; position: absolute; width: 34px; height: 26px; border: 2.5px solid var(--ink); border-color: var(--ink) transparent transparent transparent; border-radius: 50%; }
.hand--marc { left: -18px; top: 120px; transform: rotate(-7deg); }
.hand--marc::after { left: 40%; bottom: -26px; transform: rotate(80deg); }
.hand--leo { right: -16px; top: 150px; transform: rotate(6deg); }
.hand--leo::after { right: 38%; bottom: -26px; transform: rotate(100deg) scaleY(-1); }
.notif { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; background: var(--paper); border-radius: 16px; padding: 9px 14px 9px 9px; box-shadow: var(--shadow-lg); border: 1px solid rgba(27, 30, 36, .06); font-size: 13.5px; line-height: 1.25; white-space: nowrap; }
.notif img { width: 40px; height: 40px; }
.notif b { display: block; font-weight: 700; }
.notif i { display: block; font-style: normal; color: var(--muted); font-size: 12.5px; }
.notif--1 { left: 50%; top: 4px; margin-left: 70px; animation: float 6s ease-in-out infinite; }
.notif--2 { left: 50%; top: 528px; margin-left: -96px; animation: float 7s ease-in-out -2s infinite; }
.notif--3 { left: 50%; top: 440px; margin-left: -300px; animation: float 6.5s ease-in-out -4s infinite; }

.hazard { height: 16px; background: var(--hazard); position: relative; z-index: 3; }

/* ---------- Bande des fonctions ---------- */
.feats { background: var(--ink); padding: 34px 0 40px; }
.feats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.feat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 10px 18px; border-radius: 20px; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); transition: transform .2s, background .2s, border-color .2s; }
.feat:hover { transform: translateY(-4px); background: rgba(255, 195, 0, .08); border-color: rgba(255, 195, 0, .35); }
.feat img { width: 84px; height: 84px; margin-bottom: 6px; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.feat:hover img { transform: scale(1.1) rotate(-4deg); }
.feat b { font: 700 16px/1.2 var(--display); }
.feat span { font-size: 13px; color: rgba(255, 255, 255, .62); line-height: 1.4; }

/* ---------- Vidéo de présentation (même bloc que CaniFelis) ---------- */
.video { padding: 90px 0 0; }
.video .head { margin-bottom: 34px; }
.video__frame { position: relative; max-width: 760px; margin: 0 auto; border-radius: 40px; isolation: isolate; overflow: hidden; background: var(--ink); border: 4px solid var(--paper); box-shadow: 0 8px 0 var(--ink), 0 30px 60px rgba(27, 30, 36, .25); }
.video__frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 36px; }
.video__play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink); display: grid; place-items: center; background: linear-gradient(180deg, var(--yellow-2), var(--yellow)); box-shadow: 0 6px 0 var(--amber), 0 18px 34px rgba(0, 0, 0, .35); transition: transform .2s; }
.video__play svg { width: 40px; height: 40px; margin-left: 5px; }
.video__play:hover { transform: scale(1.07); }
.video__frame.is-playing .video__play { display: none; }
.video--indy { padding: 70px 0 0; }
.video--indy .head h3 { font-size: clamp(26px, 3.4vw, 38px); }
@media (max-width: 640px) {
  .video { padding: 60px 0 0; }
  .video__frame { border-radius: 28px; border-width: 3px; }
  .video__frame video { border-radius: 25px; }
  .video__play { width: 70px; height: 70px; }
  .video__play svg { width: 32px; height: 32px; }
}

/* ---------- Sections ---------- */
.sec { position: relative; padding: 104px 0; overflow: hidden; }
.sec--sand { background: var(--sand); }
.head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--yellow); padding: 7px 12px; border-radius: 8px; margin-bottom: 18px; }
.head h2, .compare-side h2 { font-size: clamp(32px, 4vw, 48px); }
.head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
/* grands cercles décoratifs sur les bords (même motif que CaniFelis) */
.dc { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(255, 195, 0, .28), rgba(255, 195, 0, .08) 60%, transparent 70%); pointer-events: none; }
.dc--r { right: -170px; top: -120px; }
.dc--l { left: -190px; bottom: -150px; }

/* Étapes */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before { content: ''; position: absolute; top: 120px; left: 17%; right: 17%; border-top: 3px dashed rgba(27, 30, 36, .22); z-index: 0; }
.step { position: relative; z-index: 1; background: var(--paper); border-radius: var(--radius); padding: 30px 28px 32px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .25s; }
.step:hover { transform: translateY(-6px); }
.step img { width: 190px; height: 190px; margin: 0 auto 14px; }
.step__n { position: absolute; top: 18px; left: 18px; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font: 700 20px/1 var(--display); box-shadow: 0 4px 0 #000; }
.step h3 { font-size: 23px; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* Rôles */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.role { background: var(--paper); border-radius: var(--radius); padding: 0 28px 30px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; transition: transform .25s; }
.role:hover { transform: translateY(-6px); }
.role__pic { height: 230px; margin: 0 -28px 22px; position: relative; overflow: hidden; display: flex; justify-content: center; background: radial-gradient(circle at 50% 120%, var(--yellow) 0 46%, var(--yellow-soft) 46.5% 62%, transparent 62.5%), linear-gradient(var(--beton), var(--beton)); }
.role__pic img { height: 440px; width: auto; margin-top: 18px; filter: drop-shadow(0 10px 14px rgba(27, 30, 36, .25)); transition: transform .35s; }
.role:hover .role__pic img { transform: translateY(-6px); }
.role__pic--client img { height: 200px; margin-top: 22px; }
.role__tag { display: inline-block; font-weight: 800; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.role h3 { font-size: 23px; margin-bottom: 16px; }

/* Liste à coches (rôles, tarifs) */
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; font-size: 15.5px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1e24' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* ---------- Tarifs ---------- */
.deco-grue { position: absolute; left: max(-20px, calc(50% - 760px)); top: 70px; width: 250px; pointer-events: none; }
.gift { display: flex; align-items: center; gap: 18px; max-width: 860px; margin: 0 auto 30px; background: var(--yellow-soft); border: 2px dashed var(--amber); border-radius: 20px; padding: 14px 24px 14px 16px; }
.gift img { width: 72px; height: 72px; flex: none; animation: wiggle 4s ease-in-out infinite; }
.gift p { font-size: 15.5px; }
.promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; max-width: 860px; margin: 0 auto 22px; background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 20px; font-weight: 700; }
.promo[hidden] { display: none; }
.promo-cd { display: inline-flex; gap: 6px; }
.promo-cd__box { background: var(--yellow); color: var(--ink); border-radius: 10px; padding: 5px 9px; text-align: center; min-width: 50px; }
.promo-cd__box b { display: block; font: 700 18px/1 var(--display); }
.promo-cd__box i { font-style: normal; font-size: 10.5px; text-transform: uppercase; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 32px 28px 28px; box-shadow: var(--shadow); transition: transform .25s; }
.plan:hover { transform: translateY(-6px); }
/* 4 offres : cartes plus serrées, 2 × 2 sur tablette (voir media 1140px). */
.pricing--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pricing--4 .plan { padding: 30px 22px 24px; }
.pricing--4 .plan__amount { font-size: 46px; }
/* La carte Indépendant est plus longue : les autres listes restent groupées en haut. */
.pricing--4 .ticks { align-content: start; }
/* Fonction annoncée mais pas encore livrée. */
.soon { display: inline-block; vertical-align: 1px; margin-left: 4px; padding: 2px 7px; border-radius: 6px; background: var(--yellow-soft); color: var(--ink); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.plan .ticks { margin: 24px 0 28px; flex: 1; }
.plan__name { font: 700 24px/1 var(--display); }
.plan__cap { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 20px; }
.plan__amount { font: 700 52px/1 var(--display); letter-spacing: -.04em; }
.plan__cents { font-size: 24px; letter-spacing: -.02em; }
.plan__period { color: var(--muted); font-weight: 600; }
.plan__old { text-decoration: line-through; color: var(--muted); font-weight: 600; width: 100%; }
.plan__promo { background: var(--red); color: #fff; border-radius: 8px; padding: 3px 8px; font-size: 13px; font-weight: 800; }
.plan__ref { margin-top: 10px; background: var(--yellow-soft); border-radius: 10px; padding: 7px 10px; font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.plan__ref .gift-ico { width: 16px; height: 16px; }
.plan--top { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-14px); }
.plan--top:hover { transform: translateY(-20px); }
.plan--top .plan__cap, .plan--top .plan__period, .plan--top .plan__old { color: rgba(255, 255, 255, .62); }
.plan--top .plan__amount { color: var(--yellow); }
.plan--top .plan__ref { color: var(--ink); }
.plan__badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%) rotate(-2deg); background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; padding: 7px 14px; border-radius: 10px; box-shadow: 0 4px 0 var(--amber); white-space: nowrap; }
.custom { display: flex; align-items: center; gap: 20px; margin-top: 30px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; padding: 18px 24px 18px 18px; box-shadow: var(--shadow); }
.custom img { width: 76px; height: 76px; flex: none; }
.custom div { flex: 1; }
.custom b { font: 700 18px/1.3 var(--display); }
.custom p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.ref-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 14px; color: var(--yellow); font-weight: 600; }
.ref-note .gift-ico { width: 18px; height: 18px; }

/* ---------- Comparatif ---------- */
.compare-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.compare-side > p { margin: 18px 0 26px; font-size: 17.5px; color: var(--muted); }
.safe { display: flex; align-items: center; gap: 14px; margin-top: 14px; background: var(--paper); border-radius: 18px; padding: 12px 18px 12px 12px; border: 1px solid var(--line); }
.safe img { width: 64px; height: 64px; flex: none; }
.safe b { display: block; font-family: var(--display); font-size: 17px; }
.safe p { color: var(--muted); font-size: 14.5px; }
.compare { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.compare__head, .compare__row { display: grid; grid-template-columns: 1fr 120px 120px; align-items: center; }
.compare__head { font: 700 14.5px/1.2 var(--display); }
.compare__head span { padding: 18px 12px; text-align: center; }
.compare__head .ko { color: var(--muted); }
.compare__head .ok { background: var(--ink); color: var(--yellow); display: flex; align-items: center; justify-content: center; gap: 8px; }
.compare__head .ok img { width: 22px; height: 22px; border-radius: 6px; }
.compare__row { border-top: 1px solid var(--line); }
.compare__row span { padding: 15px 20px; font-weight: 600; font-size: 15px; }
.compare__row i { font-style: normal; text-align: center; font-weight: 800; font-size: 17px; align-self: stretch; display: grid; place-items: center; }
.compare__row .x { color: var(--red); opacity: .7; }
.compare__row .v { color: var(--ink); background: var(--yellow-soft); }

/* ---------- FAQ ---------- */
.faq__cone { position: absolute; width: 170px; left: 3%; bottom: 60px; transform: rotate(-12deg); opacity: .95; pointer-events: none; }
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--yellow); box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; font: 700 17px/1.35 var(--display); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 10px; background: var(--yellow); display: grid; place-items: center; font: 700 22px/1 var(--display); transition: transform .3s, background .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--yellow); }
.faq__item p { padding: 0 24px 20px; color: var(--muted); overflow: hidden; }

/* ---------- Appel final ---------- */
.final { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; right: -10%; top: 10%; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 195, 0, .22), transparent 62%); pointer-events: none; }
.final__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding: 80px 0 70px; }
.final h2 { font-size: clamp(32px, 4vw, 50px); }
.final__text > p { margin: 18px 0 30px; color: rgba(255, 255, 255, .72); font-size: 18px; max-width: 520px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.final__scene { width: 100%; max-width: 620px; margin-left: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); animation: float 8s ease-in-out infinite; }

/* ---------- Pied de page ---------- */
.foot { background: var(--ink-3); color: rgba(255, 255, 255, .7); padding: 44px 0 34px; }
.foot__in { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot__brand { display: flex; align-items: center; gap: 12px; }
.foot__brand img { width: 40px; height: 40px; }
.foot__brand b { display: block; color: #fff; font: 700 19px/1.1 var(--display); }
.foot__brand span { font-size: 13.5px; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.foot__nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; }
.foot__nav a:hover { color: var(--yellow); }
.foot__copy { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 20px; font-size: 13.5px; }

/* ---------- CTA collant (mobile) ---------- */
.sticky-cta { display: none; }

/* ---------- Animations ---------- */
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes floatSlow { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -8px; rotate: 1.5deg; } }
@keyframes morph { 0%, 100% { border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%; } 50% { border-radius: 56% 44% 42% 58% / 56% 52% 48% 44%; } }
@keyframes wiggle { 0%, 86%, 100% { rotate: 0deg; } 90% { rotate: -9deg; } 94% { rotate: 7deg; } }
.float { animation: float 7s ease-in-out infinite; }
.float-slow { animation: floatSlow 9s ease-in-out infinite; }
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.js .stagger > * { opacity: 0; translate: 0 26px; transition: opacity .6s ease, translate .6s cubic-bezier(.2, .8, .2, 1), transform .25s, background .2s, border-color .2s; }
.js .stagger.in > * { opacity: 1; translate: 0 0; }
.js .stagger.in > :nth-child(2) { transition-delay: .08s, .08s, 0s, 0s, 0s; }
.js .stagger.in > :nth-child(3) { transition-delay: .16s, .16s, 0s, 0s, 0s; }
.js .stagger.in > :nth-child(4) { transition-delay: .24s, .24s, 0s, 0s, 0s; }
.js .stagger.in > :nth-child(5) { transition-delay: .32s, .32s, 0s, 0s, 0s; }
.js .stagger.in > :nth-child(6) { transition-delay: .40s, .40s, 0s, 0s, 0s; }
.hero__text > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero__text > :nth-child(2) { animation-delay: .08s; }
.hero__text > :nth-child(3) { animation-delay: .16s; }
.hero__text > :nth-child(4) { animation-delay: .24s; }
.hero__text > :nth-child(5) { animation-delay: .32s; }
.mascot--marc { animation: pop .8s .3s cubic-bezier(.2, .9, .3, 1.2) both; }
.mascot--leo { animation: pop .8s .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.hand { animation: rise .6s .9s both; }
@keyframes rise { from { opacity: 0; translate: 0 22px; } }
@keyframes pop { from { opacity: 0; translate: 0 40px; scale: .92; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .stagger > * { opacity: 1; translate: 0 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav { gap: 18px; }
  .feats__grid { grid-template-columns: repeat(3, 1fr); }
  .notif--2 { display: none; }
  .deco-grue { display: none; }
  .pricing--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; row-gap: 34px; }
}
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(27, 30, 36, .4); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .burger { display: block; }
  .hero__in { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .hero__sub { margin-inline: auto; }
  .ap { margin-inline: auto; text-align: left; }
  .hero__stage { width: min(560px, 100%); margin: 0 auto; }
  .steps, .roles { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .steps::before { display: none; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--top { transform: none; }
  .plan--top:hover { transform: translateY(-6px); }
  .compare-wrap, .final__in { grid-template-columns: 1fr; }
  .final__in { text-align: center; }
  .final__text > p { margin-inline: auto; }
  .cta__actions { justify-content: center; }
  .final__scene { margin: 0 auto; max-width: 480px; }
  .faq__cone { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .top__in { height: 64px; gap: 10px; }
  .nav { top: 64px; }
  .brand span { display: none; }
  .top__actions .btn--yellow { display: none; }
  .hero { padding-top: 34px; }
  .hero__sub { font-size: 16px; }
  .ap { padding: 16px 14px 14px; margin-top: 34px; }
  .ap__top { margin: -32px -2px 10px; }
  .ap__tag { font-size: 11.5px; padding-right: 10px; }
  .ap__places { font-size: 11px; padding: 6px 10px; }
  .ap__row { grid-template-columns: 1fr; }
  .ap__team label { flex: 1; }
  .ap__team b { text-align: center; padding: 9px 4px; }
  .ap__team > span { width: 100%; }
  .ap .btn--lg { white-space: normal; }
  .hero__stage { height: 470px; }
  .blob--hero { inset: 60px 6px 30px; }
  .phone { width: 196px; margin-left: -98px; border-radius: 34px; padding: 8px; }
  .phone__shot { border-radius: 27px; }
  .mascot--marc { height: 250px; left: -12px; }
  .mascot--leo { height: 230px; right: -10px; }
  .hand { display: none; }
  .hand--marc { left: -4px; top: 150px; }
  .hand--leo { right: -2px; top: 176px; }
  .notif { font-size: 12px; padding: 7px 11px 7px 7px; }
  .notif img { width: 32px; height: 32px; }
  .notif i { font-size: 11px; }
  .notif--1 { margin-left: -10px; top: -6px; left: auto; right: -4px; }
  .notif--3 { display: none; }
  .feats__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .feat img { width: 64px; height: 64px; }
  .sec { padding: 72px 0; }
  .step { display: grid; grid-template-columns: 104px 1fr; gap: 4px 16px; align-items: center; text-align: left; padding: 18px 18px 18px 14px; }
  .step img { width: 104px; height: 104px; margin: 0; grid-row: span 2; }
  .step h3 { font-size: 19px; margin: 0; align-self: end; }
  .step p { font-size: 14.5px; align-self: start; }
  .step__n { top: 10px; left: 10px; width: 30px; height: 30px; font-size: 16px; border-radius: 9px; }
  .steps { gap: 14px; }
  .head { margin-bottom: 38px; }
  .head p { font-size: 16.5px; }
  .gift, .custom { flex-direction: column; text-align: center; padding: 18px; }
  .compare__head, .compare__row { grid-template-columns: 1fr 64px 76px; }
  .compare__head span { padding: 14px 6px; font-size: 12.5px; }
  .compare__head .ok img { display: none; }
  .compare__row span { padding: 13px 14px; font-size: 14px; }
  .foot__in { grid-template-columns: 1fr; text-align: center; }
  .foot__brand { justify-content: center; }
  .foot__nav { justify-content: center; }
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; text-align: center; text-decoration: none; background: linear-gradient(180deg, var(--yellow-2), var(--yellow)); color: var(--ink); font-weight: 800; padding: 15px; border-radius: 16px; box-shadow: 0 4px 0 var(--amber), 0 14px 30px -8px rgba(27, 30, 36, .45); transform: translateY(140%); transition: transform .3s; }
  .sticky-cta.show { transform: none; }
}
