/* ============================================
   LUV. — Design Tokens
   ============================================ */

:root {
  --deep: #3F0009;
  --mid: #6E010E;
  --red: #FF003D;
  --cta-red: #fc021b;
  --bg: #FBEFE9;
  --cream: #FBEFE9;
  --shade: #EFEAEB;
  --crossed: #DDDDDD;
  --trust: #CC8791;
  --font: 'Neue Montreal', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Cabinet Grotesk', 'Neue Montreal', -apple-system, BlinkMacSystemFont, sans-serif;
  --edge: clamp(24px, 2.5vw, 44px);

  /* Easing */
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out-quint: cubic-bezier(0.77, 0, 0.175, 1);
}

/* Écrans laptop (≈1100–1440px, type MacBook Air 13") — gouttières latérales
   élargies pour resserrer le contenu vers le centre. Grands écrans intacts
   (contenu déjà plafonné à 1400px), mobile intact (--edge propre ≤768px). */
@media (min-width: 1101px) and (max-width: 1440px) {
  :root {
    --edge: clamp(42px, 4.4vw, 60px);
  }
}

/* Landmarks sémantiques — wrappers sans boîte (zéro impact sur la mise en page) */
.site-header,
.site-main {
  display: contents;
}

/* ============================================
   Reset
   ============================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--deep);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  scrollbar-width: none;
  min-width: 320px;
  isolation: isolate;
}

/* ============================================
   Background dynamique — transitions de couleur
   pilotées par GSAP/ScrollTrigger (.page-bg fixed
   derrière le contenu, sections transparentes
   pour laisser passer la couleur animée).
   ============================================ */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--cream);
  will-change: background-color;
}

body.js-bg-transitions .hero,
body.js-bg-transitions .pain,
body.js-bg-transitions .ugc,
body.js-bg-transitions .tech,
body.js-bg-transitions .timeline,
body.js-bg-transitions .verdict,
body.js-bg-transitions .faq,
body.js-bg-transitions .invite,
body.js-bg-transitions .footer {
  background: transparent;
}

/* La bande disclaimer entre Timeline et Verdict — fond transparent
   pour suivre la transition du page-bg. Le texte conserve sa lisibilité
   sur fond deep (proche-invisible, voulu) et sur fond cream (lisible) */
body.js-bg-transitions .timeline__legal {
  background: transparent;
  color: rgba(63, 0, 9, 0.5);
}

/* ============================================
   Bascule des éléments deep-coloured vers cream
   quand le page-bg passe sur une couleur sombre
   (toggle body.bg-is-dark, géré par initSectionBgTransitions)
   ============================================ */

/* Transitions pour éviter les snaps de couleur quand la classe bascule */
.invite__label,
.invite__label strong,
.invite__heading,
.invite__line,
.invite__trust,
.invite__dot {
  transition: color 0.4s ease, background-color 0.4s ease;
}

body.bg-is-dark .invite__label,
body.bg-is-dark .invite__label strong,
body.bg-is-dark .invite__heading,
body.bg-is-dark .invite__trust {
  color: var(--cream);
}

body.bg-is-dark .invite__dot {
  background: var(--cream);
}

/* Préserve la couleur accent (rouge) qui reste lisible sur n'importe quel fond */
body.bg-is-dark .invite__line--accent {
  color: var(--red);
}

/* Reduce-motion : on désactive le fond animé,
   on garde les fonds CSS d'origine */
@media (prefers-reduced-motion: reduce) {
  .page-bg { display: none; }
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

html {
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
video { display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================
   Grain — animated noise
   ============================================ */

.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grainDrift 0.8s steps(2) infinite;
}

@keyframes grainDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3%, 3%); }
}

/* ============================================
   BANDEAU OFFRE
   ============================================ */

.bar {
  background: var(--deep);
  padding: 9px var(--edge);
  opacity: 0;
  transform: translateY(-100%);
  animation: slideDown 0.7s var(--ease-out-expo) 0.1s forwards;
}

@keyframes slideDown {
  to { opacity: 1; transform: translateY(0); }
}

.bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.bar__text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(251, 239, 233, 0.55);
}

.bar__pill {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--red);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, border-color 0.3s ease;
  height: 96px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  padding: 0 max(var(--edge), calc(50% - 700px));
  border-bottom: none;
  opacity: 0;
  animation: fadeIn 0.8s ease 0.3s forwards;
}

.nav--scrolled {}

@keyframes fadeIn {
  to { opacity: 1; }
}

.nav__left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav svg {
  height: 28px;
  width: auto;
  fill: var(--deep);
  transition: fill 0.4s ease, opacity 0.3s ease;
}

.nav__logo:hover svg { opacity: 0.5; }

.nav__links {
  display: flex;
  gap: 36px;
}

.nav__link {
  font-size: 16px;
  font-weight: 400;
  color: var(--deep);
  transition: color 0.4s ease, opacity 0.3s ease;
}

.nav__link:hover { opacity: 0.4; }

.nav__cta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cream);
  background: var(--deep);
  padding: 11px 30px;
  border-radius: 100px;
  transition: color 0.4s ease, background 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.nav__cta:hover {
  background: var(--mid);
  transform: translateY(-1px);
}

/* --- Switch de langue (desktop) — outline qui se remplit au hover --- */
.nav__lang {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--deep);
  background: transparent;
  border: 1px solid var(--deep);
  padding: 10px 18px;
  border-radius: 100px;
  text-transform: uppercase;
  transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.nav__lang:hover {
  color: var(--cream);
  background: var(--deep);
  transform: translateY(-1px);
}

.nav--dark .nav__lang {
  color: var(--cream);
  border-color: var(--cream);
}

.nav--dark .nav__lang:hover {
  color: var(--deep);
  background: var(--cream);
}

/* Nav — dark section override */
.nav--dark {
  background: var(--deep);
}

.nav--dark.nav--scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav--dark svg {
  fill: var(--cream);
}

.nav--dark .nav__link {
  color: var(--cream);
}

.nav--dark .nav__cta {
  color: var(--deep);
  background: var(--cream);
}

.nav--dark .nav__cta:hover {
  background: var(--cream);
}

/* --- Nav right group --- */
.nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* --- Burger (hidden on desktop) --- */
.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 102;
}

.nav__burger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--deep);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease, background 0.3s ease;
}

.nav--dark .nav__burger-line {
  background: var(--cream);
}

/* Burger → X when menu open */
.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(2) {
  opacity: 0;
}

.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Mobile menu overlay --- */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 101;
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out-expo), visibility 0s linear 0.5s;
}

.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s var(--ease-out-expo), visibility 0s linear 0s;
}

.nav-mobile__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vh, 32px);
  padding: 0 var(--edge);
}

.nav-mobile__link {
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--cream);
  line-height: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.nav-mobile.is-open .nav-mobile__link {
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile.is-open .nav-mobile__link:nth-child(1) { transition-delay: 0.1s; }
.nav-mobile.is-open .nav-mobile__link:nth-child(2) { transition-delay: 0.18s; }
.nav-mobile.is-open .nav-mobile__link:nth-child(3) { transition-delay: 0.26s; }

.nav-mobile__cta {
  margin-top: clamp(24px, 4vh, 40px);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--deep);
  background: var(--cream);
  padding: 14px 32px;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out-expo) 0.34s, transform 0.6s var(--ease-out-expo) 0.34s, background 0.3s ease;
}

.nav-mobile.is-open .nav-mobile__cta {
  opacity: 1;
  transform: translateY(0);
}

/* --- Switch de langue (mobile) --- */
.nav-mobile__lang {
  margin-top: clamp(20px, 3vh, 32px);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cream);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out-expo) 0.42s, transform 0.6s var(--ease-out-expo) 0.42s;
  border-bottom: 1px solid rgba(251, 239, 233, 0.2);
  padding-bottom: 6px;
}

.nav-mobile.is-open .nav-mobile__lang {
  opacity: 0.55;
  transform: translateY(0);
}

.nav-mobile__lang:hover,
.nav-mobile__lang:focus { opacity: 1; }

/* Hide burger above tablet */
@media (min-width: 769px) {
  .nav__burger { display: none; }
  .nav-mobile { display: none; }
}

@media (max-width: 768px) {
  .nav__burger { display: flex; }
  /* Hide the nav CTA + lang switch on mobile — the burger menu has its own */
  .nav__cta { display: none; }
  .nav__lang { display: none; }
}

/* Prevent body scroll when menu open */
body.nav-mobile-open {
  overflow: hidden;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  margin-top: -116px;
  padding-top: 116px;
  min-height: calc(100dvh - 30px);
  display: flex;
  align-items: stretch;
  position: relative;
  background: #FBEFE9;
}

.hero__inner {
  width: calc(100% - 2 * var(--edge));
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0 clamp(28px, 3.5vw, 56px);
}

/* ---------- Content ---------- */

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 6vh, 60px) 0;
}

.hero__tag {
  font-size: 16px;
  font-weight: 400;
  color: var(--deep);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.hero__tag-accent {
  font-weight: 500;
}

.hero__title {
  font-size: clamp(2.1rem, 3.3vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--deep);
  max-width: 780px;
  margin-bottom: 28px;
}

.hero__subtitle {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--deep);
  opacity: 0.7;
  max-width: 440px;
  margin-bottom: clamp(36px, 6vh, 56px);
}

