/* constructeurdesite.fr
   Direction : la page se comporte comme un canevas d'éditeur. Fond clair « canevas »,
   encre aubergine, rose Elementor réservé aux sélections, aux prix et aux actions.
   Signature : le cadre de sélection rose avec onglet, repris de l'éditeur Elementor.
   La classe .bf sur <html> ne change plus les couleurs : elle sert seulement à afficher
   ou masquer les éléments liés au Black Friday (gérés par assets/site.js). */

@font-face { font-family: "Bricolage"; src: url(fonts/bricolage-grotesque.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(fonts/instrument-sans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(fonts/instrument-sans-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(fonts/instrument-sans-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(fonts/instrument-sans-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --canvas: #faf8fb;
  --paper: #ffffff;
  --ink: #1a1523;
  --muted: #675f72;
  --guide: #e5deec;
  --pink: #ed01ee;
  --pink-ink: #a800aa;
  --pink-tint: #fce8fc;
  --night: #1a1523;
  --on-pink: #1a1523;

  /* alias utilisés par les pages existantes */
  --bg: var(--canvas); --surface: var(--paper); --surface-2: #f3eff6; --text: var(--ink);
  --line: var(--guide); --accent: var(--pink-ink); --accent-soft: var(--pink-tint); --accent-ink: var(--ink); --ok: var(--pink-ink);

  --display: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --body: "Instrument", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1160px;
  --r-s: 8px; --r-m: 14px; --r-l: 22px;
}

/* Thème sombre : suit le réglage du système. Les composants passent par les variables. */
:root { color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #141019;
    --paper: #1f1a27;
    --ink: #f3eef8;
    --muted: #aea4ba;
    --guide: #362e42;
    --pink-ink: #ff7dff;
    --pink-tint: #3b1640;
    --night: #0b0910;
    --surface-2: #2a2334;
  }
  .figure img[src$=".svg"] { background: #fff; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.65; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--pink-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
[hidden], .banner a[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.08; letter-spacing: -0.025em; font-weight: 750; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); margin: 0 0 .45em; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin: 0 0 .5em; }
h3 { font-size: 1.25rem; margin: 0 0 .35em; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 30; }

/* Bandeau d'offre */
.ribbon { background: var(--night); color: #fff; text-align: center; font-size: .95rem; padding: 9px 16px; }
.ribbon a { color: #fff; font-weight: 600; }
.ribbon [data-countdown] { color: #ff9dff; font-weight: 600; }

/* En-tête */
.site-header { background: var(--canvas); border-bottom: 1px solid var(--guide); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; flex-wrap: wrap; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--pink); }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; padding: 6px 12px; border-radius: var(--r-s); }
.nav a:hover { background: var(--pink-tint); }
.nav a[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--pink); }

/* Petits libellés : casse normale, pas de capitales espacées */
.eyebrow { display: inline-block; font-size: .95rem; font-weight: 600; color: var(--pink-ink); margin-bottom: 12px; }
.brandline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.brandline .eyebrow { margin: 0; padding-left: 12px; border-left: 1px solid var(--guide); }
.logo-elementor { display: inline-block; width: 126px; height: 22px; background: var(--ink);
  -webkit-mask: url(img/logos/elementor.svg) left center / contain no-repeat; mask: url(img/logos/elementor.svg) left center / contain no-repeat; }
.e-mark { display: inline-block; width: 18px; height: 18px; margin-right: 10px; vertical-align: -3px; background: var(--pink);
  -webkit-mask: url(img/logos/elementor-e.svg) center / contain no-repeat; mask: url(img/logos/elementor-e.svg) center / contain no-repeat; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: var(--r-s); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; line-height: 1.2; }
a.btn-primary, .btn-primary { background: var(--pink); color: var(--on-pink); }
a.btn-primary:hover { background: #d900da; }
a.btn-ghost, .btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
a.btn-ghost:hover { background: var(--ink); color: var(--canvas); }
a.btn-dark, .btn-dark { background: var(--ink); color: var(--canvas); }
.btn-elementor::before { content: ""; width: 20px; height: 20px; flex: 0 0 20px; background: currentColor;
  -webkit-mask: url(img/logos/elementor-e.svg) center / contain no-repeat; mask: url(img/logos/elementor-e.svg) center / contain no-repeat; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; margin-top: 16px; padding: 0; }

/* Le cadre de sélection, signature du site */
.sel { position: relative; outline: 2px solid var(--pink); outline-offset: 10px; }
.sel::before { content: attr(data-sel); position: absolute; left: -12px; top: -40px; background: var(--pink); color: var(--on-pink);
  font-family: var(--body); font-size: .78rem; font-weight: 700; letter-spacing: 0; line-height: 1; padding: 6px 9px; border-radius: 5px 5px 0 0; }
.sel::after { content: ""; position: absolute; right: -16px; bottom: -16px; width: 10px; height: 10px; background: var(--paper); border: 2px solid var(--pink); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--guide); border-bottom: 1px solid var(--guide); }
.section-intro { color: var(--muted); max-width: 680px; font-size: 1.1rem; margin-bottom: 30px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 600px; }
.meta { color: var(--muted); font-size: .92rem; }
.breadcrumb { font-size: .92rem; color: var(--muted); padding-top: 22px; margin: 0; }
.breadcrumb a { color: var(--muted); }
.countdown { font-weight: 700; color: var(--pink-ink); }

/* Hero générique (pages intérieures) */
.hero { padding: 56px 0 36px; }
.big-deal { display: none; }
html.bf .big-deal { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 6px 0 18px; }
.big-deal strong { font-family: var(--display); font-size: clamp(3.4rem, 9vw, 6rem); font-weight: 800; line-height: .9; letter-spacing: -0.05em; color: var(--pink); }
.big-deal span { color: var(--muted); font-size: 1.05rem; max-width: 340px; line-height: 1.4; }

/* Accueil : hero avec canevas */
.home-hero { padding: 64px 0 40px; }
.home-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.home-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); margin-top: 34px; }
.canvas-mock { position: relative; background: var(--paper); border: 1px solid var(--guide); border-radius: var(--r-l); padding: 18px; box-shadow: 0 30px 60px -30px rgba(26,21,35,.25); }
.cm-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.cm-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--guide); }
.cm-body { display: grid; grid-template-columns: 92px 1fr; gap: 14px; }
.cm-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.cm-panel span { aspect-ratio: 1; border-radius: var(--r-s); background: var(--surface-2); display: grid; place-items: center; font-size: .65rem; color: var(--muted); font-weight: 600; }
.cm-panel span.on { outline: 2px dashed var(--pink); background: var(--pink-tint); color: var(--pink-ink); }
.cm-page { display: grid; gap: 10px; }
.cm-line { height: 10px; border-radius: 5px; background: var(--guide); }
.cm-line.t { height: 22px; width: 82%; background: var(--ink); }
.cm-line.t2 { height: 22px; width: 58%; background: var(--ink); }
.cm-line.s { width: 70%; }
.cm-drop { position: relative; height: 48px; border-radius: var(--r-s); border: 2px dashed var(--pink); background: var(--pink-tint); }
.cm-btn { position: absolute; left: 10px; top: 6px; height: 32px; padding: 0 16px; border-radius: 6px; background: var(--pink); color: var(--on-pink); font-weight: 700; font-size: .8rem; display: flex; align-items: center;
  box-shadow: 0 12px 20px -8px rgba(26,21,35,.45); animation: drop 1.4s cubic-bezier(.2,.8,.2,1) .4s both; }
.cm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cm-cards span { height: 70px; border-radius: var(--r-s); background: var(--surface-2); }
@keyframes drop { 0% { transform: translate(-150px, -95px) rotate(-6deg); } 70% { transform: translate(0, 0) rotate(-2deg); } 100% { transform: none; } }

/* Grilles et cartes */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid.quick { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.card { background: var(--paper); border: 1px solid var(--guide); border-radius: var(--r-m); padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.card.highlight { border-color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink); }
.card .tag { display: inline-block; font-size: .82rem; font-weight: 700; color: var(--pink-ink); background: var(--pink-tint); padding: 3px 10px; border-radius: 99px; margin-bottom: 12px; }
.card .price { margin-top: 10px; font-weight: 700; color: var(--pink-ink); }
.icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--pink-tint); color: var(--pink-ink); margin-bottom: 14px; }
.icon svg { display: block; width: 30px; height: 30px; }

