/* 2YS : l'atelier du sur-mesure. Papier à patron, encre, mètre-ruban jaune, craie rouge. */
:root {
  --papier: #f2ede3;
  --papier-fonce: #e8e0d0;
  --carton: #fbf8f2;
  --encre: #191613;
  --encre-douce: #4b453d;
  --ruban: #f3c12b;
  --craie: #c23a25;
  --trait: rgba(25, 22, 19, .22);
  --titre: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --texte: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --marge: clamp(16px, 4vw, 56px);
  --large: 1320px;
  --entete: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 30px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font: 400 1.0625rem/1.55 var(--texte);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--craie); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--ruban); color: var(--encre); }

.evitement {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--encre); color: var(--papier); padding: 10px 14px; border-radius: 6px;
}
.evitement:focus { top: 12px; }

/* ---------- En-tête et mètre-ruban ---------- */
.entete {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--papier) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.entete-barre {
  max-width: var(--large); margin: 0 auto; padding: 0 var(--marge);
  height: var(--entete); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  position: relative; text-decoration: none;
  font: 800 1.7rem/1 var(--titre); font-stretch: 78%; letter-spacing: -.02em;
  padding-bottom: 5px;
}
.logo::after { /* point de piqûre */
  content: ""; position: absolute; left: 1px; right: 1px; bottom: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--craie) 0 6px, transparent 6px 10px);
}
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav a:not(.bouton) {
  text-decoration: none; font-weight: 500; font-size: .98rem;
  background: linear-gradient(var(--craie), var(--craie)) left bottom / 0 2px no-repeat;
  padding: 4px 0; transition: background-size .25s ease;
}
.nav a:not(.bouton):hover { background-size: 100% 2px; }
.menu { display: none; }

.ruban {
  position: relative; height: 18px; overflow: hidden;
  border-block: 1px solid rgba(25, 22, 19, .55);
  background:
    repeating-linear-gradient(90deg, var(--encre) 0 1px, transparent 1px 60px) 0 0 / 100% 62% no-repeat,
    repeating-linear-gradient(90deg, var(--encre) 0 1px, transparent 1px 30px) 0 0 / 100% 42% no-repeat,
    repeating-linear-gradient(90deg, rgba(25, 22, 19, .8) 0 1px, transparent 1px 6px) 0 0 / 100% 24% no-repeat,
    var(--ruban);
}
.ruban-chiffres span {
  position: absolute; bottom: 0; transform: translateX(3px);
  font: 500 9px/1 var(--mono); color: var(--encre);
}
.ruban-curseur {
  position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--craie);
  transform: translateX(var(--avance, 0px)); will-change: transform;
}
.ruban-curseur::before {
  content: ""; position: absolute; top: 0; left: -5px;
  border: 6px solid transparent; border-top-color: var(--craie); border-bottom: 0;
}