.hero__subtitle sup {
  font-size: 0.6em;
}

/* CTA — red pill + dark arrow circle */

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--cta-red);
  border-radius: 100px;
  padding: 6px 6px 6px 24px;
  align-self: flex-start;
  margin-bottom: clamp(28px, 4vh, 40px);
  transition: transform 0.5s var(--ease-out-expo);
}

.hero__cta:hover {
  transform: translateY(-2px);
}

.hero__cta:hover .hero__cta-arrow {
  background: var(--mid);
}

.hero__cta-text {
  font-size: 17px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.01em;
  padding-right: 14px;
  transition: transform 0.5s var(--ease-out-expo);
}

.hero__cta-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.5s var(--ease-out-expo),
    background 0.4s ease;
}

.hero__cta-arrow svg {
  width: 17px;
  height: 17px;
  transition: transform 0.4s var(--ease-out-expo);
}

/* Pricing */

/* ---------- Media ---------- */

.hero__media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 1 / 1.1;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: clamp(380px, 40vw, 500px);
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 4s var(--ease-out-expo);
}

.hero__media:hover .hero__video {
  transform: scale(1.02);
}

/* Play / Pause */

.hero__play-pause {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.hero__media:hover .hero__play-pause {
  opacity: 1;
}

.hero__play-pause:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hero__play-pause svg {
  width: 14px;
  height: 14px;
}

.hero__icon-play {
  display: none;
}

.hero__play-pause.is-paused .hero__icon-pause {
  display: none;
}

.hero__play-pause.is-paused .hero__icon-play {
  display: block;
}

/* ============================================
   SECTION 03 — NOMMER LA DOULEUR
   ============================================ */

.pain {
  background: var(--deep);
  height: 400vh;
  position: relative;
}

.pain__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pain__svg {
  width: 100%;
  max-width: 1400px;
  height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, white 15%, white 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, white 15%, white 85%, transparent 100%);
}

.pain__phrase {
  will-change: opacity;
  transition: opacity 0.15s ease-out;
}

.pain__arc-text {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 500;
  fill: var(--cream);
  letter-spacing: 0.04em;
}

/* CTA — appears on last phrase */
.pain__cta {
  position: absolute;
  bottom: clamp(140px, 20vh, 220px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--cta-red);
  border-radius: 100px;
  padding: 6px 6px 6px 24px;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out-expo);
}

.pain__cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.pain__cta:hover {
  transform: translateX(-50%) translateY(-2px);
}

.pain__cta-text {
  font-size: 17px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.01em;
  padding-right: 14px;
  white-space: nowrap;
  transition: transform 0.5s var(--ease-out-expo);
}

.pain__cta-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.5s var(--ease-out-expo),
    background 0.4s ease;
}

.pain__cta:hover .pain__cta-arrow {
  background: var(--mid);
}

.pain__cta-arrow svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 900px) {
  .pain {
    height: 320vh;
  }

  .pain__arc-text {
    font-size: 52px;
  }
}

@media (max-width: 600px) {
  .pain {
    height: 280vh;
  }

  .pain__arc-text {
    font-size: 60px;
  }

  .pain__cta {
    bottom: clamp(120px, 18vh, 180px);
    padding: 5px 5px 5px 20px;
  }

  .pain__cta-text {
    font-size: 14px;
  }

  .pain__cta-arrow {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 400px) {
  .pain__arc-text {
    font-size: 62px;
    letter-spacing: 0.02em;
  }
}

/* ============================================
   SECTION — TECHNOLOGIES
   ============================================ */

.tech {
  background: #FBEFE9;
  height: 200vh;
  position: relative;
}

.tech__sticky {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: clamp(60px, 9vh, 110px);
  overflow: hidden;
}

/* Label */
.tech__label {
  position: absolute;
  top: clamp(80px, 12vh, 140px);
  left: max(var(--edge), calc(50% - 700px));
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  color: var(--deep);
  letter-spacing: 0.02em;
}

.tech__label strong {
  font-weight: 500;
}

/* Inner grid */
.tech__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  gap: clamp(36px, 4.5vw, 76px);
  width: calc(100% - 2 * var(--edge));
  max-width: 1400px;
  margin: 0 auto;
}

/* ---------- Card Stack ---------- */

.tech__cards {
  position: relative;
  width: 100%;
  max-width: 420px;
  justify-self: center;
  aspect-ratio: 1 / 1.1;
}