/* Projets (accueil) */
.projects { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.project { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--guide); color: var(--ink); text-decoration: none; }
a.project { color: var(--ink); }
.project strong { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.02em; }
.project span.hint { color: var(--muted); font-size: .98rem; }
.project span.reco { margin-top: 8px; font-weight: 700; color: var(--pink-ink); }
.project:hover, .project:focus-visible { outline: 2px solid var(--pink); outline-offset: 0; border-color: transparent; }
.project:hover::before, .project:focus-visible::before { content: "Choisir"; position: absolute; left: -2px; top: -26px; background: var(--pink); color: var(--on-pink); font-size: .75rem; font-weight: 700; padding: 5px 8px; border-radius: 5px 5px 0 0; }

/* Offres du Black Friday */
.bf-band { background: var(--night); color: #fff; padding: 64px 0; }
.bf-band h2 { color: #fff; }
.bf-band .meta, .bf-band p { color: #cfc6d8; }
.bf-band a:not(.btn) { color: #ff9dff; }
.bf-band .countdown { color: #ff9dff; margin: 0; }
.deals { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
a.deal, .deal { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-m); background: var(--paper); color: var(--ink); text-decoration: none; }
.deal:hover { outline: 3px solid var(--pink); outline-offset: 0; }
.deal-top { display: flex; align-items: center; font-weight: 700; }
.deal-term { margin-left: auto; font-size: .85rem; font-weight: 600; color: var(--muted); }
.deal-badge { font-family: var(--display); font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--pink); }
.deal-prices { font-size: 1.05rem; }
.deal-prices s { color: var(--muted); margin-right: 6px; }
.deal-prices strong { font-family: var(--display); font-size: 1.6rem; letter-spacing: -0.02em; }
.deal-note { font-size: .92rem; color: var(--muted); }
.deals-section .meta { margin-top: 16px; }
.deals-section:not(.bf-band) { background: var(--paper); border-top: 1px solid var(--guide); border-bottom: 1px solid var(--guide); }
.deals-section:not(.bf-band) .deal { border: 1px solid var(--guide); }

/* Chiffres */
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--guide); }
.stat strong { font-family: var(--display); font-size: 2.2rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.stat span:last-child { color: var(--muted); font-size: .95rem; line-height: 1.4; }
.stat-icon { width: 34px; height: 34px; color: var(--pink-ink); margin-bottom: 4px; }
.stat-icon svg { width: 34px; height: 34px; display: block; }

/* Listes */
.checklist { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; }
.li-icon { flex: 0 0 26px; width: 26px; height: 26px; margin-top: 2px; }
.li-icon svg { width: 26px; height: 26px; display: block; }
.yes-list .li-icon { color: var(--pink-ink); }
.no-list .li-icon { color: var(--muted); }
.no-list li { color: var(--muted); }

/* Étapes (vraie séquence) */
.steps-row { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); counter-reset: st; }
.step { counter-increment: st; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--guide); }
.step::after { content: counter(st); position: absolute; top: 14px; right: 18px; font-family: var(--display); font-size: 2.6rem; font-weight: 800; color: var(--guide); }
.step span:last-child { color: var(--muted); font-size: .95rem; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 66px; background: var(--paper); border: 1px solid var(--guide); border-radius: var(--r-m); }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--pink); color: var(--on-pink); font-weight: 800; display: grid; place-items: center; }

