/* ==========================================================================
   Papa Fiable — papafiable.fr
   Thème : vert forêt & or (couleurs du logo et du portrait).
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a1f19;
  --marine: #10322a;            /* vert forêt (nom historique de la variable) */
  --marine-2: #194336;
  --gold: #c9a45c;
  --gold-hi: #e0c17d;
  --gold-ink: #7a5c1c;          /* or foncé lisible sur fond clair */
  --paper: #eef2ed;
  --paper-2: #e0e8e1;
  --white: #ffffff;

  --on-dark: #edf3ee;
  --on-dark-muted: #a6bbb0;
  --on-light: #10261f;
  --on-light-muted: #4b5f55;

  --line-dark: rgba(237, 243, 238, 0.15);
  --line-light: rgba(16, 38, 31, 0.15);

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(18px, 4.5vw, 36px);
  --maxw: 1120px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--on-light);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* --- Sections ----------------------------------------------------------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--paper { background: var(--paper); color: var(--on-light); }
.section--paper-2 { background: var(--paper-2); color: var(--on-light); }
.section--marine { background: var(--marine); color: var(--on-dark); }
.section--ink { background: var(--ink); color: var(--on-dark); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.section--marine .eyebrow, .section--ink .eyebrow, .hero .eyebrow { color: var(--gold); }

.h2 { font-size: clamp(1.85rem, 3.9vw, 2.9rem); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.6; color: var(--on-light-muted); max-width: 62ch; }
.section--marine .lead, .section--ink .lead { color: var(--on-dark-muted); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.gold { color: var(--gold); }
.section--paper .gold, .section--paper-2 .gold { color: var(--gold-ink); }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  text-decoration: none; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--gold { background: var(--gold); color: #1a1405; }
.btn--gold:hover { background: var(--gold-hi); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-dark); color: var(--on-dark); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn--dark { background: var(--marine); color: var(--on-dark); }
.btn--dark:hover { background: var(--marine-2); transform: translateY(-1px); }
.btn--sm { padding: 11px 18px; font-size: .92rem; }
.btn--lg { padding: 18px 30px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* --- Cadre : l'idée centrale de la méthode, rendue en coins dorés -------- */
.cadre { position: relative; }
.cadre::before, .cadre::after {
  content: ""; position: absolute; width: 44px; height: 44px; pointer-events: none; z-index: 2;
  border: 3px solid var(--gold);
}
.cadre::before { top: -12px; left: -12px; border-right: 0; border-bottom: 0; }
.cadre::after { bottom: -12px; right: -12px; border-left: 0; border-top: 0; }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand span b { color: var(--gold); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--on-dark-muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--on-dark); }
.nav a.nav-video { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-hi); font-weight: 600; }
.nav a.nav-video:hover { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 5px; }
.nav-video svg { width: 11px; height: 11px; flex: none; }
.nav a.nav-test { color: var(--on-dark); border: 1.5px solid var(--gold); border-radius: 999px; padding: 7px 16px; font-weight: 600; white-space: nowrap; }
.nav a.nav-test:hover { background: rgba(201, 164, 92, .16); color: var(--on-dark); }

/* --- Hero --------------------------------------------------------------- */
.hero { background: var(--ink); color: var(--on-dark); padding-block: clamp(48px, 7vw, 92px) clamp(56px, 8vw, 108px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(36px, 7vw, 104px); align-items: center; }
.hero-copy { display: grid; gap: 28px; justify-items: start; max-width: 620px; }
.hero h1 { font-size: clamp(1.95rem, 3.7vw, 2.85rem); line-height: 1.1; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .sub { font-size: clamp(1.02rem, 1.4vw, 1.12rem); line-height: 1.7; color: var(--on-dark-muted); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; color: var(--on-dark-muted); font-size: .9rem; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof li::before { content: ""; width: 6px; height: 6px; background: var(--gold); flex: none; }
.hero-photo { margin: 0; width: clamp(220px, 24vw, 290px); justify-self: end; }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: 50% 18%; border-radius: 26px; display: block; }
.hero-photo figcaption { margin-top: 12px; font-size: .88rem; color: var(--on-dark-muted); text-align: center; }

/* --- Problème : le carnet de négociations -------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.carnet { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.carnet li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 18px 4px; border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.5rem); letter-spacing: -0.01em;
}
.carnet li::before { content: "“"; color: var(--gold-ink); font-size: 1.8em; line-height: 0; position: relative; top: .28em; }
.carnet-note { margin-top: 20px; font-size: .95rem; color: var(--on-light-muted); font-style: italic; }
.prose { display: grid; gap: 18px; }
.prose p { color: var(--on-light-muted); }
.section--marine .prose p, .section--ink .prose p { color: var(--on-dark-muted); }
.prose p strong { color: var(--on-light); font-weight: 700; }
.section--marine .prose p strong, .section--ink .prose p strong { color: var(--on-dark); }
.prose .pull, .pull { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.2; letter-spacing: -0.015em; color: var(--on-light); }
.section--marine .prose .pull, .section--ink .prose .pull, .section--marine .pull, .section--ink .pull { color: var(--on-dark); }

/* --- Motivé / Fiable ------------------------------------------------------ */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.duo > div { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 14px; align-content: start; }
.duo > div + div { border-left: 1px solid var(--line-dark); background: color-mix(in srgb, var(--gold) 8%, transparent); }
.duo h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.duo .tag { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.duo > div + div .tag { color: var(--gold); }
.duo ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--on-dark-muted); }
.duo li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.duo li::before { content: "–"; color: var(--on-dark-muted); }
.duo > div + div li { color: var(--on-dark); }
.duo > div + div li::before { content: ""; width: 8px; height: 8px; margin-top: .55em; background: var(--gold); }
.chart { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 14px; max-width: 860px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--line-dark); stroke-width: 1; }
.chart .axis-label { fill: var(--on-dark-muted); font: 500 11px var(--font-body); }
.chart .wave { fill: none; stroke: var(--on-dark-muted); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .frame-line { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; }
.chart .dot { fill: var(--gold); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .92rem; color: var(--on-dark-muted); }
.chart-legend span { display: inline-flex; align-items: center; gap: 10px; }
.chart-legend i { width: 26px; height: 0; border-top: 3px solid var(--on-dark-muted); border-radius: 2px; }
.chart-legend span + span i { border-top-color: var(--gold); border-top-width: 4px; }

/* --- Piliers --------------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.pillar { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 3px solid var(--marine); }
.pillar:last-child { border-top-color: var(--gold); }
.pillar svg { width: 44px; height: 44px; color: var(--marine); }
.pillar:last-child svg { color: var(--gold-ink); }
.pillar h3 { font-size: 1.45rem; }
.pillar p { color: var(--on-light-muted); }
.pillar .kicker { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-light-muted); }
.pillar:last-child .kicker { color: var(--gold-ink); }

/* --- Histoire ------------------------------------------------------------- */
.story-head { display: grid; gap: 16px; max-width: 780px; margin-bottom: clamp(28px, 4vw, 44px); }
.story-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.triptych figcaption, .gallery figcaption { font-size: .86rem; color: var(--on-dark-muted); margin-top: 12px; }
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); }
.tri-i { position: relative; border-radius: 18px; overflow: hidden; background: var(--marine); }
.tri-i img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.tri-i .date { position: absolute; left: 10px; bottom: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: #fff; background: rgba(6, 22, 16, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 3px 9px; border-radius: 999px; }
.story-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); margin-top: clamp(32px, 5vw, 56px); align-items: start; max-width: 960px; }
.story-copy .col { display: grid; gap: 18px; align-content: start; }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.creds li { border: 1px solid var(--line-dark); padding: 7px 14px; font-size: .88rem; font-weight: 600; color: var(--on-dark); border-radius: 999px; }
.gallery { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.7fr); gap: clamp(14px, 2.5vw, 28px); margin-top: clamp(40px, 6vw, 72px); align-items: end; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; border-radius: 18px; object-fit: cover; }
.gallery .g-tall img { aspect-ratio: 3 / 5; object-position: 50% 30%; }
.gallery .g-wide img { aspect-ratio: 4 / 3; }
.gallery .g-sq img { aspect-ratio: 1; object-position: 30% 40%; }