.tech__card-wrap {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.tech__card-wrap:nth-child(1) { z-index: 3; }
.tech__card-wrap:nth-child(2) { z-index: 2; }
.tech__card-wrap:nth-child(3) { z-index: 1; }

.tech__card {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  padding: clamp(16px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  background: var(--deep);
}

/* Deck offsets for behind cards */
.tech__card-wrap:nth-child(2) .tech__card {
  transform: rotate(2.5deg) translate(6px, 8px);
}

.tech__card-wrap:nth-child(3) .tech__card {
  transform: rotate(-2deg) translate(-4px, 12px);
}

/* ---------- Shared card elements ---------- */

.tech__star {
  font-weight: inherit;
}

.tech__note {
  font-size: 12px;
  font-weight: 400;
  color: var(--cream);
  opacity: 0.3;
  letter-spacing: 0.02em;
}

/* ---------- Card 1: LED ---------- */

.tech__led-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  width: 100%;
  height: 100%;
}

.tech__led-header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tech__led-title {
  font-size: clamp(27px, 3vw, 44px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.tech__led-header .tech__note {
  margin-top: auto;
}

.tech__led-cell {
  border-radius: 14px;
  padding: clamp(10px, 1.4vw, 16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tech__led-cell--blue  { background: #AECEFD; }
.tech__led-cell--red   { background: #FE6D6F; }
.tech__led-cell--green { background: #6FDA47; }

.tech__led-name {
  font-size: clamp(17px, 1.75vw, 24px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.02;
}

.tech__led-val {
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.01em;
  background: var(--deep);
  padding: 4px 11px;
  border-radius: 100px;
  align-self: flex-start;
}

/* ---------- Card 2: EMS ---------- */

.tech__card-title {
  font-size: clamp(27px, 3vw, 44px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: clamp(22px, 4vh, 42px);
}

.tech__sup {
  font-size: 0.4em;
  font-weight: 400;
  color: var(--red);
  vertical-align: super;
  letter-spacing: 0.02em;
}

.tech__accent {
  color: var(--red);
}

.tech__card-metric {
  font-size: clamp(22px, 2.35vw, 34px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
}

.tech__card--ems .tech__note,
.tech__card--thermo .tech__note {
  margin-top: auto;
}

/* ---------- Card 3: Thermothérapie ---------- */

.tech__card-desc {
  font-size: clamp(22px, 2.35vw, 34px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  margin-top: 4px;
}

/* ---------- Right text ---------- */

.tech__text {
  display: flex;
  flex-direction: column;
  position: relative;
}

.tech__text-block {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.tech__text-block.is-active {
  position: relative;
  pointer-events: auto;
}

/* --- Children enter/exit --- */

.tech__text-block .tech__pill {
  opacity: 0;
  transform: translateX(-14px) scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tech__text-block.is-active .tech__pill {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition: opacity 0.4s ease 0.05s, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.05s;
}

/* Title — mask reveal: the line rises out from behind the clip edge */
.tech__text-block .tech__title-inner {
  display: block;
  transform: translateY(115%);
  transition: transform 0.25s ease;
}

.tech__text-block.is-active .tech__title-inner {
  transform: translateY(0);
  transition: transform 0.85s var(--ease-out-expo) 0.12s;
}

.tech__text-block .tech__body {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.15s ease, transform 0.2s ease;
}

.tech__text-block.is-active .tech__body {
  opacity: 0.55;
  transform: translateY(0);
  transition: opacity 0.5s ease 0.3s, transform 0.6s var(--ease-out-expo) 0.3s;
}

.tech__text-block.is-active .tech__body--last {
  transition: opacity 0.5s ease 0.42s, transform 0.6s var(--ease-out-expo) 0.42s;
}

.tech__title {
  font-size: clamp(22px, 2.65vw, 36px);
  font-weight: 400;
  color: var(--deep);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: clamp(16px, 2.2vh, 30px);
  overflow: hidden; /* clip edge — the mask the title rises out of */
  padding-bottom: 0.1em; /* descender breathing room inside the clip */
}

.tech__pill {
  display: inline-block;
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: clamp(16px, 2vh, 24px);
  align-self: flex-start;
}

.tech__pill--red {
  background: var(--red);
  color: var(--cream);
}

.tech__body {
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 400;
  color: var(--deep);
  line-height: 1.35;
  letter-spacing: -0.005em;
  opacity: 0.5;
  max-width: 560px;
}

.tech__body--last {
  margin-top: clamp(16px, 2vh, 28px);
}

/* ============================================
   SECTION — TIMELINE (cercle)
   ============================================ */

.timeline {
  background: var(--deep);
  height: 340vh;
  position: relative;
}

.timeline__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__label {
  position: absolute;
  top: clamp(80px, 12vh, 140px);
  left: max(var(--edge), calc(50% - 700px));
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.02em;
  z-index: 5;
}

.timeline__label strong { font-weight: 500; }

/* Bande mention légale — placée après la section timeline, hors du sticky :
   l'illustration occupe le plein viewport, ce texte n'apparaît qu'au scroll. */
.timeline__legal {
  margin: 0;
  background: var(--deep);
  padding: clamp(44px, 8vh, 92px) var(--edge);
  text-align: center;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(251, 239, 233, 0.34);
  letter-spacing: 0.01em;
}

/* --- Ring stage --- */
.timeline__ring {
  position: relative;
  width: clamp(200px, 31vh, 338px);
  height: clamp(200px, 31vh, 338px);
}

.timeline__svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.timeline__ring-track {
  fill: none;
  stroke: rgba(251, 239, 233, 0.12);
  stroke-width: 2;
}

.timeline__ring-fill {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-box: fill-box;
  transform-origin: center;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

/* --- Center heading --- */
.timeline__core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12%;
  text-align: center;
}

.timeline__heading {
  font-size: clamp(1.1rem, 1.9vw, 1.85rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--cream);
}

/* --- Moments wrapper ---
   display: contents on desktop → the 4 moments behave as direct children
   of .timeline__ring so the circle positioning works. On mobile it becomes
   a real block (the linear track). */
.timeline__moments {
  display: contents;
}

/* --- Connecting line — hidden on desktop (the SVG ring is the progress),
   shown on mobile as the vertical timeline track --- */
.timeline__line {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(251, 239, 233, 0.12);
  pointer-events: none;
}

.timeline__line-fill {
  display: block;
  position: absolute;
  inset: 0;
  background: var(--red);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.1s linear;
}

/* --- Moments around the ring ---
   Each moment is nudged by half a dot so the dot's CENTRE lands on the
   circle stroke (not its edge). */
.timeline__moment {
  position: absolute;
  display: flex;
  --gap: clamp(15px, 2.2vw, 32px);
  --dot: 9px;
}

.timeline__moment--top {
  bottom: calc(100% - var(--dot) / 2);
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: var(--gap);
}

.timeline__moment--bottom {
  top: calc(100% - var(--dot) / 2);
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: var(--gap);
}

.timeline__moment--right {
  left: calc(100% - var(--dot) / 2);
  top: 50%;
  transform: translateY(-50%);
  flex-direction: row;
  align-items: center;
  gap: var(--gap);
}

.timeline__moment--left {
  right: calc(100% - var(--dot) / 2);
  top: 50%;
  transform: translateY(-50%);
  flex-direction: row;
  align-items: center;
  gap: var(--gap);
}

/* --- Dot on the circle --- */
.timeline__dot {
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: var(--deep);
  border: 1.5px solid rgba(251, 239, 233, 0.4);
  flex-shrink: 0;
  transition:
    background 0.5s ease,
    border-color 0.5s ease,
    transform 0.6s var(--ease-out-expo);
}

.timeline__moment.is-visible .timeline__dot {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.35);
}

/* --- Moment body — dimmed until revealed --- */
.timeline__body {
  display: flex;
  flex-direction: column;
  gap: clamp(7px, 1.1vh, 12px);
  width: clamp(162px, 18vw, 230px);
  opacity: 0.22;
  filter: saturate(0.3);
  transition:
    opacity 0.9s var(--ease-out-expo),
    filter 0.9s var(--ease-out-expo);
}

.timeline__moment.is-visible .timeline__body {
  opacity: 1;
  filter: saturate(1);
}

.timeline__moment--top .timeline__body,
.timeline__moment--bottom .timeline__body {
  align-items: center;
  text-align: center;
}

.timeline__moment--left .timeline__body {
  align-items: flex-end;
  text-align: right;
}

.timeline__moment--right .timeline__body {
  align-items: flex-start;
  text-align: left;
}

.timeline__pill {
  display: inline-block;
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 500;
  color: var(--cream);
  background: var(--mid);
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.timeline__pill sup {
  font-size: 0.7em;
  vertical-align: super;
  letter-spacing: 0;
  text-transform: lowercase;
}

.timeline__desc {
  font-size: clamp(0.81rem, 1.05vw, 1.02rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.timeline__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline__val {
  font-size: clamp(1.15rem, 1.75vw, 1.82rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--red);
}

.timeline__stat-label {
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 400;
  color: var(--cream);
  opacity: 0.6;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* Laptops à écran peu haut (13"–15") — l'illustration se centre dans le plein
   viewport ; on resserre juste ce qu'il faut le cercle et ses marges. La
   mention légale est hors du sticky (bande après la section), donc plus de
   chevauchement. Limité au desktop (>1024px) pour ne pas toucher le mobile. */
@media (min-width: 1025px) and (max-height: 1000px) {
  .timeline__ring {
    width: clamp(170px, 28vh, 310px);
    height: clamp(170px, 28vh, 310px);
  }
  .timeline__heading {
    font-size: clamp(0.9rem, 1.4vw, 1.4rem);
  }
  .timeline__moment {
    --gap: clamp(13px, 1.9vw, 26px);
  }
}

/* --- Responsive — tablet & below: the circle reverts to the linear timeline --- */
@media (max-width: 1024px) {
  /* Section back to normal flow — no sticky, no fixed height */
  .timeline {
    height: auto;
  }

  .timeline__sticky {
    position: static;
    height: auto;
    display: block;
    padding: clamp(60px, 10vh, 110px) var(--edge) clamp(56px, 9vh, 100px);
  }

  .timeline__label {
    position: static;
    display: block;
    width: 100%;
    margin: 0 0 clamp(48px, 9vh, 96px);
  }

  /* Heading → section intro above the track, left-aligned */
  .timeline__core {
    position: static;
    inset: auto;
    display: block;
    place-items: start;
    padding: 0;
    text-align: left;
    margin-bottom: clamp(48px, 9vh, 90px);
  }

  .timeline__heading {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    text-align: left;
  }

  /* Ring → transparent wrapper */
  .timeline__ring {
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
    display: block;
  }

  .timeline__svg { display: none; }

  /* Moments wrapper → the vertical track */
  .timeline__moments {
    --pad: clamp(28px, 7vw, 44px);
    display: block;
    position: relative;
    width: 100%;
    max-width: 560px;
    padding-left: var(--pad);
  }

  .timeline__line {
    display: block;
  }

  /* Each moment → block in the track */
  .timeline__moment,
  .timeline__moment--top,
  .timeline__moment--bottom,
  .timeline__moment--left,
  .timeline__moment--right {
    position: relative;
    transform: none;
    inset: auto;
    display: block;
    width: 100%;
    padding: clamp(34px, 6.5vh, 68px) 0;
  }

  .timeline__moment:first-of-type { padding-top: 0; }
  .timeline__moment:last-of-type { padding-bottom: 0; }

  /* Dot → on the line, aligned with the pill */
  .timeline__dot {
    display: block;
    position: absolute;
    left: calc(var(--pad) * -1 - 5px);
    top: calc(clamp(34px, 6.5vh, 68px) + 8px);
    width: 12px;
    height: 12px;
    border-width: 2px;
  }

  .timeline__moment:first-of-type .timeline__dot {
    top: 8px;
  }

  /* Body → full width, left aligned */
  .timeline__body,
  .timeline__moment--top .timeline__body,
  .timeline__moment--bottom .timeline__body,
  .timeline__moment--left .timeline__body,
  .timeline__moment--right .timeline__body {
    width: 100%;
    align-items: flex-start;
    text-align: left;
    gap: clamp(14px, 2.4vh, 24px);
  }

  .timeline__desc {
    font-size: clamp(1.3rem, 5.2vw, 1.85rem);
  }

  .timeline__val {
    font-size: clamp(1.6rem, 7vw, 2.3rem);
  }
}

@media (max-width: 480px) {
  .timeline__heading {
    font-size: clamp(1.6rem, 8.5vw, 2.2rem);
  }
}

/* ============================================
   SECTION — CTA INTERMÉDIAIRE (Invite)
   ============================================ */

.invite {
  background: #EDE3D6;
  padding: clamp(120px, 20vh, 220px) 0 clamp(140px, 22vh, 260px);
  position: relative;
  overflow: hidden;
}

.invite__label {
  display: block;
  width: calc(100% - 2 * var(--edge));
  max-width: 1400px;
  margin: 0 auto clamp(100px, 16vh, 200px);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  color: var(--deep);
  letter-spacing: 0.02em;
}

.invite__label strong {
  font-weight: 500;
}

.invite__inner {
  width: calc(100% - 2 * var(--edge));
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Editorial heading --- */
.invite__heading {
  font-size: clamp(2.6rem, 6.2vw, 6.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--deep);
  margin-bottom: clamp(56px, 8vh, 96px);
}

.invite__line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s var(--ease-out-expo),
    transform 1s var(--ease-out-expo);
}

.invite.is-visible .invite__line {
  opacity: 1;
  transform: translateY(0);
}

.invite.is-visible .invite__line:nth-child(2) {
  transition-delay: 0.15s;
}

.invite__line--accent {
  color: var(--red);
}

/* --- CTA — same DNA as hero CTA --- */
.invite__cta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--cta-red);
  border-radius: 100px;
  padding: 8px 8px 8px 32px;
  margin-bottom: clamp(28px, 4vh, 44px);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s var(--ease-out-expo) 0.35s,
    transform 0.8s var(--ease-out-expo) 0.35s,
    background 0.4s ease;
}

.invite.is-visible .invite__cta {
  opacity: 1;
  transform: translateY(0);
}

.invite__cta:hover {
  transform: translateY(-2px);
}

.invite__cta:hover .invite__cta-arrow {
  background: var(--mid);
}

.invite__cta-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.01em;
  padding-right: 16px;
  transition: transform 0.5s var(--ease-out-expo);
}

.invite__cta-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.5s var(--ease-out-expo),
    background 0.4s ease;
}

.invite__cta-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-out-expo);
}

/* --- Trust line --- */
.invite__trust {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 400;
  color: var(--deep);
  opacity: 0;
  transform: translateY(10px);
  letter-spacing: 0.01em;
  transition:
    opacity 0.8s ease 0.55s,
    transform 0.8s var(--ease-out-expo) 0.55s;
}

.invite.is-visible .invite__trust {
  opacity: 0.5;
  transform: translateY(0);
}

.invite__dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--deep);
  opacity: 0.6;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .invite__heading {
    font-size: clamp(2.2rem, 6vw, 4rem);
  }
}

@media (max-width: 768px) {
  .invite {
    padding: clamp(70px, 12vh, 120px) 0 clamp(120px, 18vh, 200px);
  }

  .invite__label {
    margin-bottom: clamp(56px, 10vh, 120px);
  }

  .invite__heading {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    margin-bottom: clamp(40px, 6vh, 60px);
    padding: 0 var(--edge);
  }

  .invite__cta {
    padding: 6px 6px 6px 22px;
  }

  .invite__cta-text { font-size: 15px; padding-right: 12px; }
  .invite__cta-arrow { width: 42px; height: 42px; }

  .invite__trust {
    font-size: 11px;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 var(--edge);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .invite__heading {
    font-size: clamp(1.6rem, 8.5vw, 2.2rem);
  }
  .invite__trust {
    font-size: 10px;
    gap: 8px;
  }
}

/* ============================================
   SECTION — COMPARATIF (Le Verdict)
   ============================================ */

.verdict {
  background: var(--cream);
  padding: clamp(80px, 12vh, 140px) 0 clamp(120px, 18vh, 220px);
  position: relative;
}

.verdict__label {
  display: block;
  width: calc(100% - 2 * var(--edge));
  max-width: 1400px;
  margin: 0 auto clamp(100px, 16vh, 200px);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  color: var(--deep);
  letter-spacing: 0.02em;
}

.verdict__label strong {
  font-weight: 500;
}

.verdict__heading {
  width: calc(100% - 2 * var(--edge));
  max-width: 1000px;
  margin: 0 auto clamp(52px, 8.5vh, 100px);
  font-size: clamp(2rem, 3.9vw, 3.9rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--deep);
  text-align: center;
}

.verdict__stack {
  width: calc(100% - 2 * var(--edge));
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(34px, 5vh, 58px); /* roomier — tilted cards need breathing space */
}

/* --- Card base --- */
.verdict__card {
  --tilt: 0deg;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 0.9fr;
  gap: clamp(20px, 3.2vw, 48px);
  align-items: center;
  padding: clamp(22px, 3.6vh, 40px) clamp(24px, 3.2vw, 46px);
  border-radius: 18px;
  transition:
    filter 1s var(--ease-out-expo),
    opacity 1s var(--ease-out-expo),
    transform 1s var(--ease-out-expo);
}

/* --- Losing cards — tilted, warm paper (collage feel) --- */
.verdict__card--out {
  --tilt: -2deg;
  background: #FFFCF9;
  border: 1px solid rgba(63, 0, 9, 0.1);
  color: var(--deep);
  box-shadow: 0 8px 20px -16px rgba(63, 0, 9, 0.16);
  opacity: 0;
  transform: translateY(40px) rotate(var(--tilt));
  transition:
    filter 0.7s var(--ease-out-expo),
    opacity 0.55s var(--ease-out-expo),
    transform 0.75s cubic-bezier(0.34, 1.5, 0.64, 1);
}

.verdict__card--out[data-option="1"] {
  --tilt: 2.3deg;
}

.verdict__card--out.is-revealed {
  opacity: 1;
  transform: translateY(0) rotate(var(--tilt));
}

/* Struck = dismissed — the name fades back, the stamp takes over */
.verdict__card--out .verdict__head {
  transition: opacity 0.7s var(--ease-out-expo);
}

.verdict__card--out.is-struck .verdict__head {
  opacity: 0.5;
}

/* Hover → the card wiggles & perks back up */
.verdict__card--out.is-revealed:hover {
  opacity: 1;
  animation: cardWiggle 0.65s ease-in-out;
}

@keyframes cardWiggle {
  0%, 100% { transform: translateY(0) rotate(var(--tilt)); }
  25% { transform: translateY(0) rotate(calc(var(--tilt) - 2deg)); }
  60% { transform: translateY(0) rotate(calc(var(--tilt) + 1.6deg)); }
}

/* --- Big diagonal STAMP — the playful rejection mark --- */
.verdict__stamp {
  position: absolute;
  top: clamp(30px, 5vh, 54px);
  right: clamp(18px, 4vw, 54px);
  --rot: -13deg;
  z-index: 5;
  font-size: clamp(17px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--red);
  border: 3px solid var(--red);
  border-radius: 9px;
  padding: 8px 17px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: rotate(var(--rot)) scale(0);
  transition:
    transform 0.5s cubic-bezier(0.34, 1.8, 0.5, 1),
    opacity 0.25s ease;
}

.verdict__card--out[data-option="1"] .verdict__stamp { --rot: 11deg; }

/* Slap-in when the card gets struck */
.verdict__card--out.is-struck .verdict__stamp {
  opacity: 0.92;
  transform: rotate(var(--rot)) scale(1);
}

/* Hover → the stamp wiggles harder than the card */
.verdict__card--out.is-struck:hover .verdict__stamp {
  animation: stampWiggle 0.6s ease-in-out;
}

@keyframes stampWiggle {
  0%, 100% { transform: rotate(var(--rot)) scale(1); }
  25% { transform: rotate(calc(var(--rot) - 7deg)) scale(1.09); }
  60% { transform: rotate(calc(var(--rot) + 5deg)) scale(1.05); }
}

/* --- Doodles — hand-drawn accents on the winner --- */
.verdict__doodle {
  position: absolute;
  pointer-events: none;
  z-index: 7;
}

.verdict__doodle-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1s ease 0.5s;
}

.verdict__card--win.is-revealed .verdict__doodle-path {
  stroke-dashoffset: 0;
}

/* circled price — drawn behind the number */
.verdict__doodle--circle {
  width: 162%;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-53%, -50%);
  z-index: -1;
}

/* arrow pointing down at the winner card */
.verdict__doodle--arrow {
  width: clamp(56px, 6vw, 82px);
  height: auto;
  top: clamp(-54px, -5vw, -42px);
  right: clamp(26px, 6vw, 84px);
  transform: rotate(7deg);
}

/* circled price — text above the doodle */
.verdict__stat--circled { position: relative; }
.verdict__stat--circled .verdict__stat-val,
.verdict__stat--circled .verdict__stat-lbl {
  position: relative;
  z-index: 2;
}

.verdict__stat--circled .verdict__stat-val {
  align-self: flex-start;
}


/* --- Winner ribbon — slapped-on badge that pops --- */
.verdict__ribbon {
  position: absolute;
  top: -16px;
  left: clamp(24px, 4vw, 40px);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--cream);
  background: var(--red);
  padding: 9px 18px;
  border-radius: 100px;
  z-index: 6;
  box-shadow: 0 5px 14px rgba(255, 0, 61, 0.16);
  opacity: 0;
  transform: rotate(-4deg) scale(0);
  transform-origin: left center;
  transition:
    opacity 0.35s ease 0.45s,
    transform 0.7s cubic-bezier(0.34, 1.75, 0.5, 1) 0.45s;
}

.verdict__card--win.is-revealed .verdict__ribbon {
  opacity: 1;
  transform: rotate(-4deg) scale(1);
}

/* Hover → the badge wiggles */
.verdict__card--win.is-revealed:hover .verdict__ribbon {
  animation: ribbonWiggle 0.6s ease-in-out;
}

@keyframes ribbonWiggle {
  0%, 100% { transform: rotate(-4deg) scale(1); }
  30% { transform: rotate(-11deg) scale(1.08); }
  65% { transform: rotate(2deg) scale(1.05); }
}

/* --- Winner card — slightly tilted too (collage) --- */
.verdict__card--win {
  --tilt: -1.4deg;
  background: var(--deep);
  color: var(--cream);
  opacity: 0;
  transform: translateY(40px) scale(0.97) rotate(var(--tilt));
  will-change: transform;
  transition:
    opacity 0.6s var(--ease-out-expo),
    transform 0.75s cubic-bezier(0.34, 1.5, 0.64, 1);
  cursor: default;
}

.verdict__card--win.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(var(--tilt));
  animation: winBreathe 4.5s ease-in-out 1.2s infinite;
}

@keyframes winBreathe {
  0%, 100% {
    transform: translateY(0) scale(1) rotate(var(--tilt));
  }
  50% {
    transform: translateY(-3px) scale(1.006) rotate(var(--tilt));
  }
}

.verdict__card--win.is-revealed:hover {
  animation: none;
  transform: translateY(-6px) scale(1.015) rotate(var(--tilt));
  transition: transform 0.45s cubic-bezier(0.34, 1.6, 0.64, 1);
}

/* --- Head --- */
.verdict__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.verdict__tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.45;
  margin-bottom: 4px;
}

.verdict__tag--win {
  padding: 5px 14px;
  background: var(--red);
  color: var(--cream);
  border-radius: 100px;
  opacity: 1;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.verdict__name {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.verdict__name--win {
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.verdict__sub {
  font-size: 13px;
  opacity: 0.5;
  letter-spacing: 0;
}

.verdict__sub--win {
  opacity: 0.55;
}

/* --- Stats --- */
.verdict__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 32px);
}

.verdict__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.verdict__stat-val {
  font-size: clamp(1.15rem, 1.75vw, 1.65rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  transition: color 0.6s ease, transform 0.6s var(--ease-out-expo);
}

/* Flip price animation — price pulses red then settles */
.verdict__card--out.is-flipped .verdict__stat-val[data-flip] {
  color: var(--red);
  animation: priceFlip 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes priceFlip {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.verdict__stat-lbl {
  font-size: 11px;
  opacity: 0.5;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.verdict__card--win .verdict__stat-lbl {
  opacity: 0.55;
}

/* --- Decision --- */
.verdict__decision {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  text-align: right;
}

.verdict__decision-tag {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.45;
}

.verdict__decision-tag--win {
  color: var(--red);
  opacity: 1;
}

.verdict__decision-text {
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  opacity: 0.85;
}

.verdict__decision-text--win {
  font-weight: 400;
  opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .verdict {
    padding: clamp(60px, 9vh, 100px) 0 clamp(80px, 12vh, 140px);
  }

  .verdict__label {
    margin-bottom: clamp(60px, 10vh, 100px);
  }

  .verdict__heading {
    margin-bottom: clamp(50px, 8vh, 90px);
  }

  .verdict__card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: clamp(24px, 4vw, 36px);
  }

  .verdict__decision {
    align-items: flex-start;
    text-align: left;
  }

  .verdict__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .verdict__ribbon {
    left: 20px;
    font-size: 11px;
    padding: 7px 14px;
  }

  /* Stamp moves to the top-right corner on stacked cards */
  .verdict__stamp {
    top: 20px;
    right: 20px;
  }

  .verdict__card--out .verdict__head {
    padding-right: 150px; /* reserve room so the name never runs under the stamp */
  }
}

@media (max-width: 600px) {
  .verdict__heading {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .verdict__stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .verdict__card {
    padding: 24px 22px;
  }

  .verdict__stat-val {
    font-size: clamp(20px, 5.5vw, 26px);
  }

  .verdict__name {
    font-size: 18px;
  }

  .verdict__name--win {
    font-size: 22px;
  }

  .verdict__decision-text {
    font-size: 15px;
  }

  /* Stamp — smaller on phones */
  .verdict__stamp {
    top: 18px;
    right: 16px;
    font-size: 17px;
    padding: 7px 14px;
    border-width: 2.5px;
  }

  .verdict__card--out .verdict__head {
    padding-right: 108px;
  }

  /* Arrow — smaller, sits within the gap so it never overlaps the card above */
  .verdict__doodle--arrow {
    width: 50px;
    top: -34px;
    right: 16px;
  }

}

@media (max-width: 420px) {
  .verdict__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .verdict__stat {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
  }

  /* keep the circled price stacked so the doodle wraps it cleanly */
  .verdict__stat--circled {
    flex-direction: column;
    align-items: flex-start;
  }

  .verdict__stat-val {
    font-size: 22px;
  }

  .verdict__stat-lbl {
    font-size: 12px;
    text-align: right;
  }

  .verdict__stamp {
    font-size: 15px;
    padding: 6px 12px;
  }

  .verdict__card--out .verdict__head {
    padding-right: 92px;
  }
}

/* ============================================
   Bottom Sticky Bar
   ============================================ */

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--deep);
  padding: 14px max(var(--edge), calc(50% - 700px));
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-expo);
}

.bottom-bar.is-visible {
  transform: translateY(0);
}

.bottom-bar.is-hiding {
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.84, 0);
}

.bottom-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bottom-bar__pricing {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bottom-bar__save {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
}

.bottom-bar__prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.bottom-bar__price {
  font-size: 20px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.bottom-bar__price-old {
  font-size: 14px;
  font-weight: 400;
  color: var(--cream);
  opacity: 0.35;
  text-decoration: line-through;
}

.bottom-bar__trust {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bottom-bar__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--cream);
  opacity: 0.5;
}

.bottom-bar__trust-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.bottom-bar__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cream);
  opacity: 0.25;
}

.bottom-bar__cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--cream);
  background: var(--red);
  padding: 12px 28px;
  border-radius: 100px;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.bottom-bar__cta:hover {
  opacity: 0.85;
}

/* ============================================
   Reveal Animations
   ============================================ */

/* Text items — fade up */
.anim-item {
  opacity: 0;
  transform: translateY(24px);
  will-change: transform, opacity;
  transition:
    opacity 1s ease,
    transform 1s var(--ease-out-expo);
}

.anim-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media — cinematic clip-path wipe */
.anim-media {
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
  transition: clip-path 1.6s var(--ease-in-out-quint);
}

.anim-media.is-visible {
  clip-path: inset(0 0 0 0);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1100px) {
  .tech__inner {
    grid-template-columns: 1fr;
    gap: clamp(48px, 8vh, 80px);
    justify-items: center;
    margin: auto;
  }

  .tech {
    height: 270vh;
  }

  .tech__sticky {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(48px, 8vh, 80px) 0 clamp(20px, 3.5vh, 36px);
  }

  .tech__label {
    position: static;
    text-align: left;
    width: calc(100% - 2 * var(--edge));
    max-width: 1400px;
    margin: 0 auto clamp(30px, 5vh, 48px);
  }

  .tech__cards {
    max-width: 420px;
  }

  .tech__text {
    text-align: center;
    align-items: center;
  }

  .tech__text-block,
  .tech__text-block.is-active {
    align-items: center;
  }

  /* Pill stays centred at content width in every block (active or not) —
     otherwise inactive blocks stretch it edge-to-edge and it snaps on swap */
  .tech__pill {
    align-self: center;
  }

  .tech__body {
    max-width: 540px;
  }

  .nav {
    margin-top: 0;
  }

  .hero {
    margin-top: 0;
    min-height: auto;
    padding-top: var(--edge);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .hero__content {
    order: 1;
    padding: clamp(32px, 5vh, 60px) var(--edge);
  }

  .hero__media {
    order: 0;
    aspect-ratio: auto;
    align-self: stretch;
    width: calc(100% - 2 * var(--edge));
    max-width: none;
    min-height: 50vh;
    max-height: 60vh;
    border-radius: 16px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --edge: clamp(24px, 7vw, 32px);
  }

  /* Bar */
  .bar { padding: 8px clamp(10px, 3vw, 18px); overflow: hidden; }
  .bar__inner { gap: clamp(6px, 1.6vw, 9px); }
  .bar__text {
    font-size: clamp(7px, 2.2vw, 9.5px);
    white-space: nowrap;
    flex-shrink: 0;
  }
  .bar__pill {
    font-size: clamp(6px, 1.7vw, 7.5px);
    padding: 2px clamp(6px, 1.8vw, 9px);
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Nav */
  .nav { height: 76px; margin-top: 0; }
  .nav__links { display: none; }
  .nav__cta { font-size: 11px; padding: 9px 22px; }

  /* Hero */
  .hero__media {
    min-height: 45vh;
    max-height: 55vh;
    border-radius: 12px;
    margin: 0 auto;
  }

  .hero__content {
    padding: 28px var(--edge) 48px;
  }

  .hero__tag { font-size: 11px; margin-bottom: 20px; }

  .hero__title {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    max-width: none;
    margin-bottom: 16px;
  }

  .hero__title-br br,
  .hero__subtitle-br br {
    display: none;
  }

  .hero__subtitle {
    font-size: 15px;
    line-height: 1.55;
    max-width: none;
    margin-bottom: 32px;
  }

  .hero__cta {
    align-self: flex-start;
    padding: 5px 5px 5px 20px;
    margin-bottom: 32px;
  }

  .hero__cta-text { font-size: 14px; }
  .hero__cta-arrow { width: 38px; height: 38px; }

  /* Tech */
  .tech { height: 320vh; }

  .tech__cards {
    max-width: 280px;
  }

  .tech__card {
    border-radius: 16px;
    padding: 18px;
  }

  .tech__led-cell {
    border-radius: 10px;
    padding: 10px;
  }

  .tech__led-title { font-size: 26px; }
  .tech__led-name { font-size: 16px; }
  .tech__led-val { font-size: 11px; padding: 3px 8px; }

  .tech__card-title {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .tech__card-metric { font-size: 20px; }
  .tech__card-desc { font-size: 20px; }

  .tech__pill {
    font-size: 9px;
    padding: 5px 12px;
  }

  .tech__body {
    max-width: 460px;
    padding-inline: clamp(16px, 6vw, 34px);
  }

  /* Bottom bar — prix à gauche, CTA à droite, trust items cachés */
  .bottom-bar {
    padding: 10px var(--edge);
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .bottom-bar__inner {
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
  }

  .bottom-bar__trust {
    display: none;
  }

  .bottom-bar__pricing {
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }

  .bottom-bar__save { font-size: 8px; letter-spacing: 0.08em; }
  .bottom-bar__prices { gap: 6px; }
  .bottom-bar__price { font-size: 15px; }
  .bottom-bar__price-old { font-size: 11px; }

  .bottom-bar__cta {
    font-size: 11px;
    padding: 10px 20px;
    flex-shrink: 0;
  }
}

/* ---- Very small screens ---- */
@media (max-width: 480px) {
  .tech__cards {
    max-width: min(280px, calc(100vw - 2 * var(--edge) - 32px));
  }
  .tech__card { padding: 16px; }
  .tech__led-cell { padding: 11px; }
  .tech__led-title { font-size: 24px; }
  .tech__led-name { font-size: 14px; }
  .tech__led-val { font-size: 11px; }
  .tech__card-title { font-size: 22px; margin-bottom: 22px; }
  .tech__card-metric { font-size: 18px; }
  .tech__card-desc { font-size: 18px; }

  .bottom-bar__inner {
    justify-content: space-between;
  }
}

/* ============================================
   SECTION — UGC / RÉSULTATS
   ============================================ */

.ugc {
  background: #EDE3D6;
  padding: clamp(72px, 10vh, 120px) 0 clamp(84px, 11vh, 130px);
  position: relative;
}

.ugc__label {
  display: block;
  width: calc(100% - 2 * var(--edge));
  max-width: 1400px;
  margin: 0 auto clamp(56px, 8vh, 110px);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  color: var(--deep);
  letter-spacing: 0.02em;
}

.ugc__label strong {
  font-weight: 500;
}

/* --- Quote --- */
.ugc__quote {
  width: calc(100% - 2 * var(--edge));
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--deep);
}

.ugc__quote-mark {
  display: inline-block;
  font-family: inherit;
  font-size: 1em;
  line-height: 1;
  margin: 0 0.08em;
  transform: translateY(0.08em);
}

.ugc__author {
  text-align: center;
  margin: clamp(20px, 3vh, 32px) auto clamp(48px, 7vh, 88px);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--deep);
}

/* --- Player + carousel ---
   At rest: slide 1 is centered/main, slide 2 peeks from the right of the viewport.
   User drags or swipes to snap to slide 2. */
.ugc__player {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.ugc__carousel {
  --slide-w: min(860px, calc(100vw - 2 * var(--edge) - 80px));
  --slide-gap: 28px;

  display: flex;
  gap: var(--slide-gap);
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding: 0 calc((100vw - var(--slide-w)) / 2);
  user-select: none;
  -webkit-user-select: none;
}

.ugc__carousel::-webkit-scrollbar { display: none; }

.ugc__carousel.is-dragging {
  cursor: grabbing;
}

.ugc__slide {
  flex: 0 0 var(--slide-w);
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.ugc__video {
  display: block;
  width: 100%;
  aspect-ratio: 1102 / 620;
  object-fit: cover;
  border-radius: 20px;
  background: var(--deep);
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

/* --- Controls row --- */
.ugc__controls {
  margin-top: clamp(20px, 2.5vh, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Metaball base (peanut/dumbbell shape) ---
   The SVG path is 105×47 with two lobes of radius 23.5 at:
   - Left lobe center: (23.5, 23.5)
   - Right lobe center: (81.5, 23.5)
   Connected by a smooth concave neck. */
.ugc__metaball {
  position: relative;
  width: 105px;
  height: 47px;
  flex-shrink: 0;
}

.ugc__metaball-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}

/* --- LEFT METABALL: volume + play buttons --- */
/* Each button is a cream circle sitting on the dark metaball lobe.
   Icons inside are deep-colored. */
.ugc__btn {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F3E8E8;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  z-index: 1;
  transform: translateY(-50%);
  transition: transform 0.3s var(--ease-out-expo), background 0.3s ease;
}

.ugc__btn--mute {
  left: 6.5px; /* aligned with left lobe (center x=23.5, r=17 → left edge 6.5) */
}

.ugc__btn--play {
  left: 64.5px; /* aligned with right lobe (center x=81.5, r=17 → left edge 64.5) */
}

.ugc__btn:hover {
  transform: translateY(-50%) scale(1.06);
}

.ugc__btn:active {
  transform: translateY(-50%) scale(0.94);
}

/* Icons rendered as mask-image so we can recolor them via CSS */
.ugc__icon {
  display: block;
  width: 14px;
  height: 14px;
  background-color: var(--deep);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
}

.ugc__icon--sound-on {
  -webkit-mask-image: url('assets/icons/volume-on.svg');
  mask-image: url('assets/icons/volume-on.svg');
}

.ugc__icon--sound-off {
  -webkit-mask-image: url('assets/icons/volume-off.svg');
  mask-image: url('assets/icons/volume-off.svg');
}

.ugc__icon--play {
  -webkit-mask-image: url('assets/icons/play.svg');
  mask-image: url('assets/icons/play.svg');
}

.ugc__icon--pause {
  -webkit-mask-image: url('assets/icons/pause.svg');
  mask-image: url('assets/icons/pause.svg');
}

/* Icon swap states — default visible: sound-on + play */
.ugc__icon--sound-off,
.ugc__icon--pause {
  display: none;
}

.ugc__btn--mute.is-muted .ugc__icon--sound-on { display: none; }
.ugc__btn--mute.is-muted .ugc__icon--sound-off { display: block; }

.ugc__btn--play.is-playing .ugc__icon--play { display: none; }
.ugc__btn--play.is-playing .ugc__icon--pause { display: block; }


/* --- Responsive --- */
@media (max-width: 900px) {
  .ugc__quote {
    font-size: clamp(1.2rem, 3.2vw, 1.8rem);
    padding-inline: clamp(20px, 5vw, 48px);
  }
}

@media (max-width: 768px) {
  .ugc__carousel {
    --slide-w: calc(100vw - 2 * var(--edge) - 50px);
    --slide-gap: 18px;
  }
}

@media (max-width: 600px) {
  .ugc {
    padding: clamp(70px, 10vh, 100px) 0 clamp(80px, 12vh, 120px);
  }
  .ugc__label {
    margin-bottom: clamp(40px, 6vh, 70px);
  }
  .ugc__quote {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    padding-inline: clamp(12px, 4.5vw, 30px);
  }
  .ugc__video {
    border-radius: 14px;
  }
  .ugc__controls {
    margin-top: 16px;
  }
  .ugc__carousel {
    --slide-w: calc(100vw - 2 * var(--edge) - 32px);
    --slide-gap: 14px;
  }

  /* Metaball scales down proportionally */
  .ugc__metaball {
    width: 92px;
    height: 42px;
  }
  .ugc__btn {
    width: 30px;
    height: 30px;
  }
  .ugc__btn--mute { left: 6px; }
  .ugc__btn--play { left: 56px; }
  .ugc__icon {
    width: 12px;
    height: 12px;
  }
}

/* ============================================
   SECTION — FAQ
   ============================================ */

.faq {
  background: var(--cream);
  padding: clamp(100px, 16vh, 180px) 0 clamp(120px, 18vh, 200px);
  position: relative;
}

.faq__label {
  display: block;
  width: calc(100% - 2 * var(--edge));
  max-width: 1400px;
  margin: 0 auto clamp(80px, 14vh, 160px);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  color: var(--deep);
  letter-spacing: 0.02em;
}

.faq__label strong {
  font-weight: 500;
}

.faq__inner {
  width: calc(100% - 2 * var(--edge));
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(60px, 8vw, 160px);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: clamp(120px, 18vh, 200px);
}

.faq__heading {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--deep);
  margin-bottom: 24px;
}

.faq__lede {
  font-size: 15px;
  line-height: 1.55;
  color: var(--deep);
  opacity: 0.55;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* --- FAQ — bouton « Guide d'utilisation » --- */
.faq__guide {
  display: inline-block;
  margin-top: clamp(28px, 4vh, 40px);
  border-radius: 100px;
  animation: faqGuideWiggle 4.2s ease-in-out infinite;
  transition: transform 0.5s var(--ease-out-expo);
  -webkit-tap-highlight-color: transparent;
}

.faq__guide:hover,
.faq__guide:focus-visible {
  animation: none;
  transform: rotate(0deg);
}

.faq__guide:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 4px;
}

.faq__guide-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 16px;
  background: var(--deep);
  color: var(--cream);
  border-radius: 100px;
  box-shadow: 0 6px 18px -8px rgba(63, 0, 9, 0.5);
  transition:
    transform 0.45s var(--ease-out-expo),
    background 0.35s ease,
    box-shadow 0.45s var(--ease-out-expo);
}

.faq__guide:hover .faq__guide-pill,
.faq__guide:focus-visible .faq__guide-pill {
  background: var(--cta-red);
  transform: scale(1.06) translateY(-3px);
  box-shadow: 0 16px 30px -10px rgba(252, 2, 27, 0.55);
}

.faq__guide:active .faq__guide-pill {
  transform: scale(0.97);
}

.faq__guide-icon {
  display: flex;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  transition: transform 0.6s var(--ease-out-expo);
}

.faq__guide-icon svg {
  width: 100%;
  height: 100%;
}

.faq__guide:hover .faq__guide-icon,
.faq__guide:focus-visible .faq__guide-icon {
  transform: rotate(360deg);
}

.faq__guide-label {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@keyframes faqGuideWiggle {
  0%, 67%, 100% { transform: rotate(0deg); }
  72% { transform: rotate(-7deg); }
  78% { transform: rotate(5.5deg); }
  84% { transform: rotate(-3.5deg); }
  90% { transform: rotate(2deg); }
  95% { transform: rotate(-0.8deg); }
}

.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(63, 0, 9, 0.12);
}

.faq__item {
  border-bottom: 1px solid rgba(63, 0, 9, 0.12);
  transition: background 0.4s ease;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(22px, 2.6vw, 30px) 0;
  text-align: left;
  color: var(--deep);
  font-family: inherit;
  transition: color 0.3s ease, padding 0.4s var(--ease-out-expo);
}

.faq__q:hover {
  color: var(--mid);
}

.faq__q-num {
  font-size: 12px;
  color: var(--trust);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  width: 28px;
  padding-top: 4px;
  align-self: flex-start;
}

.faq__q-text {
  flex: 1;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.01em;
  transition: transform 0.5s var(--ease-out-expo);
}

.faq__q-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(63, 0, 9, 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition:
    background 0.4s var(--ease-out-expo),
    border-color 0.4s ease,
    transform 0.55s var(--ease-out-expo);
}

.faq__q-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--deep);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.4s ease;
}

.faq__item.is-open .faq__q-icon {
  background: var(--deep);
  border-color: var(--deep);
  transform: rotate(-180deg);
}

.faq__item.is-open .faq__q-icon svg {
  stroke: var(--cream);
}

.faq__item.is-open .faq__q-text {
  transform: translateX(4px);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-out-expo);
}

.faq__a-inner {
  padding: 0 62px 32px 72px;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: var(--deep);
  opacity: 0.72;
  max-width: 640px;
  transform: translateY(-8px);
  transition: transform 0.5s var(--ease-out-expo);
}

.faq__item.is-open .faq__a-inner {
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .faq__inner {
    grid-template-columns: 1fr;
    gap: clamp(40px, 7vh, 72px);
  }
  .faq__intro {
    position: static;
  }
  .faq__lede {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .faq {
    padding: clamp(70px, 12vh, 120px) 0 clamp(90px, 14vh, 140px);
  }
  .faq__label {
    margin-bottom: clamp(56px, 10vh, 120px);
  }
  .faq__heading {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }
  .faq__a-inner {
    padding: 0 0 26px 50px;
  }
}

@media (max-width: 600px) {
  .faq__q {
    gap: 14px;
    padding: 20px 0;
  }
  .faq__q-num {
    width: 22px;
    font-size: 11px;
  }
  .faq__q-icon {
    width: 32px;
    height: 32px;
  }
  .faq__q-icon svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .faq__q-num { display: none; }
  .faq__a-inner { padding: 0 0 22px 0; }
  .faq__heading { font-size: clamp(1.8rem, 8vw, 2.4rem); }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--deep);
  color: var(--cream);
  padding: clamp(120px, 20vh, 240px) 0 clamp(48px, 7vh, 80px);
  min-height: 55vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Pousse le divider (+ bottom block) vers le bas du footer — l'espace
   vide créé par min-height: 55vh se loge entre __top et __divider,
   les blocs de contenu restent compacts à leur taille naturelle */
.footer__divider {
  margin-top: auto;
}

.footer__top {
  width: calc(100% - 2 * var(--edge));
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(48px, 8vw, 140px);
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer__logo {
  display: inline-block;
  width: 64px;
}

.footer__logo svg {
  width: 100%;
  height: auto;
  display: block;
  fill: var(--cream);
}

.footer__tagline {
  font-size: 15px;
  line-height: 1.55;
  color: var(--cream);
  opacity: 0.55;
  max-width: 300px;
  letter-spacing: 0.005em;
}

/* --- Newsletter --- */
.footer__news {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
}

.footer__news-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.45;
}

.footer__news-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(251, 239, 233, 0.18);
  padding: 8px 0;
  transition: border-color 0.4s ease;
}

.footer__news-row:focus-within {
  border-color: rgba(251, 239, 233, 0.55);
}

.footer__news-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--cream);
  font-family: inherit;
  font-size: 15px;
  padding: 6px 0;
  letter-spacing: 0.01em;
}

.footer__news-input::placeholder {
  color: rgba(251, 239, 233, 0.35);
}

.footer__news-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(251, 239, 233, 0.28);
  color: var(--cream);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition:
    background 0.4s var(--ease-out-expo),
    border-color 0.4s ease,
    transform 0.4s var(--ease-out-expo);
}

.footer__news-btn svg {
  width: 14px;
  height: 14px;
}

.footer__news-btn:hover {
  background: var(--cream);
  color: var(--deep);
  border-color: var(--cream);
  transform: translateX(2px);
}

/* --- Columns --- */
.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 48px);
}

