/* Cabinet infirmier Hamard, Legeay, Mettais. Site C, "La carte du cabinet". */

@font-face {
  font-family: "Marcellus";
  src: url("fonts/marcellus-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/atkinson-next-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* the fallbacks sized to the real faces, so nothing jumps when they arrive */
@font-face {
  font-family: "Marcellus repli";
  src: local("Georgia");
  size-adjust: 97%;
  ascent-override: 96%;
  descent-override: 26%;
}
@font-face {
  font-family: "Atkinson repli";
  src: local("Verdana");
  size-adjust: 88%;
  ascent-override: 98%;
  descent-override: 24%;
}

:root {
  --vitre: #EEF2F0;
  --bleu-roi: #1F2F8F;
  --saumon: #F59E91;
  --rouge: #C2323B;
  --encre: #1B1D2A;
  --blanc-carte: #FBFAF8;
  --bleu-roi-fonce: #17236B;
  --rouge-fonce: #A2262E;
  --encre-douce: #4A4E5E;
  --filet: rgba(31, 47, 143, 0.16);

  --f-titre: "Marcellus", "Marcellus repli", Georgia, serif;
  --f-texte: "Atkinson Hyperlegible Next", "Atkinson repli", Verdana, sans-serif;

  /* direction c: the number is the biggest thing on the site, 52 to 120 px; titles 32 to 72 px */
  --t-numero: clamp(52px, 26.7px + 6.48vw, 120px);
  --t-titre: clamp(32px, 17.1px + 3.81vw, 72px);
  --t-h3: 22px;
  --t-lead: 19px;
  --t-body: 17px;
  --t-small: 15px;

  --s-1: 4px; --s-2: 8px; --s-3: 16px; --s-4: 24px; --s-5: 40px; --s-6: 64px; --s-7: 104px; --s-8: 160px;
  --r-1: 6px;
  --r-2: 18px;
  --courbe: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gouttiere: 20px;
  --bande: var(--s-6);
  --entete: 56px;
  --largeur: 1200px;
}
@media (min-width: 768px) {
  :root { --t-h3: 26px; --t-lead: 21px; --t-body: 18px; --gouttiere: 40px; --bande: var(--s-7); }
}
@media (min-width: 1100px) {
  :root { --entete: 72px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--vitre);
  color: var(--encre);
  font: 400 var(--t-body)/1.6 var(--f-texte);
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--bleu-roi); outline-offset: 2px; border-radius: 2px; }
.sur-bleu :focus-visible { outline-color: var(--blanc-carte); }

.evitement {
  position: absolute; left: var(--s-3); top: -100px; z-index: 50;
  background: var(--blanc-carte); color: var(--bleu-roi); padding: var(--s-2) var(--s-3); border-radius: var(--r-1);
}
.evitement:focus { top: var(--s-2); }

.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }

/* ---------- surfaces ---------- */

.surface-saumon { background: var(--saumon); position: relative; isolation: isolate; }
.surface-saumon::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/papier-saumon.jpg") 0 0 / 512px 512px repeat;
  opacity: 0.2; mix-blend-mode: multiply;
}
.surface-vitre { background: var(--vitre); position: relative; isolation: isolate; }
.surface-vitre::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 30% 0%, rgba(251, 250, 248, 0.6), rgba(251, 250, 248, 0) 70%),
    url("img/vitre.jpg") 0 0 / 512px 512px repeat;
  opacity: 1;
}
.surface-vitre::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: var(--vitre);
}
.surface-vitre > * { position: relative; }
.surface-blanc { background: var(--blanc-carte); position: relative; }

/* the glass texture at 30 percent: the image is mixed over the colour */
.surface-vitre::before { opacity: 0.3; }
.surface-vitre .lumiere { position: absolute; }

/* ---------- header ---------- */