/* ---------- Boutons et liens ---------- */
.bouton {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 8px;
  background: var(--encre); color: var(--papier);
  font: 600 1rem/1 var(--texte); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.bouton::after { /* surpiqûre */
  content: ""; position: absolute; inset: 4px; border-radius: 5px;
  border: 1px dashed rgba(242, 237, 227, .45); pointer-events: none;
}
.bouton:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ruban); }
.bouton-petit { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.lien-fort {
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--craie);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.lien-fort:hover { text-decoration-color: var(--encre); }

/* ---------- Ouverture ---------- */
.ouverture {
  max-width: var(--large); margin: 0 auto;
  padding: clamp(32px, 6vw, 88px) var(--marge) clamp(40px, 6vw, 96px);
  display: grid; gap: clamp(28px, 4vw, 56px); align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.annotation {
  font: 500 .86rem/1.2 var(--mono); color: var(--craie); margin-bottom: 18px;
}
.annotation::before { content: "+ "; }
h1 {
  font-size: clamp(2.7rem, 1.2rem + 5.4vw, 6.4rem);
  font-weight: 760; font-stretch: 84%; line-height: .93; letter-spacing: -.035em;
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
.souligne { position: relative; white-space: nowrap; }
.souligne svg {
  position: absolute; left: -2%; width: 104%; bottom: -.16em; height: .26em; overflow: visible;
}
.souligne path {
  fill: none; stroke: var(--craie); stroke-width: 5; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.chapo { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); max-width: 34em; color: var(--encre-douce); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }

.patron {
  margin: 0; padding: clamp(10px, 2vw, 22px); border-radius: 14px;
  background:
    radial-gradient(circle, rgba(25, 22, 19, .2) 1px, transparent 1.4px) 0 0 / 20px 20px,
    var(--carton);
  border: 1px solid var(--trait);
}
.patron svg { width: 100%; height: auto; overflow: visible; }
.patron text { font: 500 12px var(--mono); fill: var(--encre-douce); }
.patron .coupe { fill: none; stroke: var(--encre); stroke-width: 1.8; }
.patron .marge { fill: none; stroke: var(--encre); stroke-width: 1; stroke-dasharray: 7 5; opacity: .55; }
.patron .pli { fill: none; stroke: var(--encre); stroke-width: 1; opacity: .4; }
.patron .gabarit { fill: rgba(243, 193, 43, .22); stroke: var(--encre); stroke-width: .8; stroke-dasharray: 2 3; }
.patron .cran { fill: none; stroke: var(--encre); stroke-width: 1.4; }
.patron .cote path { fill: none; stroke: var(--encre-douce); stroke-width: 1; }
.patron .cote .cache { fill: var(--carton); }
.patron .droit-fil path { fill: none; stroke: var(--encre-douce); stroke-width: 1.1; }
.patron .droit-fil text { font-size: 11px; }
.patron .legende { font-size: 11.5px; fill: var(--encre); }
.patron .ciseaux circle, .patron .ciseaux path { fill: var(--carton); stroke: var(--encre); stroke-width: 1.4; }
.patron .craie path { fill: none; stroke: var(--craie); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.patron .craie text { fill: var(--craie); font-size: 13px; }

@media (prefers-reduced-motion: no-preference) {
  .js .patron .dessin { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tracer 1.6s cubic-bezier(.6, 0, .2, 1) .2s forwards; }
  .js .patron .cote .dessin { stroke-dasharray: 360; stroke-dashoffset: 360; animation-duration: 1s; }
  .js .patron .craie .dessin { animation-delay: 1.5s; animation-duration: .9s; }
  .js .patron .marge, .js .patron .gabarit, .js .patron text, .js .patron .ciseaux, .js .patron .craie > path:not(.dessin) {
    opacity: 0; animation: apparaitre .6s ease forwards;
  }
  .js .patron .marge { animation-delay: .9s; }
  .js .patron .gabarit { animation-delay: 1.2s; }
  .js .patron text, .js .patron .ciseaux, .js .patron .craie > path:not(.dessin) { animation-delay: 1.6s; }
  .js .souligne path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: tracer .8s ease-out .5s forwards; }
}
@keyframes tracer { to { stroke-dashoffset: 0; } }
@keyframes apparaitre { to { opacity: var(--opacite, 1); } }
.patron .marge { --opacite: .55; }

/* ---------- Sections ---------- */
.section { max-width: var(--large); margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--marge); }
.tete {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end;
  margin-bottom: clamp(32px, 5vw, 64px);
  padding-bottom: 20px; border-bottom: 1.5px solid var(--encre);
}
.tete h2, .atelier h2, .contact h2 {
  font-size: clamp(2.1rem, 1.1rem + 3.6vw, 4.4rem); font-weight: 720; font-stretch: 86%;
  line-height: .98; letter-spacing: -.03em;
}
.tete p { margin: 0; color: var(--encre-douce); max-width: 36em; }

/* ---------- Réalisations ---------- */
.realisations { padding-top: clamp(24px, 4vw, 56px); }
.projet {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.projet + .projet {
  margin-top: clamp(64px, 9vw, 128px); padding-top: clamp(40px, 6vw, 80px);
  border-top: 1px dashed var(--trait);
}
.projet-inverse { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.projet-inverse .vitrine { order: 2; }
.vitrine { position: relative; padding: 0 9% 9% 0; }
.projet-inverse .vitrine { padding: 0 0 9% 9%; }
.vitrine .ecran {
  width: 100%; height: auto; border-radius: 10px; border: 1.5px solid var(--encre);
  box-shadow: 10px 10px 0 var(--encre); background: var(--papier-fonce);
}
.vitrine .tel {
  position: absolute; right: 0; bottom: 0; width: 23%; height: auto;
  border-radius: 18px; border: 4px solid var(--encre); background: var(--encre);
  box-shadow: 0 18px 40px -12px rgba(25, 22, 19, .45);
}
.projet-inverse .vitrine .tel { right: auto; left: 0; }
.projet-inverse .vitrine .ecran { box-shadow: -10px 10px 0 var(--encre); }
.projet-maison .vitrine .ecran { box-shadow: 10px 10px 0 var(--ruban), 10px 10px 0 1.5px var(--encre); }

.etiquette {
  position: relative; background: var(--carton);
  border: 1.5px solid var(--encre); border-radius: 4px 4px 12px 12px;
  padding: 44px clamp(20px, 2.4vw, 32px) 26px;
  clip-path: polygon(16% 0, 84% 0, 100% 34px, 100% 100%, 0 100%, 0 34px);
  transform: rotate(-1.2deg); transition: transform .35s ease;
}
.projet-inverse .etiquette { transform: rotate(1.2deg); }
.projet:hover .etiquette { transform: rotate(0); }
.etiquette::before { /* oeillet */
  content: ""; position: absolute; top: 12px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; border: 1.5px solid var(--encre); background: var(--papier);
}
.etiquette::after { /* bords coupés */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom right, transparent calc(50% - 1px), var(--encre) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) left top / 16% 34px no-repeat,
    linear-gradient(to bottom left, transparent calc(50% - 1px), var(--encre) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) right top / 16% 34px no-repeat;
}
.numero { font: 500 .8rem/1.2 var(--mono); color: var(--craie); margin-bottom: 8px; }
.etiquette h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-stretch: 88%; letter-spacing: -.02em; line-height: 1; margin-bottom: 14px; }
.etiquette > p:not(.numero) { color: var(--encre-douce); font-size: 1rem; }
.etiquette dl { margin: 18px 0 20px; display: grid; gap: 10px; }
.etiquette dl div, .fiche div { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 12px; }
.etiquette dt, .fiche dt { font: 500 .78rem/1.6 var(--mono); color: var(--encre-douce); }
.etiquette dd, .fiche dd { margin: 0; font-size: .95rem; line-height: 1.45; }
.points { margin: 0 0 4px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.points li { position: relative; padding-left: 22px; line-height: 1.45; }
.points li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--craie) 0 4px, transparent 4px 6px);
}
.lien-site {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600;
  text-decoration: none; border-bottom: 2px solid var(--ruban); padding-bottom: 2px;
}
.lien-site svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: transform .2s ease; }
.lien-site:hover { border-bottom-color: var(--craie); }
.lien-site:hover svg { transform: translate(2px, -2px); }