/* --- Programme ------------------------------------------------------------- */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.phase { padding: 24px 22px 28px; display: grid; gap: 12px; align-content: start; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.phase .when { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.phase h3 { font-size: 1.28rem; line-height: 1.15; }
.phase p { font-size: .96rem; color: var(--on-light-muted); }
.cells { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 0; padding: 0; list-style: none; }
.cells li {
  width: 28px; height: 28px; display: grid; place-items: center;
  border: 1.5px solid var(--marine); border-radius: 3px;
  font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--marine);
}
.phase:nth-child(4) .cells li:last-child, .phase:nth-child(4) .cells li { border-color: var(--gold-ink); color: var(--gold-ink); }
.phase:nth-child(4) .cells li:last-child { background: var(--gold); color: #1a1405; border-color: var(--gold); }
.phases-note { margin-top: 18px; font-size: .92rem; color: var(--on-light-muted); }
.includes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 32px); margin-top: clamp(40px, 6vw, 64px); }
.include { display: grid; gap: 10px; align-content: start; }
.include svg { width: 30px; height: 30px; color: var(--gold-ink); }
.include h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
.include p { font-size: .96rem; color: var(--on-light-muted); }
.autonomy { margin-top: clamp(36px, 5vw, 56px); padding: clamp(22px, 3vw, 34px); background: var(--marine); color: var(--on-dark); border-radius: var(--radius); display: grid; gap: 8px; }
.autonomy p:first-child { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.2; letter-spacing: -0.015em; }
.autonomy p:last-child { color: var(--on-dark-muted); }

