/* Feedback. Lie-de-vin, safran et papier blanc : la salle de restaurant le soir,
   et la feuille du rapport posée dessus. */

@font-face { font-family: "Young Serif"; src: url("../fonts/young-serif.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --vin: #4A1226;
  --vin-clair: #6B2340;
  --safran: #E9A820;
  --safran-pale: #FDF4DC;
  --lin: #F6F0F1;
  --papier: #FFFFFF;
  --encre: #241318;
  --gris: #66555B;
  --filet: #E4D8DB;
  --canard: #0E6470;
  --rouge: #B3261E;
  --titre: "Young Serif", Georgia, serif;
  --texte: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;
  --gouttiere: clamp(16px, 4vw, 40px);
  --espace: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 400 1.0625rem/1.6 var(--texte); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
h1, h2 { font-family: var(--titre); font-weight: 400; line-height: 1.12; color: var(--vin); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.875rem, 3.8vw, 2.875rem); }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 700; }
a { color: var(--vin); }
:focus-visible { outline: 3px solid var(--canard); outline-offset: 2px; border-radius: 2px; }
[hidden] { display: none !important; }

.conteneur { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gouttiere); }
.evitement { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--papier); padding: 8px 16px; }
.evitement:focus { left: 8px; }
mark.a-completer { background: #FFEB6B; color: #3A2C00; padding: 0 .25em; border-radius: 2px; }

/* Boutons et liens */
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border: 2px solid var(--safran); border-radius: 6px; background: var(--safran); color: var(--encre); font: 700 1rem/1.2 var(--texte); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s; }
.bouton:hover { background: #F5BC3F; border-color: #F5BC3F; }
.bouton--grand { min-height: 56px; padding-inline: 28px; font-size: 1.0625rem; }
.bouton--petit { min-height: 42px; padding: 6px 16px; font-size: .9375rem; }
.bouton--contour { background: transparent; border-color: var(--vin); color: var(--vin); }
.bouton--contour:hover { background: var(--lin); border-color: var(--vin); }
.lien-fort { color: var(--vin); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--safran); text-underline-offset: 4px; }
.lien-fort:hover { text-decoration-color: var(--vin); }
.lien-bouton { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; }
.lien-danger { color: var(--rouge); text-decoration: underline; font-size: .9375rem; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 20; background: var(--papier); border-bottom: 1px solid var(--filet); }
.entete__ligne { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.entete__logo img { width: 180px; }
.entete__menu { display: none; min-height: 44px; padding: 6px 16px; background: none; border: 2px solid var(--vin); border-radius: 6px; color: var(--vin); font: 700 .9375rem var(--texte); cursor: pointer; }
.navigation { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.navigation a:not(.bouton) { color: var(--encre); font-size: .9688rem; font-weight: 500; text-decoration: none; padding-block: 8px; border-bottom: 2px solid transparent; }
.navigation a:not(.bouton):hover, .navigation a[aria-current] { border-bottom-color: var(--safran); }

/* Une */
.une { background: var(--lin); padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); overflow: hidden; }
.une__grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.une__chapo { margin-top: 24px; max-width: 58ch; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; }
.une__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.une__prix { margin-top: 24px; max-width: 54ch; padding-left: 14px; border-left: 4px solid var(--safran); color: var(--encre); }
.une__simple { max-width: 900px; margin-left: max(0px, calc((100% - 1200px) / 2)); }
.une--metier .une__simple, .rapport-tete .une__simple { margin-inline: auto; max-width: 1200px; }
.une--metier h1, .rapport-tete h1 { max-width: 20ch; }
.fil { margin-bottom: 20px; color: var(--gris); font-size: .9375rem; }
.fil a { color: inherit; }

/* La feuille de rapport */
.feuille { background: var(--papier); padding: clamp(20px, 3vw, 32px); border-radius: 3px; box-shadow: 0 1px 0 var(--filet), 12px 14px 0 var(--vin); transform: rotate(1.2deg); }
.feuille__titre { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--filet); color: var(--gris); font-size: .875rem; }
.feuille__mention { font-weight: 700; color: var(--vin); }
.feuille__moment { margin-top: 16px; font-size: 1.5rem; }
.feuille__moment time { display: block; font: 700 .9375rem var(--texte); color: var(--gris); }
.regard { margin-top: 12px; padding-left: 12px; border-left: 3px solid; font-size: .9844rem; line-height: 1.45; }
.regard b { display: block; font-size: .8125rem; }
.regard--a { border-color: var(--vin); } .regard--a b { color: var(--vin); }
.regard--b { border-color: var(--canard); } .regard--b b { color: var(--canard); }
.feuille__avis { margin-top: 16px; padding: 12px 14px; background: var(--lin); border-radius: 3px; }
.feuille__avis h3 { font-size: .8125rem; color: var(--gris); font-weight: 700; }
.feuille__avis p { font-style: italic; line-height: 1.4; }
.feuille__action { margin-top: 12px; padding: 12px 14px; background: var(--safran-pale); border-radius: 3px; font-size: .9844rem; line-height: 1.45; }
.feuille__action b { display: block; font-size: .8125rem; }
.etoiles { color: #C98A05; letter-spacing: .08em; font-size: 1.0625rem; }
.etoiles__vide { color: #D5C8CC; }

/* Bandeau d'engagements */
.promesses { background: var(--vin); color: #fff; }
.promesses__liste { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 32px; padding-block: 24px; }
.promesses__liste li { font-size: .9375rem; line-height: 1.4; color: #F1E3E7; }
.promesses__liste strong { display: block; font-size: 1.0625rem; color: #fff; }

/* Sections */
.bande { padding-block: var(--espace); }
.bande--lin { background: var(--lin); }
.bande--vin { background: var(--vin); color: #F7ECEF; }
.bande--vin h2 { color: #fff; }
.titre-section p { margin-top: 18px; max-width: 58ch; font-size: 1.125rem; }
.titre-section .lien-fort { display: inline-block; margin-top: 20px; }
.titre-section--large { max-width: 800px; margin-bottom: clamp(32px, 4vw, 56px); }
.note-bande { margin-top: 20px; font-size: .9375rem; color: #DCC6CD; }

/* Manifeste */
.manifeste__grille { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: clamp(24px, 5vw, 64px); align-items: start; }
.manifeste h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.manifeste__chapo { margin-top: 20px; font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.5; }
.manifeste__grille p + p { margin-top: 16px; }

/* L'avis évité */
.evite { display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--papier); color: var(--encre); border-radius: 3px; }
.evite + .evite { margin-top: 16px; }
.evite__col { padding: clamp(18px, 2.2vw, 28px); }
.evite__col + .evite__col { border-left: 1px solid var(--filet); }
.evite__col h3 { margin-bottom: 8px; font-size: .875rem; color: var(--gris); }
.evite__col--avis { background: var(--safran-pale); }
.evite__col--avis p { font-style: italic; }

/* La chaîne de valeur */
.chaine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); }
.chaine__liste { counter-reset: c; }
.chaine__liste li { counter-increment: c; position: relative; padding: 0 0 24px 60px; }
.chaine__liste li::before { content: counter(c); position: absolute; left: 0; top: -2px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--vin); color: #fff; font: 1.125rem var(--titre); }
.chaine__liste li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 44px; bottom: 2px; width: 2px; background: var(--filet); }
.chaine__liste li:last-child { padding-bottom: 0; }
.chaine__liste strong { display: block; font-size: 1.125rem; }

/* Parcours */
.onglets { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 28px; background: var(--papier); border: 1px solid var(--filet); border-radius: 8px; }
.onglets button { min-height: 44px; padding: 8px 18px; background: none; border: 0; border-radius: 5px; font: 600 1rem var(--texte); color: var(--encre); cursor: pointer; }
.onglets button:hover { background: var(--lin); }
.onglets button[aria-selected="true"] { background: var(--vin); color: #fff; }
.parcours.est-actif .parcours__secours { display: none; }
.parcours__secours { margin: 24px 0 12px; font-size: 1.25rem; }
.etapes { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; counter-reset: e; border-top: 3px solid var(--vin); }
.etapes li { position: relative; counter-increment: e; padding: 22px 14px 0 0; }
.etapes li::before { content: ""; position: absolute; left: 0; top: -9px; width: 15px; height: 15px; border-radius: 50%; background: var(--safran); border: 3px solid var(--vin); }
.etapes h4 { font-family: var(--titre); font-weight: 400; font-size: 1.125rem; line-height: 1.2; color: var(--vin); }
.etapes p { margin-top: 8px; font-size: .9375rem; line-height: 1.45; color: var(--encre); }

/* Le duo */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); }
.duo__liste li + li, .contenu-rapport li + li { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--filet); }
.duo__liste p, .contenu-rapport p { margin-top: 4px; }

/* Équipe */
.equipe-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 6vw, 88px); }
.equipe-duo p + p { margin-top: 16px; }
.equipe-duo .manifeste__chapo { margin-top: 0; }

