/* Summit Gestion · feuille de style « Panorama »
   Palette : neige, glacier, bleu nuit, drapeau orange (le drapeau du logo).
   Typo : Hanken Grotesk. Relief en courbes de niveau sur certains fonds. */

:root {
  --snow: #F6F8F9;
  --stone: #EAF0F3;
  --stone-2: #DCE7EE;
  --ink: #0E2233;
  --muted: #55697A;
  --line: rgba(14, 34, 51, .13);
  --line-strong: rgba(14, 34, 51, .28);
  --flag: #B04720;          /* liens, repères, focus : 4.9:1 sur blanc */
  --flag-deep: #8F3A19;
  --blue: #2E4A62;
  --peak: #C8552A;
  --night: #0E2233;
  --night-2: #17324A;
  --night-ink: #F1F5F8;
  --night-muted: #A9BCCB;
  --glacier: #9FB3C2;

  --f-display: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --t-h1: clamp(40px, 4vw + 14px, 84px);
  --t-h2: clamp(30px, 2.2vw + 18px, 56px);
  --t-h3: clamp(21px, .5vw + 19px, 26px);
  --t-lead: clamp(18px, .3vw + 16.8px, 21px);
  --t-body: 17px;
  --t-small: 15px;
  --t-label: 13px;

  --nav: 76px;
  --gut: 80px;
  --wrap: 1280px;
  --sec: clamp(88px, 7vw + 40px, 152px);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 24px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
}
@media (max-width: 1023px) { :root { --gut: 40px; --nav: 64px; } }
@media (max-width: 639px)  { :root { --gut: 20px; --t-body: 16.5px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--snow);
  color: var(--ink);
  font: 400 var(--t-body)/1.65 var(--f-text);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--flag); color: #fff; }

:focus-visible { outline: 2px solid var(--flag); outline-offset: 3px; border-radius: 4px; }
.night :focus-visible { outline-color: #F08A52; }

.skip {
  position: absolute; left: var(--gut); top: -80px; z-index: 50;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-sm); text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }

/* ---------- type ---------- */
.h1, .h2, .h3, h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -.035em;
  text-wrap: balance;
  hyphens: manual;
}
h1, .h1 { font-size: var(--t-h1); line-height: .99; letter-spacing: -.045em; }
h2, .h2 { font-size: var(--t-h2); line-height: 1.06; }
h3, .h3 { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -.012em; }
.muted { color: var(--muted); }
.night .muted { color: var(--night-muted); }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink); max-width: 40ch; text-wrap: pretty; }
.night .lead { color: var(--night-ink); }
p { text-wrap: pretty; }
.measure { max-width: 60ch; }
em { font-style: normal; color: var(--blue); font-weight: 400; }
.night em { color: var(--glacier); }

