/* ═══════════════════════════════════════════════════════════
   OBJECTIF ORIENTATION — PEP'S D'APPRENDRE · feuille de style
   Site multipage. Langage visuel repris de la version immersive
   (fond crème, grande typo grotesque, libellés mono, filets fins,
   rayons de 2 px) ; couleurs reprises de la carte de visite.

   Règles :
   · une page = en-tête (.ph) + sections alternées bone / white
     (+ une section navy au plus par page)
   · accent de page : rouge (Objectif Orientation) ou magenta
     (Pep's d'apprendre, body.peps) → --accent
   · boutons : .btn (plein) · .lnk (souligné) — rien d'autre
   · listes : tiret + filet ; rayons : --radius partout
   ═══════════════════════════════════════════════════════════ */

:root {
  /* carte de visite (relevé exact sur le PDF) */
  --navy: #012f6d;
  --red: #c60c30;
  --orange: #ff914d;
  --yellow: #ffbd59;
  --grey: #545454;
  --teal: #044d70;
  --magenta: #b32f80;
  --plum: #915d8b;
  --lilac: #ab91c2;

  /* surfaces et texte (langage de la version immersive) */
  --bone: #f4f3f0;
  --white: #ffffff;
  --ink: var(--navy);
  --ink-rgb: 1, 47, 109;
  --ash: #5f6b82;
  --hair: rgba(var(--ink-rgb), .13);

  --accent: var(--red);

  --sans: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --brand: 'Montserrat', var(--sans);

  --t-display: clamp(40px, 5.6vw, 84px);
  --t-heading: clamp(32px, 4.2vw, 56px);
  --radius: 2px;
  --gutter: clamp(20px, 4vw, 64px);
  --wrap: 1240px;
  --head-h: 76px;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-inout: cubic-bezier(0.77, 0, 0.175, 1);
}
body.peps { --accent: var(--magenta); }