/* --- Vidéo -------------------------------------------------------------------- */
.video-wrap { max-width: 900px; margin-inline: auto; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button.play { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.video button.play:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; }
.video button.play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video .disc { position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 10px 34px rgba(0,0,0,.45); transition: transform .15s ease; }
.video button.play:hover .disc { transform: scale(1.06); }
.video .disc svg { width: 32px; height: 32px; margin-left: 4px; color: #1a1405; }
.video.is-playing button.play { display: none; }

/* --- Pour qui ---------------------------------------------------------------------- */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.fit > div { display: grid; gap: 16px; align-content: start; padding: clamp(22px, 3vw, 34px); background: var(--white); border-radius: var(--radius); }
.fit > div:last-child { background: transparent; border: 1px solid var(--line-light); }
.fit h3 { font-size: 1.35rem; }
.fit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.fit li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--on-light-muted); }
.fit li svg { width: 20px; height: 20px; margin-top: 3px; color: var(--gold-ink); }
.fit > div:last-child li svg { color: var(--on-light-muted); }

/* --- Quiz --------------------------------------------------------------------------- */
.quiz-section { padding-block: clamp(56px, 8vw, 104px); }
.quiz-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 6vw, 80px); align-items: center; background: var(--marine); border-radius: 26px; padding: clamp(28px, 5vw, 64px); box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.quiz-card.cadre::before, .quiz-card.cadre::after { display: none; }
.quiz-card h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.quiz-copy { display: grid; gap: 18px; justify-items: start; }
.quiz-gauge { display: grid; gap: 18px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line-dark); border-radius: 20px; background: rgba(0, 0, 0, .18); }
.gauge-labels { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-display); font-size: 1.05rem; color: var(--on-dark); }
.gauge-bar { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--marine-2), var(--gold)); position: relative; }
.gauge-bar i { position: absolute; top: 50%; left: 62%; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-hi); border: 4px solid var(--marine); transform: translate(-50%, -50%); box-shadow: 0 0 0 2px var(--gold); }
.gauge-steps { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: gs; }
.gauge-steps li { counter-increment: gs; display: flex; align-items: center; gap: 12px; color: var(--on-dark-muted); font-size: .98rem; }
.gauge-steps li::before { content: counter(gs); width: 26px; height: 26px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: .8rem; font-weight: 700; }