/* l'étiquette de section : un repère de carte (triangle géodésique) + un libellé */
.mark {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 var(--t-label)/1.2 var(--f-text); letter-spacing: .01em; color: var(--muted);
  margin-bottom: 20px;
}
.mark::before {
  content: ""; width: 11px; height: 10px; flex: none;
  background: var(--peak);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.night .mark { color: var(--night-muted); }

/* ---------- boutons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 24px;
  border-radius: 999px;
  font: 600 16px/1.1 var(--f-text); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .12s var(--ease), color .12s var(--ease), border-color .12s var(--ease), transform .09s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #1F3A52; }
.night .btn--primary, .foot .btn--primary { background: #fff; color: var(--ink); }
.night .btn--primary:hover, .foot .btn--primary:hover { background: var(--stone-2); }
.btn--secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--secondary:hover { background: var(--ink); color: #fff; }
.night .btn--secondary { color: var(--night-ink); border-color: rgba(238, 241, 237, .35); }
.night .btn--secondary:hover { background: #fff; color: var(--ink); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 15px; }
.btn--xl { --h: 64px; padding: 0 32px; font-size: 18px; }
.btn .arw { width: 18px; height: 12px; flex: none; overflow: visible; }
.btn .arw path { transition: transform .15s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn:hover .arw .head { transform: translateX(3px); }
  .btn:hover .arw .stem { transform: scaleX(1.18); }
}
.btn:active { transform: translateY(1px) scale(.985); }
.arw .stem { transform-origin: 0 50%; transform-box: fill-box; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  color: var(--flag); text-decoration: none; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .25s var(--ease);
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1px; }
.night .link { color: #F2935E; }
.prose a { color: var(--flag); text-underline-offset: 3px; }

/* ---------- en-tête ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 30;
  height: var(--nav);
  background: var(--snow);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo svg { width: 36px; height: 36px; }
.logo span { font: 600 19px/1 var(--f-text); letter-spacing: -.02em; }
.nav__links { display: flex; align-items: center; gap: 40px; margin-left: auto; margin-right: 16px; }
.nav__links a {
  text-decoration: none; font: 500 15px/1 var(--f-text); padding: 10px 0; position: relative; white-space: nowrap;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--flag);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .2s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__tel { color: var(--muted); }
.nav__cta { flex: none; }
.nav__toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer; place-items: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s var(--ease), background .2s;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1180px) { .nav__tel { display: none; } }
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; margin-left: auto; }
  .nav__cta { order: 3; }
  .nav .wrap { gap: 12px; }
}
@media (max-width: 639px) { .nav__cta { display: none; } .logo span { font-size: 17px; } }

.sheet {
  position: fixed; inset: var(--nav) 0 0; z-index: 29; background: var(--snow);
  padding: 24px var(--gut) 40px; display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.sheet.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sheet a:not(.btn) {
  display: flex; align-items: center; min-height: 60px; border-bottom: 1px solid var(--line);
  text-decoration: none; font: 600 26px/1.1 var(--f-display); letter-spacing: -.01em;
}
.sheet .btn { margin-top: 28px; width: 100%; }
.sheet__tel { margin-top: 16px; color: var(--muted); font-size: 15px; }
@media (min-width: 1100px) { .sheet { display: none; } }

main { display: block; }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); position: relative; }
.sec--stone { background: var(--stone); }
.night { background: var(--night); color: var(--night-ink); }
.sec__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: 56px; align-items: end; }
.sec__head > :first-child { grid-column: 1 / span 7; }
.sec__head > .sec__aside { grid-column: 9 / span 4; color: var(--muted); }
.night .sec__head > .sec__aside { color: var(--night-muted); }
@media (max-width: 1023px) {
  .sec__head { display: block; margin-bottom: 40px; }
  .sec__head > .sec__aside { margin-top: 16px; max-width: 60ch; }
}
.topo-bg { position: absolute; inset: 0; pointer-events: none; background: url(/assets/topo-dark.svg) center / cover no-repeat; }
.topo-light { position: absolute; inset: 0; pointer-events: none; background: url(/assets/topo-light.svg) center / cover no-repeat; }
.sec > .wrap, .hero > .wrap { position: relative; z-index: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--nav) + 48px);
  padding-bottom: 56px;
  display: flex;
}
.hero > .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: stretch; }
.hero__text { grid-column: 1 / span 6; display: flex; flex-direction: column; padding-top: 8px; }
.hero__text h1 { margin-bottom: 28px; max-width: 15ch; font-size: clamp(40px, 2.9vw + 26px, 68px); }
.hero__text .lead { margin-bottom: 36px; max-width: 34ch; }
.hero__note { font: 500 14px/1.3 var(--f-text); color: var(--muted); margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.hero__note::before { content: ""; width: 24px; height: 1px; background: var(--ink); }
.hero__facts {
  margin-top: auto; padding-top: 40px;
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 40px;
  font-size: var(--t-small); color: var(--muted);
}
.hero__facts li { display: flex; flex-direction: column; gap: 2px; }
.hero__facts b { font: 600 22px/1.15 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.hero__map { grid-column: 7 / span 6; position: relative; }
@media (max-width: 1023px) {
  .hero { min-height: 0; padding-top: calc(var(--nav) + 40px); }
  .hero__text, .hero__map { grid-column: 1 / -1; }
  .hero__text h1 { max-width: 16ch; }
  .hero__facts { margin-top: 40px; padding-top: 0; }
  .hero__map { margin-top: 24px; }
}
@media (max-width: 639px) {
  .hero__facts { grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .hero .btns .btn { width: 100%; }
}

/* sous-pages : hero plus court */
.hero--page { min-height: min(100svh, 860px); }

/* ---------- la carte d'itinéraire ---------- */
.route {
  position: relative; height: 100%; min-height: 560px;
  border-radius: var(--r-lg); overflow: hidden; background: var(--night);
  color: var(--night-ink);
  isolation: isolate;
}
.route svg.route__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.route__legend {
  position: absolute; left: 24px; bottom: 20px; right: 24px; z-index: 2;
  display: flex; justify-content: space-between; gap: 16px;
  font: 500 var(--t-label)/1.3 var(--f-text); color: var(--night-muted);
}
.route__pin {
  position: absolute; z-index: 2;
  transform: translate(22px, -50%);
  width: max-content; max-width: 220px;
  font-size: 14px; line-height: 1.35;
}
.route__pin--left { transform: translate(calc(-100% - 22px), -50%); text-align: right; }
.route__pin b { display: block; font: 500 var(--t-label)/1.3 var(--f-text); color: var(--glacier); margin-bottom: 2px; }
.route__pin span { display: block; color: var(--night-ink); }
.route__pin--summit { transform: translate(calc(-100% - 18px), -50%); text-align: right; }
.route__pin--summit b { color: #F2935E; }
.route__pin--summit span { font: 600 20px/1.15 var(--f-display); }
@media (max-width: 639px) {
  .route { min-height: 0; aspect-ratio: 4 / 5; }
  .route__pin { font-size: 12.5px; max-width: 132px; }
  .route__pin b { font-size: 12px; }
  .route__pin--summit span { font-size: 16px; }
  .route__legend { left: 16px; right: 16px; bottom: 12px; font-size: 12px; }
  .route__legend span:last-child { display: none; }
}

/* dessin de l'itinéraire au chargement */
.route .trail-mask { stroke-dasharray: 1; stroke-dashoffset: 0; }
.route .wp, .route .flag, .route__pin { transition: opacity .5s var(--ease-enter), transform .5s var(--ease-enter); }
html.js-enter .hero .route .trail-mask { stroke-dashoffset: 1; }
html.js-enter .hero .route .wp, html.js-enter .hero .route .flag { opacity: 0; }
html.js-enter .hero .route__pin { opacity: 0; }
html.is-entered .hero .route .trail-mask { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.45, .05, .25, 1) .25s; }
html.is-entered .hero .route .wp, html.is-entered .hero .route .flag, html.is-entered .hero .route__pin { opacity: 1; }
html.is-entered .hero [data-step="1"] { transition-delay: .55s; }
html.is-entered .hero [data-step="2"] { transition-delay: .95s; }
html.is-entered .hero [data-step="3"] { transition-delay: 1.35s; }
html.is-entered .hero [data-step="4"] { transition-delay: 1.85s; }
.flag-cloth { transform-origin: 0 50%; transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) {
  html.is-entered .hero .flag-cloth { animation: wave 2.6s ease-in-out 2.1s 2; }
}
@keyframes wave { 0%, 100% { transform: skewY(0) scaleX(1); } 50% { transform: skewY(-6deg) scaleX(.92); } }

/* entrée du hero : le texte monte une fois */
html.js-enter .hero [data-in] { opacity: 0; transform: translateY(14px); }
html.is-entered .hero [data-in] { opacity: 1; transform: none; transition: opacity .7s var(--ease-enter), transform .7s var(--ease-enter); }
html.is-entered .hero [data-in="2"] { transition-delay: .08s; }
html.is-entered .hero [data-in="3"] { transition-delay: .16s; }
html.is-entered .hero [data-in="4"] { transition-delay: .24s; }
html.is-entered .hero [data-in="5"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; transition-delay: 0s !important; }
}

/* ---------- choisir sa formule ---------- */
.picker { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.picker__list { grid-column: 1 / span 5; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 14px;
  min-height: 64px; padding: 14px 4px; border-bottom: 1px solid var(--line);
  cursor: pointer; font-weight: 500; line-height: 1.35;
  transition: color .15s var(--ease), padding .2s var(--ease);
}
.choice label .alt { font: 400 14px/1 var(--f-text); color: var(--muted); }
.choice .dot { width: 18px; height: 18px; border: 1.5px solid var(--line-strong); border-radius: 50%; position: relative; transition: border-color .15s; }
.choice .dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--flag); transform: scale(0); transition: transform .2s var(--ease); }
.choice label:hover { color: var(--flag); }
@media (hover: hover) { .choice label:hover { padding-left: 10px; } }
.choice input:checked + label { color: var(--ink); }
.choice input:checked + label .dot { border-color: var(--flag); }
.choice input:checked + label .dot::after { transform: scale(1); }
.choice input:focus-visible + label { outline: 2px solid var(--flag); outline-offset: 2px; }