/* Rapport */
.rapport-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); }

/* Moments */
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px clamp(24px, 3vw, 44px); }
.moments li { padding-top: 14px; border-top: 2px solid var(--vin); }
.moments h3 { font: 400 1.3125rem/1.2 var(--titre); color: var(--vin); }
.moments p { margin-top: 8px; }

/* Offres */
.offres { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; }
.offre { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); border: 2px solid var(--filet); border-radius: 6px; }
.offre--suivi { background: var(--vin); border-color: var(--vin); color: #F7ECEF; }
.offre h3 { font: 400 1.5rem/1.2 var(--titre); }
.offre--suivi h3 { color: #fff; }
.offre__prix { margin-top: 12px; font: 400 3rem/1 var(--titre); color: var(--vin); }
.offre--suivi .offre__prix { color: var(--safran); }
.offre__prix span { display: block; margin-top: 8px; font: 500 .9375rem/1.3 var(--texte); color: var(--gris); }
.offre--suivi .offre__prix span { color: #E6D2D8; }
.offre__pour { margin-top: 14px; font-weight: 600; }
.offre ul { margin: 16px 0 24px; flex: 1; }
.offre li { position: relative; padding: 6px 0 6px 26px; }
.offre li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 13px; height: 7px; border-left: 2.5px solid var(--safran); border-bottom: 2.5px solid var(--safran); transform: rotate(-45deg); }
.deroule { margin-top: clamp(32px, 4vw, 48px); max-width: 1000px; }
.deroule h3 { font: 400 1.375rem var(--titre); color: var(--vin); }
.deroule ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 16px; counter-reset: d; }
.deroule li { counter-increment: d; font-size: .9844rem; line-height: 1.45; }
.deroule li::before { content: counter(d); display: block; margin-bottom: 4px; font: 1.5rem var(--titre); color: var(--vin); }

.document__intro { max-width: 66ch; margin-bottom: 16px; }
.releves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); }
.releves li { padding-block: 14px; border-top: 1px solid var(--filet); }
.releves h4 { font-size: 1.0625rem; }
.releves p { margin-top: 4px; }
.releve__tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
.releves .releve__idee { padding: 8px 12px; margin-top: 8px; background: var(--safran-pale); border-radius: 3px; }
.releve__idee b { display: block; font-size: .875rem; color: var(--vin); }

