/* Metiva — feuille de style commune. Charte : vert sapin, ocre, gris pierre, lin, anthracite. */
:root {
  --sapin: #1E4D3A;
  --ocre: #B08D3C;
  --ocre-fonce: #9A7A2E;
  --pierre: #6B6A63;
  --lin: #ECE8DD;
  --anthracite: #2C2C2A;
  --blanc: #FFFFFF;
  --erreur: #B3261E;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Calibri, Carlito, "Source Sans 3", "Source Sans Pro", "Segoe UI", Arial, sans-serif;
  --largeur: 1120px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 1.125rem; line-height: 1.65; color: var(--anthracite); background: var(--blanc); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--sapin); text-underline-offset: 3px; }
a:hover { color: var(--anthracite); }
:focus-visible { outline: 3px solid var(--sapin); outline-offset: 3px; }
.hero-plein :focus-visible, .entete-page :focus-visible, .approche-bande :focus-visible, .appel :focus-visible { outline-color: var(--blanc); }
.figure:focus-visible { outline-color: var(--sapin); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--sapin); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }

.conteneur { width: min(100% - 2.5rem, var(--largeur)); margin-inline: auto; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 1rem; top: -4rem; background: var(--sapin); color: var(--blanc); padding: .6rem 1rem; z-index: 200; }
.lien-evitement:focus { top: .5rem; color: var(--blanc); }

/* En-tête */
.entete { position: fixed; inset: 0 0 auto 0; height: var(--header-h); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--lin); z-index: 100; }
.entete .conteneur { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logotype { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.logotype .marque { font-family: var(--serif); font-size: 1.85rem; color: var(--sapin); letter-spacing: .01em; }
.logotype .signature { font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--ocre-fonce); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; color: var(--anthracite); font-size: 1rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--sapin); border-bottom-color: var(--ocre); }
.nav .bouton { color: var(--blanc); border: 0; padding: .6rem 1.2rem; }
.nav .bouton:hover { color: var(--blanc); background: var(--anthracite); }
.has-sub { position: relative; }
.nav .sous-menu { position: absolute; top: 100%; left: -1rem; min-width: 300px; background: var(--blanc); border: 1px solid var(--lin); border-top: 3px solid var(--sapin); padding: .8rem 1rem; display: none; flex-direction: column; align-items: stretch; gap: .2rem; z-index: 110; }
.nav .sous-menu a { display: block; padding: .4rem 0; }
.nav .has-sub:hover .sous-menu, .nav .has-sub:focus-within .sous-menu { display: flex; }
.nav .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
@media (max-width: 1100px) { .nav .has-sub::after { display: none; } }

.menu-bouton { display: none; background: none; border: 1px solid var(--sapin); color: var(--sapin); font: inherit; padding: .5rem .9rem; cursor: pointer; }

/* Boutons */
.bouton { display: inline-block; background: var(--sapin); color: var(--blanc); text-decoration: none; padding: .85rem 1.6rem; font-size: 1.05rem; border: 2px solid var(--sapin); transition: background .2s, color .2s; }
.bouton:hover { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); }
.bouton-contour { background: transparent; color: var(--sapin); }
.bouton-contour:hover { background: var(--sapin); color: var(--blanc); border-color: var(--sapin); }

main { padding-top: var(--header-h); }
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.fond-lin { background: var(--lin); }
.surtitre { font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--pierre); margin: 0 0 1rem; }
.surtitre::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--ocre); margin-right: .7rem; }
.fond-lin .surtitre { color: var(--anthracite); }
.chapeau { font-size: 1.3rem; line-height: 1.55; max-width: 46rem; }

/* Grilles et cartes */
.grille { display: grid; gap: 1.5rem; }
.grille-3 { grid-template-columns: repeat(3, 1fr); }
.lien-fleche { font-weight: 700; text-decoration: none; }
.lien-fleche::after { content: " \2192"; }

.encadre { background: var(--lin); border-left: 4px solid var(--sapin); padding: 1.6rem 1.8rem; }
section:not(.fond-lin) .encadre { margin-top: 1.5rem; }
.fond-lin .encadre { background: var(--blanc); }

ul.puces { list-style: none; padding: 0; margin: 0 0 1.2em; }
ul.puces li { position: relative; padding-left: 1.5rem; margin-bottom: .6rem; }
ul.puces li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; background: var(--ocre); }