.entete {
  position: relative; z-index: 20;
  height: var(--entete);
}
.entete__in { height: 100%; display: flex; align-items: center; gap: var(--s-3); }
.entete__nom {
  font: 400 18px/1 var(--f-titre); color: var(--bleu-roi); text-decoration: none;
  white-space: nowrap; margin-right: auto; padding: 12px 0;
}
.entete__nav { display: none; }
.entete__nav a {
  font: 600 var(--t-small)/1 var(--f-texte); color: var(--bleu-roi); text-decoration: none;
  padding: 12px 4px; background: linear-gradient(var(--bleu-roi), var(--bleu-roi)) 0 100% / 0 2px no-repeat;
  transition: background-size 300ms var(--courbe);
}
.entete__nav a[aria-current="page"] { background-size: 100% 2px; }
.menu-bouton {
  display: inline-flex; align-items: center; gap: var(--s-2);
  height: 44px; padding: 0 12px; border: 2px solid var(--bleu-roi); border-radius: var(--r-1);
  background: transparent; color: var(--bleu-roi); font: 600 var(--t-small)/1 var(--f-texte); cursor: pointer;
}
.menu-bouton svg { width: 18px; height: 18px; }
.menu {
  position: absolute; top: var(--entete); left: 0; right: 0; z-index: 30;
  background: var(--blanc-carte); border-bottom: 1px solid var(--filet);
  padding: var(--s-3) var(--gouttiere) var(--s-4);
  display: none;
}
.menu.est-ouvert { display: block; }
.menu a {
  display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--filet);
  font: 400 24px/1.2 var(--f-titre); color: var(--bleu-roi); text-decoration: none;
}
.menu a[aria-current="page"]::after { content: ""; width: 24px; height: 2px; background: var(--bleu-roi); margin-left: var(--s-3); }

@media (min-width: 1100px) {
  .entete { position: sticky; top: 0; }
  .entete.est-colle { box-shadow: 0 1px 0 var(--filet); }
  .entete__nav { display: flex; gap: var(--s-5); margin-right: var(--s-4); }
  .menu-bouton, .menu { display: none !important; }
}

/* ---------- the call button, the one red thing ---------- */

.appel {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 var(--s-4);
  background: var(--rouge); color: var(--blanc-carte); border-radius: var(--r-1);
  font: 600 var(--t-body)/1.1 var(--f-texte); text-decoration: none; white-space: nowrap;
  transition: background-color 200ms ease-out;
}
.appel svg { width: 20px; height: 20px; flex: none; transition: transform 200ms ease-out; }
.appel:active { transform: translateY(1px); }
.appel--reduit { min-height: 44px; width: 44px; padding: 0; }
.appel--reduit .appel__mot { display: none; }
@media (min-width: 1100px) {
  .appel--reduit { width: auto; padding: 0 var(--s-3); min-height: 44px; font-size: var(--t-small); }
  .appel--reduit .appel__mot { display: inline; }
}
@media (hover: hover) and (pointer: fine) {
  .appel:hover { background: var(--rouge-fonce); }
  .appel:hover svg { transform: translateX(3px); }
  .entete__nav a:hover { background-size: 100% 2px; }
  .contour:hover { background: var(--bleu-roi); color: var(--blanc-carte); }
  .lien:hover { background-size: 100% 2px, 100% 1px; }
  .tuile:hover .tuile__photo img { transform: scale(1.03); }
  .menu-bouton:hover { background: var(--bleu-roi); color: var(--blanc-carte); }
}

.contour {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 var(--s-4);
  border: 2px solid var(--bleu-roi); border-radius: var(--r-1); color: var(--bleu-roi);
  font: 600 var(--t-body)/1.1 var(--f-texte); text-decoration: none;
  transition: background-color 200ms ease-out, color 200ms ease-out;
}

.lien {
  color: var(--bleu-roi); font-weight: 600; text-decoration: none;
  background:
    linear-gradient(var(--bleu-roi), var(--bleu-roi)) 0 100% / 0 2px no-repeat,
    linear-gradient(var(--bleu-roi), var(--bleu-roi)) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size 300ms var(--courbe);
}

/* ---------- the card, first screen ---------- */