/* Encadrés */
.callout { background: var(--pink-tint); border-radius: var(--r-m); padding: 20px 24px; margin: 26px 0; }
.callout p:last-child { margin-bottom: 0; }
.disclosure { font-size: .9rem; color: var(--muted); }

/* Tableaux */
.table-wrap { overflow-x: auto; border: 1px solid var(--guide); border-radius: var(--r-m); background: var(--paper); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .96rem; }
th, td { text-align: left; padding: 13px 15px; border-bottom: 1px solid var(--guide); vertical-align: top; }
thead th { background: var(--surface-2); font-weight: 700; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
.yes { color: var(--pink-ink); font-weight: 700; }
.no { color: var(--muted); }
table.prices { min-width: 560px; }
table.prices td strong { white-space: nowrap; }
table.prices tr.group th { background: var(--surface-2); font-size: .98rem; }
.disc { display: inline-block; margin-left: 6px; font-size: .8rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--pink-tint); color: var(--pink-ink); white-space: nowrap; }
.disc.none { background: transparent; color: var(--muted); font-weight: 400; padding: 0; }
html:not(.bf) .bf-col { display: none; }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--guide); border-radius: var(--r-m); padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details[open] summary { margin-bottom: 8px; }
.faq details p:last-child { margin-bottom: 0; }

