/* ═══════════════════════════════════════════════════════════
   NORVELIO V2 — COUCHE « AMBIANCE »
   Grandes photos et mise en situation de la réalisation, posées
   ENTRE les scènes du template. Même vocabulaire que styles.css :
   tokens, Bricolage + DM Mono, radius 2px, accent en un seul point.
   Animations : .reveal (fondu) et data-pspeed (parallaxe) sont
   pilotés par app.js, rien d'autre.
   ═══════════════════════════════════════════════════════════ */

:root {
  --t-display: clamp(44px, 7.2vw, 96px);
  --scrim: 20, 19, 17;
}

::selection { background: var(--lime); color: var(--lime-ink); }
a:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: var(--radius); }

/* la sélection enchaîne désormais sur la réalisation, même surface */
.collection { padding-bottom: 14vh; }

/* ─── primitives partagées ─── */
.amb-display {
  font-size: var(--t-display);
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.amb-lede {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  max-width: 34ch;
  text-wrap: pretty;
}
.amb-frame { position: relative; overflow: hidden; border-radius: var(--radius); }
.amb-frame img {
  width: 100%; height: 116%;
  position: absolute; left: 0; top: -8%;
  object-fit: cover; border-radius: 0;
}
.amb-fig figcaption { margin-top: 12px; }
.amb-credit {
  position: absolute; right: var(--gutter); bottom: 22px; z-index: 2;
  color: rgba(242, 241, 236, 0.62);
  font-size: 11px;
}

/* ─── plein cadre : photo en fond, texte posé dessus ─── */
.amb-bleed {
  position: relative;
  min-height: 112vh;
  display: flex; align-items: flex-end;
  padding: 0 var(--gutter) 16vh;
  overflow: hidden;
  color: #f2f1ec;
  isolation: isolate;
}
.amb-bleed-img { position: absolute; inset: -17vh 0; z-index: -2; }
.amb-bleed-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.amb-bleed::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(var(--scrim), 0.92) 0%, rgba(var(--scrim), 0.55) 34%, rgba(var(--scrim), 0) 64%),
    linear-gradient(to bottom, rgba(var(--scrim), 0.55) 0%, rgba(var(--scrim), 0) 22%);
}
.amb-bleed-copy { display: grid; gap: 26px; max-width: 1100px; }
.amb-bleed .amb-lede { color: rgba(242, 241, 236, 0.86); }

.amb-bleed--center { align-items: center; justify-content: center; text-align: center; padding-bottom: 0; }
.amb-bleed--center::before {
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(var(--scrim), 0.78) 0%, rgba(var(--scrim), 0.5) 55%, rgba(var(--scrim), 0.2) 100%);
}
.amb-bleed--center .amb-bleed-copy { justify-items: center; max-width: 1000px; }

/* ─── B · LA RÉALISATION ─── */
.amb-work {
  position: relative; z-index: 2;
  background: var(--white);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(14px, 1.8vw, 28px);
  align-items: center;
  overflow-x: clip;
  padding: 10vh var(--gutter) 38vh;   /* la bande devise vient recouvrir le bas (-20vh) */
}
.amb-work-copy { grid-column: 1 / span 4; display: grid; gap: 26px; align-content: center; }
.amb-work-title { font-size: var(--t-heading); letter-spacing: -0.025em; line-height: 1.06; text-wrap: balance; }
.amb-work-text { color: var(--ash); line-height: 1.55; max-width: 38ch; }
.amb-work-facts { display: grid; gap: 14px; border-top: 1px solid rgba(var(--ink-rgb), 0.14); padding-top: 18px; }
.amb-work-facts li { display: grid; gap: 4px; font-size: 17px; line-height: 1.35; }
.amb-link {
  justify-self: start;
  font-size: 17px;
  padding-bottom: 4px;
  background: linear-gradient(var(--lime), var(--lime)) left bottom / 100% 2px no-repeat;
  transition: background-size .5s var(--ease-out), color .3s;
}
.amb-link:hover { background-size: 100% 100%; color: var(--lime-ink); }