/* ── base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 20px); }
body {
  background: var(--bone); color: var(--ink);
  font-family: var(--sans); font-size: 19px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { border-radius: var(--radius); }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; }
button { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--navy); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.5; }
.ash { color: var(--ash); }
.nw { white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }

/* texte courant justifié ; ce qui est centré le reste */
main :is(p, li, blockquote, dd) { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
main :is(.head, .center, .motto) :is(p, li, blockquote, dd) { text-align: inherit; }
/* pas de césure dans les grands textes : chaque navigateur coupe différemment */
main :is(.lead, .intro-big, .intro-sub, .manifest, .quote, .panel-lead, .story-lead, .head, .center, .motto),
main :is(.lead, .intro-big, .intro-sub, .manifest, .quote, .panel-lead, .story-lead, .head, .center, .motto) * { -webkit-hyphens: manual; hyphens: manual; }

/* kicker : libellé mono précédé du petit filet de la carte de visite */
.k { display: flex; align-items: center; gap: 12px; color: var(--ash); }
.k::before { content: ''; width: 26px; height: 2px; background: var(--accent); flex: none; }
.k--c { justify-content: center; }

/* ── transitions entre pages (navigateurs compatibles, sinon rien) ── */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* apparitions au défilement (seulement si JS actif) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ═══ EN-TÊTE ═══ */
.site-head {
  position: sticky; top: 0; z-index: 100;
  height: var(--head-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gutter);
  background: rgba(244, 243, 240, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-head.scrolled { border-bottom-color: var(--hair); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 0; }
.brand-name { display: grid; line-height: 1.15; }
.brand-name b { font-family: var(--brand); font-weight: 700; font-size: 17px; letter-spacing: -0.005em; color: var(--navy); }
.brand-name span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ash); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  font-size: 15.5px; padding: 8px 11px; position: relative; white-space: nowrap;
  transition: color .25s;
}
.nav a::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-inout);
}
.nav a[data-u="peps"]::after { background: var(--magenta); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.head-cta { flex: none; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 10px 6px; margin-left: auto; }

.menu-panel {
  position: fixed; inset: var(--head-h) 0 0; z-index: 99;
  background: var(--bone);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 5vh var(--gutter) 36px; gap: 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-out), visibility .35s;
}
.menu-panel.open { opacity: 1; visibility: visible; }
.menu-panel nav { display: grid; }
.menu-panel nav a {
  font-size: clamp(30px, 8vw, 48px); letter-spacing: -0.02em; line-height: 1.2;
  padding: 6px 0; border-bottom: 1px solid var(--hair);
  display: flex; justify-content: space-between; align-items: baseline;
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.menu-panel nav a[aria-current="page"] { color: var(--accent); }
.menu-panel.open nav a { opacity: 1; transform: none; }
.menu-panel.open nav a:nth-child(2) { transition-delay: .03s; }
.menu-panel.open nav a:nth-child(3) { transition-delay: .06s; }
.menu-panel.open nav a:nth-child(4) { transition-delay: .09s; }
.menu-panel.open nav a:nth-child(5) { transition-delay: .12s; }
.menu-panel.open nav a:nth-child(6) { transition-delay: .15s; }
.menu-panel.open nav a:nth-child(7) { transition-delay: .18s; }
.menu-panel.open nav a:nth-child(8) { transition-delay: .21s; }
html.menu-open { overflow: hidden; }

/* ═══ BOUTONS ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--navy); color: var(--white);
  border: 1px solid var(--navy); border-radius: var(--radius);
  padding: 15px 22px; cursor: pointer; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--sm { padding: 11px 16px; }
.lnk {
  display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  background: none; border: 0; padding: 0 0 3px; cursor: pointer; white-space: nowrap;
  border-bottom: 1px solid currentColor; transition: color .3s, border-color .3s;
}
.lnk:hover { color: var(--accent); }
.btns { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 30px; }

/* ═══ SECTIONS ═══ */
.sec { padding: clamp(72px, 13vh, 150px) var(--gutter); position: relative; }
.sec--white { background: var(--white); }
.sec--navy { background: var(--navy); color: var(--bone); --ash: rgba(244, 243, 240, .62); --hair: rgba(244, 243, 240, .16); }
.sec--navy .btn { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.sec--navy .btn:hover { background: var(--white); border-color: var(--white); }
.sec--tight { padding-top: clamp(48px, 8vh, 90px); padding-bottom: clamp(48px, 8vh, 90px); }
.sec > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }

.head { max-width: 900px; margin: 0 auto clamp(40px, 8vh, 90px); text-align: center; }
.head .k { justify-content: center; }
.head--left { text-align: left; margin-left: 0; }
.head--left .k { justify-content: flex-start; }
.title { font-size: var(--t-heading); margin-top: 16px; }
.sub { color: var(--ash); max-width: 760px; margin: 22px auto 0; }
.sub p + p { margin-top: .7em; }

.lead { font-size: clamp(22px, 2.1vw, 29px); letter-spacing: -0.015em; line-height: 1.3; }
.prose p { margin-bottom: 1em; max-width: 36em; }
.note { color: var(--ash); font-size: 16px; line-height: 1.5; }
strong { font-weight: 500; }

/* ═══ EN-TÊTE DE PAGE ═══ */
.ph { padding: clamp(48px, 9vh, 110px) var(--gutter) clamp(48px, 8vh, 96px); }
.ph-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.crumbs { color: var(--ash); margin-bottom: clamp(26px, 5vh, 54px); }
.crumbs a { border-bottom: 1px solid var(--hair); }
.crumbs a:hover { border-bottom-color: currentColor; }
.ph h1 { font-size: var(--t-display); letter-spacing: -0.03em; line-height: 1.02; margin-top: 18px; max-width: 16ch; text-wrap: balance; }
.ph .lead { margin-top: 26px; max-width: 34em; color: var(--ash); }
.ph-mark { width: clamp(76px, 9vw, 128px); border-radius: 0; }

/* ═══ ACCUEIL · HÉROS ═══ */
.hero { padding: clamp(40px, 8vh, 100px) var(--gutter) clamp(60px, 10vh, 120px); }
.hero-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 90px); align-items: center; }
.hero h1 { font-size: clamp(38px, 4.4vw, 62px); letter-spacing: -0.035em; line-height: 1.02; margin-top: 22px; }
.hero h1 > span { display: block; }
.hero h1 > span + span { margin-top: .45em; }
.hero h1 .h1-3 { color: var(--ash); }
.mk { background: linear-gradient(var(--c, var(--red)), var(--c, var(--red))) 0 92% / 100% .09em no-repeat; padding-bottom: .02em; }
.mk--peps { --c: var(--magenta); }
.hero-grid { width: 100%; height: auto; overflow: visible; }
.hero-grid .hm { transform-box: fill-box; transform-origin: center; transition: transform 1.5s var(--ease-inout); }
.hero-grid .hm.is-v { transform: rotate(90deg); }
.hero-grid .hm-logo { animation: logo-in 1.1s var(--ease-out) both; }
.hero-grid .hm-logo:nth-of-type(1) { animation-delay: .15s; }
@keyframes logo-in { from { opacity: 0; } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--hair); color: var(--ash); }