/* Article */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.article-layout { padding-top: 8px; padding-bottom: 64px; }
.article h2 { margin-top: 2em; scroll-margin-top: 20px; }
.article h3 { margin-top: 1.6em; }
.article p, .article li { line-height: 1.75; }
.chapo { font-size: 1.25rem !important; color: var(--ink); }
.toc { background: var(--paper); border: 1px solid var(--guide); border-radius: var(--r-m); padding: 18px 24px; margin: 28px 0; }
.toc-title { font-weight: 700; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { font-size: .98rem !important; line-height: 1.9 !important; }
.toc a { text-decoration: none; }
.figure { margin: 32px 0 24px; max-width: 760px; }
.figure img { display: block; width: 100%; height: auto; border-radius: var(--r-m); border: 1px solid var(--guide); }
.figure figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.article .table-wrap { margin: 18px 0 8px; }
.article .faq { margin-top: 12px; }
.article .stats { grid-template-columns: repeat(2, 1fr); }
.with-aside > * { min-width: 0; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.with-aside > div > .stats { grid-template-columns: 1fr; }
.side { position: sticky; top: 24px; }

/* Auteur */
.author { display: flex; gap: 16px; align-items: flex-start; max-width: 760px; }
.author .avatar { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--canvas); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.3rem; }

/* Guides */
.guides { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
a.guide-card, .guide-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--guide); color: var(--ink); text-decoration: none; }
.guide-card:hover { outline: 2px solid var(--pink); outline-offset: 0; border-color: transparent; }
.guide-card h2, .guide-card h3 { font-size: 1.2rem; margin: 2px 0 0; }
.guide-card p { color: var(--muted); margin: 0; font-size: .96rem !important; line-height: 1.5 !important; }
.guide-more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--pink-ink); }
.guide-card.small { padding: 18px; }
.guide-card.small .icon { width: 42px; height: 42px; margin-bottom: 6px; }
.guide-card.small .icon svg { width: 24px; height: 24px; }
.related { margin: 44px 0 8px; }
.related h2 { margin-top: 0 !important; }
.related .guides { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }

/* Liste de guides sur l'accueil */
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--guide); }
.guide-list a { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--guide); color: var(--ink); text-decoration: none; }
.guide-list a:hover { background: var(--pink-tint); }
.guide-list .icon { width: 44px; height: 44px; margin: 0; }
.guide-list .icon svg { width: 26px; height: 26px; }
.guide-list strong { font-family: var(--display); font-size: 1.2rem; letter-spacing: -0.015em; display: block; }
.guide-list span.d { color: var(--muted); font-size: .95rem; }
.guide-list .go { font-weight: 700; color: var(--pink-ink); white-space: nowrap; }

/* Bannières du kit */
.banner { margin-top: 32px; }
.banner a { display: block; }
.banner img, .visuel img { display: block; width: 100%; height: auto; border-radius: var(--r-m); }
.visuel-rail { display: none; }
@media (min-width: 1560px) { html.bf .visuel-rail:not([hidden]) { display: block; position: fixed; top: 150px; right: calc((100vw - 1160px) / 2 - 196px); width: 160px; z-index: 5; } }
.promo-split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: center; }
.promo-split .visuel img { border-radius: var(--r-m); }

/* Questionnaire */
.quiz-section { padding-top: 8px; }
.quiz { max-width: 880px; margin: 0 auto; background: var(--paper); border: 1px solid var(--guide); border-radius: var(--r-l); padding: 32px; }
.quiz-bar { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.quiz-bar span { display: block; height: 100%; width: 0; background: var(--pink); transition: width .3s ease; }
.quiz-count { color: var(--muted); font-size: .92rem; margin: 12px 0 4px; }
.q-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.q-step legend { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 750; letter-spacing: -0.02em; margin-bottom: 20px; padding: 0; }
.opts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
.opt { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; cursor: pointer; padding: 18px; border-radius: var(--r-m); border: 1px solid var(--guide); background: var(--canvas); color: var(--ink); font: inherit; }
.opt:hover, .opt:focus-visible { outline: 2px solid var(--pink); outline-offset: 0; }
.opt[aria-pressed="true"] { outline: 2px solid var(--pink); background: var(--pink-tint); }
.opt strong { font-size: 1.05rem; }
.opt span:last-child { color: var(--muted); font-size: .9rem; }
.opt-icon { width: 34px; height: 34px; color: var(--pink-ink); }
.opt-icon svg { width: 34px; height: 34px; display: block; }
.quiz-nav { margin-top: 18px; }
.quiz-nav .btn { padding: 9px 16px; font-size: .9rem; }
.quiz-result h2 { display: flex; align-items: center; font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 6px 0 8px; }
.quiz-result .e-mark { width: 26px; height: 26px; }
.result-price { font-size: 1.2rem; }
.result-price s { color: var(--muted); margin-right: 6px; }
.result-price strong { font-family: var(--display); font-size: 2rem; }
.result-price .per { color: var(--muted); font-size: .95rem; }
.result-alt { color: var(--muted); border-left: 3px solid var(--guide); padding-left: 12px; margin-top: 16px; }
.quiz-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding: 22px 26px; border-radius: var(--r-m); background: var(--pink-tint); }
.quiz-cta p { margin: 0; font-weight: 700; font-size: 1.1rem; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--guide); padding: 40px 0 56px; color: var(--muted); font-size: .92rem; background: var(--canvas); }
.site-footer a { color: var(--muted); }
.site-footer .links { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 14px; }

