﻿/* =========================================================
   Salonia — système visuel inspiré de Dala
   Noir pur · une seule typo · une seule action violette
   ========================================================= */

/* ---------- Police : Chillax (celle du site Salonia), fichier variable 200–700 ---------- */
@font-face {
  font-family: "Chillax";
  src: url("../fonts/Chillax-Variable.woff2") format("woff2"),
       url("../fonts/Chillax-Variable.woff") format("woff");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Couleurs */
  --color-void: #000000;
  --color-bone-white: #ffffff;
  --color-ash-gray: #9a9a9a;
  --color-silver-mist: #c8c6d0; /* un cran plus clair pour la lecture */
  --color-electric-iris: #8052ff;
  --color-peach: #ffb27a;
  --color-rose: #ff6fae;
  --color-indigo: #4d6bff;

  /* Typo — Chillax, comme sur le site Salonia actuel */
  --font: "Chillax", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-caption: 12px;
  --text-nav-label: 14px;
  --text-body: 18px;
  --text-heading-2xs: 24px;
  --text-heading-xs: 27px;
  --text-subheading: 36px;
  --text-heading-sm: 42px;
  --text-heading: 48px;
  --text-heading-lg: clamp(48px, 6.1vw, 78px);
  --text-display: clamp(56px, 8.8vw, 113px);

  /* Espacements (unité 6px) */
  --spacing-6: 6px;
  --spacing-12: 12px;
  --spacing-18: 18px;
  --spacing-24: 24px;
  --spacing-30: 30px;
  --spacing-36: 36px;
  --spacing-60: 60px;
  --spacing-96: 96px;
  --spacing-120: 120px;

  --page-max-width: 1280px;
  --gutter: clamp(16px, 4vw, 36px);
  --section-gap: clamp(96px, 14vw, 180px);

  --radius-3xl: 24px;
  --radius-full: 9999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

/* Lenis (scroll fluide) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--color-void);
  color: var(--color-bone-white);
  font-family: var(--font);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
fieldset { border: 0; min-width: 0; }
::selection { background: var(--color-electric-iris); color: var(--color-bone-white); }
:focus-visible { outline: 2px solid var(--color-peach); outline-offset: 4px; border-radius: 4px; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 12px 18px; border-radius: var(--radius-3xl);
  background: var(--color-electric-iris);
}
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
main, .footer { position: relative; z-index: 1; }
.wrap {
  width: 100%;
  max-width: calc(var(--page-max-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-gap); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--spacing-60) clamp(36px, 6vw, 96px);
  align-items: center;
}
.split--top { align-items: start; }
.split--head { align-items: end; margin-bottom: var(--spacing-96); }
.split--reverse > :first-child { order: 0; }

.sticky { position: sticky; top: 120px; }

/* ---------- Typographie ---------- */
.display {
  font-size: var(--text-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.display--stack { line-height: 0.95; margin-bottom: var(--spacing-60); }
.heading-lg {
  font-size: var(--text-heading-lg);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--spacing-30);
}
.label {
  font-size: var(--text-caption);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-peach);
  margin-bottom: var(--spacing-24);
}
.lead, .body {
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-bone-white);
  max-width: 520px;
}
.body { color: var(--color-silver-mist); }
.body--end { justify-self: end; }
.lead { margin-block: var(--spacing-36); max-width: 480px; }
.meta {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ash-gray);
}
.meta--peach { color: var(--color-peach); }
.hl { color: var(--color-peach); }

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-12);
  min-height: 45px;
  padding: 14px 22px;
  border-radius: var(--radius-3xl);
  font-size: var(--text-nav-label);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn--lg { min-height: 54px; padding-inline: 30px; }

/* ---------- Style commun des boutons : bordure dégradée animée, halo, reflet, triangle ----------
   (même langage que le bouton WhatsApp ci-dessous) */
.btn--primary, .link {
  --wa-grad: conic-gradient(from var(--wa-angle), #8052ff, #ff6fae, #ffb27a, #8052ff);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-12);
  min-height: 45px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  color: var(--color-bone-white);
  font-size: var(--text-nav-label);
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: nowrap;
  background:
    linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%) 100% 0 / 250% 100% no-repeat padding-box,
    linear-gradient(rgba(14, 11, 22, 0.82), rgba(14, 11, 22, 0.82)) padding-box,
    var(--wa-grad) border-box;
  background-position: 100% 0, 0 0, 0 0;
  animation: wa-spin 6s linear infinite;
  transition: transform 0.5s var(--ease), background-position 0.9s var(--ease), opacity 0.4s var(--ease), visibility 0.4s;
}
/* Halo coloré derrière le bouton */
.btn--primary::before, .link::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  /* Dégradé fixe : un halo flouté dont le fond tourne serait recalculé à chaque image (coûteux pour le GPU) */
  background: conic-gradient(from 200deg, #8052ff, #ff6fae, #ffb27a, #8052ff);
  filter: blur(14px);
  opacity: 0.25;
  transition: opacity 0.5s var(--ease), inset 0.5s var(--ease);
}
/* Un triangle s'échappe au survol */
.btn--primary::after, .link::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 28%;
  width: 9px; height: 8px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--color-peach);
  opacity: 0;
  pointer-events: none;
}
.btn--primary:hover, .link:hover { transform: translateY(-3px); background-position: 0% 0, 0 0, 0 0; }
.btn--primary:hover::before, .link:hover::before { opacity: 0.6; inset: -4px; }
.btn--primary:hover::after, .link:hover::after { animation: wa-float 1.5s var(--ease) infinite; }
.btn--primary:active, .link:active { transform: translateY(-1px) scale(0.985); }
.btn--primary.btn--lg { min-height: 54px; padding-inline: 32px; }