/* --- FAQ ---------------------------------------------------------------------------- */
.faq { display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 2px; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1.9vw, 1.28rem); letter-spacing: -0.01em; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2.5px solid var(--gold-ink); border-bottom: 2.5px solid var(--gold-ink);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .answer-list { margin: 0; padding-left: 1.2rem; display: grid; gap: 6px; }
.faq .answer { padding: 0 44px 24px 2px; color: var(--on-light-muted); display: grid; gap: 10px; max-width: 68ch; }

/* --- CTA final ------------------------------------------------------------------------ */
.final { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.final h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.final-copy { display: grid; gap: 22px; justify-items: start; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line-dark); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.steps li::before {
  content: counter(step); width: 36px; height: 36px; display: grid; place-items: center;
  border: 2px solid var(--gold); color: var(--gold); border-radius: 3px;
  font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 4px; }
.steps p { color: var(--on-dark-muted); font-size: .98rem; }
.microcopy { font-size: .95rem; color: var(--on-dark-muted); }
.booking { margin-top: clamp(36px, 5vw, 64px); width: min(1080px, calc(100vw - 2 * var(--gutter) - 17px)); position: relative; left: 50%; transform: translateX(-50%); }
.cal-host { min-width: 320px; height: clamp(540px, 82vh, 660px); background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.cal-host iframe { display: block; width: 100%; height: 100% !important; border: 0; }
.cal-host .calendly-inline-widget { height: 100% !important; min-width: 0 !important; }
.booking-note { margin-top: 12px; text-align: center; font-size: .86rem; color: var(--on-dark-muted); }
.booking-note a { color: var(--gold-hi); }

/* --- Footer ------------------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: 56px 40px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer-grid h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-brand { display: grid; gap: 14px; align-content: start; max-width: 36ch; }
.footer-brand .brand { color: var(--on-dark); }
.legal-line { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; gap: 8px; font-size: .84rem; }

/* --- Pages légales ------------------------------------------------------------------------ */
.legal-hero { background: var(--ink); color: var(--on-dark); padding-block: clamp(36px, 6vw, 64px); }
.legal-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.legal-hero p { color: var(--on-dark-muted); margin-top: 10px; }
.legal { padding-block: clamp(36px, 6vw, 72px); background: var(--paper); }
.legal .doc { max-width: 78ch; display: grid; gap: 14px; }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 26px; }
.legal h3 { font-size: 1.12rem; margin-top: 14px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--on-light); }
.legal ul { margin: 0; padding-left: 1.25rem; display: grid; gap: 8px; }
.legal a { color: var(--gold-ink); }
.legal .updated { font-size: .9rem; color: var(--on-light-muted); }
.legal address { font-style: normal; }
.legal .backlink { display: inline-block; margin-bottom: 8px; font-weight: 600; text-decoration: none; }

/* --- Responsive ------------------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .nav a:not(.btn):not(.nav-test) { display: none; }
  .nav { gap: 12px; }
}
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; width: 190px; }
  .split, .final, .quiz-card, .story-copy { grid-template-columns: 1fr; }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .duo, .fit, .pillars { grid-template-columns: 1fr; }
  .duo > div + div { border-left: 0; border-top: 1px solid var(--line-dark); }
  .gallery { grid-template-columns: 1.5fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .phases, .includes { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .btn { padding: 15px 20px; }
  .cal-host { height: 900px; border-radius: 18px; }
  .video { border-radius: 16px; }
  .tri { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tri::-webkit-scrollbar { display: none; }
  .tri-i { flex: 0 0 66%; scroll-snap-align: start; border-radius: 18px; }
  .tri-i .date { font-size: .74rem; left: 10px; bottom: 10px; padding: 3px 10px; }
  .brand span { font-size: 1.08rem; }
  .site-header .btn { padding: 10px 14px; font-size: .86rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* --- Test « Papa Motivé ou Papa Fiable ? » ------------------------------------------------ */