/* ---------- Savoir-faire ---------- */
.savoir-faire { position: relative; }
.savoir-faire::before { /* bande de papier plus foncé pleine largeur */
  content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: var(--papier-fonce);
}
.rangs { list-style: none; margin: 0; padding: 0; counter-reset: rang; }
.rangs li {
  counter-increment: rang;
  display: grid; grid-template-columns: 3.4rem minmax(0, 5fr) minmax(0, 7fr); gap: 8px 32px;
  padding: 26px 0; border-top: 1px dashed rgba(25, 22, 19, .4);
}
.rangs li:last-child { border-bottom: 1px dashed rgba(25, 22, 19, .4); }
.rangs li::before { content: counter(rang, decimal-leading-zero); font: 500 .9rem/2.3 var(--mono); color: var(--craie); }
.rangs h3 { font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2.1rem); font-stretch: 88%; letter-spacing: -.02em; line-height: 1.05; }
.rangs p { margin: 0 0 10px; color: var(--encre-douce); }
.rangs .fil { margin: 0; font: 400 .84rem/1.55 var(--mono); color: var(--encre); }

/* ---------- Méthode ---------- */
.ruban-large {
  height: 44px; border-radius: 3px; border: 1.5px solid var(--encre);
  background:
    repeating-linear-gradient(90deg, var(--encre) 0 1.5px, transparent 1.5px 25%) 0 0 / 100% 70% no-repeat,
    repeating-linear-gradient(90deg, var(--encre) 0 1px, transparent 1px 2.5%) 0 0 / 100% 40% no-repeat,
    repeating-linear-gradient(90deg, rgba(25, 22, 19, .7) 0 1px, transparent 1px .5%) 0 0 / 100% 22% no-repeat,
    var(--ruban);
}
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.etapes li { position: relative; padding: 18px 28px 0 0; }
.repere {
  display: inline-block; margin: -62px 0 26px -1px;
  font: 600 1rem/1 var(--mono); padding: 4px 6px 0 6px; color: var(--encre);
}
.etapes h3 { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); font-stretch: 88%; letter-spacing: -.02em; margin-bottom: 10px; }
.etapes h3::before {
  content: ""; display: block; width: 0; height: 0; margin: 0 0 12px -1px;
  border: 8px solid transparent; border-top-color: var(--craie); border-bottom: 0;
}
.etapes p { color: var(--encre-douce); margin: 0; }

