/* ==========================================================
   C'est Porteur ? — feuille de style
   Esthétique « document de chantier » : papier calque quadrillé,
   bleu marine, annotations au crayon de charpentier rouge.
   ========================================================== */

:root {
  --bleu: #1B3FAE;
  --bleu-fonce: #122b78;
  --rouge: #D33A2C;          /* crayon de charpentier */
  --rouge-texte: #B92E22;    /* même rouge, assombri pour les petits textes (AA) */
  --papier: #F5F2EA;
  --papier-2: #ECE7DB;
  --encre: #141B33;
  --gris: #5b6175;
  --trait: rgba(27, 63, 174, .18);
  --grille: rgba(27, 63, 174, .07);

  --f-titre: "Archivo", "Arial Narrow", sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;

  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background-color: var(--papier);
  background-image:
    linear-gradient(var(--grille) 1px, transparent 1px),
    linear-gradient(90deg, var(--grille) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--encre);
  font-family: var(--f-titre);
  font-stretch: 100%;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
em { font-style: normal; color: var(--rouge-texte); }
strong { font-weight: 700; }

h1, h2, h3 {
  font-family: var(--f-titre);
  font-stretch: 75%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--bleu);
  text-wrap: balance;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.sr-only {  position: absolute; width: 1px; height: 1px;  overflow: hidden; clip-path: inset(50%); white-space: nowrap;}
.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--bleu); color: var(--papier); padding: 8px 12px; z-index: 100;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px dashed var(--rouge); outline-offset: 3px; }
::selection { background: var(--bleu); color: var(--papier); }
input, textarea { caret-color: var(--rouge); }

.todo {
  font-family: var(--f-mono);
  font-size: .8em;
  background: #fff3a8;
  color: var(--encre);
  padding: 0 .3em;
}

/* ---------- Logo (wordmark + « ? ») ---------- */
.logo, .cart-logo {
  display: inline-flex;
  align-items: flex-start;
  text-decoration: none;
  color: var(--bleu);
  line-height: 1;
}
.logo-txt {
  font-family: var(--f-titre);
  font-stretch: 75%;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -.01em;
  line-height: 1;
}
/* le « ? » dépasse sous la ligne de base : le plomb pend */
.logo-q {
  width: .62em;
  height: 1em;
  font-size: 40px;
  margin-left: 2px;
  margin-top: -4px;
  margin-bottom: -10px;
  color: var(--rouge);
  overflow: visible;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 234, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--trait);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-family: var(--f-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--encre);
}
.nav a:hover { color: var(--rouge-texte); }
.nav .nav-cta {
  background: var(--bleu); color: var(--papier);
  padding: 10px 14px;
}
.nav .nav-cta:hover { background: var(--rouge-texte); color: var(--papier); }
.nav-toggle {
  display: none;
  font-family: var(--f-mono); font-size: 13px; text-transform: uppercase;
  background: none; border: 1.5px solid var(--bleu); color: var(--bleu);
  padding: 0 14px; min-height: 44px; cursor: pointer;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  padding: 16px 22px;
  border: 1.5px solid var(--bleu);
  transition: background .15s, color .15s, transform .15s;
}
.btn-primary { background: var(--bleu); color: var(--papier); }
.btn-primary:hover { background: var(--rouge-texte); border-color: var(--rouge-texte); }
.btn-ghost { color: var(--bleu); }
.btn-ghost:hover { background: var(--bleu); color: var(--papier); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(36px, 5.5vw, 80px) 0 clamp(16px, 3vw, 40px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.tag {
  font-family: var(--f-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--rouge-texte);
  margin: 0 0 20px;
}
.hero h1 { font-size: clamp(42px, 6vw, 80px); }
.lead { font-size: clamp(18px, 1.7vw, 21px); max-width: 38em; margin: 24px 0 0; }
.hero .lead { margin-top: clamp(32px, 3.4vw, 44px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta-note { font-family: var(--f-mono); font-size: 13px; color: var(--gris); margin: 14px 0 0; }

/* les deux portes : Visite locale / Copilote France */
.portes { list-style: none; padding: 0; margin: 28px 0 0; max-width: 38em; border-top: 1px solid var(--trait); }
.portes li { padding: 10px 0; border-bottom: 1px solid var(--trait); font-size: 16px; }
.portes a { font-weight: 700; color: var(--bleu); text-decoration: none; white-space: nowrap; }
.portes a:hover { color: var(--rouge-texte); text-decoration: underline; }

/* mot entouré au crayon */
.entoure { position: relative; white-space: nowrap; }
.cercle {
  position: absolute;
  left: -7%; top: -20%;
  width: 114%; height: 142%;
  overflow: visible;
  pointer-events: none;
}
.cercle path {
  fill: none;
  stroke: var(--rouge);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: tracer 1.2s .5s ease-out forwards;
}
@keyframes tracer { to { stroke-dashoffset: 0; } }

/* le « ? » fil à plomb sert de ponctuation au titre :
   la boucle a la hauteur des capitales, le plomb pend sous la ligne */
.titre-fin { white-space: nowrap; }
.titre-q {
  display: inline-block;
  position: relative;
  width: .62em; height: .72em;
  margin-left: .2em;
  color: var(--rouge);
}
.titre-q svg {
  position: absolute;
  left: -.08em; top: -.08em;
  width: .85em; height: 1.33em;
  overflow: visible;
}
.titre-q .trace {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: tracer .8s 1.5s ease-out forwards;
}
.titre-q .balancier {
  transform-box: view-box;
  transform-origin: 34px 60px;
  animation: balance 3.6s 2.1s ease-in-out both;
}
@keyframes balance {
  0%   { transform: rotate(9deg); }
  25%  { transform: rotate(-6deg); }
  50%  { transform: rotate(3.5deg); }
  70%  { transform: rotate(-1.5deg); }
  85%  { transform: rotate(.5deg); }
  100% { transform: rotate(0); }
}

.annot {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.4;
  color: var(--gris);
  white-space: nowrap;
}
.annot b { color: var(--rouge-texte); font-weight: 400; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(34px, 5vw, 60px); }

/* Questions */
.questions-lead { margin: calc(-1 * clamp(12px, 2vw, 24px)) 0 clamp(28px, 4vw, 44px); max-width: 40em; }
.q-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1.5px solid var(--bleu);
}
.q-list li {
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.3;
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--trait);
  display: flex; gap: 16px; align-items: baseline;
}
.q-list li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--trait); }
.q-ref { font-family: var(--f-mono); font-size: 12px; color: var(--rouge-texte); flex: none; }
.q-txt { display: flex; flex-direction: column; align-items: flex-start; }
.q-lien {
  display: inline-flex; align-items: center;
  min-height: 44px; margin: 4px 0 -12px;
  font-family: var(--f-mono); font-size: 13px; line-height: 1.4;
  color: var(--bleu);
  text-decoration: underline; text-decoration-color: var(--trait);
}
.q-lien:hover { color: var(--rouge-texte); text-decoration-color: currentColor; }
.aside-note { font-family: var(--f-mono); font-size: 15px; margin-top: 28px; color: var(--gris); }
.rouge { color: var(--rouge-texte); }

