/* anaellepotdevin.be: composed after The Emerald by Prague Days (a light serif mixed with a bold sans, colour blocks,
   equal photo cards that open a page per tab), filled with Anaëlle's own world (her handwriting, her place, her table). */

@font-face { font-family: "Newsreader"; src: url("newsreader-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("newsreader-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("newsreader-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("figtree-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("figtree-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --ink: #111;
  --paper: #fff;
  --line: #e4e0d9;
  /* 19/11, her wish: the colour blocks of the tabs are now picked by her in the banner's palette (palette-banniere.md, n° in brackets).
     Before: pierre #c8c2b8, sauge #7d9e92, ble #e6b21b, foret #2c8e56, bol #978681 (git history). All keep black text. */
  --turquoise: #c4f6dd; /* (2) the small turquoise touch of the curtain, black text 17.6:1, Test VO2max (her pick) */
  --voile: #ede7d1;     /* (3) the crumpled lampshade, lit, 17.0:1 */
  --mousse: #9eaf8f;    /* (4) the most vivid moss green of the curtain, 9.0:1 (spare; tried on Test VO2max 19/11, she kept 2) */
  --ardoise: #a5a9b9;   /* (5) the slate blue and greyed mauve of the motif, 9.0:1 */
  --liege: #9f867d;     /* (7) the cork of the lamps, lit, 6.2:1 */
  --bougie: #f8c581;    /* (21) the ivory of the candles, 13.3:1 */
  --cuivre: #cd936c;    /* (26) the copper pipes, 8.0:1 (spare since 19/11, Cuisine et table moved to 28) */
  --tige: #99835b;      /* (28) the carnation stems, 5.8:1 */
  --lueur: #af6c4c;     /* (29) the copper glow on the wall, 5.1:1, Réserver (her pick) */
  --ambre: #893216;     /* (30) the amber bottle, black text 2.5:1: too dark for black text (spare; tried on Réserver 19/11, she went back to 29) */
  --acajou: #420c01;    /* (33) the mahogany drawers, black text 1.3:1: too dark for black text (spare) */
  --flamme: #fcfef6;   /* (19) the flame, 18.6:1 */
  --taupe: #352924;     /* (16) the taupe of the motif, white text 14.1:1, tried for her bio 23/11 */
  --halo: #f0b38f;      /* (23) the heart of the halo, the palest pink of the palette, 11.5:1, Nutrition: the block that opens (22/11) */
  --bleu-vert: #363d3c; /* (14) the blue-green of the motif, white text 11.1:1, Test VO2max (her pick, 27/11) */
  --pierre-rosee: #cabeb9; /* the stone of the home card, in the hue of the Nutrition bowl (16°) */
  --margin: 20px;
  --barre: 58px;
  --svh: 100vh;
  --lvh: 100vh;
}
@supports (height: 100svh) { :root { --svh: 100svh; --lvh: 100lvh; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 300 17px/1.45 var(--serif); font-synthesis: none; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
b, strong { font-family: var(--sans); font-weight: 700; }

/* Bar: hidden at the top (the name and the tabs are there), a white bar once they have scrolled away. */
.barre { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: var(--barre); padding: 0 var(--margin); background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-100%); transition: opacity .3s, transform .3s, visibility .3s; }
.barre.pleine { opacity: 1; visibility: visible; transform: none; }
.marque { font: 700 min(36px, calc((100vw - 110px) / 10.2))/1 var(--sans); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; }
/* her name in the capitals of the card titles (17/11); 27/11, her wish: « peut-être 2x plus grand »: 36 px (18 before on her Mac), smaller only
   where the screen is too narrow (phone: up to 28 px; with the menu, 1080-1212 px wide: what leaves 40 px before the menu, measured 726 px) */
.menu { display: none; }
.menu a, .burger nav a { font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.menu a[aria-current], .burger nav a[aria-current] { text-decoration: underline; }
/* 19/11 (her wish): on hover, the only change anywhere is a line under the word, as on the current page. */
.menu a:hover, .menu a:focus-visible, .burger nav a:hover, .burger nav a:focus-visible { text-decoration: underline; }

.burger summary { list-style: none; cursor: pointer; display: grid; gap: 5px; padding: 8px 0 8px 8px; }
.burger summary::-webkit-details-marker { display: none; }
.burger summary span { display: block; width: 24px; height: 2px; background: currentColor; }
.burger nav { position: absolute; top: var(--barre); left: 0; right: 0; display: grid; gap: 22px; padding: 26px var(--margin) 32px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.burger nav a { font-size: 16px; }

/* Opening: her name in bold spaced capitals, centred; under it her seven tabs, printed in the capitals of the menu
   (17/11: they replace the handwritten ones). --nom is the size of her name; the row of tabs is 1.3 times as wide as
   her name (it goes beyond it on both sides) and its letters grow with it. */
.ouverture { --nom: 28px; padding: 40px var(--margin) 34px; text-align: center; }
.ouverture h1, .ouverture .nom { font: 700 var(--nom)/1 var(--sans); text-transform: uppercase; letter-spacing: .03em; }
.ouverture .nom { font-size: calc(var(--nom) * 1.1); } /* 22/11 (her wish): her name a little bigger at the top of the pages; the tabs keep their size */
.ouverture .nom a { text-decoration: none; }
.onglets { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; width: min(100%, calc(var(--nom) * 13.26)); margin: 22px auto 0; }
.onglets a { padding: 4px 0; border-top: 1.5px solid transparent; border-bottom: 1.5px solid transparent; font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.onglets a.rdv { padding: .75em 1em; border: 1px solid currentColor; }
.onglets a[aria-current] { border-bottom-color: var(--ink); }
.onglets a:hover, .onglets a:focus-visible { border-bottom-color: var(--ink); }
.onglets a.rdv:hover, .onglets a.rdv:focus-visible { text-decoration: underline; } /* framed: its frame already has a bottom line */
.onglets .saut { flex-basis: 100%; height: 0; } /* phone: two full-width lines, Nutrition to Corps, then the rest */

/* Banner: her two photos side by side, each on half the width. */
.banniere { display: flex; height: 72svh; min-height: 420px; overflow: hidden; }
.banniere img { width: 50%; height: 100%; max-width: none; object-fit: cover; }
.banniere img:nth-child(2) { object-position: 55% 60%; }

/* Home (17/11): two layers move, then the page is still. The banner stays in place, the Nutrition panel slides
   over it, a card with her portrait rises over Nutrition; the rest follows on white and covers them. */
.accueil { --cadre-h: min(calc(var(--svh) - var(--barre) - 28px), 640px); }
.accueil .ouverture { --nom: 27px; padding: 20px 12px 18px; }
.accueil .onglets { margin-top: 16px; }
.accueil .banniere { position: sticky; top: 0; z-index: 0; height: calc(var(--svh) * .82); min-height: 0; }

.panneau { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; height: var(--lvh); margin-bottom: 35vh; overflow: hidden; background: #33322f; color: #fff; box-shadow: 0 -12px 28px rgba(0, 0, 0, .3); }
.panneau::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.panneau-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 55%; }
.panneau-texte { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 var(--margin); }
.panneau h2 { margin: 0; }
.panneau h2 img { width: auto; height: 72px; filter: invert(1); }
.panneau p { font-size: 18px; line-height: 1.5; }
.panneau .bouton, .cadre .bouton { margin-top: 0; }
.bouton.clair { padding: 16px 20px; color: #fff; border-color: #fff; letter-spacing: .05em; }
.bouton.clair:hover, .bouton.clair:focus-visible { background: #fff; color: var(--ink); border-color: #fff; }

/* The card keeps clear of the white bar and sits in the middle of what is left of the screen. Its layer carries a
   veil that deepens downwards: Nutrition dims as the card comes up. The margins are pauses in the scroll. */
.monte { position: sticky; top: 0; z-index: 2; display: flex; justify-content: center; align-items: flex-start; height: var(--lvh); margin-bottom: 30vh; background: linear-gradient(to bottom, rgba(17, 17, 17, 0), rgba(17, 17, 17, .5) 45vh); padding: calc(var(--barre) + (var(--svh) - var(--barre) - var(--cadre-h)) / 2) var(--margin) 0; pointer-events: none; }
.cadre { pointer-events: auto; display: flex; flex-direction: column; width: 100%; max-width: 420px; height: var(--cadre-h); overflow: hidden; background: var(--pierre-rosee); color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.cadre-photo { flex: 1 1 0; min-height: 0; width: 100%; max-width: none; object-fit: cover; object-position: 50% 22%; } /* 23/11: framed higher on phones so her face stays in when the text grows (was 50% 55%) */
.cadre-texte { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px 24px; }
.cadre h2 { margin: 0; font: 700 22px/1.1 var(--sans); }
.cadre h2 img { width: auto; height: 92px; } /* her handwritten "Qui je suis" (17/11: a little bigger than the Nutrition title) */
.cadre p { font-size: 16px; line-height: 1.5; }
.cadre-texte p + p { margin-top: -6px; } /* 23/11: her intro, then her invitation, read as one text */

/* 22/11 (her wish): her bio, white on black, over the card and exactly its size; « En savoir plus » opens it, the cross closes it. */
.cadre { position: relative; }
.bio { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; background: var(--bio-fond, #111); color: #fff; animation: bio-entre .45s ease both; }
/* 23/11, her colours to try for the bio (« comme on est sur du foncé »): 16 taupe or 33 acajou; #111 before. */
.bio.fond-taupe { --bio-fond: var(--taupe); }
.bio.fond-acajou { --bio-fond: var(--acajou); }
/* 23/11: the text scrolls in an inner frame, so the fade at its foot never lets the card show through the black. */
.bio-texte { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 1em; padding: 56px 24px 28px; overflow-y: auto; }
.bio[hidden] { display: none; }
.bio-texte > p:first-of-type { margin-top: auto; } /* centred when it fits, read from its first line when it does not (small phones) */
.bio-texte > p:last-of-type { margin-bottom: auto; }
.bio[hidden]:target { display: flex; } /* without script, the link still opens it */
.bio p { font-size: 15.5px; line-height: 1.5; }
/* Phones: her whole text is taller than the card; it scrolls inside the card, the last lines fading out to show there is more. */
@media (max-width: 899px) { .bio-texte { padding-bottom: 48px; -webkit-mask-image: linear-gradient(#000 calc(100% - 44px), transparent); mask-image: linear-gradient(#000 calc(100% - 44px), transparent); } }
.bio i { font-style: italic; }
.bio-fermer { position: absolute; top: 14px; right: 14px; z-index: 1; width: 36px; height: 36px; color: #fff; }
.bio-fermer span::before, .bio-fermer span::after { content: ""; position: absolute; left: 7px; top: 17px; width: 22px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.bio-fermer span::after { transform: rotate(-45deg); }
.bio-fermer:hover span::before, .bio-fermer:hover span::after, .bio-fermer:focus-visible span::before, .bio-fermer:focus-visible span::after { height: 2.5px; }
@keyframes bio-entre { from { opacity: 0; } to { opacity: 1; } }

.accueil main, .accueil .pied { position: relative; z-index: 3; background: var(--paper); }
.accueil main { box-shadow: 0 -14px 32px rgba(0, 0, 0, .22); }

/* A bold sans and a light serif in the same heading. */
h2 { margin-bottom: 16px; font: 500 26px/1.1 var(--sans); }
.double { font: 300 26px/1.15 var(--serif); }
.double strong { display: block; font-weight: 700; }

/* Six cards (Nutrition has its panel): the same photo frame for every tab, a title, a sentence that makes you want to open it. */
.propose { padding: 64px var(--margin) 20px; }
.cartes { display: grid; gap: 44px; margin-top: 30px; }
.carte { display: block; text-decoration: none; }
.carte img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* 17/11 (her wish): the title is underlined and is what you click; no "Découvrir" under the sentence. The whole card stays a link. */
.carte h3 { margin: 16px 0 8px; font: 700 14px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .03em; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.carte p { font-size: 18px; line-height: 1.4; }
.carte:hover h3, .carte:focus-visible h3 { text-decoration-thickness: 3px; }

/* My approach: a title, a short text, then a large sentence. */
.demarche { padding: 70px var(--margin) 60px; }
.demarche-court { font-size: 18px; line-height: 1.5; max-width: 34em; }
.demarche-grand { margin-top: 36px; font-size: 22px; line-height: 1.35; }

/* A tab's page: its photo on one half, her handwritten title and text on a colour block. */
.fiche-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.fiche-texte { padding: 40px var(--margin) 48px; }
.turquoise .fiche-texte { background: var(--turquoise); }
.bleu-vert .fiche-texte { background: var(--bleu-vert); color: #fff; } /* 27/11: dark, so white text, her handwritten title in white */
.bleu-vert .fiche-texte h1 img { filter: invert(1); }
.bleu-vert .fiche-texte .bouton { color: #fff; }
.bleu-vert .fiche-texte .bouton:hover, .bleu-vert .fiche-texte .bouton:focus-visible { background: #fff; color: var(--ink); border-color: #fff; }
.voile .fiche-texte { background: var(--voile); }
.mousse .fiche-texte { background: var(--mousse); }
.ardoise .fiche-texte { background: var(--ardoise); }
.liege .fiche-texte { background: var(--liege); }
.bougie .fiche-texte { background: var(--bougie); }
.cuivre .fiche-texte { background: var(--cuivre); }
.tige .fiche-texte { background: var(--tige); }
.lueur .fiche-texte { background: var(--lueur); }
.ambre .fiche-texte { background: var(--ambre); }
.acajou .fiche-texte { background: var(--acajou); }
.fiche h1 { margin-bottom: 20px; }
.fiche h1 img { width: auto; height: 74px; }
.fiche h1 .titre-cuisine { height: 110px; } /* title on several lines */
.fiche h1 .titre-tests { height: 110px; } /* 27/11, her wish: small, top left, like Nutrition; « Test / VO2max » is on two lines, so its
   height is set for the same letter size as « Nutrition » (x-height measured in the images: 15 % of the height here, 23 % there) */
.fiche h1 .titre-cures { width: min(92%, 340px); height: auto; } /* 18/11: « Cure Détox » large, on one line (her new handwriting), sized by width */
.fiche h1 .titre-corps, .fiche h1 .titre-visage { height: min(52vw, 200px); } /* 18/11: « Corps » large too, as high as the large Nutrition (her wish) */
.fiche h1 .titre-nutrition { height: 72px; } /* 22/11 (her wish): small, top left, room for her text; the height of the home panel title. 17/11-22/11: large */
.fiche-texte p { font-size: 18px; line-height: 1.5; }
.fiche-texte p + p { margin-top: .85em; } /* 22/11: Nutrition has several paragraphs (her Bilan nutritionnel text) */
.bouton { display: inline-block; margin-top: 26px; padding: 13px 18px; border: 1px solid currentColor; font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.bouton:hover, .bouton:focus-visible { background: var(--ink); color: #fff; border-color: var(--ink); }
/* 26/11, her choice: « Prendre rendez-vous » calls her on a phone, and opens the Réserver page on a computer
   (a tel: link made Chrome ask « Ouvrir Téléphone ? »). build.py writes both links; one is shown at a time. */
.bouton.rdv-appel { display: none; }
@media (hover: none) and (pointer: coarse) {
  .bouton.rdv-appel { display: inline-block; }
  .bouton.rdv-page { display: none; }
}
.suite { display: block; padding: 40px var(--margin); font: 300 24px/1.2 var(--serif); text-decoration: none; text-align: right; border-bottom: 1px solid var(--line); }
.suite span:first-child { display: block; margin-bottom: 6px; font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; }
.suite:hover, .suite:focus-visible { text-decoration: underline; }

/* Nutrition, 22/11 (her wish): under the page's block, a cream window as on The Emerald, her list of symptoms written large
   (light serif, her bold words in the bold sans); a click opens the pale pink block with a small photo and the rest of her text. */
.signaux-zone { padding: 48px var(--margin) 8px; transition: opacity .9s ease, transform .9s ease; }
.signaux-zone.cache { opacity: 0; transform: translateY(48px); }
.signaux summary { display: block; list-style: none; cursor: pointer; padding: 36px 24px 30px; background: var(--voile); }
.signaux summary::-webkit-details-marker { display: none; }
.signaux-liste { display: block; font: 300 27px/1.3 var(--serif); }
.signaux-liste b { font-weight: 700; }
/* The bold sans is taller than the serif: without this, every line holding a bold word sits further from its neighbours. */
.signaux b, .fiche-texte b { line-height: 1; }
.signaux-ouvrir { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding-bottom: 3px; border-bottom: 1.5px solid transparent; font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; }
.signaux summary:hover .signaux-ouvrir, .signaux summary:focus-visible .signaux-ouvrir { border-bottom-color: var(--ink); } /* hover: a line under the word, as everywhere (19/11) */
.signaux .ouvert, .signaux[open] .ferme { display: none; }
.signaux[open] .ouvert { display: inline; }
.signe { position: relative; width: 12px; height: 12px; }
.signe::before, .signe::after { content: ""; position: absolute; left: 0; top: 5.25px; width: 12px; height: 1.5px; background: currentColor; transition: transform .35s ease; }
.signe::after { transform: rotate(90deg); }
.signaux[open] .signe::after { transform: rotate(0deg); } /* + becomes - */
.signaux-suite { display: grid; gap: 26px; padding: 32px 24px 40px; background: var(--halo); }
.signaux[open] .signaux-suite { animation: deplie .6s ease both; }
@keyframes deplie { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.signaux-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } /* phone: side by side */
.signaux-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; } /* her photos' own format, uncropped */
.signaux-photo.vide { display: grid; place-items: center; border: 1px dashed rgba(17, 17, 17, .45); font: 500 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; }
.signaux-texte p { font-size: 18px; line-height: 1.5; }
.signaux-texte p + p, .signaux-texte blockquote + p { margin-top: .85em; }
.signaux-texte blockquote { margin: 1.1em 0; }
.signaux-texte blockquote p { font-size: 23px; line-height: 1.35; }
@media (prefers-reduced-motion: reduce) {
  .signaux-zone, .signe::before, .signe::after { transition: none; }
  .signaux[open] .signaux-suite { animation: none; }
  .bio { animation: none; }
}

/* Nutrition, 22/11 (her wish): the third block, « Ce qu’on construit ensemble », on white, after The Emerald: a large sans
   title, her sentence put forward in a larger serif, then the five parts of her consultations under small titles in capitals. */
.ensemble { padding: 72px var(--margin) 56px; }
.ensemble h2 { margin: 0 0 30px; font: 500 36px/1.05 var(--sans); }
.ensemble-phrase { margin: 0; }
.ensemble-phrase p { font-size: 23px; line-height: 1.35; }
.ensemble-intro { margin-top: 24px; font-size: 18px; line-height: 1.5; }
.volets { display: grid; gap: 34px; margin-top: 44px; }
.volet h3 { margin: 0 0 10px; font: 700 14px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .03em; }
.volet p { font-size: 18px; line-height: 1.5; }
.ensemble b, .volet b { line-height: 1; }
.ensemble .bouton { margin-top: 48px; }
/* 22/11, her colours to try for this block: 19 flamme, or the bordeaux 30 ambre / 33 acajou (too dark for black text:
   2.3:1 and 1.2:1; « clair » = white text, 8.3:1 and 16.3:1, shown to her side by side). */
.ensemble.fond-flamme { background: var(--flamme); }
.ensemble.fond-ambre { background: var(--ambre); }
.ensemble.fond-acajou { background: var(--acajou); }
.ensemble.clair { color: #fff; }
.ensemble.clair .bouton:hover, .ensemble.clair .bouton:focus-visible { background: #fff; color: var(--ink); border-color: #fff; }

/* Footer. */
.pied { display: grid; gap: 34px; padding: 50px var(--margin) 40px; font-size: 17px; }
.pied h3 { margin: 0 0 4px; font: 500 13px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .03em; }
.pied p + h3 { margin-top: 18px; }
.pied .liens { margin-top: 18px; }
.remonter { display: grid; justify-items: center; gap: 10px; justify-self: start; font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.petit { font-size: 14px; line-height: 1.5; color: #555; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .barre { transition: none; }
}

@media (max-width: 359px) {
  .ouverture, .accueil .ouverture { --nom: 25px; }
  .ouverture .nom { font-size: var(--nom); } /* 22/11: on the smallest phones her name keeps its size, to stay on one line */
  .bio-texte { padding: 50px 18px 20px; }
  .bio p { font-size: 14.5px; line-height: 1.45; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .cartes { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
}

@media (min-width: 900px) {
  :root { --margin: 40px; --barre: 64px; }
  .marque { font-size: 36px; }

  .ouverture { --nom: clamp(44px, 5.55vw, 86px); padding: 64px var(--margin) 48px; }
  .ouverture.compacte { --nom: clamp(30px, 3.1vw, 47px); padding: 44px var(--margin) 40px; }
  .onglets { flex-wrap: nowrap; margin-top: 30px; }
  .onglets a { font-size: max(12px, calc(var(--nom) * .257)); }
  .onglets .saut { display: none; }
  .banniere { height: 86vh; }

  .accueil { --cadre-h: min(calc(var(--svh) - var(--barre) - 56px), 720px); }
  .accueil .ouverture { --nom: clamp(40px, 4.8vw, 76px); padding: 28px var(--margin) 24px; }
  .accueil .onglets { margin-top: 22px; }
  .accueil .banniere { height: 71vh; }
  .panneau { box-shadow: 0 -14px 32px rgba(0, 0, 0, .28); }
  .panneau-texte { max-width: 780px; gap: 24px; }
  .panneau h2 img { height: 104px; }
  .panneau p { font-size: 23px; line-height: 1.45; }
  .bouton.clair { padding: 16px 22px; }
  .cadre { flex-direction: row; width: auto; max-width: 100%; }
  .cadre-photo { flex: 0 0 auto; width: auto; height: 100%; aspect-ratio: 2 / 3; object-position: 50% 50%; }
  .cadre-texte { justify-content: flex-end; gap: 20px; width: clamp(320px, 32vw, 460px); padding: 44px 40px; }
  .cadre h2 { font-size: 30px; }
  .cadre h2 img { height: 130px; }
  .cadre p { font-size: 19px; }
  .bio-texte { gap: .7em; padding: 46px clamp(40px, 5vw, 80px) 40px; }
  .bio p { max-width: 44em; font-size: clamp(14.5px, 2.05vh, 18px); line-height: 1.48; } /* 23/11: her whole text (7 paragraphs), sized to the card's height */
  .bio-fermer { top: 22px; right: 22px; }

  h2 { font-size: 32px; margin-bottom: 22px; }
  .double { font-size: 32px; }

  /* Three cards a row, as The Emerald's three columns: all the same size. */
  .propose { padding: 120px 6vw 40px; }
  .cartes { display: flex; flex-wrap: wrap; justify-content: center; gap: 56px 28px; margin-top: 50px; }
  .carte { width: calc((100% - 2 * 28px) / 3); }
  .carte p { font-size: 19px; }

  .demarche { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6vw; padding: 120px 6vw 110px; }
  .demarche h2 { margin: 0; }
  .demarche-court { grid-column: 2; grid-row: 1; align-self: end; font-size: 19px; }
  .demarche-grand { grid-column: 1 / -1; max-width: 22em; margin-top: 60px; font-size: 28px; line-height: 1.3; }

  .fiche { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 64px); }
  .fiche-photo { height: 100%; aspect-ratio: auto; }
  /* 18/11, Cure détox (her wish): the colour block on the left, the photo on the right. On a phone the photo stays on top. */
  .fiche.photo-droite .fiche-photo { grid-column: 2; grid-row: 1; }
  .fiche.photo-droite .fiche-texte { grid-column: 1; grid-row: 1; }
  .fiche-texte { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 80px 6vw; }
  .fiche h1 img { height: 110px; }
  .fiche h1 .titre-cuisine { height: 160px; }
  .fiche h1 .titre-tests { height: 160px; } /* 27/11: same letter size as the Nutrition title (104 px); before: clamp(300px, 60vh, 520px) */
  .fiche h1 .titre-cures { width: min(90%, 560px); height: auto; }
  .fiche h1 .titre-corps, .fiche h1 .titre-visage { height: clamp(220px, 40vh, 340px); } /* 18/11: Visage as large as Corps */
  .fiche h1 .titre-nutrition { height: 104px; } /* 22/11: as on the home panel */
  .fiche-texte p { font-size: 20px; max-width: 26em; }
  /* 22/11, Nutrition: her text is taller than the screen; the photo stays in view beside it (under the white bar) instead of stretching. */
  .fiche.longue { align-items: start; }
  .fiche.longue .fiche-photo { position: sticky; top: var(--barre); height: calc(var(--svh) - var(--barre)); }
  .fiche.longue .fiche-texte { justify-content: flex-start; min-height: calc(100vh - 64px); padding-top: 56px; } /* title top left (her wish) */
  .suite { padding: 56px 6vw; font-size: 32px; }
  .signaux-zone { padding: 100px 6vw 20px; }
  .signaux summary { padding: 72px 6vw 56px; }
  .signaux-liste { max-width: 25em; font-size: clamp(34px, 3vw, 46px); line-height: 1.25; }
  .signaux-ouvrir { margin-top: 40px; }
  .signaux-suite { grid-template-columns: clamp(200px, 20vw, 290px) 1fr; column-gap: 5vw; align-items: start; padding: 64px 6vw 72px; }
  .signaux-photos { grid-template-columns: 1fr; gap: 16px; } /* computer: one above the other */
  .signaux-texte { max-width: 34em; }
  .signaux-texte p { font-size: 20px; }
  .signaux-texte blockquote p { font-size: 27px; }
  .ensemble { padding: 130px 6vw 110px; }
  /* The title on the left, her sentence and her approach beside it, as The Emerald's « Our story »; the five parts below. */
  .ensemble { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6vw; align-items: start; }
  .ensemble h2 { grid-column: 1; grid-row: 1 / span 2; margin: 0; font-size: clamp(48px, 4.6vw, 72px); }
  .ensemble-phrase { grid-column: 2; grid-row: 1; }
  .ensemble-phrase p { font-size: clamp(24px, 1.9vw, 30px); }
  .ensemble-intro { grid-column: 2; grid-row: 2; margin-top: 28px; font-size: 20px; }
  .volets { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 60px 5vw; margin-top: 90px; }
  .ensemble .bouton { grid-column: 1 / -1; justify-self: start; }
  .volet p { font-size: 19px; }

  .pied { grid-template-columns: 1fr auto; align-items: start; padding: 60px var(--margin) 40px; font-size: 18px; }
  .remonter { justify-self: end; }
  .petit { grid-column: 1 / -1; max-width: 52em; }
}

/* Legal page. */
.page { max-width: 46em; padding: 110px var(--margin) 0; }
.page h1 { margin: 0 0 8px; font: 500 30px/1.1 var(--sans); }
.page h2 { margin: 34px 0 10px; font: 700 13px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .03em; }
.page p { font-size: 17px; }
.page .todo { background: #e6e2db; padding: 0 4px; }
.page .back { margin: 36px 0 48px; }
.page .back a { font: 500 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; }

/* The full menu in the bar from 1080px; below, the burger (17/11: with "Test VO2max" the menu no longer fits
   beside her name on a 900px screen). */
@media (min-width: 1080px) {
  .burger { display: none; }
  .menu { display: flex; align-items: center; gap: 26px; }
  .marque { font-size: clamp(22px, calc((100vw - 846px) / 10.2), 36px); }
  .menu .rdv { padding: 11px 16px; border: 1px solid currentColor; }
}

/* 26/11, first public version: the tabs not online yet stay visible, without a link, with « Bientôt » (her answer). */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.menu .a-venir, .burger nav .a-venir { font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; opacity: .4; cursor: default; }
.burger nav .a-venir { font-size: 16px; }
.onglets .a-venir { padding: 4px 0; border-top: 1.5px solid transparent; border-bottom: 1.5px solid transparent; font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; opacity: .4; cursor: default; }
@media (min-width: 900px) { .onglets .a-venir { font-size: max(12px, calc(var(--nom) * .257)); } }
.carte.a-venir h3 { text-decoration: none; }
.carte.a-venir .bientot { margin-left: .6em; font-weight: 500; opacity: .55; }

/* 26/11, evening, her wish: every appointment button opens a small window over the page, the page still seen behind it.
   Her corrections: the site's own type, bold included, nothing copied from the hotel form; bordeaux from our palette, no brown
   (33 acajou #420C01 first; then a blood red from the carnation of her Cuisine et table photo, #8E0B10: « trop rouge »; then her pick,
   16 taupe #352924, for the veil and « Appeler », white text 14.1:1). Labels bold like the card titles, text in the serif. */
html:has(dialog[open]) { overflow: hidden; }
.rdv-fenetre { width: min(92vw, 440px); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.rdv-fenetre::backdrop { background: rgba(53, 41, 36, .78); -webkit-backdrop-filter: blur(10px) brightness(.55); backdrop-filter: blur(10px) brightness(.55); } /* the page darkened under the red: a deep, even blood red on white parts as on dark photos, the page still seen */
.rdv-fenetre[open] { animation: rdv-ouvre .25s ease-out; }
@keyframes rdv-ouvre { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .rdv-fenetre[open] { animation: none; } }
.rdv-fenetre h2 { outline: none; margin: 0 0 18px; color: #fff; font: 700 22px/1.1 var(--sans); text-transform: uppercase; letter-spacing: .03em; text-align: center; }
.rdv-fermer { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.rdv-fermer span::before, .rdv-fermer span::after { content: ""; position: absolute; left: 11px; top: 21px; width: 22px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.rdv-fermer span::after { transform: rotate(-45deg); }
.rdv-fermer:hover span::before, .rdv-fermer:hover span::after, .rdv-fermer:focus-visible span::before, .rdv-fermer:focus-visible span::after { height: 2.5px; }
.rdv-carte { background: var(--paper); }
.rdv-ligne { display: block; margin: 0; padding: 18px 22px; border-bottom: 1px solid var(--line); color: var(--ink); font: 300 18px/1.4 var(--serif); text-decoration: none; }
a.rdv-ligne:hover, a.rdv-ligne:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.rdv-ligne b { display: block; margin-bottom: 6px; font: 700 13px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .03em; }
.rdv-ligne i { display: block; margin-top: 4px; font-style: normal; text-decoration: underline; text-underline-offset: 3px; }
.bouton.rdv-appeler { display: block; margin: 0; padding: 18px; border: 0; background: var(--taupe); color: #fff; text-align: center; }
.bouton.rdv-appeler:hover, .bouton.rdv-appeler:focus-visible { background: var(--ink); color: #fff; }
.insecable { white-space: nowrap; }
@media (hover: hover), (pointer: fine) { .bouton.rdv-appeler { display: none; } .rdv-carte .rdv-ligne:last-of-type { border-bottom: 0; } }

/* 27/11: « Ma démarche » = her eight laws of the living (her note « Souffle »), set like the Nutrition columns: two columns on a tablet, four on a computer. */
@media (min-width: 600px) { .volets.lois { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .volets.lois { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); gap: 56px 4vw; margin-top: 80px; } }

/* 27/11: her passage on her patients, under the laws (her own rewriting, four paragraphs), set like her sentences put forward.
   Her choice after three tries (an offset cream veil, a muslin across the page, The Emerald's tightening veil): the text alone. */
.demarche-relation { margin: 64px 0 0; max-width: 38em; }
.demarche-relation p { font-size: 21px; line-height: 1.45; }
.demarche-relation p + p { margin-top: .75em; }
@media (min-width: 900px) { .demarche-relation { grid-column: 1 / -1; margin-top: 110px; } .demarche-relation p { font-size: clamp(22px, 1.6vw, 26px); } }

/* 27/11: VO2, VCO2 written with <sub>2</sub> (the fonts have no subscript two); line-height 0 so the line spacing does not move. */
sub { font-size: .68em; line-height: 0; vertical-align: -.18em; }

/* 27/11, Test VO2max, her layout: under the page's block, her bionomie text (title left, paragraphs right, like « Ce qu'on construit
   ensemble »), then a small framed excerpt « Montre connectée ou test Spirofit » under the text, then « Réserver un test ». */
.suite-colonne p { font-size: 18px; line-height: 1.5; }
.suite-colonne p + p { margin-top: .85em; }
.encadre { margin-top: 48px; padding: 26px 24px; border: 1px solid var(--ink); }
.encadre h3 { margin: 0 0 12px; font: 700 14px/1.25 var(--sans); text-transform: uppercase; letter-spacing: .03em; }
.encadre p { font-size: 17px; line-height: 1.5; }
.encadre p + p { margin-top: .75em; }
@media (min-width: 900px) {
  .suite-texte .suite-colonne { grid-column: 2; grid-row: 1; }
  .suite-texte .suite-colonne p { font-size: 20px; }
  .suite-texte .encadre { grid-column: 2; grid-row: 2; margin-top: 64px; padding: 34px 38px; }
  .suite-texte .encadre p { font-size: 18px; }
  .suite-texte .bouton { grid-column: 2; grid-row: 3; }
}

/* 27/11, Test VO2max, her wish « plus grand »: the title of her text beside the mask, a heading in the site's bold sans. */
.fiche-texte .fiche-titre { max-width: 16em; margin: 0 0 .7em; font: 700 26px/1.15 var(--sans); }
@media (min-width: 900px) { .fiche-texte .fiche-titre { font-size: 34px; } }

/* 27/11, her photo under the title « Bilan métabolique et VO₂max » (the runner, SpiroFit): on a phone between the title and the text;
   on a computer it fills the white on the left and stays in view while the text beside it is read. */
.suite-photo { display: block; width: 100%; height: auto; margin: 0 0 32px; }
@media (min-width: 900px) {
  .suite-texte h2 { grid-row: 1; }
  .suite-texte .suite-photo { grid-column: 1; grid-row: 2 / span 3; align-self: start; position: sticky; top: calc(var(--barre) + 32px);
    width: min(100%, 480px); margin: 48px 0 0; }
  .suite-texte .suite-colonne { grid-row: 1 / span 2; }
  .suite-texte .encadre { grid-row: 3; }
  .suite-texte .bouton { grid-row: 4; }
}

/* 27/11, her remarks on her phone: « photo de moi coupée, je la veux entière avec le texte en dessous », and no blue ring on « En savoir plus ».
   Below 900 px the card is no longer the height of the screen: her portrait whole (2:3), her text under it; the card still rises over Nutrition. */
@media (max-width: 899px) {
  .monte { position: relative; height: auto; margin-bottom: 0; padding: 40px var(--margin) 56px; }
  .cadre { height: auto; }
  .cadre-photo { flex: none; height: auto; aspect-ratio: 2 / 3; object-position: 50% 50%; }
}
.cadre a:focus:not(:focus-visible) { outline: none; }
