/* ==========================================================
   Himalaya Studio — feuille de style principale
   DA : haute montagne de nuit — bleu profond, neige, lueur dorée
   ========================================================== */

:root {
  --night: #0a1424;
  --night-2: #0f1c31;
  --night-3: #16263f;
  --snow: #f5f6f8;
  --white: #ffffff;
  --ice: #9fc3dd;
  /* Couleur d'accent : changez ces 3 lignes pour changer tout le site */
  --accent: #8cc8f2;       /* sur fond sombre */
  --accent-2: #2c7cc4;     /* sur fond clair */
  --accent-rgb: 140, 200, 242;
  --text: #0e1726;
  --muted: #5d6878;
  --muted-dark: #9aa6b8;
  --line: #e3e7ed;
  --line-dark: rgba(255, 255, 255, 0.09);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 23, 38, 0.04), 0 8px 24px rgba(14, 23, 38, 0.06);
  --shadow-lg: 0 2px 4px rgba(14, 23, 38, 0.04), 0 24px 48px rgba(14, 23, 38, 0.1);
  --max: 1200px;

  --font-title: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.035em;
  font-weight: 600;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.3; }
p { margin: 0 0 1em; }

/* Mot en italique à empattements, pour l'accent */
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.accent { color: var(--accent); }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(80px, 11vw, 140px); }
.section--white { background: var(--white); }
.section--dark { background: var(--night); color: var(--snow); position: relative; }

.grain { position: relative; isolation: isolate; }
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}
.grain > .container { position: relative; z-index: 2; }

.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; max-width: 600px; }
.section-head--center p { margin-inline: auto; }
.section--dark .section-head p { color: var(--muted-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow b {
  font-weight: 500;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
}
.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.cta .eyebrow { color: var(--muted-dark); }
.section--dark .eyebrow b,
.hero .eyebrow b,
.page-hero .eyebrow b,
.cta .eyebrow b { color: var(--accent); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.97rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Sur fond sombre */
.btn--primary { background: var(--snow); color: var(--night); }
.btn--primary:hover { background: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.22); color: var(--snow); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.6); }

/* Sur fond clair */
.btn--dark { background: var(--night); color: var(--snow); }
.btn--dark:hover { background: var(--night-3); }
.btn--outline { border-color: var(--line); color: var(--text); background: transparent; }
.btn--outline:hover { border-color: var(--text); }

/* ---------- En-tête ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
}
.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 78px;
  border-radius: 0;
  transition:
    max-width 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    height 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    margin 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    padding 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-radius 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Verre liquide (au défilement) ----------
   Le verre est porté par des pseudo-éléments : un backdrop-filter posé
   directement sur .header__inner casserait le menu mobile plein écran. */
.header__inner::before,
.header__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.45s ease, background 0.45s ease, box-shadow 0.45s ease;
}
/* Corps du verre : flou, saturation, teinte, ombre */
.header__inner::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(12, 22, 40, 0.42);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.14),
    inset 0 -1px 1px rgba(255, 255, 255, 0.04),
    0 12px 32px rgba(3, 8, 18, 0.28);
}
/* Reflet sur le contour (bord lumineux en dégradé) */
.header__inner::after {
  padding: 1px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.08) 32%,
    rgba(255, 255, 255, 0.02) 62%,
    rgba(255, 255, 255, 0.28)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.header.is-scrolled .header__inner,
.header--solid .header__inner {
  max-width: min(1100px, calc(100% - 32px));
  height: 60px;
  margin-top: 12px;
  padding-inline: 22px 8px;
  border-radius: 999px;
}
.header.is-scrolled .header__inner::before,
.header.is-scrolled .header__inner::after,
.header--solid .header__inner::before,
.header--solid .header__inner::after { opacity: 1; }