/* Éléments liés au Black Friday */
.bf-only { display: none; }
html.bf .bf-only { display: block; }
html.bf .bf-hide { display: none; }
.sticky-cta { display: none; }

@media (max-width: 960px) {
  .home-hero .wrap, .with-aside, .promo-split { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; max-width: 300px; }
  .home-hero .canvas-mock { max-width: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  section, .bf-band { padding: 44px 0; }
  .home-hero { padding: 36px 0 24px; }
  .side { display: none; }
  .toc ol { columns: 1; }
  .quiz { padding: 20px; }
  .opts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .opt { padding: 14px; }
  .opt span:last-child { font-size: .82rem; }
  .sel { outline-offset: 6px; }
  .sel::after { right: -11px; bottom: -11px; }
  table.prices { min-width: 0; }
  table.prices thead th:nth-child(3), table.prices tbody td:nth-child(3) { display: none; }
  table.prices th, table.prices td { padding: 10px 8px; }
  .guide-list a { grid-template-columns: 40px 1fr; }
  .guide-list .go { display: none; }
  html.bf .sticky-cta:not([hidden]) { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--guide); }
  html.bf .sticky-cta .btn { display: flex; justify-content: center; width: 100%; }
  html.bf body.has-sticky { padding-bottom: 76px; }
}
@media (min-width: 961px) {
  .article .table-wrap table { min-width: 0; font-size: .86rem; }
  .article .table-wrap th, .article .table-wrap td { padding: 10px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-btn { animation: none; }
  .quiz-bar span { transition: none; }
}

/* Ajustements */
.bf-band a.deal, .bf-band a.deal:hover { color: var(--ink); }
.promo-split .deals { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.home-hero h1.sel { margin-top: 56px; }
.faq details, .faq > h2 { max-width: 860px; }
@media (max-width: 640px) { .promo-split .deals { grid-template-columns: 1fr !important; } .home-hero h1.sel { margin-top: 48px; } }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } .stat strong { font-size: 1.7rem; } }
/* Accueil plus sobre : liste de guides sans icônes */
.guide-list a { grid-template-columns: 1fr auto; }
@media (max-width: 640px) { .guide-list a { grid-template-columns: 1fr; } }
.projects .icon { width: 44px; height: 44px; }
.projects .icon svg { width: 26px; height: 26px; }

/* Captures d'écran réelles */
.hero-shot { margin: 0; }
.hero-shot img { display: block; width: 100%; height: auto; border-radius: var(--r-m); border: 1px solid var(--guide); box-shadow: 0 30px 60px -30px rgba(26,21,35,.35); }
.hero-shot figcaption { color: var(--muted); font-size: .85rem; margin-top: 10px; }
.figure.shot { margin: 28px 0; }
.figure.shot img { box-shadow: 0 20px 40px -28px rgba(26,21,35,.35); }
.home-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; }
.home-hero h1 { font-size: clamp(2.6rem, 5vw, 4.3rem); }
@media (max-width: 960px) { .home-hero .wrap { grid-template-columns: minmax(0, 1fr); } }

.figure.narrow { max-width: 520px; }

/* Mobile : en-tête sur une ligne, bandeau plus court, indication de défilement des tableaux */
.scroll-hint { font-size: .85rem; color: var(--muted); margin: 18px 0 6px; }
.scroll-hint + .table-wrap { margin-top: 0; }
@media (max-width: 640px) {
  .ribbon { font-size: .86rem; padding: 8px 12px; line-height: 1.45; }
  .ribbon .r-date { display: none; }
  .nav { gap: 2px; margin-left: -8px; }
  .nav a { padding: 6px 8px; font-size: .94rem; }
}
@media (max-width: 360px) {
  .nav a { padding: 6px 6px; font-size: .9rem; }
}