.amb-devices { grid-column: 5 / span 8; position: relative; padding: 0 6% 9% 0; }
.mk-laptop { position: relative; width: 100%; }
.mk-screen {
  position: relative;
  background: #0b0b0a;
  padding: 1.7% 1.7% 2.3%;
  border-radius: 14px 14px 3px 3px;
  box-shadow:
    inset 0 0 0 1px rgba(242, 241, 236, 0.14),
    0 40px 90px -30px rgba(0, 0, 0, 0.75),
    0 12px 28px -12px rgba(0, 0, 0, 0.5);
}
.mk-screen::before {                           /* caméra */
  content: ''; position: absolute; top: 0.7%; left: 50%;
  width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: #2a2a28;
}
.mk-screen img { width: 100%; height: auto; aspect-ratio: 1440 / 800; object-fit: cover; object-position: top; border-radius: 2px; }
.mk-base {
  position: relative;
  width: 114%; margin-left: -7%;
  height: clamp(10px, 1.3vw, 18px);
  background: linear-gradient(to bottom, #4a4944 0%, #2a2926 45%, #161513 100%);
  border-radius: 2px 2px 16px 16px;
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.8);
}
.mk-base::after {                               /* encoche d'ouverture */
  content: ''; position: absolute; top: 0; left: 50%;
  width: 16%; height: 38%; transform: translateX(-50%);
  background: #1c1b18; border-radius: 0 0 8px 8px;
}
.mk-phone {
  position: absolute; right: 0; bottom: 0;
  width: 25%;
  padding: 2.2% 1.4%;
  background: #0b0b0a;
  border-radius: clamp(22px, 2.6vw, 38px);
  box-shadow:
    inset 0 0 0 1px rgba(242, 241, 236, 0.18),
    0 36px 70px -20px rgba(0, 0, 0, 0.8),
    0 10px 24px -10px rgba(0, 0, 0, 0.6);
}
.mk-phone img {
  width: 100%; height: auto; aspect-ratio: 9 / 19;
  object-fit: cover; object-position: top;
  border-radius: clamp(16px, 2vw, 30px);
}

/* ─── A · LE TERRAIN ─── */
.amb-place { position: relative; z-index: 2; background: var(--bone); }
.amb-pair {
  position: relative; z-index: 1; margin-top: -2px; background: var(--bone);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(14px, 1.8vw, 28px);
  padding: 14vh var(--gutter) 22vh;
  align-items: start;
}
.amb-pair-a { grid-column: 1 / span 7; }
.amb-pair-a .amb-frame { aspect-ratio: 12 / 7; }
.amb-pair-b { grid-column: 9 / span 4; margin-top: 22vh; }
.amb-pair-b .amb-frame { aspect-ratio: 4 / 5; }

/* ─── C · LES MÉTIERS ─── */
.amb-trades {
  position: relative; z-index: 2;
  background: var(--bone);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(14px, 1.8vw, 28px);
  row-gap: clamp(60px, 9vh, 110px);
  padding: 20vh var(--gutter) 24vh;
  align-items: start;
}
.amb-trades-head { grid-column: 1 / span 6; display: grid; gap: 28px; align-self: center; }
.amb-trades .amb-lede { color: var(--ash); }
.amb-t1 { grid-column: 8 / span 5; grid-row: 1 / span 2; }
.amb-t1 .amb-frame { aspect-ratio: 11 / 14.5; }
.amb-t2 { grid-column: 1 / span 5; grid-row: 2; }
.amb-t2 .amb-frame { aspect-ratio: 7 / 5; }
.amb-t3 { grid-column: 2 / span 6; grid-row: 3; }
.amb-t3 .amb-frame { aspect-ratio: 7 / 5; }
.amb-t4 { grid-column: 9 / span 4; grid-row: 3; margin-top: 16vh; }
.amb-t4 .amb-frame { aspect-ratio: 5 / 7; }
.amb-trades figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.amb-trade { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; }
.amb-note { grid-column: 1 / -1; text-align: center; }

/* ─── D · LA NUIT ─── */
.amb-night { position: relative; z-index: 2; background: var(--bone); }
.amb-cta {
  margin-top: 10px;
  display: inline-block;
  background: var(--lime); color: var(--lime-ink);
  font-size: 17px;
  padding: 16px 26px;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6);
  transition: filter .3s, transform .5s var(--ease-out);
}
.amb-cta:hover { filter: brightness(1.05); transform: translateY(-2px); }

