/* Yazbeck — site vitrine · direction « Plâtre & cire » */

:root { --pad: clamp(16px, 3.1vw, 44px); --maxw: 1440px; --nav-h: 88px; --bleu: #2E4FA3; }
body { font-size: 18px; overflow-x: hidden; }
section { position: relative; }
.sec-title { font-size: clamp(44px, 5.8vw, 92px); margin: 0; }

/* Apparitions (uniquement si JavaScript actif) */
@media (scripting: enabled) {
  .rv { opacity: 0; translate: 0 24px; transition: opacity .9s var(--ease), translate 1.1s var(--ease); transition-delay: var(--d, 0s); }
  .rv.in { opacity: 1; translate: none; }
}

/* Marques au crayon rouge : soulignés et entourés, tracés à l'apparition */
.pencil, .circled { position: relative; display: inline-block; white-space: nowrap; }
.pencil svg { position: absolute; left: -2%; bottom: -.15em; width: 104%; height: .27em; overflow: visible; pointer-events: none; }
.circled svg { position: absolute; left: -8%; top: -14%; width: 116%; height: 128%; overflow: visible; pointer-events: none; }
.pencil path, .circled path { fill: none; stroke: var(--crayon); stroke-linecap: round; stroke-linejoin: round; }
.pencil path { stroke-width: 7; }
.circled path { stroke-width: 4.5; }
@media (scripting: enabled) {
  .pencil path, .circled path { stroke-dasharray: 1 2; stroke-dashoffset: 1.01; transition: stroke-dashoffset 1s var(--ease) .15s; }
  .circled path { transition-duration: 1.3s; }
  .drawn path { stroke-dashoffset: 0; }
}
mark.surligne { color: inherit; padding: 0 .06em; margin: 0 -.03em; border-radius: .1em; background: linear-gradient(var(--platre), var(--platre)) no-repeat 0 55% / 100% 78%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (scripting: enabled) {
  mark.surligne { background-size: 0% 78%; transition: background-size 1.1s var(--ease) .2s; }
  mark.surligne.drawn { background-size: 100% 78%; }
}

/* Pastilles de couleur (avec le trou d'étiquette) */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px 9px 11px; border-radius: 12px; background: var(--brume); font-weight: 650; font-size: 15.5px; line-height: 1.2; }
.chip::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--blanc); }
.hole { position: absolute; top: 16px; right: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--hole-bg, var(--brume)); transition: background-color .6s var(--ease); }