.footer__col-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.45;
  margin-bottom: 22px;
}

.footer__col ul li {
  margin-bottom: 12px;
}

.footer__col a {
  font-size: 15px;
  color: var(--cream);
  opacity: 0.85;
  letter-spacing: 0.005em;
  display: inline-block;
  transition:
    opacity 0.3s ease,
    transform 0.45s var(--ease-out-expo);
}

.footer__col a:hover {
  opacity: 1;
  transform: translateX(4px);
}

/* --- Divider --- */
.footer__divider {
  width: calc(100% - 2 * var(--edge));
  max-width: 1400px;
  margin: clamp(80px, 14vh, 160px) auto clamp(20px, 2.5vh, 28px);
  height: 1px;
  background: rgba(251, 239, 233, 0.08);
}

/* --- Bottom legal --- */
.footer__bottom {
  width: calc(100% - 2 * var(--edge));
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cream);
  opacity: 0.5;
}

.footer__legal-links {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  flex-wrap: wrap;
}

.footer__legal-links a {
  transition: opacity 0.3s ease;
  opacity: 0.8;
}

.footer__legal-links a:hover {
  opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 1000px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: clamp(48px, 8vh, 80px);
  }
  .footer__news {
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }
  .footer__bottom {
    justify-content: center;
    text-align: center;
  }
  .footer__legal-links {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .footer__cols {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer__tagline br { display: none; }
}

/* ============================================
   LEGAL PAGES — template for mentions, CGV, livraison
   ============================================ */

.legal {
  background: var(--cream);
  padding: clamp(100px, 14vh, 160px) 0 clamp(100px, 14vh, 160px);
  position: relative;
}

.legal__label {
  display: block;
  width: calc(100% - 2 * var(--edge));
  max-width: 1400px;
  margin: 0 auto clamp(56px, 8vh, 110px);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  color: var(--deep);
  letter-spacing: 0.02em;
}

.legal__label strong {
  font-weight: 500;
}

.legal__inner {
  width: calc(100% - 2 * var(--edge));
  max-width: 760px;
  margin: 0 auto;
}

.legal__heading {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--deep);
  margin-bottom: clamp(28px, 4vh, 48px);
}

