/*!
 * Ostria Studio — style.css (v7)
 * Aucune police externe, aucune image distante. Compatible CSP stricte.
 */

/* 1. Variables ------------------------------------------------------------ */
:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --soft: #F3EEE6;
  --ink: #141834;
  --ink-2: #3A3F5C;
  --muted: #646880;
  --line: #E8E2D8;
  --line-2: #D3CCC0;
  --brand: #2D4BF0;
  --brand-2: #2238C4;
  --brand-tint: #ECEFFF;
  --coral: #FF6A4D;
  --coral-soft: #FFE8E1;
  --accent: #FFC233;
  --accent-2: #F0AD00;
  --accent-soft: #FFF3CF;
  --danger: #B42318;
  --danger-soft: #FDECEA;
  --ok: #2D4BF0;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --r-s: 6px;
  --r: 10px;
  --r-l: 16px;
  --shadow: 0 1px 2px rgba(20, 24, 52, .06), 0 8px 24px -12px rgba(20, 24, 52, .18);
  --shadow-l: 0 2px 4px rgba(20, 24, 52, .05), 0 24px 48px -24px rgba(20, 24, 52, .28);
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.025em; font-weight: 750; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
strong { font-weight: 650; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
html.menu-open { overflow: hidden; }
html.menu-open body { overflow: hidden; }

.i { width: 1.15em; height: 1.15em; flex: none; }
.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 16px;
  background: var(--ink); color: #fff; border-radius: var(--r-s); text-decoration: none;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* 3. Mise en page ----------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.bg-white { background: var(--surface); }
.bg-soft { background: var(--soft); }
.border-y { border-block: 1px solid var(--line); }
.stack > * + * { margin-top: 16px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.wide-left { grid-template-columns: 1.1fr .9fr; } }
.mt-l { margin-top: clamp(28px, 4vw, 44px); }

/* 4. Typographie ------------------------------------------------------------ */
.display { font-size: clamp(2.3rem, 1.3rem + 4vw, 4rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
.h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.2rem); letter-spacing: -.035em; font-weight: 800; }
.h2 { font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.5rem); letter-spacing: -.03em; }
.h3 { font-size: 1.25rem; }
.display em, .h1 em, .h2 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 62%, var(--accent) 62%, var(--accent) 90%, transparent 90%);
  padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); line-height: 1.55; max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-2);
}
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--accent); border: 2px solid var(--ink); border-radius: 2px; flex: none; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head > * + * { margin-top: 14px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.text-link { color: var(--brand-2); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.text-link:hover { color: var(--ink); text-decoration-color: var(--accent-2); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--brand); text-decoration: none; }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.source { font-size: .85rem; color: var(--muted); }
.source a { color: inherit; }

/* 5. Boutons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px; border: 2px solid transparent; border-radius: var(--r-s);
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s var(--ease), box-shadow .15s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }
.btn .i { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .i-arrow-right { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn-accent:hover { background: #FFCD52; }
.btn-accent:active { box-shadow: 1px 1px 0 var(--ink); transform: translate(2px, 2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--brand); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--soft); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .94rem; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn[aria-busy="true"]::after {
  content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: var(--r-s); background: var(--surface);
}

/* 6. En-tête, bandeau, volet mobile ----------------------------------- */
.topbar { background: var(--ink); color: #E3E6F5; font-size: .88rem; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 8px 18px; min-height: 38px; padding-block: 6px; flex-wrap: wrap; text-align: center; }
.topbar p { display: inline-flex; align-items: center; gap: 8px; }
.topbar .i { width: 16px; height: 16px; color: var(--accent); }
.topbar a { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 650; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 640px) { .topbar a { display: none; } .topbar { font-size: .8rem; } }

.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(251, 248, 243, .9); border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
@supports (backdrop-filter: blur(10px)) { .site-header { backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(251, 248, 243, .95); box-shadow: 0 8px 24px -18px rgba(20, 24, 52, .35); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 36px; height: 36px; transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-name { font-weight: 800; font-size: 1.18rem; letter-spacing: -.03em; }
.brand-name span { font-weight: 500; color: var(--muted); }
.header-cta { margin-left: auto; white-space: nowrap; flex: none; }
.header-cta .i { width: 1em; height: 1em; }

.main-nav { display: none; }
.main-nav ul {
  list-style: none; display: flex; gap: 2px; padding: 5px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 1px 2px rgba(20, 24, 52, .04);
}
.main-nav a {
  display: block; padding: 8px 16px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .96rem; color: var(--ink-2); transition: background-color .2s, color .2s;
}
.main-nav a:hover { color: var(--ink); background: var(--soft); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--ink); }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 10px; margin-left: -4px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; font-weight: 650; font-size: .94rem;
}
.menu-toggle:hover { border-color: var(--ink); }
.menu-icon { display: grid; gap: 4px; width: 18px; }
.menu-icon span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-icon span:nth-child(2) { width: 70%; }

@media (min-width: 1040px) {
  .menu-toggle { display: none; }
  .main-nav { display: block; margin-inline: auto; }
  .header-cta { margin-left: 0; }
  :root { --header-h: 76px; }
}
@media (max-width: 1039px) {
  .header-inner { gap: 10px; }
}
@media (max-width: 479px) {
  .menu-label { display: none; }
  .menu-toggle { padding: 0; width: 44px; flex: none; justify-content: center; margin-left: 0; }
  .site-header .brand { gap: 8px; }
  .site-header .brand-mark { width: 32px; height: 32px; }
  .site-header .brand-name { font-size: 1.02rem; white-space: nowrap; }
  .header-cta { padding-inline: 12px; }
  .header-cta .i { display: none; }
}
@media (max-width: 359px) {
  .site-header .brand-name { line-height: 1.05; white-space: normal; }
  .site-header .brand-name span { display: block; font-size: .8rem; }
}

/* Volet mobile (ouverture par la gauche) */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 140; background: rgba(20, 24, 52, .5);
  opacity: 0; transition: opacity .3s;
}
.drawer-backdrop.is-on { opacity: 1; }
.drawer {
  position: fixed; z-index: 150; top: 0; bottom: 0; left: 0; width: min(88vw, 380px);
  display: flex; flex-direction: column; gap: 18px; overflow-y: auto; overscroll-behavior: contain;
  padding: 14px 18px calc(20px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  background: var(--bg); border-right: 1px solid var(--line); box-shadow: 24px 0 60px -20px rgba(20, 24, 52, .45);
  transform: translateX(-104%); visibility: hidden; transition: transform .38s var(--ease), visibility 0s .38s;
}
.menu-open .drawer { transform: none; visibility: visible; transition: transform .38s var(--ease); }
.drawer > * { flex-shrink: 0; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.drawer-nav { list-style: none; display: grid; gap: 4px; }
.drawer-nav a {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; min-height: 56px;
  text-decoration: none; transition: background-color .2s;
}
.drawer-nav a:hover { background: var(--surface); }
.drawer-nav a[aria-current="page"] { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); }
.dr-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); }
.dr-ic .i { width: 20px; height: 20px; }
.drawer-nav a[aria-current="page"] .dr-ic { background: var(--accent); color: var(--ink); }
.dr-txt { display: grid; gap: 1px; min-width: 0; }
.dr-txt strong { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; }
.dr-txt small { color: var(--muted); font-size: .86rem; line-height: 1.3; }
.dr-go { width: 18px; height: 18px; color: var(--muted); }
.drawer-cta { margin-top: auto; background: var(--ink); color: #E3E6F5; border-radius: var(--r-l); padding: 18px; display: grid; gap: 10px; position: relative; overflow: hidden; isolation: isolate; }
.drawer-cta::before { content: ""; position: absolute; z-index: -1; width: 140px; height: 140px; right: -50px; top: -60px; border-radius: 50%; background: var(--brand); }
.drawer-cta-title { color: #fff; font-weight: 750; font-size: 1.1rem; }
.drawer-cta p { font-size: .92rem; }
.drawer-cta .btn-accent { box-shadow: none; border-color: var(--accent); }
.drawer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .84rem; }
.drawer-legal a { color: var(--muted); text-decoration: none; display: inline-block; padding: 4px 0; }
.drawer-legal a:hover { color: var(--ink); text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .menu-open .drawer-nav li { animation: dr-in .45s var(--ease) both; }
  .menu-open .drawer-nav li:nth-child(2) { animation-delay: .04s; }
  .menu-open .drawer-nav li:nth-child(3) { animation-delay: .08s; }
  .menu-open .drawer-nav li:nth-child(4) { animation-delay: .12s; }
  .menu-open .drawer-nav li:nth-child(5) { animation-delay: .16s; }
  .menu-open .drawer-nav li:nth-child(6) { animation-delay: .2s; }
}
@keyframes dr-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

/* 7. Hero et en-têtes de page ---------------------------------------------- */
.hero { overflow-x: clip; padding-block: clamp(36px, 6vw, 88px) clamp(48px, 7vw, 96px); }
.hero-copy > * + * { margin-top: 22px; }
.hero-copy .btn-row { margin-top: 30px; }
.proof-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: .95rem; }
.proof-list li { display: inline-flex; align-items: center; gap: 7px; }
.proof-list .i { color: var(--ok); }