/* manifeste */
.manifest { font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -0.025em; line-height: 1.18; max-width: 22em; text-wrap: pretty; }
.manifest .mk { background-size: 100% .07em; }

/* deux pôles */
.poles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); }
.pole {
  background: var(--bone); border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 52px);
  display: flex; flex-direction: column; gap: 18px; min-height: 100%;
  position: relative; transition: transform .5s var(--ease-out);
}
.pole:hover { transform: translateY(-3px); }
.pole-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.pole-top img { width: 64px; border-radius: 0; }
.pole-name { font-family: var(--brand); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.pole-name em { font-style: normal; color: var(--magenta); }
.pole--peps .pole-name { color: var(--teal); }
.pole h2 { font-size: clamp(28px, 2.8vw, 40px); }
.pole p { color: var(--ash); max-width: 30em; }
.pole .lnk { margin-top: auto; align-self: flex-start; }
.pole::after { content: ''; position: absolute; inset: 0; }
.pole .lnk { position: relative; z-index: 1; }

/* pour qui : rangées éditoriales */
.aud { border-top: 1px solid var(--ink); }
.aud-row {
  display: grid; grid-template-columns: 64px minmax(0, .9fr) minmax(0, 1.3fr);
  gap: clamp(20px, 3.4vw, 56px); align-items: start;
  padding: clamp(26px, 3.4vw, 42px) 0; border-bottom: 1px solid var(--hair);
}
.aud-row img { width: 38px; border-radius: 0; margin-top: 8px; }
.aud-row h3 { font-size: clamp(26px, 2.6vw, 38px); margin-top: 10px; }
.aud-row p { max-width: 34em; }

/* bande devise (mots de la carte de visite) */
.motto { text-align: center; }
.motto-words { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .1em .55em; margin-top: 26px; font-size: clamp(30px, 4.4vw, 66px); letter-spacing: -0.035em; line-height: 1.08; }
.motto-words span { white-space: nowrap; display: inline-flex; align-items: center; }
.motto-words i { width: .15em; height: .15em; border-radius: 50%; background: var(--c); display: inline-block; margin-left: .55em; }

/* comment ? : le logo se construit */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.step { padding: 30px 24px 34px 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--hair); }
.step img { width: 58px; border-radius: 0; margin-bottom: 26px; }
.step h3 { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.18; margin: 10px 0 12px; }
.step p { font-size: 17px; color: var(--ash); }
.steps-cta { margin-top: 44px; text-align: center; }