.legal__intro {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--deep);
  opacity: 0.72;
  letter-spacing: -0.005em;
  margin-bottom: clamp(60px, 9vh, 100px);
  max-width: 640px;
}

.legal__content {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vh, 80px);
}

.legal__section {
  border-top: 1px solid rgba(63, 0, 9, 0.12);
  padding-top: clamp(32px, 5vh, 56px);
}

.legal__section-title {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--deep);
  margin-bottom: clamp(20px, 3vh, 32px);
}

.legal__sub-title {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--deep);
  margin: clamp(20px, 3vh, 32px) 0 clamp(8px, 1.2vh, 14px);
}

.legal__section p,
.legal__section ul {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  color: var(--deep);
  opacity: 0.85;
  letter-spacing: -0.001em;
}

.legal__section p + p {
  margin-top: clamp(12px, 2vh, 20px);
}

.legal__list {
  list-style: none;
  margin: clamp(12px, 2vh, 18px) 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vh, 12px);
}

.legal__list li {
  position: relative;
  padding-left: 22px;
}

.legal__list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0.7em;
  width: 5px;
  height: 1px;
  background: var(--deep);
  opacity: 0.5;
}

.legal__section strong {
  font-weight: 500;
  opacity: 1;
}

.legal__section a {
  color: var(--deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(63, 0, 9, 0.35);
  transition: text-decoration-color 0.3s ease, color 0.3s ease;
}

.legal__section a:hover {
  color: var(--mid);
  text-decoration-color: var(--mid);
}

.legal__section em {
  font-style: italic;
  opacity: 0.9;
}

.legal__back {
  margin-top: clamp(60px, 9vh, 100px);
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--deep);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.legal__back a {
  color: inherit;
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out-expo);
  display: inline-block;
}