.qz-page { background: var(--ink); color: var(--on-dark); }
.qz-stage { padding-block: clamp(28px, 6vw, 72px) clamp(36px, 6vw, 72px); }
.qz-card { max-width: 760px; margin-inline: auto; background: var(--marine); border: 1px solid var(--line-dark); border-radius: 26px; padding: clamp(22px, 5vw, 48px); box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.qz-card [hidden] { display: none !important; }
.qz-card h1, .qz-card h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.qz-card p { color: var(--on-dark-muted); }
.qz-screen { display: grid; gap: 20px; }
.qz-kicker { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.qz-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--on-dark-muted); font-size: .92rem; }
.qz-meta span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.qz-note { font-size: .88rem; }
.qz-note a { color: var(--gold-hi); }

.qz-progress { display: grid; gap: 10px; }
.qz-count { font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.qz-bar { height: 6px; border-radius: 999px; background: rgba(237, 243, 238, .14); overflow: hidden; }
.qz-bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: inherit; transition: width .3s ease; }
.qz-q { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 3.2vw, 1.8rem); line-height: 1.25; letter-spacing: -.015em; color: var(--on-dark); margin: 0; outline: none; }
.qz-answers { display: grid; gap: 12px; }
.qz-ans { font: inherit; font-size: 1.04rem; line-height: 1.4; text-align: left; color: var(--on-dark); background: rgba(0, 0, 0, .18); border: 1.5px solid var(--line-dark); border-radius: 14px; padding: 16px 18px; min-height: 56px; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.qz-ans:hover { border-color: var(--gold); background: rgba(0, 0, 0, .28); }
.qz-ans:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 2px; }
.qz-ans.is-on { border-color: var(--gold); background: rgba(201, 164, 92, .16); }
.qz-back { justify-self: start; font: inherit; font-size: .95rem; color: var(--on-dark-muted); background: none; border: 0; padding: 8px 2px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.qz-back:hover { color: var(--on-dark); }

.qz-calc { text-align: center; padding-block: 36px; justify-items: center; }
.qz-calc-t { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; outline: none; }
.qz-dots { display: flex; gap: 8px; }
.qz-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: qzdot 1s ease-in-out infinite; }
.qz-dots i:nth-child(2) { animation-delay: .15s; } .qz-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes qzdot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-5px); } }

.qz-profile { font-size: clamp(2rem, 5.5vw, 3rem); outline: none; }
.qz-score { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.qz-score-num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.qz-gauge { display: grid; gap: 12px; padding: clamp(18px, 3vw, 26px); border: 1px solid var(--line-dark); border-radius: 20px; background: rgba(0, 0, 0, .18); }
.qz-gauge-labels { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-display); font-size: 1rem; color: var(--on-dark); }
.qz-gauge-bar { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--marine-2), var(--gold)); position: relative; margin-inline: 11px; }
.qz-gauge-bar i { position: absolute; top: 50%; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-hi); border: 4px solid var(--marine); transform: translate(-50%, -50%); box-shadow: 0 0 0 2px var(--gold); transition: left 1.3s cubic-bezier(.2, .8, .2, 1); }
.qz-pillars { display: grid; gap: 14px; }
.qz-pillar { display: grid; gap: 6px; }
.qz-pillar-h { display: flex; justify-content: space-between; font-size: .95rem; color: var(--on-dark-muted); }
.qz-pillar-h b { color: var(--on-dark); font-variant-numeric: tabular-nums; }
.qz-track { height: 8px; border-radius: 999px; background: rgba(237, 243, 238, .14); overflow: hidden; }
.qz-track i { display: block; height: 100%; background: var(--on-dark-muted); border-radius: inherit; transition: width 1s ease; }
.qz-pillar.is-weak .qz-pillar-h span { color: var(--gold-hi); font-weight: 700; }
.qz-pillar.is-weak .qz-track i { background: var(--gold); }
.qz-weak { display: grid; gap: 8px; padding: 20px; border-left: 3px solid var(--gold); background: rgba(0, 0, 0, .18); border-radius: 0 14px 14px 0; }
.qz-weak-t { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--on-dark); margin: 0; }
.qz-tip { margin: 0; color: var(--on-dark-muted); }