/* qui suis-je (aperçu accueil) */
.intro-sophie { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(28px, 6vw, 110px); align-items: center; }
.photo { margin: 0; position: relative; }
.photo > img:not(.photo-tag) { width: 100%; height: auto; object-fit: cover; }
.photo--portrait > img:not(.photo-tag) { aspect-ratio: 4 / 5; object-position: 50% 18%; }
.photo--wide > img:not(.photo-tag) { aspect-ratio: 3 / 2; }
.photo-tag { position: absolute; width: 56px; right: -14px; bottom: -14px; border-radius: 0; background: var(--bone); padding: 8px; box-sizing: content-box; }
.sec--white .photo-tag { background: var(--white); }
.photo figcaption { margin-top: 14px; }

/* témoignages (aperçu accueil) */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.quote { border-top: 1px solid var(--hair); padding-top: 24px; display: flex; flex-direction: column; }
.quote blockquote { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; letter-spacing: -0.01em; }
.quote blockquote::before { content: '“'; display: block; font-size: 2.4em; line-height: .6; color: var(--yellow); margin-bottom: 10px; }
.quote .stars { margin-bottom: 18px; }
.quote .stars + blockquote::before { content: none; }
.quote figcaption { margin-top: auto; padding-top: 22px; display: flex; gap: 12px; align-items: baseline; font-weight: 500; }

/* appel final */
.final { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.final-lines { font-size: clamp(30px, 4vw, 58px); letter-spacing: -0.03em; line-height: 1.1; }
.final-lines span { display: block; }
.final-lines span:not(:last-child) { color: var(--ash); }
.final .btns { justify-content: flex-end; margin-top: 0; }

/* ═══ BLOCS DE CONTENU (pages) ═══ */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 90px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split + .split, .split + * { margin-top: clamp(60px, 11vh, 130px); }
.video { margin: 0; }
.video video { width: 100%; aspect-ratio: 16 / 9; background: #0d2447; border-radius: var(--radius); }
.video figcaption { margin-top: 12px; color: var(--ash); }

.list li { padding: 11px 0 11px 28px; position: relative; border-top: 1px solid var(--hair); line-height: 1.4; }
.list li:last-child { border-bottom: 1px solid var(--hair); }
.list li::before { content: ''; position: absolute; left: 0; top: 1.15em; width: 14px; height: 2px; background: var(--accent); }
.list { margin: 8px 0 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.tags li { font-size: 16px; padding: 7px 12px; border: 1px solid var(--hair); border-radius: var(--radius); }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); }
.panel { background: var(--bone); border-radius: var(--radius); padding: clamp(26px, 3vw, 46px); }
.sec:not(.sec--white) .panel { background: var(--white); }
.panel h3 { font-size: clamp(22px, 2vw, 29px); line-height: 1.2; margin: 16px 0 18px; }
.panel p { margin-bottom: .9em; }
.panel-lead { font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.012em; line-height: 1.32; margin-top: 16px; }

/* deux photos côte à côte */
.photos-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); margin-top: clamp(40px, 8vh, 90px); }

/* guide */
.guide { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 90px); align-items: start; }
.guide h2 { font-size: clamp(28px, 2.8vw, 40px); margin: 16px 0 14px; }
.guide-files { margin-top: 30px; display: grid; gap: 10px; }
.guide-files li { display: flex; gap: 14px; align-items: center; color: var(--ash); font-size: 16px; }
.guide-files li::before { content: 'PDF'; font-family: var(--mono); font-size: 10px; letter-spacing: .05em; border: 1px solid var(--hair); padding: 4px 6px; border-radius: var(--radius); color: var(--ink); }

/* formulaires : filets seuls */
.form { display: grid; gap: 24px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form label { display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 19px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(var(--ink-rgb), .3); border-radius: 0;
  padding: 8px 0 10px; width: 100%; transition: border-color .3s;
}
.form select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23012f6d' stroke-width='1.4'/%3E%3C/svg%3E") right 4px center / 10px no-repeat; padding-right: 24px; }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--accent); }
.radios { display: flex; gap: 28px; flex-wrap: wrap; }
.radios label { display: flex; align-items: center; gap: 9px; font-size: 17px; }
.radios input { width: auto; accent-color: var(--navy); }
.form .btn { justify-self: start; }

/* qui suis-je */
.bio { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 110px); align-items: start; }
.bio .photo { position: sticky; top: calc(var(--head-h) + 30px); }
.story { column-count: 2; column-gap: clamp(28px, 4vw, 64px); }
.story p { margin-bottom: 1em; break-inside: avoid; }
.story-lead { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.02em; line-height: 1.25; max-width: 26em; margin-bottom: clamp(36px, 6vh, 64px); }