.legal__back a:hover {
  opacity: 1;
  transform: translateX(-3px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .legal {
    padding: clamp(70px, 10vh, 100px) 0 clamp(80px, 12vh, 120px);
  }

  .legal__label {
    margin-bottom: clamp(40px, 6vh, 70px);
  }

  .legal__intro {
    margin-bottom: clamp(40px, 6vh, 70px);
  }

  .legal__heading {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .legal__section-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }
}

@media (max-width: 480px) {
  .legal__heading {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .legal__section p,
  .legal__section ul {
    font-size: 15px;
  }
}

/* ============================================
   Global a11y — reduce motion & touch handling
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .grain { animation: none !important; }
  .verdict__card--win.is-revealed { animation: none !important; }
}

/* On coarse pointers (touch), hover effects don't apply — kill cursor change */
@media (hover: none) and (pointer: coarse) {
  .ugc__carousel { cursor: default; }
  .ugc__carousel.is-dragging { cursor: default; }
}

/* ============================================
   PANIER (cart drawer)
   ============================================ */

/* --- Bouton panier dans la nav --- */
.nav__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--deep);
  transition: color 0.4s ease, opacity 0.3s ease;
}

.nav__cart:hover { opacity: 0.55; }

.nav__cart .nav__cart-icon {
  display: block;
  width: 23px;
  height: 23px;
  fill: none;
}

