  /* ==========================================================================
     guenetteweb.ca
     1. Polices et jetons   2. Base   3. Composants   4. Sections   5. Fenêtres
     6. Mouvement           7. Écrans étroits
     ========================================================================== */

  /* ---------- 1. Polices et jetons ---------- */
  @font-face { font-family: "Lora"; src: url("polices/lora.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
  @font-face { font-family: "Inter"; src: url("polices/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
  @font-face { font-family: "Inter"; src: url("polices/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
  @font-face { font-family: "Inter"; src: url("polices/inter-600.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

  :root {
    /* Couleurs : l'encre et le papier d'un document, le bleu réservé aux actions */
    --encre: #0f1730;
    --encre-2: #1a2445;
    --bleu: #2f5bff;
    --bleu-fonce: #1f45d6;
    --bleu-pale: #a9bbff;
    --papier: #ffffff;
    --bureau: #edeff3;
    --gris: #535b6e;
    --trait: #d9dde5;
    --erreur: #b3261e;

    --titre: "Lora", Georgia, "Times New Roman", serif;
    --corps: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --marge: clamp(20px, 5vw, 56px);
    --largeur: 1200px;
    --espace-section: clamp(80px, 10.5vw, 144px);
    --aise: cubic-bezier(0.2, 0.7, 0.2, 1);

    /* Ombre d'une feuille posée sur un bureau : contact net, puis ombre portée diffuse */
    --ombre-feuille: 0 1px 1px rgba(15, 23, 48, 0.05), 0 8px 16px -6px rgba(15, 23, 48, 0.09), 0 32px 64px -24px rgba(15, 23, 48, 0.24);

    /* Noms utilisés par les maquettes de démonstration et le comparateur */
    --nuit: var(--encre); --nuit-2: var(--encre-2); --texte: #18212f; --fond: #ffffff; --fond-doux: #f4f6fb;
    --ligne: #e2e7f0; --accent: var(--bleu); --accent-fonce: var(--bleu-fonce); --accent-clair: #8aa4ff; --accent-teinte: #eaf0ff;
    --sans: var(--corps); --ease: cubic-bezier(0.16, 1, 0.3, 1); --rebond: cubic-bezier(0.34, 1.4, 0.64, 1);
  }

  /* ---------- 2. Base ---------- */
  * { box-sizing: border-box; margin: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  html:has(dialog[open]) { overflow: hidden; }
  body {
    font-family: var(--corps); font-size: 1.0625rem; line-height: 1.6;
    color: var(--encre); background: var(--papier);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  }
  h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
  a { color: inherit; }
  img { max-width: 100%; height: auto; }
  [hidden] { display: none !important; }
  ::selection { background: var(--bleu); color: #fff; }
  :focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; border-radius: 4px; }
  .sombre :focus-visible, .pied :focus-visible { outline-color: var(--bleu-pale); }

  .cadre { width: 100%; max-width: calc(var(--largeur) + var(--marge) * 2); margin-inline: auto; padding-inline: var(--marge); }
  .visuel-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .saut {
    position: absolute; left: 12px; top: -64px; z-index: 100; padding: 12px 18px; border-radius: 8px;
    background: var(--encre); color: #fff; font-weight: 600; text-decoration: none; transition: top 0.2s;
  }
  .saut:focus { top: 12px; }

  /* ---------- 3. Composants ---------- */
  .bouton {
    display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
    border: 1px solid transparent; border-radius: 8px; background: var(--bleu); color: #fff;
    font: 600 1rem/1.2 var(--corps); letter-spacing: -0.005em; text-decoration: none; text-align: center; cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s var(--aise);
  }
  .bouton:hover { background: var(--bleu-fonce); }
  .bouton:active { transform: translateY(1px); }
  .bouton.petit { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }
  .bouton.encre { background: var(--encre); }
  .bouton.encre:hover { background: var(--encre-2); }
  .bouton.large { width: 100%; }
  .bouton[disabled] { opacity: 0.6; cursor: progress; }

  .lien, .lien-bouton {
    color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.24em;
    text-decoration-color: color-mix(in srgb, currentColor 34%, transparent); transition: text-decoration-color 0.2s;
  }
  .lien:hover, .lien-bouton:hover { text-decoration-color: currentColor; }
  .lien-bouton { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

  /* Feuille de papier : la soumission, le contrat et le formulaire partagent ce support */
  .feuille { background: var(--papier); border-radius: 3px; box-shadow: var(--ombre-feuille); }
  .f-titre { font: 500 1.75rem/1.1 var(--titre); letter-spacing: -0.015em; }
  .f-meta { margin-top: 6px; font-size: 0.875rem; color: var(--gris); }
  .f-conditions { font-size: 0.875rem; line-height: 1.55; color: var(--gris); }

  /* Choix à deux ou trois options, avec un curseur qui glisse sous l'option retenue */
  .seg {
    position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr));
    padding: 4px; border-radius: 10px; background: var(--bureau);
  }
  .seg::before {
    content: ""; position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n, 2));
    border-radius: 7px; background: var(--encre); opacity: 0; transform: translateX(calc(var(--i, 0) * 100%));
    transition: transform 0.45s var(--aise), opacity 0.2s;
  }
  .seg:has(input:checked)::before { opacity: 1; }
  .seg:has(label:nth-of-type(2) input:checked) { --i: 1; }
  .seg:has(label:nth-of-type(3) input:checked) { --i: 2; }
  .seg label {
    position: relative; z-index: 1; display: grid; place-items: center; min-height: 44px; padding: 6px 8px; border-radius: 7px;
    font: 500 0.9375rem/1.2 var(--corps); color: var(--gris); text-align: center; cursor: pointer; transition: color 0.25s;
  }
  .seg label:hover { color: var(--encre); }
  .seg label:has(input:checked) { color: #fff; }
  .seg label:has(input:focus-visible) { outline: 2px solid var(--bleu); outline-offset: 2px; }
  .seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
  @supports not selector(:has(*)) {
    .seg::before { display: none; }
    .seg label { padding: 0; }
    .seg label span { display: grid; place-items: center; width: 100%; min-height: 44px; padding: 6px 8px; border-radius: 7px; }
    .seg input:checked + span { background: var(--encre); color: #fff; }
  }

  /* ---------- 4. Sections ---------- */
  .section { padding-block: var(--espace-section); }
  .section.bureau { background: var(--bureau); }
  .section.sombre { background: var(--encre); color: #fff; }
  .section.serree { padding-top: 0; }
  .section h2, h1 { font-family: var(--titre); font-weight: 500; }
  .section h2 { font-size: clamp(2.125rem, 4.3vw, 3.5rem); line-height: 1.06; letter-spacing: -0.022em; }

  /* Titre à gauche, phrase d'appui à droite, alignés sur la même ligne de base */
  .tete { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 76px); }
  .tete p { max-width: 44ch; font-size: 1.125rem; color: var(--gris); }
  .sombre .tete p { color: #b8c0d6; }

  /* En-tête */
  .entete-site { position: sticky; top: 0; z-index: 40; background: var(--bureau); transition: background-color 0.3s, box-shadow 0.3s; }
  .entete-site.decolle {
    background: rgba(255, 255, 255, 0.86); box-shadow: 0 1px 0 var(--trait);
    -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  }
  .entete-site.menu-ouvert { background: var(--papier); }
  .barre { display: flex; align-items: center; gap: 32px; min-height: 72px; }
  .marque { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; }
  .sigle {
    display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--bleu); color: #fff;
    font: 600 0.8125rem/1 var(--corps); letter-spacing: 0.02em;
  }
  .nom { font-weight: 600; letter-spacing: -0.012em; white-space: nowrap; }
  .menu { display: flex; align-items: center; gap: 30px; }
  .menu a, .barre > .bouton { white-space: nowrap; }
  .menu a { position: relative; padding: 8px 0; font-size: 0.9375rem; font-weight: 500; color: var(--gris); text-decoration: none; transition: color 0.2s; }
  .menu a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--encre);
    transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--aise);
  }
  .menu a:hover, .menu a[aria-current] { color: var(--encre); }
  .menu a[aria-current]::after { transform: scaleX(1); }
  .menu-bouton {
    display: none; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--encre); border-radius: 8px;
    background: transparent; color: var(--encre); font: 600 0.9375rem/1 var(--corps); cursor: pointer;
  }
  .menu-mobile { border-top: 1px solid var(--trait); background: var(--papier); box-shadow: 0 24px 40px -24px rgba(15, 23, 48, 0.3); }
  .menu-mobile nav { display: grid; padding-block: 8px 24px; }
  .menu-mobile nav a:not(.bouton) {
    display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--trait);
    font: 500 1.375rem/1.2 var(--titre); letter-spacing: -0.01em; text-decoration: none;
  }
  .menu-mobile .bouton { margin-top: 24px; }

  /* Feuille de soumission interactive */
  .pile { position: relative; justify-self: end; width: 100%; max-width: 480px; }
  .pile .dessous {
    position: absolute; inset: 0; transform: translate(14px, 12px) rotate(2.4deg);
    box-shadow: 0 1px 1px rgba(15, 23, 48, 0.05), 0 18px 36px -18px rgba(15, 23, 48, 0.2);
  }
  .soumission { position: relative; display: grid; gap: 22px; padding: clamp(24px, 3vw, 36px); }
  .f-tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
  .f-mention { padding: 3px 9px; border: 1px solid var(--trait); border-radius: 4px; font-size: 0.8125rem; font-weight: 500; color: var(--gris); }
  .soumission .seg { display: none; }
  .js .soumission .seg { display: grid; }
  .f-panneaux { display: grid; container-type: inline-size; }
  .f-panneau { grid-area: 1 / 1; transition: opacity 0.3s, visibility 0s; }
  .f-panneau:not(.actif) { opacity: 0; visibility: hidden; transition: opacity 0.18s, visibility 0s 0.18s; }
  .f-lignes { list-style: none; padding: 0; border-top: 1px solid var(--encre); }
  .f-lignes li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--trait); font-size: 0.9375rem; font-size: clamp(0.8125rem, 4.3cqw, 0.9375rem); line-height: 1.35; }
  .f-lignes i { flex: 1; min-width: 12px; height: 1px; align-self: center; background-image: linear-gradient(90deg, var(--trait) 50%, transparent 50%); background-size: 6px 1px; }
  .f-lignes em { font-style: normal; color: var(--gris); }
  .f-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 18px; }
  .f-total span { font-weight: 500; }
  .f-total strong { font: 500 clamp(2.5rem, 4.2vw, 3.25rem)/1 var(--titre); letter-spacing: -0.025em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }

  /* Déroulement et contrat */
  .deroulement { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px clamp(40px, 8vw, 128px); align-items: start; }
  .etapes { list-style: none; padding: 0; margin-top: clamp(36px, 5vw, 60px); counter-reset: etape; border-top: 1px solid var(--encre); }
  .etapes li { display: grid; grid-template-columns: 56px minmax(0, 1fr); padding-block: 26px; border-bottom: 1px solid #cfd4de; counter-increment: etape; }
  .etapes li::before { content: counter(etape); font: 500 1.75rem/1.15 var(--titre); color: var(--bleu); font-variant-numeric: lining-nums; }
  .etapes h3 { font: 600 1.125rem/1.3 var(--corps); letter-spacing: -0.012em; }
  .etapes p { margin-top: 6px; max-width: 44ch; color: var(--gris); }
  .delai { margin-top: 22px; font-size: 0.9375rem; color: var(--gris); max-width: 48ch; }
  .contrat { position: sticky; top: 104px; padding: clamp(26px, 3.4vw, 44px); }
  .clauses { margin-top: 26px; border-top: 1px solid var(--encre); }
  .clauses div { padding-block: 18px; border-bottom: 1px solid var(--trait); }
  .clauses dt { font-weight: 600; letter-spacing: -0.012em; }
  .clauses dd { margin-top: 4px; font-size: 0.9375rem; line-height: 1.55; color: var(--gris); }
  .contrat .f-conditions { margin-top: 20px; }

  /* À propos */
  .apropos { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 8vw, 128px); align-items: center; }
  .portrait { overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 5; background: var(--bureau); }
  .portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .apropos-texte p { max-width: 33rem; color: var(--gris); }
  .apropos-texte h2 + p { margin-top: clamp(24px, 3vw, 36px); font-size: 1.25rem; line-height: 1.5; color: var(--encre); }
  .apropos-texte p + p { margin-top: 18px; }
  .apropos-texte .signature { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--trait); color: var(--encre); }
  .signature b { display: block; font: 500 1.25rem/1.3 var(--titre); letter-spacing: -0.01em; }

  /* Questions fréquentes */
  .faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(40px, 8vw, 128px); align-items: start; padding-top: var(--espace-section); border-top: 1px solid var(--trait); }
  .faq-tete { position: sticky; top: 104px; }
  .faq-tete p { margin-top: 20px; max-width: 30ch; color: var(--gris); }
  .faq-liste { border-top: 1px solid var(--encre); }
  .faq-liste details { border-bottom: 1px solid var(--trait); }
  .faq-liste summary {
    display: grid; grid-template-columns: minmax(0, 1fr) 16px; gap: 24px; align-items: center; padding-block: 22px;
    font-size: 1.125rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.012em; cursor: pointer; list-style: none;
  }
  .faq-liste summary::-webkit-details-marker { display: none; }
  .faq-liste summary:hover { color: var(--bleu-fonce); }
  .croix { position: relative; width: 16px; height: 16px; }
  .croix::before, .croix::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; transition: transform 0.35s var(--aise); }
  .croix::after { transform: rotate(90deg); }
  details[open] .croix::after { transform: rotate(0deg); }
  .faq-liste details p { padding: 0 40px 24px 0; max-width: 60ch; color: var(--gris); }

  /* Contact */
  .contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px clamp(40px, 8vw, 128px); align-items: start; }
  .contact-texte > p { margin-top: clamp(20px, 2.6vw, 28px); max-width: 40ch; font-size: 1.125rem; color: var(--gris); }
  .coordonnees { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--encre); }
  .coordonnees div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid #cfd4de; }
  .coordonnees dt { font-size: 0.9375rem; color: var(--gris); }
  .coordonnees dd { font-weight: 500; overflow-wrap: anywhere; }
  .formulaire { padding: clamp(24px, 3.4vw, 44px); }
  .champs { display: grid; gap: 22px; }
  .champ label, .groupe legend { display: block; margin-bottom: 8px; padding: 0; font-size: 0.9375rem; font-weight: 500; }
  .groupe { border: 0; padding: 0; min-width: 0; }
  .groupe legend span { font-weight: 400; color: var(--gris); }
  .champ input, .champ textarea {
    display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #b6bcc9; border-radius: 8px;
    background: var(--papier); color: var(--encre); font: 400 1rem/1.5 var(--corps);
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .champ textarea { min-height: 132px; resize: vertical; }
  .champ input:hover, .champ textarea:hover { border-color: #838b9c; }
  .champ input:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(47, 91, 255, 0.2); }
  .champ [aria-invalid="true"] { border-color: var(--erreur); }
  .champ [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.18); }
  .message-erreur { margin-top: 7px; font-size: 0.875rem; color: var(--erreur); }
  .consentement { font-size: 0.8125rem; line-height: 1.5; color: var(--gris); }
  #retour { font-size: 0.9375rem; color: var(--erreur); }
  #retour:empty { display: none; }
  .envoye h3 { font: 500 1.75rem/1.15 var(--titre); letter-spacing: -0.015em; }
  .envoye p { margin: 12px 0 24px; max-width: 40ch; color: var(--gris); }
  .envoye:focus { outline: none; }

  /* Pied de page */
  .pied { background: var(--encre); color: #b8c0d6; font-size: 0.9375rem; }
  .pied-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px clamp(32px, 6vw, 96px); padding-block: clamp(56px, 7vw, 88px) 40px; }
  .pied .marque { color: #fff; }
  .pied-grille p { margin-top: 18px; max-width: 36ch; }
  .pied h2 { margin-bottom: 14px; font: 500 0.9375rem/1.3 var(--corps); letter-spacing: 0; color: #fff; }
  .pied ul { list-style: none; padding: 0; display: grid; gap: 4px; }
  .pied li a, .pied li button { display: inline-flex; align-items: center; min-height: 32px; text-decoration-color: transparent; }
  .pied li a:hover, .pied li button:hover { color: #fff; text-decoration-color: currentColor; }
  .pied-bas { padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.875rem; color: #8f99b5; }

  /* Bouton d'appel fixé au bas de l'écran, sur téléphone seulement */
  .barre-mobile { display: none; }

  /* ---------- 5. Fenêtre de la politique de confidentialité ---------- */
  dialog.modale {
    width: min(1040px, 94vw); max-height: 90vh; max-height: 90dvh; padding: 0; margin: auto; border: 0; border-radius: 10px;
    overflow: hidden; color: var(--encre); box-shadow: 0 40px 100px rgba(8, 12, 28, 0.5);
  }
  dialog.modale[open] { display: flex; flex-direction: column; }
  dialog.modale::backdrop { background: rgba(8, 12, 28, 0.72); }
  .m-barre { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 20px; background: var(--encre); color: #b8c0d6; font-size: 0.875rem; }
  .m-barre button {
    min-height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 8px; background: transparent; color: #fff;
    font: 500 0.875rem/1 var(--corps); cursor: pointer; white-space: nowrap; transition: background-color 0.2s;
  }
  .m-barre button:hover { background: rgba(255, 255, 255, 0.12); }
  .m-barre button:focus-visible { outline-color: var(--bleu-pale); }
  .politique { flex: 1; min-height: 0; overflow: auto; padding: clamp(24px, 4vw, 48px); background: var(--papier); }
  .politique h3 { font: 500 1.875rem/1.12 var(--titre); letter-spacing: -0.018em; margin-bottom: 8px; }
  .politique h4 { margin: 28px 0 6px; font-size: 1rem; font-weight: 600; }
  .politique p, .politique li { max-width: 68ch; font-size: 1rem; color: var(--gris); }
  .politique ul { margin-top: 6px; padding-left: 20px; }

  /* ---------- Comparateur avant et après ---------- */
  .compare {
    position: relative; container-type: inline-size; aspect-ratio: 16 / 9; --pos: 50%;
    border-radius: 16px; overflow: hidden; user-select: none; -webkit-user-select: none;
    border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  }
  .compare-cadre { position: absolute; inset: 0; container-type: inline-size; }
  .js .compare-cadre { inset: auto; top: 0; left: 0; width: 1080px; height: 607.5px; transform-origin: 0 0; transform: scale(var(--s, 1)); }
  .couche { position: absolute; inset: 0; overflow: hidden; }
  .couche.avant { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
  .compare-choix { display: flex; justify-content: space-between; margin-bottom: 14px; }
  .compare-choix button {
    font: inherit; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
    color: #b9c2d8; background: transparent; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 8px 18px;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
  }
  .compare-choix button:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
  .compare-choix button.actif { background: #fff; color: var(--nuit); border-color: #fff; }
  .poignee { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: #fff; pointer-events: none; z-index: 3; }
  .poignee::after {
    content: "‹ ›"; position: absolute; top: 50%; left: 50%; translate: -50% -50%;
    width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--nuit);
    display: grid; place-items: center; font-weight: 700; font-size: 1rem; letter-spacing: 0.05em;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
  }
  .compare input[type="range"] {
    position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; padding: 0; border: 0;
    opacity: 0; cursor: ew-resize; background: none;
  }
  .compare:focus-within .poignee::after { outline: 3px solid var(--accent-clair); outline-offset: 2px; }
  .compare-note { margin-top: 14px; font-size: 0.85rem; color: #8f9ab5; }

  /* Le vieux site */
  .v-site { height: 100%; background: #e9e6dc; color: #222; font-family: "Times New Roman", Times, serif; }
  .v-entete { background: linear-gradient(#1b3f8b, #0d2a66); color: #ffe600; text-align: center; font-size: 3.1cqw; font-weight: bold; letter-spacing: 0.05em; padding: 1.5cqw; }
  .v-menu { background: #c9c4b4; color: #0000ee; text-decoration: underline; text-align: center; font-size: 1.65cqw; padding: 0.8cqw; }
  .v-bandeau { background: #ffef5a; color: #cc0000; font-weight: bold; text-align: center; font-size: 1.9cqw; padding: 0.8cqw; }
  .v-corps { display: grid; grid-template-columns: 27cqw 1fr; gap: 2.2cqw; padding: 2.4cqw; }
  .v-photo { aspect-ratio: 4 / 3; border: 2px inset #999; background: #d5d5d5; display: grid; place-items: center; font-size: 1.4cqw; color: #666; }
  .v-texte p { font-size: 1.55cqw; line-height: 1.35; text-align: justify; margin-bottom: 1cqw; }
  .v-texte u { color: #0000ee; }
  .v-pied { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid #aaa; text-align: center; font-size: 1.15cqw; color: #555; padding: 0.9cqw; background: #e9e6dc; }

  /* Le site refait : une identité volontairement différente de celle du site principal */
  .p-site { height: 100%; display: flex; flex-direction: column; background: #fbf7f1; color: #1e2126; font-family: var(--sans); }
  .p-urgence { display: flex; justify-content: space-between; align-items: center; background: #1e2126; color: #e9e4dc; font-size: 1.12cqw; font-weight: 600; padding: 0.75cqw 3cqw; }
  .p-urgence span::before { content: ""; display: inline-block; width: 0.7cqw; height: 0.7cqw; border-radius: 50%; background: #3ddc84; margin-right: 0.8cqw; }
  .p-urgence b { color: #ff8a4c; font-size: 1.3cqw; }
  .p-nav { display: flex; align-items: center; gap: 2.2cqw; padding: 1.3cqw 3cqw; font-size: 1.28cqw; font-weight: 600; border-bottom: 1px solid #e9e1d5; }
  .p-logo { display: flex; align-items: center; gap: 1cqw; margin-right: auto; font-family: "Arial Black", "Franklin Gothic Heavy", Impact, var(--sans); font-size: 1.5cqw; text-transform: uppercase; letter-spacing: 0.02em; }
  .p-logo svg { width: 3cqw; height: 3cqw; }
  .p-nav i { font-style: normal; border: 0.18cqw solid #1e2126; border-radius: 999px; padding: 0.5cqw 1.4cqw; }
  .p-hero { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3cqw; align-items: center; padding: 1.4cqw 3cqw; }
  .p-tag { display: inline-block; background: #fde3d3; color: #c9480d; font-size: 1.02cqw; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.45cqw 1.1cqw; border-radius: 999px; }
  .p-titre { display: block; font-family: "Arial Black", "Franklin Gothic Heavy", Impact, var(--sans); font-size: 4.4cqw; line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; margin: 1.1cqw 0 1cqw; }
  .p-titre span { display: block; color: #f2611d; }
  .p-hero p { color: #6a6f78; font-size: 1.42cqw; line-height: 1.45; max-width: 38cqw; }
  .p-boutons { display: flex; gap: 1cqw; margin-top: 1.5cqw; }
  .p-btn { font-size: 1.28cqw; font-weight: 700; padding: 0.95cqw 1.8cqw; border-radius: 0.9cqw; background: #f2611d; color: #fff; box-shadow: 0 0.5cqw 1.4cqw rgba(242, 97, 29, 0.35); }
  .p-btn.sec { background: transparent; color: #1e2126; box-shadow: none; border: 0.18cqw solid #d9cfc1; }
  .p-gages { display: flex; gap: 1.8cqw; margin-top: 1.4cqw; font-size: 1.08cqw; font-weight: 600; color: #6a6f78; }
  .p-gages span::before { content: "\2713"; color: #f2611d; font-weight: 800; margin-right: 0.5cqw; }
  .p-visuel { position: relative; height: 100%; max-height: 25cqw; border-radius: 2.4cqw; display: grid; place-items: center; background: radial-gradient(circle at 70% 25%, #ffd6bd, #fde9dc 62%); }
  .p-visuel > svg { width: 80%; height: auto; }
  .p-flot { position: absolute; background: #fff; border-radius: 1.1cqw; box-shadow: 0 0.8cqw 2.4cqw rgba(30, 33, 38, 0.16); padding: 0.9cqw 1.2cqw; font-size: 1.02cqw; color: #6a6f78; line-height: 1.3; }
  .p-flot b { display: block; color: #1e2126; font-size: 1.18cqw; }
  .p-flot.a { left: -1.6cqw; top: 2cqw; }
  .p-flot.a b::before { content: ""; display: inline-block; width: 0.75cqw; height: 0.75cqw; border-radius: 50%; background: #3ddc84; margin-right: 0.6cqw; }
  .p-flot.b { right: -1cqw; bottom: 1.8cqw; }
  .p-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2cqw; padding: 0 3cqw 1.5cqw; }
  .p-services div { background: #fff; border: 1px solid #e9e1d5; border-radius: 1.2cqw; padding: 1.15cqw; font-size: 1.02cqw; color: #6a6f78; line-height: 1.35; }
  .p-services i { display: grid; place-items: center; width: 3.1cqw; height: 3.1cqw; border-radius: 0.9cqw; background: #fde3d3; color: #c9480d; margin-bottom: 0.75cqw; }
  .p-services svg { width: 1.8cqw; height: 1.8cqw; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .p-services b { display: block; color: #1e2126; font-size: 1.28cqw; margin-bottom: 0.15cqw; }
  .p-zones { display: flex; align-items: center; gap: 1.6cqw; background: #1e2126; color: #b9bec7; font-size: 1.02cqw; padding: 0.8cqw 3cqw; }
  .p-zones b { color: #fff; font-size: 0.92cqw; text-transform: uppercase; letter-spacing: 0.1em; }

  .v-travaux { background: repeating-linear-gradient(45deg, #111 0 1.2cqw, #ffd400 1.2cqw 2.4cqw); text-align: center; padding: 0.5cqw; }
  .v-travaux span { background: #ffd400; color: #111; font-family: Arial, sans-serif; font-weight: bold; font-size: 1.25cqw; padding: 0.2cqw 1.2cqw; }
  .v-compteur { background: #000; color: #39ff14; font-family: "Courier New", monospace; font-weight: bold; letter-spacing: 0.15em; padding: 0.1cqw 0.6cqw; }
  /* ---------- Animations de l'exemple du plombier ---------- */
  .p-l1, .p-l2 { display: block; }
  .p-titre .p-l1 { color: #1e2126; overflow: hidden; padding-top: 0.7cqw; margin-top: -0.7cqw; }
  .p-titre .p-l1 > span { display: block; color: inherit; }
  .p-trajet { display: block; height: 0.42cqw; margin-top: 0.7cqw; border-radius: 99px; background: #f1e8dc; overflow: hidden; }
  .p-trajet span { display: block; height: 100%; width: 0; border-radius: 99px; background: #f2611d; transition: width 0.7s ease; }
  .p-min { color: #c9480d; font-weight: 800; font-variant-numeric: tabular-nums; }
  .p-roue { transform-box: fill-box; transform-origin: center; }
  .p-vitesse { opacity: 0; }
  .v-bandeau { overflow: hidden; white-space: nowrap; }
  .v-bandeau span { display: inline-block; }

  @media (prefers-reduced-motion: no-preference) {
    @keyframes pl-descendre { from { translate: 0 -100%; } }
    @keyframes pl-fondu-bas { from { opacity: 0; translate: 0 -1.2cqw; } }
    @keyframes pl-monter { from { opacity: 0; translate: 0 2cqw; } }
    @keyframes pl-lever { from { translate: 0 110%; } }
    @keyframes pl-balayer { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
    @keyframes pl-surgir { from { opacity: 0; scale: 0.7; } }
    @keyframes pl-gonfler { from { opacity: 0; scale: 0.86; } }
    @keyframes pl-rouler { 0% { opacity: 0; transform: translateX(-150px); } 12% { opacity: 1; } 78% { transform: translateX(7px); } 100% { transform: translateX(0); } }
    @keyframes pl-tourner { from { rotate: -900deg; } }
    @keyframes pl-ralenti { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.3px); } }
    @keyframes pl-vitesse { 0% { opacity: 0; transform: translateX(30px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateX(-16px); } }
    @keyframes pl-pouls { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.7); } 100% { box-shadow: 0 0 0 0.9cqw rgba(61, 220, 132, 0); } }
    @keyframes pl-appel { 0% { box-shadow: 0 0.5cqw 1.4cqw rgba(242, 97, 29, 0.35), 0 0 0 0 rgba(242, 97, 29, 0.55); } 100% { box-shadow: 0 0.5cqw 1.4cqw rgba(242, 97, 29, 0.35), 0 0 0 1.3cqw rgba(242, 97, 29, 0); } }
    @keyframes pl-secouer { 0%, 100% { rotate: 0deg; } 25% { rotate: -12deg; } 75% { rotate: 12deg; } }


    /* Voyants qui pulsent en continu */
    .p-urgence span::before, .p-flot.a b::before { animation: pl-pouls 1.5s ease-out infinite; }

    /* Arrivée du nouveau site, rejouée à chaque dévoilement */
    .joue .p-urgence { animation: pl-descendre 0.6s var(--ease) both; }
    .joue .p-nav { animation: pl-fondu-bas 0.6s var(--ease) 0.15s both; }
    .joue .p-tag { animation: pl-surgir 0.6s var(--rebond) 0.35s both; }
    .joue .p-l1 > span { animation: pl-lever 0.8s var(--ease) 0.45s both; }
    .joue .p-l2 { animation: pl-balayer 0.8s var(--ease) 0.75s both; }
    .joue .p-hero p { animation: pl-monter 0.7s var(--ease) 0.95s both; }
    .joue .p-boutons { animation: pl-monter 0.7s var(--ease) 1.1s both; }
    .joue .p-gages span { animation: pl-monter 0.6s var(--ease) both; }
    .joue .p-gages span:nth-child(1) { animation-delay: 1.3s; }
    .joue .p-gages span:nth-child(2) { animation-delay: 1.42s; }
    .joue .p-gages span:nth-child(3) { animation-delay: 1.54s; }
    .joue .p-visuel { animation: pl-gonfler 0.9s var(--ease) 0.3s both; }
    .joue .p-camion { animation: pl-rouler 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both, pl-ralenti 0.55s ease-in-out 2.3s infinite; }
    .joue .p-roue { animation: pl-tourner 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both; }
    .joue .p-vitesse { animation: pl-vitesse 0.9s ease-out 0.75s both; }
    .joue .p-flot.a { animation: pl-surgir 0.6s var(--rebond) 2s both; }
    .joue .p-flot.b { animation: pl-surgir 0.6s var(--rebond) 2.25s both; }
    .joue .p-services div { animation: pl-monter 0.7s var(--ease) both; }
    .joue .p-services div:nth-child(1) { animation-delay: 1.2s; }
    .joue .p-services div:nth-child(2) { animation-delay: 1.32s; }
    .joue .p-services div:nth-child(3) { animation-delay: 1.44s; }
    .joue .p-services div:nth-child(4) { animation-delay: 1.56s; }
    .joue .p-services i { animation: pl-secouer 0.6s ease-in-out 2s both; }
    .joue .p-zones { animation: pl-monter 0.6s var(--ease) 1.7s both; }
    .joue .p-btn:not(.sec) { animation: pl-appel 1.6s ease-out 2.6s infinite; }
  }

  /* Sur un navigateur trop ancien pour dessiner le comparateur, on masque la section plutôt que de l'afficher brisée */
  @supports not (width: 1cqw) { .compare-section { display: none; } }
  @media (max-width: 860px) { .poignee::after { width: 38px; height: 38px; font-size: 0.9rem; } }

  /* Retouches du comparateur */
  .compare-section { padding-block: clamp(72px, 8vw, 112px); }
  .compare-section .tete { margin-bottom: clamp(28px, 3.4vw, 44px); }
  .compare { border-radius: 10px; border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 48px 90px -40px rgba(0, 0, 0, 0.75); }
  .compare-choix { margin-bottom: 16px; }
  .compare-choix button { min-height: 40px; padding: 0 18px; border-radius: 8px; font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
  .compare-choix button.actif { color: var(--encre); }
  .compare-note { margin-top: 18px; font-size: 0.875rem; color: #8f99b5; }

  /* Le site de démonstration du plombier reste calme : pas d'animation en boucle */
  .p-urgence span::before, .p-flot.a b::before, .joue .p-services i, .joue .p-btn:not(.sec) { animation: none; }
  .joue .p-camion { animation: pl-rouler 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both; }

  /* ---------- 6. Mouvement ----------
     Une seule séquence à l'arrivée (la soumission se pose, ses lignes s'écrivent), puis des réponses aux gestes. */
  @media (prefers-reduced-motion: no-preference) {
    @keyframes ecrire { from { opacity: 0; translate: -8px 0; } }
    @keyframes ouvrir-modale { from { opacity: 0; transform: translateY(16px) scale(0.985); } }
    @keyframes apparaitre { from { opacity: 0; } }

    .js .f-panneau.actif .f-lignes li, .js .f-panneau.actif .f-total { animation: ecrire 0.5s var(--aise) calc(var(--i, 0) * 55ms) both; }

    .js [data-entree] { opacity: 0; translate: 0 18px; transition: opacity 0.9s var(--aise) var(--attente, 0s), translate 0.9s var(--aise) var(--attente, 0s); }
    .js [data-entree].vu { opacity: 1; translate: 0 0; }

    dialog.modale[open] { animation: ouvrir-modale 0.35s var(--aise); }
    dialog.modale[open]::backdrop { animation: apparaitre 0.25s ease; }
    .menu-mobile { animation: apparaitre 0.2s ease; }

    @supports (interpolate-size: allow-keywords) {
      :root { interpolate-size: allow-keywords; }
      .faq-liste details::details-content { block-size: 0; overflow: clip; transition: block-size 0.4s var(--aise), content-visibility 0.4s allow-discrete; }
      .faq-liste details[open]::details-content { block-size: auto; }
    }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  }

  /* ---------- 7. Écrans étroits ---------- */
  @media (max-width: 1120px) {
    .menu, .barre > .bouton { display: none; }
    .js .menu-bouton { display: inline-flex; }
    html:not(.js) .barre > .bouton { display: inline-flex; }
  }
  @media (max-width: 940px) {

    .deroulement, .apropos, .faq, .contact { grid-template-columns: minmax(0, 1fr); }
    .pile { justify-self: start; max-width: 520px; }
    .tete { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .contrat, .faq-tete { position: static; }
    .portrait { max-width: 420px; }
    .pied-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .pied-grille > :first-child { grid-column: 1 / -1; }
  }
  @media (max-width: 720px) {
    body { font-size: 1rem; }
    html { scroll-padding-top: 64px; }
    .barre { min-height: 64px; }
    .seg label { font-size: 0.875rem; padding-inline: 4px; }
    .pile .dessous { transform: translate(8px, 10px) rotate(1.6deg); }
    .compare-section .tete { margin-bottom: 28px; }

    .etapes li { grid-template-columns: 44px minmax(0, 1fr); }
    .coordonnees div { grid-template-columns: 92px minmax(0, 1fr); }
    .faq-liste summary { font-size: 1.0625rem; }
    .faq-liste details p { padding-right: 0; }
    .pied-grille { grid-template-columns: minmax(0, 1fr); }
    .pied { padding-bottom: 84px; }

    dialog.modale { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }

    .js .barre-mobile {
      display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
      padding: 10px var(--marge) calc(10px + env(safe-area-inset-bottom));
      background: rgba(255, 255, 255, 0.92); box-shadow: 0 -1px 0 var(--trait);
      -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
      transform: translateY(110%); visibility: hidden; transition: transform 0.4s var(--aise), visibility 0s 0.4s;
    }
    .js .barre-mobile.visible { transform: none; visibility: visible; transition: transform 0.4s var(--aise), visibility 0s; }
    .barre-mobile .bouton { width: 100%; min-height: 50px; }
  }
  @media (max-width: 560px) { html:not(.js) .barre > .bouton { display: none; } }
  @media (max-width: 380px) {
    .soumission { padding: 20px; }
    .f-lignes li { gap: 6px; }
    .f-lignes i { min-width: 0; }
  }

  /* ==========================================================================
     8. Accueil en trois dimensions   9. Modèles   10. Shopify   11. Sur mesure
     12. Page d'un modèle             13. Mouvement et écrans étroits
     ========================================================================== */

  /* ---------- 8. Accueil : un site s'assemble, couche par couche ---------- */
  /* L'en-tête se pose sur la scène sombre, puis reprend ses couleurs une fois la scène passée */
  .entete-site.sur-sombre { background: transparent; color: #fff; }
  .entete-site.sur-sombre.decolle {
    background: rgba(15, 23, 48, 0.78); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  }
  .entete-site.sur-sombre .menu a { color: rgba(255, 255, 255, 0.72); }
  .entete-site.sur-sombre .menu a:hover { color: #fff; }
  .entete-site.sur-sombre .menu a::after { background: #fff; }
  .entete-site.sur-sombre .menu-bouton { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
  .entete-site.sur-sombre.menu-ouvert { background: var(--papier); color: var(--encre); }
  .entete-site.sur-sombre.menu-ouvert .menu-bouton { border-color: var(--encre); color: var(--encre); }
  .entete-site.sur-sombre :focus-visible { outline-color: var(--bleu-pale); }
  html:not(.js) .entete-site.sur-sombre { position: relative; }

  .scene-accueil {
    position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center;
    min-height: min(100svh, 940px); margin-top: -72px; background: var(--encre); color: #fff;
  }
  .accueil-texte { position: relative; z-index: 2; max-width: 600px; padding-block: 148px 104px; }
  .accueil-texte h1 { font-size: clamp(2.375rem, 4.15vw, 3.875rem); line-height: 1.04; letter-spacing: -0.028em; white-space: nowrap; }
  .ligne { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
  .ligne > span { display: block; }
  .accueil-texte > p { margin-top: clamp(24px, 2.6vw, 34px); max-width: 30rem; font-size: 1.125rem; line-height: 1.6; color: #b8c0d6; }
  .accueil-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3vw, 40px); }
  .bouton.fantome { background: transparent; border-color: rgba(255, 255, 255, 0.34); color: #fff; }
  .bouton.fantome:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }
  .bouton.contour { background: transparent; border-color: var(--encre); color: var(--encre); }
  .bouton.contour:hover { background: var(--encre); color: #fff; }

  /* La scène : une caméra inclinée regarde une page posée sur un plan de travail.
     Toutes les dimensions sont en em, pour que la scène entière suive la taille de l'écran. */
  .plateau {
    position: absolute; z-index: 1; inset: 0 0 0 44%; font-size: clamp(8px, 0.84vw, 14.5px);
    perspective: 150em; perspective-origin: 50% 46%; pointer-events: none;
    transform: translateY(calc(var(--d, 0) * 9vh));
  }
  .camera, .orbite, .derive, .plan, .bloc { transform-style: preserve-3d; }
  .camera { position: absolute; left: 60%; top: 51%; width: 0; height: 0; transform: rotateX(calc(57deg - var(--d, 0) * 8deg - var(--my, 0) * 2.5deg)); }
  .orbite { transform: rotateZ(calc(-33deg + var(--mx, 0) * 4deg)); }
  .sol {
    position: absolute; left: -90em; top: -90em; width: 180em; height: 180em;
    background:
      radial-gradient(closest-side, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 62%),
      repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 4em),
      repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 4em);
    -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 78%); mask-image: radial-gradient(closest-side, #000 30%, transparent 78%);
  }
  .sol::after {
    content: ""; position: absolute; left: 69em; top: 63em; width: 44em; height: 58em; border-radius: 0.6em;
    background: rgba(4, 8, 22, 0.75); filter: blur(3.2em); transform: translate(2.4em, 3.2em);
  }
  .plan {
    position: absolute; left: -22em; top: -29em; width: 44em; height: 58em; border-radius: 0.6em;
    background: #eceef3; transform: translateZ(0.6em);
  }
  .bloc { position: absolute; left: var(--x); top: var(--y); width: var(--l); height: var(--h); }
  .plateau .trace, .plateau .ombre, .plateau .couche { position: absolute; inset: 0; border-radius: 0.45em; }
  .trace { border: 1px dashed rgba(47, 91, 255, 0.6); transform: translateZ(0.05em); }
  .ombre {
    background: rgba(15, 23, 48, 0.3); filter: blur(calc(0.4em + var(--z) * 0.2em));
    transform: translate3d(calc(var(--z) * 0.3em), calc(var(--z) * 0.4em), 0.1em);
  }
  .plateau .couche {
    overflow: hidden; background: #fff; color: var(--encre); box-shadow: 0 0 0 1px rgba(15, 23, 48, 0.06);
    translate: 0 0 calc(var(--z) * (1 + var(--d, 0) * 2.2) * 1em);
  }
  .plateau .couche::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.9) 50%, transparent 62%); background-size: 300% 100%;
  }
  .cote {
    position: absolute; left: -12.5em; top: var(--y); width: 11em; display: flex; align-items: center; gap: 0.8em;
    justify-content: flex-end; font-size: 0.95em; line-height: 1; color: rgba(255, 255, 255, 0.5); white-space: nowrap; transform: translateZ(-0.5em);
  }
  .cote::after { content: ""; width: 2.4em; height: 1px; background: rgba(255, 255, 255, 0.3); }

  /* Le petit site qui s'assemble */
  .c-nav { display: flex; align-items: center; gap: 1.4em; padding: 0 1.4em; font-size: 0.85em; color: var(--gris); }
  .c-nav b { display: flex; align-items: center; gap: 0.6em; margin-right: auto; font-size: 1.2em; font-weight: 600; color: var(--encre); }
  .c-nav b::before { content: ""; width: 1.1em; height: 1.1em; border-radius: 0.3em; background: var(--bleu); }
  .c-nav i { font-style: normal; padding: 0.55em 1.1em; border: 1px solid var(--encre); border-radius: 99em; color: var(--encre); font-weight: 500; }
  .c-titre { padding: 1.8em 1.6em; }
  .c-titre strong { display: block; font: 500 2.25em/1.08 var(--titre); letter-spacing: -0.02em; }
  .c-titre u { display: block; height: 0.5em; margin-top: 1.5em; border-radius: 1em; background: #dfe3ea; }
  .c-titre u + u { width: 68%; margin-top: 0.7em; }
  .c-photo svg { display: block; width: 100%; height: 100%; }
  .c-bouton { display: grid; place-items: center; background: var(--bleu); color: #fff; font-size: 0.9em; font-weight: 600; box-shadow: none; }
  .c-carte { padding: 1.3em; font-size: 0.85em; color: var(--gris); line-height: 1.35; }
  .c-carte::before { content: ""; display: block; width: 2.2em; height: 2.2em; margin-bottom: 1em; border-radius: 0.55em; background: #e7ecff; }
  .c-carte b { display: block; margin-bottom: 0.3em; font-size: 1.2em; font-weight: 600; color: var(--encre); }
  .c-bande { display: flex; align-items: center; justify-content: space-between; padding: 0 1.8em; background: var(--encre); color: #fff; }
  .c-bande strong { font: 500 1.5em/1.1 var(--titre); letter-spacing: -0.015em; }
  .c-bande i { font-style: normal; padding: 0.6em 1.2em; border-radius: 99em; background: #fff; color: var(--encre); font-size: 0.85em; font-weight: 600; }
  .c-pied { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2em; padding: 1.6em 1.8em; background: #f6f7fa; }
  .c-pied u { display: block; height: 0.45em; margin-bottom: 0.7em; border-radius: 1em; background: #d5d9e2; }
  .c-pied u:first-child { width: 60%; background: #aab1c0; }

  /* ---------- 9. Modèles : de grands aperçus, un par rangée ---------- */
  .modeles { display: grid; gap: clamp(72px, 9vw, 136px); }
  .modele { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
  .modele:nth-child(even) { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .modele:nth-child(even) .vitrine { order: 2; }
  .categorie { font-size: 0.9375rem; color: var(--gris); }
  .modele h3 { margin-top: 6px; font: 500 clamp(2.25rem, 4vw, 3.25rem)/1.02 var(--titre); letter-spacing: -0.025em; }
  .modele h3 + p { margin-top: 16px; color: var(--gris); }
  .traits { list-style: none; padding: 0; margin-top: 22px; border-top: 1px solid var(--encre); }
  .traits li { padding-block: 11px; border-bottom: 1px solid var(--trait); font-size: 0.9375rem; }
  .prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 24px; font-size: 0.9375rem; color: var(--gris); }
  .prix strong { font: 500 clamp(2.25rem, 3.4vw, 2.875rem)/1 var(--titre); letter-spacing: -0.03em; color: var(--encre); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
  .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
  .actions .lien, .actions .lien-bouton { font-size: 0.9375rem; font-weight: 500; }

  /* Vitrine : la scène teintée où l'aperçu est mis en valeur, sur ordinateur et sur téléphone */
  .vitrine {
    position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10.4; border-radius: 12px;
    background: var(--s-scene); color: inherit; text-decoration: none; isolation: isolate;
  }
  .t-garage { --s-scene: #1d1f23; }
  .t-salon { --s-scene: #eadccf; }
  .t-boutique { --s-scene: #dbe8dc; }
  .t-plombier { --s-scene: #c9cbc9; }
  .ecran {
    position: absolute; left: 6.5%; top: 9.5%; width: 75%; bottom: -1px; overflow: hidden; border-radius: 10px 10px 0 0;
    background: #fff; box-shadow: 0 34px 70px -24px rgba(8, 12, 28, 0.5), 0 0 0 1px rgba(8, 12, 28, 0.07);
    transition: transform 0.9s var(--aise);
  }
  .ecran::before {
    content: ""; display: block; height: 26px;
    background: radial-gradient(circle at 16px 13px, #c3c8d3 3.5px, transparent 4px), radial-gradient(circle at 30px 13px, #c3c8d3 3.5px, transparent 4px), radial-gradient(circle at 44px 13px, #c3c8d3 3.5px, transparent 4px), #eef0f4;
  }
  .ecran img, .telephone img { display: block; width: 100%; height: auto; max-width: none; transition: transform 3.4s cubic-bezier(0.3, 0, 0.2, 1); }
  .telephone {
    position: absolute; right: 5.5%; bottom: -7%; width: 18.5%; aspect-ratio: 390 / 780; overflow: hidden;
    border: 5px solid #10141f; border-radius: 22px; background: #10141f;
    box-shadow: 0 30px 60px -20px rgba(8, 12, 28, 0.55); transition: transform 0.9s var(--aise);
  }
  .telephone img { border-radius: 16px; }
  .curseur {
    position: absolute; left: 0; top: 0; z-index: 3; display: none; place-items: center; width: 92px; height: 92px; margin: -46px 0 0 -46px;
    border-radius: 50%; background: #fff; color: var(--encre); font-size: 0.875rem; font-weight: 600; pointer-events: none;
    translate: var(--cx, 50%) var(--cy, 50%); scale: 0; transition: scale 0.35s var(--aise);
    box-shadow: 0 12px 30px -10px rgba(8, 12, 28, 0.5);
  }
  @media (hover: hover) and (pointer: fine) {
    a.vitrine:hover .ecran { transform: translateY(-1.4%); }
    a.vitrine:hover .telephone { transform: translateY(-4%); }
    a.vitrine:hover .ecran img { transform: translateY(-24%); }
    a.vitrine:hover .telephone img { transform: translateY(-30%); }
    .js a.vitrine { cursor: none; }
    .js a.vitrine .curseur { display: grid; }
    .js a.vitrine:hover .curseur { scale: 1; }
  }
  .suite { margin-top: clamp(56px, 7vw, 96px); padding-top: 22px; border-top: 1px solid var(--trait); color: var(--gris); max-width: 62ch; }

  /* ---------- 10. Shopify ---------- */
  .shopify .vitrine { aspect-ratio: 21 / 9.6; }
  .shopify .ecran { left: 9%; width: 62%; top: 11%; }
  .shopify .telephone { right: 10%; width: 13.5%; bottom: -9%; }
  .faits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr); gap: 24px clamp(24px, 3.4vw, 48px); margin-top: clamp(28px, 3.4vw, 44px); align-items: start; }
  .fait { padding-top: 16px; border-top: 1px solid var(--encre); }
  .fait b { display: block; font-weight: 600; letter-spacing: -0.012em; }
  .fait span { display: block; margin-top: 4px; font-size: 0.9375rem; color: var(--gris); }
  .faits .achat { padding-top: 16px; border-top: 1px solid var(--encre); }
  .faits .prix { margin-top: 0; }
  .faits .actions { margin-top: 18px; }

  /* ---------- 11. Sur mesure ---------- */
  .sur-mesure { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px clamp(40px, 8vw, 128px); align-items: center; }
  .sur-mesure .tete-seule > p { margin-top: clamp(20px, 2.6vw, 28px); max-width: 42ch; font-size: 1.125rem; color: var(--gris); }
  .grille-prix { margin-top: clamp(28px, 3.6vw, 44px); border-top: 1px solid var(--encre); }
  .grille-prix div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline; padding-block: 16px; border-bottom: 1px solid var(--trait); }
  .grille-prix dt { font-weight: 600; letter-spacing: -0.012em; }
  .grille-prix dd { font-size: 0.9375rem; color: var(--gris); }
  .grille-prix dd.montant { grid-column: 2; grid-row: 1; color: var(--encre); white-space: nowrap; }
  .grille-prix dd.montant strong { font: 500 1.5rem/1 var(--titre); letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
  .grille-prix dd.detail { grid-column: 1 / -1; max-width: 46ch; }
  .sur-mesure .bouton { margin-top: 28px; }
  .section:not(.bureau) .feuille.bordee { box-shadow: 0 0 0 1px var(--trait), var(--ombre-feuille); }

  /* Modèle choisi, rappelé dans le formulaire */
  .choix-modele { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 8px; background: var(--bureau); font-size: 0.9375rem; }
  .choix-modele b { font-weight: 600; }
  .choix-modele button { flex: none; font-size: 0.875rem; }

  /* ---------- 12. Page d'un modèle ---------- */
  .produit-tete { background: var(--bureau); padding-block: clamp(28px, 4vw, 48px) clamp(64px, 8vw, 112px); }
  .fil { font-size: 0.9375rem; color: var(--gris); }
  .fil a { color: inherit; }
  .produit-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end; margin-top: clamp(20px, 3vw, 36px); }
  .produit-intro h1 { font-size: clamp(3.25rem, 9vw, 7.5rem); line-height: 0.94; letter-spacing: -0.035em; }
  .produit-intro h1 + p { margin-top: clamp(16px, 2vw, 24px); max-width: 34ch; font-size: 1.1875rem; line-height: 1.5; color: #2b3450; }
  .produit-achat .prix { margin-top: 0; }
  .produit-achat .note { margin-top: 14px; max-width: 40ch; font-size: 0.875rem; color: var(--gris); }

  .banc { margin-top: clamp(36px, 5vw, 64px); }
  .banc-outils { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 16px; }
  .banc-outils .seg { width: min(100%, 300px); background: #dfe2e9; }
  .banc-outils .lien { font-size: 0.9375rem; font-weight: 500; }
  .vitrine.vivante { aspect-ratio: auto; padding: clamp(16px, 3.4vw, 48px) clamp(12px, 3.4vw, 48px) 0; display: grid; justify-items: center; }
  .appareil {
    position: relative; width: 100%; max-width: 1120px; overflow: hidden; border-radius: 10px 10px 0 0; background: #fff;
    box-shadow: 0 34px 70px -24px rgba(8, 12, 28, 0.5), 0 0 0 1px rgba(8, 12, 28, 0.07);
    transition: max-width 0.7s var(--aise), border-radius 0.5s;
  }
  .appareil-barre { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #eef0f4; font-size: 0.8125rem; color: var(--gris); }
  .appareil-barre i { width: 8px; height: 8px; border-radius: 50%; background: #c3c8d3; }
  .appareil-barre span { margin-left: 10px; }
  .appareil-vue { position: relative; height: var(--hauteur, min(72vh, 720px)); overflow: hidden; background: var(--s-fond, #fff); }
  .appareil iframe { display: block; width: 100%; height: 100%; border: 0; transform-origin: 0 0; }
  .js .appareil iframe { width: var(--largeur-logique, 100%); height: calc(100% / var(--echelle, 1)); transform: scale(var(--echelle, 1)); }
  .banc[data-vue="mobile"] .appareil { max-width: 398px; border: 6px solid #10141f; border-bottom: 0; border-radius: 30px 30px 0 0; background: #10141f; }
  .banc[data-vue="mobile"] .appareil-barre { display: none; }
  .banc[data-vue="mobile"] .appareil-vue { border-radius: 22px 22px 0 0; }
  /* État de chargement de l'aperçu */
  .squelette { position: absolute; inset: 0; z-index: 1; display: grid; align-content: start; gap: 18px; padding: 8% 7%; background: #fff; transition: opacity 0.5s, visibility 0s 0.5s; }
  .squelette i { display: block; height: 16px; border-radius: 8px; background: linear-gradient(90deg, #eceef3 25%, #f6f7fa 45%, #eceef3 65%); background-size: 300% 100%; }
  .squelette i:nth-child(1) { width: 34%; height: 44px; }
  .squelette i:nth-child(2) { width: 62%; }
  .squelette i:nth-child(3) { width: 48%; }
  .squelette i:nth-child(4) { width: 100%; height: 38%; min-height: 160px; margin-top: 12px; }
  .appareil.charge .squelette { opacity: 0; visibility: hidden; }

  .apercu { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px clamp(40px, 8vw, 128px); align-items: start; }
  .apercu h2 + p { margin-top: clamp(20px, 2.6vw, 30px); max-width: 46ch; font-size: 1.1875rem; line-height: 1.55; color: #2b3450; }
  .apercu p + p { margin-top: 16px; max-width: 46ch; color: var(--gris); }
  .contenu-modele h3, .fiche h3 { font: 600 1rem/1.3 var(--corps); letter-spacing: -0.012em; }
  .contenu-modele ol { list-style: none; padding: 0; margin-top: 14px; counter-reset: partie; border-top: 1px solid var(--encre); }
  .contenu-modele li { display: grid; grid-template-columns: 40px minmax(0, 1fr); padding-block: 13px; border-bottom: 1px solid var(--trait); counter-increment: partie; }
  .contenu-modele li::before { content: counter(partie); font: 500 1.125rem/1.4 var(--titre); color: var(--bleu); font-variant-numeric: lining-nums; }
  .inclus { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px clamp(40px, 8vw, 128px); align-items: start; }
  .inclus .contrat { position: static; }
  .fiche dl { margin-top: 14px; border-top: 1px solid var(--encre); }
  .fiche dl div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid #cfd4de; }
  .fiche dt { font-size: 0.9375rem; color: var(--gris); }
  .fiche dd { font-weight: 500; }
  .fiche h2 { margin-bottom: clamp(28px, 3.6vw, 44px); }
  .commande { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
  .commande h2 + p { margin-top: 20px; max-width: 44ch; font-size: 1.125rem; color: #b8c0d6; }
  .sombre .prix { color: #b8c0d6; }
  .sombre .prix strong { color: #fff; }
  .sombre .actions .lien { color: #fff; }
  .autres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
  .autre { color: inherit; text-decoration: none; }
  .autre .vitrine { aspect-ratio: 16 / 9; }
  .autre .ecran { left: 9%; width: 82%; top: 12%; }
  .autre-legende { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 14px; }
  .autre-legende b { font: 500 1.5rem/1.1 var(--titre); letter-spacing: -0.015em; }
  .autre-legende span { font-size: 0.9375rem; color: var(--gris); }
  @media (hover: hover) and (pointer: fine) {
    .autre:hover .ecran { transform: translateY(-2%); }
    .autre:hover .ecran img { transform: translateY(-18%); }
  }

  /* ---------- 13. Mouvement ---------- */
  @media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }
    ::view-transition-group(*) { animation-duration: 0.55s; animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); }

    @keyframes lever { from { translate: 0 108%; } }
    @keyframes monter { from { opacity: 0; translate: 0 16px; } }
    @keyframes tracer { from { opacity: 0; clip-path: inset(0 100% 0 0); } }
    @keyframes deposer { from { opacity: 0; translate: 0 -1.5em 26em; } }
    @keyframes ombrer { from { opacity: 0; scale: 1.6; } }
    @keyframes reflet { 0% { opacity: 0; background-position: 100% 0; } 25% { opacity: 1; } 100% { opacity: 0; background-position: 0 0; } }
    @keyframes deriver { from { rotate: z -2.4deg; } to { rotate: z 2.4deg; } }
    @keyframes miroiter { to { background-position: -300% 0; } }

    .js .ligne > span { animation: lever 1.1s var(--aise) calc(0.15s + var(--i, 0) * 0.12s) backwards; }
    .js .accueil-texte > p { animation: monter 1s var(--aise) 0.55s backwards; }
    .js .accueil-actions { animation: monter 1s var(--aise) 0.7s backwards; }

    .js .trace, .js .cote { animation: tracer 0.8s var(--aise) calc(0.2s + var(--i, 0) * 70ms) backwards; }
    .js .plateau .couche { animation: deposer 1.2s cubic-bezier(0.16, 1, 0.3, 1) calc(0.95s + var(--i, 0) * 130ms) backwards; }
    .js .ombre { animation: ombrer 1.2s cubic-bezier(0.16, 1, 0.3, 1) calc(0.95s + var(--i, 0) * 130ms) backwards; }
    .js .plateau .couche::after { animation: reflet 1.5s ease calc(2.5s + var(--i, 0) * 90ms) backwards; }
    .js .derive { animation: deriver 24s ease-in-out infinite alternate; }
    .js .scene-accueil.hors-champ .derive { animation-play-state: paused; }

    .squelette i { animation: miroiter 1.6s linear infinite; }
    .bouton.aimante { transition: background-color 0.2s, color 0.2s, border-color 0.2s, translate 0.5s var(--aise); translate: var(--ax, 0) var(--ay, 0); }
  }

  /* ---------- Écrans étroits ---------- */
  @media (max-width: 1120px) {
    .modele { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
    .modele:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
    .faits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .autres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .faits .achat { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
    .faits .actions { margin-top: 0; }
  }
  @media (max-width: 940px) {
    .scene-accueil { display: block; min-height: 0; }
    .plateau { position: relative; inset: auto; height: 78vw; max-height: 560px; font-size: clamp(5.2px, 1.42vw, 11px); perspective-origin: 50% 40%; }
    .camera { left: 50%; top: 46%; }
    .cote { display: none; }
    .accueil-texte { max-width: none; padding-block: 120px 8px; }
    .accueil-texte h1 { white-space: normal; font-size: clamp(2.125rem, 8.6vw, 3.5rem); }
    .modele, .modele:nth-child(even), .sur-mesure, .produit-intro, .apercu, .inclus, .commande { grid-template-columns: minmax(0, 1fr); }
    .modele:nth-child(even) .vitrine { order: 0; }
    .modele { align-items: start; }
    .pile { justify-self: start; max-width: 520px; }
    .shopify .vitrine { aspect-ratio: 16 / 10.4; }
    .shopify .ecran { left: 6.5%; width: 75%; top: 9.5%; }
    .shopify .telephone { right: 5.5%; width: 18.5%; bottom: -7%; }
  }
  @media (max-width: 720px) {
    .scene-accueil { margin-top: -64px; }
    .plateau { height: 86vw; }
    .accueil-texte { padding-top: 96px; }
    .accueil-actions .bouton { width: 100%; }
    .vitrine { border-radius: 10px; aspect-ratio: 4 / 3.1; }
    .shopify .vitrine { aspect-ratio: 4 / 3.1; }
    .ecran { left: 5%; width: 82%; top: 8%; border-radius: 7px 7px 0 0; }
    .shopify .ecran { left: 5%; width: 82%; top: 8%; }
    .ecran::before { height: 16px; background: radial-gradient(circle at 10px 8px, #c3c8d3 2.4px, transparent 3px), radial-gradient(circle at 19px 8px, #c3c8d3 2.4px, transparent 3px), radial-gradient(circle at 28px 8px, #c3c8d3 2.4px, transparent 3px), #eef0f4; }
    .telephone, .shopify .telephone { right: 4%; width: 24%; bottom: -9%; border-width: 3px; border-radius: 14px; }
    .telephone img { border-radius: 10px; }
    .faits { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .fait { padding-block: 14px; }
    .faits .achat { padding-top: 22px; }
    .actions .bouton { width: 100%; }
    .autres { grid-template-columns: minmax(0, 1fr); }
    .fiche dl div { grid-template-columns: 112px minmax(0, 1fr); }
    .vitrine.vivante { padding-inline: 10px; }
    .banc-outils .seg { width: 100%; }
  }

  /* Comparateur : l'après est une vraie capture du modèle Plombier */
  .compare .apres-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; max-width: none; }
  .etiquette-compare { position: absolute; top: 14px; z-index: 3; padding: 5px 11px; border-radius: 6px; font: 600 0.8125rem/1 var(--corps); pointer-events: none; transition: opacity 0.3s; }
  .e-avant { left: 14px; background: #ffe600; color: #111; }
  .e-apres { right: 14px; background: var(--encre); color: #fff; }
  .compare-pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-top: 18px; }
  .compare-pied .compare-note { margin-top: 0; }
  .compare-pied .lien { color: #fff; font-size: 0.9375rem; font-weight: 500; }