.etapes { counter-reset: etape; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.etapes li { counter-increment: etape; border-top: 1px solid var(--sapin); padding-top: 1rem; }
.etapes li::before { content: "0" counter(etape); font-family: var(--serif); font-size: 1.6rem; color: var(--ocre-fonce); display: block; }
.etapes strong { display: block; font-family: var(--serif); font-weight: 400; color: var(--sapin); font-size: 1.2rem; margin-bottom: .3rem; }

.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.deux-col > *, .fiche > *, .liste-domaines > * { min-width: 0; } /* évite qu'une figure large élargisse la grille et fasse défiler la page */

.appel { background: var(--sapin); color: var(--blanc); text-align: left; }
.appel h2 { color: var(--blanc); }
.appel .bouton { background: var(--blanc); color: var(--sapin); border-color: var(--blanc); }
.appel .bouton:hover { background: var(--lin); color: var(--anthracite); border-color: var(--lin); }

/* FAQ */
.faq details { border-top: 1px solid var(--pierre); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--pierre); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem; color: var(--sapin); }
.faq details p { margin: .8rem 0 0; }

/* Pied de page */
.pied { background: var(--lin); padding: 3.5rem 0 2rem; font-size: 1rem; color: var(--anthracite); }
.pied .grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.pied h2 { font-size: 1.05rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--sapin); }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: .4rem; }
.pied a { color: var(--anthracite); }
.pied .bas { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--pierre); color: var(--anthracite); font-size: .9rem; }

@media (max-width: 1100px) {
  html.js .menu-bouton { display: block; }
  html.js .nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--blanc); border-bottom: 1px solid var(--lin); display: none; padding: 1rem 1.25rem 1.5rem; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  html.js .nav.ouvert { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: .6rem; }
  /* sans JavaScript : l'en-tête n'est plus fixe et le menu reste affiché en ligne, sous le logotype */
  html:not(.js) .entete { position: static; height: auto; }
  html:not(.js) .entete .conteneur { height: auto; flex-wrap: wrap; padding: .8rem 0; }
  html:not(.js) main { padding-top: 0; }
  html:not(.js) .nav { width: 100%; }
  html:not(.js) .nav ul { flex-direction: row; flex-wrap: wrap; gap: .3rem 1.2rem; }
  html:not(.js) .nav .sous-menu { display: none; }
  .nav .sous-menu { position: static; display: flex; border: 0; border-left: 3px solid var(--lin); min-width: 0; padding: .2rem 0 .2rem 1rem; margin-top: .3rem; }
}