.nav--dark .nav__cart { color: var(--cream); }

.nav__cart-count {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 100px;
  background: var(--red);
  color: var(--cream);
  font-size: 10px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
}

.nav__cart-count.is-empty { display: none; }

/* --- Conteneur : overlay + panneau --- */
.cart {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  transition: visibility 0s linear 0.55s;
}

.cart.is-open {
  visibility: visible;
  transition: visibility 0s;
}

.cart__overlay {
  position: absolute;
  inset: 0;
  background: rgba(63, 0, 9, 0.5);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}

.cart.is-open .cart__overlay { opacity: 1; }

.cart__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: clamp(316px, 92vw, 430px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  box-shadow: -32px 0 80px rgba(63, 0, 9, 0.2);
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out-expo);
}

.cart.is-open .cart__panel { transform: translateX(0); }

/* --- Header --- */
.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(22px, 3.4vh, 30px) clamp(22px, 4.5vw, 32px);
  border-bottom: 1px solid rgba(63, 0, 9, 0.12);
}

.cart__head-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--deep);
}

.cart__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: -5px;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--deep);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.cart__close:hover { opacity: 0.5; }
.cart__close svg { width: 17px; height: 17px; }

/* --- Corps --- */
.cart__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 clamp(22px, 4.5vw, 32px);
}