.btn__arrow, .link span { color: var(--color-peach); font-size: 16px; transition: transform 0.4s var(--ease); }
.btn--primary:hover .btn__arrow, .link:hover span { transform: translateX(6px); }

/* ---------- Bouton WhatsApp : bordure dégradée qui tourne, halo, reflet, triangles ---------- */
@property --wa-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.wa {
  --wa-green: #25d366;
  --wa-grad: conic-gradient(from var(--wa-angle), #25d366, #8052ff, #ff6fae, #25d366, #7dffb0, #25d366);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: var(--spacing-24);
  padding: 7px 28px 7px 7px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  color: var(--color-bone-white);
  background:
    linear-gradient(rgba(14, 11, 22, 0.82), rgba(14, 11, 22, 0.82)) padding-box,
    var(--wa-grad) border-box;
  animation: wa-spin 6s linear infinite;
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease);
}
@keyframes wa-spin { to { --wa-angle: 360deg; } }

/* Halo coloré derrière le bouton */
.wa::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from 200deg, #25d366, #8052ff, #ff6fae, #25d366, #7dffb0, #25d366);
  filter: blur(16px);
  opacity: 0.4;
  transition: opacity 0.5s var(--ease), inset 0.5s var(--ease);
}
/* Lueur verte diffuse sous le bouton */
.wa::after {
  content: "";
  position: absolute;
  inset: 20% 8% -30%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37, 211, 102, 0.55), transparent);
  filter: blur(10px);
  animation: wa-breathe 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes wa-breathe { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.wa:hover { transform: translateY(-3px); }
.wa:hover::before { opacity: 0.8; inset: -4px; }
.wa:active { transform: translateY(-1px) scale(0.985); }

/* Reflet qui traverse le bouton au survol */
.wa__shine { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.wa__shine::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-120%);
}
.wa:hover .wa__shine::before { transform: translateX(120%); transition: transform 0.9s var(--ease); }

/* Pastille d'icône + onde qui pulse */
.wa__icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 0 0 1px rgba(125, 255, 176, 0.35), 0 6px 22px rgba(37, 211, 102, 0.6);
  transition: transform 0.5s var(--ease);
}
.wa__icon svg { width: 24px; height: 24px; }
.wa__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid #25d366;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}
.wa:hover .wa__icon { transform: rotate(-12deg) scale(1.08); }