/* Tableaux */
.tableau-defile { overflow-x: auto; }
.comparaison, .plan, .gestion__liste { width: 100%; min-width: 680px; border-collapse: collapse; background: var(--papier); font-size: .9844rem; }
.comparaison th, .comparaison td, .plan th, .plan td, .gestion__liste th, .gestion__liste td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--filet); }
.comparaison thead th, .plan thead th, .gestion__liste thead th { font-size: .875rem; color: var(--gris); }
.comparaison tbody th, .plan tbody th { font-weight: 600; }
.comparaison__nous { background: var(--safran-pale); font-weight: 700; }
.comparaison thead .comparaison__nous { background: var(--vin); color: #fff; }

/* FAQ */
.faq-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq details:first-child { border-top: 1px solid var(--filet); }
.faq summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 1.0625rem; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 1.5rem/1 var(--titre); color: var(--vin); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 20px; max-width: 62ch; }

/* Appel final */
.appel { background: var(--safran); padding-block: clamp(40px, 5vw, 64px); }
.appel__ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.appel h2 { max-width: 22ch; color: var(--vin); }
.appel p { margin-top: 10px; max-width: 56ch; }
.appel .bouton { background: var(--vin); border-color: var(--vin); color: #fff; }
.appel .bouton:hover { background: var(--vin-clair); border-color: var(--vin-clair); }

/* Pages par métier */
.douleurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.douleurs li { padding-top: 14px; border-top: 2px solid var(--safran); }
.douleurs h3 { font: 400 1.375rem/1.2 var(--titre); color: #fff; }
.douleurs p { margin-top: 8px; }

/* Exemple de rapport */
.rapport-tete { background: var(--lin); padding-block: clamp(40px, 5vw, 72px); }
.document { max-width: 920px; padding-block: clamp(32px, 5vw, 64px); }
.document__tete { display: grid; gap: 20px; padding-bottom: 28px; border-bottom: 3px solid var(--vin); }
.document__tete img { width: 170px; }
.document__mention { display: inline-block; padding: 2px 10px; background: var(--safran-pale); font-weight: 700; font-size: .875rem; color: var(--vin); border-radius: 3px; }
.document__tete h2 { margin: 8px 0; }
.document__partie { margin-top: clamp(32px, 5vw, 52px); }
.document__partie > h3 { font: 400 1.75rem/1.2 var(--titre); color: var(--vin); margin-bottom: 16px; }
.document__resume { font-size: 1.1875rem; line-height: 1.5; max-width: 66ch; }
.synthese { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.synthese > div { padding: 18px 20px; background: var(--lin); border-radius: 3px; }
.synthese > div:last-child { background: var(--safran-pale); }
.synthese ul { margin-top: 8px; }
.synthese li { padding: 3px 0; }
.legende-regards { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 16px; font-size: .9375rem; color: var(--gris); }
.regard-pastille { padding: 1px 10px; border-radius: 3px; color: #fff; font-weight: 700; font-size: .875rem; }
.regard-pastille--a { background: var(--vin); } .regard-pastille--b { background: var(--canard); }
.recit__moment { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--filet); }
.recit__heure time { display: block; font: 1.25rem var(--titre); color: var(--vin); }
.pastille { display: inline-block; margin-top: 6px; padding: 1px 8px; border-radius: 3px; font-size: .8125rem; font-weight: 700; }
.pastille--bon { background: #DDF0E4; color: #14532D; }
.pastille--moyen { background: var(--safran-pale); color: #6B4A00; }
.pastille--faible { background: #F9DEDC; color: #8C1D18; }
.recit h4 { font-size: 1.125rem; }
.recit__moment p:first-of-type { margin-top: 4px; }
.avis-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.avis-duo > div { padding: 20px; border: 1px solid var(--filet); border-radius: 3px; }
.avis-duo p { margin-top: 6px; font-style: italic; }
.avis-duo .petit { font-style: normal; font-size: .9375rem; color: var(--gris); }

/* Formulaire de demande */
.demande { background: var(--lin); padding-block: clamp(32px, 5vw, 64px); }
.demande__grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.demande__intro h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); }
.demande__intro > p { margin-top: 12px; font-size: 1.125rem; }
.demande__intro h2 { margin-top: 28px; font-size: 1.375rem; }
.suite { margin-top: 10px; counter-reset: s; }
.suite li { counter-increment: s; position: relative; padding: 6px 0 6px 34px; }
.suite li::before { content: counter(s); position: absolute; left: 0; top: 7px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--vin); color: #fff; font-size: .8125rem; font-weight: 700; }
.demande__intro .demande__rassure { margin-top: 20px; font-size: .9375rem; color: var(--gris); }
.formulaire { padding: clamp(20px, 3.5vw, 40px); background: var(--papier); border-radius: 6px; }
.etape + .etape { margin-top: 36px; }
.formulaire.est-actif .etape + .etape { margin-top: 0; }
.etape legend { padding: 0; margin-bottom: 18px; font: 400 1.625rem/1.2 var(--titre); color: var(--vin); }
.champ { margin-bottom: 20px; }
.champ label:not(.choix):not(.case), .etiquette { display: block; margin-bottom: 6px; font-weight: 600; }
.facultatif { font-weight: 400; color: var(--gris); font-size: .9375rem; }
input:not([type=radio]):not([type=checkbox]), select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; background: var(--papier); border: 1.5px solid #9C8A90; border-radius: 5px; color: var(--encre); font: 400 1.0625rem/1.4 var(--texte); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--canard); outline-offset: 1px; border-color: var(--canard); }
[aria-invalid="true"] { border-color: var(--rouge) !important; }
.aide { margin-top: 6px; font-size: .9375rem; line-height: 1.4; color: var(--gris); }
.aide--haut { margin: 0 0 18px; padding: 12px 14px; background: var(--safran-pale); border-radius: 4px; color: var(--encre); }
.erreur { margin-top: 6px; color: var(--rouge); font-weight: 600; font-size: .9375rem; }
.champs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.choix-grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.choix-liste { display: grid; gap: 8px; }
.choix { display: block; cursor: pointer; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix span { display: flex; align-items: center; min-height: 48px; height: 100%; padding: 10px 14px; border: 1.5px solid #9C8A90; border-radius: 5px; line-height: 1.3; font-weight: 500; }
.choix span:hover { background: var(--lin); }
.choix input:checked + span { background: var(--vin); border-color: var(--vin); color: #fff; }
.choix input:focus-visible + span { outline: 3px solid var(--canard); outline-offset: 2px; }
.case { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; line-height: 1.4; }
.case input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--vin); }
.champ-piege { position: absolute; left: -9999px; }
.alerte { margin-bottom: 20px; padding: 12px 14px; background: #F9DEDC; color: #6E1712; border-radius: 4px; font-weight: 600; }
.formulaire__actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.formulaire__actions .bouton { flex: 0 1 auto; }
.formulaire__actions .bouton:last-child:first-child, .formulaire__actions [data-suivant]:only-of-type { margin-left: auto; }
.formulaire__actions > :last-child { margin-left: auto; }
.progression { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 28px; counter-reset: p; }
.progression li { counter-increment: p; padding-top: 8px; border-top: 4px solid var(--filet); font-size: .8125rem; color: var(--gris); line-height: 1.25; }
.progression li::before { content: counter(p) ". "; }
.progression li.fait { border-top-color: var(--vin); }
.progression li.courant { border-top-color: var(--safran); color: var(--encre); font-weight: 700; }

/* Merci */
.merci { background: var(--lin); padding-block: clamp(56px, 9vw, 112px); }
.merci__bloc { max-width: 680px; }
.merci__bloc h1 { margin-top: 20px; font-size: clamp(2.25rem, 5vw, 3.25rem); }
.merci__bloc p { margin-top: 16px; font-size: 1.125rem; }
.merci__bloc .lien-fort, .merci__bloc .bouton { display: inline-flex; margin-top: 24px; }
.merci__ref strong { font-size: 1.25rem; color: var(--vin); }

/* Textes légaux */
.texte-legal { max-width: 760px; padding-block: clamp(40px, 6vw, 72px); }
.texte-legal h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
.texte-legal h2 { margin-top: 32px; font-size: 1.5rem; }
.texte-legal p { margin-top: 10px; }

/* Gestion */
.gestion { padding-block: clamp(32px, 5vw, 64px); min-height: 60vh; }
.gestion h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
.gestion__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.gestion__connexion { max-width: 380px; margin-top: 20px; }
.gestion__notice { margin-bottom: 20px; padding: 10px 14px; background: #DDF0E4; border-radius: 4px; }
.gestion__fiche { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 20px; }
.gestion__details { display: grid; grid-template-columns: minmax(110px, auto) minmax(0, 1fr); gap: 10px 16px; align-content: start; }
.gestion__details dt { color: var(--gris); font-size: .9375rem; }
.gestion__details dd { overflow-wrap: anywhere; }
.gestion__statut { padding: 20px; background: var(--lin); border-radius: 6px; }
.gestion__statut .case { margin-bottom: 16px; }
.gestion h2 { margin-top: 24px; font-size: 1.375rem; }
.gestion__historique { margin: 8px 0 20px; font-size: .9375rem; }
.gestion__historique li { padding: 4px 0; }
.gestion__historique time { color: var(--gris); margin-right: 6px; }
.statut { display: inline-block; padding: 1px 8px; border-radius: 3px; background: var(--lin); font-size: .875rem; font-weight: 700; white-space: nowrap; }
.statut--nouvelle { background: var(--safran-pale); color: #6B4A00; }
.statut--acceptee, .statut--rapport { background: #DDF0E4; color: #14532D; }
.statut--refusee { background: #F9DEDC; color: #8C1D18; }

/* Pied de page */
.pied { background: var(--encre); color: #E6DADE; padding-block: 48px; font-size: .9688rem; }
.pied__grille { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.pied img { width: 180px; margin-bottom: 14px; }
.pied h2 { margin-bottom: 8px; font: 700 .9375rem var(--texte); color: #fff; }
.pied a { display: block; padding: 4px 0; color: #E6DADE; }
.pied__legal { margin-top: 12px; }

/* Barre fixe mobile */
.barre-mobile { display: none; }

@media (max-width: 1100px) {
  .etapes { grid-template-columns: 1fr; border-top: 0; border-left: 3px solid var(--vin); margin-left: 7px; }
  .etapes li { padding: 0 0 22px 22px; }
  .etapes li:last-child { padding-bottom: 0; }
  .etapes li::before { left: -9px; top: 3px; }
  .navigation a:not(.bouton) { font-size: .9375rem; }
}
@media (max-width: 960px) {
  .entete__menu { display: block; }
  .navigation { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gouttiere) 20px; background: var(--papier); border-bottom: 1px solid var(--filet); box-shadow: 0 12px 20px rgba(36,19,24,.1); }
  .navigation.est-ouvert { display: flex; }
  .navigation a:not(.bouton) { padding: 13px 0; border-bottom: 1px solid var(--filet); font-size: 1.0625rem; }
  .navigation .bouton { margin-top: 14px; min-height: 48px; }
  .une__grille, .chaine, .duo, .equipe-duo, .rapport-intro, .faq-grille, .demande__grille, .gestion__fiche { grid-template-columns: minmax(0, 1fr); }
  .feuille { transform: none; box-shadow: 0 1px 0 var(--filet), 8px 9px 0 var(--vin); margin-right: 8px; }
  .promesses__liste { grid-template-columns: 1fr 1fr; }
  .evite { grid-template-columns: minmax(0, 1fr); }
  .evite__col + .evite__col { border-left: 0; border-top: 1px solid var(--filet); }
  .moments, .douleurs { grid-template-columns: 1fr 1fr; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .demande__intro { display: contents; }
  .demande__grille { row-gap: 12px; }
  .demande__intro h1, .demande__intro > p:first-of-type { order: 0; }
  .formulaire { order: 1; margin-block: 12px; scroll-margin-top: 80px; }
  .demande__intro h2, .suite, .demande__intro .demande__rassure { order: 2; margin-top: 0; }
  .manifeste__grille { grid-template-columns: minmax(0, 1fr); }
  .manifeste__grille img { width: 130px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  body.page-demande { padding-bottom: 0; }
  .entete__ligne { min-height: 64px; }
  .entete__logo img { width: 160px; }
  .moments, .douleurs, .offres, .synthese, .avis-duo, .pied__grille { grid-template-columns: minmax(0, 1fr); }
  .deroule ol { grid-template-columns: 1fr 1fr; }
  .recit__moment { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .recit__heure { display: flex; align-items: center; gap: 12px; }
  .recit__heure .pastille { margin-top: 0; }
  .champs-duo { grid-template-columns: minmax(0, 1fr); }
  .une__actions .bouton { width: 100%; }
  .appel .bouton { width: 100%; }
  .formulaire__actions .bouton { flex: 1; }
  .progression li { font-size: 0; }
  .progression li::before { font-size: .8125rem; content: counter(p); }
  .barre-mobile { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 10px var(--gouttiere); padding-bottom: max(10px, env(safe-area-inset-bottom)); background: var(--papier); border-top: 1px solid var(--filet); }
  .barre-mobile .bouton { width: 100%; }
  .promesses__liste { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media screen and (max-width: 760px) {
  .tableau-defile { overflow: visible; }
  .comparaison, .plan { display: block; min-width: 0; background: none; }
  .comparaison thead, .plan thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .comparaison tbody, .plan tbody { display: block; }
  .comparaison tr, .plan tr { display: block; padding: 14px 16px; margin-bottom: 12px; background: var(--papier); border: 1px solid var(--filet); border-radius: 3px; }
  .comparaison tbody th, .comparaison td, .plan tbody th, .plan td { display: block; padding: 0; border: 0; }
  .comparaison tbody th, .plan tbody th { margin-bottom: 8px; font-weight: 700; color: var(--vin); }
  .comparaison td { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-top: 1px solid var(--filet); text-align: right; }
  .comparaison td::before { content: attr(data-label); font-weight: 400; color: var(--gris); text-align: left; }
  .comparaison td.comparaison__nous { padding-inline: 8px; margin-inline: -8px; border-top: 0; }
  .comparaison td.comparaison__nous::before { color: var(--vin); font-weight: 700; }
  .plan td[data-label="Effet attendu"], .plan td[data-label="Coût"] { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; font-weight: 600; }
  .plan td[data-label="Effet attendu"] { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--filet); }
  .plan td[data-label="Effet attendu"]::before, .plan td[data-label="Coût"]::before { content: attr(data-label); font-weight: 400; color: var(--gris); }
  .releves { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .choix-grille { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .entete, .pied, .barre-mobile, .appel, .rapport-tete .une__actions { display: none !important; }
  body { padding: 0; font-size: 11pt; }
  .rapport-tete { background: none; padding: 0 0 12pt; }
  .recit__moment, .evite, .releves li, tr { break-inside: avoid; }
  .tableau-defile { overflow: visible; }
  .comparaison, .plan { min-width: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
