/* =============================================================================
   Heeko Consulting — feuille de styles unique du site vitrine.

   Pourquoi un seul fichier externe et aucun style en ligne : la politique de
   sécurité du contenu (CSP) du site est « style-src 'self' », sans
   'unsafe-inline'. Un attribut style="" ou une balise <style> serait bloqué.
   C'est voulu : un attaquant qui réussirait à injecter du HTML ne pourrait
   pas non plus injecter de CSS (exfiltration par sélecteurs, faux formulaires).
   ============================================================================= */

/* ----- Polices auto-hébergées : aucun appel à Google, rien ne fuit vers un tiers ----- */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ----- Jetons ----- */
:root {
  --encre: #15171A;
  --encre-2: #22252A;
  --papier: #F6F5F1;
  --carte: #FCFBF8;
  --pistache: #A7C957;
  --pistache-clair: #B8D66E;
  --pistache-fonce: #4E6B1E;
  --texte-doux: #555B63;
  --texte-clair: #C4C9CF;
  --trait: #DAD7CF;
  --trait-sombre: #3A3F46;
  --f-titre: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
  --f-texte: "Instrument Sans", "Helvetica Neue", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --rayon: 16px;
}

/* ----- Base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--encre); font-family: var(--f-texte); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--pistache-fonce); }
:focus-visible { outline: 3px solid var(--pistache); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-family: var(--f-titre); letter-spacing: -.02em; }
p { margin: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.conteneur { max-width: 1240px; margin: 0 auto; padding-inline: 32px; }
@media (max-width: 600px) { .conteneur { padding-inline: 20px; } }
.lien-evitement { position: absolute; left: -9999px; top: 0; }
.lien-evitement:focus { left: 16px; top: 16px; z-index: 20; background: var(--pistache); color: var(--encre); padding: 10px 16px; border-radius: 8px; }
.mono { font-family: var(--f-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ----- Typographie partagée ----- */
.surtitre { font-family: var(--f-mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--pistache-fonce); }
.sombre .surtitre, .surtitre-clair { color: var(--pistache); }
.titre-section { font-weight: 800; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.03em; }
.titre-moyen { font-size: clamp(34px, 4vw, 52px); }
.intro { font-size: 18px; color: var(--texte-doux); max-width: 460px; }
.sombre .intro { color: var(--texte-clair); }
.largeur-titre { max-width: 760px; }