/* ---------- Atelier ---------- */
.atelier { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.atelier h2 { margin-bottom: 26px; }
.atelier-texte p { font-size: 1.1rem; color: var(--encre-douce); max-width: 36em; }
.fiche {
  margin: 0; padding: 26px clamp(20px, 2.4vw, 30px); display: grid; gap: 12px;
  background: var(--carton); border: 1.5px solid var(--encre); border-radius: 10px;
  box-shadow: 8px 8px 0 var(--ruban), 8px 8px 0 1.5px var(--encre);
}
.fiche div { grid-template-columns: 6.4em minmax(0, 1fr); padding-bottom: 12px; border-bottom: 1px dashed var(--trait); }
.fiche div:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--encre); color: var(--papier); position: relative; }
.contact::before { /* le ruban repasse en haut */
  content: ""; display: block; height: 18px;
  background:
    repeating-linear-gradient(90deg, var(--encre) 0 1px, transparent 1px 60px) 0 0 / 100% 62% no-repeat,
    repeating-linear-gradient(90deg, var(--encre) 0 1px, transparent 1px 30px) 0 0 / 100% 42% no-repeat,
    repeating-linear-gradient(90deg, rgba(25, 22, 19, .8) 0 1px, transparent 1px 6px) 0 0 / 100% 24% no-repeat,
    var(--ruban);
}
.contact-interieur { max-width: var(--large); margin: 0 auto; padding: clamp(56px, 9vw, 130px) var(--marge); }
.contact h2 { margin-bottom: 20px; }
.contact p { max-width: 38em; color: rgba(242, 237, 227, .78); font-size: 1.1rem; }
.courriel {
  display: inline-block; margin: clamp(18px, 3vw, 36px) 0 16px;
  font: 700 clamp(2rem, .9rem + 6.4vw, 6.6rem)/1 var(--titre); font-stretch: 80%; letter-spacing: -.035em;
  text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(var(--ruban), var(--ruban)) left 100% / 100% .09em no-repeat;
  padding-bottom: .1em; transition: color .2s ease, background-size .3s ease;
}
.courriel:hover { color: var(--ruban); background-size: 100% .16em; }
.contact .delai { font: 400 .9rem/1.5 var(--mono); color: rgba(242, 237, 227, .7); margin: 0; }

/* ---------- Pied ---------- */
.pied {
  max-width: var(--large); margin: 0 auto; padding: 28px var(--marge) 36px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
  font-size: .92rem; color: var(--encre-douce);
}
.pied p { margin: 0; display: flex; align-items: center; gap: 12px; }
.pied .copyright { display: block; }
.logo-pied { font-size: 1.25rem; color: var(--encre); padding-bottom: 4px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pied a { text-decoration-color: var(--trait); text-underline-offset: 4px; }
.pied a:hover { color: var(--encre); text-decoration-color: var(--craie); }

/* ---------- Apparition au défilement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .monte { opacity: 0; translate: 0 28px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1), transform .35s ease; }
  .js .monte.vu { opacity: 1; translate: none; }
}

/* ---------- Page simple (mentions, 404) ---------- */
.page-simple { max-width: 820px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--marge); }
.page-simple h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); margin-bottom: 28px; }
.page-simple h2 { font-size: 1.45rem; font-stretch: 90%; margin: 36px 0 10px; }
.page-simple p, .page-simple li { color: var(--encre-douce); }

