/* Page Entreprises, version 2 (proposition du 19/10/2026) */
.pv-situations { list-style: none; margin: 0; padding: 0; counter-reset: sit; border-top: 1px solid var(--color-ink); }
.pv-situations li { counter-increment: sit; display: grid; grid-template-columns: 3rem minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, .9fr); gap: var(--space-lg); align-items: baseline; padding: 1.15rem 0; border-bottom: 1px solid var(--color-line); }
.pv-situations li::before { content: counter(sit, decimal-leading-zero); font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-petrol); }
.pv-situations h3 { font-size: var(--text-xl); }
.pv-situations p { color: var(--color-ink-soft); }
.pv-situations a { justify-self: end; font-size: var(--text-sm); font-weight: 500; color: var(--color-petrol-deep); text-underline-offset: 3px; }
.pv-alliance { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pv-alliance__visuel { margin: 0; }
.pv-alliance__visuel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.pv-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.pv-duo article { display: grid; gap: var(--space-xs); align-content: start; padding: var(--space-lg); background: var(--color-white); border: 1px solid var(--color-line); border-radius: var(--radius); }
.pv-duo__role { font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-petrol-deep); }
.pv-duo h3 { font-size: var(--text-xl); }
.pv-duo article > p:not(.pv-duo__role) { font-size: var(--text-sm); color: var(--color-ink-soft); }
.pv-alliance__phrase { margin-top: var(--space-lg); font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.45; }
.pv-mouvements .tete p { max-width: none; }
.pv-mouvements dfn { font-style: normal; color: var(--color-white); font-weight: 500; }
.pv-mouvements__grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pv-mouvements__figure { margin: 0; display: grid; gap: var(--space-md); justify-items: center; }
.pv-cycle { width: min(100%, 420px); height: auto; color: oklch(80% 0.03 220); overflow: visible; }
.pv-cycle__nourrit { fill: none; stroke: currentColor; stroke-width: 2; }
.pv-cycle__regule { stroke: oklch(70% 0.03 220 / .7); stroke-width: 1.2; stroke-dasharray: 4 5; color: oklch(70% 0.03 220); }
.pv-cycle__noeud circle { fill: oklch(24% 0.035 255); stroke: var(--mvt); stroke-width: 2.5; transition: fill .3s ease, transform .3s ease; }
.pv-cycle__noeud text { fill: var(--color-white); font-family: var(--font-display); font-size: 15px; pointer-events: none; }
.pv-cycle__noeud.est-actif circle { fill: var(--mvt); }
.pv-cycle__noeud.est-actif text { fill: oklch(20% 0.03 255); }
/* Couleurs prélevées sur le tableau des 5 mouvements de la photo du workshop (vert, rouge, ocre, gris, bleu), éclaircies pour le fond encre */
.pv-bois { --mvt: oklch(74% 0.12 150); } .pv-feu { --mvt: oklch(68% 0.16 28); } .pv-terre { --mvt: oklch(78% 0.12 75); } .pv-metal { --mvt: oklch(84% 0.01 250); } .pv-eau { --mvt: oklch(72% 0.11 240); }
.pv-mouvements figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; font-size: var(--text-xs); color: oklch(85% 0.03 220); }
.pv-legende::before { content: ""; display: inline-block; width: 1.6rem; margin-right: .5rem; vertical-align: middle; border-top: 2px solid currentColor; }
.pv-legende--regule::before { border-top: 1.5px dashed currentColor; }
.pv-mouvements__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pv-mouvements__liste li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: var(--space-lg); padding: .9rem 0 .9rem 1rem; border-top: 1px solid oklch(100% 0 0 / .14); border-left: 3px solid transparent; outline: none; transition: border-color .3s ease, background-color .3s ease; }
.pv-mouvements__liste li:last-child { border-bottom: 1px solid oklch(100% 0 0 / .14); }
.pv-mouvements__liste li:hover, .pv-mouvements__liste li:focus-visible, .pv-mouvements__liste li.est-actif { border-left-color: var(--mvt); background: oklch(100% 0 0 / .04); }
.pv-mouvements__liste h3 { grid-row: span 2; font-size: var(--text-xl); color: var(--mvt); }
.pv-mouvements__liste p { font-size: var(--text-sm); color: oklch(90% 0.02 220); }
.pv-interroger { color: oklch(80% 0.03 220) !important; font-style: italic; }
.pv-mouvements__suite { margin-top: var(--space-xl); font-size: var(--text-sm); color: oklch(85% 0.03 220); }
.pv-mouvements__suite a { color: var(--color-turquoise); }
.pv-demande__grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.pv-demande__texte { display: grid; gap: var(--space-md); }
.pv-demande__texte h2 { font-size: var(--text-2xl); }
.pv-demande__texte > p { font-size: var(--text-lg); color: var(--color-ink-soft); font-weight: 300; }
.pv-demande__visage { margin: var(--space-sm) 0 0; display: flex; align-items: center; gap: var(--space-md); }
.pv-demande__visage img { width: 5.5rem; height: 5.5rem; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.pv-demande__visage figcaption { display: grid; gap: .15rem; font-size: var(--text-sm); color: var(--color-ink-soft); }
.pv-demande__visage b { color: var(--color-ink); font-weight: 500; font-size: var(--text-base); }
.pv-demande__contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.pv-demande__contacts a { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-petrol-deep); text-decoration: none; }
.pv-demande__contacts a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pv-demande__note { font-size: var(--text-sm); color: var(--color-ink-soft); }
.pv-form { scroll-margin-top: calc(var(--header-h) + 16px); }
.pv-form__etape { grid-column: 1 / -1; font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-petrol-deep); }
.pv-form__besoin { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.pv-form__besoin legend { padding: 0; margin-bottom: var(--space-sm); font-family: var(--font-display); font-size: var(--text-xl); }
.pv-choix { position: relative; display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border: 1px solid oklch(78% 0.02 235); border-radius: var(--radius); background: var(--color-paper); cursor: pointer; font-size: var(--text-sm); font-weight: 500; transition: border-color .2s ease, background-color .2s ease; }
.pv-choix input { width: 1.1rem; height: 1.1rem; accent-color: var(--color-petrol); flex: none; }
.pv-choix:hover { border-color: var(--color-ink-soft); }
.pv-choix:has(input:checked) { border-color: var(--color-petrol); background: var(--color-white); box-shadow: 0 0 0 1px var(--color-petrol); }
.pv-form__suite { grid-column: 1 / -1; justify-self: start; margin-top: var(--space-xs); }
.pv-form__coordonnees { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.champ select { font: inherit; font-size: var(--text-base); color: var(--color-ink); padding: .8rem .9rem; border-radius: var(--radius); border: 1px solid oklch(78% 0.02 235); background: var(--color-paper); }
.champ label span { color: var(--color-ink-soft); font-weight: 400; }
/* Formulaire en deux étapes quand le script tourne ; sans script, tout est visible et le bouton Continuer disparaît */
html:not(.js) .pv-form__suite, html:not(.js) .pv-form__etape { display: none; }
.js .pv-form:not(.est-etape2) .pv-form__coordonnees { display: none; }
.js .pv-form.est-etape2 .pv-form__suite { display: none; }
@media (max-width: 1100px) {
  .pv-situations li { grid-template-columns: 2.5rem minmax(0, 1fr); row-gap: .3rem; }
  .pv-situations p, .pv-situations a { grid-column: 2; justify-self: start; }
  .pv-alliance, .pv-mouvements__grille, .pv-demande__grille { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pv-duo, .pv-form__besoin, .pv-form__coordonnees { grid-template-columns: minmax(0, 1fr); }
  .pv-mouvements__liste li { grid-template-columns: minmax(0, 1fr); }
  .pv-mouvements__liste h3 { grid-row: auto; }
}
/* Très petits écrans : repères resserrés */
@media (max-width: 400px) { .pv-reperes .bref-b li { padding-inline: .7rem; } .pv-reperes .bref-b li:nth-child(odd) { padding-left: 0; } .pv-reperes .bref-b span { font-size: var(--text-xs); } }
/* Formats d'intervention (D, retenue le 19/10/2026) : défilement latéral */
.pf-d { padding-bottom: 0; }
.pf-d .tete { margin-bottom: var(--space-lg); }
.pf-colle { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: var(--space-3xl); }
.pf-colle__in { min-width: 0; }
.pf-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--color-line); }
.pf-tabs a { display: flex; align-items: baseline; gap: .7rem; padding: .9rem 0; font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink-soft); text-decoration: none; transition: color .2s ease; }
.pf-tabs a:hover, .pf-tabs a[aria-current="true"] { color: var(--color-ink); }
.pf-num { font-size: var(--text-sm); color: var(--color-petrol); font-variant-numeric: tabular-nums; }
.pf-barre { height: 2px; margin-top: -2px; }
.pf-barre span { display: block; height: 2px; background: var(--color-petrol); transform-origin: left; transform: scaleX(.3333); transition: transform .65s cubic-bezier(.65, 0, .35, 1); }
.pf-cadre { margin-top: var(--space-xl); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pf-cadre::-webkit-scrollbar { display: none; }
.pf-piste { display: flex; gap: var(--space-2xl); }
/* 19/10 : « n'hésite pas à agrandir la section » : photo à parts égales avec le texte, jusqu'à 600 px de haut (au lieu de 400) */
.pf-panneau { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; scroll-snap-align: start; }
.pf-panneau img { width: 100%; height: clamp(220px, calc(100svh - var(--header-h) - 190px), 600px); object-fit: cover; border-radius: var(--radius); }
.pf-panneau h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pf-texte { margin: 0 0 var(--space-md); font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.45; color: var(--color-ink-soft); font-weight: 300; }
.pf-panneau dl { margin: 0 0 var(--space-lg); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); border-top: 1px solid var(--color-line); padding-top: var(--space-md); }
.pf-panneau dt { font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-petrol-deep); }
.pf-panneau dd { margin: .2rem 0 0; font-size: var(--text-sm); color: var(--color-ink-soft); }
/* Rangée figée : le défilement de la page la fait glisser (classe posée par le script quand l'écran s'y prête) */
.pf-epingle.est-epingle { height: calc(100svh - var(--header-h) + var(--pf-course, 0px)); }
.est-epingle .pf-colle { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); align-content: center; padding-bottom: 0; }
.est-epingle .pf-cadre { overflow: hidden; overflow: clip; scroll-snap-type: none; }
/* 19/10 : « le scroll latéral doit être plus direct vers la slide d'après » : un format à la fois, la rangée bascule d'un bloc */
.est-epingle .pf-piste { will-change: transform; transition: transform .65s cubic-bezier(.65, 0, .35, 1); }
@media (max-width: 900px) {
  .pf-tabs a { font-size: var(--text-base); gap: .4rem; }
  .pf-piste { gap: var(--space-md); }
  .pf-panneau { flex-basis: 86%; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); align-items: start; }
  .pf-panneau img { height: auto; aspect-ratio: 4 / 3; }
  .pf-texte { font-size: var(--text-lg); }
  .pf-panneau dl { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) { .pf-tabs a { flex-direction: column; gap: 0; font-size: var(--text-sm); line-height: 1.25; } }
@media (max-width: 400px) { .pf-panneau .btn { padding-inline: .8rem; } .pf-panneau .btn svg { display: none; } }