.wa__text { display: flex; flex-direction: column; line-height: 1.15; }
.wa__text b {
  font-size: var(--text-nav-label);
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.wa__text small {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-silver-mist);
}
.wa__arrow { margin-left: 4px; font-size: 18px; color: #4dffa0; transition: transform 0.4s var(--ease); }
.wa:hover .wa__arrow { transform: translateX(6px); }

/* Petits triangles qui s'échappent du bouton au survol (écho des particules) */
.wa__tris { position: absolute; inset: 0; pointer-events: none; }
.wa__tris .tri { position: absolute; top: 20%; opacity: 0; width: 9px; height: 8px; }
/* Particules aux couleurs du bouton WhatsApp (verts) */
.wa__tris .tri:nth-child(3n+1) { color: #25d366; }
.wa__tris .tri:nth-child(3n+2) { color: #7dffb0; }
.wa__tris .tri:nth-child(3n) { color: #128c7e; }
.wa__tris .tri:nth-child(1) { left: 14%; }
.wa__tris .tri:nth-child(2) { left: 38%; }
.wa__tris .tri:nth-child(3) { left: 62%; }
.wa__tris .tri:nth-child(4) { left: 84%; }
.wa:hover .wa__tris .tri { animation: wa-float 1.5s var(--ease) infinite; }
.wa:hover .wa__tris .tri:nth-child(2) { animation-delay: 0.25s; }
.wa:hover .wa__tris .tri:nth-child(3) { animation-delay: 0.5s; }
.wa:hover .wa__tris .tri:nth-child(4) { animation-delay: 0.75s; }
@keyframes wa-float {
  0% { opacity: 0; transform: translateY(8px) rotate(0deg) scale(0.6); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-34px) rotate(160deg) scale(1); }
}

@media (max-width: 560px) {
  .wa { padding-right: 20px; }
  .wa__arrow { display: none; }
}


.actions { display: flex; align-items: center; gap: var(--spacing-36); flex-wrap: wrap; }

/* Petits triangles — écho des particules */
.tri {
  display: inline-block;
  width: 10px; height: 9px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: currentColor;
}
.tri--iris { color: var(--color-electric-iris); }
.tri--peach { color: var(--color-peach); }
.tri--rose { color: var(--color-rose); }

/* =========================================================
   Constellations
   ========================================================= */
.scene {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  /* Hauteur « barre d'adresse masquée » : le canvas ne change pas de taille au scroll mobile */
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.scene.is-ready { opacity: 1; }
/* Emplacements vides : la scène WebGL y dessine les formes */
/* Emplacements des formes : ils réservent la place dans la mise en page,
   la scène WebGL fixe y aligne ses formes */
.stage { position: relative; margin: 0; }
.stage--hero { aspect-ratio: 1; width: 100%; }
.stage--side { aspect-ratio: 1; width: 100%; max-width: 520px; margin-top: var(--spacing-60); }
.split--reverse .stage--side { margin-top: 0; max-width: 600px; }
.stage--small { max-width: 360px; }
/* Bureau : l'emplacement de la forme ne compte plus dans la hauteur de la colonne collante,
   sinon le titre repartait ~500 px avant la fin de la section. Il reste collé jusqu'au dernier bloc. */
@media (min-width: 961px) {
  .sticky .stage { position: absolute; top: 0; left: 0; margin: 0; pointer-events: none; }
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: var(--spacing-36);
  height: 84px;
  padding-inline: var(--gutter);
  /* Pas de blur : un simple fondu vers le noir garde la lisibilité */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  margin-right: auto;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.logo__mark { width: 22px; height: 22px; }

.nav__menu { display: flex; align-items: center; gap: var(--spacing-36); }
.nav__menu a {
  font-size: var(--text-nav-label);
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--color-ash-gray);
  transition: color 0.3s var(--ease);
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--color-bone-white); }
.nav__menu-cta { display: none; }
.nav__cta { min-height: 40px; padding: 8px 20px; }
.at-contact .nav__cta { opacity: 0; visibility: hidden; }

.burger { display: none; position: relative; width: 44px; height: 44px; z-index: 2; }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px;
  background: var(--color-bone-white);
  transition: transform 0.4s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Indicateur de section */
.progress {
  position: fixed;
  left: var(--gutter);
  bottom: var(--spacing-30);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: var(--spacing-12);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ash-gray);
  pointer-events: none;
}
.progress__num { color: var(--color-electric-iris); font-variant-numeric: tabular-nums; }
.progress__bar { position: relative; width: 48px; height: 1px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.progress__bar span {
  position: absolute; inset: 0;
  background: var(--color-bone-white);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--spacing-60);
  padding-top: 120px;
  padding-bottom: var(--spacing-60);
}
.hero__text { position: relative; z-index: 1; }
.proofs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-18) var(--spacing-60);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ash-gray);
}
.proofs li { display: inline-flex; align-items: center; gap: var(--spacing-12); }

/* =========================================================
   Constat (moment centré)
   ========================================================= */
.statement {
  min-height: 90svh;
  display: grid;
  place-items: center;
  padding-block: var(--section-gap);
  text-align: center;
}
.statement__text {
  max-width: 1000px;
  margin-inline: auto;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.statement__text + .statement__text { margin-top: var(--spacing-36); }
.statement__text--dim { color: var(--color-ash-gray); }

/* =========================================================
   Services
   ========================================================= */
.items { display: flex; flex-direction: column; gap: var(--spacing-96); padding-top: var(--spacing-120); }
.item__num, .step__num {
  display: block;
  font-size: var(--text-nav-label);
  font-weight: 600;
  letter-spacing: 0.025em;
  color: var(--color-electric-iris);
  font-variant-numeric: tabular-nums;
}
.item__num { margin-bottom: var(--spacing-18); }
.item__title {
  font-size: var(--text-heading-sm);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-bottom: var(--spacing-18);
}
.item .body { margin-bottom: var(--spacing-24); }

/* =========================================================
   Approche
   ========================================================= */
.points { display: flex; flex-direction: column; gap: var(--spacing-36); max-width: 480px; }
.point dt {
  font-size: var(--text-heading-2xs);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-6);
}
.point dd { color: var(--color-silver-mist); }

/* =========================================================
   Méthode
   ========================================================= */
.steps { display: flex; flex-direction: column; gap: var(--spacing-96); padding-top: var(--spacing-120); }
.step { display: grid; grid-template-columns: 72px 1fr; gap: var(--spacing-24); }
.step__num {
  font-size: var(--text-heading-xs);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.step .body { margin-bottom: var(--spacing-18); }

/* =========================================================
   Tarifs — typographiques, sans cartes
   ========================================================= */
.prices {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--spacing-96) clamp(36px, 6vw, 96px);
}
.price__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--spacing-12) var(--spacing-18); }
.price__head .item__title { margin-bottom: 0; }
.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 178, 122, 0.12);
  color: var(--color-peach);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tag--quiet { background: rgba(255, 255, 255, 0.06); color: var(--color-ash-gray); }