/* Démarche */
.demarche { background: var(--papier-2); border-block: 1px solid var(--trait); }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px);
  counter-reset: none;
}
.steps li { position: relative; padding-top: 28px; border-top: 1.5px solid var(--bleu); }
.step-n {
  font-family: var(--f-titre); font-stretch: 75%; font-weight: 800;
  font-size: 80px; line-height: .8; color: var(--rouge);
  display: block; margin-bottom: 18px;
}
.steps h3 { font-size: 30px; margin-bottom: 12px; }
.steps p { margin: 0; }

/* Offres : un devis clair, deux colonnes égales */
.choix {
  list-style: none; margin: calc(-1 * clamp(12px, 2vw, 24px)) 0 0; padding: 0;
  border-top: 1.5px solid var(--bleu);
  max-width: 54em;
}
.choix li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 0 24px; padding: 6px 0;
  border-bottom: 1px solid var(--trait);
  font-size: clamp(18px, 1.8vw, 21px);
}
.choix a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-stretch: 75%; font-weight: 800; font-size: clamp(22px, 2.2vw, 27px);
  color: var(--bleu); text-decoration: none; white-space: nowrap;
}
.choix a:hover { color: var(--rouge-texte); text-decoration: underline; }
.choix a b { font-family: var(--f-mono); font-weight: 400; font-size: 15px; color: var(--encre); margin-left: 10px; }
.choix-note { color: var(--gris); font-size: 16px; margin: 14px 0 clamp(32px, 4.5vw, 52px); }