/* ---------------- Navigation ---------------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 0 var(--pad); transition: background-color .35s, box-shadow .35s, height .35s; }
.nav.scrolled { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px); box-shadow: 0 2px 0 rgba(29, 27, 34, .06); height: 72px; }
.nav .brand { justify-self: start; }
.nav-menu { display: flex; gap: 4px; }
.nav-menu a { text-decoration: none; font-size: 16.5px; font-weight: 550; padding: 9px 14px; border-radius: 12px; transition: background-color .2s; }
.nav-menu a:hover { background: var(--brume); }
.nav-menu a.on { background: var(--platre); }
.nav-cta { justify-self: end; }
.nav-mobile-cta { display: none; }
.burger { display: none; width: 46px; height: 46px; border: 2px solid var(--encre); border-radius: 14px; background: var(--blanc); cursor: pointer; position: relative; }
.burger span:not(.sr-only) { position: absolute; left: 11px; right: 11px; height: 2.5px; border-radius: 2px; background: var(--encre); transition: transform .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded=true] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded=true] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------------- 1. Ouverture : la promesse, en très grand ---------------- */
.hero { display: grid; align-content: center; min-height: min(calc(100svh - 64px), 900px); padding: calc(var(--nav-h) + clamp(20px, 3vw, 44px)) var(--pad) clamp(36px, 4.4vw, 64px); max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; }
.hero-copy { position: relative; z-index: 3; min-width: 0; }
.hero-label { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 14px 7px 10px; border-radius: 10px; background: var(--brume); font-weight: 600; font-size: 15px; }
.hero-label::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--blanc); box-shadow: inset 0 0 0 2px var(--encre); }
/* Le titre et le macaron sur la même ligne : le macaron se pose juste après « le scan. / la dent. » */
.hero-head { display: flex; align-items: center; gap: clamp(22px, 3.4vw, 56px); margin-top: 26px; }
.hero-title { position: relative; font-size: clamp(44px, 8.6vw, 128px); margin: 0; min-width: 0; }
.hero-title .hl { display: block; }
.br-m { display: none; }
/* Sous le titre, après un trait : la promesse et les boutons à gauche, l'essentiel en pastilles à droite */
.hero-foot { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 26px clamp(32px, 6vw, 110px); align-items: end; margin-top: clamp(30px, 3.4vw, 52px); padding-top: clamp(26px, 3vw, 40px); }
.hero-foot::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--trait); transform-origin: left center; }
.hero-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--encre-2); max-width: 32em; margin: 0; }
.hero-lead strong { color: var(--encre); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .chips { margin: 0; justify-content: flex-end; justify-self: end; max-width: 420px; }

/* Le macaron « Fabriqué en France » : il mène à la section */
.seal { position: relative; flex: none; z-index: 4; width: clamp(116px, 9.6vw, 150px); aspect-ratio: 1; border-radius: 50%; color: var(--encre); text-decoration: none; filter: drop-shadow(0 14px 18px rgba(29, 27, 34, .26)); }
.seal svg { display: block; width: 100%; height: 100%; overflow: visible; }
.seal-bg { fill: var(--platre); stroke: var(--encre); stroke-width: 2.5; transition: fill .25s; }
.seal:hover .seal-bg { fill: var(--platre-2); }
.seal:focus-visible { outline-offset: 5px; border-radius: 50%; }
.seal-ring { transform-box: view-box; transform-origin: 60px 60px; animation: seal-spin 28s linear infinite; }
.seal-txt { font-size: 10px; font-weight: 750; letter-spacing: .04em; fill: var(--encre); }
@keyframes seal-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal-ring { animation: none; } }
@media (scripting: enabled) {
  .seal { opacity: 0; scale: .5; rotate: -30deg; transition: opacity .5s var(--ease) 1.45s, scale .8s cubic-bezier(.3, 1.5, .5, 1) 1.45s, rotate .9s var(--ease) 1.45s; }
  .is-ready .seal { opacity: 1; scale: 1; rotate: 0deg; }
}
@media (max-width: 640px) { .seal { width: 100px; } }
@media (max-width: 520px) { .seal { width: 88px; } }
@media (scripting: enabled) {
  .hero .hero-label, .hero-lead, .hero-actions, .hero .chips { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease) .5s, transform .9s var(--ease) .5s; }
  .hero-actions { transition-delay: .6s; } .hero .chips { transition-delay: .7s; }
  .hero .hero-label { transition-delay: .1s; }
  .is-ready .hero .hero-label, .is-ready .hero-lead, .is-ready .hero-actions, .is-ready .hero .chips { opacity: 1; transform: none; }
  .hero .pencil path { transition-delay: 1.4s; transition-duration: .8s; }
  .hero-foot::before { transform: scaleX(0); transition: transform 1.3s var(--ease) .35s; }
  .is-ready .hero-foot::before { transform: none; }
}
/* Le titre arrive comme un scan, en nuage de points ; un trait laser le balaie et le remplit d'encre : le scan devient la dent.
   Sans JavaScript ou avec « réduire les animations », le titre s'affiche directement à l'encre. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .hero-title { --dot: 6px; color: transparent; -webkit-background-clip: text; background-clip: text;
    background-image: linear-gradient(var(--encre), var(--encre)), radial-gradient(circle, var(--encre) 0 calc(var(--dot) * .26), transparent calc(var(--dot) * .34));
    background-size: 100% 0, var(--dot) var(--dot); background-repeat: no-repeat, repeat; }
  .hero-title::after { content: ""; position: absolute; left: -2%; right: -2%; top: 0; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--crayon); box-shadow: 0 0 22px 4px rgba(216, 50, 42, .32); opacity: 0; pointer-events: none; }
  .is-ready .hero-title { animation: hero-ink 1.3s cubic-bezier(.6, .05, .3, 1) .2s forwards; }
  .is-ready .hero-title::after { animation: hero-laser 1.3s cubic-bezier(.6, .05, .3, 1) .2s forwards; }
}
/* À l'arrivée, la trame disparaît et le texte reprend sa couleur : contours parfaitement nets. */
@keyframes hero-ink {
  99.9% { color: transparent; background-size: 100% 100%, var(--dot) var(--dot); animation-timing-function: step-end; }
  100% { color: var(--encre); background-size: 100% 0, 0 0; }
}
@keyframes hero-laser { 0% { top: 0; opacity: 0; } 12%, 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@media (forced-colors: active) { .hero-title { color: CanvasText; } .hero-title::after { display: none; } }

/* ---------------- 2. Un scan, deux issues ---------------- */
.fork { padding: clamp(100px, 12vw, 180px) var(--pad) clamp(70px, 9vw, 130px); max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; }
.fork-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 70px); }
.fork-head p { font-size: 20px; color: var(--encre-2); max-width: 28em; margin: 0 0 .4em; justify-self: end; }
.fork-map { position: relative; display: grid; grid-template-columns: 58.3% minmax(0, 1fr); padding: clamp(30px, 4vw, 60px) 0; --p2: 0; }
.fork-ends { grid-column: 2; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(48px, 5vw, 80px); min-height: clamp(430px, 36vw, 520px); padding-right: 4%; }
.fork-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fork-svg path { fill: none; stroke: var(--encre); stroke-linecap: round; stroke-width: 3; }
.fork-svg .b1 { stroke: var(--crayon); }
.fork-dot { position: absolute; top: var(--mid, 50%); width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--blanc); border: 3px solid var(--encre); }
.fork-dot.d0 { left: 2.5%; width: 28px; height: 28px; margin: -14px 0 0 -14px; background: var(--platre); }
.fork-dot.d1 { left: 35.83%; transform: scale(calc(.4 + .6 * var(--p2))); }
.fork-origin { position: absolute; left: 0; top: calc(var(--mid, 50%) + 32px); max-width: 30%; }
.fork-origin-title { font-size: clamp(34px, 3.4vw, 54px); margin: 4px 0 12px; }
.fork-tag { font-size: 15px; font-weight: 650; color: var(--gris); margin: 0; }
.fork-meta { display: inline-block; margin: 0; padding: 6px 11px; border-radius: 10px; background: var(--platre); font-size: 15px; font-weight: 700; }
.fork-end { position: relative; max-width: 520px; }
.fork-end.end-1 { padding-top: 30px; }
.fork-end.end-2 { padding-bottom: 30px; }
.fork-end h3 { font-size: clamp(38px, 3.8vw, 60px); margin: 6px 0 14px; }
.fork-end p { margin: 0 0 12px; color: var(--encre-2); }
.fork-end p.fork-out { display: inline-flex; align-items: center; gap: 9px; margin: 4px 0 0; padding: 8px 13px 8px 10px; border-radius: 12px; font-weight: 700; font-size: 15.5px; color: var(--encre); }
.fork-out::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--blanc); }
.fork-link, .carte-foot a { font-weight: 700; color: var(--encre); text-decoration: underline; text-decoration-color: var(--crayon); text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
@media (scripting: enabled) {
  .fork-end { opacity: 0; transform: translateX(-14px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .fork-map.lit .fork-end { opacity: 1; transform: none; }
  .fork-map.lit .end-2 { transition-delay: .12s; }
}

/* ---------------- Fabriqué en France : bleu (cire), blanc, rouge (crayon) ---------------- */
.france { margin: clamp(8px, 1.6vw, 24px) clamp(8px, 1.4vw, 22px) 0; border-radius: var(--r-xl); background: var(--cire); padding: clamp(64px, 8.5vw, 124px) var(--pad); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; --hole-bg: var(--cire); }
.france > * { min-width: 0; }
.france-kicker { display: inline-flex; align-items: center; gap: 11px; margin: 0 0 24px; padding: 8px 15px 8px 11px; border-radius: 12px; background: var(--blanc); font-weight: 700; font-size: 15.5px; line-height: 1.2; }
.flag { display: inline-flex; flex: none; width: 26px; height: 18px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1.5px var(--encre); }
.flag i { flex: 1; } .flag i:nth-child(1) { background: var(--bleu); } .flag i:nth-child(2) { background: var(--blanc); } .flag i:nth-child(3) { background: var(--crayon); }
.france h2 { font-size: clamp(46px, 6.4vw, 100px); }
.france-copy > p:last-child { font-size: 20px; color: var(--encre); max-width: 30em; margin: 32px 0 0; }
.tricolore { position: relative; display: inline-block; white-space: nowrap; }
.tricolore svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .27em; overflow: visible; pointer-events: none; }
.tricolore path { fill: none; stroke-width: 8; stroke-linecap: round; }
.tricolore .t-bleu { stroke: var(--bleu); } .tricolore .t-blanc { stroke: var(--blanc); } .tricolore .t-rouge { stroke: var(--crayon); }
@media (scripting: enabled) {
  .tricolore path { stroke-dasharray: 1 2; stroke-dashoffset: 1.01; transition: stroke-dashoffset .45s var(--ease) .15s; }
  .tricolore .t-blanc { transition-delay: .5s; } .tricolore .t-rouge { transition-delay: .85s; }
  .tricolore.drawn path { stroke-dashoffset: 0; }
}
.lk { font-weight: 700; color: var(--encre); text-decoration: underline; text-decoration-color: var(--crayon); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lk:hover { text-decoration-thickness: 3px; }
.france-cards { display: grid; gap: 20px; }
.fr-card { position: relative; background: var(--blanc); border-radius: 30px; padding: 26px 30px 22px; box-shadow: var(--shadow); transform: rotate(-1.4deg); }
.fr-card + .fr-card { transform: rotate(1deg); margin-left: clamp(0px, 4vw, 64px); }
.fr-k { margin: 0; font-size: 15px; font-weight: 650; color: var(--gris); }
.fr-city { margin: 8px 0 16px; font-size: clamp(46px, 4.8vw, 76px); }
.fr-card dl { margin: 0; display: grid; }
.fr-card dl div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 2px solid var(--trait); font-size: 16.5px; line-height: 1.35; }
.fr-card dt { color: var(--gris); }
.fr-card dd { margin: 0; font-weight: 650; }
.fr-stamp { position: absolute; right: 26px; top: 66px; padding: 5px 12px; border: 2.5px solid var(--crayon); border-radius: 10px; color: var(--crayon); font-weight: 800; font-size: 15px; letter-spacing: -.01em; background: rgba(255, 255, 255, .9); transform: rotate(-7deg); }
@media (max-width: 1080px) {
  .france { grid-template-columns: minmax(0, 1fr); }
  .fr-card + .fr-card { margin-left: 0; }
  .france-cards { max-width: 640px; }
}
@media (max-width: 520px) {
  .france-copy > p:last-child { font-size: 18px; }
  .fr-card { padding: 22px 20px 18px; border-radius: 26px; }
  .fr-card dl div { grid-template-columns: 86px minmax(0, 1fr); gap: 8px; font-size: 15.5px; }
  .fr-stamp { right: 16px; top: 58px; max-width: 6.6em; font-size: 12.5px; line-height: 1.05; text-align: center; padding: 4px 8px; border-width: 2px; }
}

/* ---------------- 3. Confidentialité ---------------- */
.anon { margin: 0 clamp(8px, 1.4vw, 22px); border-radius: var(--r-xl); background: var(--menthe); padding: clamp(70px, 9vw, 130px) var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: center; --hole-bg: var(--menthe); }
.anon > * { max-width: 720px; }
.anon-demo { position: relative; justify-self: end; width: 100%; background: var(--blanc); border-radius: 28px; padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.anon-head { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--encre-2); }
.anon-row { display: grid; gap: 4px; padding: 16px 0; border-bottom: 2px solid var(--trait); }
.anon-k { font-size: 14.5px; font-weight: 650; color: var(--gris); }
.anon-v { font-size: clamp(16px, 1.7vw, 23px); font-weight: 650; line-height: 1.3; word-break: break-word; min-height: 1.3em; }
.anon-shape { color: var(--crayon); }
.anon-caption { font-size: 14px; color: var(--gris); margin: 14px 0 0; }
.anon-copy p { font-size: 20px; color: var(--encre-2); max-width: 30em; margin: 30px 0 28px; }
.anon-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.anon-facts li { display: flex; gap: 14px; align-items: center; font-weight: 650; font-size: 18px; line-height: 1.3; }
.anon-facts li::before { content: ""; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.3L19 6.5' fill='none' stroke='%23D8322A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* ---------------- 4. Les tarifs : une grille tarifaire sobre, comme une fiche technique ---------------- */
.carte { padding: clamp(100px, 12vw, 170px) var(--pad) clamp(60px, 7vw, 110px); max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; }
.carte-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: clamp(28px, 3.4vw, 44px); }
.carte-head h2 { margin: 0; font-size: clamp(44px, 5.8vw, 92px); }
.carte-note { font-size: 19px; color: var(--encre-2); max-width: 30em; margin: 0; }
/* Les délais : deux repères côte à côte, séparés d'un filet */
.carte-delays { display: inline-flex; flex-wrap: wrap; margin: 20px 0 0; border: 2px solid var(--trait); border-radius: 16px; }
.carte-delays div { display: grid; gap: 1px; padding: 10px 20px 11px; line-height: 1.25; }
.carte-delays div + div { border-left: 2px solid var(--trait); }
.carte-delays dt { font-size: 14px; font-weight: 600; color: var(--gris); }
.carte-delays dd { margin: 0; font-size: 18px; font-weight: 700; }
.carte-star { margin: 10px 2px 0; font-size: 14.5px; color: var(--gris); }
/* La grille : un cadre à l'encre, deux colonnes de même hauteur, un filet entre chaque prestation.
   Chaque catégorie garde sa couleur du labo, en simple pastille devant son nom. */
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 2px solid var(--encre); border-radius: 24px; background: var(--blanc); }
.grille.solo { grid-template-columns: minmax(0, 1fr); }
.grille-col { padding: 6px clamp(22px, 2.8vw, 44px) 12px; }
.grille-col + .grille-col { border-left: 2px solid var(--trait); }
.grille .cat { padding: 24px 0 4px; background: none; }
.cat + .cat { margin-top: 8px; }
/* « Autre » : une ligne pleine largeur au bas du cadre (sur grand écran, alignée sur les deux colonnes) */
.grille-wide { grid-column: 1 / -1; padding: 0 clamp(22px, 2.8vw, 44px) 2px; border-top: 2px solid var(--trait); }
@media (min-width: 861px) {
  .grille-wide { padding: 0 0 2px; }
  .grille-wide .cat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; padding: 4px 0 2px; }
  .grille-wide .cat-head, .grille-wide .cat-items { padding-inline: clamp(22px, 2.8vw, 44px); }
  .grille-wide .cat-items { margin-left: 2px; }
  .grille-wide .cat + .cat { margin-top: 0; border-top: 1px solid var(--trait-2); }
  .grille-wide .cat-head { padding-block: 0; border: 0; }
  .grille-wide .cat-head span { display: none; }
}
.cat.c-platre { --cat: var(--platre); } .cat.c-cire { --cat: var(--cire); } .cat.c-resine { --cat: var(--resine); } .cat.c-menthe { --cat: var(--menthe); } .cat.c-brume { --cat: var(--brume-2); }
.cat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--encre); }
.cat-head h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(21px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.cat-head h3::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 5px; background: var(--cat, var(--brume-2)); box-shadow: inset 0 0 0 2px var(--encre); }
.cat-head span { margin-left: auto; font-size: 14.5px; font-weight: 600; color: var(--gris); white-space: nowrap; }
.cat-items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 24px; align-items: baseline; padding: 15px 0 14px; }
.item + .item { border-top: 1px solid var(--trait-2); }
.item-name { display: grid; gap: 2px; }
.item-name b { font-size: 18px; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; }
.item-rule, .item-desc { font-size: 15px; color: var(--gris); }
.px { grid-column: 2; grid-row: 1; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; text-align: right; }
.px small { font-size: 14px; font-weight: 550; letter-spacing: 0; color: var(--gris); margin-left: 4px; }
.px.devis { font-size: 16px; font-weight: 650; letter-spacing: 0; color: var(--encre-2); }
.px-prod { grid-column: 1 / -1; font-size: 14.5px; font-weight: 600; color: var(--encre-2); }
.no-prod .px-prod { display: none; }
/* Production métal sur devis : un bandeau sous la grille */
.carte-list:not(.no-prod) .carte-prod { display: none; }
.carte-prod { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 40px; margin-top: 14px; padding: 22px clamp(22px, 2.8vw, 44px); border-radius: 24px; background: var(--brume); }
.carte-prod h3 { margin: 0 0 4px; font-size: 21px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.carte-prod p { margin: 0; color: var(--encre-2); max-width: 46em; }
.carte-foot { font-size: 15.5px; color: var(--gris); margin: 18px 4px 0; }

/* ---------------- 5. Suivi ---------------- */
.suivi { padding: clamp(60px, 8vw, 120px) var(--pad) clamp(90px, 11vw, 160px); max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; }
.suivi-title { max-width: 12ch; }
.suivi-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); margin-top: clamp(40px, 6vw, 80px); }
.states { list-style: none; margin: 0; padding: 0; }
.state { min-height: 46vh; padding-top: 20px; }
.state-name { display: inline-flex; align-items: center; gap: .3em; font-size: clamp(40px, 4.4vw, 68px); color: #A9A7B2; transition: color .5s; }
.state-name::before { content: ""; flex: none; width: .4em; height: .4em; border-radius: .13em; background: #E4E3E9; transition: background-color .5s, box-shadow .5s; }
.state p { max-width: 28em; color: var(--encre-2); margin: 14px 0 0; opacity: .45; transition: opacity .5s; }
.state.on .state-name { color: var(--encre); }
.state.on p { opacity: 1; }
.state.on .state-name::before { box-shadow: inset 0 0 0 .07em var(--encre); }
.state[data-state=depose].on .state-name::before { background: var(--st-depose); }
.state[data-state=pris_en_charge].on .state-name::before { background: var(--cire); }
.state[data-state=en_conception].on .state-name::before { background: var(--platre); }
.state[data-state=termine].on .state-name::before { background: var(--menthe); }
.ticket-zone { position: sticky; top: calc(50vh - 290px); align-self: start; height: 580px; border-radius: var(--r-xl); background: var(--tray, var(--st-depose)); display: grid; place-items: center; transition: background-color .6s var(--ease); --hole-bg: var(--tray, var(--st-depose)); }
.ticket-zone[data-s=pris_en_charge] { --tray: var(--cire); }
.ticket-zone[data-s=en_conception] { --tray: var(--platre); }
.ticket-zone[data-s=termine] { --tray: var(--menthe); }
.ticket { position: relative; width: min(100% - 48px, 380px); background: var(--blanc); border-radius: 26px; padding: 24px 26px 22px; transform: rotate(-2.5deg); box-shadow: var(--shadow); }
.ticket .hole { top: 20px; right: 22px; }
.ticket-top { margin: 0; font-size: 15px; font-weight: 650; color: var(--gris); }
.ticket-num { display: block; font-size: 34px; margin: 4px 0 12px; }
.ticket-rows { margin: 0; display: grid; }
.ticket-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 2px solid var(--trait); font-size: 16px; }
.ticket-rows dt { color: var(--gris); }
.ticket-rows dd { margin: 0; font-weight: 650; }
.ticket-none { color: var(--crayon); }
.ticket-code { width: 56%; height: 34px; margin-top: 18px; opacity: .9; background: repeating-linear-gradient(90deg, var(--encre) 0 2px, transparent 2px 5px, var(--encre) 5px 6px, transparent 6px 9px, var(--encre) 9px 12px, transparent 12px 14px); }
.stamp { position: absolute; right: 20px; bottom: 22px; padding: 6px 14px; border: 3px solid var(--crayon); border-radius: 12px; background: rgba(255, 255, 255, .86); color: var(--crayon); font-size: 19px; font-weight: 800; letter-spacing: -.01em; transform: rotate(-9deg); }
.stamp.hit { animation: stamp .55s var(--ease); }
@keyframes stamp { 0% { transform: rotate(-9deg) scale(1.9); opacity: 0; } 60% { transform: rotate(-9deg) scale(.94); opacity: 1; } 100% { transform: rotate(-9deg) scale(1); } }
.mail-pop { position: absolute; left: 50%; bottom: 20px; translate: -50% 0; display: grid; gap: 2px; background: var(--encre); color: #fff; padding: 11px 18px; border-radius: 16px; font-size: 16px; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .45s var(--ease); }
.mail-k { font-size: 13.5px; font-weight: 600; color: #D3CFDC; }
.mail-pop.show { opacity: 1; transform: none; }

/* ---------------- 6. Atelier ---------------- */
.atelier { display: grid; grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); gap: clamp(30px, 5vw, 80px); align-items: end; padding: clamp(60px, 9vw, 140px) var(--pad); max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; }
.atelier-statement { font-size: clamp(40px, 5vw, 80px); margin: 0; }
.atelier-bio p { color: var(--encre-2); margin: 0 0 16px; }
.atelier-facts { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.atelier-facts li { padding: 7px 12px; border-radius: 10px; background: var(--brume); font-weight: 650; font-size: 15px; }

/* ---------------- 7. Contact ---------------- */
.contact { background: var(--brume); margin: 0 clamp(8px, 1.4vw, 22px); border-radius: var(--r-xl); padding: clamp(60px, 8vw, 110px) var(--pad); display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); gap: clamp(36px, 5vw, 80px); }
.contact > * { min-width: 0; }
.contact-side > p { color: var(--encre-2); margin: 26px 0 30px; max-width: 26em; font-size: 20px; }
.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 2px solid var(--brume-2); align-items: baseline; }
.contact-lines .k { font-size: 15px; font-weight: 650; color: var(--gris); }
.contact-lines a { font-weight: 650; text-decoration: underline; text-decoration-color: var(--crayon); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-forms { background: var(--blanc); border-radius: 32px; padding: clamp(22px, 3vw, 40px); align-self: start; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--brume); border-radius: 18px; margin-bottom: 26px; }
.seg button { border: 0; background: transparent; padding: 10px 16px; border-radius: 13px; font-size: 16px; font-weight: 700; color: var(--encre-2); cursor: pointer; transition: background-color .2s, color .2s; }
.seg button:hover { color: var(--encre); }
.seg button[aria-selected=true] { background: var(--encre); color: #fff; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.span2 { grid-column: 1 / -1; }
.radios { border: 0; padding: 0; margin: 0; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.radios legend { margin-bottom: 8px; width: 100%; }
.cform-foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.cform-foot .hint { max-width: 30em; margin: 0; }
.form-status { margin: 14px 0 0; font-size: 16px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--ok); } .form-status.err { color: var(--danger); }

/* ---------------- Pied de page : un bloc de plâtre ---------------- */
.foot { margin: clamp(60px, 8vw, 110px) clamp(8px, 1.4vw, 22px) 0; padding: clamp(50px, 7vw, 90px) var(--pad) 26px; background: var(--platre); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.foot-top, .foot-bottom { max-width: var(--maxw); margin: 0 auto; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 2px solid rgba(29, 27, 34, .14); }
.foot-word { font-size: clamp(54px, 9vw, 140px); line-height: .86; margin: 0; }
.foot-word span { display: block; }
.foot-word .foot-sub { font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; font-stretch: 100%; letter-spacing: -.01em; line-height: 1; margin-top: 20px; }
.foot-cols { display: flex; gap: clamp(30px, 5vw, 80px); padding-bottom: 10px; }
.foot-cols div { display: grid; gap: 8px; align-content: start; }
.foot-cols a { text-decoration: none; font-weight: 600; font-size: 17px; }
.foot-cols a:hover { text-decoration: underline; text-decoration-color: var(--crayon); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot-k { font-size: 14.5px; font-weight: 650; color: var(--encre-2); margin: 0 0 6px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; padding-top: 18px; font-size: 14.5px; color: var(--encre-2); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 24px); }
  .carte-head { grid-template-columns: 1fr; gap: 24px; }
  .suivi-grid { grid-template-columns: 1fr; }
  .ticket-zone { position: relative; top: 0; height: auto; min-height: 540px; padding: 40px 0 110px; order: -1; }
  .state { min-height: 0; padding-bottom: 30px; }
  .state .state-name { color: var(--encre); }
  .state p { opacity: 1; }
  .atelier { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .anon { grid-template-columns: 1fr; }
  .anon > * { max-width: none; }
  .anon-copy { order: -1; }
  .anon-demo { justify-self: start; max-width: 640px; }
}
@media (max-width: 860px) {
  :root { --nav-h: 72px; }
  .nav { display: flex; justify-content: space-between; height: 72px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .nav.scrolled { height: 72px; }
  .nav-menu { position: fixed; inset: 78px 12px auto; flex-direction: column; gap: 2px; padding: 12px; background: var(--blanc); border-radius: 24px; box-shadow: 0 0 0 2px var(--encre), var(--shadow); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
  .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu a { padding: 14px 16px; font-size: 18px; font-weight: 650; }
  .nav-mobile-cta { display: block; background: var(--encre); color: #fff !important; text-align: center; margin-top: 6px; }
  .nav-mobile-cta:hover { background: #36333D !important; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero .chips { justify-content: flex-start; justify-self: start; max-width: none; }
  .fork-head { grid-template-columns: 1fr; }
  .fork-head p { justify-self: start; }
  .fork-map { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 0 0 30px; border-left: 3px solid var(--encre); margin-left: 12px; }
  .fork-ends { grid-column: auto; display: block; min-height: 0; padding: 0; }
  .fork-svg, .fork-dot { display: none; }
  .fork-origin, .fork-end { position: relative; inset: auto; width: auto; max-width: none; padding: 0 0 44px; opacity: 1 !important; transform: none !important; }
  .fork-end.end-1, .fork-end.end-2 { padding: 0 0 44px; }
  .fork-end.end-2 { padding-bottom: 0; }
  .fork-origin::before, .fork-end::before { content: ""; position: absolute; left: -44px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--blanc); border: 3px solid var(--encre); }
  .fork-origin::before { background: var(--platre); }
  .end-1::before { border-color: var(--crayon); }
  .grille { grid-template-columns: minmax(0, 1fr); }
  .grille-col + .grille-col { border-left: 0; border-top: 2px solid var(--trait); }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .br-m { display: inline; } .hero-title { --dot: 5px; font-size: clamp(42px, 11.4vw, 66px); } }
@media (max-width: 520px) {
  body { font-size: 17px; }
  .hero-title { --dot: 4px; font-size: clamp(40px, 12.6vw, 56px); }
  .hero-actions .btn { width: 100%; }
  .chips { gap: 8px; }
  .chip { font-size: 14.5px; }
  .grille { border-radius: 20px; }
  .grille-col, .grille-wide { padding: 2px 18px 8px; }
  .item-name b { font-size: 17px; }
  .px { font-size: 20px; }
  .carte-prod { padding: 20px 18px; border-radius: 20px; }
  .carte-delays div { padding: 9px 14px 10px; }
  .carte-delays dd { font-size: 16.5px; }
  .ticket-zone { min-height: 500px; }
  .ticket { padding: 20px 20px 18px; }
  .ticket-num { font-size: 28px; }
  .stamp { font-size: 16px; right: 14px; bottom: 15px; }
  .contact-lines li { grid-template-columns: 1fr; gap: 2px; }
  .seg { display: flex; }
  .seg button { flex: 1 1 auto; padding: 10px 12px; font-size: 15px; }
  .cform-foot .btn { width: 100%; }
  .anon-demo { transform: rotate(-1deg); }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 13px; }
  .tile { width: 44px; height: 44px; border-radius: 13px; }
  .brand-mark { width: 30px; height: 30px; }
}

/* Couleurs du labo (en dernier : elles l'emportent sur les fonds par défaut) */
.c-platre { background: var(--platre); } .c-cire { background: var(--cire); } .c-menthe { background: var(--menthe); } .c-resine { background: var(--resine); } .c-brume { background: var(--brume); }