.page-head { padding-block: clamp(28px, 5vw, 64px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head > .container > * + * { margin-top: 16px; }
.page-head .btn-row { margin-top: 26px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.breadcrumb a { text-decoration: none; display: inline-block; padding-block: 4px; }
@media (max-width: 420px) { .topbar-extra { display: none; } }
.breadcrumb a:hover { text-decoration: underline; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .92rem; }

/* 8. Carte d'avis (démo) ------------------------------------------------------ */
.review-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: clamp(18px, 3vw, 26px); box-shadow: var(--shadow-l);
}
.example-tag {
  position: absolute; top: 14px; right: 14px; font: 600 .8rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 6px 9px;
}
.review-head { display: flex; align-items: center; gap: 12px; padding-right: 96px; }
.review-head strong { display: block; }
.review-meta { font-size: .85rem; color: var(--muted); }
.avatar {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--brand-tint); color: var(--brand); font-weight: 700;
}
.stars { display: flex; gap: 2px; margin: 12px 0 8px; }
.stars .i { width: 18px; height: 18px; color: var(--line-2); }
.stars .i.on { color: var(--accent-2); }
.review-text { color: var(--ink-2); }
.reply { margin-top: 16px; padding: 14px 16px; border-left: 3px solid var(--brand); background: var(--brand-tint); border-radius: 0 var(--r) var(--r) 0; }
.reply-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.reply-badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .88rem; color: var(--brand); }
.reply-status { font: 600 .76rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.reply-status.done { color: var(--ok); }
.reply-text { color: var(--ink); }
.hero .reply-text { min-height: 6.4em; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -.15em; background: var(--brand); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.review-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; background: var(--soft); color: var(--ink-2);
}
.tag .i { width: 14px; height: 14px; }
.tag-ok { background: var(--brand-tint); color: var(--ok); }
.tag-warn { background: var(--accent-soft); color: #7A5600; }
.tag-bad { background: var(--danger-soft); color: var(--danger); }
.js .review-foot [data-after-type] { opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--ease); }
.js .review-foot [data-after-type].is-in { opacity: 1; transform: none; }

/* 9. Cartes, listes, étapes ----------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 3vw, 28px); }
.card > * + * { margin-top: 10px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--ink-2); }
.card-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r);
  background: var(--accent-soft); color: var(--ink); border: 1px solid #F3DC97;
}
.card-icon .i { width: 22px; height: 22px; }
a.card { display: block; text-decoration: none; transition: border-color .15s, transform .2s var(--ease), box-shadow .2s; }
a.card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
a.card .link-arrow { margin-top: 14px; }

.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .i { color: var(--ok); margin-top: .22em; }
.checks.no .i { color: var(--danger); }
.checks li.plus { font-weight: 650; color: var(--ink); }

.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps > li {
  counter-increment: step; position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px;
}
.steps > li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 750; font-size: 1.05rem;
}
.steps h3 { font-size: 1.12rem; }
.steps p { color: var(--ink-2); margin-top: 6px; }
.step-time { display: inline-block; margin-top: 8px; font: 600 .75rem/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--brand-2); }
@media (min-width: 900px) {
  .steps.row { grid-template-columns: repeat(4, 1fr); }
  .steps.row > li { grid-template-columns: 1fr; gap: 14px; align-content: start; }
}

.note {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-l);
  background: var(--accent-soft); border: 1px solid #F3DC97; color: var(--ink-2);
}
.note > .i { color: #7A5600; width: 22px; height: 22px; margin-top: 2px; }
.note strong { color: var(--ink); }
.note > div > * + * { margin-top: 6px; }

.compare { display: grid; gap: 16px; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare .card h3 { display: flex; align-items: center; gap: 10px; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: .94rem; }

/* 10. Exemples (onglets) ---------------------------------------------------- */
.tabs-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tab {
  min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
  font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* 11. Tarifs ---------------------------------------------------------------- */
.plans { display: grid; gap: 28px 20px; max-width: 560px; margin-inline: auto; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(2, 1fr); align-items: stretch; max-width: 920px; } .plan-featured { transform: translateY(-8px); } }
.plan-value { margin-top: -6px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.plan-featured .plan-value { color: var(--brand); }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-l); padding: clamp(22px, 3vw, 32px);
}
.plan-featured { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--accent); }
.plan-badge {
  position: absolute; top: -13px; left: 24px; padding: 4px 10px; border-radius: 4px;
  background: var(--ink); color: #fff; font: 600 .76rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.plan-name { font-size: 1.4rem; }
.plan-for { color: var(--muted); margin-top: -8px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.amount { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.per { color: var(--muted); }
.plan .checks { flex: 1; }
.plan-notes { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 28px; color: var(--ink-2); }
.plan-notes li { display: inline-flex; align-items: center; gap: 8px; }
.plan-notes .i { color: var(--ok); flex: none; }
/* Téléphone : liste alignée à gauche, coche en face de la première ligne */
@media (max-width: 759px) {
  .plan-notes { flex-direction: column; align-items: flex-start; gap: 10px; }
  .plan-notes li { display: flex; align-items: flex-start; }
  .plan-notes .i { margin-top: .2em; }
}
.price-legal { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 12px; }

/* 12. FAQ ------------------------------------------------------------------- */
.faq-group + .faq-group { margin-top: 40px; }
.faq-group > h2 { font-size: 1.3rem; margin-bottom: 12px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 16px 0;
  font-weight: 650; font-size: 1.05rem; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-2); font-weight: 500; font-size: 1.25rem; line-height: 1; transition: transform .2s var(--ease), background-color .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--accent); border-color: var(--ink); }
.faq-item summary:hover { color: var(--brand-2); }
.faq-answer { padding: 0 44px 20px 0; color: var(--ink-2); }
.faq-answer > * + * { margin-top: 10px; }
@media (max-width: 520px) { .faq-answer { padding-right: 0; } }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.faq-nav a { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .94rem; background: var(--surface); min-height: 40px; display: inline-flex; align-items: center; }
.faq-nav a:hover { border-color: var(--ink); }

/* 13. Appel à l'action, page suivante ------------------------------------- */
.cta { padding-block: clamp(40px, 6vw, 80px); }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 24px; align-items: center; background: var(--brand); color: #fff;
  border-radius: var(--r-l); padding: clamp(28px, 5vw, 56px);
}
.cta-box::before, .cta-box::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.cta-box::before { width: 300px; height: 300px; right: -120px; top: -210px; background: var(--accent); opacity: .9; }
.cta-box::after { width: 160px; height: 160px; right: 220px; bottom: -120px; background: var(--coral); }
@media (max-width: 859px) { .cta-box::before { width: 140px; height: 140px; right: -70px; top: -95px; } .cta-box::after { display: none; } }
@media (min-width: 860px) { .cta-box { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-copy > * + * { margin-top: 14px; }
.cta-box .kicker { color: #FFE08A; }
.cta-box .kicker::before { border-color: #141834; }
.cta-box p { color: #E3E8FF; max-width: 58ch; }
.cta-box .btn-accent { box-shadow: 3px 3px 0 #141834; border-color: #141834; }

.next-page { padding-block: clamp(32px, 5vw, 56px) 0; }
.next-page a {
  display: grid; gap: 4px; padding: 22px 24px; border: 1px solid var(--line-2); border-radius: var(--r-l);
  background: var(--surface); text-decoration: none; transition: border-color .15s, box-shadow .2s;
}
.next-page a:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.next-kicker { font: 600 .76rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.next-title { display: inline-flex; align-items: center; gap: 8px; font-size: 1.35rem; font-weight: 750; letter-spacing: -.02em; }
.next-desc { color: var(--ink-2); }
.next-page .i { transition: transform .2s var(--ease); }
.next-page a:hover .i { transform: translateX(3px); }

/* 14. Formulaire ------------------------------------------------------------ */
.form-layout { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 960px) { .form-layout { grid-template-columns: .8fr 1.2fr; } .form-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.form-aside > * + * { margin-top: 24px; }
@media (max-width: 959px) { .form-aside { order: 2; } }
.form-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-l); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.form-title {
  display: flex; align-items: center; gap: 12px; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem);
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.form-title .i { width: 32px; height: 32px; padding: 5px; background: var(--accent); border: 2px solid var(--ink); border-radius: 8px; }
.form-grid { display: grid; gap: 18px; margin-top: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full, .form-grid .checkbox-field, .form-grid .form-status, .form-grid .form-foot, .form-grid .rgpd-note { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .legend { font-weight: 600; font-size: .96rem; padding: 0; }
.req { color: var(--danger); }
.optional { color: var(--muted); font-weight: 400; }
.input, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--surface);
  border: 1.5px solid #948D80; border-radius: var(--r-s); font-size: 1rem;
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(45, 75, 240, .2); }
.input::placeholder, .textarea::placeholder { color: #767A90; opacity: 1; }
.is-invalid .input, .is-invalid .textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .88rem; font-weight: 550; }
.field-error:empty { display: none; }
.char-count { justify-self: end; font-size: .8rem; color: var(--muted); }
.char-count.is-near { color: var(--danger); }
.pick-row { display: grid; gap: 8px; margin-top: 4px; }
@media (min-width: 480px) { .pick-row { grid-template-columns: repeat(3, 1fr); } }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick span {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 10px 12px;
  border: 1.5px solid var(--line-2); border-radius: var(--r-s); font-weight: 600; text-align: center; background: var(--surface);
  transition: border-color .15s, background-color .15s;
}
.pick span .i { width: 16px; height: 16px; display: none; }
.pick input:hover + span { border-color: var(--muted); }
.pick input:checked + span { border-color: var(--ink); background: var(--accent-soft); }
.pick input:checked + span .i { display: block; }
.pick input:focus-visible + span { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.is-invalid .pick span { border-color: var(--danger); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); cursor: pointer; }
.checkbox input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--danger); background: var(--danger-soft); padding: 12px 14px; border-radius: var(--r-s); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.secure-note { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; }
.rgpd-note { font-size: .85rem; color: var(--muted); }
@media (max-width: 520px) { .form-foot .btn { width: 100%; } }

/* 15. Pages légales --------------------------------------------------------- */
.legal { display: grid; gap: 32px; align-items: start; }
@media (min-width: 980px) { .legal { grid-template-columns: 260px 1fr; gap: 56px; } .toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; } }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; font-size: .9rem; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 8px; border-radius: 4px; text-decoration: none; color: var(--ink-2); }
.toc a:hover, .toc a.is-active { background: var(--soft); color: var(--ink); }
.toc a.is-active { box-shadow: inset 3px 0 0 var(--accent-2); }
.prose { max-width: 760px; min-width: 0; }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: 1.35rem; margin-top: 40px; padding-top: 4px; }
.prose h3 { font-size: 1.1rem; margin-top: 26px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 6px; }
.prose a:not(.btn) { color: var(--brand-2); text-underline-offset: 3px; overflow-wrap: anywhere; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r); padding: 16px 18px; }
.fill { background: var(--accent-soft); border: 1px dashed var(--accent-2); border-radius: 4px; padding: 0 4px; color: #6B4B00; font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--soft); font-weight: 650; }
.table-wrap tr:last-child td { border-bottom: 0; }
.def-list { display: grid; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; margin-block: 0; }
.def-list > div { display: grid; gap: 2px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.def-list > div:last-child { border-bottom: 0; }
@media (min-width: 640px) { .def-list > div { grid-template-columns: 220px 1fr; } }
.def-list dt { font-weight: 650; }
.def-list dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.copy-btn { margin-left: 6px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 4px; padding: 2px 8px; font-size: .82rem; }
.mt-s { margin-top: 12px; }

/* 16. Pages centrées (404, merci) ---------------------------------------- */
.center-page { padding-block: clamp(48px, 9vw, 120px); }
.center-page .container { max-width: 720px; text-align: center; }
.center-page .container > * + * { margin-top: 18px; }
.center-page .lead { margin-inline: auto; }
.center-page .btn-row { justify-content: center; margin-top: 28px; }
.big-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); }
.big-icon .i { width: 34px; height: 34px; }
.center-page .steps { text-align: left; margin-top: 32px; }
.sitemap-group + .sitemap-group { margin-top: 32px; }
.sitemap-group h2 { font-size: 1.2rem; margin-bottom: 12px; }
.sitemap-list { list-style: none; display: grid; gap: 10px; }
.sitemap-list a { font-weight: 650; color: var(--brand-2); }
.sitemap-list span { color: var(--muted); }

/* 17. Pied de page ---------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #C7CBE2; padding-block: clamp(56px, 8vw, 96px) 28px; }
.footer-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.footer-deco .fd1 { position: absolute; width: 520px; height: 520px; left: -220px; bottom: -300px; border-radius: 50%; background: var(--brand); opacity: .35; }
.footer-deco .fd2 { position: absolute; width: 150px; height: 150px; right: 6%; top: -75px; border-radius: 50%; background: var(--accent); opacity: .95; }
@media (max-width: 899px) { .footer-deco .fd2 { width: 110px; height: 110px; top: -55px; right: -30px; } }
@media (max-width: 759px) { .footer-deco .fd1 { width: 300px; height: 300px; left: -150px; bottom: -170px; } .footer-deco .fd2 { width: 64px; height: 64px; right: 16px; top: -32px; } }
.site-footer a, .site-footer button { color: #fff; }
.footer-top { display: grid; gap: 36px 20px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-top > div:last-child { grid-column: 1 / -1; }
@media (min-width: 640px) { .footer-top > div:last-child { grid-column: auto; } }
@media (min-width: 640px) { .footer-top { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-brand > * + * { margin-top: 18px; }
.footer-brand p { max-width: 40ch; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name span { color: #A3A8C7; }
.footer-promises { list-style: none; display: grid; gap: 8px; font-size: .94rem; }
.footer-promises li { display: flex; align-items: center; gap: 8px; }
.footer-promises .i { color: var(--accent); width: 18px; height: 18px; }
.site-footer .btn-accent { color: var(--ink); box-shadow: 3px 3px 0 #000; border-color: #000; }
.footer-title { font: 600 .76rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.footer-links { list-style: none; display: grid; gap: 2px; }
.footer-links a, .footer-links button {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 0; min-height: 40px; background: none; border: 0;
  text-decoration: none; text-align: left; font-size: .98rem; color: #E8EAF6; transition: color .2s, transform .2s var(--ease);
}
.footer-links a span { color: #A3A8C7; font-size: .86rem; }
.footer-links a:hover, .footer-links button:hover { color: var(--accent); transform: translateX(3px); }
.footer-mega {
  margin-top: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -.05em; line-height: .85; white-space: nowrap;
  font-size: clamp(3.2rem, 14vw, 11.5rem); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22); text-align: center; user-select: none;
}
.footer-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 8px; font-size: .84rem; color: #A3A8C7; }
@media (min-width: 1040px) { .footer-bottom { grid-template-columns: auto 1fr; gap: 24px; } .footer-bottom p:last-child { text-align: right; } }
.footer-bottom a { display: inline-flex; align-items: center; gap: 4px; padding-block: 3px; color: #D2D5EA; }
.footer-bottom .i { width: 14px; height: 14px; }

/* 18. Toast, retour en haut, barre mobile ------------------------- */
.toast {
  position: fixed; z-index: 160; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; background: var(--ink); color: #fff; border-radius: var(--r); font-size: .94rem;
  opacity: 0; transform: translate(-50%, 12px); transition: opacity .25s, transform .3s var(--ease); pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast .i { color: var(--accent); }
.to-top {
  position: fixed; z-index: 80; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 46px; height: 46px;
  display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.mobile-cta {
  position: fixed; z-index: 85; left: 0; right: 0; bottom: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 248, 243, .97); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn-accent { box-shadow: none; }
@media (min-width: 760px) { .mobile-cta { display: none; } }
@media (max-width: 759px) { .to-top.lift { bottom: calc(80px + env(safe-area-inset-bottom)); } }

/* 19. Apparitions (discrètes) ------------------------------------------------ */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Filet de sécurité : si main.js ne se charge pas, le contenu apparaît quand même. */
@keyframes reveal-safe { to { opacity: 1; transform: none; } }
.js:not(.js-ready) [data-reveal] { animation: reveal-safe .5s 2s forwards; }

/* 20. Blocs complémentaires et effets ------------------------------------ */
.bg-tint { background: var(--brand-tint); }

/* Hero : formes de couleur + notification */
.hero-visual { position: relative; padding: 28px 8px 8px; }
.hero-visual .review-card { position: relative; z-index: 2; }
.hero-shape { position: absolute; z-index: 0; border-radius: 28px; pointer-events: none; }
.hero-shape.s1 { inset: 0 -12px 40px 40px; background: var(--brand); transform: rotate(3deg); }
.hero-shape.s2 { width: 120px; height: 120px; left: -6px; bottom: -14px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); }
.notif {
  position: absolute; z-index: 3; top: -6px; left: -6px; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; background: var(--surface); border: 1px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink);
  font-size: .86rem; line-height: 1.25;
}
.notif strong { display: block; }
.notif small { color: var(--muted); }
.notif-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--coral); color: #fff; }
.notif-dot .i { width: 18px; height: 18px; }
@media (min-width: 900px) { .notif { left: -34px; top: 0; } .hero-shape.s2 { left: -40px; } }
@media (max-width: 899px) { .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; padding-top: 56px; } .hero-shape.s1 { inset: 40px -6px 30px 24px; } .notif { top: 0; left: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .notif { animation: notif-in .7s .5s var(--ease) both, float 6s 1.4s ease-in-out infinite; }
  .hero-shape.s2 { animation: float 7s ease-in-out infinite reverse; }
}
@keyframes notif-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Surlignage qui se dessine à l'apparition */
@media (prefers-reduced-motion: no-preference) {
  .js .display em, .js [data-reveal] .h2 em, .js .page-head .h1 em, .js .center-page .h1 em { background-size: 0% 100%; background-repeat: no-repeat; transition: background-size .9s .25s var(--ease); }
  .js .display em, .js .page-head .h1 em, .js .center-page .h1 em { animation: draw 1s .35s var(--ease) forwards; }
  .js [data-reveal].is-in .h2 em { background-size: 100% 100%; }
}
@keyframes draw { to { background-size: 100% 100%; } }

/* Bandeau défilant des métiers */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding-block: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; }
.marquee-group { list-style: none; display: flex; flex: none; }
.marquee-group li { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.marquee-group li::after { content: "★"; color: var(--accent-2); font-size: .9em; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 40s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .marquee-group[aria-hidden="true"] { display: none; } .marquee-track { flex-wrap: wrap; width: auto; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Circuit d'un avis */
.flow { list-style: none; display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-l); padding: 10px 20px; box-shadow: var(--shadow); }
.flow li { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 0; }
.flow li + li { border-top: 1px dashed var(--line-2); }
.flow strong { display: block; }
.flow small { color: var(--muted); font-size: .9rem; }
.flow-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--brand-tint); color: var(--brand); }
.flow li:first-child .flow-ic { background: var(--coral-soft); color: var(--coral); }
.flow li:last-child .flow-ic { background: var(--accent); color: var(--ink); }