/* ═══════════ TABLETTE / MOBILE ═══════════ */
@media (max-width: 900px) {
  .amb-bleed { min-height: 92vh; padding-bottom: 12vh; }
  .amb-bleed-copy { gap: 18px; }
  .amb-credit { left: var(--gutter); right: auto; bottom: 16px; font-size: 11px; }

  .amb-work { grid-template-columns: minmax(0, 1fr); row-gap: 9vh; padding-top: 4vh; padding-bottom: 34vh; }
  .amb-work-copy, .amb-devices { grid-column: 1; }
  .amb-devices { padding: 0 4% 12% 0; }
  .mk-phone { width: 30%; }

  .amb-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10vh var(--gutter) 16vh; row-gap: 40px; }
  .amb-pair-a { grid-column: 1 / -1; }
  .amb-pair-b { grid-column: 2; margin-top: 0; }

  .amb-trades { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; padding: 14vh var(--gutter) 18vh; }
  .amb-trades-head { grid-column: 1 / -1; }
  .amb-t1 { grid-column: 1 / -1; grid-row: auto; }
  .amb-t1 .amb-frame { aspect-ratio: 4 / 5; }
  .amb-t2 { grid-column: 1 / -1; grid-row: auto; }
  .amb-t3 { grid-column: 1; grid-row: auto; }
  .amb-t3 .amb-frame { aspect-ratio: 4 / 5; }
  .amb-t4 { grid-column: 2; grid-row: auto; margin-top: 12vh; }
  .amb-t4 .amb-frame { aspect-ratio: 4 / 5; }
  .amb-trades figcaption { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .amb-pair-b { grid-column: 1 / -1; margin-left: 22%; }
  .amb-trade { font-size: 20px; }
  .amb-trades .mono { font-size: 11px; }
}

/* ═══════════════════════════════════════════════════════════
   V2.2 — PLUS CHAUD, PLUS DENSE, PLUS VIVANT
   ═══════════════════════════════════════════════════════════ */

/* noir chaud (brun) plutôt que noir neutre */
html[data-theme="dark"] {
  --bone: #16120e;
  --white: #221c16;
  --ink-rgb: 244, 238, 228;
  --ink: #f4eee4;
  --ash: #a39a8e;
  --ink-faint: rgba(var(--ink-rgb), 0.18);
  --glow: 248, 207, 159;
  --ember: #e8955a;
}

/* grain de papier très léger sur toute la page */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 150; pointer-events: none;
  opacity: .07; mix-blend-mode: overlay;
  /* texture de bruit pré-calculée (même filtre feTurbulence, rendu par Chrome
     une fois pour toutes en 1x / 2x / 3x) au lieu d'un filtre SVG évalué */
  background-image: url("images/grain-1x.webp");
  background-image: image-set(url("images/grain-1x.webp") 1x, url("images/grain-2x.webp") 2x, url("images/grain-3x.webp") 3x);
  background-size: 220px 220px;
}