/* pep's : tête / cœur / corps */
.intro-big { font-size: clamp(24px, 2.5vw, 36px); letter-spacing: -0.02em; line-height: 1.25; text-align: center; max-width: 30em; margin: 0 auto; }
.intro-sub { color: var(--ash); text-align: center; max-width: 36em; margin: 22px auto 0; }
.triad { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); margin-top: clamp(50px, 9vh, 100px); }
.triad article { padding: 34px 28px 10px 0; }
.triad article + article { padding-left: 28px; border-left: 1px solid var(--hair); }
.triad img { width: 30px; border-radius: 0; margin-bottom: 26px; }
.big { display: block; font-size: clamp(60px, 8vw, 128px); font-weight: 300; letter-spacing: -0.045em; line-height: .95; margin-bottom: 22px; }
.verbs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); counter-reset: v; }
.verbs li { padding: 22px 22px 26px 0; min-height: 150px; border-bottom: 1px solid var(--hair); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.015em; line-height: 1.2; display: flex; flex-direction: column; gap: 14px; }
.verbs li::before { counter-increment: v; content: counter(v, decimal-leading-zero); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ash); }
.verbs li:not(:nth-child(4n+1)) { padding-left: 22px; border-left: 1px solid var(--hair); }
.benefits-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 90px); align-items: end; margin-bottom: 50px; }
.ecrit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 90px); align-items: start; }
.ecrit h2 { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.22; margin: 16px 0 22px; }
.ecrit-cols { display: grid; gap: 34px; }