@media (max-width: 960px) {
  .grille-3, .deux-col, .etapes, .pied .grille { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Pages intérieures */
.fil-ariane { background: var(--blanc); font-size: .95rem; color: var(--pierre); padding: 1.1rem 0 0; }
.fil-ariane a { color: var(--pierre); }
.fil-ariane a:hover { color: var(--sapin); }
.fil-ariane [aria-current] { color: var(--anthracite); }
.entete-page .actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.fiche { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.fiche .encadre { margin-top: 0; }
.fiche h2, .fiche h3 { margin-bottom: .6rem; font-size: 1.3rem; }
.liste-domaines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; }
.liste-domaines article { border-top: 3px solid var(--sapin); padding-top: 1.2rem; }
.formulaire { display: grid; gap: 1.2rem; max-width: 640px; }
.formulaire label { display: block; font-weight: 700; margin-bottom: .3rem; }
.formulaire input, .formulaire select, .formulaire textarea { width: 100%; font: inherit; padding: .75rem .9rem; border: 1px solid var(--pierre); background: var(--blanc); color: var(--anthracite); border-radius: 0; }
.formulaire textarea { min-height: 160px; resize: vertical; }
.squelette h2 { margin-top: 2rem; font-size: 1.4rem; }
@media (max-width: 960px) { .fiche, .liste-domaines { grid-template-columns: 1fr; } }

/* En-tête des pages intérieures (direction A) : bande vert sapin, grand titre serif, chapeau lin */
.entete-page { background: var(--sapin); color: var(--lin); padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.entete-page .surtitre { color: var(--lin); }
.entete-page .surtitre::before { background: var(--ocre); }
.entete-page h1 { color: var(--blanc); font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -.015em; max-width: 16em; overflow-wrap: anywhere; }
.entete-page h1::after { content: ""; display: block; width: 2.4em; height: .09em; background: var(--ocre); margin-top: .4em; }
.entete-page .chapeau { color: var(--lin); max-width: 40em; }
.entete-page .article-meta { color: var(--lin); }
.entete-page .article-meta strong { color: var(--blanc); }
.entete-page a { color: var(--blanc); }
.entete-page .bouton { background: var(--blanc); color: var(--sapin); border-color: var(--blanc); }
.entete-page .bouton:hover { background: var(--lin); border-color: var(--lin); color: var(--anthracite); }
.fil-ariane + .entete-page { margin-top: 1.1rem; }
.entete-page .conteneur { position: relative; z-index: 1; }
.figure { margin: 2rem 0; }
.figure svg { width: 100%; height: auto; background: var(--blanc); border: 1px solid var(--lin); }
.fond-lin .figure svg { border-color: var(--pierre); }
.figure figcaption { font-size: .95rem; color: var(--pierre); margin-top: .6rem; }
.fond-lin .figure figcaption { color: var(--anthracite); }
.f-sapin { fill: var(--sapin); } .f-ocre { fill: var(--ocre); } .f-lin { fill: var(--lin); } .f-pierre { fill: var(--pierre); }
.s-sapin { stroke: var(--sapin); fill: none; stroke-width: 2; } .s-ocre { stroke: var(--ocre); fill: none; stroke-width: 2; } .s-pierre { stroke: var(--pierre); fill: none; stroke-width: 1.5; }
.sv-t { font-family: var(--sans); font-size: 15px; fill: var(--anthracite); }
.sv-tb { font-family: var(--sans); font-size: 15px; font-weight: 700; fill: var(--anthracite); }
.sv-tw { font-family: var(--sans); font-size: 15px; fill: var(--blanc); }
.sv-ts { font-family: var(--serif); font-size: 20px; fill: var(--sapin); }
.sv-small { font-family: var(--sans); font-size: 13px; fill: var(--anthracite); }

/* Ressources et articles */
.article-corps { max-width: 46rem; }
.article-corps h2 { margin-top: 2.2em; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.article-corps h3 { margin-top: 1.6em; }
.article-meta { color: var(--pierre); font-size: .95rem; margin: 1rem 0 0; }
.article-meta strong { color: var(--anthracite); font-weight: 400; }
.carte-article { border-top: 1px solid var(--sapin); padding-top: 1.2rem; display: flex; flex-direction: column; }
.carte-article .num { font-family: var(--serif); color: var(--ocre-fonce); font-size: 1.5rem; margin-bottom: .3rem; }
.carte-article h2, .carte-article h3 { font-size: 1.45rem; line-height: 1.2; }
.carte-article h2 a, .carte-article h3 a { text-decoration: none; }
.carte-article h2 a:hover, .carte-article h3 a:hover { text-decoration: underline; text-decoration-color: var(--ocre); }
.carte-article .meta { font-size: .9rem; color: var(--pierre); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .08em; }
.carte-article p:last-child { margin-top: auto; }
.article-page .conteneur { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.article-page .conteneur > * { min-width: 0; }
.article-corps > p:first-of-type { font-size: 1.22rem; line-height: 1.55; }
.article-corps h2 { scroll-margin-top: calc(var(--header-h) + 1rem); }
.sommaire { background: var(--lin); border-left: 4px solid var(--sapin); padding: 1.2rem 1.6rem; margin: 0; position: sticky; top: calc(var(--header-h) + 1.5rem); font-size: .98rem; }
.sommaire p { margin: 0 0 .5rem; font-family: var(--serif); color: var(--sapin); font-size: 1.1rem; }
.sommaire ol { margin: 0; padding-left: 1.2rem; }
.sommaire li { margin-bottom: .35rem; }
.sommaire a { text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }
.encadre-offre { background: var(--lin); border-left: 4px solid var(--sapin); padding: 1.6rem 1.8rem; margin: 2.5rem 0 0; }
.encadre-offre .surtitre { margin-bottom: .5rem; color: var(--anthracite); }
.encadre-offre h2 { font-size: 1.5rem; margin: 0 0 .4rem; }
.encadre-offre p { margin: 0 0 .8rem; }
@media (max-width: 1100px) { .article-page .conteneur { grid-template-columns: 1fr; } .sommaire { position: static; order: -1; margin-bottom: 2rem; } }

/* Correctifs accessibilité (relecture) */
:root { --ocre-texte: #7A5F1B; } /* ocre assombri pour le petit texte : 4,9:1 sur lin, 6,1:1 sur blanc */
.logotype .signature { color: var(--ocre-texte); }
.entete-page .article-meta strong { font-weight: 700; }
@media (max-width: 720px) {
  .figure { overflow-x: auto; }
  .figure svg { min-width: 640px; }
}

/* Formulaire de contact : retours d'envoi, champ piège, consentement */
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .consentement label { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: 1rem; }
.formulaire .consentement input { width: auto; margin-top: .35rem; flex: none; }
.formulaire .aide { font-size: .95rem; margin: .5rem 0 0 1.7rem; }
.form-statut { padding: 1rem 1.2rem; border-left: 4px solid var(--sapin); background: var(--lin); }
.form-statut.form-erreur { border-left-color: var(--erreur); }
.form-statut:empty { display: none; }

/* Accueil v2 (direction A « Plein écran, la forêt ») : hero sombre, typographie éditoriale, bandes au rythme varié */
:root { --hero-h: calc(100vh - var(--header-h)); }
.hero-plein { background: var(--sapin); color: var(--blanc); min-height: var(--hero-h); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: stretch; padding: 0; }
.hero-plein .texte { padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center; }
.hero-plein .surtitre { color: var(--lin); }
.hero-plein .surtitre::before { background: var(--ocre); }
.hero-plein h1 { color: var(--blanc); font-size: clamp(2.6rem, 7.2vw, 6.6rem); line-height: .98; letter-spacing: -.02em; max-width: 9.5em; margin: 0 0 .4em; overflow-wrap: anywhere; }
.hero-plein h1 em { font-style: italic; color: var(--lin); }
.hero-plein h1 .trait { display: block; width: 1.6em; height: .08em; background: var(--ocre); margin: .35em 0 0; }
.hero-plein .promesse { font-size: clamp(1.15rem, 1.6vw, 1.45rem); max-width: 32em; line-height: 1.5; color: var(--lin); }
.hero-plein .actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.hero-plein .bouton { background: var(--blanc); color: var(--sapin); border-color: var(--blanc); }
.hero-plein .bouton:hover { background: var(--lin); border-color: var(--lin); color: var(--anthracite); }
.hero-plein .bouton-contour { background: transparent; color: var(--blanc); border-color: var(--lin); }
.hero-plein .bouton-contour:hover { background: var(--lin); color: var(--sapin); }
.hero-plein .photo { margin: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3.5rem) 0 0; }
.hero-plein .photo img { width: auto; max-width: 100%; max-height: calc(var(--hero-h) - 2rem); height: auto; border-top: 6px solid var(--ocre); }
.hero-plein .photo figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.reperes { background: var(--lin); padding: 1.4rem 0; }
.reperes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 2.5rem; font-size: 1rem; color: var(--anthracite); }
.reperes li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--ocre); margin-right: .6rem; vertical-align: middle; }

.situations ol { list-style: none; counter-reset: s; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; }
.situations li { counter-increment: s; border-top: 1px solid var(--pierre); padding: 1.3rem 0 1.3rem 3.4rem; position: relative; }
.situations li::before { content: "0" counter(s); position: absolute; left: 0; top: 1.2rem; font-family: var(--serif); font-size: 1.5rem; color: var(--ocre-fonce); }
.situations li a { text-decoration: none; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; display: block; }
.situations li a:hover { text-decoration: underline; text-decoration-color: var(--ocre); }
.situations li span { display: block; font-size: 1rem; color: var(--pierre); margin-top: .35rem; }

.offres-liste { background: var(--lin); }
.offres-liste .ligne { display: grid; grid-template-columns: 4rem minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; align-items: baseline; padding: 1.6rem 0; border-top: 1px solid var(--sapin); text-decoration: none; color: inherit; }
.offres-liste .ligne:last-of-type { border-bottom: 1px solid var(--sapin); }
.offres-liste .ligne:hover h3 { text-decoration: underline; text-decoration-color: var(--ocre); }
.offres-liste .num { font-family: var(--serif); color: var(--ocre-fonce); font-size: 1.5rem; }
.offres-liste h3 { margin: 0 0 .2em; font-size: 1.55rem; }
.offres-liste p { margin: 0; font-size: 1.02rem; }
.offres-liste .duree { color: var(--anthracite); font-size: 1rem; }
.offres-liste .duree strong { display: block; font-family: var(--serif); font-weight: 400; color: var(--sapin); font-size: 1.15rem; }
.offres-liste .encadre { margin-top: 2rem; background: var(--blanc); }

.difference .conteneur { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.difference blockquote { margin: 0 0 1.5rem; font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1.12; color: var(--sapin); letter-spacing: -.01em; }
.difference blockquote::before { content: ""; display: block; width: 3rem; height: 4px; background: var(--ocre); margin-bottom: 1.2rem; }
.frise { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--sapin); }
.frise li { position: relative; padding: 0 0 1.5rem .6rem; }
.frise li::before { content: ""; position: absolute; left: calc(-1.4rem - 7px); top: .45em; width: 12px; height: 12px; background: var(--ocre); }
.frise li:last-child::before { background: var(--sapin); }
.frise strong { display: block; font-family: var(--serif); font-weight: 400; color: var(--sapin); font-size: 1.25rem; }
.frise span { color: var(--anthracite); font-size: 1rem; }
.certifs { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.certifs li { border: 1px solid var(--sapin); color: var(--sapin); padding: .35rem .8rem; font-size: .95rem; }

.approche-bande { background: var(--sapin); color: var(--blanc); }
.approche-bande .surtitre { color: var(--lin); }
.approche-bande h2 { color: var(--blanc); }
.approche-bande ol { list-style: none; counter-reset: a; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.approche-bande li { counter-increment: a; border-top: 1px solid var(--lin); padding-top: 1rem; }
.approche-bande li::before { content: "0" counter(a); font-family: var(--serif); font-size: 2.6rem; color: var(--ocre); display: block; line-height: 1; margin-bottom: .4rem; }
.approche-bande strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; margin-bottom: .3rem; }
.approche-bande p { color: var(--lin); margin: 0; }
.approche-bande a { color: var(--blanc); }

.demarrage .conteneur { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.demarrage .grand { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.25; color: var(--sapin); }
.demarrage .etapes { grid-template-columns: 1fr 1fr; }

/* Apparition discrète au défilement : visible d'emblée sans JavaScript ou avec prefers-reduced-motion */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 960px) {
  .hero-plein { grid-template-columns: 1fr; min-height: 0; }
  .hero-plein .photo { justify-content: center; padding: 0 1.25rem 2.5rem; }
  .hero-plein .photo img { max-height: none; width: min(100%, 420px); }
  .situations ol, .difference .conteneur, .demarrage .conteneur { grid-template-columns: 1fr; }
  .offres-liste .ligne { grid-template-columns: 3rem 1fr; gap: .5rem 1rem; }
  .offres-liste .ligne .duree { grid-column: 2; }
  .approche-bande ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .approche-bande ol, .demarrage .etapes { grid-template-columns: 1fr; } }

/* Portrait */
.portrait { margin: 0; max-width: 480px; }
.portrait img { display: block; width: 100%; height: auto; border-bottom: 4px solid var(--ocre); }
.portrait figcaption { font-size: .95rem; color: var(--pierre); margin-top: .7rem; }
@media (max-width: 960px) { .portrait { max-width: 360px; } }

/* Utilitaires (remplacent les styles en ligne) */
.mt-15 { margin-top: 1.5rem; } .mt-2 { margin-top: 2rem; } .mt-25 { margin-top: 2.5rem; } .mt-3 { margin-top: 3rem; }
.encadre-blanc { background: var(--blanc); }
.encadre-blanc.nu { margin: 0; }
.h2-suite { font-size: 1.6rem; }
.h2-moyen { font-size: 1.5rem; margin-bottom: .5rem; }
.conteneur-etroit { max-width: 48rem; }
.citation-propos { margin: 0 0 1.5rem; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; color: var(--sapin); }
.sv-smallw { font-family: var(--sans); font-size: 13px; fill: var(--blanc); }

/* Impression : tout le contenu visible, sans animation ni navigation */
@media print {
  html.js .reveal { opacity: 1; transform: none; }
  .entete, .menu-bouton, .lien-evitement, .appel .bouton { display: none; }
  main { padding-top: 0; }
  .entete-page, .hero-plein, .approche-bande, .appel { background: none; color: var(--anthracite); }
  .entete-page h1, .hero-plein h1, .appel h2, .approche-bande h2 { color: var(--anthracite); }
}

/* Page de confirmation renvoyée par envoyer.php (sans JavaScript) */
.page-confirmation { padding: 6rem 0; max-width: 40rem; }