/* ─── teintes par section : lueurs chaudes, jamais le même noir deux fois ─── */
.s-fill .pin {
  background:
    radial-gradient(60% 55% at 18% 30%, rgba(var(--glow), .10), transparent 70%),
    radial-gradient(50% 50% at 90% 85%, rgba(232, 149, 90, .08), transparent 70%),
    var(--bone);
}
.collection {
  background:
    radial-gradient(55% 40% at 88% 4%, rgba(var(--glow), .12), transparent 70%),
    radial-gradient(45% 35% at 6% 60%, rgba(232, 149, 90, .07), transparent 70%),
    var(--white);
}
.amb-work {
  background:
    radial-gradient(48% 55% at 70% 42%, rgba(var(--glow), .18), transparent 70%),
    var(--white);
}
.s-night .pin {
  background:
    radial-gradient(55% 60% at 64% 50%, rgba(var(--glow), .13), transparent 72%),
    linear-gradient(160deg, #1d1813 0%, var(--bone) 60%);
}
.amb-trades {
  background:
    radial-gradient(40% 30% at 90% 20%, rgba(var(--glow), .10), transparent 70%),
    radial-gradient(40% 30% at 5% 75%, rgba(232, 149, 90, .08), transparent 70%),
    linear-gradient(180deg, var(--bone), #1e1812 50%, var(--bone));
}
.amb-pair { background: linear-gradient(180deg, var(--bone), #1c1611); }
.s-quote .pin {
  background:
    radial-gradient(50% 60% at 12% 40%, rgba(var(--glow), .14), transparent 70%),
    var(--bone);
}
.s-final .pin {
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(var(--glow), .12), transparent 70%),
    var(--bone);
}
.footer {
  background:
    radial-gradient(60% 45% at 50% 100%, rgba(var(--glow), .16), transparent 70%),
    var(--bone);
}

/* ─── bento : tuiles lumineuses ─── */
.bento-grid .card {
  background:
    radial-gradient(80% 70% at 70% 30%, rgba(var(--glow), .10), transparent 70%),
    linear-gradient(160deg, #2a221a, #1b1612);
  border-color: rgba(var(--glow), .16);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 240, 220, .06);
  transition: border-color .5s, box-shadow .5s;
}
.bento-grid .card:hover {
  border-color: rgba(var(--glow), .42);
  box-shadow: 0 34px 70px -30px rgba(232, 149, 90, .35), inset 0 1px 0 rgba(255, 240, 220, .1);
}
.bento-grid .card-img img { object-fit: contain; }

/* ─── processus : plus court, et une photo à côté de chaque étape ─── */
.bignum { font-size: min(34vh, 17vw); color: rgba(var(--glow), .22); }
.pstep-img {
  position: absolute;
  left: calc(min(560px, 42vw) + 4vw); top: 50%;
  transform: translateY(-50%);
  width: min(22vw, 380px); aspect-ratio: 4 / 5;
  margin: 0; overflow: hidden; border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(var(--glow), .14);
}
.pstep-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.pstep-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(var(--glow), .18), transparent 45%);
}

/* ─── objections : texte seul, puis une bande de photos alignées ─── */
.s-final .pin { flex-direction: column; gap: 7vh; }
.final-strip {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
  width: min(1180px, calc(100% - 2 * var(--gutter)));
}
.final-strip img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8);
}

/* ═══════════ TARIFS — section claire ═══════════ */
.pricing {
  --p-bg: #f4ede2;
  --p-ink: #1b1611;
  --p-ash: #665d52;
  --p-line: rgba(27, 22, 17, .12);
  --p-ember: #a4521c;
  position: relative; z-index: 2;
  background:
    radial-gradient(50% 40% at 90% 0%, rgba(248, 207, 159, .55), transparent 70%),
    radial-gradient(40% 30% at 0% 55%, rgba(232, 149, 90, .16), transparent 70%),
    var(--p-bg);
  color: var(--p-ink);
  padding: 16vh var(--gutter) 18vh;
}
.pricing ::selection { background: var(--p-ink); color: var(--p-bg); }
.pricing a:focus-visible { outline-color: var(--p-ink); }
.pr-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 5vw; align-items: end; margin-bottom: 8vh; }
.pr-head-main { display: grid; gap: 26px; justify-items: start; }
.pr-head-side { display: grid; gap: 26px; padding-bottom: 10px; }
.pr-facts { display: grid; gap: 0; border-top: 1px solid var(--p-line); }
.pr-facts li { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--p-line); }
.pr-facts b { font-weight: 400; font-size: clamp(30px, 2.8vw, 40px); letter-spacing: -0.03em; min-width: 3.3em; color: var(--p-ember); }
.pr-facts span { color: var(--p-ash); line-height: 1.35; }
.pr-lede { font-size: clamp(18px, 1.5vw, 22px); color: var(--p-ash); }
.pr-badge {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 15px; padding: 9px 9px 9px 16px;
  background: #fffaf2; border: 1px solid var(--p-line); border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgba(164, 82, 28, .5);
}
/* pulsation : l'anneau grandit et s'efface — transform + opacity, au lieu d'une
   ombre animée repeinte à chaque image. Mise en pause hors écran (app.js). */