.price__amount {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-12);
  margin-top: var(--spacing-36);
  font-size: var(--text-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.price__cur {
  padding-top: 0.18em;
  font-size: var(--text-heading-xs);
  letter-spacing: 0;
  color: var(--color-ash-gray);
}
.price__after { margin-block: var(--spacing-12) var(--spacing-30); color: var(--color-ash-gray); font-size: 15px; font-weight: 400; }
.price .body { margin-bottom: var(--spacing-30); }
.checks { display: flex; flex-direction: column; gap: var(--spacing-12); }
.checks li { display: flex; align-items: baseline; gap: var(--spacing-12); }
.checks li::before {
  content: "";
  flex: none;
  width: 8px; height: 7px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--color-electric-iris);
  transform: translateY(-2px);
}
.prices__cta {
  display: flex;
  align-items: center;
  gap: var(--spacing-18) var(--spacing-36);
  flex-wrap: wrap;
  margin-top: var(--spacing-96);
}

/* =========================================================
   Exemples : cartes avec aperçu réel de la maquette
   ========================================================= */
.demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spacing-24); align-items: stretch; }
.demo { display: flex; flex-direction: column; padding: 14px 14px 22px; }
.demo .item__title { margin: 18px 10px 8px; font-size: var(--text-heading-xs); }
.demo .body { margin: 0 10px 18px; flex: 1; }
.demo__frame {
  --s: 0.3;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: #111;
}
.demo__frame iframe {
  position: absolute; top: 0; left: 0;
  width: 1200px; height: 900px;
  border: 0;
  transform: scale(var(--s));
  transform-origin: 0 0;
  pointer-events: none;
}
.demo__go {
  margin: 0 10px;
  font-size: var(--text-nav-label);
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--color-peach);
}
.demo__go span { display: inline-block; transition: transform 0.4s var(--ease); }
.demo:hover .demo__go span { transform: translateX(6px); }
@media (max-width: 960px) {
  .demos { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: flex; flex-direction: column; gap: var(--spacing-12); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-24);
  padding-block: var(--spacing-18);
  font-size: var(--text-heading-2xs);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--color-silver-mist); }
.faq__icon { position: relative; flex: none; width: 14px; height: 14px; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute; top: 50%; left: 0;
  width: 100%; height: 1.5px;
  background: var(--color-electric-iris);
  transition: transform 0.4s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item .body { padding-bottom: var(--spacing-24); max-width: 560px; }

/* =========================================================
   Contact
   ========================================================= */
.contact .display { margin-bottom: var(--spacing-36); }
.mail {
  display: inline-block;
  margin-block: var(--spacing-36) var(--spacing-12);
  font-size: var(--text-heading-2xs);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-peach);
  transition: color 0.3s var(--ease);
}
.mail:hover { color: var(--color-bone-white); }

.form { display: flex; flex-direction: column; gap: var(--spacing-36); padding-top: var(--spacing-12); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-36); }
.form .btn { align-self: flex-start; }
.form__status { display: none; align-items: baseline; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--color-silver-mist); }
.form__status.is-visible { display: flex; }
.form__status::before { content: ""; flex: none; width: 8px; height: 7px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: var(--color-electric-iris); transform: translateY(-1px); }
.form__status.is-ok::before { background: #25d366; }
.form__status.is-error::before { background: var(--color-rose); }
.form__status a { color: var(--color-peach); text-decoration: underline; }
.field { display: flex; flex-direction: column; gap: var(--spacing-6); }
.field__label {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ash-gray);
  margin-bottom: var(--spacing-6);
}
.field input, .field textarea {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: 0;
  /* Seule ligne du site : nécessaire pour qu'un champ se lise comme un champ */
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  font-size: 20px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { border-color: var(--color-electric-iris); }

.chips { display: flex; flex-wrap: wrap; gap: var(--spacing-12); }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-silver-mist);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.chip span:hover { background: rgba(255, 255, 255, 0.12); color: var(--color-bone-white); }
.chip input:checked + span { background: var(--color-bone-white); color: var(--color-void); }
.chip input:focus-visible + span { outline: 2px solid var(--color-peach); outline-offset: 3px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { padding-block: var(--spacing-60) var(--spacing-96); }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-24) var(--spacing-36);
}
.footer .logo { margin-right: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--spacing-12) var(--spacing-30); }
.footer__links a {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ash-gray);
  transition: color 0.3s var(--ease);
}
.footer__links a:hover { color: var(--color-bone-white); }

/* =========================================================
   Signature : le logo Salonia se forme en particules
   ========================================================= */
.outro { min-height: 100svh; }

/* =========================================================
   Graisses Chillax (comme sur le site Salonia)
   ========================================================= */
.display, .heading-lg, .statement__text, .item__title, .point dt,
.step__num, .price__amount, .faq__item summary, .mail, .logo { font-weight: 500; }
.display { letter-spacing: -0.035em; }
.heading-lg, .item__title { letter-spacing: -0.03em; }


/* =========================================================
   Lisibilité des petits textes : ombre très fine collée aux lettres.
   Pas sur les titres, ni dans le hero (scope .section).
   ========================================================= */