.devis {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px; align-items: stretch;
}
.offre {
  background: var(--papier);
  border: 1.5px solid var(--bleu);
  padding: clamp(22px, 2.6vw, 34px);
  display: flex; flex-direction: column;
}
.offre-quand { font-family: var(--f-mono); font-size: 13px; color: var(--rouge-texte); margin: 0 0 10px; }
.offre h3 { font-size: clamp(34px, 3.6vw, 46px); margin-bottom: 10px; }
.offre-promesse { margin: 0 0 22px; }
.offre-prix {
  margin: 0; padding-top: 18px;
  display: flex; align-items: baseline; gap: 10px; white-space: nowrap;
  border-top: 1px dashed var(--trait);
}
.prix-n {
  font-stretch: 75%; font-weight: 800;
  font-size: clamp(52px, 5vw, 64px); line-height: 1;
  color: var(--bleu);
  font-variant-numeric: tabular-nums;
}
.prix-u { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.offre-ancre { margin: 8px 0 22px; font-size: 16px; }
.tirets { list-style: none; padding: 0; margin: 0 0 24px; font-size: 16px; }
.tirets li { padding: 5px 0 5px 22px; position: relative; }
.tirets li::before { content: "—"; position: absolute; left: 0; color: var(--rouge); }
.offre-action {
  margin-top: auto;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding-top: 22px; border-top: 1px dashed var(--trait);
}
.offre-aide { margin: 0; font-size: 14px; line-height: 1.5; color: var(--gris); max-width: 36em; }

.offre-details { margin-top: 22px; border-top: 1px solid var(--trait); }
.offre-details summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px;
  font-family: var(--f-mono); font-size: 13px; color: var(--bleu);
}
.offre-details summary::-webkit-details-marker { display: none; }
.offre-details summary::after {
  content: ""; width: 12px; height: 12px; flex: none;
  background:
    linear-gradient(var(--bleu), var(--bleu)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--bleu), var(--bleu)) center / 1.5px 12px no-repeat;
}
.offre-details[open] summary::after { background: linear-gradient(var(--bleu), var(--bleu)) center / 12px 1.5px no-repeat; }
.offre-details summary:hover { color: var(--rouge-texte); }
.details-corps { padding: 4px 0 8px; font-size: 16px; }
.details-corps h4 {
  font-family: var(--f-mono); font-weight: 700;
  font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--bleu); margin: 18px 0 6px;
}
.details-corps h4:first-child { margin-top: 4px; }
.details-corps p { margin: 0; }
.details-corps .tirets { margin-bottom: 0; }

/* la question gratuite, en bandeau après les offres */
.question-bandeau {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 40px;
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--papier-2);
  border: 1px solid var(--trait);
}
.question-bandeau > div { flex: 1 1 28em; }
.question-bandeau h3 { font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 6px; }
.question-bandeau p { margin: 0; max-width: 46em; }