.carte { padding: var(--s-3) 0 calc(var(--s-5) + 40px); }
.carte::after {
  /* the foot of the hero melts into the glass band below */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1;
  background: linear-gradient(to bottom, rgba(238, 242, 240, 0), var(--vitre));
  pointer-events: none;
}
.carte__in { display: grid; justify-items: center; text-align: center; }
.carte__texte { display: flex; flex-direction: column; align-items: center; }
.carte__carre {
  width: 168px; height: 168px; background: var(--blanc-carte); border-radius: 2px;
  display: grid; place-items: center; padding: 10px;
  box-shadow: 0 0 0 1px rgba(27, 29, 42, 0.06);
}
.coeur { width: 100%; height: 100%; overflow: visible; }
.coeur__tube, .coeur__embout { fill: none; stroke: var(--encre); stroke-linecap: round; stroke-linejoin: round; }
.coeur__tube { stroke-width: var(--coeur-trait, 13.2); }
.coeur__embout { stroke-width: var(--coeur-trait, 13.2); }
.carte h1 {
  margin-top: var(--s-5);
  font: 400 var(--t-titre)/1.12 var(--f-titre); color: var(--bleu-roi);
  max-width: 11.5em; text-wrap: balance;
}
.carte__noms { margin-top: var(--s-3); font-size: var(--t-body); color: var(--encre); max-width: 22em; text-wrap: balance; }
.numero {
  display: inline-block; margin-top: var(--s-4);
  font: 400 var(--t-numero)/1 var(--f-titre); color: var(--bleu-roi);
  text-decoration: none; white-space: nowrap; letter-spacing: 0; word-spacing: -0.12em;
  font-variant-numeric: tabular-nums;
}
.carte .appel { margin-top: var(--s-4); }
.permanence {
  margin-top: var(--s-4); font: 600 var(--t-small)/1.45 var(--f-texte); color: var(--encre);
  display: inline-flex; align-items: center; gap: var(--s-2); max-width: 30em; text-wrap: balance; text-align: left;
}
.permanence::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: var(--bleu-roi); box-shadow: 0 0 0 3px rgba(31, 47, 143, 0.18);
}