/* Les panneaux ci-dessous assurent la lisibilité : plus besoin d'ombre de texte. */

/* =========================================================
   Panneaux : rectangle gris-noir, flou, semi-opaque derrière chaque texte
   ========================================================= */
.panel {
  background: rgba(10, 10, 13, 0.34);
  /* Flou volontairement modéré : un flou plus fort, recalculé à chaque image devant la scène 3D animée, coûte cher au GPU */
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-3xl);
  padding: clamp(20px, 3vw, 36px);
}
/* Interaction : sous la souris, une trame de triangles apparaît dans le panneau
   et la bordure s'illumine (rien ne bouge, c'est la lumière qui suit le curseur) */
.panel { position: relative; isolation: isolate; --mx: 50%; --my: 50%; }
.panel::before, .panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
/* Bordure lumineuse (blanc → rose → violet) qui suit le curseur */
.panel::before {
  inset: -1px;
  padding: 2px;
  background: radial-gradient(300px circle at var(--mx) var(--my), #fff, #ff6fae 30%, #8052ff 60%, transparent 85%);
  -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);
}
/* Trame de triangles, visible uniquement autour du curseur, derrière le texte */
.panel::after {
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='41.6' viewBox='0 0 48 41.6'%3E%3Cpath d='M0 41.6 24 0 48 41.6M0 0 24 41.6 48 0M0 0H48M0 41.6H48' fill='none' stroke='%23ffffff' stroke-opacity='0.55' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 48px 41.6px;
  -webkit-mask-image: radial-gradient(200px circle at var(--mx) var(--my), #000, transparent 100%);
  mask-image: radial-gradient(200px circle at var(--mx) var(--my), #000, transparent 100%);
}
@media (hover: hover) {
  .panel:hover::before { opacity: 1; }
  .panel:hover::after { opacity: 0.5; }
}
/* Tactile : les panneaux s'animent en continu, comme les boutons —
   un contour multicolore qui avance autour du cadre + un reflet qui traverse. */
@media (hover: none) {
  .panel::before {
    opacity: 1;
    padding: 1.5px;
    background:
      conic-gradient(from var(--wa-angle), transparent 0 58%, #8052ff 70%, #ff6fae 85%, #ffb27a 95%, transparent 100%),
      conic-gradient(from var(--wa-angle), rgba(128, 82, 255, 0.3), rgba(255, 111, 174, 0.3) 33%, rgba(255, 178, 122, 0.3) 66%, rgba(128, 82, 255, 0.3));
    animation: wa-spin 7s linear infinite;
    animation-delay: calc(var(--i, 0) * -1s);
  }
  .panel::after {
    opacity: 1;
    -webkit-mask-image: none;
    mask-image: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.10) 50%, transparent 62%) 100% 0 / 250% 100% no-repeat;
    animation: panel-sheen 6s var(--ease) infinite;
    animation-delay: calc(var(--i, 0) * -0.9s);
  }
}
@keyframes panel-sheen {
  0%, 55% { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

/* Tactile : pas de survol, donc les boutons s'animent d'eux-mêmes (reflet, triangles) */
@media (hover: none) {
  .btn--primary, .link {
    animation: wa-spin 6s linear infinite, wa-sheen 5s var(--ease) infinite;
  }
  .btn--primary::after, .link::after { animation: wa-float 2.6s var(--ease) infinite; }
  .wa__shine::before { animation: wa-sheen-x 4.5s var(--ease) infinite; }
  .wa__tris .tri { animation: wa-float 2.4s var(--ease) infinite; }
  .wa__tris .tri:nth-child(2) { animation-delay: 0.6s; }
  .wa__tris .tri:nth-child(3) { animation-delay: 1.2s; }
  .wa__tris .tri:nth-child(4) { animation-delay: 1.8s; }
  .btn--primary:active, .link:active, .wa:active { transform: scale(0.97); }
}
@keyframes wa-sheen {
  0%, 60% { background-position: 100% 0, 0 0, 0 0; }
  100% { background-position: 0% 0, 0 0, 0 0; }
}
@keyframes wa-sheen-x {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.items, .steps { gap: var(--spacing-36); }
.statement .panel { max-width: 1000px; margin-inline: auto; }
.prices__cta.panel { width: fit-content; max-width: 100%; }
.faq.panel { gap: 0; }
.sticky__text.panel { width: fit-content; max-width: 100%; }
/* Sans support du flou : fond un peu plus opaque */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .panel { background: rgba(10, 10, 13, 0.85); }
}

/* =========================================================
   Apparitions (actives seulement si le JS tourne)
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s var(--ease) var(--delay, 0ms),
    transform 1.2s var(--ease) var(--delay, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Titre du hero : chaque ligne monte depuis un masque */
/* Chillax est plus large : le titre du hero est un peu réduit pour tenir sur 3 lignes */
.hero__title { font-size: clamp(48px, 6.4vw, 100px); }
.hero__title .line { display: block; overflow: hidden; white-space: nowrap; padding: 0 0.06em 0.08em 0; margin-bottom: -0.08em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span {
  transform: translateY(105%);
  transition: transform 1.3s var(--ease);
}
.js .hero__title .line:nth-child(2) > span { transition-delay: 0.12s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: 0.24s; }
.js .is-loaded .hero__title .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hero__title .line > span { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .nav { height: 72px; background: linear-gradient(to bottom, #000 72%, rgba(0, 0, 0, 0)); }
  .nav__cta { display: none; }
  .burger { display: block; }
  .nav__menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--spacing-18);
    padding-inline: var(--gutter);
    background: var(--color-void);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; }
  .nav__menu a {
    font-size: var(--text-heading-sm);
    font-weight: 400;
    letter-spacing: -0.04em;
    text-transform: none;
    color: var(--color-bone-white);
  }
  .nav__menu a.nav__menu-cta {
    display: inline-flex;
    margin-top: var(--spacing-24);
    font-size: var(--text-nav-label);
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    color: var(--color-bone-white);
  }

  .split, .prices { grid-template-columns: minmax(0, 1fr); }
  .split--head { align-items: start; margin-bottom: var(--spacing-60); }
  .body--end { justify-self: start; }
  .sticky { position: static; }
  .split--reverse > .stage { order: 2; }

  .hero { padding-top: 96px; justify-content: flex-start; }
  .stage--hero { order: -1; width: 100%; max-width: 480px; margin: 0 auto -12%; }
  .stage--side { max-width: 420px; margin-inline: auto; aspect-ratio: 1 / 0.8; }

  .items, .steps { padding-top: 0; gap: var(--spacing-60); }
  .progress { display: none; }
}

@media (max-width: 960px) {
  .points { gap: var(--spacing-24); }
  .items, .steps { gap: var(--spacing-36); }
}

/* ---------- Mobile épuré : titre sans cadre, collé à son contenu, plus d'espace vide ---------- */
@media (max-width: 960px) {
  .section { padding-block: 56px; }
  /* Plus de grand espace réservé à la forme 3D entre le titre et le contenu */
  .section .stage { display: none; }
  .split, .split--top { gap: 28px; }
  /* Le titre n'est plus dans un cadre : il se lit directement sur le fond */
  .sticky__text.panel {
    width: auto;
    padding: 0;
    background: none;
    border: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    text-shadow: 0 0 4px #000, 0 0 10px #000, 0 0 20px #000, 0 0 36px rgba(0, 0, 0, 0.95);
  }
  .split--head > .panel {
    width: auto;
    padding: 0;
    background: none;
    border: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    text-shadow: 0 0 4px #000, 0 0 10px #000, 0 0 20px #000, 0 0 36px rgba(0, 0, 0, 0.95);
  }
  .sticky__text.panel::before, .sticky__text.panel::after,
  .split--head > .panel::before, .split--head > .panel::after { display: none; }
  .sticky__text .heading-lg, .split--head .heading-lg { margin-bottom: 14px; }
  .sticky__text .label, .split--head .label { margin-bottom: 14px; }
  .sticky__text .body, .split--head .body { max-width: none; }
  /* Cartes plus compactes et un peu plus opaques pour rester lisibles sur la forme */
  .panel { padding: 20px; background: rgba(10, 10, 13, 0.5); }
  .items, .steps { gap: 14px; }
  .item .body, .step .body { margin-bottom: 12px; }
  .faq.panel { padding: 8px 20px; }
  .faq__item summary { font-size: 20px; padding-block: 16px; }
  .split--head { margin-bottom: 28px; }
  .prices { gap: 14px; }
  .prices__cta { margin-top: 28px; }
}

@media (max-width: 560px) {
  .display--stack { margin-bottom: var(--spacing-36); }
  .item__title { font-size: 34px; }
  .step { grid-template-columns: 1fr; gap: var(--spacing-12); }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { align-self: stretch; }
  .proofs { flex-direction: column; }
  .statement { min-height: auto; text-align: left; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}


/* =========================================================
   MOBILE "WAOUH" — tout est dans cette media query : l'ordinateur n'est pas touché.
   Idée : la forme 3D occupe le haut de l'écran, bien visible ; le titre puis des cartes
   à glisser (carrousels) passent dessous. Barre d'action flottante, barre de progression.
   ========================================================= */
.topbar, .dock, .dots { display: none; }

@media (max-width: 960px) {
  /* ---------- Barre de progression en haut ---------- */
  .topbar { display: block; position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
  .topbar span { display: block; height: 100%; transform-origin: left; transform: scaleX(0); will-change: transform; background: linear-gradient(90deg, #8052ff, #ff6fae, #ffb27a); box-shadow: 0 0 12px rgba(255, 111, 174, 0.7); }

  /* ---------- Barre d'action flottante (devis + WhatsApp) ---------- */
  .dock {
    display: flex; align-items: center; gap: 8px;
    position: fixed; left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 35;
    padding: 7px;
    border-radius: 999px;
    background: rgba(10, 10, 14, 0.72);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px -14px rgba(128, 82, 255, 0.6);
    opacity: 0; transform: translateY(140%);
    transition: transform 0.6s var(--ease), opacity 0.5s var(--ease);
  }
  body.dock-on .dock { opacity: 1; transform: none; }
  body.at-contact .dock { opacity: 0; transform: translateY(140%); pointer-events: none; }
  .dock__main { flex: 1; min-height: 48px; padding: 12px 18px; }
  .dock__wa {
    flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    color: #fff; background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 0 0 1px rgba(125, 255, 176, 0.4), 0 6px 22px rgba(37, 211, 102, 0.55);
    position: relative; touch-action: manipulation; -webkit-tap-highlight-color: transparent; cursor: pointer;
  }
  /* Halo pulsé sur un pseudo-élément (transform/opacity) et ne capte jamais les appuis */
  .dock__wa::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
    animation: dock-pulse 2.6s ease-out infinite;
  }
  .dock__wa svg { width: 24px; height: 24px; pointer-events: none; }
  .dock__wa:active { transform: scale(0.94); }
  @keyframes dock-pulse { to { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
  .footer { padding-bottom: 120px; }

  /* ---------- Hero : cerveau en haut, titre immense ---------- */
  .hero { padding-top: 84px; }
  .hero__text.panel { padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; text-shadow: 0 0 14px #000, 0 0 30px rgba(0,0,0,.9); }
  .hero__text.panel::before, .hero__text.panel::after { display: none; }
  .hero__title { font-size: clamp(54px, 17vw, 84px); line-height: 0.96; }
  .lead { margin-block: 22px 28px; font-size: 19px; max-width: none; }
  .actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .actions .btn, .actions .link { width: 100%; min-height: 54px; }
  /* Garanties : trois petites pastilles fixes, sous les boutons */
  .proofs { flex-direction: row; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
  .proofs li {
    padding: 8px 14px; border-radius: 999px; font-size: 12px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-silver-mist);
  }

  /* ---------- Constat : les mots s'allument au défilement ---------- */
  .statement { min-height: auto; padding-block: 18vh; text-align: left; }
  .statement .panel { padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .statement .panel::before, .statement .panel::after { display: none; }
  .statement__text { font-size: clamp(30px, 8.4vw, 40px); line-height: 1.12; text-shadow: 0 0 10px #000, 0 0 26px rgba(0, 0, 0, 0.95); }
  .statement__text .w { opacity: 0.16; filter: blur(3px); transition: opacity 0.45s var(--ease), filter 0.45s var(--ease); }
  .statement__text .w.on { opacity: 1; filter: none; }

  /* ---------- Sections : zone libre en haut pour la forme 3D, puis titre + contenu ---------- */
  .section { padding-top: 44vh; padding-top: 44svh; padding-bottom: 6vh; }
  #tarifs.section, #contact.section { padding-top: 12vh; padding-top: 12svh; }
  .section .heading-lg, .section .display:not(.hero__title) {
    background: linear-gradient(100deg, #fff 0%, #d9ccff 12%, #c3aaff 30%, #ff9fc9 52%, #ffc08a 72%, #ffb8d6 88%, #fff 100%);
    background-size: 240% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: title-sheen 7s ease-in-out infinite alternate;
    text-shadow: none;
    filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.85));
  }
  @keyframes title-sheen { to { background-position: 100% 0; } }
  .heading-lg { font-size: clamp(52px, 15vw, 70px); }
  .sticky__text.panel .body, .split--head .body { font-size: 18px; }

  /* ---------- Carrousels à glisser (cartes en « coverflow ») ---------- */
  .items, .steps, .prices, .demos {
    display: flex; flex-direction: row; align-items: stretch; grid-template-columns: none;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-inline: 8vw;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 14px 8vw 10px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  }
  .items::-webkit-scrollbar, .steps::-webkit-scrollbar, .prices::-webkit-scrollbar, .demos::-webkit-scrollbar { display: none; }
  .items > li, .steps > li, .prices > article, .demos > a { flex: 0 0 84vw; max-width: 84vw; scroll-snap-align: center; }
  .js .items > .reveal, .js .steps > .reveal, .js .prices > .reveal, .js .demos > .reveal {
    opacity: calc(1 - var(--d, 0) * 0.45);
    transform: scale(calc(1 - var(--d, 0) * 0.08));
    transition: opacity 0.25s linear, transform 0.25s linear;
  }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; }
  .dots b { font-weight: 400; font-size: 18px; line-height: 1; color: rgba(255, 255, 255, 0.75); transition: opacity 0.3s var(--ease); }
  .dots .prev { animation: swipe-l 1.6s ease-in-out infinite; }
  .dots .next { animation: swipe-r 1.6s ease-in-out infinite; }
  .dots .off { opacity: 0.15; animation: none; }
  @keyframes swipe-l { 50% { transform: translateX(-4px); } }
  @keyframes swipe-r { 50% { transform: translateX(4px); } }
  .dots i { width: 6px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.28); transition: width 0.35s var(--ease), background 0.35s var(--ease); }
  .dots i.on { width: 24px; background: linear-gradient(90deg, #8052ff, #ff6fae); }
  .prices__cta.panel { margin-top: 18px; width: auto; }

  /* Cartes un peu plus vitrées pour laisser deviner la forme derrière */
  .panel { background: rgba(10, 10, 14, 0.46); }
}


/* Titres de section : dégradé lumineux animé (ordinateur et mobile) */
.section .heading-lg, .section .display:not(.hero__title) {
  background: linear-gradient(100deg, #fff 0%, #d9ccff 12%, #c3aaff 30%, #ff9fc9 52%, #ffc08a 72%, #ffb8d6 88%, #fff 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: title-sheen 7s ease-in-out infinite alternate;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.7));
  /* Pas d'ombre de texte (elle assombrirait le dégradé) et une boîte aussi large que le mot, sinon la fin du mot est rognée */
  text-shadow: none;
  width: max-content;
  padding-right: 0.08em;
}
@keyframes title-sheen { to { background-position: 100% 0; } }
@media (prefers-reduced-motion: reduce) {
  .section .heading-lg, .section .display:not(.hero__title) { animation: none; background-position: 0 0; }
}


/* Tarifs : titre sans cadre, collé juste au-dessus des prix (ordinateur et mobile) */
#tarifs .split--head { margin-bottom: 22px; gap: 0; }
#tarifs .split--head > .panel {
  padding: 0; width: auto;
  background: none; border: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  text-shadow: 0 0 4px #000, 0 0 12px #000, 0 0 28px rgba(0, 0, 0, 0.95);
}
#tarifs .split--head > .panel::before, #tarifs .split--head > .panel::after { display: none; }
#tarifs .split--head .heading-lg { margin-bottom: 10px; }
#tarifs .split--head .label { margin-bottom: 14px; }
#tarifs .split--head .body { max-width: 560px; }


/* Tarifs : cartes plus compactes sur ordinateur (portables) */
@media (min-width: 961px) {
  .prices { gap: 24px clamp(20px, 2.6vw, 40px); }
  .price.panel { padding: clamp(20px, 2vw, 28px); }
  .price .item__title { font-size: clamp(26px, 2.3vw, 32px); }
  .price__amount { font-size: clamp(48px, 4.6vw, 68px); margin-top: 20px; }
  .price__cur { font-size: 20px; }
  .price__after { margin-block: 6px 16px; font-size: 14px; }
  .price .body { margin-bottom: 18px; font-size: 16px; line-height: 1.45; }
  .checks { gap: 8px; font-size: 15px; }
  .prices__cta { margin-top: 28px; }
}


/* Exemples : titre seul, sans cadre, collé aux cartes (ordinateur et mobile) */
#exemples .split--head { margin-bottom: 14px; gap: 0; }
#exemples .split--head > .panel {
  padding: 0; width: auto;
  background: none; border: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
#exemples .split--head > .panel::before, #exemples .split--head > .panel::after { display: none; }
#exemples .split--head .heading-lg { margin-bottom: 0; }


/* ---------- Mobile : plus de formes 3D après le cerveau → on supprime la zone réservée en haut de chaque section ---------- */
@media (max-width: 960px) {
  .section { padding-top: 9vh; padding-top: 9svh; }
  #tarifs.section, #contact.section { padding-top: 9vh; padding-top: 9svh; }
}


/* Mobile : le logo final reprend sa place, un peu moins haut qu'avant */
@media (max-width: 960px) {
  .outro { min-height: 80vh; min-height: 80svh; }
}



/* =========================================================
   Titres de section : même traitement partout — pas de cadre, même taille, même dégradé.
   (Seul le contenu — cartes, liste, formulaire — reste dans des panneaux.)
   ========================================================= */
.title-block {
  background: none; border: 0; padding: 0;
  /* Les textes posés directement sur le fond gardent un halo sombre pour rester lisibles sur les triangles */
  text-shadow: 0 0 4px #000, 0 0 8px #000, 0 0 16px #000, 0 0 30px #000, 0 0 52px rgba(0, 0, 0, 0.95);
}
.title-block .heading-lg { margin-bottom: 14px; filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 22px rgba(0, 0, 0, 0.85)); }
.title-block .body { max-width: 520px; }
.title-col { display: flex; flex-direction: column; gap: 22px; }
.contact .title-block .mail { margin-top: var(--spacing-24); }


/* Tactile : étincelles variées qui sortent des boutons (créées par main.js) — remplacent le triangle unique de ::after */
.spark { display: none; }
@keyframes spark-rise {
  0%   { opacity: 0; transform: translate(0, 6px) rotate(0deg) scale(0.5); }
  16%  { opacity: 0.95; }
  100% { opacity: 0; transform: translate(var(--dx, 0px), calc(var(--h, 40px) * -1)) rotate(var(--rot, 120deg)) scale(1); }
}
@media (hover: none) {
  .btn--primary::after, .link::after { display: none; }
  .spark {
    display: block; position: absolute; z-index: 3; pointer-events: none; opacity: 0;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
  }
}