.qz-mail { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--gold); border-radius: 20px; background: rgba(201, 164, 92, .08); }
.qz-mail h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
.qz-form { display: grid; gap: 12px; }
.qz-form label.f { display: grid; gap: 6px; font-size: .9rem; color: var(--on-dark-muted); font-weight: 600; }
.qz-form input[type=text], .qz-form input[type=email] { font: inherit; font-size: 1rem; color: var(--on-light); background: #fff; border: 2px solid transparent; border-radius: 10px; padding: 13px 14px; width: 100%; }
.qz-form input:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 1px; }
.qz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qz-consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .88rem; color: var(--on-dark-muted); line-height: 1.45; }
.qz-consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); }
.qz-consent a { color: var(--gold-hi); }
.qz-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qz-msg { min-height: 1.3em; font-size: .95rem; margin: 0; color: var(--on-dark-muted); }
.qz-msg.ok { color: var(--gold-hi); font-weight: 600; }
.qz-msg.err { color: #ffb4a8; }
.qz-form button[type=submit] { justify-self: start; }
.qz-restart { justify-self: start; font: inherit; font-size: .95rem; color: var(--on-dark-muted); background: none; border: 0; padding: 6px 2px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.qz-disclaimer { font-size: .84rem; color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); padding-top: 16px; }

.qz-book { padding-block: 8px clamp(48px, 7vw, 88px); }
.qz-book-head { max-width: 760px; margin: 0 auto clamp(20px, 3vw, 32px); text-align: center; display: grid; gap: 10px; }
.qz-book-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.qz-book-head p { color: var(--on-dark-muted); }
.qz-book .booking { margin-top: 0; }
.qz-book[hidden] { display: none; }

@media (max-width: 560px) {
  .qz-row { grid-template-columns: 1fr; }
  .qz-form button[type=submit] { width: 100%; justify-self: stretch; }
  .qz-card { border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .qz-gauge-bar i, .qz-track i, .qz-bar i { transition: none; }
  .qz-dots i { animation: none; opacity: 1; }
}

/* --- Teaser du diagnostic (résultat du test) --- */
.qz-locked-h { margin: 6px 0 0; font-weight: 600; color: var(--on-dark) !important; font-size: .95rem; }
.qz-locked { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.qz-locked li { position: relative; padding-left: 28px; color: var(--on-dark); font-size: .98rem; line-height: 1.4; }
.qz-locked li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.05em; height: 1.05em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='7' width='10' height='7.5' rx='1.6' fill='%23c9a45c'/%3E%3Cpath d='M5.2 7V5.2a2.8 2.8 0 0 1 5.6 0V7' fill='none' stroke='%23c9a45c' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.qz-mail-for { font-family: var(--font-display); font-weight: 700; color: var(--gold-hi) !important; font-size: 1.02rem; margin: 0; }

@media (max-width: 460px) {
  .site-header .brand span { display: none; }
  .site-header .btn { white-space: nowrap; }
  .nav a.nav-test { padding: 7px 13px; font-size: .88rem; }
}