/* ----- Boutons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 17px; border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-petit { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn-pistache { background: var(--pistache); color: var(--encre); }
.btn-pistache:hover { background: var(--pistache-clair); color: var(--encre); }
.btn-encre { background: var(--encre); color: var(--papier); }
.btn-encre:hover { color: var(--pistache); }
.btn-contour-clair { border-color: #4A4F57; color: var(--papier); }
.btn-contour-clair:hover { border-color: var(--papier); color: var(--papier); }
.btn-contour-encre { border: 2px solid var(--encre); color: var(--encre); }
.btn-contour-encre:hover { background: var(--encre); color: var(--papier); }
.btn-large { min-height: 56px; padding: 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ----- En-tête et navigation (sans JavaScript : <details> sur mobile) ----- */
.entete { background: var(--encre); color: var(--papier); overflow-x: clip; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; position: relative; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--papier); }
.marque:hover { color: var(--papier); }
.marque-logo { display: inline-flex; width: 36px; height: 36px; border-radius: 8px; background: var(--pistache); align-items: center; justify-content: center; font-family: var(--f-mono); font-weight: 600; font-size: 15px; color: var(--encre); }
.marque-nom { font-family: var(--f-titre); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.marque-nom span { color: var(--texte-clair); font-weight: 500; }
.nav-liens { display: flex; align-items: center; gap: 26px; font-size: 16px; list-style: none; margin: 0; padding: 0; }
.nav-liens a:not(.btn) { color: #D5D8DC; text-decoration: none; }
.nav-liens a:not(.btn):hover, .nav-liens a[aria-current="page"] { color: var(--pistache); }
.nav-mobile { display: none; }
@media (max-width: 980px) {
  .nav-liens { display: none; }
  .nav-mobile { display: block; }
  .nav-mobile summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #4A4F57; font-weight: 600; }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .nav-mobile summary::after { content: "+"; font-family: var(--f-mono); }
  .nav-mobile[open] summary::after { content: "−"; }
  .nav-mobile ul { position: absolute; right: 0; left: 0; top: 100%; z-index: 10; list-style: none; margin: 0; padding: 12px; background: var(--encre-2); border: 1px solid var(--trait-sombre); border-radius: var(--rayon); display: grid; gap: 4px; }
  .nav-mobile li a { display: flex; min-height: 48px; align-items: center; padding: 0 14px; border-radius: 10px; text-decoration: none; color: var(--papier); }
  .nav-mobile li a:hover { background: var(--encre); color: var(--pistache); }
}

/* ----- Sections ----- */
.section { padding-block: 112px; }
@media (max-width: 600px) { .section { padding-block: 72px; } }
.sombre { background: var(--encre); color: var(--papier); }
.clair-carte { background: var(--carte); border-block: 1px solid var(--trait); }
.section-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section-tete .titre-section { max-width: 760px; }

/* ----- Hero ----- */
.hero { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-block: 72px 104px; }
.hero-texte { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-weight: 800; font-size: clamp(44px, 6.4vw, 88px); line-height: .98; letter-spacing: -.035em; }
.hero-intro { font-size: 20px; color: var(--texte-clair); max-width: 580px; }
.hero-visuel { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; perspective: 1400px; }

/* ----- Grilles à filets (cartes collées, un trait entre elles) ----- */
.grille-filets { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--trait); border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; }
.grille-filets-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 800px) { .grille-filets-2 { grid-template-columns: 1fr; } }
.carte { background: var(--carte); padding: 36px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.carte h3 { font-size: 24px; font-weight: 700; }
.carte p { color: var(--texte-doux); }
.carte ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--texte-doux); }
.carte li { display: flex; gap: 10px; }
.carte li::before { content: "/"; color: var(--pistache-fonce); font-family: var(--f-mono); font-weight: 600; }
.carte-haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.carte-icone { width: 32px; height: 32px; }
.carte-sombre { background: var(--encre); color: var(--papier); }
.carte-sombre p, .carte-sombre ul { color: var(--texte-clair); }
.carte-sombre li::before { color: var(--pistache); }
.badge { font-family: var(--f-mono); font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--encre); color: var(--pistache); white-space: nowrap; }
.badge-clair { background: var(--pistache); color: var(--encre); }
.chaine { font-family: var(--f-mono); font-size: 14px; font-weight: 600; color: var(--pistache-fonce); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.chaine span + span::before { content: "→"; margin-right: 10px; color: var(--texte-doux); font-weight: 400; }
.lien-fleche { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.lien-fleche::after { content: "→"; transition: transform .2s ease; }
.lien-fleche:hover::after { transform: translateX(4px); }

/* Relief au survol : la carte se soulève en perspective */
.carte, .offre { transition: transform .35s ease, box-shadow .35s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .carte:hover { z-index: 1; transform: perspective(900px) rotateX(4deg) translateY(-6px); box-shadow: 0 26px 40px -18px rgba(21,23,26,.35); }
  .offre:hover { transform: perspective(900px) rotateX(5deg) translateY(-8px); box-shadow: 0 34px 50px -20px rgba(0,0,0,.65); }
}

/* ----- Bandeau de cibles ----- */
.cibles { border-bottom: 1px solid var(--trait); }
.cibles-liste { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; padding-block: 28px; margin: 0; list-style: none; font-family: var(--f-titre); font-size: 21px; font-weight: 600; color: #3A3F46; }
.cibles-liste li + li::before { content: "/"; color: var(--pistache); margin-right: 30px; }
.cibles-titre { font-family: var(--f-mono); font-size: 13px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-doux); }
@media (max-width: 600px) { .cibles-liste li + li::before { margin-right: 12px; } .cibles-liste { gap: 8px 12px; font-size: 18px; } }

/* ----- Étapes (flux POS et approche studio) ----- */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--colonnes, 5), minmax(0, 1fr)); border: 1px solid var(--encre); border-radius: var(--rayon); overflow: hidden; }
.etapes-6 { --colonnes: 3; }
.etapes li { padding: 28px; background: var(--carte); display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--encre); border-bottom: 1px solid var(--encre); }
.etapes-5 li:last-child { background: var(--encre); color: var(--papier); }
.etapes-6 li:nth-child(3n) { border-right: 0; }
.etapes-6 li:nth-child(n+4) { border-bottom: 0; }
.etapes-5 li { border-bottom: 0; }
.etapes-5 li:last-child { border-right: 0; }
.etape-num { font-family: var(--f-mono); font-size: 14px; font-weight: 600; color: var(--pistache-fonce); }
.etapes-5 li:last-child .etape-num { color: var(--pistache); }
.etapes h3 { font-size: 22px; font-weight: 700; }
.etapes p { color: var(--texte-doux); }
.etapes-5 li:last-child p { color: var(--texte-clair); }
@media (max-width: 1000px) {
  .etapes, .etapes-6 { --colonnes: 1; }
  .etapes li, .etapes-6 li:nth-child(3n), .etapes-5 li:last-child { border-right: 0; border-bottom: 1px solid var(--encre); }
  .etapes li:last-child, .etapes-6 li:last-child { border-bottom: 0; }
}
/* Chaque étape bascule vers le lecteur au défilement (amélioration progressive) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .etapes { perspective: 1200px; }
    .etapes li { transform-origin: 50% 100%; animation: bascule linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    @keyframes bascule { from { opacity: 0; transform: rotateX(-65deg) translateY(30px); } to { opacity: 1; transform: none; } }
  }
}

/* ----- Scène 3D de la page POS : documents empilés ----- */
.ticket-zone { padding: 170px 0 24px; }
.flotte { width: 100%; max-width: 380px; transform-style: preserve-3d; animation: flotte 8s ease-in-out infinite; }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.pile3d { position: relative; transform-style: preserve-3d; transform: rotateX(16deg) rotateY(-24deg) rotateZ(3deg); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.ticket-zone:hover .pile3d { transform: rotateX(8deg) rotateY(-12deg) rotateZ(1deg); }
.feuille { position: absolute; left: 0; top: 0; width: 100%; height: 300px; border-radius: 10px; padding: 22px 24px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; display: flex; flex-direction: column; gap: 12px; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.feuille-ft { background: var(--pistache); color: var(--encre); transform: translate3d(30px, -160px, -150px); box-shadow: 0 30px 50px rgba(0,0,0,.35); }
.feuille-bl { background: #2A2E35; color: var(--texte-clair); border: 1px solid var(--trait-sombre); transform: translate3d(15px, -80px, -75px); box-shadow: 0 30px 50px rgba(0,0,0,.4); }
.ticket-zone:hover .feuille-ft { transform: translate3d(44px, -220px, -230px); }
.ticket-zone:hover .feuille-bl { transform: translate3d(22px, -110px, -115px); }
.trait { display: block; height: 8px; border-radius: 4px; background: currentColor; opacity: .22; width: 72%; }
.trait-court { width: 58%; }
.trait-long { width: 82%; }
.ticket { position: relative; width: 100%; margin: 0; transform: translateZ(30px); }
.ticket-corps { background: var(--carte); color: var(--encre); padding: 28px 28px 20px; font-family: var(--f-mono); font-size: 14px; line-height: 1.7; border-radius: 6px 6px 0 0; box-shadow: 0 50px 70px -20px rgba(0,0,0,.55); }
.ticket-ligne { display: flex; justify-content: space-between; gap: 12px; }
.ticket-gras { font-weight: 600; }
.ticket-pointilles { border-top: 1px dashed #B9B5AB; margin: 14px 0; }
.ticket-grille { display: grid; grid-template-columns: 1fr auto auto; column-gap: 14px; row-gap: 2px; }
.ticket-doux { color: var(--texte-doux); }
.ticket-total { font-weight: 600; font-size: 16px; }
.ticket-pastille { background: var(--encre); color: var(--pistache); padding: 0 8px; border-radius: 4px; }
.ticket-mention { margin-top: 16px; font-size: 12px; color: #6B7079; text-align: center; }
.ticket-dents { display: block; width: 100%; height: 14px; }
@media (max-width: 600px) {
  .ticket-zone { padding-top: 130px; }
  .pile3d { transform: rotateX(10deg) rotateY(-12deg) rotateZ(2deg); }
  .feuille-ft { transform: translate3d(12px, -116px, -120px); }
  .feuille-bl { transform: translate3d(6px, -58px, -60px); }
}
@media (prefers-reduced-motion: reduce) { .flotte { animation: none; } }

/* ----- Scène 3D de l'accueil : pile isométrique interface / API / données ----- */
.iso-zone { padding-block: 40px; }
.iso { position: relative; width: 300px; height: 300px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-42deg); animation: iso-flotte 9s ease-in-out infinite; }
@keyframes iso-flotte { 0%, 100% { transform: rotateX(58deg) rotateZ(-42deg) translateZ(0); } 50% { transform: rotateX(58deg) rotateZ(-38deg) translateZ(14px); } }
.dalle { position: absolute; inset: 0; border-radius: 22px; display: flex; align-items: flex-end; justify-content: flex-start; padding: 22px; font-family: var(--f-mono); font-size: 15px; font-weight: 600; letter-spacing: .08em; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.dalle-donnees { background: #2A2E35; color: var(--texte-clair); border: 1px solid var(--trait-sombre); transform: translateZ(0); box-shadow: -30px 30px 60px rgba(0,0,0,.45); }
.dalle-api { background: #353A42; color: var(--papier); border: 1px solid #4A4F57; transform: translateZ(70px); }
.dalle-interface { background: var(--pistache); color: var(--encre); transform: translateZ(140px); }
.dalle-interface::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 44%; border-radius: 12px; background: rgba(21,23,26,.12); }
.iso-zone:hover .dalle-api { transform: translateZ(100px); }
.iso-zone:hover .dalle-interface { transform: translateZ(200px); }
@media (max-width: 600px) { .iso { width: 220px; height: 220px; } .dalle { font-size: 12px; padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .iso { animation: none; } }

/* ----- Témoignage ----- */
.temoignage { margin: 0; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; }
.temoignage blockquote { margin: 0; flex: 999 1 520px; font-family: var(--f-titre); font-weight: 700; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15; letter-spacing: -.02em; }
.temoignage figcaption { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--encre); padding-top: 16px; }
.temoignage-chiffre { font-family: var(--f-mono); font-size: 40px; font-weight: 600; color: var(--pistache-fonce); }

/* ----- Offres et tarifs ----- */
.grille-offres { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.offre { border: 1px solid var(--trait-sombre); border-radius: var(--rayon); padding: 36px; display: flex; flex-direction: column; gap: 20px; position: relative; background: var(--encre); color: var(--papier); }
.offre h3 { font-size: 28px; font-weight: 700; }
.offre-pour { color: var(--texte-clair); }
.offre-prix { font-family: var(--f-mono); font-size: 46px; font-weight: 600; line-height: 1.1; }
.offre-prix small { font-size: 17px; color: var(--texte-clair); font-weight: 400; }
.offre-detail { font-size: 15px; color: var(--texte-clair); font-family: var(--f-mono); }
.offre ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--texte-clair); }
.offre li { display: flex; gap: 10px; }
.offre li::before { content: "✓"; color: var(--pistache); font-weight: 700; }
.offre .btn { margin-top: auto; }
.offre-phare { background: var(--pistache); color: var(--encre); border-color: var(--pistache); }
.offre-phare .offre-pour, .offre-phare .offre-prix small, .offre-phare .offre-detail, .offre-phare ul { color: var(--encre); }
.offre-phare li::before { color: var(--encre); }
.offre-phare .badge { background: var(--encre); color: var(--pistache); }
.tableau-defile { overflow-x: auto; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--carte); }
.tableau { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 16px; }
.tableau th, .tableau td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--trait); vertical-align: top; }
.tableau thead th { font-family: var(--f-titre); font-size: 20px; background: var(--encre); color: var(--papier); }
.tableau thead th:not(:first-child), .tableau td:not(:first-child) { text-align: center; }
.tableau tbody th { font-weight: 500; }
.tableau tr:last-child th, .tableau tr:last-child td { border-bottom: 0; }
.tableau .groupe th { background: #EEECE6; font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-doux); }
.oui { color: var(--pistache-fonce); font-weight: 700; }
.non { color: #8A9099; }

.paiements { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

/* ----- FAQ ----- */
.faq { display: flex; flex-wrap: wrap; gap: 48px; }
.faq .titre-section { flex: 1 1 300px; }
.faq-liste { flex: 999 1 560px; min-width: 0; }
.faq details { border-top: 1px solid var(--encre); padding-block: 24px; }
.faq details:last-child { border-bottom: 1px solid var(--encre); }
.faq summary { cursor: pointer; font-family: var(--f-titre); font-size: 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 14px; color: var(--texte-doux); }

/* ----- Réalisations ----- */
.cas { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
@media (max-width: 400px) { .cas { grid-template-columns: 1fr; } }
.cas article { border: 1px solid var(--trait-sombre); border-radius: var(--rayon); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.cas h3 { font-size: 26px; font-weight: 700; }
.cas p { color: var(--texte-clair); }
.cas-chiffre { font-family: var(--f-mono); font-size: 44px; font-weight: 600; color: var(--pistache); line-height: 1; }

/* ----- Appel final ----- */
.appel { background: var(--pistache); }
.appel-interieur { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; padding-block: 96px; }
.appel-texte { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.appel h2 { font-weight: 800; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: -.035em; }
.appel p { font-size: 19px; }

/* ----- Pages juridiques ----- */
.page-texte { max-width: 780px; padding-block: 72px 112px; }
.page-texte h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; margin-bottom: 16px; }
.page-texte h2 { font-size: 26px; font-weight: 700; margin: 48px 0 12px; }
.page-texte p, .page-texte li { color: #3A3F46; }
.page-texte p + p { margin-top: 12px; }
.page-texte ul { padding-left: 20px; display: grid; gap: 6px; }
.maj { font-family: var(--f-mono); font-size: 14px; color: var(--texte-doux); }
.avertissement { margin-top: 24px; padding: 20px 24px; border-radius: 12px; background: #FFF6DB; border: 1px solid #E6CF85; color: #4D3F12; }
.a-completer { background: #FFF6DB; border-radius: 4px; padding: 0 4px; font-family: var(--f-mono); font-size: .9em; }

/* ----- Pied de page ----- */
.pied { background: var(--encre); color: var(--texte-clair); font-size: 15px; }
.pied-grille { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; padding-block: 64px 40px; }
@media (max-width: 800px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pied-grille { grid-template-columns: 1fr; } }
.pied h2 { font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--papier); margin-bottom: 14px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pied a { color: var(--texte-clair); text-decoration: none; }
.pied a:hover { color: var(--pistache); }
.pied-bas { border-top: 1px solid var(--trait-sombre); padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 13px; }
.pied-texte { max-width: 340px; margin-top: 14px; }

/* ----- Page 404 ----- */
.page-404 { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-block: 96px; }
.page-404 .code { font-family: var(--f-mono); font-size: clamp(80px, 16vw, 200px); font-weight: 600; color: var(--pistache); line-height: 1; }

/* Variantes de mise en page */
.carte .offre-prix { font-size: 40px; color: var(--encre); }
.carte .offre-prix small { color: var(--texte-doux); }
.grille-options { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } /* 6 options : 2 rangees de 3 */
.hero-court { padding-block: 56px 72px; }
.section-collee { padding-top: 0; }
.etapes-compactes { flex: 1 1 320px; --colonnes: 1; }
.etapes-compactes li, .etapes-compactes li:last-child { padding: 18px 24px; border-right: 0; border-bottom: 1px solid var(--encre); }
.etapes-compactes li:last-child { border-bottom: 0; }
.offre-detail a, .note a { color: inherit; }

/* Utilitaires d'espacement (remplacent les styles en ligne, interdits par la CSP) */
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-24 { margin-bottom: 24px; }
.note { font-size: 15px; color: var(--texte-doux); }
.sombre .note { color: var(--texte-clair); }
