@font-face { font-family: "Raleway"; font-style: normal; font-weight: 200 600; font-display: swap; src: url(/assets/polices/raleway-romain-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 200 600; font-display: swap; src: url(/assets/polices/raleway-romain-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: italic; font-weight: 200 400; font-display: swap; src: url(/assets/polices/raleway-italique-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: italic; font-weight: 200 400; font-display: swap; src: url(/assets/polices/raleway-italique-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --font-sans: "Raleway", Arial, Helvetica, sans-serif;
  --surface: #ffffff;
  --surface-soft: #f6f6f6;
  --surface-inverse: #333333;
  --surface-footer: #282a2b;
  --ink: #333333;
  --ink-soft: #555555;
  --ink-muted: #747474;
  --ink-faint: #8c8989;
  --on-inverse: #ffffff;
  --on-inverse-muted: #dddddd;
  --line: #dddddd;
  --line-soft: #eae9e9;
  --turquoise: #0197a8;
  --turquoise-fonce: #017a88;
  --turquoise-nuit: #016b77;
  --turquoise-clair: #dceff1;
  --ciel: #6a9aa2;
  --ciel-clair: #baedf4;
  --vert-bourgeon: #8db33a;
  --vert-profond: #4f6b1c;
  --vert-clair: #eef4de;
  --focus: #017a88;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 96px;
  --radius-none: 0;
  --radius-sm: 2px;
  --radius-round: 9999px;
  --shadow-none: none;
  --container: 1100px;
  --header-height: 96px;
  --portrait-lg: 224px;
  --thumb-offer: 148px;
}

/* Zestine — composants en CSS pur. Préfixe z-. Tokens issus de tokens.css. */
.z, .z * { box-sizing: border-box; }
.z { font-family: var(--font-sans); color: var(--ink-muted); font-size: 16px; line-height: 24px; }
.z :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Bouton : angles droits, toujours */
.z-btn { display: inline-flex; align-items: center; gap: var(--space-2); font: 500 15px/20px var(--font-sans); letter-spacing: .02em; padding: 14px 28px; border: 1px solid transparent; border-radius: var(--radius-none); cursor: pointer; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.z-btn-primary { background: var(--turquoise-fonce); color: var(--on-inverse); }
.z-btn-primary:hover { background: var(--turquoise-nuit); }
.z-btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.z-btn-secondary:hover { background: var(--ink); color: var(--on-inverse); }
.z-btn-inverse { background: transparent; color: var(--on-inverse); border-color: var(--on-inverse); }
.z-btn-inverse:hover { background: var(--on-inverse); color: var(--ink); }
.z-btn-inverse:focus-visible { outline-color: var(--on-inverse); }

/* Lien « En savoir plus » */
.z-more { color: var(--ink-soft); text-decoration: none; font-size: 15px; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.z-more:hover { color: var(--turquoise-fonce); border-color: var(--turquoise-fonce); }
.z-more-inverse { color: var(--on-inverse); border-color: rgba(255,255,255,.4); }
.z-more-inverse:hover { color: var(--on-inverse); border-color: var(--on-inverse); }
.z-link { color: var(--turquoise-fonce); text-decoration: underline; text-underline-offset: 3px; }

/* En-tête */
.z-header { background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.z-header-in { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-4); height: var(--header-height); display: flex; align-items: center; justify-content: space-between; }
.z-header img { height: 35px; display: block; }
.z-nav { display: flex; gap: 25px; height: 100%; }
.z-nav a { position: relative; display: flex; align-items: center; color: var(--ink-soft); text-decoration: none; font-size: 16px; }
.z-nav a:hover { color: var(--ink); }
.z-nav a[aria-current] { color: var(--ink-muted); }
.z-nav a[aria-current]::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--ink-muted); }

/* Hero */
.z-hero { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--on-inverse); background-color: var(--ciel); background-size: cover; background-position: center; padding: var(--space-7) var(--space-4); }
.z-hero img.z-hero-logo { width: min(560px, 80%); height: auto; }
.z-hero h1 { margin: var(--space-3) 0 0; font-weight: 200; font-size: 40px; line-height: 44px; color: var(--on-inverse); }

/* Bandeau coach */
.z-bio { background: var(--surface-inverse); color: var(--on-inverse-muted); padding: var(--space-6) var(--space-4); }
.z-bio-in { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: var(--space-5); align-items: center; }
.z-bio img { width: var(--portrait-lg); height: var(--portrait-lg); border-radius: var(--radius-round); justify-self: center; display: block; }
.z-bio h2 { margin: 0 0 var(--space-3); font-weight: 400; font-size: 30px; line-height: 36px; color: var(--on-inverse-muted); }
.z-bio p { margin: 0 0 var(--space-3); }

/* Carte d'offre */
.z-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.z-offer { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--space-4) var(--space-4) var(--space-5); border-radius: var(--radius-none); transition: background-color .2s; }
.z-offer:hover { background: var(--surface-soft); }
.z-offer-thumb { width: var(--thumb-offer); height: var(--thumb-offer); border-radius: var(--radius-round); background: var(--ciel) center/cover; display: grid; place-items: center; }
.z-offer h3 { margin: var(--space-4) 0 var(--space-3); font-weight: 400; font-size: 24px; line-height: 28px; color: var(--ink); }
.z-offer p { margin: 0 0 var(--space-4); color: var(--ink-soft); max-width: 300px; }

/* Témoignage */
.z-quote { position: relative; margin: 0; padding: var(--space-5) var(--space-5) var(--space-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-none); }
.z-quote::before { content: "«"; position: absolute; top: -26px; left: var(--space-4); width: 52px; height: 52px; border-radius: var(--radius-round); background: var(--turquoise); color: var(--on-inverse); font: 200 36px/50px var(--font-sans); text-align: center; }
.z-quote blockquote { margin: 0; font-style: italic; font-weight: 300; font-size: 20px; line-height: 30px; color: var(--ink); }
.z-quote figcaption { margin-top: var(--space-3); font-size: 14px; color: var(--ink-muted); }

/* Encadré */
.z-callout { padding: var(--space-4) var(--space-5); border-radius: var(--radius-none); color: var(--ink-soft); }
.z-callout-turquoise { background: var(--turquoise-clair); }
.z-callout-vert { background: var(--vert-clair); }
.z-overline { display: block; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--space-2); }
.z-callout-turquoise .z-overline { color: var(--turquoise-nuit); }
.z-callout-vert .z-overline { color: var(--vert-profond); }
.z-callout ul { margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.z-callout li { position: relative; padding-left: 18px; margin: 6px 0; }
.z-callout li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: var(--radius-round); background: var(--vert-bourgeon); }
.z-callout-turquoise li::before { background: var(--turquoise); }

/* Pied de page */
.z-footer { background: var(--surface-footer); color: var(--on-inverse-muted); font-size: 14px; line-height: 20px; text-align: center; padding: 18px var(--space-4); }
.z-footer a { color: var(--on-inverse); text-decoration: none; }
.z-footer a:hover { text-decoration: underline; }

/* Mise en page du site zestine.fr.
   Tout repose sur les jetons du design system (design-system/tokens.json) et sur ses
   composants z-* (design-system/composants.css). Ici : uniquement ce que le site ajoute
   autour (structure de page, texte courant, menu déroulant, mobile). Aucune couleur ni
   taille en dur : passer par les jetons. */

/* --- Base --- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--surface); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 var(--space-4); color: var(--ink); font-weight: 400; }
h1 { font-size: 40px; line-height: 44px; font-weight: 200; }
h2 { font-size: 30px; line-height: 36px; }
h3 { font-size: 24px; line-height: 28px; margin-bottom: var(--space-3); }
p, ul { margin: 0 0 var(--space-3); }
* + h2, * + h3 { margin-top: var(--space-5); }
h1 + h2 { margin-top: 0; }
strong { font-weight: 600; }
.centre { text-align: center; }
.chapo { font-size: 18px; line-height: 28px; color: var(--ink-soft); }

.evitement { position: absolute; left: -9999px; }
.evitement:focus { left: var(--space-2); top: var(--space-2); z-index: 200; padding: var(--space-2) var(--space-3); background: var(--surface); color: var(--ink); }

/* Puces : le petit rond de la charte */
main ul { list-style: none; padding: 0; }
main li { position: relative; padding-left: 18px; margin: 6px 0; }
main li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: var(--radius-round); background: var(--turquoise); }
main ul ul { margin: 6px 0 0; }

