/* =========================================================
   Livewall — refonte 2026
   Tokens → base → composants → sections → responsive
   ========================================================= */

:root {
  /* Marque */
  --ink: #0B1626;
  --ink-2: #12233A;
  --navy: #304F66;
  --coral: #E57384;
  --coral-light: #FF9EAB;
  --coral-text: #C4405A;      /* corail lisible sur blanc (4.9:1) */
  --blue: #3D8BFF;
  --blue-text: #1D63D8;       /* bleu lisible sur blanc (5.5:1) */
  --violet: #8B6CFF;

  /* Surfaces & texte */
  --bg: #FFFFFF;
  --tint: #F4F7FB;
  --surface-2: #F6F8FC;
  --text: #0F1E2E;
  --muted: #4E5D73;
  --border: #E2E8F0;

  /* Dégradés */
  --grad-brand: linear-gradient(120deg, #FF8E9E 0%, #E57384 35%, #8B6CFF 70%, #3D8BFF 100%);
  --grad-text: linear-gradient(95deg, #D94F68 0%, #B04BC9 50%, #2F6FE0 100%);
  --grad-text-dark: linear-gradient(95deg, #FF9AA8 0%, #F07C8E 30%, #B39BFF 65%, #7DB8FF 100%);
  --grad-btn: linear-gradient(135deg, #FF9AA9 0%, #EE7A8C 50%, #E2667B 100%);

  /* Formes */
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 46, .05), 0 4px 14px rgba(15, 30, 46, .04);
  --shadow: 0 18px 40px -18px rgba(15, 30, 46, .22);
  --shadow-lg: 0 40px 80px -30px rgba(11, 22, 38, .45);

  /* Mouvement */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .text-gradient,
.webapp .text-gradient,
.cta .text-gradient { background-image: var(--grad-text-dark); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .25s, border-color .25s;
}
.btn:active { transform: translateY(0) scale(.98); }

.btn--primary {
  background: var(--grad-btn);
  color: var(--ink);
  box-shadow: 0 10px 28px -10px rgba(229, 115, 132, .75), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(229, 115, 132, .9), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.btn--glass {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .24);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }

.btn--ghost { border-color: rgba(255, 255, 255, .3); background: transparent; color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--block { width: 100%; }

.btn__arrow {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Petits éléments ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(229, 115, 132, .28);
  border-radius: 999px;
  background: rgba(229, 115, 132, .08);
  color: var(--coral-text);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow--dark {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: #FFC4CD;
}

.live-dot {
  position: relative;
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #FF5A70;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 1.8s var(--ease-out) infinite;
}

.glass {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r);
  background: rgba(14, 28, 48, .58);
  color: #fff;
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.glass--light {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .86);
  color: var(--text);
  box-shadow: var(--shadow);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(229, 115, 132, .16);
  color: #FFB8C2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.avatar--blue { background: var(--blue); }
.avatar--navy { background: var(--navy); color: #fff; }

.upvote {
  flex: none;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(229, 115, 132, .16);
  color: #FFB8C2;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  transition: background-color .35s, color .35s, box-shadow .35s, backdrop-filter .35s;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}
.header:is(.is-scrolled, .is-solid) {
  color: var(--text);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(15, 30, 46, .06), 0 10px 30px -20px rgba(15, 30, 46, .25);
}
/* Pages internes sans hero sombre : header plein dès le départ, contenu décalé */
body.has-solid-header { padding-top: var(--header-h); }
.header__logo { position: relative; z-index: 2; flex: none; }
.logo { width: 138px; height: auto; color: #fff; transition: color .35s; }
.header:is(.is-scrolled, .is-solid) .logo { color: var(--navy); }

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list a:not(.btn) {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  opacity: .88;
  transition: background-color .2s, opacity .2s;
}
.nav__list a:not(.btn):hover,
.nav__list a[aria-current="page"] { opacity: 1; background: rgba(255, 255, 255, .1); }
.header:is(.is-scrolled, .is-solid) .nav__list a:not(.btn):hover,
.header:is(.is-scrolled, .is-solid) .nav__list a[aria-current="page"] { background: rgba(15, 30, 46, .06); }
.nav__mobile-only { display: none; }

.header__actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.header__login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 15px;
  font-weight: 600;
  transition: background-color .2s;
}
.header__login:hover { background: rgba(255, 255, 255, .1); }
.header:is(.is-scrolled, .is-solid) .header__login:hover { background: rgba(15, 30, 46, .06); }
.header__login svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 11px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
}
.header:is(.is-scrolled, .is-solid) .burger { background: rgba(15, 30, 46, .06); }
.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.header.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.menu-open .burger span:nth-child(2) { opacity: 0; }
.header.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 940px);
  padding: calc(var(--header-h) + 64px) 0 110px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  transform: scale(1.04);
  animation: kenburns 26s ease-in-out infinite alternate;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 22, 38, .97) 0%, rgba(11, 22, 38, .88) 32%, rgba(11, 22, 38, .42) 62%, rgba(11, 22, 38, .2) 100%),
    linear-gradient(180deg, rgba(11, 22, 38, .55) 0%, transparent 22%, transparent 68%, rgba(11, 22, 38, .96) 100%);
}
.hero__glow {
  position: absolute;
  inset: auto auto -20% -10%;
  width: 60vw; height: 60vw;
  max-width: 820px; max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 115, 132, .28), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 48px;
}

.hero__title {
  margin: 22px 0 24px;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.rotator {
  position: relative;
  display: block;
  height: 1.12em;
  overflow: hidden;
}
.rotator__word {
  position: absolute;
  inset: 0 auto auto 0;
  padding-bottom: .08em;
  background: var(--grad-text-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  transform: translateY(105%);
  opacity: 0;
  transition: transform .7s var(--ease-out), opacity .5s;
}
.rotator__word.is-active { transform: none; opacity: 1; }
.rotator__word.is-leaving { transform: translateY(-105%); opacity: 0; }

.hero__lead {
  max-width: 560px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.65;
}
.hero__lead strong { color: #fff; font-weight: 700; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  color: rgba(255, 255, 255, .82);
  font-size: 14.5px;
  font-weight: 500;
}
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks svg,
.cta__points svg {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: var(--coral-light); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Widgets live */
.hero__widgets { position: relative; height: 540px; }

.poll {
  position: absolute;
  top: 10px; right: 0;
  width: 370px;
  padding: 20px 22px 10px;
  animation: float 7s ease-in-out infinite;
}
.glass__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}
.poll__count { color: rgba(255, 255, 255, .68); }
.poll__count b { color: #fff; font-variant-numeric: tabular-nums; }
.poll__question { margin: 14px 0 16px; font-size: 16px; font-weight: 700; line-height: 1.35; }
.poll__options li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  margin-bottom: 13px;
  font-size: 13.5px;
}
.poll__pct { font-weight: 700; font-variant-numeric: tabular-nums; }
.poll__bar {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
}
.poll__bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #FF9AA8, #E57384);
  transition: width 1s var(--ease-out);
}
.poll__options li:nth-child(2) .poll__bar i { background: linear-gradient(90deg, #7DB8FF, #3D8BFF); }
.poll__options li:nth-child(3) .poll__bar i { background: linear-gradient(90deg, #B39BFF, #8B6CFF); }
.poll__options li:nth-child(4) .poll__bar i { background: linear-gradient(90deg, #7C9AB5, #4C6C88); }

.poll, .question-toast, .participants { z-index: 1; }
.question-toast {
  position: absolute;
  bottom: 96px; left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 12px;
  width: 340px;
  padding: 14px 16px;
  animation: float 8s ease-in-out -2.5s infinite;
}
.question-toast > div,
.question-toast > .avatar,
.question-toast > .upvote { transition: opacity .4s, transform .4s var(--ease-out); }
.question-toast.is-swapping > div,
.question-toast.is-swapping > .avatar,
.question-toast.is-swapping > .upvote { opacity: 0; transform: translateY(8px); }
.question-toast__meta { margin-bottom: 2px; color: rgba(255, 255, 255, .66); font-size: 12px; }
.question-toast__meta b { color: #fff; }
.question-toast__text { font-size: 14px; font-weight: 600; line-height: 1.4; }

.participants {
  position: absolute;
  right: 20px; bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  font-size: 13px;
  animation: float 9s ease-in-out -4s infinite;
}
.participants b { font-variant-numeric: tabular-nums; }
.participants__dots { display: flex; }
.participants__dots i {
  width: 24px; height: 24px;
  margin-left: -8px;
  border: 2px solid #142640;
  border-radius: 50%;
  background: var(--coral);
}
.participants__dots i:first-child { margin-left: 0; }
.participants__dots i:nth-child(2) { background: var(--blue); }
.participants__dots i:nth-child(3) { background: var(--violet); }

.emoji-stream {
  position: absolute;
  right: 38%; bottom: 0;
  z-index: 0;
  width: 180px; height: 520px;
  pointer-events: none;
}
.emoji-stream span,
.emoji-demo span {
  position: absolute;
  bottom: 0;
  left: var(--x, 50%);
  font-size: var(--size, 28px);
  line-height: 1;
  opacity: 0;
  animation: rise var(--dur, 3.6s) var(--ease-out) forwards;
  will-change: transform, opacity;
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 28px;
  z-index: 1;
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  transform: translateX(-50%);
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: #fff;
  animation: scrolldot 1.8s ease-in-out infinite;
}

/* ---------- Confiance ---------- */
.trust { padding: 76px 0 88px; background: var(--bg); }
.trust__title {
  max-width: 640px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  text-align: center;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.marquee__list img {
  width: auto;
  height: 64px;
  filter: grayscale(1);
  opacity: .62;
  mix-blend-mode: multiply;
  transition: filter .3s, opacity .3s;
}
.marquee__list img:hover { filter: none; opacity: 1; }
.marquee__list .logo-sm { height: 38px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 72px 0 0;
}
.stat {
  padding: 28px 26px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: linear-gradient(180deg, #fff, var(--surface-2));
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat dt {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stat dd { margin: 0; }
.stat__value { display: flex; align-items: baseline; margin: 8px 0 8px; }
.stat__num,
.stat__plus {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat__desc { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- Sections génériques ---------- */
.section { padding: clamp(84px, 10vw, 128px) 0; }
.section--tint {
  background:
    radial-gradient(800px circle at 0% 0%, rgba(229, 115, 132, .07), transparent 50%),
    radial-gradient(800px circle at 100% 100%, rgba(61, 139, 255, .07), transparent 50%),
    var(--tint);
}
.section__head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section__head--left { margin: 0 0 36px; text-align: left; }
.section__title {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.section__title--light { color: #fff; }
.section__lead { color: var(--muted); font-size: 1.1rem; }

/* ---------- Cartes ---------- */
.card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(229, 115, 132, .11), transparent 45%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 115, 132, .35);
  box-shadow: 0 30px 60px -28px rgba(15, 30, 46, .3);
}
.card:hover::before { opacity: 1; }
.card:has(.card__link:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }

.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card__icon {
  width: 80px; height: 80px;
  margin-bottom: 18px;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(15, 30, 46, .12));
  transition: transform .6s var(--ease-spring);
}
.card:hover .card__icon { transform: translateY(-4px) rotate(-6deg) scale(1.07); }

.card__title { margin-bottom: 8px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__link:focus-visible { outline: none; }
.card__text { margin-bottom: 20px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--coral-text);
  font-size: 14px;
  font-weight: 700;
  transition: gap .25s var(--ease-out);
}
.card__more svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.card:hover .card__more { gap: 10px; }

.tag {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(61, 139, 255, .1);
  color: var(--blue-text);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ---------- Bento modules ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card--qa { grid-column: span 2; grid-row: span 2; }
.card--votes { grid-column: span 2; }
.card--promo { grid-column: span 2; }

/* Démo Q&R */
.qa-demo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 24px;
}
.qa-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.qa-item b { display: block; margin-bottom: 1px; color: var(--muted); font-size: 12px; font-weight: 700; }
.qa-item .upvote { background: rgba(229, 115, 132, .12); color: var(--coral-text); }
.qa-item:first-child {
  border-color: rgba(229, 115, 132, .35);
  background: #fff;
  box-shadow: 0 12px 26px -16px rgba(229, 115, 132, .6);
}
.qa-item.is-new { animation: qa-in .6s var(--ease-out); }
.qa-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -8px 0 22px;
  color: var(--muted);
  font-size: 13px;
}
.qa-bar b { color: var(--text); font-variant-numeric: tabular-nums; }

/* Démo votes */
.card__row {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: stretch;
  gap: 24px;
  height: 100%;
}
.card__row > div:first-child { display: flex; flex-direction: column; }
.vote-demo {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 18px 18px 30px;
  border-radius: 18px;
  background: radial-gradient(circle at 80% 0%, rgba(61, 139, 255, .35), transparent 60%), linear-gradient(160deg, #0F2036, #1A3150);
  color: #fff;
}
.vote-demo__q { font-size: 13px; font-weight: 600; opacity: .85; }
.vote-demo__bars {
  display: flex;
  flex: 1;
  align-items: flex-end;
  gap: 14px;
  padding-top: 30px;
}
.vote-demo__bars span {
  position: relative;
  flex: 1;
  height: var(--h);
  min-height: 12%;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #FF9AA8, #E57384);
  transition: height 1s var(--ease-out);
}
.vote-demo__bars span:nth-child(2) { background: linear-gradient(180deg, #7DB8FF, #3D8BFF); }
.vote-demo__bars span:nth-child(3) { background: linear-gradient(180deg, #B39BFF, #8B6CFF); }
.vote-demo__bars i,
.vote-demo__bars em {
  position: absolute;
  left: 50%;
  font-style: normal;
  white-space: nowrap;
  transform: translateX(-50%);
}
.vote-demo__bars i { top: -22px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vote-demo__bars em { bottom: -22px; font-size: 11px; opacity: .72; }

/* Démo nuage */
.cloud-demo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 12px;
  min-height: 126px;
  margin: 0 0 20px;
  padding: 14px;
  border-radius: 16px;
  background: var(--surface-2);
}
.cloud-demo span {
  font-size: calc(var(--s) * 1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: cloud-pop 5s ease-in-out var(--d) infinite;
}
.cloud-demo .c1 { color: var(--coral-text); }
.cloud-demo .c2 { color: var(--blue-text); }
.cloud-demo .c3 { color: var(--navy); }
.cloud-demo .c4 { color: #7044D6; }

/* Démo emoji */
.emoji-demo {
  position: relative;
  height: 126px;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface-2), #fff);
}
.emoji-demo span { bottom: -32px; }

/* Carte promo webapp */
.card--promo {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  border-color: transparent;
  background:
    radial-gradient(circle at 85% 15%, rgba(61, 139, 255, .4), transparent 50%),
    radial-gradient(circle at 5% 100%, rgba(229, 115, 132, .38), transparent 50%),
    var(--ink);
  color: #fff;
}
.card--promo::before { display: none; }
.card--promo .eyebrow { margin-bottom: 14px; }
.card--promo .card__title { font-size: 1.35rem; }
.card--promo .card__text { margin: 0; color: rgba(255, 255, 255, .76); }
.card--promo__img {
  flex: none;
  width: 130px; height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .4));
  animation: float 6s ease-in-out infinite;
}

/* ---------- Webapp ---------- */
.webapp {
  position: relative;
  padding: clamp(96px, 11vw, 144px) 0;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.webapp__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px circle at 22% 50%, rgba(61, 139, 255, .26), transparent 60%),
    radial-gradient(520px circle at 88% 12%, rgba(229, 115, 132, .2), transparent 60%);
  pointer-events: none;
}
.webapp__glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.webapp__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.webapp__visual { position: relative; display: grid; place-items: center; }
.webapp__halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 139, 255, .45), rgba(229, 115, 132, .18) 45%, transparent 70%);
  filter: blur(30px);
}
.webapp__phone {
  position: relative;
  width: 100%;
  max-width: 560px;
  filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .5));
  animation: float 8s ease-in-out infinite;
}
.webapp__lead { margin-bottom: 34px; color: rgba(255, 255, 255, .76); font-size: 1.1rem; }

.features { display: grid; gap: 20px; margin-bottom: 30px; }
.feature { display: flex; gap: 16px; }
.feature__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px; height: 50px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
}
.feature__icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: var(--coral-light); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.feature h3 { margin: 2px 0 4px; font-size: 1.05rem; font-weight: 700; }
.feature p { color: rgba(255, 255, 255, .7); font-size: 15px; }

.channels { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.channels span {
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Fonctionnement ---------- */
.how {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 72px;
}
.steps { display: grid; gap: 8px; }
.step {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: var(--r);
  transition: background-color .3s, box-shadow .3s;
}
.step:hover { background: var(--surface-2); }
/* trait reliant la pastille à la suivante (padding 20 + pastille 56 → padding 20 + gap 8) */
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 82px; bottom: -22px; left: 47px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--coral), var(--violet));
  opacity: .45;
}
.step:nth-child(2)::before { background: linear-gradient(180deg, var(--violet), var(--blue)); }
.step__num {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 56px; height: 56px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box;
  box-shadow: 0 10px 24px -12px rgba(229, 115, 132, .6);
  color: var(--coral-text);
  font-size: 15px;
  font-weight: 800;
}
.step h3 { margin: 6px 0 6px; font-size: 1.15rem; font-weight: 700; }
.step p { color: var(--muted); }

.how__visual { position: relative; margin: 0; }
.how__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.how__chip {
  position: absolute;
  bottom: 28px; left: -22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  animation: float 7s ease-in-out infinite;
}

/* ---------- Complémentaires ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card--ai {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(229, 115, 132, .7), rgba(139, 108, 255, .55), rgba(61, 139, 255, .7)) border-box;
}
.badge-ai {
  position: absolute;
  top: 22px; right: 22px;
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #C4405A, #6A4CE0 55%, #1D63D8);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: 0 8px 20px -8px rgba(106, 76, 224, .7);
}

.card--custom {
  border: 2px dashed #C9D3E0;
  background: rgba(255, 255, 255, .55);
  box-shadow: none;
}
.custom-plus {
  display: grid;
  place-items: center;
  width: 80px; height: 80px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(229, 115, 132, .14), rgba(61, 139, 255, .14));
  transition: transform .6s var(--ease-spring);
}
.custom-plus svg {
  width: 32px; height: 32px;
  fill: none; stroke: var(--coral-text); stroke-width: 2.4; stroke-linecap: round;
}
.card--custom:hover .custom-plus { transform: rotate(90deg) scale(1.06); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: clamp(100px, 12vw, 156px) 0;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(11, 22, 38, .55), rgba(11, 22, 38, .15) 70%);
}
.cta__inner { position: relative; max-width: 860px; }
.cta__title {
  margin-bottom: 28px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.cta__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  margin-bottom: 40px;
}
.cta__points li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .88);
  font-size: 15.5px;
  font-weight: 600;
}
.cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.footer { padding: 76px 0 0; background: #08111D; color: rgba(255, 255, 255, .7); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__logo { display: inline-block; }
.footer__logo .logo { width: 140px; }
.footer__brand p { max-width: 340px; margin: 20px 0 24px; font-size: 14.5px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  transition: background-color .25s, color .25s, border-color .25s;
}
.footer__social a:hover { border-color: var(--coral); background: var(--coral); color: var(--ink); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__col h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer__col li { margin-bottom: 4px; }
.footer__col a { display: inline-block; padding: 4px 0; font-size: 14.5px; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13.5px;
}
.footer__bottom a:hover { color: #fff; }

/* ---------- Dialog connexion ---------- */
.login {
  width: min(420px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.login::backdrop {
  background: rgba(11, 22, 38, .6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.login[open] { animation: dialog-in .35s var(--ease-out); }
.login__form { position: relative; padding: 34px 30px 30px; }
.login h2 { margin-bottom: 6px; font-size: 1.5rem; font-weight: 800; }
.login p { margin-bottom: 18px; color: var(--muted); font-size: 15px; }
.login label { display: block; margin: 14px 0 6px; font-size: 14px; font-weight: 600; }
.login input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.login input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(61, 139, 255, .18); }
.login .btn { margin-top: 24px; }
.login__close {
  position: absolute;
  top: 14px; right: 14px;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--tint);
}
.login__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* ---------- Révélation au scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .card.reveal.is-visible:hover { transform: translateY(-5px); transition-delay: 0s; }

/* ---------- Animations ---------- */
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes rise {
  0% { transform: translate(0, 0) scale(.5); opacity: 0; }
  12% { opacity: 1; }
  50% { transform: translate(var(--drift, 10px), calc(var(--rise, 380px) * -.5)) scale(1.05); }
  100% { transform: translate(calc(var(--drift, 10px) * -1), calc(var(--rise, 380px) * -1)) scale(1.15); opacity: 0; }
}
@keyframes qa-in { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes cloud-pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .container { width: min(1200px, 100% - 56px); }
}

@media (max-width: 1140px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--qa { grid-row: auto; }
  .poll { width: 340px; }
  .question-toast { width: 310px; }
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }

  .burger { display: flex; }
  .header__login { display: none; }

  .nav__list {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: calc(var(--header-h) + 24px) 20px 32px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 100% 0%, rgba(229, 115, 132, .25), transparent 50%),
      radial-gradient(circle at 0% 100%, rgba(61, 139, 255, .25), transparent 50%),
      var(--ink);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s, transform .4s var(--ease-out), visibility 0s .4s;
  }
  .header.menu-open .nav__list {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .3s, transform .4s var(--ease-out);
  }
  .nav__list a:not(.btn) { padding: 14px 8px; border-radius: 12px; font-size: 22px; font-weight: 700; }
  .header:is(.is-scrolled, .is-solid) .nav__list a:not(.btn):hover { background: rgba(255, 255, 255, .08); }
  .nav__mobile-only { display: block; margin-top: 10px; }
  .header.menu-open { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header.menu-open .logo { color: #fff; }
  .header.menu-open .burger { background: rgba(255, 255, 255, .1); }

  .hero { min-height: auto; padding-bottom: 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__bg img { object-position: 60% 30%; }
  .hero__bg::after {
    background: linear-gradient(180deg, rgba(11, 22, 38, .85) 0%, rgba(11, 22, 38, .78) 50%, rgba(11, 22, 38, .96) 100%);
  }
  .hero__widgets { height: 400px; }
  .poll { top: 0; right: auto; left: 0; }
  .question-toast { left: auto; right: 0; bottom: 30px; }
  .participants { display: none; }
  .hero__scroll { display: none; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .webapp__grid { grid-template-columns: 1fr; gap: 24px; }
  .webapp__phone { max-width: 440px; }
  .how { grid-template-columns: 1fr; gap: 48px; }
  .how__chip { left: 16px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .header__actions .btn--sm { display: none; }
  .logo { width: 122px; }

  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__widgets { height: auto; }
  .poll { position: relative; width: 100%; }
  .question-toast { display: none; }
  .emoji-stream { right: 0; bottom: 40px; height: 300px; width: 110px; }

  .trust { padding: 56px 0 64px; }
  .marquee__list { gap: 40px; padding-right: 40px; }
  .marquee__list img { height: 48px; }
  .stats { gap: 12px; margin-top: 48px; }
  .stat { padding: 20px 18px; }

  .bento,
  .grid-3 { grid-template-columns: 1fr; }
  .card--qa, .card--votes, .card--promo { grid-column: auto; }
  .card { padding: 24px; }
  .card__row { grid-template-columns: 1fr; }
  .card--promo { flex-direction: column; align-items: flex-start; }
  .card--promo__img { order: -1; width: 88px; height: 88px; margin-bottom: -6px; }

  .step { padding: 12px; }
  .step:not(:last-child)::before { top: 74px; bottom: -14px; left: 39px; }
  .how__chip { right: 16px; left: 16px; bottom: 16px; font-size: 13px; }

  .cta__buttons .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .emoji-stream, .emoji-demo span { display: none; }
}

/* =========================================================
   Pages produits (inc_v2_produit.php)
   ========================================================= */
.phero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 96px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.phero__bg { position: absolute; inset: 0; }
.phero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .4;
  filter: blur(16px) saturate(1.2);
  transform: scale(1.12);
}
.phero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px circle at 85% 30%, rgba(61, 139, 255, .22), transparent 60%),
    radial-gradient(600px circle at 0% 100%, rgba(229, 115, 132, .25), transparent 60%),
    linear-gradient(90deg, rgba(11, 22, 38, .96) 0%, rgba(11, 22, 38, .82) 50%, rgba(11, 22, 38, .7) 100%);
}
.phero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.breadcrumb { margin-bottom: 22px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; color: rgba(255, 255, 255, .62); font-size: 13.5px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: rgba(255, 255, 255, .92); font-weight: 600; }

.phero__title {
  margin: 18px 0 18px;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.phero__lead { max-width: 580px; color: rgba(255, 255, 255, .78); font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.65; }
.phero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.phero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  font-weight: 600;
}
.phero__chips svg,
.checklist svg {
  flex: none;
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.phero__chips svg { width: 15px; height: 15px; stroke: var(--coral-light); }

.phero__media { position: relative; }
.screen {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.screen video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  background: #050B14;
}
.screen--vertical { max-width: 330px; margin-inline: auto; padding: 12px; border-radius: 44px; }
.screen--vertical video { aspect-ratio: 9 / 16; border-radius: 34px; }
/* badge posé à cheval sur le bord du cadre pour ne pas masquer la vidéo */
.screen .live-pill {
  position: absolute;
  top: -13px; left: 28px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #1A1C33;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6);
}
.screen--vertical .live-pill { left: 50%; transform: translateX(-50%); }
.phero__icon {
  position: absolute;
  right: -20px; bottom: -40px;
  width: 128px; height: 128px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45));
  animation: float 6s ease-in-out infinite;
}
.screen--vertical + .phero__icon { right: 6%; }

/* Concept */
.intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: start;
  gap: 64px;
}
.prose p { margin-bottom: 16px; color: var(--muted); font-size: 1.075rem; line-height: 1.75; }
.prose a,
.checklist a,
.atouts__compat a { text-decoration: underline; text-underline-offset: 3px; }
.prose a, .checklist a { color: var(--blue-text); }
.prose img { display: inline-block; width: 20px; vertical-align: -4px; }
.intro__text .btn { margin-top: 12px; }
.intro__card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(160deg, #fff, var(--surface-2));
  box-shadow: var(--shadow);
}
.intro__card h3 { margin-bottom: 20px; font-size: 1.15rem; font-weight: 700; }
.checklist { display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 15.5px; line-height: 1.55; }
.checklist svg {
  width: 26px; height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(229, 115, 132, .12);
  stroke: var(--coral-text);
}

/* Étapes */
.psteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pstep {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.pstep:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.js .pstep.reveal.is-visible:hover { transform: translateY(-4px); transition-delay: 0s; }
.pstep__num {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box;
  box-shadow: 0 10px 24px -12px rgba(229, 115, 132, .6);
  color: var(--coral-text);
  font-size: 15px;
  font-weight: 800;
}
.pstep h3 { margin-bottom: 8px; font-size: 1.15rem; font-weight: 700; }
.pstep p { color: var(--muted); font-size: 15px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery__item {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background: var(--tint);
  box-shadow: var(--shadow);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.04); }

/* Atouts */
.atouts {
  position: relative;
  padding: clamp(88px, 10vw, 128px) 0;
  overflow: hidden;
  background:
    radial-gradient(640px circle at 15% 0%, rgba(229, 115, 132, .18), transparent 60%),
    radial-gradient(640px circle at 90% 100%, rgba(61, 139, 255, .22), transparent 60%),
    var(--ink);
  color: #fff;
}
.atouts__lead { color: rgba(255, 255, 255, .72); }
.atouts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.atout {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .05);
  transition: transform .4s var(--ease-out), background-color .4s, border-color .4s;
}
.atout:hover { transform: translateY(-4px); border-color: rgba(255, 158, 171, .35); background: rgba(255, 255, 255, .08); }
.js .atout.reveal.is-visible:hover { transform: translateY(-4px); transition-delay: 0s; }
.atout img {
  width: 76px; height: 76px;
  margin-bottom: 18px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35));
}
.atout h3 { margin-bottom: 8px; font-size: 1.1rem; font-weight: 700; }
.atout p { color: rgba(255, 255, 255, .72); font-size: 14.5px; line-height: 1.6; }
.atout p a { color: #fff; text-decoration: underline; }
.atout__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--coral-light);
  font-size: 14px;
  font-weight: 700;
}
.atout__link svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s var(--ease-out);
}
.atout__link:hover svg { transform: translateX(3px); }
.atouts__compat {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 18px 24px;
  border: 1px dashed rgba(255, 255, 255, .24);
  border-radius: 16px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}
.atouts__compat a { color: #fff; }

/* Bloc complémentaire & modules liés */
.extra { max-width: 860px; text-align: center; }
.extra .prose p { font-size: 1.1rem; }
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card--mini { padding: 24px; }
.card--mini .card__icon { width: 64px; height: 64px; margin-bottom: 14px; }
.card--mini .card__title { font-size: 1.08rem; }
.card--mini .card__text { font-size: 14px; }

@media (max-width: 1023px) {
  .phero { padding-bottom: 80px; }
  .phero__grid,
  .intro { grid-template-columns: 1fr; gap: 48px; }
  .intro__card { position: static; }
  .atouts__grid,
  .related { grid-template-columns: repeat(2, 1fr); }
}

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

@media (max-width: 640px) {
  .phero { padding-top: calc(var(--header-h) + 28px); }
  .phero__icon { right: -6px; bottom: -28px; width: 84px; height: 84px; }
  .screen--vertical { max-width: 260px; }
  .intro__card { padding: 24px; }
  .gallery,
  .atouts__grid { grid-template-columns: 1fr; }
  .related { gap: 12px; }
  .card--mini { padding: 18px; }
}

/* =========================================================
   Page de message (inc_v2_message.php) + bouton contour
   ========================================================= */
:root { --success: #1F9D63; }

.btn--outline { border-color: var(--border); background: #fff; color: var(--text); }
.btn--outline:hover { border-color: rgba(229, 115, 132, .5); transform: translateY(-2px); }

.msg {
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h) - 120px);
  padding: clamp(56px, 9vw, 112px) 0;
  background:
    radial-gradient(700px circle at 10% 0%, rgba(229, 115, 132, .1), transparent 55%),
    radial-gradient(700px circle at 90% 100%, rgba(61, 139, 255, .1), transparent 55%),
    var(--tint);
}
.msg .container { width: min(680px, 100% - 32px); }
.msg__card {
  padding: 48px 40px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.msg__icon {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
}
.msg__icon svg { width: 36px; height: 36px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.msg__card--ok .msg__icon { background: rgba(31, 157, 99, .12); }
.msg__card--ok .msg__icon svg { stroke: var(--success); }
.msg__card--erreur .msg__icon { background: rgba(229, 115, 132, .14); }
.msg__card--erreur .msg__icon svg { stroke: var(--coral-text); }
.msg__title {
  margin: 16px 0 14px;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.msg .prose p:last-child { margin-bottom: 0; }
.msg__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

@media (max-width: 640px) {
  .msg__card { padding: 36px 22px; }
  .msg__actions .btn { flex: 1 1 100%; }
}

/* Pages produits : variantes (grille de 3 atouts, mention sous la galerie) */
.atouts__grid--3 { grid-template-columns: repeat(3, 1fr); }
.gallery__note { margin-top: 16px; color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 1023px) { .atouts__grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .atouts__grid--3 { grid-template-columns: 1fr; } }

/* =========================================================
   Catalogue produit.php, cas d'usage, pack
   ========================================================= */
.phero--compact { padding-bottom: 80px; }
.phero__intro { position: relative; }
.phero__intro > * { max-width: 780px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}
.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.filter:hover { border-color: rgba(229, 115, 132, .45); }
.filter span {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.filter[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(11, 22, 38, .8);
}
.filter[aria-pressed="true"] span { background: rgba(255, 255, 255, .16); color: #fff; }
.catalogue__count { margin-bottom: 28px; color: var(--muted); font-size: 14px; text-align: center; }

.catalogue {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.catalogue [hidden] { display: none !important; }
.card__cat {
  margin-bottom: 6px;
  color: var(--coral-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.card--cat .card__icon { width: 72px; height: 72px; }

/* Cas d'usage (webapp) */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case {
  position: relative;
  padding: 28px 28px 28px 92px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(160deg, #fff, var(--surface-2));
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.js .case.reveal.is-visible:hover { transform: translateY(-4px); transition-delay: 0s; }
.case__num {
  position: absolute;
  top: 26px; left: 26px;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box;
  color: var(--coral-text);
  font-size: 14px;
  font-weight: 800;
}
.case h3 { margin-bottom: 6px; font-size: 1.12rem; font-weight: 700; }
.case p { color: var(--muted); font-size: 15px; }

.related--3 { grid-template-columns: repeat(3, 1fr); }

/* Pack */
.pack {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 40px;
  padding: clamp(32px, 5vw, 56px);
  overflow: hidden;
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(61, 139, 255, .38), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(229, 115, 132, .35), transparent 55%),
    var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.pack__title {
  margin: 16px 0 14px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.pack .text-gradient { background-image: var(--grad-text-dark); }
.pack__text { max-width: 560px; color: rgba(255, 255, 255, .78); font-size: 1.05rem; }
.pack__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pack__icons { position: relative; display: flex; justify-content: center; }
.pack__icons img {
  width: 140px; height: 140px;
  margin-left: -36px;
  object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .45));
  animation: float 6s ease-in-out infinite;
}
.pack__icons img:first-child { margin-left: 0; }
.pack__icons img:nth-child(2) { margin-top: -50px; animation-delay: -2s; }
.pack__icons img:nth-child(3) { animation-delay: -4s; }

@media (max-width: 1023px) {
  .related--3 { grid-template-columns: repeat(2, 1fr); }
  .pack { grid-template-columns: 1fr; }
  .pack__icons { order: -1; }
}

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

@media (max-width: 640px) {
  .filters { justify-content: flex-start; }
  .case { padding: 84px 22px 24px; }
  .case__num { top: 22px; left: 22px; }
  .pack__icons img { width: 96px; height: 96px; margin-left: -24px; }
  .pack__ctas .btn { flex: 1 1 100%; }
}

/* =========================================================
   Clients, à propos, contact, devis
   ========================================================= */

/* Mur de logos (clients) */
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}
.logos [hidden] { display: none !important; }
.logo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 16px 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.logo-tile img {
  width: auto;
  height: 72px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .35s, opacity .35s;
}
.logo-tile span { color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.3; }
.logo-tile:hover { transform: translateY(-3px); border-color: rgba(229, 115, 132, .35); box-shadow: var(--shadow); }
.logo-tile:hover img { filter: none; opacity: 1; }

/* Histoire (à propos) */
.story {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: start;
  gap: 48px;
}
.story__head .section__title { margin-bottom: 0; }
.story__text { padding-top: 34px; }
.banner { position: relative; margin: 48px 0 0; }
.banner img {
  width: 100%;
  aspect-ratio: 1023 / 266;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.banner__chip {
  position: absolute;
  left: 24px; bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
}
.card--value .card__text a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.card--value .card__text { margin-bottom: 0; }
.section__more { margin-top: 36px; text-align: center; }

/* Panneaux & formulaires (contact, devis) */
.panel {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.panel--flush { padding: 0; overflow: hidden; }
.panel__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.panel__lead { margin-bottom: 20px; color: var(--muted); }

.form label,
.form__label { display: block; margin: 18px 0 7px; font-size: 14px; font-weight: 600; }
.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; line-height: 1.5; }
.form select {
  padding-right: 44px;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E5D73' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
.form input:focus,
.form textarea:focus,
.form select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(61, 139, 255, .18); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form__optional { color: var(--muted); font-weight: 400; }
.form__captcha { margin: 22px 0 22px; }
.form__captcha .form__label { margin-top: 0; }
.form__error { margin-bottom: 8px; color: var(--coral-text); font-size: 14px; font-weight: 600; }
.form__note { margin-top: 14px; color: var(--muted); font-size: 13px; text-align: center; }
.g-recaptcha { transform-origin: 0 0; }

.alert {
  display: grid;
  gap: 2px;
  margin: 0 0 22px;
  padding: 14px 18px;
  border: 1px solid;
  border-radius: 14px;
}
.alert span { color: var(--muted); font-size: 14px; }
.alert--ok { border-color: rgba(31, 157, 99, .3); background: rgba(31, 157, 99, .08); }
.alert--ok strong { color: var(--success); }
.alert--err { border-color: rgba(229, 115, 132, .35); background: rgba(229, 115, 132, .08); }
.alert--err strong { color: var(--coral-text); }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: start;
  gap: 28px;
}
.contact__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.contact__map { display: block; width: 100%; height: 260px; border: 0; }
.contact__info { padding: 26px 28px 4px; }
.place h3 { margin: 16px 0 4px; font-size: 15px; font-weight: 700; }
.place p { color: var(--muted); font-size: 15px; }
.place a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.call {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 28px 26px;
  border-top: 1px solid var(--border);
}
.call__status { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; }
.call__dot {
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #D64545;
  box-shadow: 0 0 0 4px rgba(214, 69, 69, .14);
}
.call__status.is-open .call__dot { background: var(--success); box-shadow: 0 0 0 4px rgba(31, 157, 99, .16); }
.call__hours { margin-top: 2px; color: var(--muted); font-size: 13px; }

/* Devis */
.quote {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: start;
  gap: 24px;
}
.quote__form { position: sticky; top: calc(var(--header-h) + 24px); }
.step-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pick {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.pick:hover { border-color: rgba(229, 115, 132, .45); }
.pick:has(.pick__input:checked) {
  border-color: var(--coral-text);
  background: linear-gradient(160deg, #fff, rgba(229, 115, 132, .07));
  box-shadow: 0 12px 26px -16px rgba(229, 115, 132, .7);
}
.pick:has(.pick__input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.pick__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pick__check {
  position: absolute;
  top: 12px; right: 12px;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border: 1.5px solid #C9D3E0;
  border-radius: 50%;
  background: #fff;
  transition: background-color .2s, border-color .2s;
}
.pick__check svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.pick__input:checked + .pick__check { border-color: var(--coral-text); background: var(--coral-text); }
.pick__input:checked + .pick__check svg { opacity: 1; }
.pick__icon { width: 52px; height: 52px; object-fit: contain; }
.pick__icon.custom-plus { width: 52px; height: 52px; margin: 0; }
.pick__icon.custom-plus svg { width: 24px; height: 24px; }
.pick__body { display: flex; flex-direction: column; gap: 3px; padding-right: 22px; }
.pick__title { font-size: 15px; font-weight: 700; line-height: 1.3; }
.pick__meta { color: var(--muted); font-size: 13px; line-height: 1.45; }
.pick__link { align-self: flex-start; margin-top: 4px; color: var(--blue-text); font-size: 12.5px; font-weight: 600; }
.pick__link:hover { text-decoration: underline; }
.summary {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px dashed #C9D3E0;
  border-radius: 16px;
  background: var(--tint);
}
.summary__title { margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.summary__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.summary__tags li {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.summary__tags li.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.summary__discount { margin-top: 12px; color: var(--muted); font-size: 14px; }
.summary__discount b { color: var(--text); }
.summary__discount.is-on,
.summary__discount.is-on b { color: var(--success); }

@media (max-width: 1023px) {
  .story,
  .contact,
  .quote { grid-template-columns: 1fr; }
  .story { gap: 0; }
  .contact__aside,
  .quote__form { position: static; }
}

@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; }
  .banner img { aspect-ratio: 16 / 10; object-position: 35% center; }
  .banner__chip { right: 16px; left: 16px; bottom: 16px; font-size: 13px; }
  .contact__info { padding: 22px 22px 0; }
  .call { padding: 18px 22px 22px; }
  .call .btn { flex: 1 1 100%; }
  .logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .logo-tile img { height: 56px; }
}

@media (max-width: 360px) {
  .g-recaptcha { transform: scale(.88); }
}

/* =========================================================
   Pack, modération, personnalisation, mentions légales, blog
   ========================================================= */

/* Captures d'écran */
.shot { margin: 0; }
.shot img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
.shots .shot:first-child { grid-column: 1 / -1; max-width: 860px; justify-self: center; }

/* Fonctionnalité (texte + capture) */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.feature .prose { margin-bottom: 8px; }
.mini-steps { display: grid; gap: 12px; margin: 8px 0 28px; }
.mini-steps li { display: grid; grid-template-columns: 36px 1fr; align-items: start; gap: 14px; }
.mini-steps p { color: var(--muted); }
.mini-steps__num {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box;
  color: var(--coral-text);
  font-size: 14px;
  font-weight: 800;
}

/* Mentions légales */
.legal { display: grid; gap: 20px; max-width: 980px; }
.legal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.legal p { color: var(--muted); }
.legal p strong { color: var(--text); }
.legal a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.legal__list { display: grid; gap: 6px; margin-top: 12px; padding-left: 1.1em; list-style: disc; color: var(--muted); font-size: 15px; }

/* Pack : chiffres clés, inclus, options, FAQ */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.kpi {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(160deg, #fff, var(--surface-2));
}
.kpi img { flex: none; width: 60px; height: 60px; object-fit: contain; }
.kpi h3 { margin-bottom: 4px; font-size: 1.05rem; font-weight: 700; }
.kpi p { color: var(--muted); font-size: 14.5px; }
.split { display: grid; grid-template-columns: 1.3fr .7fr; align-items: start; gap: 20px; }
.split .panel__title { margin-bottom: 18px; font-size: 1.2rem; }
.split aside p { margin-bottom: 14px; }
.panel--ink {
  border-color: transparent;
  background:
    radial-gradient(circle at 100% 0%, rgba(61, 139, 255, .35), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(229, 115, 132, .3), transparent 55%),
    var(--ink);
  color: #fff;
}
.panel--ink p { color: rgba(255, 255, 255, .78); }
.panel--ink strong { color: #fff; }
.panel--ink .btn { margin-top: 6px; }
.checklist--sm { gap: 10px; margin-bottom: 20px; }
.checklist--sm li { grid-template-columns: 22px 1fr; font-size: 14.5px; }
.checklist--sm svg { width: 22px; height: 22px; padding: 4px; }
.checklist--plus svg { background: rgba(61, 139, 255, .12); stroke: var(--blue-text); }

.faq { max-width: 860px; }
.faq__item {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.faq__item[open] { border-color: rgba(229, 115, 132, .4); box-shadow: var(--shadow-sm); }
.faq__item summary {
  position: relative;
  padding: 20px 60px 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  top: 50%; right: 22px;
  width: 22px; height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4405A' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") no-repeat center / 14px;
  transition: transform .3s var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); }

/* Blog : liste */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { padding: 0 0 24px; }
.post-card > :not(.post-card__media) { margin-left: 24px; margin-right: 24px; }
.post-card__media {
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(229, 115, 132, .14), rgba(61, 139, 255, .14));
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.post-card__media .post-card__placeholder { width: 96px; height: 96px; object-fit: contain; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card .card__title { font-size: 1.12rem; line-height: 1.3; }

/* Blog : article */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 56px;
}
.article__cover { margin: 0 0 32px; }
.article__cover img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.article__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.article__aside .panel { padding: 24px; }
.article__aside .panel__title { margin-bottom: 14px; font-size: 1.1rem; }
.aside-modules { display: grid; gap: 4px; }
.aside-modules a {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  transition: background-color .2s;
}
.aside-modules a:hover { background: var(--tint); }
.aside-modules img { width: 44px; height: 44px; object-fit: contain; }
.aside-modules span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.aside-modules strong { display: block; color: var(--text); font-size: 14.5px; }
.aside-modules__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--coral-text);
  font-size: 14px;
  font-weight: 700;
}
.aside-modules__all svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Contenu WordPress des articles */
.prose--article { color: #2A3A4E; font-size: 1.1rem; line-height: 1.8; }
.prose--article > *:first-child { margin-top: 0; }
.prose--article p,
.prose--article li { color: inherit; font-size: inherit; line-height: inherit; }
.prose--article p { margin: 0 0 20px; }
.prose--article h2 { margin: 44px 0 16px; color: var(--text); font-size: clamp(1.45rem, 2.4vw, 1.8rem); font-weight: 800; letter-spacing: -0.02em; }
.prose--article h3 { margin: 32px 0 12px; color: var(--text); font-size: 1.25rem; font-weight: 700; }
.prose--article h4 { margin: 24px 0 10px; color: var(--text); font-size: 1.08rem; font-weight: 700; }
.prose--article ul,
.prose--article ol { margin: 0 0 22px; padding-left: 1.4em; }
.prose--article ul { list-style: disc; }
.prose--article ol { list-style: decimal; }
.prose--article li { margin-bottom: 8px; }
.prose--article li::marker { color: var(--coral-text); }
.prose--article img { display: block; width: auto; max-width: 100%; height: auto; margin: 28px auto; border-radius: 16px; }
.prose--article figure { margin: 28px 0; }
.prose--article figcaption,
.prose--article .wp-caption-text { color: var(--muted); font-size: 14px; text-align: center; }
.prose--article .wp-caption { max-width: 100%; }
.prose--article .aligncenter { margin-inline: auto; }
.prose--article blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--coral);
  border-radius: 0 16px 16px 0;
  background: var(--tint);
  color: var(--text);
  font-style: italic;
}
.prose--article table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: .95rem; }
.prose--article th,
.prose--article td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
.prose--article iframe,
.prose--article video { max-width: 100%; border-radius: 16px; }

@media (max-width: 1023px) {
  .feature,
  .split,
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article__aside { position: static; }
  .kpis { grid-template-columns: 1fr; }
  .posts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .shots,
  .legal__grid,
  .posts { grid-template-columns: 1fr; }
  .faq__item summary { padding: 18px 54px 18px 18px; font-size: 1rem; }
  .faq__item p { padding: 0 18px 18px; }
  .prose--article { font-size: 1.04rem; }
}