/* ═══ TARIFS ═══ */
.first-k { padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.first-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: clamp(20px, 4vw, 64px); padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--hair); }
.first-row h3 { font-size: clamp(24px, 2.6vw, 38px); margin-top: 10px; }
.amount { font-size: clamp(64px, 7.5vw, 116px); font-weight: 300; letter-spacing: -0.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.amount span { font-size: .42em; letter-spacing: 0; margin-left: .12em; vertical-align: .9em; }
.tabs { display: flex; justify-content: center; gap: clamp(18px, 3vw, 44px); border-bottom: 1px solid var(--hair); margin: clamp(60px, 11vh, 120px) 0 36px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.01em; background: none; border: 0; color: var(--ash); cursor: pointer; padding: 0 0 16px; position: relative; white-space: nowrap; transition: color .3s; }
.tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--c, var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-inout); }
.tabs button:hover, .tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.panels { display: grid; }
.pan { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); align-content: start; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .18s linear, transform .18s linear, visibility 0s linear .18s; }
.pan.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease-out) .18s, transform .45s var(--ease-out) .18s, visibility 0s linear .18s; }
.pan--2 { grid-template-columns: repeat(2, 1fr); }
.pan--1 { grid-template-columns: minmax(0, 720px); justify-content: center; }
.card { background: var(--bone); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; border-top: 3px solid var(--c, var(--red)); }
.card h4 { font-size: clamp(22px, 1.9vw, 27px); letter-spacing: -0.015em; line-height: 1.2; margin: 12px 0 18px; }
.card .desc { margin-bottom: .9em; font-size: 17px; }
.card .list li { font-size: 17px; }
.card .list--prices li { display: flex; justify-content: space-between; padding-left: 0; }
.card .list--prices li::before { content: none; }
.card .list--prices li span:last-child { font-weight: 500; }
.card-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--ink); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price { font-size: clamp(32px, 2.8vw, 42px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.price .mono { display: block; margin-top: 8px; letter-spacing: .04em; color: var(--ash); }
.price small { font-size: 15px; letter-spacing: 0; color: var(--ash); }
.u-oo { --c: var(--red); }
.u-peps { --c: var(--magenta); }
.u-at { --c: var(--orange); }
.u-et { --c: var(--grey); }

/* ═══ RÉSERVATION ═══ */
.rdv { width: min(980px, calc(100vw - 32px)); height: min(920px, calc(100dvh - 32px)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: var(--radius); background: var(--white); color: var(--ink); overflow: hidden; }
.rdv[open] { display: flex; flex-direction: column; }
.rdv:focus { outline: none; }
.rdv::backdrop { background: rgba(var(--ink-rgb), .6); }
.rdv-bar { display: flex; align-items: center; gap: 24px; padding: 12px 18px; border-bottom: 1px solid var(--hair); }
.rdv-bar p { margin-right: auto; }
.rdv-close { background: none; border: 0; color: var(--ink); cursor: pointer; padding: 6px 0; }
.rdv-close:hover { color: var(--accent); }
.rdv iframe { flex: 1; display: block; width: 100%; border: 0; background: #fff; }
html.rdv-open { overflow: hidden; }
a[data-maps] { border-bottom: 1px solid var(--hair); transition: border-color .3s; }
a[data-maps]:hover { border-bottom-color: currentColor; }
.maps { width: min(420px, calc(100vw - 32px)); margin: auto; padding: 28px; border: 0; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.maps::backdrop { background: rgba(var(--ink-rgb), .6); }
.maps-addr { font-size: 19px; line-height: 1.35; margin: 8px 0 18px; }
.maps ul { border-top: 1px solid var(--ink); }
.maps li a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--hair); font-size: 19px; }
.maps li a:hover { color: var(--accent); }
.maps-cancel { margin-top: 18px; background: none; border: 0; color: var(--ash); cursor: pointer; padding: 6px 0; }
.maps-cancel:hover { color: var(--ink); }
@media (max-width: 560px) {
  .maps { width: 100vw; max-width: none; margin: auto 0 0; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
}

/* ═══ LIVRE D'OR ═══ */
.stars { display: inline-block; width: 98px; height: 18px; background: var(--orange); -webkit-mask: url(/assets/img/etoile.svg) 0 0 / 20px 18px repeat-x; mask: url(/assets/img/etoile.svg) 0 0 / 20px 18px repeat-x; }
.stars--lg { width: 148px; height: 27px; -webkit-mask-size: 30px 27px; mask-size: 30px 27px; }
.sec--navy .stars { background: var(--yellow); }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(20px, 3vw, 40px); padding-bottom: clamp(28px, 4vw, 44px); margin-bottom: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--ink); }
.rating-score { font-size: clamp(64px, 7vw, 104px); font-weight: 300; letter-spacing: -0.045em; line-height: .9; }
.rating .mono { margin-top: 8px; }
.rating .btns { margin: 0 0 0 auto; }
.reviews { column-count: 3; column-gap: clamp(14px, 1.6vw, 24px); }
.review { break-inside: avoid; margin: 0 0 clamp(14px, 1.6vw, 24px); background: var(--bone); border-radius: var(--radius); border-top: 3px solid var(--yellow); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 16px; }
.sec:not(.sec--white) .review { background: var(--white); }
.review blockquote { font-size: 17px; line-height: 1.55; }
.review blockquote p + p { margin-top: .7em; }
.review figcaption { padding-top: 16px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 14px; font-weight: 500; }

/* ═══ CONTACT ═══ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 100px); align-items: start; }
.coords { border-top: 1px solid var(--ink); }
.coords > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.coords dd { line-height: 1.45; }
.coords a { border-bottom: 1px solid var(--hair); }
.coords a:hover { border-bottom-color: currentColor; }

/* ═══ PIED DE PAGE ═══ */
.site-foot { background: var(--navy); color: var(--bone); padding: clamp(64px, 11vh, 120px) var(--gutter) 28px; --ash: rgba(244, 243, 240, .6); --hair: rgba(244, 243, 240, .16); overflow: hidden; }
.foot-in { max-width: var(--wrap); margin: 0 auto; }
.foot-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 60px); padding-bottom: clamp(48px, 8vh, 80px); }
.foot-brand img { width: 120px; border-radius: 0; margin-bottom: 22px; }
.foot-brand p { font-size: 22px; letter-spacing: -0.015em; line-height: 1.25; max-width: 12em; }
.foot-col h2 { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ash); margin-bottom: 16px; }
.foot-col li { margin-bottom: 8px; line-height: 1.4; }
.foot-col a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.foot-col a:hover { border-bottom-color: currentColor; }
.foot-name { font-size: min(11.2vw, 190px); font-weight: 300; letter-spacing: -0.055em; line-height: .82; white-space: nowrap; color: var(--bone); margin: 0 0 26px -0.04em; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--hair); color: var(--ash); }
.foot-bottom a:hover { color: var(--bone); }