/* Verre clair quand la capsule passe au-dessus d'une section claire */
.header.on-light .header__inner::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.3)),
    rgba(245, 246, 248, 0.35);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 -1px 1px rgba(14, 23, 38, 0.04),
    0 12px 32px rgba(14, 23, 38, 0.12);
}
.header.on-light .header__inner::after {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0.4) 35%,
    rgba(14, 23, 38, 0.06) 65%,
    rgba(255, 255, 255, 0.8)
  );
}
.header .logo,
.header .logo__mark,
.header .nav__links a,
.header .burger span,
.header .burger span::before,
.header .burger span::after,
.header .nav .btn { transition: color 0.35s ease, background 0.35s ease, transform 0.3s ease, opacity 0.4s ease; }
.header.on-light .logo { color: var(--text); }
.header.on-light .logo__mark { color: var(--text); }
.header.on-light .nav__links a { color: var(--muted); }
.header.on-light .nav__links a:hover,
.header.on-light .nav__links a[aria-current="page"] { color: var(--text); }
.header.on-light .nav .btn--primary { background: var(--night); color: var(--snow); }
.header.on-light .burger span::before,
.header.on-light .burger span::after { background: var(--text); }
.header.on-light .burger span { background: var(--text); }
.nav-open .header.on-light .burger span { background: transparent; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--snow);
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 1.2rem;
  line-height: 1;
}
.logo__mark {
  width: 34px;
  height: auto;
  flex: none;
  color: var(--accent);
  transition: color 0.35s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.logo:hover .logo__mark { transform: translateY(-2px); }
.logo__name {
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.logo__name span {
  font-weight: 300;
  letter-spacing: -0.02em;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--muted-dark);
  text-decoration: none;
  font-weight: 450;
  font-size: 0.94rem;
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--white); }
.nav .btn { padding: 10px 18px; font-size: 0.9rem; }

.burger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--snow);
  transition: transform 0.3s ease, background 0.3s ease;
  content: "";
}
.burger span { top: 21px; }
.burger span::before { left: 0; top: -6px; }
.burger span::after { left: 0; top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--snow);
  isolation: isolate;
  --mtn-h: clamp(260px, min(42vw, 54vh), 640px);
  background:
    radial-gradient(ellipse 40% 38% at 64% 72%, rgba(var(--accent-rgb), 0.28), transparent 70%),
    radial-gradient(ellipse 80% 55% at 60% 85%, rgba(92, 128, 176, 0.35), transparent 75%),
    linear-gradient(180deg, #060d19 0%, #0a1424 50%, #1a2c48 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 4;
}
.hero__stars { position: absolute; inset: 0 0 50% 0; pointer-events: none; }
.star {
  position: absolute;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: #fff;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: clamp(110px, 17vh, 170px);
  padding-bottom: calc(var(--mtn-h) * 0.6);
  max-width: 880px;
}
.hero h1 { margin-bottom: 26px; }
.hero h1 .serif { font-size: 1.08em; }
.hero__lead {
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  color: var(--muted-dark);
  max-width: 580px;
  margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 44px;
  color: var(--muted-dark);
  font-size: 0.88rem;
}
.hero__badges span { display: inline-flex; align-items: center; gap: 10px; }
.hero__badges span::before {
  content: "";
  width: 5px; height: 5px;
  transform: rotate(45deg);
  background: var(--accent);
}

.hero__mountains {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: var(--mtn-h);
  z-index: 2;
  pointer-events: none;
}
.hero__mountains svg {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 100%;
}
.accent-stroke { stroke: var(--accent); }
.accent-stop { stop-color: var(--accent); }

.summit-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  fill: var(--accent);
}

/* En-tête de pages internes */
.page-hero {
  position: relative;
  padding: 190px 0 170px;
  color: var(--snow);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 40% 60% at 78% 100%, rgba(var(--accent-rgb), 0.22), transparent 70%),
    radial-gradient(ellipse 70% 60% at 50% 110%, rgba(92, 128, 176, 0.3), transparent 75%),
    linear-gradient(180deg, #060d19, var(--night) 55%, #16263f);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero p { color: var(--muted-dark); font-size: 1.15rem; max-width: 600px; }
.page-hero__ridge {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 150px;
  z-index: 1;
}

/* ---------- Altimètre de défilement ---------- */
.altimeter {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  mix-blend-mode: difference;
  color: #fff;
}
.altimeter__track {
  position: relative;
  width: 1px;
  height: 140px;
  background: rgba(255, 255, 255, 0.3);
}
.altimeter__fill {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 0;
  background: #fff;
}
.altimeter__value {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* ---------- Icônes ---------- */
.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--text);
  margin-bottom: 26px;
}
.icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover {
  border-color: #cfd6df;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 20px; font-size: 0.98rem; }
.card ul {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  font-size: 0.93rem;
  color: #3b4657;
}
.card li { display: flex; gap: 12px; align-items: baseline; }
.card li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  transform: rotate(45deg) translateY(-2px);
  background: var(--accent-2);
}
.card--idea {
  background: var(--night);
  color: var(--snow);
  border-color: var(--night);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
}
.card--idea:hover { border-color: var(--night); }
.card--idea p { color: var(--muted-dark); }
.card--idea .icon { border-color: var(--line-dark); color: var(--accent); }
.card--idea h3 .serif { font-size: 1.15em; color: var(--accent); }