/* --- Sections et colonnes --- */
.section { padding: var(--space-6) var(--space-4); }
.section-in { max-width: var(--container); margin: 0 auto; }
.section-in > :last-child, .colonne > :last-child { margin-bottom: 0; }
.section:not(.section-doux) + .section:not(.section-doux) { padding-top: 0; }
.section-doux { background: var(--surface-soft); color: var(--ink-soft); }
.section-etroite .section-in { max-width: 680px; }

.rangee { --g: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-5) var(--g); }
.colonne { min-width: 0; width: calc((100% - (var(--d) - 1) * var(--g)) * var(--n) / var(--d) + (var(--n) - 1) * var(--g)); }
.collant { position: sticky; top: 90px; align-self: flex-start; }

/* --- Images --- */
.rond { display: block; margin-inline: auto; border-radius: var(--radius-round); aspect-ratio: 1; object-fit: cover; }
.nb { filter: grayscale(1); }
.portrait { width: var(--portrait-lg); margin-bottom: var(--space-4); }
.monogramme { display: block; width: 200px; margin: var(--space-4) auto 0; }

/* --- En-tête : complète z-header (fixe, réduit au défilement, sous-menu) --- */
.site-entete { position: sticky; top: 0; z-index: 100; }
.site-entete .z-header-in { max-width: calc(var(--container) + 2 * var(--space-4)); transition: height .2s; }   /* logo aligné sur le contenu */
.site-entete.reduit .z-header-in { height: 66px; }
.site-logo { flex: none; }
.site-logo img { width: auto; }
.menu-bouton { display: none; }
.menu-groupe { position: relative; display: flex; }
.sous-menu { position: absolute; top: 100%; left: 0; z-index: 10; min-width: 270px; margin: 0; padding: 0; list-style: none; background: var(--surface); border: 1px solid var(--line-soft); border-top: 3px solid var(--ink-muted); visibility: hidden; opacity: 0; transition: opacity .2s; }
.menu-groupe:hover .sous-menu, .menu-groupe:focus-within .sous-menu { visibility: visible; opacity: 1; }
.z-nav .sous-menu a { display: block; padding: 10px 20px; border-bottom: 1px solid var(--line-soft); }
.z-nav .sous-menu li:last-child a { border-bottom: 0; }
.z-nav .sous-menu a:hover { background: var(--surface-soft); }
.z-nav .sous-menu a[aria-current] { color: var(--ink); font-weight: 600; }
.z-nav .sous-menu a[aria-current]::before { content: none; }