/* Sobriété */
.sobriete {
  background: var(--bleu);
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--papier);
  padding: clamp(64px, 9vw, 120px) 0;
}
.sob-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.sobriete h2 { color: var(--papier); font-size: clamp(42px, 6.4vw, 84px); }
.souligne {
  background-image: linear-gradient(transparent 82%, var(--rouge) 82%, var(--rouge) 92%, transparent 92%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.sob-txt p { margin: 0 0 16px; font-size: 19px; }
.sob-txt p:last-child { font-family: var(--f-mono); font-size: 15px; color: #c9d3f5; }


/* Qui */
.qui { background: var(--papier-2); border-block: 1px solid var(--trait); }
.qui-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.qui-grid.sans-portrait { grid-template-columns: minmax(0, 1fr); max-width: 54em; }
.portrait { position: relative; }
.portrait-cadre {
  aspect-ratio: 4 / 5;
  border: 1.5px solid var(--bleu);
  background:
    linear-gradient(45deg, transparent 49.6%, var(--trait) 49.6%, var(--trait) 50.4%, transparent 50.4%),
    linear-gradient(-45deg, transparent 49.6%, var(--trait) 49.6%, var(--trait) 50.4%, transparent 50.4%),
    var(--papier);
  display: grid; place-items: center;
}
.annot-portrait { position: static; display: block; margin-top: 10px; }
.qui-txt p { margin: 0 0 16px; }
.qui-txt .lead { margin: 0 0 24px; }
.avant-apres { margin: 0 0 8px; }
.aa-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aa-photo { position: relative; border: 1.5px solid var(--bleu); background: var(--papier); }
.aa-photo img { display: block; width: 100%; height: auto; }
.aa-tag {
  position: absolute; left: 0; top: 0;
  font-family: var(--f-mono); font-size: 12px; line-height: 1;
  color: var(--papier); background: var(--rouge-texte); padding: 6px 8px;
}
.avant-apres figcaption { font-family: var(--f-mono); font-size: 13px; color: var(--gris); margin-top: 10px; }
.sign { font-family: var(--f-mono); font-size: 14px; color: var(--gris); margin-top: 24px !important; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact .sec-head h2 { font-size: clamp(36px, 5.4vw, 66px); }
.contact-card { border: 1.5px solid var(--bleu); padding: 28px; background: var(--papier); }
.contact-label {
  font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--rouge-texte); margin: 0 0 4px;
}
.contact-label:not(:first-child) { margin-top: 22px; }
.contact-big {
  display: inline-flex; align-items: center; min-height: 44px;
  font-stretch: 75%; font-weight: 800; font-size: clamp(24px, 2.6vw, 32px);
  color: var(--bleu); text-decoration: none; overflow-wrap: anywhere;
}
.contact-big:hover { color: var(--rouge-texte); }
.contact-mid { margin: 0; font-size: 16px; }
.reseaux { display: flex; flex-wrap: wrap; column-gap: 28px; margin: 0; }

.btn-large { display: block; text-align: center; font-size: 15px; padding: 20px 22px; }
.contact-hint { font-family: var(--f-mono); font-size: 13px; color: var(--gris); margin: 10px 0 6px; }

.aide-titre {
  font-family: var(--f-mono); font-weight: 700;
  font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--bleu); margin: 32px 0 10px;
}
.aide-liste {
  list-style: none; counter-reset: aide; margin: 0; padding: 0;
  border-top: 1.5px solid var(--bleu);
  max-width: 34em;
}
.aide-liste li {
  counter-increment: aide;
  display: flex; gap: 16px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--trait);
}
.aide-liste li::before {
  content: counter(aide);
  font-stretch: 75%; font-weight: 800; font-size: 24px; line-height: 1;
  color: var(--rouge); flex: none; width: 14px;
}
.aide-note { font-family: var(--f-mono); font-size: 14px; color: var(--gris); margin: 14px 0 0; }

/* focus lisible sur les fonds bleus */
.sobriete :focus-visible { outline-color: var(--papier); }

/* menu : section en cours */
.nav a[aria-current="true"] { color: var(--rouge-texte); }

/* Cartouche (pied de page façon cartouche de plan) */
.cartouche { padding: 48px 0 32px; }
.cart-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  border: 1.5px solid var(--bleu);
}
.cart-cell {
  padding: 14px 16px;
  border-right: 1px solid var(--trait);
  border-bottom: 1px solid var(--trait);
  display: flex; flex-direction: column; gap: 4px;
}
.cart-logo { flex-direction: row; align-items: center; }
.cart-k { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); }
.cart-v { font-weight: 600; font-size: 15px; }
.cart-legal { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
.small { font-weight: 400 !important; font-size: 13px !important; }

/* ---------- Page CGV (document) ---------- */
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(40px, 6vw, 72px); }
.legal section { border-top: 1px solid var(--trait); padding-top: 28px; margin-top: 40px; }
.legal h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.legal h3 { font-size: 22px; margin: 22px 0 6px; }
.legal p, .legal li { max-width: 40em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.art {
  display: block; margin-bottom: 6px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 400; font-stretch: 100%;
  text-transform: uppercase; letter-spacing: .06em; color: var(--rouge-texte);
}
.legal-sommaire { margin-top: 36px; border-left: 1.5px solid var(--bleu); padding-left: 20px; }
.legal-sommaire ol { margin: 0; padding-left: 1.4em; font-family: var(--f-mono); font-size: 14px; }
.legal-sommaire li { margin-bottom: 4px; }
.tarifs { border-collapse: collapse; width: 100%; max-width: 40em; margin: 8px 0 18px; }
.tarifs th, .tarifs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--trait); vertical-align: top; }
.tarifs th { font-weight: 600; padding-right: 16px; }
.tarifs td { font-family: var(--f-mono); font-size: 15px; }
.legal blockquote { margin: 16px 0 0; padding: 4px 0 4px 20px; border-left: 1.5px solid var(--rouge); }
.legal-retour { margin-top: 48px; font-family: var(--f-mono); font-size: 14px; }
@media print { .site-header, .legal-sommaire, .legal-retour, .cartouche { display: none; } body { background: none; } }

/* ---------- Fil à plomb de défilement ----------
   Accroché sous l'en-tête, dans la gouttière droite du site.
   --l (longueur du fil) et --a (angle) sont pilotés par main.js. */