/* Liste d'idées */
.ideas {
  margin-top: 90px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 40px;
  align-items: start;
}
.ideas h3 { font-size: 1.4rem; margin: 0; }
.ideas h3 .serif { font-size: 1.1em; }
.ideas__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.9rem;
  color: #3b4657;
}

/* ---------- L'ascension (étapes) ---------- */
.climb {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.climb__step {
  position: relative;
  padding: 40px 30px 10px 0;
  border-top: 1px solid var(--line-dark);
}
.climb__step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--night);
  border: 1px solid var(--muted-dark);
}
.climb__step:last-child::before { background: var(--accent); border-color: var(--accent); }
.climb__alt {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.climb__num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.16);
  margin: 18px 0 16px;
}
.climb__step h3 { margin: 0 0 10px; font-size: 1.2rem; }
.climb__step p { color: var(--muted-dark); margin: 0; font-size: 0.96rem; }

/* ---------- Deux offres ---------- */
.offer {
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 48px);
  background: var(--snow);
  border: 1px solid var(--line);
}
.offer--dark {
  background: var(--night);
  color: var(--snow);
  border-color: var(--night);
}
.offer h3 { font-size: 1.6rem; letter-spacing: -0.03em; }
.offer p { color: var(--muted); }
.offer--dark p, .offer--dark li { color: var(--muted-dark); }
.offer__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.offer--dark .offer__tag { color: var(--accent); }
.offer ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 34px;
  display: grid;
  gap: 12px;
  font-size: 0.97rem;
}
.offer li { display: flex; gap: 14px; align-items: baseline; }
.offer li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 1px;
  background: var(--accent-2);
  transform: translateY(-4px);
}
.offer--dark li::before { background: var(--accent); }

/* ---------- Réalisations ---------- */
.project {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.project__img {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--night-3), var(--night));
}
.project__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}
.project:hover .project__img img { transform: scale(1.03); }
.project__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(245, 246, 248, 0.35);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.project__body { padding: 26px 28px 30px; }
.project__tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.project h3 { margin: 8px 0 8px; }
.project p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Tarifs ---------- */
.price {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  position: relative;
}
.price--featured {
  background: var(--night);
  color: var(--snow);
  border-color: var(--night);
  box-shadow: var(--shadow-lg);
}
.price__ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night);
  background: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.35);
}
.price__alt {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  text-transform: uppercase;
}
.price--featured .price__alt { color: var(--accent); }
.price h3 { margin: 12px 0 10px; font-size: 1.45rem; }
.price__desc { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 961px) { .price__desc { min-height: 3.4em; } }
.price--featured .price__desc,
.price--featured .price__monthly,
.price--featured .price__amount small,
.price--featured li { color: var(--muted-dark); }
.price__amount {
  font-family: var(--font-title);
  margin: 18px 0 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.price--featured .price__amount { border-top-color: var(--line-dark); }
.price__amount small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 4px;
}
.price__amount strong { font-size: 2.6rem; font-weight: 600; letter-spacing: -0.04em; }
.price__monthly { font-size: 0.88rem; color: var(--muted); margin-bottom: 26px; }
.price__label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.price--featured .price__label { color: var(--muted-dark); }
.price ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 11px;
  font-size: 0.94rem;
  color: #3b4657;
  flex: 1;
}
.price li { display: flex; gap: 12px; align-items: baseline; }
.price li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  transform: rotate(45deg) translateY(-2px);
  background: var(--accent-2);
}
.price--featured li::before { background: var(--accent); }