.mini-steps { counter-reset: m; list-style: none; display: grid; gap: 12px; margin-top: 14px; }
.mini-steps li { counter-increment: m; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.mini-steps li::before { content: counter(m); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); border: 1.5px solid var(--ink); font-weight: 700; font-size: .9rem; color: var(--ink); }

.quote-card { background: var(--accent-soft); border-color: #F3DC97; padding: clamp(24px, 4vw, 40px); }
.quote { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; color: var(--ink); }

.compare .card h3 .i { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); }
.compare .card:last-child h3 .i { background: var(--coral-soft); color: var(--coral); }
.checks.no .i { color: var(--coral); }
.tag-bad { background: var(--coral-soft); color: #B23A1F; }

/* Cartes : survol pro */
.card-icon { transition: transform .25s var(--ease), background-color .2s; }
a.card:hover .card-icon, .card:hover .card-icon { transform: translateY(-2px) rotate(-4deg); background: var(--accent); }

/* Tableau comparatif */
.compare-table th[scope="row"] { font-weight: 600; background: var(--surface); }
.compare-table thead th { text-align: center; }
.compare-table thead th:first-child { text-align: left; }
.compare-table td { text-align: center; }
.compare-table td:nth-child(3), .compare-table thead th:nth-child(3) { background: var(--accent-soft); font-weight: 600; }
/* Téléphone : deux formules seulement, le tableau tient dans l'écran sans défilement horizontal */
@media (max-width: 759px) {
  .table-wrap .compare-table { min-width: 0; table-layout: fixed; font-size: .86rem; }
  .compare-table th, .compare-table td { padding: 9px 8px; overflow-wrap: break-word; }
  .compare-table th[scope="row"], .compare-table thead th:first-child { width: 42%; }
}

/* 21. Mise en page éditoriale et effets de finition ------------------------ */
.grid-2, .grid-3, .grid-4 { counter-reset: feat; }
.feature { position: relative; counter-increment: feat; border-top: 2px solid var(--ink); padding-top: 20px; }
.feature::before { content: counter(feat, decimal-leading-zero); display: block; margin-bottom: 16px; font: 600 .8rem/1 var(--mono); letter-spacing: .08em; color: var(--brand); }
.feature::after { content: ""; position: absolute; top: -2px; left: 0; width: 0; height: 2px; background: var(--brand); transition: width .8s var(--ease) .2s; }
.feature.is-in::after, .no-js .feature::after { width: 56px; }
.feature:hover::after { width: 100%; transition-delay: 0s; }
.feature h3 { font-size: 1.22rem; letter-spacing: -.02em; }
.feature p { color: var(--ink-2); margin-top: 8px; }
.grid-2 .feature, .grid-3 .feature, .grid-4 .feature { padding-bottom: 8px; }
@media (min-width: 760px) { .grid-2:has(.feature), .grid-3:has(.feature), .grid-4:has(.feature) { gap: 40px 32px; } }
.card-link { position: relative; }
.card-link h3 { font-size: 1.2rem; }
.card-link .link-arrow { margin-top: 18px; }

/* Titres : apparition mot à mot */
.w { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .is-split .w { opacity: 0; transform: translateY(.4em); filter: blur(4px); animation: word .65s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 45ms + 60ms); }
  .js .display em, .js .page-head .h1 em, .js .center-page .h1 em { animation-delay: .75s; }
}
@keyframes word { to { opacity: 1; transform: none; filter: none; } }

/* Parallaxe douce des formes du haut de page (navigateurs compatibles) */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-shape.s1 { animation: shape-drift linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
    .footer-mega { animation: mega-in linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  }
}
@keyframes shape-drift { to { transform: rotate(7deg) translateY(56px); } }
@keyframes mega-in { from { opacity: 0; letter-spacing: .02em; } to { opacity: 1; letter-spacing: -.05em; } }

/* Ouverture fluide des questions (navigateurs compatibles) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}

/* Liens soulignés animés */
.prose a:not(.btn), .text-link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.prose a:not(.btn):hover, .text-link:hover { background-size: 100% 1.5px; text-decoration-color: transparent; }

/* Cartes de formule : élévation au survol */
.plan { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
@media (hover: hover) {
  .plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
  .plan-featured:hover { transform: translateY(-14px); box-shadow: 10px 10px 0 var(--accent); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .to-top, .mobile-cta, .cta, .next-page, .toc { display: none !important; }
  body { background: #fff; }
}