/* ---------- Tablette ---------- */
@media (max-width: 999px) {
  .ouverture { grid-template-columns: minmax(0, 1fr); }
  .patron { max-width: 640px; }
  .projet, .projet-inverse { grid-template-columns: minmax(0, 1fr); }
  .projet-inverse .vitrine { order: 0; }
  .etiquette { max-width: 600px; }
  .atelier { grid-template-columns: minmax(0, 1fr); }
  .tete { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Téléphone : menu repliable ---------- */
@media (max-width: 859px) {
  :root { --entete: 58px; }
  .menu {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 12px;
    border: 0; background: none; color: var(--encre); font: 600 1rem var(--texte); cursor: pointer;
  }
  .menu-traits, .menu-traits::before, .menu-traits::after {
    display: block; width: 22px; height: 2px; background: var(--encre); position: relative; transition: transform .25s ease, background .25s ease;
  }
  .menu-traits::before, .menu-traits::after { content: ""; position: absolute; left: 0; }
  .menu-traits::before { top: -7px; }
  .menu-traits::after { top: 7px; background: repeating-linear-gradient(90deg, var(--encre) 0 4px, transparent 4px 6px); }
  .menu[aria-expanded="true"] .menu-traits { background: transparent; }
  .menu[aria-expanded="true"] .menu-traits::before { transform: translateY(7px) rotate(45deg); }
  .menu[aria-expanded="true"] .menu-traits::after { transform: translateY(-7px) rotate(-45deg); background: var(--encre); }
  .nav {
    position: absolute; left: 0; right: 0; top: calc(var(--entete) + 19px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--papier); border-bottom: 1.5px solid var(--encre);
    padding: 6px var(--marge) 18px;
    box-shadow: 0 24px 40px -24px rgba(25, 22, 19, .4);
  }
  .js .nav:not(.ouvert) { display: none; }
  .nav a:not(.bouton) { padding: 14px 0; font-size: 1.15rem; border-bottom: 1px dashed var(--trait); background: none; }
  .nav .bouton { margin-top: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .vitrine .ecran { box-shadow: 6px 6px 0 var(--encre); border-radius: 7px; }
  .projet-inverse .vitrine .ecran { box-shadow: -6px 6px 0 var(--encre); }
  .projet-maison .vitrine .ecran { box-shadow: 6px 6px 0 var(--ruban), 6px 6px 0 1.5px var(--encre); }
  .vitrine .tel { width: 26%; border-width: 3px; border-radius: 12px; }
  .rangs li { grid-template-columns: minmax(0, 1fr); padding: 20px 0; }
  .rangs li::before { line-height: 1; }
  .ruban-large { display: none; }
  .etapes { grid-template-columns: minmax(0, 1fr); gap: 0; border-left: 14px solid var(--ruban); margin-left: 4px; }
  .etapes li { padding: 0 0 26px 18px; }
  .etapes li:last-child { padding-bottom: 4px; }
  .repere { margin: 0 0 4px; padding: 0; font-size: .85rem; color: var(--craie); }
  .repere::before { content: "étape "; }
  .etapes h3::before { display: none; }
  .etapes h3 { font-size: 1.45rem; }
  .fiche div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .etiquette dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .pied { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 641px) and (max-width: 999px) {
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .ruban-large { display: none; }
  .repere { margin: 0 0 10px; color: var(--craie); }
  .repere::before { content: "étape "; }
}

/* ---------- Téléphone et WhatsApp ---------- */
.nav { margin-left: auto; }
.icone-wa { width: 20px; height: 20px; flex: none; fill: #1f9e52; }
.nav-tel { font: 500 .92rem/1 var(--mono); text-decoration: none; white-space: nowrap; }
.nav-tel:hover { color: var(--craie); }
.wa-entete {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1.5px solid var(--encre); border-radius: 8px; background: var(--carton);
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-entete:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 #25d366; }
@media (min-width: 860px) and (max-width: 1199px) { .nav-tel { display: none; } }

.contact-directs { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 6px 0 22px; }
.bouton-wa { gap: 10px; background: var(--papier); color: var(--encre); }
.bouton-wa::after { border-color: rgba(25, 22, 19, .35); }
.bouton-wa:hover { box-shadow: 4px 4px 0 #25d366; }
.contact-tel {
  font: 600 clamp(1.3rem, 1rem + 1.2vw, 1.8rem)/1 var(--mono); color: var(--papier);
  text-decoration: none; border-bottom: 2px solid var(--ruban); padding-bottom: 4px;
}
.contact-tel:hover { color: var(--ruban); }
.pied-wa { display: inline-flex; align-items: center; gap: 6px; }
.pied-wa .icone-wa { width: 16px; height: 16px; }

@media (max-width: 859px) {
  .entete-barre { gap: 10px; }
  .wa-entete { margin-left: auto; min-height: 44px; min-width: 44px; padding: 0; justify-content: center; }
  .wa-entete span { display: none; }
  .wa-entete .icone-wa { width: 22px; height: 22px; }
  .nav .nav-tel { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px dashed var(--trait); }
}