.pay-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.pay {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.pay__big {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.pay p { color: var(--muted); margin: 0; font-size: 0.97rem; }

.note {
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 0.93rem;
}

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 26px 0;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; max-width: 680px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-grid > *,
.form__row > * { min-width: 0; }
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 48px);
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label { font-weight: 500; font-size: 0.9rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.98rem;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--snow);
  color: var(--text);
  width: 100%;
  min-width: 0;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--night);
  box-shadow: 0 0 0 3px rgba(10, 20, 36, 0.08);
  background: var(--white);
}
.form__consent { display: flex; align-items: flex-start; gap: 12px; font-size: 0.86rem; color: var(--muted); margin-bottom: 28px; }
.form__consent input { margin-top: 5px; accent-color: var(--night); }
/* Formulaire v2 : groupes, choix cliquables, erreurs, confirmation */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__group { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
.form__legend {
  display: flex;
  gap: 12px;
  padding: 0;
  margin-bottom: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.form__legend b { font-weight: 500; color: var(--accent-2); }
.field__label { font-weight: 500; font-size: 0.9rem; }
.field__label small { font-weight: 400; color: var(--muted); }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices--cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice__box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--snow);
  font-size: 0.92rem;
  color: #3b4657;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
}
.choices--cards .choice__box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  line-height: 1.3;
}
.choice__box svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--muted);
  transition: color 0.2s;
}
.choice:hover .choice__box { border-color: #c9d1dc; }
.choice input:checked + .choice__box {
  border-color: var(--night);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--night);
  color: var(--text);
}
.choice input:checked + .choice__box svg { color: var(--accent-2); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.field__error { display: none; margin: 2px 0 0; font-size: 0.84rem; color: #b3261e; }
.field__error[data-for] { margin: -12px 0 20px; }
.field.is-invalid .field__error,
.field__error.is-shown { display: block; }
.field.is-invalid input,
.field.is-invalid textarea { border-color: #d9534f; background: var(--white); }

.form__info { margin: 0 0 22px; font-size: 0.86rem; color: var(--muted); }
.form__info a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form__submit[aria-busy="true"] { opacity: 0.7; cursor: wait; }
.form__status a { color: inherit; font-weight: 500; }

.form-done {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(36px, 6vw, 64px);
  box-shadow: var(--shadow);
  text-align: center;
  outline: none;
  animation: done-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.form-done__mark { width: 56px; margin: 0 auto 26px; color: var(--accent-2); }
.form-done h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.form-done p { color: var(--muted); max-width: 460px; margin-inline: auto; }
.form-done .btn { margin-top: 12px; }
.form-done .form-done__test { font-size: 0.85rem; background: #fbf0d9; color: #7a5a16; padding: 10px 14px; border-radius: var(--radius-sm); }
.accent-2 { color: var(--accent-2); }
@keyframes done-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.form__status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
}
.form__status--ok { background: #eaf5ee; color: #1f5f39; }
.form__status--err { background: #fbeceb; color: #8f2b21; }

.contact-aside { display: grid; gap: 20px; }
.contact-card {
  background: var(--night);
  color: var(--snow);
  border-radius: var(--radius);
  padding: 34px 32px;
}
.contact-card h3 { margin-bottom: 20px; }
.contact-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-card li { display: flex; gap: 14px; color: var(--muted-dark); font-size: 0.95rem; align-items: flex-start; }
.contact-card li svg {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 4px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-card a { color: var(--snow); text-decoration: none; border-bottom: 1px solid var(--line-dark); }

/* ---------- Appel final ---------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  color: var(--snow);
  padding-block: clamp(110px, 14vw, 180px) clamp(90px, 12vw, 150px);
  background:
    radial-gradient(ellipse 40% 60% at 50% 110%, rgba(var(--accent-rgb), 0.3), transparent 70%),
    linear-gradient(180deg, var(--night), #18294a);
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.cta .container { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.cta p { color: var(--muted-dark); font-size: 1.12rem; max-width: 540px; margin: 0 auto 38px; }

/* ---------- Pied de page ---------- */
.footer {
  background: #060d19;
  color: #7c889a;
  padding: 70px 0 calc(34px + env(safe-area-inset-bottom, 0px));
  font-size: 0.9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer h4 {
  color: var(--snow);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #7c889a; text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--snow); }
.footer__tagline { margin-top: 18px; max-width: 320px; }
.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
}

/* ---------- Carrousel mobile ---------- */
.dots { display: none; }

.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.form__consent a, .note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.section-head .price__vat { font-size: 0.85rem; margin-top: -4px; }

/* ---------- Page texte (mentions légales) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose p, .prose li { color: #3b4657; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--accent-2); }
.todo { background: #fbf0d9; padding: 0 4px; border-radius: 4px; }

/* ---------- Apparition au défilement ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Grands écrans (Full HD, 2K, ultra-wide) : tout grandit un peu */
@media (min-width: 1800px) {
  html { font-size: 17px; }
  :root { --max: 1360px; }
}
@media (min-width: 2400px) {
  html { font-size: 18.5px; }
  :root { --max: 1560px; }
}
@media (min-width: 3200px) {
  html { font-size: 20px; }
  :root { --max: 1720px; }
}

@media (max-width: 1100px) {
  .altimeter { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .climb { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .ideas { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 32px;
    padding: calc(110px + env(safe-area-inset-top, 0px)) 24px calc(32px + env(safe-area-inset-bottom, 0px));
    background: var(--night);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: -1;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .header__inner::after { opacity: 0; }
  .nav-open .header.on-light .logo { color: var(--snow); }
  .nav-open .header.on-light .logo__mark { color: var(--accent); }
  .nav-open .header.on-light .burger span::before,
  .nav-open .header.on-light .burger span::after { background: var(--snow); }
  .nav-open .header.on-light .nav__links a { color: var(--muted-dark); }
  .nav-open .header.on-light .nav__links a[aria-current="page"] { color: var(--white); }
  .nav-open .header.on-light .nav .btn--primary { background: var(--snow); color: var(--night); }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a {
    display: block;
    padding: 16px 0;
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--muted-dark);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(10px);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s;
  }
  .nav-open .nav__links a { transform: none; opacity: 1; }
  .nav-open .nav__links li:nth-child(2) a { transition-delay: 0.05s; }
  .nav-open .nav__links li:nth-child(3) a { transition-delay: 0.1s; }
  .nav-open .nav__links li:nth-child(4) a { transition-delay: 0.15s; }
  .nav .btn { padding: 16px 24px; font-size: 1rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { padding-inline: 20px; }
  .section { padding-block: 72px; }
  .section-head { margin-bottom: 36px; }
  .section-head p { font-size: 1.02rem; }
  .header__inner { height: 66px; }
  .header.is-scrolled .header__inner,
  .header--solid .header__inner { height: 56px; margin-top: 10px; max-width: calc(100% - 20px); padding-inline: 16px 6px; }

  /* Hero */
  .hero { --mtn-h: 280px; }
  .hero__content { padding-top: 110px; }
  .hero__lead { margin-bottom: 30px; }
  .hero__actions .btn { width: 100%; }
  .hero__badges { margin-top: 30px; gap: 8px 20px; }
  .summit-label { display: none; }
  .page-hero { padding: 140px 0 120px; }
  .page-hero__ridge { height: 100px; }

  /* Cartes en carrousel à faire glisser */
  .grid--scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    margin-inline: -20px;
    padding: 4px 20px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .grid--scroll::-webkit-scrollbar { display: none; }
  .grid--scroll > * {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }
  .dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
  }
  .dots span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #c9d1dc;
    transition: width 0.3s ease, background 0.3s ease;
  }
  .dots span.is-active { width: 20px; background: var(--text); }

  .card, .price { padding: 28px 24px; }
  .icon { margin-bottom: 20px; }
  .ideas { margin-top: 56px; padding-top: 36px; }
  .chip { font-size: 0.86rem; padding: 8px 14px; }

  /* Frise verticale */
  .climb { grid-template-columns: 1fr; border-left: 1px solid var(--line-dark); margin-left: 4px; }
  .climb__step { border-top: 0; padding: 0 0 36px 28px; }
  .climb__step:last-child { padding-bottom: 0; }
  .climb__step::before { top: 4px; left: -4px; }
  .climb__num { font-size: 2.6rem; margin: 10px 0 10px; }

  .offer { padding: 30px 24px; }
  .offer h3 { font-size: 1.4rem; }
  .pay { padding: 26px 24px; }
  .faq summary { font-size: 1.02rem; padding: 22px 0; }

  /* Évite le zoom automatique d'iOS sur les champs */
  .field input, .field select, .field textarea { font-size: 16px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form button[type=submit] { width: 100%; }
  .choices--cards { grid-template-columns: 1fr 1fr; }
  .choice__box { font-size: 0.88rem; }

  .cta { padding-block: 100px 90px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Pas d'effet de survol sur les écrans tactiles */
@media (hover: none) {
  .card:hover, .project:hover { transform: none; box-shadow: none; }
  .project:hover .project__img img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