.picker__panel { grid-column: 7 / span 6; }
.offer {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 40px; display: none;
}
.offer.is-on { display: block; animation: rise .45s var(--ease-enter) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.offer__top { display: flex; justify-content: space-between; gap: 24px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.offer__kicker { font: 500 var(--t-label)/1 var(--f-text); color: var(--flag); margin-bottom: 12px; }
.offer h3 { font-size: clamp(26px, 1vw + 20px, 34px); margin-bottom: 10px; }
.offer__pitch { color: var(--muted); max-width: 36ch; }
.price { text-align: right; flex: none; }
.price b { display: block; font: 600 clamp(32px, 1.2vw + 24px, 44px)/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.price s { color: var(--muted); font-size: 15px; display: block; margin-bottom: 4px; }
.price small { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; }
.ticks { display: grid; gap: 12px; margin-bottom: 28px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.ticks li::before {
  content: ""; width: 14px; height: 14px; margin-top: 6px;
  border: 1.5px solid var(--flag); border-radius: 50%;
  background: radial-gradient(circle, var(--flag) 0 3px, transparent 3.5px);
}
.offer__note { font-size: var(--t-small); color: var(--muted); margin-bottom: 28px; padding: 14px 16px; background: var(--snow); border-radius: var(--r-md); }
@media (max-width: 1023px) {
  .picker__list, .picker__panel { grid-column: 1 / -1; }
  .picker__panel { margin-top: 24px; }
}
@media (max-width: 639px) {
  .offer { padding: 24px; }
  .offer__top { flex-direction: column; }
  .price { text-align: left; }
  .offer .btn { width: 100%; }
}

/* ---------- pour qui : cartes liées ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tile {
  background: var(--snow); padding: 28px 24px 24px; min-height: 230px;
  display: flex; flex-direction: column; text-decoration: none; position: relative;
  transition: background-color .2s var(--ease);
}
.tile__n { font: 500 var(--t-label)/1 var(--f-text); color: var(--muted); margin-bottom: auto; padding-bottom: 32px; display: flex; justify-content: space-between; }
.tile__n svg { width: 34px; height: 22px; color: var(--glacier); transition: color .2s var(--ease), transform .3s var(--ease); }
.tile h3 { font-size: 23px; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: var(--t-small); line-height: 1.5; margin-bottom: 20px; }
.tile .go { font-weight: 500; font-size: 15px; color: var(--flag); display: inline-flex; gap: 8px; align-items: center; }
.tile .go .arw { width: 16px; height: 10px; }
.tile:hover { background: #fff; }
.tile:hover .tile__n svg { color: var(--flag); transform: translateY(-2px); }
@media (hover: hover) { .tile:hover .go .arw .head { transform: translateX(3px); } }
.tile .arw path { transition: transform .15s var(--ease); }
@media (max-width: 1023px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 539px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; } .tile__n { padding-bottom: 20px; } }

/* ---------- le profil d'ascension (étapes) ---------- */
.ascent { position: relative; }
.ascent__art { width: 100%; height: auto; overflow: visible; }
.ascent__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.ascent__step { padding-top: 24px; border-top: 1px solid var(--line-strong); }
.night .ascent__step { border-color: rgba(238, 241, 237, .22); }
.ascent__step .k { display: flex; gap: 12px; align-items: baseline; font: 500 var(--t-label)/1 var(--f-text); color: var(--muted); margin-bottom: 14px; }
.night .ascent__step .k { color: var(--night-muted); }
.ascent__step .k b { font: 600 34px/1 var(--f-display); color: var(--flag); letter-spacing: -.02em; }
.night .ascent__step .k b { color: #F2935E; }
.ascent__step h3 { margin-bottom: 10px; }
.ascent__step p { color: var(--muted); max-width: 34ch; }
.night .ascent__step p { color: var(--night-muted); }
@media (max-width: 767px) {
  .ascent__steps { grid-template-columns: 1fr; gap: 32px; }
  .ascent__art { display: none; }
}

/* ---------- tarifs ---------- */
.rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rates__col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.rates__col h3 { font-size: 24px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.badge { font: 500 12.5px/1 var(--f-text); color: var(--flag); border: 1px solid currentColor; border-radius: 99px; padding: 6px 10px; letter-spacing: .01em; white-space: nowrap; }
.rows li { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows li span:first-child { flex: 0 1 auto; }
.rows li::after { content: none; }
.rows .lead-dots { flex: 1 1 24px; border-bottom: 1px dotted var(--line-strong); transform: translateY(-5px); min-width: 16px; }
.rows li b { font-weight: 500; white-space: nowrap; }
.rates__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; margin-top: 40px; color: var(--muted); }
@media (max-width: 1023px) { .rates { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .rates__col { padding: 24px; } }

/* ---------- bande nuit : à propos ---------- */
.about { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.about__quote { grid-column: 1 / span 7; }
.about__quote .h2 { font-size: clamp(32px, 2.3vw + 22px, 60px); line-height: 1.04; margin-bottom: 40px; }
.about__quote p.story { max-width: 52ch; color: var(--night-muted); font-size: 18px; }
.about__quote p.story + p { margin-top: 20px; }
.about__sig { margin-top: 32px; display: flex; gap: 16px; align-items: center; font-size: var(--t-small); color: var(--night-muted); }
.about__sig b { color: var(--night-ink); font-weight: 500; display: block; font-size: 16px; }
.about__mono { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--night-2); border: 1px solid rgba(238, 241, 237, .18); font: 600 22px/1 var(--f-display); flex: none; }
.about__facts { grid-column: 9 / span 4; align-self: end; display: grid; gap: 0; border-top: 1px solid rgba(238, 241, 237, .2); }
.about__facts li { padding: 22px 0; border-bottom: 1px solid rgba(238, 241, 237, .2); }
.about__facts b { display: block; font: 600 30px/1.1 var(--f-display); letter-spacing: -.015em; margin-bottom: 6px; }
.about__facts span { color: var(--night-muted); font-size: var(--t-small); }
@media (max-width: 1023px) {
  .about__quote, .about__facts { grid-column: 1 / -1; }
  .about__facts { margin-top: 48px; }
}

/* ---------- appel au test ---------- */
.quizband { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.quizband__text { grid-column: 1 / span 5; }
.quizband__text .h2 { margin-bottom: 20px; }
.quizband__text p { color: var(--muted); margin-bottom: 32px; max-width: 40ch; }
.quizband__art { grid-column: 7 / span 6; }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.level { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 18px 18px; }
.level svg { width: 100%; height: 72px; margin-bottom: 16px; }
.level b { display: block; font: 600 20px/1.15 var(--f-display); margin-bottom: 4px; }
.level span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 1023px) {
  .quizband__text, .quizband__art { grid-column: 1 / -1; }
  .quizband__art { margin-top: 24px; }
}
@media (max-width: 539px) { .levels { grid-template-columns: 1fr; } .level { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; } .level svg { margin: 0; height: 56px; } }

/* ---------- questions ---------- */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--line); }
.faq__item { padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: 22px; margin-bottom: 12px; }
.faq__item p { color: var(--muted); max-width: 54ch; }
@media (max-width: 899px) { .faq { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.contact__text { grid-column: 1 / span 5; }
.contact__text .h2 { margin-bottom: 20px; }
.contact__text > p { color: var(--muted); margin-bottom: 32px; max-width: 42ch; }
.ways { border-top: 1px solid var(--line); }
.ways a {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.ways a svg.ic { width: 22px; height: 22px; color: var(--flag); }
.ways b { display: block; font-weight: 500; }
.ways small { color: var(--muted); font-size: 14px; }
.ways .arw { width: 18px; height: 12px; color: var(--muted); transition: color .15s; }
.ways a:hover .arw { color: var(--flag); }
@media (hover: hover) { .ways a:hover .arw .head { transform: translateX(3px); } }
.ways .arw path { transition: transform .15s var(--ease); }
.contact__where { margin-top: 24px; font-size: var(--t-small); color: var(--muted); }
.contact__form { grid-column: 7 / span 6; }
@media (max-width: 1023px) {
  .contact__text, .contact__form { grid-column: 1 / -1; }
  .contact__form { margin-top: 32px; }
}

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; display: grid; gap: 20px; }
.form h3 { font-size: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--snow);
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--flag); background: #fff; box-shadow: 0 0 0 3px rgba(181, 78, 27, .18); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field__error { color: #B3261E; font-size: 14px; min-height: 0; }
.field__error:empty { display: none; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--muted); align-items: start; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--flag); }
.consent a { color: var(--ink); }
.form .btn { justify-self: start; }
.form__status { font-size: 15px; min-height: 1.4em; }
.form__status.is-ok { color: #23663A; font-weight: 500; }
.form__status.is-err { color: #B3261E; }
.form__hp { position: absolute; left: -9999px; }
@media (max-width: 639px) { .form { padding: 24px; } .form__row { grid-template-columns: 1fr; } .form .btn { width: 100%; } }

/* ---------- pied de page ---------- */
.foot { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.foot__close { padding-block: var(--sec) 72px; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.foot__close .h2 { grid-column: 1 / span 8; font-size: clamp(36px, 3.2vw + 22px, 76px); line-height: 1.02; }
.foot__close p { grid-column: 1 / span 6; color: var(--night-muted); font-size: 18px; }
.foot__close .btns { grid-column: 9 / span 4; justify-content: flex-end; grid-row: 1 / span 2; align-self: end; }
.foot__ridge { display: block; width: 100%; height: auto; color: var(--night-2); position: relative; z-index: 0; margin-top: -40px; }
.foot__links { background: var(--night-2); position: relative; z-index: 1; padding-block: 56px 32px; }
.foot__cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding-bottom: 48px; }
.foot__brand { grid-column: 1 / span 4; }
.foot__brand p { color: var(--night-muted); font-size: var(--t-small); margin-top: 16px; max-width: 34ch; }
.foot__col { grid-column: span 2; }
.foot__col:nth-of-type(2) { grid-column: 6 / span 2; }
.foot__col.wide { grid-column: span 3; }
.foot__col h3 { font: 500 var(--t-label)/1.2 var(--f-text); color: var(--night-muted); margin-bottom: 14px; letter-spacing: .01em; }
.foot__col li a { display: inline-block; padding: 6px 0; text-decoration: none; font-size: 15px; color: var(--night-ink); }
.foot__col li a:hover { color: #F2935E; }
.foot__legal { border-top: 1px solid rgba(238, 241, 237, .14); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13.5px; color: var(--night-muted); }
.foot__legal a { color: var(--night-muted); }
.foot .logo span { color: var(--night-ink); }
@media (max-width: 1023px) {
  .foot__close .h2, .foot__close p, .foot__close .btns { grid-column: 1 / -1; grid-row: auto; }
  .foot__close .btns { justify-content: flex-start; margin-top: 12px; }
  .foot__brand { grid-column: 1 / -1; margin-bottom: 16px; }
  .foot__col, .foot__col:nth-of-type(2), .foot__col.wide { grid-column: span 4; }
}
@media (max-width: 639px) {
  .foot__col, .foot__col:nth-of-type(2), .foot__col.wide { grid-column: span 6; }
  .foot__col.wide { grid-column: 1 / -1; }
  .foot__close .btns .btn { width: 100%; }
}

/* ---------- sous-pages ---------- */
.pains { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.pains__head { grid-column: 1 / span 5; }
.pains__head .h2 { margin-bottom: 20px; }
.pains__head p { color: var(--muted); max-width: 36ch; }
.pains > div:last-child { grid-column: 7 / span 6; }
.pains__list { border-top: 1px solid var(--line); }
.pain { position: relative; }
.pain input { position: absolute; opacity: 0; pointer-events: none; }
.pain label { display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start; padding: 20px 4px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 18px; line-height: 1.45; transition: color .15s; }
.pain .box { width: 22px; height: 22px; margin-top: 2px; border: 1.5px solid var(--line-strong); border-radius: 5px; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.pain .box svg { width: 12px; height: 12px; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease); }
.pain input:checked + label .box { background: var(--flag); border-color: var(--flag); }
.pain input:checked + label .box svg { opacity: 1; transform: none; }
.pain label:hover { color: var(--flag); }
.pain input:focus-visible + label { outline: 2px solid var(--flag); outline-offset: 2px; }
.pains__out { margin-top: 24px; font-size: 16px; color: var(--muted); min-height: 3.2em; }
.pains__out b { color: var(--ink); font-weight: 500; }
@media (max-width: 1023px) { .pains__head, .pains > div:last-child { grid-column: 1 / -1; } .pains__list { margin-top: 32px; } }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px;
  display: flex; flex-direction: column; text-decoration: none;
  transition: transform .25s var(--ease), border-color .2s var(--ease), box-shadow .25s var(--ease);
}
a.card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 14px 30px -18px rgba(21, 32, 43, .35); }
.card h3 { font-size: 23px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: var(--t-small); line-height: 1.55; }
.card .price-line { font: 600 30px/1 var(--f-display); letter-spacing: -.015em; margin-top: auto; padding-top: 28px; }
.card .go { margin-top: 16px; font-weight: 500; color: var(--flag); font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.card .go .arw { width: 16px; height: 10px; }
.card .arw path { transition: transform .15s var(--ease); }
@media (hover: hover) { a.card:hover .arw .head { transform: translateX(3px); } }
.night .card { background: var(--night-2); border-color: rgba(238, 241, 237, .14); color: var(--night-ink); }
.night .card p { color: var(--night-muted); }
@media (max-width: 1023px) { .cards3 { grid-template-columns: 1fr; } .card .price-line { padding-top: 20px; } }

.missions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mission h3 { font-size: 22px; }
.mission[hidden] { display: none; }
.mission__tag { font: 500 var(--t-label)/1 var(--f-text); color: var(--muted); margin-bottom: 18px; display: flex; justify-content: space-between; gap: 12px; }
.mission__tag em { font-family: var(--f-text); font-style: normal; color: var(--flag); }
.mission .price-line s { font-size: 17px; color: var(--muted); font-family: var(--f-text); margin-left: 8px; }
@media (max-width: 1023px) { .missions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .missions { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button {
  min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-strong); background: transparent;
  font-size: 15px; font-weight: 500; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--snow); border-color: var(--ink); }

.plan2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; display: flex; flex-direction: column; }
.plan--dark { background: var(--night); color: var(--night-ink); border-color: var(--night); position: relative; overflow: hidden; }
.plan--dark .topo-bg { opacity: .9; }
.plan > * { position: relative; }
.plan__k { font: 500 var(--t-label)/1 var(--f-text); color: var(--muted); margin-bottom: 18px; }
.plan--dark .plan__k { color: #F2935E; }
.plan h3 { font-size: clamp(26px, 1vw + 20px, 34px); margin-bottom: 8px; }
.plan .big { font: 600 clamp(36px, 1.6vw + 26px, 52px)/1 var(--f-display); letter-spacing: -.02em; margin: 20px 0 6px; }
.plan .big small { font: 400 17px/1 var(--f-text); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan--dark .big small, .plan--dark .sub { color: var(--night-muted); }
.plan .sub { color: var(--muted); font-size: var(--t-small); margin-bottom: 28px; }
.plan .ticks { margin-bottom: 32px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 1023px) { .plan2 { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .plan { padding: 28px 24px; } .plan .btn { width: 100%; } }

.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: f; }
.flow__col { border-top: 2px solid var(--ink); padding-top: 24px; }
.flow__col:nth-child(3) { border-color: var(--flag); }
.flow__col h3 { font-size: 22px; margin-bottom: 18px; }
.flow__col li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.flow__col .big { font: 600 64px/1 var(--f-display); letter-spacing: -.03em; }
.flow__col .sub { color: var(--muted); margin: 8px 0 24px; }
@media (max-width: 1023px) { .flow { grid-template-columns: 1fr; gap: 40px; } }

.facts4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 32px; }
.facts4 b { display: block; font: 600 21px/1.2 var(--f-display); margin-bottom: 6px; }
.facts4 span { color: var(--muted); font-size: var(--t-small); }
@media (max-width: 1023px) { .facts4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 539px) { .facts4 { grid-template-columns: 1fr; } }

.towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.towns li { border: 1px solid var(--line-strong); border-radius: 99px; padding: 8px 14px; font-size: 15px; }
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.split__text { grid-column: 1 / span 5; }
.split__text .h2 { margin-bottom: 20px; }
.split__text > p { color: var(--muted); max-width: 44ch; }
.split__art { grid-column: 7 / span 6; }
@media (max-width: 1023px) { .split__text, .split__art { grid-column: 1 / -1; } .split__art { margin-top: 32px; } }
.topo-card { border-radius: var(--r-lg); overflow: hidden; background: var(--stone); position: relative; aspect-ratio: 6 / 5; }
.topo-card svg { width: 100%; height: 100%; }

.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 99px; padding: 4px; gap: 4px; margin-bottom: 32px; flex-wrap: wrap; }
.seg button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 99px; background: transparent; font-weight: 500; font-size: 15px; cursor: pointer; transition: background .15s, color .15s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--snow); }
.aud[hidden] { display: none; }

.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(26px, 1vw + 20px, 34px); margin: 56px 0 16px; }
.prose h3 { font-size: 22px; margin: 32px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose dl { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--line); }
.prose dt, .prose dd { padding: 12px 0; border-bottom: 1px solid var(--line); }
.prose dt { color: var(--muted); }
@media (max-width: 639px) { .prose dl { grid-template-columns: 1fr; } .prose dt { border-bottom: 0; padding-bottom: 0; } }
.toc { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; }

.article-card { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; text-decoration: none; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); align-items: center; }
.article-card .n { grid-column: 1 / span 2; font: 600 96px/1 var(--f-display); color: var(--flag); letter-spacing: -.04em; }
.article-card .body { grid-column: 3 / span 8; }
.article-card .body small { color: var(--muted); font-size: 14px; display: block; margin-bottom: 10px; }
.article-card .body h2 { font-size: clamp(26px, 1.2vw + 20px, 38px); margin-bottom: 12px; transition: color .15s; }
.article-card .body p { color: var(--muted); max-width: 60ch; }
.article-card .go { grid-column: 11 / span 2; justify-self: end; color: var(--flag); font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.article-card .go .arw { width: 18px; height: 12px; }
.article-card .arw path { transition: transform .15s var(--ease); }
.article-card:hover h2 { color: var(--flag); }
@media (hover: hover) { .article-card:hover .arw .head { transform: translateX(3px); } }
@media (max-width: 767px) { .article-card { display: block; } .article-card .n { font-size: 64px; margin-bottom: 16px; } .article-card .go { margin-top: 16px; } }

/* ---------- test ---------- */
.quiz { max-width: 820px; }
.quiz__bar { height: 4px; background: var(--stone-2); border-radius: 4px; overflow: hidden; margin-bottom: 28px; }
.quiz__bar i { display: block; height: 100%; background: var(--flag); width: 0; transition: width .35s var(--ease); }
.quiz__meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.quiz__q { font-size: clamp(26px, 1.4vw + 20px, 40px); margin-bottom: 32px; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opts button {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; text-align: left;
  min-height: 64px; padding: 12px 18px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: #fff;
  font-size: 17px; cursor: pointer; transition: border-color .15s, transform .15s var(--ease), background .15s;
}
.quiz__opts button span.k { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--stone); font-weight: 500; font-size: 14px; transition: background .15s, color .15s; }
.quiz__opts button:hover { border-color: var(--flag); }
@media (hover: hover) { .quiz__opts button:hover { transform: translateX(4px); } }
.quiz__opts button:hover span.k { background: var(--flag); color: #fff; }
.quiz__back { margin-top: 24px; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 10px 0; min-height: 44px; font-size: 15px; }
.quiz__back:hover { color: var(--ink); }
.quiz__intro .facts4 { margin: 40px 0; }
.result__profile { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: 48px; }
.result__profile > div:first-child { grid-column: 1 / span 6; }
.result__profile > div:last-child { grid-column: 7 / span 6; }
.result__profile h2 { margin: 6px 0 16px; }
.result__profile p { color: var(--muted); }
.axes { display: grid; gap: 14px; }
.axes li { display: grid; grid-template-columns: 150px 1fr 40px; gap: 16px; align-items: center; font-size: 15px; }
.axes .track { height: 8px; background: var(--stone-2); border-radius: 8px; overflow: hidden; }
.axes .track i { display: block; height: 100%; background: var(--ink); border-radius: 8px; transition: width .8s var(--ease-enter); }
.axes li.weak .track i { background: var(--flag); }
.axes b { font-weight: 500; text-align: right; }
@media (max-width: 1023px) { .result__profile > div:first-child, .result__profile > div:last-child { grid-column: 1 / -1; } }
@media (max-width: 539px) { .axes li { grid-template-columns: 110px 1fr 34px; gap: 10px; } }

.notfound { min-height: 100svh; display: grid; place-items: center; text-align: left; padding: calc(var(--nav) + 40px) 0 60px; }

/* ================= Panorama (hero) ================= */
.hero--pano { display: flex; flex-direction: column; min-height: 100svh; padding-top: calc(var(--nav) + 40px); padding-bottom: 0; background: linear-gradient(var(--snow) 55%, var(--stone)); overflow: hidden; }
.topo-sky { opacity: .55; -webkit-mask-image: linear-gradient(#000 0 40%, transparent 80%); mask-image: linear-gradient(#000 0 40%, transparent 80%); }
.hero__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; position: relative; z-index: 2; }
.hero__tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.hero__tags span { display: inline-flex; gap: 8px; align-items: center; }
.hero__tags span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--peak); }
.hero--pano h1 { grid-column: 1 / span 8; max-width: 19ch; font-size: clamp(40px, 3.6vw + 14px, 76px); }
.hero__side { grid-column: 9 / span 4; align-self: end; display: flex; flex-direction: column; gap: 24px; }
.hero__side p { color: var(--muted); font-size: 18px; line-height: 1.55; }
@media (max-width: 1023px) { .hero--pano h1, .hero__side { grid-column: 1 / -1; } .hero__side { margin-top: 8px; } .hero--pano { min-height: 0; } }
@media (max-width: 639px) { .hero__side .btn { width: 100%; } }
.pano-wrap { position: relative; margin-top: auto; padding-top: 24px; }
.pano { display: block; width: 100%; height: auto; overflow: visible; }
.pl { transition: transform .9s var(--ease); }
.pm { cursor: pointer; }
.pm__halo { fill: #fff; fill-opacity: 0; transition: fill-opacity .2s, transform .25s var(--ease); transform: scale(.6); }
.pm__dot { fill: #fff; stroke: #0E2233; stroke-width: 2; transition: fill .2s, transform .25s var(--ease); }
.pm[data-i="0"] .pm__dot { stroke: #fff; fill: #0E2233; }
.pm__k { font: 600 13px var(--f-text); fill: #0E2233; paint-order: stroke; stroke: var(--snow); stroke-width: 4px; stroke-linejoin: round; opacity: .85; transition: opacity .2s; }
.pm[data-i="0"] .pm__k { fill: #fff; stroke: #0E2233; }
.pm:hover .pm__halo, .pm.is-on .pm__halo { fill-opacity: .35; transform: scale(1); }
.pm:hover .pm__dot, .pm.is-on .pm__dot { transform: scale(1.25); }
.pm.is-on .pm__dot { fill: var(--peak); stroke: #fff; }
.pm.is-on .pm__k, .pm:hover .pm__k { opacity: 1; }
.pm--sum .pm__k { fill: var(--peak); }
.pm__flag { transform-box: fill-box; transform-origin: 0 50%; }
.pm--sum.is-on .pm__flag { animation: flag 1.6s ease-in-out infinite; }
@keyframes flag { 50% { transform: skewY(-8deg) scaleX(.9); } }
.pcard { position: absolute; z-index: 3; width: 330px; background: #fff; border-radius: 18px; padding: 22px 22px 18px; box-shadow: 0 22px 50px -24px rgba(14, 34, 51, .45), 0 0 0 1px rgba(14, 34, 51, .08); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .35s var(--ease), left .45s var(--ease), top .45s var(--ease); pointer-events: none; }
.pcard.is-on { opacity: 1; transform: none; pointer-events: auto; }
.pcard__k { font: 600 13px var(--f-text); color: var(--flag); margin-bottom: 6px; }
.pcard__t { font: 600 23px/1.15 var(--f-text); letter-spacing: -.02em; margin-bottom: 8px; }
.pcard__d { color: var(--muted); font-size: 15px; line-height: 1.5; margin-bottom: 14px; }
.pcard__f { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.pcard__p { font-weight: 700; font-size: 17px; }
.pcard__a { color: var(--flag); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.pcard__a:hover { text-decoration: underline; }
.stepbar { background: #0E2233; color: #fff; position: relative; z-index: 2; margin-top: -2px; }
.stepbar .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 10px 0 14px; }
.stepbar button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 2px; padding: 12px 4px 4px; border-top: 2px solid rgba(255, 255, 255, .18); font: 500 15px/1.3 var(--f-text); color: #C9D6E0; transition: color .2s, border-color .2s; min-height: 44px; }
.stepbar button span { font: 600 12.5px var(--f-text); color: #8FA5B6; }
.stepbar button:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }
.stepbar button[aria-pressed="true"] { color: #fff; border-color: var(--peak); }
.stepbar button[aria-pressed="true"] span { color: #F08A5D; }
.stepbar button.is-done { border-color: rgba(200, 85, 42, .55); }
.stepbar button:focus-visible { outline: 2px solid #F08A5D; outline-offset: 4px; border-radius: 2px; }
@media (max-width: 899px) {
  .pcard { position: relative; left: auto !important; top: auto !important; width: auto; transform: none; opacity: 1; pointer-events: auto; box-shadow: none; border: 1px solid var(--line); }
  .pano-wrap { display: flex; flex-direction: column; } .pano { order: 1; min-height: 230px; } .stepbar { order: 2; } .pcard { order: 3; margin: 16px var(--gut) 24px; }
  .stepbar .wrap { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .stepbar button { font-size: 0; gap: 0; align-items: center; } .stepbar button span { font-size: 12px; text-align: center; }
  .pm__k { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pl, .pcard { transition: none; } .pm--sum.is-on .pm__flag { animation: none; } }

/* ================= Bande de repères ================= */
.band { background: var(--ink); color: #fff; }
.band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px 0; }
.band b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.band span { color: var(--night-muted); font-size: 15px; }
@media (max-width: 767px) { .band .wrap { grid-template-columns: 1fr 1fr; } .band b { font-size: 24px; } }

/* ================= Profils ================= */
.prof { display: grid; grid-template-columns: 4fr 8fr; gap: 24px; align-items: start; }
.prof__tabs { display: flex; flex-direction: column; gap: 8px; }
.prof__tabs input { position: absolute; opacity: 0; pointer-events: none; }
.prof__tabs label { display: flex; flex-direction: column; gap: 2px; padding: 18px 22px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color .15s, background .15s, transform .2s; }
.prof__tabs label b { font-size: 20px; letter-spacing: -.02em; font-weight: 600; }
.prof__tabs label span { font-size: 14px; color: var(--muted); }
.prof__tabs label:hover { border-color: var(--ink); }
@media (hover: hover) { .prof__tabs label:hover { transform: translateX(4px); } }
.prof__tabs input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.prof__tabs input:checked + label span { color: var(--night-muted); }
.prof__tabs input:focus-visible + label { outline: 2px solid var(--flag); outline-offset: 2px; }
.pp { background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; animation: rise .4s var(--ease); }
.pp__top { display: grid; grid-template-columns: 1fr 1fr; }
.pp__col { padding: 36px; }
.pp__col + .pp__col { border-left: 1px solid var(--line); }
.pp h3 { font: 600 14px var(--f-text); letter-spacing: 0; color: var(--flag); margin-bottom: 16px; }
.pp__offer { background: var(--stone); padding: 28px 36px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.pp__offer b { display: block; font-size: 22px; letter-spacing: -.02em; }
.pp__offer .pr { font-size: 34px; font-weight: 700; letter-spacing: -.04em; }
.pp__offer small { color: var(--muted); font-size: 14px; display: block; }
.pp__offer .acts { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
@media (max-width: 899px) {
  .prof { grid-template-columns: 1fr; } .prof__tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .pp__top { grid-template-columns: 1fr; } .pp__col + .pp__col { border-left: 0; border-top: 1px solid var(--line); }
  .pp__col, .pp__offer { padding: 24px; }
}
@media (max-width: 639px) { .pp__offer .btn { width: 100%; } }

/* ================= Barre de réservation mobile ================= */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: none; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: var(--snow); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
.actionbar.is-on { transform: none; }
.actionbar .btn { flex: 1; min-height: 50px; }
.actionbar .actionbar__tel { flex: 0 0 54px; padding: 0; }
.actionbar__tel svg { width: 22px; height: 22px; }
@media (max-width: 899px) { .actionbar { display: flex; } body { padding-bottom: 72px; } }

/* ================= Retouches du thème Panorama ================= */
.tile h3, .card h3, .faq__item h3 { letter-spacing: -.025em; }
.tiles { border-radius: 24px; }
.offer, .rates__col, .form, .card, .plan { border-radius: 24px; }
.route { border-radius: 24px; }
.sec--stone .topo-light, .sec .topo-light { opacity: 1; }
.about__mono { font-weight: 600; }
.faq__item h3 { font-size: 20px; }
.price b, .plan .big, .card .price-line, .flow__col .big { font-weight: 700; letter-spacing: -.04em; }
.offer__kicker, .plan__k { color: var(--flag); font-weight: 600; }
.ticks li::before { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 0 3px, transparent 3.5px); }
.filters button[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--ink); }
.pano-wrap { overflow-x: clip; }
@media (max-width: 1023px) { .quiz__intro .split__text, .quiz__intro .split__art { grid-column: 1 / -1 !important; } }
@media (max-width: 1023px) {
  .pains, .split, .contact, .about, .quizband, .picker, .hero > .wrap, .hero__top, .foot__close, .result__profile { grid-template-columns: minmax(0, 1fr); }
  .pains > *, .split > *, .contact > *, .about > *, .quizband > *, .picker > *, .hero > .wrap > *, .hero__top > *, .foot__close > *, .result__profile > * { grid-column: 1 / -1 !important; min-width: 0; }
}

/* ================= Offres (refonte) ================= */
.ocs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.ocs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ocs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.oc { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.oc > * { position: relative; }
.oc--reco { border: 2px solid var(--ink); }
.oc--dark { background: var(--night); color: var(--night-ink); border-color: var(--night); }
.oc__k { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 600 14px var(--f-text); color: var(--flag); }
.oc--dark .oc__k { color: #F2935E; }
.oc--dark .badge { color: #F2935E; }
.oc h3 { font-size: clamp(22px, .8vw + 17px, 28px); line-height: 1.12; }
.oc__b { color: var(--muted); }
.oc--dark .oc__b, .oc--dark .oc__n, .oc--dark .oc__p span { color: var(--night-muted); }
.oc--dark .ticks li::before { border-color: var(--glacier); background: radial-gradient(circle, var(--glacier) 0 3px, transparent 3.5px); }
.oc .ticks { margin: 6px 0 4px; gap: 10px; }
.oc__p { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.oc--dark .oc__p { border-color: rgba(238, 241, 237, .16); }
.oc__p b { font-size: clamp(28px, 1vw + 22px, 38px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.oc__p span { color: var(--muted); font-size: 15px; }
.oc__n { font-size: 14.5px; color: var(--muted); }
.oc__a { margin-top: 6px; }
.oc__a .btn { width: 100%; }
.ocs--4 .oc { padding: 26px; }
.ocs--4 .oc h3 { font-size: 21px; }
.ocs__who { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 24px; color: var(--muted); font-size: 15px; }
.ocs__who b { color: var(--ink); font-weight: 600; }
@media (max-width: 1100px) { .ocs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .ocs { grid-template-columns: minmax(0, 1fr); } .ocs--2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .ocs--4 { grid-template-columns: minmax(0, 1fr); } .oc { padding: 24px; } }

.carte { border-top: 1px solid var(--line); }
.carte li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.carte__n { font: 600 14px var(--f-text); color: var(--flag); margin-bottom: 6px; }
.carte h3 { font-size: 22px; margin-bottom: 6px; }
.carte li p:not(.carte__n):not(.carte__p) { color: var(--muted); max-width: 70ch; }
.carte__p { font-size: 24px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
@media (max-width: 639px) { .carte li { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* ================= Crédibilité ================= */
.about__side { grid-column: 9 / span 4; align-self: end; }
@media (max-width: 1023px) { .about__side { grid-column: 1 / -1; margin-top: 40px; } }
.skills { border-top: 1px solid rgba(238, 241, 237, .2); }
.skills li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid rgba(238, 241, 237, .2); }
.skills span { font-size: 13.5px; color: var(--night-muted); font-weight: 500; }
.skills b { font-weight: 600; font-size: 17px; line-height: 1.4; }
.about__note { margin-top: 18px; font-size: 14.5px; color: var(--night-muted); }
.about__photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(238, 241, 237, .3); flex: none; }
.about__mono--todo { outline: 2px dashed #FFE58A; outline-offset: 3px; }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.case__c { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.case dl { display: grid; gap: 14px; }
.case dt { font: 600 13.5px var(--f-text); color: var(--flag); margin-bottom: 2px; }
.case dd { margin: 0; color: var(--muted); }
.case footer { color: var(--muted); font-size: 15px; }
@media (max-width: 1023px) { .cases { grid-template-columns: minmax(0, 1fr); } }
.deliv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.deliv__f { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.deliv__t { font-weight: 600; font-size: 19px; }
.deliv__f img, .deliv__ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.deliv__ph { display: grid; place-items: center; padding: 24px; text-align: center; }
.deliv__f figcaption { font-size: 14px; color: var(--muted); }
@media (max-width: 767px) { .deliv { grid-template-columns: minmax(0, 1fr); } }
.oc--dark .btn--primary { background: #fff; color: var(--ink); }
.oc--dark .btn--primary:hover { background: var(--stone-2); }
@media (max-width: 1023px) { .plan2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .plan .btn, .oc .btn { white-space: normal; text-align: center; } }

/* ================= Article ================= */
.article h2 { display: flex; gap: 14px; align-items: baseline; font-size: clamp(24px, 1vw + 18px, 32px); margin: 56px 0 14px; }
.article__n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: 16px; letter-spacing: 0; transform: translateY(-3px); }
.article p { font-size: 18px; line-height: 1.7; }
.article__tip { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--peak); border-radius: 12px; padding: 16px 20px; margin-top: 6px; }
.article__tip b { font-weight: 600; }
.article__cta { margin-top: 48px; background: var(--stone); border-radius: 24px; padding: 32px; display: grid; gap: 20px; }
@media (max-width: 639px) { .article__cta { padding: 24px; } .article__cta .btn { width: 100%; white-space: normal; } }
.article__crumb { font-size: 14px; color: var(--muted); margin-bottom: 20px; }

/* ================= Actualités ================= */
.newsgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.news { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; }
.news:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 14px 30px -18px rgba(14, 34, 51, .35); }
.news__meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 600 13.5px var(--f-text); color: var(--flag); }
.news__meta span + span { color: var(--muted); font-weight: 500; }
.news h2 { font-size: clamp(22px, .9vw + 17px, 28px); line-height: 1.15; }
.news p { color: var(--muted); }
.news .go { margin-top: auto; padding-top: 8px; color: var(--flag); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.news .go .arw { width: 16px; height: 10px; }
.news .arw path { transition: transform .15s var(--ease); }
@media (hover: hover) { .news:hover .arw .head { transform: translateX(3px); } }
@media (max-width: 899px) { .newsgrid { grid-template-columns: minmax(0, 1fr); } .news { padding: 24px; } }
.article__sum { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin-top: 32px; }
.article__sum .mark { margin-bottom: 10px; }
.article .ticks li { font-size: 17px; }
.art-table { overflow-x: auto; margin: 8px 0 16px; }
.art-table table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 460px; }
.art-table th, .art-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.art-table thead th { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.art-table tbody th { font-weight: 500; }
.art-table td { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.article__src ul { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 12px; }
.article__src li { font-size: 15px; }
.article__src a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 1279px) { .nav__links { gap: 32px; } }
@media (max-width: 1099px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; margin-left: auto; }
  .nav__cta { order: 3; }
  .nav .wrap { gap: 12px; }
  .sheet { display: flex; }
}
.cases--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1023px) { .cases--2 { grid-template-columns: minmax(0, 1fr); } }
.case__s { display: inline-flex; align-self: flex-start; font: 600 12.5px var(--f-text); color: var(--blue); background: var(--stone); border-radius: 99px; padding: 5px 12px; }

.hero__hint { font-size: 14px; color: var(--muted); margin-top: -8px; }

.ocs--1 { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.carte-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.carte__g { font-size: 20px; margin-bottom: 12px; }
.carte-groups .carte li { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 1023px) { .carte-groups { grid-template-columns: minmax(0, 1fr); } }
.quiz-form { margin-top: 32px; max-width: 820px; }
.whoami { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.whoami p { color: var(--muted); font-size: 15px; }
.whoami b { display: block; color: var(--ink); font-size: 20px; font-weight: 600; }
.about__mono--xl { width: 140px; height: 140px; font-size: 44px; background: var(--ink); color: #fff; border: 0; }
.about__photo--xl { width: 160px; height: 160px; }
@media (max-width: 899px) {
  .prof { grid-template-columns: minmax(0, 1fr); }
  .prof__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prof__tabs label { min-width: 0; padding: 14px 16px; }
  .prof__tabs label b { font-size: 17px; overflow-wrap: anywhere; }
}

/* qui suis-je : lien LinkedIn */
.whoami__in { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--line); padding-bottom: 2px; }
.whoami__in svg { width: 18px; height: 18px; color: #0A66C2; }
.whoami__in:hover { border-color: var(--ink); }
/* accueil : 5 profils, le dernier sur toute la largeur en mobile */
@media (max-width: 899px) { .prof__tabs label:last-of-type { grid-column: 1 / -1; } }

/* accueil : bloc micro-entrepreneurs */
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cards4 .card h3 { font-size: 21px; }
.night .mission__tag { color: var(--night-muted); }
.micro__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(238, 241, 237, .14); }
.micro__foot p { color: var(--night-muted); max-width: 52ch; }
.micro__foot b { color: var(--night-ink); font-weight: 600; }
@media (max-width: 1100px) { .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cards4 { grid-template-columns: minmax(0, 1fr); } }