/* ── divers ── */
.tel-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 150; transform: translate(-50%, 160%); visibility: hidden; background: var(--navy); color: var(--bone); padding: 14px 18px; border-radius: var(--radius); width: max-content; max-width: calc(100% - 32px); text-align: center; transition: transform .5s var(--ease-out), visibility .5s; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.center { text-align: center; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1120px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: block; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --head-h: 64px; }
  body { font-size: 18px; }
  .hero-in, .split, .cols, .guide, .bio, .contact, .intro-sophie, .poles, .ecrit, .benefits-head, .final { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child { order: 0; }
  .hero-grid { max-width: 520px; }
  .hero h1 { font-size: clamp(26px, 8.3vw, 48px); }
  .ph-in { grid-template-columns: minmax(0, 1fr); }
  .ph-mark { display: none; }
  .aud-row { grid-template-columns: 44px minmax(0, 1fr); row-gap: 12px; }
  .aud-row img { width: 30px; }
  .aud-row p { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .quotes { grid-template-columns: 1fr; }
  .rating .btns { margin-left: 0; }
  .final .btns { justify-content: flex-start; }
  .bio .photo { position: static; }
  .bio .photo { max-width: 420px; }
  .story { column-count: 1; }
  .form .row { grid-template-columns: 1fr; }
  .coords > div { grid-template-columns: 1fr; gap: 2px; }
  .triad { grid-template-columns: 1fr; }
  .triad article, .triad article + article { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--hair); }
  .big { font-size: clamp(56px, 18vw, 90px); margin-bottom: 12px; }
  .verbs { grid-template-columns: 1fr 1fr; }
  .verbs li { min-height: 0; padding: 18px 14px 20px 0; }
  .verbs li:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .verbs li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--hair); }
  .first-row { grid-template-columns: 1fr auto; row-gap: 14px; }
  .first-row .btn { grid-column: 1 / -1; justify-self: start; }
  .amount { font-size: clamp(52px, 15vw, 80px); }
  .tabs { justify-content: flex-start; -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); padding-right: 40px; }
  .pan, .pan--2, .pan--1 { grid-template-columns: 1fr; }
  .reviews { column-count: 2; }
  .rdv { width: 100vw; height: 100dvh; border-radius: 0; }
  .rdv-bar { gap: 16px; padding: 10px 16px; }
  .rdv-bar p { display: none; }
  .rdv-bar .lnk { margin-right: auto; }
  .photo-tag { width: 40px; right: -8px; bottom: -8px; padding: 6px; }
}
@media (max-width: 560px) {
  .reviews { column-count: 1; }
  .brand-name span { display: none; }
  .brand img { width: 30px; height: 30px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--hair); }
  .step img { margin-bottom: 16px; width: 48px; }
  .foot-top { grid-template-columns: 1fr; }
  /* devise : un mot par ligne, sans les points */
  .motto-words { flex-direction: column; gap: .12em; }
  .motto-words i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