.pr-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #e8955a; }
.pr-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: rgba(232, 149, 90, .22);
  animation: prPulse 2.4s ease-in-out infinite;
}
.pr-dot.is-paused::after { animation-play-state: paused; }
@keyframes prPulse { 50% { transform: scale(1.5); opacity: 0; } }
.pr-badge-count { background: var(--p-ink); color: #f8cf9f; padding: 5px 12px; border-radius: 999px; font-size: 14px; }

.pr-list { display: grid; gap: 12px; }
.pr-list li { position: relative; padding-left: 30px; line-height: 1.45; }
.pr-list li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(164, 82, 28, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4521c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pr-list small { display: block; color: var(--p-ash); font-size: 14px; margin-top: 3px; }

/* création : bandeau sombre qui brille */
.pr-creation {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5vw; align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 14px;
  color: #f4eee4;
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(248, 207, 159, .28), transparent 60%),
    radial-gradient(50% 80% at 100% 100%, rgba(232, 149, 90, .22), transparent 60%),
    #1b1611;
  box-shadow: 0 40px 80px -40px rgba(27, 22, 17, .6);
  margin-bottom: 12vh;
}
.pr-creation h3 { font-size: 18px; color: #c9bfb2; font-weight: 400; margin-bottom: 12px; }
.pr-creation-price { font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -0.025em; line-height: 1.15; }
.pr-free {
  display: inline-block; padding: 0 .3em; border-radius: 6px;
  background: linear-gradient(135deg, #ffe6c7, #f8cf9f 50%, #e8955a); color: #1b1611;
}
.pr-creation-cond { color: #c9bfb2; margin-top: 14px; }
.pr-creation .pr-list li::before,
.pr-card--rec .pr-list li::before {
  background-color: rgba(248, 207, 159, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8cf9f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

.pr-plans-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 30px; margin-bottom: 36px; }
.pr-plans-head h3 { font-size: var(--t-heading); letter-spacing: -0.025em; line-height: 1.08; }
.pr-plans-head p { color: var(--p-ash); max-width: 46ch; }
.pr-launch { display: inline-block; background: var(--p-ink); color: #f8cf9f; padding: 3px 10px; border-radius: 999px; font-size: 14px; margin-right: 6px; }

.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); align-items: start; }
.pr-col { display: grid; gap: 14px; }
.pr-card {
  position: relative;
  background: #fffaf3;
  border: 1px solid var(--p-line);
  border-radius: 14px;
  padding: 30px 28px 32px;
  box-shadow: 0 24px 50px -36px rgba(27, 22, 17, .45);
  transition: transform .6s var(--ease-out), box-shadow .6s;
}
.pr-card:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -34px rgba(27, 22, 17, .5); }
.pr-card h4 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.pr-amount { font-size: clamp(48px, 4.4vw, 64px); letter-spacing: -0.04em; line-height: 1; margin: 16px 0 8px; }
.pr-amount span { font-size: 17px; letter-spacing: 0; color: var(--p-ash); margin-left: 6px; }
.pr-sub { color: var(--p-ash); margin-bottom: 18px; }

.pr-card--rec {
  color: #f4eee4;
  border: 1px solid transparent;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(248, 207, 159, .30), transparent 60%) padding-box,
    linear-gradient(#1b1611, #1b1611) padding-box,
    linear-gradient(135deg, #ffe6c7, #f8cf9f 45%, #e8955a) border-box;
  box-shadow: 0 40px 80px -30px rgba(232, 149, 90, .55);
}
.pr-card--rec .pr-amount span, .pr-card--rec .pr-sub, .pr-card--rec small { color: #c9bfb2; }
.pr-rec {
  position: absolute; top: -13px; right: 22px;
  background: linear-gradient(135deg, #ffe6c7, #f8cf9f 50%, #e8955a); color: #1b1611;
  font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(232, 149, 90, .8);
}
.pr-highlight { color: #f8cf9f; font-size: 17px; line-height: 1.4; margin-bottom: 14px; }

.pr-addon {
  background: #fffaf3; border: 1px dashed rgba(164, 82, 28, .45); border-radius: 14px;
  padding: 24px 24px 22px; display: grid; gap: 12px;
}
.pr-addon-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pr-addon-tag { display: inline-block; font-size: 12px; color: var(--p-ember); border: 1px solid rgba(164, 82, 28, .35); border-radius: 999px; padding: 2px 9px; margin-bottom: 6px; }
.pr-addon h4 { font-size: 20px; font-weight: 500; }
.pr-addon-price { font-size: 30px; letter-spacing: -0.03em; white-space: nowrap; }
.pr-addon-price span { font-size: 15px; color: var(--p-ash); margin-left: 4px; }
.pr-addon-scope, .pr-addon-intro { color: var(--p-ash); font-size: 15px; }
.pr-addon .pr-list { gap: 10px; font-size: 15px; }
.pr-addon-access { font-size: 14px; color: var(--p-ash); border-top: 1px solid var(--p-line); padding-top: 12px; }

.pr-terms {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  margin: 8vh 0 6vh; padding-top: 5vh; border-top: 1px solid var(--p-line);
}
.pr-terms p { max-width: 70ch; color: var(--p-ash); line-height: 1.55; }
.pr-terms b { color: var(--p-ink); font-weight: 500; }
.pricing .amb-cta { background: var(--p-ink); color: #f8cf9f; margin: 0; }

.pr-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.pr-extra {
  background: #fffaf3; border: 1px solid var(--p-line); border-radius: 14px;
  padding: 30px 30px 32px; display: grid; gap: 12px; align-content: start;
}
.pr-extra svg { width: 40px; height: 40px; stroke: var(--p-ember); padding: 8px; border-radius: 10px; background: rgba(232, 149, 90, .14); }
.pr-extra h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; }
.pr-extra p { color: var(--p-ash); line-height: 1.55; }
.pr-extra strong { color: var(--p-ink); font-weight: 500; }
.pr-extra--referral {
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(248, 207, 159, .55), transparent 65%),
    #fffaf3;
}
.pr-perks { display: grid; gap: 8px; }
.pr-perks li { background: #fff; border: 1px solid var(--p-line); border-radius: 10px; padding: 10px 14px; }
.pr-perks b { font-weight: 500; }

/* ─── densité : moins de vide entre les sections ─── */
.amb-bleed { min-height: 100vh; padding-bottom: 12vh; }
.amb-pair { padding: 9vh var(--gutter) 13vh; }
.amb-pair-b { margin-top: 14vh; }
.amb-trades { padding: 13vh var(--gutter) 15vh; row-gap: clamp(48px, 7vh, 90px); }
.amb-work { padding-bottom: 30vh; }

@media (max-width: 900px) {
  .pstep-img { position: relative; left: auto; top: auto; transform: none; width: 100%; aspect-ratio: 16 / 10; margin-bottom: 18px; }
  .psteps { top: 57%; }
  .bignum { top: 8vh; font-size: min(19vh, 34vw); }
  .final-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .final-strip img:nth-child(n+4) { display: none; }
  .s-final .pin { gap: 5vh; }
  .pricing { padding: 11vh var(--gutter) 12vh; }
  .pr-head { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .pr-creation { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-bottom: 8vh; }
  .pr-grid, .pr-extras { grid-template-columns: minmax(0, 1fr); }
  .pr-grid { gap: 22px; }
  .pr-card--rec { margin-top: 10px; }
  .amb-trades { padding: 10vh var(--gutter) 12vh; }
  .amb-bleed { min-height: 88vh; }
}
@media (max-width: 480px) {
  .pr-badge { font-size: 14px; }
  .pr-terms .amb-cta { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pr-dot::after { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   BRANCHEMENTS DE L'ANCIEN SITE — logo, formulaire Formspree,
   mentions légales / confidentialité
   ═══════════════════════════════════════════════════════════ */

/* logo dans la barre du haut */
.dock-wordmark { display: inline-flex; align-items: center; gap: 10px; }
.dock-wordmark .nav-logo-img { width: 30px; height: 30px; border-radius: 7px; flex: none; }

/* téléphone sous l'e-mail */
.footer-phone { margin-top: 14px; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.01em; }
.footer-phone a { border-bottom: 1px solid var(--ink-faint); transition: border-color .3s; }
.footer-phone a:hover { border-color: var(--ink); }

/* formulaire */
.contact-form-wrap {
  max-width: 760px; margin: 7vh auto 0; text-align: left;
  background: var(--white); border: 1px solid var(--ink-faint);
  border-radius: var(--radius); padding: clamp(22px, 3.4vw, 40px);
}
#contactForm { scroll-margin-top: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; margin-bottom: 7px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--ash);
}
.form-group input, .form-group textarea {
  width: 100%; padding: 13px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bone); border: 1px solid var(--ink-faint); border-radius: var(--radius);
  outline: none; transition: border-color .3s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ash); opacity: 1; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--lime); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; margin-top: 4px; border: 0; cursor: pointer; font-family: inherit; }
.form-submit:disabled { cursor: progress; filter: brightness(.85); }
.form-success, .form-error { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); font-size: 15px; line-height: 1.5; }
.form-success { border: 1px solid rgba(248, 207, 159, .45); color: var(--ink); }
.form-error { border: 1px solid #c4573a; color: var(--ink); background: rgba(196, 87, 58, .12); }
.form-error a { text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.form-success:empty, .form-error:empty { display: none; }
.gdpr-note { margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--ash); }

/* boutons-liens (« En savoir plus », mentions, cookies) */
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.gdpr-note .link-btn { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; margin-top: 22px; }
.footer-legal .link-btn { padding: 8px 0; color: var(--ash); text-transform: uppercase; transition: color .3s; }
.footer-legal .link-btn:hover { color: var(--ink); }

/* fenêtre */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(10, 8, 6, .82);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; pointer-events: all; transition: opacity .3s ease; }
.modal-box {
  position: relative; width: 100%; max-width: 640px; max-height: 80vh; overflow-y: auto;
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px); overscroll-behavior: contain;
}
.modal-close {
  position: absolute; top: 8px; right: 10px; width: 44px; height: 44px;
  background: none; border: 0; font-size: 28px; line-height: 1; color: var(--ash); cursor: pointer;
}
.modal-close:hover { color: var(--ink); }
.modal-box h2 { font-size: 26px; margin-bottom: 18px; padding-right: 40px; }
.modal-box h2:focus { outline: none; }
.modal-box h3 { font-size: 17px; font-weight: 500; margin: 20px 0 6px; }
.modal-box p { font-size: 15px; line-height: 1.7; color: var(--ash); margin-bottom: 8px; }
.modal-box strong { color: var(--ink); font-weight: 500; }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .dock-wordmark .nav-logo-img { width: 26px; height: 26px; }
}

/* ═══════════════════════════════════════════════════════════
   LISIBILITÉ — les capitales restent réservées aux étiquettes
   courtes ; les lignes mono plus longues passent en casse normale.
   ═══════════════════════════════════════════════════════════ */
.hero-kicker,
.coll-head > p:last-child,
.card figcaption .mono,
.amb-credit,
.amb-fig figcaption.mono,
.amb-trades figcaption .mono,
.amb-note,
.q-ctx,
.footer-reassurance,
.footer-bottom .mono { text-transform: none; letter-spacing: 0.01em; }

.amb-credit { font-size: 12px; }
.card figcaption { line-height: 1.35; }
.gdpr-note { font-size: 14px; max-width: 68ch; }

@media (max-width: 900px) {
  .amb-credit { font-size: 12px; }
  .hero-kicker { font-size: 12px; }
}
@media (max-width: 480px) {
  .card figcaption { font-size: 14px; }
}

/* interlignes : 1.3 hérité du body est trop serré pour du texte courant */
.q-text { line-height: 1.32; }
.pr-badge { line-height: 1.4; }
.pr-plans-head p,
.pr-addon-access,
.pr-perks li,
.pr-list li,
.amb-cta { line-height: 1.45; }

/* plancher 12 px sur mobile */
@media (max-width: 900px) {
  .dock-cta { font-size: 12px; }
}
@media (max-width: 480px) {
  .amb-trades .mono { font-size: 12px; }
}
/* crédit photo : marge à droite aussi sur mobile, plus collé au bord */
@media (max-width: 900px) {
  .amb-credit { right: var(--gutter); }
}
.pr-lede,
.pr-creation-cond,
.pr-addon-scope,
.coll-sub,
.q-name { line-height: 1.45; }
.gdpr-note { max-width: 560px; }
.pr-terms p { max-width: 60ch; }
.amb-work-text { color: rgba(var(--ink-rgb), 0.84); }

/* tarifs : deux bandeaux de création empilés, écart identique à celui des cartes */
.pricing .pr-creation--stack { margin-bottom: clamp(14px, 1.6vw, 24px); }
.pr-creation .pr-list small { color: #c9bfb2; }