.cart__empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 40px 0;
  text-align: center;
}

.cart__empty-title {
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--deep);
}

.cart__empty-sub {
  font-size: 14px;
  color: var(--deep);
  opacity: 0.45;
}

/* --- Ligne produit --- */
.cart-line {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 16px;
  padding: clamp(20px, 3vw, 26px) 0;
  border-bottom: 1px solid rgba(63, 0, 9, 0.1);
}

.cart-line:last-child { border-bottom: none; }

.cart-line__media {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--shade);
}

.cart-line__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__main {
  display: flex;
  flex-direction: column;
}

.cart-line__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--deep);
}

.cart-line__sub {
  margin-top: 2px;
  font-size: 13px;
  color: var(--deep);
  opacity: 0.5;
}

.cart-line__qty {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 12px;
}

.cart-line__qbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 1px solid rgba(63, 0, 9, 0.25);
  border-radius: 50%;
  background: transparent;
  color: var(--deep);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.cart-line__qbtn:hover {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--cream);
}

.cart-line__qval {
  min-width: 16px;
  font-size: 14px;
  text-align: center;
  color: var(--deep);
}

.cart-line__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cart-line__price {
  font-size: 15px;
  font-weight: 500;
  color: var(--deep);
}

.cart-line__old {
  margin-top: 2px;
  font-size: 12px;
  color: var(--deep);
  opacity: 0.4;
  text-decoration: line-through;
}

.cart-line__remove {
  margin-top: auto;
  padding: 0;
  background: transparent;
  border: none;
  font-family: var(--font);
  font-size: 12px;
  color: var(--deep);
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.cart-line__remove:hover { opacity: 1; color: var(--red); }

/* --- Footer --- */
.cart__foot {
  padding: clamp(20px, 3vw, 26px) clamp(22px, 4.5vw, 32px) clamp(22px, 3.4vh, 30px);
  border-top: 1px solid rgba(63, 0, 9, 0.12);
}

.cart__foot.is-hidden { display: none; }

.cart__line-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
  color: var(--deep);
}

.cart__subtotal {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.cart__note {
  margin: 8px 0 16px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--deep);
  opacity: 0.5;
}

.cart__checkout {
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 100px;
  background: var(--cta-red);
  color: var(--cream);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.45s var(--ease-out-expo);
}

.cart__checkout:hover {
  background: var(--mid);
  transform: translateY(-2px);
}

.cart__msg {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  text-align: center;
  color: var(--deep);
  opacity: 0.7;
}

.cart.is-busy .cart__body,
.cart.is-busy .cart__foot {
  opacity: 0.55;
  pointer-events: none;
}

body.cart-open { overflow: hidden; }

@media (max-width: 480px) {
  .cart__panel { width: 100vw; }
}

/* ============================================
   Titres — Cabinet Grotesk (Medium)
   Les titres H1/H2/H3 passent en Cabinet Grotesk ;
   le reste du texte garde Neue Montreal (var(--font)).
   ============================================ */
h1, h2, h3,
.hero__title, .tech__title, .tech__led-title, .tech__card-title,
.timeline__heading, .verdict__heading, .verdict__name,
.faq__heading, .invite__heading {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ============================================
   MODALE CONTACT
   ============================================ */
.contact {
  position: fixed;
  inset: 0;
  z-index: 250;
  visibility: hidden;
  transition: visibility 0s linear 0.5s;
}

.contact.is-open {
  visibility: visible;
  transition: visibility 0s;
}

.contact__overlay {
  position: absolute;
  inset: 0;
  background: rgba(63, 0, 9, 0.5);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out-expo);
}

.contact.is-open .contact__overlay { opacity: 1; }

.contact__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - 2 * var(--edge));
  max-width: 480px;
  max-height: calc(100dvh - 2 * var(--edge));
  overflow-y: auto;
  padding: clamp(26px, 4vw, 44px);
  background: var(--bg);
  border-radius: clamp(18px, 2vw, 26px);
  box-shadow: 0 40px 90px rgba(63, 0, 9, 0.32);
  transform: translate(-50%, -50%) scale(0.94);
  opacity: 0;
  transition:
    transform 0.5s var(--ease-out-expo),
    opacity 0.4s ease;
}

.contact.is-open .contact__dialog {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.contact__close {
  position: absolute;
  top: clamp(14px, 2vw, 20px);
  right: clamp(14px, 2vw, 20px);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--deep);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.contact__close:hover { opacity: 1; }
.contact__close svg { width: 18px; height: 18px; }

.contact__label {
  display: block;
  font-size: 14px;
  color: var(--deep);
  opacity: 0.55;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.contact__label strong { font-weight: 500; }

.contact__title {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--deep);
  margin-bottom: clamp(20px, 3vw, 30px);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact__flabel {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--deep);
  opacity: 0.7;
}

.contact__input {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--deep);
  background: #fff;
  border: 1px solid rgba(63, 0, 9, 0.16);
  border-radius: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact__input::placeholder { color: rgba(63, 0, 9, 0.35); }

.contact__input:focus {
  outline: none;
  border-color: var(--deep);
  box-shadow: 0 0 0 3px rgba(63, 0, 9, 0.09);
}

.contact__textarea {
  min-height: 96px;
  line-height: 1.5;
  resize: vertical;
}

.contact__error {
  font-size: 13px;
  line-height: 1.4;
  color: var(--cta-red);
}

.contact__success {
  font-size: 15px;
  line-height: 1.6;
  color: var(--deep);
  text-align: center;
  padding: clamp(24px, 5vw, 44px) 0;
}

/* Bouton Envoyer — même ADN que le bouton « Guide d'utilisation » */
.contact__submit {
  align-self: flex-start;
  margin-top: 6px;
  display: inline-block;
  padding: 0;
  background: none;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  animation: faqGuideWiggle 4.2s ease-in-out infinite;
  transition: transform 0.5s var(--ease-out-expo);
  -webkit-tap-highlight-color: transparent;
}

.contact__submit:hover,
.contact__submit:focus-visible {
  animation: none;
  transform: rotate(0deg);
}

.contact__submit:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 4px;
}

.contact__submit-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 22px;
  background: var(--deep);
  color: var(--cream);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px -8px rgba(63, 0, 9, 0.5);
  transition:
    transform 0.45s var(--ease-out-expo),
    background 0.35s ease,
    box-shadow 0.45s var(--ease-out-expo);
}

.contact__submit:hover .contact__submit-pill,
.contact__submit:focus-visible .contact__submit-pill {
  background: var(--cta-red);
  transform: scale(1.06) translateY(-3px);
  box-shadow: 0 16px 30px -10px rgba(252, 2, 27, 0.55);
}

.contact__submit:active .contact__submit-pill {
  transform: scale(0.97);
}

.contact__submit[disabled] {
  animation: none;
  opacity: 0.55;
  pointer-events: none;
}

.contact__submit-icon {
  display: flex;
  width: 18px;
  height: 18px;
  transition: transform 0.5s var(--ease-out-expo);
}

.contact__submit-icon svg { width: 100%; height: 100%; }

.contact__submit:hover .contact__submit-icon,
.contact__submit:focus-visible .contact__submit-icon {
  transform: translateX(3px);
}

body.contact-open { overflow: hidden; }

@media (max-width: 480px) {
  .contact__row { grid-template-columns: 1fr; }
}