/* --- Composants : ajustements propres au site --- */
.z-hero { min-height: 520px; }
.z-offers.deux { grid-template-columns: repeat(2, 1fr); max-width: 733px; margin-inline: auto; }
.z-offer { position: relative; }
.z-offer-thumb { overflow: hidden; }
.z-offer-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.z-offer h3 a { color: inherit; text-decoration: none; }
.z-offer h3 a::after { content: ""; position: absolute; inset: 0; }   /* toute la carte est cliquable */
.z-offer h3 a:focus-visible { outline: none; }
.z-offer:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.z-offer:hover .z-more { color: var(--turquoise-fonce); border-color: var(--turquoise-fonce); }
.z-quote { margin-top: var(--space-6); }
h2 + .z-quote { margin-top: var(--space-5); }
.noms li { padding-left: 0; margin: 2px 0; color: var(--ink); font-weight: 600; }
.noms li::before { content: none; }
.z-btn { margin-top: var(--space-2); }

/* --- Pied de page : bandeau photo au-dessus de z-footer --- */
.pied-photo { padding: var(--space-7) var(--space-4); background: var(--ciel) center / cover; text-align: center; }
.pied-photo img { display: inline-block; width: min(320px, 70%); }

/* --- Menu mobile --- */
@media (max-width: 900px) {
  .site-entete .z-header-in { height: 66px; }
  .menu-bouton { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .z-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); }
  .z-nav.ouvert { display: flex; }
  .z-nav a { padding: 12px var(--space-4); border-top: 1px solid var(--line-soft); }
  .z-nav a[aria-current]::before { right: auto; bottom: 0; width: 3px; height: auto; }
  .menu-groupe { flex-direction: column; }
  .sous-menu { position: static; min-width: 0; border: 0; visibility: visible; opacity: 1; }
  .z-nav .sous-menu a { padding: 12px var(--space-4) 12px var(--space-5); border-bottom: 0; }
}

/* --- Petits écrans --- */
@media (max-width: 800px) {
  h1 { font-size: 32px; line-height: 38px; }
  h2 { font-size: 26px; line-height: 32px; }
  .section { padding-block: var(--space-5); }
  .colonne { width: 100%; }
  .collant { position: static; }
  .rond { max-width: 260px; }
  .z-hero { min-height: 360px; padding-block: var(--space-6); }
  .z-hero h1 { font-size: 28px; line-height: 34px; }
  .z-bio-in { grid-template-columns: 1fr; }
  .z-offers, .z-offers.deux { grid-template-columns: 1fr; }
  .z-quote { padding-inline: var(--space-4); }
  .pied-photo { padding-block: var(--space-6); }
}

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