.aplomb {
  --l: 24px;
  --a: 0deg;
  position: fixed;
  top: 92px; bottom: 16px;
  right: max(7px, calc((100vw - var(--wrap)) / 2 - 26px));
  width: 0;
  z-index: 40;
  pointer-events: none;
  transition: opacity .4s ease-out;
}
.aplomb-clou {
  position: absolute; top: -1px; left: -7px;
  width: 14px; height: 1.5px;
  background: var(--bleu);
}
.aplomb-clou::after {
  content: "";
  position: absolute; left: 5px; top: -2.5px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--bleu);
}
.aplomb-reperes span {
  position: absolute; left: -4px;
  width: 8px; height: 1px;
  background: var(--bleu); opacity: .45;
}
.aplomb-pendule {
  position: absolute; top: 0; left: 0;
  transform: rotate(var(--a));
  transform-origin: 0 0;
}
.aplomb-fil {
  position: absolute; top: 0; left: -.5px;
  width: 1px; height: var(--l);
  background: var(--encre); opacity: .6;
}
.aplomb-plomb {
  position: absolute; top: var(--l); left: -8px;
  width: 16px; height: 20px;
  color: var(--rouge);
}
.aplomb-plomb svg { width: 100%; height: 100%; fill: currentColor; overflow: visible; }
.aplomb-niv {
  position: absolute; left: 15px; top: 4px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .04em;
  color: var(--gris); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.aplomb.au-fond .aplomb-niv { color: var(--rouge-texte); }
/* pendant la lecture des offres, le fil s'efface pour laisser les prix au premier plan */.aplomb.discret { opacity: .15; }

@media (max-width: 1339px) {
  .aplomb-niv { display: none; }
}
/* sur mobile et tablette, la marge est trop étroite : le fil longerait les fiches */
@media (max-width: 960px), print {
  .aplomb { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
  .sob-grid, .qui-grid, .contact-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; }
  .cart-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-logo, .cart-reseaux { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--papier);
    border-bottom: 1.5px solid var(--bleu);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px var(--gut); border-top: 1px solid var(--trait); }
  .nav .nav-cta { margin: 12px var(--gut) 16px; text-align: center; }

  .hero-grid { grid-template-columns: 1fr; }
  .annot { display: none; }
  .entoure { white-space: normal; }
  .cercle { display: none; }
  .entoure { color: var(--rouge); }

  .q-list { grid-template-columns: 1fr; }
  .devis { grid-template-columns: minmax(0, 1fr); }
  .offre-action { align-items: stretch; }
  .offre-action .btn, .question-bandeau .btn { text-align: center; width: 100%; }
  .choix li { flex-direction: column; align-items: flex-start; padding: 12px 0 4px; }
  .q-list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .logo-txt { font-size: 24px; }
  .logo-q { font-size: 34px; }
}

/* ---------- Animations (GSAP, js/motion.js) ----------
   La classe .anime est posée dans <head> seulement si l'utilisateur n'a pas demandé
   moins d'animations. Elle fixe l'état de départ ; sans elle, la page est complète. */
.anime .hero .tag,
.anime .hero .lead,
.anime .hero .cta-row,
.anime .hero .cta-note,
.anime .hero .portes { opacity: 0; }
/* le titre se découvre de gauche à droite, comme un tracé à l'encre */
.anime .hero h1 { clip-path: inset(-40% 100% -60% 0); }
/* GSAP pilote le tracé du cercle et du « ? » : on coupe les animations CSS de repli */
.anime .cercle path,
.anime .titre-q .trace,
.anime .titre-q .balancier { animation: none; }
.anime .titre-q .balancier { opacity: 0; }

/* filets tirés au tire-ligne : le trait de tête devient un pseudo-élément mis à l'échelle */
.anime .q-list,
.anime .steps li,
.anime .aide-liste { position: relative; border-top-color: transparent; }
.anime .q-list::before,
.anime .steps li::after,
.anime .aide-liste::after {
  content: "";
  position: absolute; left: 0; right: 0; top: -1.5px;
  height: 1.5px;
  background: var(--bleu);
  transform: scaleX(var(--trace, 0));
  transform-origin: 0 50%;
}
.anime .q-list::before { grid-column: 1 / -1; }
.anime .step-n { opacity: 0; }
/* chiffres de la liste de contact : posés au crayon, un par un (--vu de 0 à 1) */
.anime .aide-liste li::before {
  opacity: var(--vu, 0);
  transform: translateY(calc((1 - var(--vu, 0)) * -10px));
}
.anime .souligne { background-size: 0% 100%; }

/* volet « Détails et modalités » : la hauteur s'anime, le contenu ne déborde pas */
.details-corps.en-mouvement { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cercle path, .titre-q .trace { stroke-dashoffset: 0; }
}