@media (min-width: 900px) {
  .carte { padding: var(--s-6) 0 var(--s-7); }
  .carte__in {
    grid-template-columns: 280px 1fr; column-gap: var(--s-6); align-items: center;
    justify-items: start; text-align: left;
  }
  .carte__carre { width: 280px; height: 280px; padding: 16px; grid-row: 1 / span 2; align-self: start; margin-top: var(--s-3); --coeur-trait: 7.8; --embout-dy: 18.9; }
  .carte h1 { margin-top: 0; max-width: 12em; }
  .carte__texte { display: flex; flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1100px) {
  .carte__in { grid-template-columns: 300px 1fr; column-gap: var(--s-7); }
  .carte__carre { width: 300px; height: 300px; --coeur-trait: 7.2; --embout-dy: 17.5; }
}

/* ---------- section titles ---------- */

.titre {
  font: 400 var(--t-titre)/1.1 var(--f-titre); color: var(--bleu-roi); text-wrap: balance;
}
.chapeau { font-size: var(--t-lead); line-height: 1.5; color: var(--encre); max-width: 34em; }
.texte { max-width: 34em; }
.bande { padding: var(--bande) 0; }

/* ---------- the two places ---------- */

.lieux .titre { max-width: 14em; }
.tuiles { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
@media (min-width: 768px) { .tuiles { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }
.tuile { display: flex; flex-direction: column; border-radius: var(--r-2); overflow: hidden; }
.tuile__photo { overflow: hidden; border-radius: var(--r-2) var(--r-2) 0 0; }
.tuile__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 400ms var(--courbe); }
.tuile__corps { padding: var(--s-4) var(--s-4) var(--s-5); flex: 1; display: flex; flex-direction: column; gap: var(--s-3); }
.tuile__texte { font: 400 var(--t-lead)/1.45 var(--f-texte); color: var(--encre); }
.tuile__texte strong { font-family: var(--f-titre); font-weight: 400; font-size: 1.35em; color: var(--bleu-roi); display: block; line-height: 1.15; margin-bottom: var(--s-2); }
.tuile__zone { font: 600 var(--t-small)/1.45 var(--f-texte); color: var(--bleu-roi); }
.tuile .lien { align-self: flex-start; margin-top: auto; }

/* ---------- the list of care ---------- */

.soins__tete { display: grid; gap: var(--s-4); }
@media (min-width: 1000px) {
  .soins__grille { display: grid; grid-template-columns: 5fr 7fr; column-gap: var(--s-7); align-items: start; }
  .soins__tete { position: sticky; top: calc(var(--entete) + var(--s-5)); }
}
.soins__liste { margin-top: var(--s-5); border-top: 1px solid var(--filet); }
@media (min-width: 1000px) { .soins__liste { margin-top: 0; } }
.soin {
  display: grid; grid-template-columns: 24px 1fr; column-gap: var(--s-3);
  padding: var(--s-4) 0; border-bottom: 1px solid var(--filet);
}
.soin__puce { width: 24px; height: 24px; margin-top: 3px; color: var(--bleu-roi); position: relative; z-index: 4; background: var(--blanc-carte); border-radius: 4px; }
.surface-vitre .soin__puce { background: var(--vitre); }
.soin__puce svg { width: 24px; height: 24px; display: block; overflow: visible; }
.soin h3 { font: 600 var(--t-h3)/1.25 var(--f-texte); color: var(--encre); }
.soin p { margin-top: var(--s-1); color: var(--encre-douce); }
.soin__ou { margin-top: var(--s-2) !important; font: 600 var(--t-small)/1.45 var(--f-texte); color: var(--bleu-roi) !important; }
.puce-trait { fill: none; stroke: currentColor; stroke-width: 58; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- reviews ---------- */

.avis, .avant-pied { padding-bottom: calc(var(--bande) + 140px); }
.avis__grille { display: grid; gap: var(--s-6); }
@media (min-width: 1000px) { .avis__grille { grid-template-columns: 7fr 4fr; column-gap: var(--s-7); align-items: center; } }
.avis__cite { font: 400 clamp(30px, 18px + 3vw, 56px)/1.15 var(--f-titre); color: var(--bleu-roi); max-width: 16em; text-wrap: balance; }
.avis__qui { margin-top: var(--s-4); font: 600 var(--t-small)/1.45 var(--f-texte); color: var(--encre-douce); }
.avis__note { margin-top: var(--s-5); display: flex; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; }
.avis__note b { font: 400 44px/1 var(--f-titre); color: var(--bleu-roi); }
.avis__note span { font: 600 var(--t-small)/1.45 var(--f-texte); color: var(--encre); }
.avis__autres { margin-top: var(--s-5); display: grid; gap: var(--s-4); }
@media (min-width: 768px) { .avis__autres { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }
.avis__autres blockquote { border-top: 2px solid var(--bleu-roi); padding-top: var(--s-3); }
.avis__autres p { font-size: var(--t-body); }
.avis__autres footer { margin-top: var(--s-2); font: 600 var(--t-small)/1.45 var(--f-texte); color: var(--encre-douce); }
.preuve-carte { justify-self: center; max-width: 340px; }
.preuve-carte img { transform: rotate(-2deg); border-radius: 4px; box-shadow: 0 14px 34px rgba(31, 47, 143, 0.16); }
.preuve-carte p { margin-top: var(--s-4); font: 600 var(--t-small)/1.45 var(--f-texte); color: var(--encre); text-align: center; }

/* ---------- inner pages: the salmon head ---------- */

.tete { padding: var(--s-4) 0 var(--s-6); }
.tete__grille { display: grid; gap: var(--s-5); }
@media (min-width: 900px) {
  .tete { padding: var(--s-6) 0 var(--s-7); }
  .tete__grille { grid-template-columns: 6fr 5fr; column-gap: var(--s-7); align-items: center; }
}
.tete__coeur { width: 40px; height: 40px; color: var(--bleu-roi); margin-bottom: var(--s-4); }
.tete__coeur svg { width: 40px; height: 40px; display: block; overflow: visible; }
.puce-trait.trait-40 { stroke-width: 34; }
.tete h1 { font: 400 var(--t-titre)/1.08 var(--f-titre); color: var(--bleu-roi); }
.tete .chapeau { margin-top: var(--s-4); }
.tete .appel { margin-top: var(--s-5); }
.tete .permanence { margin-top: var(--s-4); }
.photo { border-radius: var(--r-2); overflow: hidden; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* communes */
.communes__liste { margin-top: var(--s-5); display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-5); max-width: 720px; }
.communes__liste li {
  font: 400 clamp(24px, 18px + 1.5vw, 36px)/1.2 var(--f-titre); color: var(--bleu-roi);
  padding: var(--s-3) 0; border-bottom: 1px solid var(--filet);
}
.communes__liste small { display: block; font: 600 var(--t-small)/1.45 var(--f-texte); color: var(--encre-douce); margin-top: 2px; }
.communes__note { margin-top: var(--s-4); }
.compte { font: 400 var(--t-numero)/1 var(--f-titre); color: var(--bleu-roi); }
.compte + .titre { margin-top: var(--s-3); font-size: clamp(26px, 16px + 2vw, 44px); color: var(--encre); }

/* steps */
.etapes__grille { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) { .etapes__grille { grid-template-columns: 5fr 6fr; column-gap: var(--s-7); align-items: center; } }
.etapes__liste { margin-top: var(--s-5); display: grid; gap: var(--s-4); counter-reset: etape; }
.etapes__liste li { display: grid; grid-template-columns: 48px 1fr; column-gap: var(--s-3); }
.etapes__liste li::before {
  counter-increment: etape; content: counter(etape);
  font: 400 40px/1 var(--f-titre); color: var(--bleu-roi);
}
.etapes__liste h3 { font: 600 var(--t-h3)/1.25 var(--f-texte); }
.etapes__liste p { margin-top: var(--s-1); color: var(--encre-douce); }

/* hours */
.horaires__grille { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) { .horaires__grille { grid-template-columns: 5fr 6fr; column-gap: var(--s-7); align-items: start; } }
.heure-grande { font: 400 var(--t-numero)/1 var(--f-titre); color: var(--bleu-roi); white-space: nowrap; }
.heures { border-top: 2px solid var(--bleu-roi); }
.heures li { display: flex; justify-content: space-between; gap: var(--s-3); padding: 14px 0; border-bottom: 1px solid var(--filet); }
.heures .jour { font-weight: 600; }
.heures .off { color: var(--encre-douce); }
.heures li.est-aujourdhui { background: linear-gradient(90deg, rgba(245, 158, 145, 0.35), rgba(245, 158, 145, 0)); margin: 0 calc(-1 * var(--s-3)); padding-left: var(--s-3); padding-right: var(--s-3); }
.heures__note { margin-top: var(--s-4); color: var(--encre-douce); }

/* come */
.venir__grille { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) { .venir__grille { grid-template-columns: 1fr 1fr; column-gap: var(--s-7); align-items: center; } }
.venir__adresse { font: 400 clamp(28px, 18px + 2vw, 44px)/1.15 var(--f-titre); color: var(--bleu-roi); font-style: normal; }
.venir__liste { margin-top: var(--s-4); display: grid; gap: var(--s-2); }
.venir__liste li { padding-left: var(--s-4); position: relative; }
.venir__liste li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 12px; height: 2px; background: var(--bleu-roi); }
.venir .contour { margin-top: var(--s-5); }
.apporter { margin-top: var(--s-5); padding: var(--s-4); background: var(--vitre); border-radius: var(--r-2); }
.apporter h3 { font: 600 var(--t-h3)/1.25 var(--f-texte); }
.apporter ul { margin-top: var(--s-2); display: grid; gap: var(--s-1); }

/* ---------- footer: their card, again, with the number circled ---------- */

.pied { background: var(--bleu-roi); color: var(--blanc-carte); position: relative; }
.pied::before {
  /* the blue wave film of their two windows, a 12 px strip, nowhere else */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px;
  background: url("img/film-vagues.png") 0 0 / 160px 12px repeat-x;
}
.fin-carte {
  position: relative; z-index: 2;
  margin: -140px auto 0; max-width: 920px;
  border-radius: var(--r-2); padding: var(--s-5) var(--s-4) var(--s-5);
  box-shadow: 0 24px 60px rgba(23, 35, 107, 0.28);
  display: grid; justify-items: center; text-align: center; color: var(--encre);
}
.fin-carte__haut { display: grid; grid-template-columns: 96px 1fr; gap: var(--s-4); align-items: center; text-align: left; width: 100%; max-width: 640px; }
.fin-carte__carre { width: 96px; height: 96px; background: var(--blanc-carte); padding: 6px; border-radius: 2px; }
.fin-carte__carre use { fill: none; stroke: var(--encre); stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.fin-carte__nom { font: 400 18px/1.2 var(--f-titre); color: var(--bleu-roi); }
.fin-carte__adr { margin-top: var(--s-1); font: 600 var(--t-small)/1.45 var(--f-texte); color: var(--encre); }
.fin-carte__noms { margin-top: var(--s-1); font-size: var(--t-small); line-height: 1.45; color: var(--encre); }
.fin-carte .numero { margin-top: var(--s-5); padding: 0 var(--s-2); color: var(--bleu-roi); }
.fin-carte__mot { margin-top: var(--s-5); max-width: 30em; font-size: var(--t-body); }
.fin-carte__signe { margin-top: var(--s-2); font: 400 22px/1.2 var(--f-titre); color: var(--bleu-roi); }
.fin-carte .appel { margin-top: var(--s-4); }
@media (min-width: 768px) {
  .fin-carte { padding: var(--s-6) var(--s-6) var(--s-6); }
  .fin-carte__haut { grid-template-columns: 128px 1fr; gap: var(--s-5); }
  .fin-carte__carre { width: 128px; height: 128px; padding: 8px; }
  .fin-carte__carre use { stroke-width: 17; }
}
@media (max-width: 420px) {
  .fin-carte { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
}

.pied__bas { padding: var(--s-6) 0 var(--s-5); overflow: hidden; }
.pied__grille { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .pied__grille { grid-template-columns: 5fr 4fr 3fr; column-gap: var(--s-6); align-items: start; } }
.pied .photo img { aspect-ratio: 3 / 2; }
.pied h2 { font: 600 var(--t-small)/1.45 var(--f-texte); color: var(--saumon); }
.pied__bloc + .pied__bloc { margin-top: var(--s-4); }
.pied__bloc p, .pied__bloc address { font-style: normal; margin-top: var(--s-1); }
.pied a { color: var(--blanc-carte); }
.pied .lien {
  color: var(--blanc-carte);
  background:
    linear-gradient(var(--blanc-carte), var(--blanc-carte)) 0 100% / 0 2px no-repeat,
    linear-gradient(var(--saumon), var(--saumon)) 0 100% / 100% 1px no-repeat;
}
.lueur { position: relative; }
.lueur > * { position: relative; z-index: 1; }
.lueur::before {
  /* the evening light behind the permanence line */
  content: ""; position: absolute; inset: -40px -60px; z-index: 0; pointer-events: none;
  background: url("img/lueur.jpg") 50% 45% / cover no-repeat;
  mix-blend-mode: screen; opacity: 0.25;
}
.pied__nav { display: grid; gap: var(--s-1); }
.pied__nav a { font: 400 22px/1.5 var(--f-titre); text-decoration: none; }
.pied__legal {
  margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid rgba(251, 250, 248, 0.2);
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: var(--t-small);
}
.pied__legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .pied__nav a:hover { color: var(--saumon); }
}

/* ---------- the asset pages: the filter of the care list, the request form. Tokens only. ---------- */

button.contour { background: transparent; cursor: pointer; }
.filtre { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.filtre .contour { min-height: 48px; padding: 0 var(--s-3); }
.filtre .contour[aria-pressed="true"] { background: var(--bleu-roi); color: var(--blanc-carte); }
.filtre__compte { font: 600 var(--t-small)/1.45 var(--f-texte); color: var(--encre-douce); }
.soins__tete .apporter { margin-top: 0; }
.soin[hidden], .filtre[hidden] { display: none; }
.soin__prep { color: var(--encre) !important; }
.soin__prep b { font-weight: 600; margin-right: var(--s-1); }
.soin .lien { display: inline-block; margin-top: var(--s-3); }

.demande__grille { display: grid; gap: var(--s-6); }
@media (min-width: 1000px) { .demande__grille { grid-template-columns: 7fr 4fr; column-gap: var(--s-7); align-items: start; } }
.champs { margin-top: var(--s-5); display: grid; gap: var(--s-5); counter-reset: champ; }
.champ { display: grid; grid-template-columns: 48px 1fr; column-gap: var(--s-3); row-gap: var(--s-2); }
.champ::before {
  counter-increment: champ; content: counter(champ); grid-row: 1 / span 4;
  font: 400 40px/1 var(--f-titre); color: var(--bleu-roi);
}
.champ > * { grid-column: 2; }
.champ label { font: 600 var(--t-h3)/1.25 var(--f-texte); color: var(--encre); }
.saisie {
  width: 100%; min-height: 56px; padding: 12px var(--s-3);
  border: 1px solid var(--encre-douce); border-radius: var(--r-1);
  background: var(--blanc-carte); color: var(--encre); font: 400 var(--t-body)/1.3 var(--f-texte);
}
.saisie[aria-invalid="true"] { border: 2px solid var(--bleu-roi); }
.champ__aide { font: 400 var(--t-small)/1.45 var(--f-texte); color: var(--encre-douce); }
.champ__aide.est-dans-zone { font-weight: 600; color: var(--bleu-roi); }
.champ__erreur { font: 600 var(--t-small)/1.45 var(--f-texte); color: var(--bleu-roi-fonce); }
.champ__erreur:empty { display: none; }
.ordo { margin-top: var(--s-5); padding: var(--s-4); background: var(--vitre); border-radius: var(--r-2); display: grid; gap: var(--s-3); justify-items: start; }
.ordo__titre { font: 600 var(--t-body)/1.4 var(--f-texte); }
.ordo__fichier { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.ordo__fichier:focus-visible + .contour { outline: 2px solid var(--bleu-roi); outline-offset: 2px; }
.ordo .contour { cursor: pointer; }
.ordo__apercu, .recap__ordo { display: grid; grid-template-columns: 96px 1fr; gap: var(--s-3); align-items: center; }
.ordo__apercu[hidden] { display: none; }
.ordo__apercu img, .recap__ordo img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r-1); }
.ordo__nom { font-weight: 600; word-break: break-all; }
.ordo__retirer { border: 0; padding: 0 0 3px; font: 600 var(--t-small)/1.45 var(--f-texte); cursor: pointer; }
.demande__envoyer { margin-top: var(--s-5); width: 100%; }
@media (min-width: 768px) { .demande__envoyer { width: auto; } }
.demande__suite { margin-top: var(--s-4); color: var(--encre-douce); }
.demande__cote .apporter { margin-top: 0; }
@media (min-width: 1000px) { .demande__cote { position: sticky; top: calc(var(--entete) + var(--s-5)); } }

.recu:focus { outline: none; }
.recu__titre { font: 400 clamp(30px, 18px + 3vw, 52px)/1.12 var(--f-titre); color: var(--bleu-roi); text-wrap: balance; max-width: 14em; }
.recu .chapeau { margin-top: var(--s-4); }
.recap { margin-top: var(--s-5); border-top: 2px solid var(--bleu-roi); }
.recap li { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: 14px 0; border-bottom: 1px solid var(--filet); }
.recap li > span:first-child { font-weight: 600; flex: none; }
.recap li > span:last-child { text-align: right; }
.recu__message { margin-top: var(--s-2); }
.recu__demo { margin-top: var(--s-4); }
.recu .contour { margin-top: var(--s-4); }

/* ---------- the call bar pinned under the thumb, phone only ---------- */

.barre-appel {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 25;
  transform: translateY(calc(100% + 24px)); visibility: hidden;
  transition: transform 300ms var(--courbe), visibility 0s linear 300ms;
}
.barre-appel .appel { width: 100%; box-shadow: 0 10px 30px rgba(27, 29, 42, 0.25); }
.barre-appel.est-visible { transform: none; visibility: visible; transition: transform 300ms var(--courbe), visibility 0s; }
@media (min-width: 1100px) { .barre-appel { display: none; } }

/* ---------- the thread ---------- */

.fil {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; overflow: visible;
}
.fil path { fill: none; stroke: var(--bleu-roi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the moment on arrival ---------- */

.coeur__tube { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.coeur__bouquet { transform-box: fill-box; transform-origin: 50% 60%; }
.joue .carte .coeur__tube { stroke-dashoffset: 1; animation: trace 1600ms var(--courbe) 200ms forwards; }
.joue .carte .coeur__embout { opacity: 0; animation: pose 300ms var(--courbe) 1800ms forwards; }
.joue .carte .coeur__bouquet { opacity: 0; animation: bouquet 400ms var(--courbe) 1800ms forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes pose { from { opacity: 0; transform: translateY(calc(var(--embout-dy, 31.6) * -1px)); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes bouquet { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }

/* reveals: once, rising 28 px in 0.9 s, children 80 ms apart */
.js .reveal > * { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--courbe), transform 900ms var(--courbe); }
.js .reveal.is-in > * { opacity: 1; transform: none; }
.js .reveal.is-in > *:nth-child(2) { transition-delay: 80ms; }
.js .reveal.is-in > *:nth-child(3) { transition-delay: 160ms; }
.js .reveal.is-in > *:nth-child(4) { transition-delay: 240ms; }
.js .reveal.is-in > *:nth-child(5) { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .joue .carte .coeur__tube { animation: none; stroke-dashoffset: 0; }
  .joue .carte .coeur__embout, .joue .carte .coeur__bouquet { animation: none; opacity: 1; transform: none; }
  .js .reveal > * { transform: none; transition: opacity 150ms linear; }
  .js .reveal > *, .js .reveal.is-in > * { transition-delay: 0ms !important; }
  .barre-appel, .tuile__photo img, .appel, .appel svg, .lien, .contour { transition: none; }
}
