/* ═══════════════════════════════════════════════════════════════
   WAVORE — agence créative IA
   Style épuré façon Apple, couleurs Instagram.
   Aucun composant n'écrit un hex en dur : tout passe par les tokens.
   ═══════════════════════════════════════════════════════════════ */

:root {
  color-scheme: light;

  --surface: #fdfcfa;
  --surface-2: #f4f2ec;
  --surface-3: #ebe8df;
  --border: #e2ded2;
  --on-surface: #16140f;
  --on-muted: #6b685e;
  --white: #ffffff;

  /* Instagram */
  --ig-violet: #833ab4;
  --ig-magenta: #c13584;
  --ig-pink: #e1306c;
  --ig-red: #fd1d1d;
  --ig-orange: #f77737;
  --ig-yellow: #fcaf45;
  --accent: #c13584;            /* texte/icônes d'accent, contraste ≥ 4.5:1 sur crème */
  --grad: linear-gradient(90deg, #833ab4 0%, #c13584 35%, #e1306c 58%, #fd1d1d 78%, #f77737 100%);
  --grad-soft: linear-gradient(135deg, #f3e8fb 0%, #fde7f0 50%, #fff0e3 100%);
  --grad-ring: conic-gradient(from 200deg, #fcaf45, #f77737, #fd1d1d, #e1306c, #c13584, #833ab4, #fcaf45);

  --radius-card: 1.5rem;
  --shadow-soft: 0 1px 2px rgb(0 0 0 / .04), 0 12px 24px -8px rgb(0 0 0 / .08), 0 40px 80px -24px rgb(0 0 0 / .16);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

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

html { background: var(--surface); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a, [role="button"] { touch-action: manipulation; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--ig-magenta);
  outline-offset: 3px;
  border-radius: 10px;
}

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--on-surface); color: var(--surface);
  padding: .75rem 1rem; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 1rem; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 52rem; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.muted { color: var(--on-muted); }

/* ─── En-tête : logo + menu en pastilles + CTA ─── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; min-height: 44px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }

.pills {
  display: none; align-items: center; gap: 2px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px;
}
.pills a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px;
  border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--on-muted);
  transition: color .2s, background-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.pills a:hover { color: var(--on-surface); background: var(--surface); }
.pills a[aria-current="page"] {
  color: var(--on-surface); background: var(--white);
  box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 4px 10px -4px rgb(0 0 0 / .12);
}
.nav-cta { display: none; }
@media (min-width: 1024px) { .pills, .nav-cta { display: inline-flex; } .burger { display: none !important; } }

/* Bouton menu mobile façon Apple : deux traits fins, sans cadre, qui pivotent en croix */
.burger {
  position: relative; display: block; width: 44px; height: 44px; margin-right: -10px;
  border: 0; background: transparent; cursor: pointer; border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  position: absolute; left: 13px; width: 18px; height: 1.5px; border-radius: 2px;
  background: var(--on-surface);
  transition: transform .35s cubic-bezier(.52, .16, .24, 1), top .25s cubic-bezier(.52, .16, .24, 1) .1s;
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger:active { background: var(--surface-2); }
.burger[aria-expanded="true"] span { transition: top .25s cubic-bezier(.52, .16, .24, 1), transform .35s cubic-bezier(.52, .16, .24, 1) .1s; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* Menu plein écran : grands titres qui glissent un par un */
.mobile-menu {
  position: fixed; inset: 4.25rem 0 0 0; z-index: 39; overflow-y: auto;
  display: flex; flex-direction: column; gap: 0;
  padding: 1.25rem 32px calc(2rem + env(safe-area-inset-bottom));
  background: color-mix(in oklab, var(--surface) 94%, transparent);
  backdrop-filter: saturate(1.8) blur(24px); -webkit-backdrop-filter: saturate(1.8) blur(24px);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  min-height: 52px; display: flex; align-items: center; padding: 0;
  font-size: 1.75rem; font-weight: 700; letter-spacing: -.025em; color: var(--on-surface);
  border-radius: 0; background: none;
}
.mobile-menu a:not(.btn):hover, .mobile-menu a[aria-current="page"] { background: none; }
.mobile-menu a[aria-current="page"] { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mobile-menu .btn { margin-top: 1.75rem; min-height: 54px; font-size: 1.05rem; align-self: stretch; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu { animation: menu-in .3s ease-out both; }
  .mobile-menu > * { animation: menu-item .5s cubic-bezier(.22, 1, .36, 1) both; }
  .mobile-menu > *:nth-child(1) { animation-delay: .04s; }
  .mobile-menu > *:nth-child(2) { animation-delay: .08s; }
  .mobile-menu > *:nth-child(3) { animation-delay: .12s; }
  .mobile-menu > *:nth-child(4) { animation-delay: .16s; }
  .mobile-menu > *:nth-child(5) { animation-delay: .2s; }
  .mobile-menu > *:nth-child(6) { animation-delay: .26s; }
}
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes menu-item { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
/* Pas de défilement de la page derrière le menu ouvert */
body:has(.burger[aria-expanded="true"]) { overflow: hidden; }
.nav:has(.burger[aria-expanded="true"]) { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ─── Boutons ─── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.4rem; border-radius: 999px; border: 0;
  font-weight: 600; font-size: .975rem; cursor: pointer; white-space: nowrap;
  transition: transform 200ms var(--ease-spring), box-shadow 200ms ease, background-color 160ms ease, opacity .2s;
}
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 0 1.75rem; font-size: 1rem; }
.btn-grad { background: var(--grad); color: var(--white); box-shadow: 0 8px 22px -10px rgb(193 53 132 / .7); }
.btn-dark { background: var(--on-surface); color: var(--surface); }
.btn-light { background: var(--white); color: var(--on-surface); border: 1px solid var(--border); }
.btn-light:hover { background: var(--surface-2); }
@media (hover: hover) {
  .btn:hover { transform: scale(1.035); }
  .btn-grad:hover { box-shadow: 0 14px 30px -10px rgb(193 53 132 / .75); }
}
.btn:active { transform: scale(.96); transition-duration: 90ms; }
.btn .arrow { transition: transform 220ms cubic-bezier(.2, 0, 0, 1); }
@media (hover: hover) { .btn:hover .arrow { transform: translateX(3px); } }

/* Texte qui « se retourne » au survol */
.roll { position: relative; display: inline-block; height: 1.25em; line-height: 1.25em; overflow: hidden; vertical-align: middle; }
.roll > span { display: flex; flex-direction: column; transition: transform .3s var(--ease-out); }
.roll > span > span { height: 1.25em; }
@media (hover: hover) { .btn:hover .roll > span { transform: translateY(-50%); } }

/* Pastille de notification rouge */
.notif-dot { position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; }
.notif-dot .ping, .notif-dot .core { position: absolute; inset: 0; border-radius: 999px; background: var(--ig-red); }
.notif-dot .core { box-shadow: 0 0 0 2px var(--surface); }
@media (prefers-reduced-motion: no-preference) {
  .notif-dot .ping { animation: ping 1.4s cubic-bezier(0, 0, .2, 1) infinite; }
}
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }

/* ─── Petits éléments ─── */
.badge-line {
  display: inline-flex; align-items: center; gap: .55rem; flex-wrap: wrap; justify-content: center;
  font-size: .875rem; font-weight: 600;
}
.sparkle { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
  .sparkle { animation: twinkle 2.6s ease-in-out infinite; }
  .sparkle.d2 { animation-delay: .3s; }
}
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.75) rotate(45deg); opacity: .65; } }

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .875rem; font-weight: 500;
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: .4rem .85rem;
}
.chip svg { width: 14px; height: 14px; color: var(--accent); }

.surtitre {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 600;
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: .4rem .9rem; margin-bottom: 1.25rem;
}
.surtitre svg { width: 14px; height: 14px; color: var(--accent); }

/* ─── Sections ─── */
.section { padding: 5rem 0; scroll-margin-top: 4.5rem; }
@media (min-width: 640px) { .section { padding: 7rem 0; } }
.section-soft { background: var(--surface-2); border-block: 1px solid var(--border); }

.head { max-width: 44rem; margin-bottom: 3rem; }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.25rem); line-height: 1.07; letter-spacing: -.03em; text-wrap: balance; }
.head p.sub { font-size: 1.125rem; color: var(--on-muted); margin-top: 1rem; text-wrap: pretty; }

/* ─── Hero ─── */
.hero { position: relative; overflow: hidden; padding: 6.5rem 0 4rem; text-align: center; }
@media (min-width: 768px) { .hero { padding: 8rem 0 5rem; } }
.hero-inner { position: relative; z-index: 2; max-width: 56rem; margin: 0 auto; padding: 0 16px; }
.hero h1 {
  font-weight: 800; font-size: clamp(2.6rem, 7.6vw, 5rem);
  line-height: 1.03; letter-spacing: -.04em; text-wrap: balance;
  margin-top: 1.6rem;
}
.hero .lede { font-size: 1.125rem; color: var(--on-muted); max-width: 40rem; margin: 1.5rem auto 0; text-wrap: balance; }
.hero .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 2rem; }
.hero-ctas { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; margin-top: 2.25rem; }
.hero-ctas .btn { width: 100%; max-width: 22rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } .hero-ctas .btn { width: auto; } }
.hero-note { font-size: .875rem; color: var(--on-muted); margin-top: 1.1rem; }

/* Preuve sociale : avatars + note Google */
.proof-line { display: inline-flex; align-items: center; gap: .75rem; margin-top: 2rem; flex-wrap: wrap; justify-content: center; }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; color: var(--white);
  border: 2px solid var(--surface); margin-left: -9px;
}
.avatars span:first-child { margin-left: 0; }
.proof-text { text-align: left; font-size: .85rem; color: var(--on-muted); line-height: 1.35; }
.proof-text .stars { color: var(--ig-yellow); letter-spacing: 1px; font-size: .85rem; }
.proof-text a { color: var(--on-surface); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Icônes d'apps flottantes */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.fl { position: absolute; width: 44px; height: 44px; translate: var(--mx, 0) var(--my, 0); transition: translate .5s var(--ease-out); }
.fl > span {
  display: block; width: 100%; height: 100%; border-radius: 24%;
  box-shadow: 0 14px 30px -10px rgb(0 0 0 / .35);
  overflow: hidden;
}
.fl svg { width: 100%; height: 100%; }
@media (min-width: 768px) { .fl { width: 76px; height: 76px; } }
@media (prefers-reduced-motion: no-preference) {
  .fl { animation: pop .7s var(--ease-out) both; animation-delay: calc(var(--i) * 80ms + 150ms); }
  .fl > span { animation: drift var(--dur, 6s) ease-in-out infinite alternate; }
}
@keyframes pop { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }
@keyframes drift {
  0% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(6px, -8px) rotate(5deg); }
  50% { transform: translate(0, 0) rotate(0); }
  75% { transform: translate(-6px, 8px) rotate(-5deg); }
  100% { transform: translate(0, 0) rotate(0); }
}
/* Mobile : une rangée en haut, une rangée en bas — jamais sous le texte */
.fl.t { top: 18px; }
.fl.b { bottom: 18px; }
.fl.p1 { left: 4%; } .fl.p2 { left: 23%; } .fl.p3 { left: 42%; } .fl.p4 { left: 61%; } .fl.p5 { left: 80%; }
@media (min-width: 768px) {
  .fl.t, .fl.b { top: auto; bottom: auto; left: auto; right: auto; }
  .fl.d1 { top: 10% !important; left: 7% !important; }
  .fl.d2 { top: 13% !important; right: 8% !important; }
  .fl.d3 { top: 46% !important; left: 3% !important; }
  .fl.d4 { top: 47% !important; right: 3% !important; }
  .fl.d5 { bottom: 9% !important; left: 9% !important; }
  .fl.d6 { bottom: 12% !important; right: 9% !important; }
  .fl.d7, .fl.d8, .fl.d9, .fl.d10 { display: none; }
}
@media (min-width: 1100px) {
  .fl.d7 { display: block; top: 4% !important; left: 25% !important; }
  .fl.d8 { display: block; top: 5% !important; right: 25% !important; }
  .fl.d9 { display: block; bottom: 4% !important; left: 27% !important; }
  .fl.d10 { display: block; bottom: 4% !important; right: 27% !important; }
}

/* Écran vitrine : fenêtre façon macOS qui grossit au scroll */
.showcase { position: relative; z-index: 2; padding: 0 16px; margin-top: 3.5rem; }
.window {
  max-width: 64rem; margin: 0 auto;
  border-radius: 28px; padding: 6px;
  background: linear-gradient(to bottom, var(--white), var(--surface-2));
  box-shadow: 0 0 0 1px rgb(0 0 0 / .06), var(--shadow-soft);
}
.window-bar { position: relative; display: flex; align-items: center; height: 40px; padding: 0 14px; }
.window-bar .dots { display: flex; gap: 7px; }
.window-bar .dots i { width: 12px; height: 12px; border-radius: 999px; display: block; }
.window-bar .dots i:nth-child(1) { background: #ff5f57; }
.window-bar .dots i:nth-child(2) { background: #febc2e; }
.window-bar .dots i:nth-child(3) { background: #28c840; }
.window-bar p { position: absolute; inset-inline: 0; text-align: center; font-size: .85rem; font-weight: 500; color: var(--on-muted); pointer-events: none; }
.window-body { position: relative; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.window-body video { width: 100%; height: 100%; object-fit: cover; }
.sound-btn {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 0; cursor: pointer;
  background: rgb(255 255 255 / .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .875rem; font-weight: 600; color: var(--on-surface);
}
.sound-btn svg { width: 18px; height: 18px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .grow-on-scroll { animation: grow linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}
@keyframes grow { from { transform: scale(.88) translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }

/* ─── Bandeau défilant ─── */
.marquee-band { border-block: 1px solid var(--border); background: var(--surface-2); padding: 1.15rem 0; overflow: hidden; }
.marquee { display: flex; align-items: center; gap: 2.5rem; width: max-content; }
.marquee span { display: inline-flex; align-items: center; gap: .55rem; color: var(--on-muted); font-weight: 500; flex-shrink: 0; }
.marquee svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) { .marquee { animation: marquee 32s linear infinite; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── Chiffres ─── */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.stat {
  container-type: inline-size;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 1.4rem 1.25rem;
}
.stat-num { font-weight: 800; font-size: clamp(1.9rem, 17cqi, 3rem); letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.stat-label { color: var(--on-muted); font-size: .925rem; margin-top: .65rem; line-height: 1.45; }

/* ─── Pôles (cartes services) ─── */
.poles { display: grid; gap: 16px; }
@media (min-width: 900px) { .poles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.pole {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border); border-radius: 28px;
  padding: 1.75rem; min-height: 26rem;
  transition: transform 260ms cubic-bezier(.2, 0, 0, 1), box-shadow 260ms ease, border-color 260ms;
}
@media (hover: hover) {
  .pole:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: color-mix(in oklab, var(--ig-magenta) 35%, var(--border)); }
}
@media (min-width: 900px) {
  .pole.w4 { grid-column: span 4; } .pole.w2 { grid-column: span 2; } .pole.w3 { grid-column: span 3; }
}
.pole-kicker { font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.pole h3 { font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; letter-spacing: -.025em; margin-top: .5rem; text-wrap: balance; }
.pole p.txt { color: var(--on-muted); margin-top: .65rem; max-width: 30rem; }
.pole .more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; margin-top: 1rem; min-height: 44px; }
.pole .more svg { width: 16px; height: 16px; transition: transform .2s; }
@media (hover: hover) { .pole:hover .more svg { transform: translateX(3px); } }
.pole-media { margin-top: auto; padding-top: 1.25rem; display: flex; gap: 10px; align-items: flex-end; }
.pole-media .vid { flex: 1; border-radius: 18px; overflow: hidden; aspect-ratio: 9 / 16; max-height: 15rem; background: var(--surface-2); }
.pole-media .vid video, .pole-media .vid img { width: 100%; height: 100%; object-fit: cover; }
.pole-dark { background: var(--on-surface); color: var(--surface); border-color: var(--on-surface); }
.pole-dark p.txt { color: rgb(253 252 250 / .72); }
.pole-grad { background: var(--grad-soft); }
.pole-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.pole .more { position: relative; z-index: 2; }

/* Mini-écrans dans les cartes */
.ads-mock { margin-top: auto; padding-top: 1.25rem; display: grid; gap: 10px; }
.ad-row { display: flex; align-items: center; gap: .75rem; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: .7rem .85rem; }
.ad-row b { font-size: .9rem; }
.ad-row small { display: block; color: var(--on-muted); font-size: .8rem; }
.ad-row .ad-ico { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; overflow: hidden; }
.ad-row .ad-ico svg { width: 100%; height: 100%; }
.ad-row .ad-kpi { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--accent); white-space: nowrap; }

/* Grille de posts façon profil Instagram */
.ig-mini { margin-top: auto; padding-top: 1.25rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 16px; overflow: hidden; }
.ig-mini img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ─── Anneau de story ─── */
.ring { padding: 3px; border-radius: 999px; background: var(--grad-ring); display: inline-block; }
.ring img { width: 100%; height: 100%; border-radius: 999px; object-fit: cover; border: 3px solid var(--surface); }

.stories { display: flex; gap: 1.25rem; overflow-x: auto; padding: .25rem 0 1rem; scrollbar-width: none; justify-content: flex-start; }
.stories::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .stories { justify-content: center; } }
.story { display: flex; flex-direction: column; align-items: center; gap: .5rem; flex-shrink: 0; font-size: .85rem; font-weight: 500; }
.story .ring { width: 84px; height: 84px; }

/* ─── Réalisations (reels) ─── */
.reels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .reels { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.reel {
  position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 22px; border: 0; padding: 0;
  background: var(--surface-3); cursor: pointer; text-align: left;
  transition: transform 260ms cubic-bezier(.2, 0, 0, 1), box-shadow 260ms;
}
@media (hover: hover) { .reel:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-soft); } }
.reel img, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .65), transparent 45%); }
.reel-meta { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: var(--white); font-size: .8rem; line-height: 1.3; }
.reel-meta strong { display: block; font-size: .95rem; }
.reel-play {
  position: absolute; top: 12px; right: 12px; z-index: 1; width: 36px; height: 36px; border-radius: 999px;
  background: rgb(255 255 255 / .85); display: grid; place-items: center; color: var(--on-surface);
}
.reel-play svg { width: 14px; height: 14px; margin-left: 2px; }
.reel-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; text-align: center;
  background: var(--grad); color: var(--white); padding: 1rem;
}
.reel-cta::after { display: none; }
.reel-cta span { font-size: .95rem; opacity: .9; }
.reel-cta strong { font-size: 1.2rem; }

/* ─── Styles de vidéo ─── */
.vstyles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .vstyles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.vstyle { background: var(--white); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform 260ms cubic-bezier(.2, 0, 0, 1), box-shadow 260ms; }
@media (hover: hover) { .vstyle:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); } }
.vstyle-media { aspect-ratio: 4 / 5; background: var(--surface-3); overflow: hidden; }
.vstyle-media video { width: 100%; height: 100%; object-fit: cover; }
.vstyle-body { padding: 1rem 1rem 1.15rem; }
.vstyle-body h3 { font-weight: 700; font-size: 1.05rem; }
.vstyle-body p { color: var(--on-muted); font-size: .9rem; margin-top: .2rem; line-height: 1.45; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .7rem; }
.tags span { font-size: .75rem; font-weight: 600; background: var(--surface-2); border-radius: 999px; padding: .2rem .6rem; }

/* Bloc démo du process (vidéo dans une fenêtre) */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.1fr; gap: 4rem; } .split.rev > :first-child { order: 2; } }
.split h2 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.split p.sub { font-size: 1.1rem; color: var(--on-muted); margin-top: 1rem; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* Téléphone */
.phone {
  position: relative; width: min(100%, 300px); aspect-ratio: 9 / 19.2; margin: 0 auto;
  border-radius: 46px; padding: 10px; background: #111;
  box-shadow: 0 0 0 2px #2a2a2a inset, var(--shadow-soft);
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #000; }
.phone .screen video, .phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .island { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 32%; height: 26px; border-radius: 999px; background: #000; z-index: 2; }

/* Notifications iOS */
.notifs { list-style: none; padding: 1rem; margin: 0; display: grid; gap: 10px; border-radius: 28px; background: linear-gradient(135deg, #efe4f6, #fbe3ec 50%, #fff0e1); }
.notif {
  display: flex; gap: .8rem; align-items: flex-start;
  background: rgb(255 255 255 / .8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 20px; padding: .8rem .9rem; box-shadow: 0 8px 24px -12px rgb(0 0 0 / .2);
}
.notif .ring { width: 42px; height: 42px; flex-shrink: 0; padding: 2px; }
.notif .ring img { border-width: 2px; }
.notif strong { font-size: .95rem; display: block; }
.notif p { font-size: .9rem; color: var(--on-muted); line-height: 1.4; }
.notif .when { margin-left: auto; font-size: .75rem; color: var(--on-muted); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .notifs .notif { opacity: 0; transform: translateY(-18px) scale(.96); transition: opacity .5s var(--ease-out), transform .6s var(--ease-spring); }
  .notifs.in .notif { opacity: 1; transform: none; }
  .notifs.in .notif:nth-child(2) { transition-delay: .18s; }
  .notifs.in .notif:nth-child(3) { transition-delay: .36s; }
  .notifs.in .notif:nth-child(4) { transition-delay: .54s; }
  .notifs.in .notif:nth-child(5) { transition-delay: .72s; }
}

/* ─── Tableau de bord pub ─── */
.dash { background: var(--white); border-radius: 22px; padding: 1.25rem; box-shadow: 0 0 0 1px rgb(0 0 0 / .05); }
.dash-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.dash-top h3 { font-weight: 700; font-size: 1.05rem; }
.dash-top span { font-size: .85rem; color: var(--on-muted); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 1rem; }
.kpi { background: var(--surface-2); border-radius: 16px; padding: .85rem; }
.kpi small { color: var(--on-muted); font-size: .78rem; display: block; }
.kpi b { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: .78rem; font-weight: 700; color: #15803d; }
.chart { margin-top: 1rem; height: 150px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .line { fill: none; stroke: url(#chart-grad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.chart .area { fill: url(#chart-fill); opacity: 0; }
.dash.in .chart .line { animation: draw 1.8s var(--ease-out) forwards; }
.dash.in .chart .area { animation: fadein 1s ease .9s forwards; }
@media (prefers-reduced-motion: reduce) { .chart .line { stroke-dashoffset: 0; } .chart .area { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.chart-legend { display: flex; gap: 1rem; font-size: .8rem; color: var(--on-muted); margin-top: .5rem; }
.chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); margin-right: .35rem; vertical-align: -1px; }

/* ─── Plateformes (cartes) ─── */
.features { display: grid; gap: 16px; }
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1.5rem;
  transition: transform 260ms cubic-bezier(.2, 0, 0, 1), border-color 260ms; }
@media (hover: hover) { .feature:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--ig-magenta) 35%, var(--border)); } }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--accent); margin-bottom: 1rem; overflow: hidden; }
.feature .ico svg { width: 22px; height: 22px; }
.feature .ico.app svg { width: 100%; height: 100%; }
.feature h3 { font-weight: 700; font-size: 1.15rem; }
.feature p { color: var(--on-muted); margin-top: .35rem; }

/* ─── Tarifs ─── */
.pricing { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.price {
  position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 28px; padding: 1.75rem;
  display: flex; flex-direction: column; height: 100%;
}
.price.featured { border: 2px solid transparent; background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad) border-box; box-shadow: var(--shadow-soft); }
@media (min-width: 900px) { .price.featured { margin-top: -1.25rem; padding-bottom: 2.75rem; } }
.price .top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.price h3 { font-weight: 700; font-size: 1.15rem; }
.price .pop { font-size: .75rem; font-weight: 700; background: var(--grad); color: var(--white); padding: .3rem .7rem; border-radius: 999px; white-space: nowrap; }
.price .for { color: var(--on-muted); font-size: .9rem; margin-top: .3rem; min-height: 2.6em; }
.price .amount { margin-top: 1.1rem; font-weight: 800; font-size: 2.6rem; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .amount small { font-size: 1rem; font-weight: 600; color: var(--on-muted); letter-spacing: 0; }
.price .from { font-size: .8rem; font-weight: 600; color: var(--on-muted); margin-top: 1rem; margin-bottom: -.8rem; }
.price .btn { margin-top: 1.4rem; width: 100%; }
.price ul { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .65rem; }
.price li { display: flex; gap: .6rem; font-size: .95rem; }
.price li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.price-note { color: var(--on-muted); font-size: .9rem; margin-top: 1.5rem; text-align: center; }

/* ─── Avis Google ─── */
.rv-row { overflow: hidden; padding: .5rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rv-track { display: flex; gap: 14px; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .rv-left { animation: marquee 60s linear infinite; }
  .rv-right { animation: marquee-r 60s linear infinite; }
  .rv-row:hover .rv-track { animation-play-state: paused; }
}
@keyframes marquee-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.rv { margin: 0; width: 320px; flex-shrink: 0; background: var(--white); border: 1px solid var(--border); border-radius: 22px; padding: 1.15rem 1.25rem; }
.rv-head { display: flex; align-items: center; gap: .7rem; }
.rv-head > div { display: flex; flex-direction: column; flex: 1; line-height: 1.25; }
.rv-head strong { font-size: .95rem; }
.rv-av { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; color: var(--white); font-weight: 700; background: var(--grad); flex-shrink: 0; }
.rv-stars { color: #f5a623; font-size: .85rem; letter-spacing: 1px; }
.rv-stars .off { display: none; }
.rv-g, .rv .g { width: 18px; height: 18px; flex-shrink: 0; margin-left: auto; }
.rv blockquote, .rv p { margin: .7rem 0 0; font-size: .925rem; color: var(--on-surface); line-height: 1.5; }
.rv figcaption, .rv time, .rv .rv-date { font-size: .78rem; color: var(--on-muted); }
.rv svg { max-width: 18px; max-height: 18px; }

/* ─── FAQ ─── */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 44px; padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--on-muted); flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 2.5rem 1.5rem 0; color: var(--on-muted); }

/* ─── Appel final ─── */
.final {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: 46rem; margin: 0 auto; text-align: center;
  background: var(--on-surface); color: var(--surface);
  border-radius: 2.5rem; padding: 3.5rem 1.5rem;
}
.final::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, rgb(193 53 132 / .55), transparent 70%), radial-gradient(closest-side at 70% 60%, rgb(247 119 55 / .45), transparent 70%);
  filter: blur(20px);
}
.final h2 { font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.final p { opacity: .8; font-size: 1.1rem; margin: 1rem auto 0; max-width: 30rem; }
.final .btn { margin-top: 2rem; }
.final .btn-light { border: 0; }

/* ─── Pied de page ─── */
.footer { border-top: 1px solid var(--border); padding: 3rem 0 2rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer p { color: var(--on-muted); font-size: .925rem; margin-top: .6rem; max-width: 22rem; }
.footer .footer-h { font-size: .85rem; font-weight: 700; margin-bottom: .5rem; }
.footer nav a { display: flex; align-items: center; min-height: 40px; color: var(--on-muted); font-size: .925rem; }
.footer nav a:hover { color: var(--on-surface); }
.footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: .85rem; color: var(--on-muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

/* ─── Lightbox ─── */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgb(10 10 10 / .85); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox video { max-height: 86dvh; max-width: 100%; border-radius: 22px; background: #000; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--white); cursor: pointer; display: grid; place-items: center; }
.lightbox-close svg { width: 20px; height: 20px; }

/* ─── Apparition au scroll (Apple) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out), filter .8s var(--ease-out); }
  .reveal.in { opacity: 1; transform: none; filter: none; }
  .reveal-stagger > * { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
  .reveal-stagger.in > * { opacity: 1; transform: none; }
  .reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
  .reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
  .reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
  .reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
  .reveal-stagger.in > *:nth-child(6) { transition-delay: .4s; }
  .reveal-stagger.in > *:nth-child(7) { transition-delay: .48s; }
  .reveal-stagger.in > *:nth-child(8) { transition-delay: .56s; }

  /* Entrée du hero, décalée */
  .enter { animation: enter .8s var(--ease-out) both; }
  .enter-1 { animation-delay: .05s; } .enter-2 { animation-delay: .15s; } .enter-3 { animation-delay: .25s; }
  .enter-4 { animation-delay: .35s; } .enter-5 { animation-delay: .45s; } .enter-6 { animation-delay: .55s; }
}
@keyframes enter { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Titre écrit lettre par lettre façon Apple « hello » */
.trace { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .trace { clip-path: inset(0 100% 0 0); animation: trace 1.4s var(--ease-out) .3s forwards; }
}
@keyframes trace { to { clip-path: inset(0 0 0 0); } }

/* Mot qui change dans le titre */
.swap { display: inline-grid; vertical-align: bottom; }
.swap > span { grid-area: 1 / 1; }
@media (prefers-reduced-motion: no-preference) {
  .swap > span { opacity: 0; transform: translateY(.35em); filter: blur(8px); transition: opacity .55s var(--ease-out), transform .6s var(--ease-out), filter .55s; }
  .swap > span.on { opacity: 1; transform: none; filter: none; }
  .swap > span.out { opacity: 0; transform: translateY(-.35em); filter: blur(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .swap > span:not(:first-child) { display: none; }
}

/* ─── Page RDV ─── */
.rdv-page { padding: 4rem 0 6rem; }
.rdv-title { font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; margin-top: 1rem; }
.rdv-page .lede { color: var(--on-muted); font-size: 1.1rem; margin-top: 1rem; max-width: 36rem; }
.rdv-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 960px) { .rdv-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.rdv-form, .booking { background: var(--white); border: 1px solid var(--border); border-radius: 28px; padding: 1.5rem; }
.fields { display: grid; gap: 1rem; }
.row-2 { display: grid; gap: 1rem; }
@media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .35rem; }
.field input {
  width: 100%; min-height: 50px; padding: 0 1rem; border-radius: 14px; border: 1px solid var(--border);
  background: var(--surface); font: inherit; font-size: 16px; color: var(--on-surface);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--ig-magenta); box-shadow: 0 0 0 4px rgb(193 53 132 / .15); }
.field input[aria-invalid="true"] { border-color: #b91c1c; }
.req { color: #b91c1c; }
.err { color: #b91c1c; font-size: .85rem; margin-top: .3rem; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rdv-form .btn, .submit-mobile { width: 100%; margin-top: 1.25rem; }
.submit-desktop { display: none !important; }
@media (min-width: 960px) { .submit-desktop { display: inline-flex !important; } .submit-mobile { display: none !important; } }
.cal-month { font-weight: 700; font-size: 1.05rem; text-transform: capitalize; margin-bottom: .75rem; }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-weekdays span { font-size: .75rem; font-weight: 600; color: var(--on-muted); padding: .25rem 0; }
.cal-grid button, .cal-grid span { min-height: 44px; border-radius: 12px; border: 0; background: transparent; font-weight: 600; font-variant-numeric: tabular-nums; }
.cal-grid button { cursor: pointer; background: var(--surface-2); transition: background-color .15s, transform .15s; }
.cal-grid button:hover { background: var(--surface-3); }
.cal-grid button:disabled { background: transparent; color: color-mix(in oklab, var(--on-muted) 45%, transparent); cursor: not-allowed; }
.cal-grid button[aria-pressed="true"] { background: var(--grad); color: var(--white); }
.mini-label { font-size: .85rem; font-weight: 600; color: var(--on-muted); margin: 1.25rem 0 .5rem; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slots button { min-height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--white); cursor: pointer; font-weight: 600; font-variant-numeric: tabular-nums; }
.slots button[aria-pressed="true"] { background: var(--on-surface); color: var(--surface); border-color: var(--on-surface); }
.flex-btn { width: 100%; margin-top: 1rem; min-height: 48px; display: flex; align-items: center; gap: .6rem; padding: 0 1rem; border-radius: 14px; border: 1px dashed var(--border); background: var(--surface); cursor: pointer; font-weight: 500; text-align: left; }
.flex-btn .check { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--border); display: grid; place-items: center; color: transparent; font-size: .8rem; flex-shrink: 0; }
.flex-btn[aria-pressed="true"] { border-style: solid; border-color: var(--ig-magenta); }
.flex-btn[aria-pressed="true"] .check { background: var(--grad); color: var(--white); border: 0; }
.meeting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.meet-btn { min-height: 64px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .15rem; padding: .6rem .9rem; border-radius: 14px; border: 1px solid var(--border); background: var(--white); cursor: pointer; text-align: left; }
.meet-btn[aria-pressed="true"] { border: 2px solid var(--ig-magenta); padding: calc(.6rem - 1px) calc(.9rem - 1px); }
.meet-top { display: flex; align-items: center; gap: .45rem; font-weight: 600; }
.meet-top svg { width: 18px; height: 18px; }
.meet-hint { font-size: .8rem; color: var(--on-muted); }
.recap { font-size: .9rem; color: var(--on-muted); margin-top: 1rem; }
.rdv-success { margin-top: 2rem; background: var(--white); border: 1px solid var(--border); border-radius: 28px; padding: 2rem; text-align: center; }
.success-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--grad); color: var(--white); font-size: 1.5rem; font-weight: 800; }
.rdv-success h2 { font-weight: 800; font-size: 1.6rem; margin-top: 1rem; }
.rdv-success p { color: var(--on-muted); margin-top: .5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.cal-grid .today { box-shadow: inset 0 0 0 1.5px var(--ig-magenta); }
.cal-grid .selected { background: var(--grad) !important; color: var(--white); }
.slots .selected { background: var(--on-surface); color: var(--surface); border-color: var(--on-surface); }

/* Éventail de téléphones (motion design) */
.phones-fan { display: flex; justify-content: center; align-items: flex-start; gap: 0; padding: 0 16px; margin: 1rem auto 0; max-width: 60rem; }
.phones-fan .phone { width: min(30vw, 250px); flex-shrink: 0; transform: translateY(var(--y, 0)) rotate(var(--r, 0)); margin: 0 -2.5%; }
.phones-fan .phone-main { z-index: 2; width: min(34vw, 280px); }
@media (max-width: 640px) { .phones-fan .phone { border-radius: 30px; padding: 6px; } .phones-fan .phone .screen { border-radius: 25px; } .phones-fan .phone .island { top: 10px; height: 14px; } }
.rv-head > svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.swap { justify-items: start; transition: width .5s var(--ease-out); }
.swap > span { white-space: nowrap; }

/* ─── Réalisations : bande qui défile (glissable) ─── */
.gallery { position: relative; overflow: hidden; user-select: none; -webkit-user-select: none; cursor: grab; touch-action: pan-y; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gallery.dragging { cursor: grabbing; }
.g-track { display: flex; align-items: center; gap: 16px; width: max-content; will-change: transform; }
.g-card { position: relative; flex-shrink: 0; height: clamp(250px, 36vw, 380px); border: 0; padding: 0; border-radius: 22px; overflow: hidden;
  background: var(--surface-3); cursor: inherit; box-shadow: 0 10px 30px -14px rgb(0 0 0 / .35); transition: transform .3s var(--ease-out); }
.g-v { aspect-ratio: 9 / 16; }
.g-h { aspect-ratio: 16 / 9; }
.g-card img, .g-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
@media (hover: hover) { .g-card:hover { transform: translateY(-4px); } .g-card:hover .g-expand { transform: scale(1.1); } }
.g-expand { position: absolute; top: 12px; right: 12px; z-index: 1; width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center;
  background: rgb(255 255 255 / .85); backdrop-filter: blur(8px); color: var(--on-surface); transition: transform .2s; }
.g-expand svg { width: 16px; height: 16px; }
.g-meta { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 2.2rem 14px 12px; text-align: left; color: var(--white);
  background: linear-gradient(to top, rgb(0 0 0 / .72), transparent); }
.g-meta strong { display: block; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-meta span { display: block; font-size: .8rem; opacity: .8; }
.lightbox video.h { width: min(92vw, 940px); aspect-ratio: 16 / 9; }
.lightbox video.v { width: min(92vw, 420px); aspect-ratio: 9 / 16; }

/* ─── Étapes : la vidéo glisse de carte en carte ─── */
.steps { position: relative; display: grid; gap: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.step { position: relative; z-index: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 2rem; min-height: 15rem; transition: border-color .3s; }
.step-num { font-size: .8rem; font-weight: 700; letter-spacing: .15em; color: var(--on-muted); transition: color .3s; }
.step-ico { display: block; width: 30px; height: 30px; margin-top: 1.4rem; color: var(--on-surface); transition: color .3s; }
.step h3 { font-weight: 700; font-size: 1.25rem; margin-top: 1rem; }
.step p { color: var(--on-muted); margin-top: .6rem; font-size: .95rem; line-height: 1.6; }
.step.active { border-color: color-mix(in oklab, var(--ig-magenta) 45%, var(--border)); }
.step.active .step-num, .step.active .step-ico { color: var(--accent); }
.step-video {
  position: absolute; top: 0; left: 0; z-index: 2; width: 0; height: 0; opacity: 0;
  border-radius: 18px; overflow: hidden; pointer-events: none; background: #000;
  border: 2px solid var(--ig-pink); box-shadow: 0 0 60px -8px rgb(225 48 108 / .55);
  transition: transform .95s cubic-bezier(.16, 1, .3, 1), width .95s cubic-bezier(.16, 1, .3, 1), height .95s cubic-bezier(.16, 1, .3, 1), opacity .4s;
}
.step-video.ready { opacity: 1; }
.step-video video { width: 100%; height: 100%; object-fit: cover; }
.sv-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .55), transparent 60%); }
.sv-ring { position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--ig-orange); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .step-video.moving { animation: sv-pop .95s cubic-bezier(.16, 1, .3, 1); }
  .sv-ring.bump { animation: sv-ring .6s ease-out .5s; }
}
@keyframes sv-pop { 0% { border-radius: 18px; scale: 1; } 50% { border-radius: 30px; scale: 1.05; } 100% { border-radius: 18px; scale: 1; } }
@keyframes sv-ring { from { opacity: .9; scale: 1.06; } to { opacity: 0; scale: 1; } }

/* ─── Tarifs façon wavore.com : vidéo + graphique ─── */
.pw { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 1024px) { .pw { grid-template-columns: 3fr 2fr; } }
.pw-card { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding: 2rem; border-radius: 28px; border: 2px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad) border-box; box-shadow: var(--shadow-soft); }
@media (min-width: 640px) { .pw-card { padding: 2.5rem; } }
.pw-lead { font-size: 1.125rem; color: var(--on-muted); }
.pw-lead strong { color: var(--on-surface); }
.pw-big { margin-top: .75rem; font-weight: 800; font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.2; letter-spacing: -.02em; }
.pw-video { margin-top: 1.5rem; width: 100%; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-2); aspect-ratio: 16 / 9; object-fit: cover; }
.pw-card .btn { align-self: flex-start; }
.bars { display: flex; flex-direction: column; justify-content: center; padding: 2rem; border-radius: 28px; background: var(--white); border: 1px solid var(--border); }
.bars-row { display: flex; align-items: flex-end; justify-content: center; gap: 2.5rem; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.bar-val { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; white-space: nowrap; }
.bar-slot { height: clamp(16rem, 34vw, 22rem); width: 4.5rem; display: flex; align-items: flex-end; }
.bar { width: 100%; height: 0; border-radius: 18px 18px 4px 4px; transition: height 3.6s cubic-bezier(.16, 1, .3, 1); }
.bar-agence { background: linear-gradient(180deg, var(--surface-3), var(--surface-2)); box-shadow: inset 0 0 0 1px var(--border); }
.bar-wavore { background: var(--grad); box-shadow: 0 0 24px -4px rgb(225 48 108 / .6); }
.bars.in .bar-agence { height: 100%; }
.bars.in .bar-wavore { height: 6%; }
.bar-label { font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--on-muted); }
.bars-note { margin-top: 2rem; text-align: center; font-size: .9rem; color: var(--on-muted); }
.pw-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
@media (min-width: 768px) { .pw-checks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pw-checks > div { display: flex; gap: .55rem; align-items: flex-start; padding: 1rem; border-radius: 18px; background: var(--white); border: 1px solid var(--border); font-size: .9rem; color: var(--on-muted); }
.pw-checks svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.nav .nav-cta { display: none; }
@media (min-width: 1024px) { .nav .nav-cta { display: inline-flex; } }

/* Cartes des étapes au format exact de la vidéo (16:9) : rien n'est coupé */
.step { aspect-ratio: 16 / 9; min-height: 0; padding: 1.25rem 1.4rem; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr; column-gap: .6rem; align-content: start; overflow: hidden; }
.step .step-ico { grid-row: 1; grid-column: 1; width: 24px; height: 24px; margin: 0; }
.step .step-num { grid-row: 1; grid-column: 2; align-self: center; }
.step h3 { grid-column: 1 / -1; font-size: 1.1rem; margin-top: .7rem; }
.step p { grid-column: 1 / -1; font-size: .9rem; line-height: 1.5; margin-top: .35rem; }
.step-video video { object-fit: contain; }
@media (min-width: 768px) and (max-width: 1099px) { .steps { grid-template-columns: minmax(0, 34rem); justify-content: center; } }
@media (min-width: 1100px) {
  .steps { width: min(100vw - 48px, 86rem); margin-inline: calc(50% - min(50vw - 24px, 43rem)); gap: 24px; }
  .step { padding: 1.6rem 1.8rem; }
  .step .step-ico { width: 28px; height: 28px; }
  .step h3 { font-size: 1.3rem; margin-top: 1rem; }
  .step p { font-size: 1rem; }
}
@media (min-width: 768px) and (max-width: 1099px) { .steps { grid-template-columns: minmax(0, 40rem); } }

/* ─── Pages légales ─── */
.legal { padding: 4rem 0 6rem; }
.legal h1 { font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 1.5rem; }
.legal h2 { font-weight: 700; font-size: 1.25rem; margin: 2.25rem 0 .6rem; }
.legal p, .legal li { color: var(--on-muted); }
.legal p + p { margin-top: .75rem; }
.legal ul { padding-left: 1.25rem; margin: .6rem 0; }
.legal a { color: var(--on-surface); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal a:hover { color: var(--on-surface); }
.footer-bottom { align-items: center; }
@media (min-width: 900px) { .pricing-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; margin-inline: auto; } }
.form-error { color: #b91c1c; font-size: .9rem; font-weight: 500; margin-top: 1rem; }
.form-error:empty { display: none; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ─── Films motion design (16:9) ─── */
.films { display: grid; gap: 20px; }
@media (min-width: 900px) { .films { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.film { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--border); border-radius: 28px; overflow: hidden; background: var(--white); cursor: pointer; font: inherit; color: inherit;
  transition: transform 260ms cubic-bezier(.2, 0, 0, 1), box-shadow 260ms; }
@media (hover: hover) { .film:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); } .film:hover .reel-play { transform: scale(1.1); } }
.film-media { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; }
.film-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film .reel-play { top: auto; right: auto; left: 16px; bottom: 16px; width: 48px; height: 48px; transition: transform .2s; }
.film .reel-play svg { width: 18px; height: 18px; }
.film-body { display: block; padding: 1.4rem 1.5rem 1.6rem; }
.film-kicker { display: block; font-size: .85rem; font-weight: 700; }
.film-body strong { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-top: .2rem; }
.film-desc { display: block; color: var(--on-muted); margin-top: .4rem; }

/* « Découvrir » laisse passer le clic au lien qui couvre toute la carte */
.pole .more { pointer-events: none; }

/* Graphique animé de la carte Publicité (ordinateur uniquement) */
.pole-chart { display: none; }
@media (min-width: 900px) {
  .pole-chart { display: block; margin-top: 1.5rem; }
  .pole-chart + .ads-mock { margin-top: 1rem; padding-top: 0; }
}
.pc-top { display: flex; justify-content: space-between; align-items: baseline; font-size: .85rem; color: var(--on-muted); }
.pc-top b { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.pole-chart svg { width: 100%; height: 120px; overflow: visible; margin-top: .4rem; }
.pc-line { fill: none; stroke: url(#pc-grad); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.pc-area { fill: url(#pc-fill); opacity: 0; }
.pc-dot { fill: var(--ig-orange); opacity: 0; transform-origin: 300px 10px; transform-box: view-box; }
.reveal-stagger.in .pc-line { animation: draw 2s var(--ease-out) .4s forwards; }
.reveal-stagger.in .pc-area { animation: fadein 1s ease 1.4s forwards; }
.reveal-stagger.in .pc-dot { animation: pc-dot 1.6s ease-out 2.2s forwards; }
@keyframes pc-dot { 0% { opacity: 0; scale: .2; } 30% { opacity: 1; scale: 1.4; } 100% { opacity: 1; scale: 1; } }
@media (prefers-reduced-motion: reduce) { .pc-line { stroke-dashoffset: 0; } .pc-area, .pc-dot { opacity: 1; } }

/* ─── Page contact ─── */
.contact-form { margin-top: 2.5rem; }
.contact-form .btn { width: 100%; margin-top: 1.25rem; }
@media (min-width: 640px) { .contact-form .btn { width: auto; } }
.field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 14px; border: 1px solid var(--border); background: var(--surface);
  font: inherit; font-size: 16px; color: var(--on-surface); resize: vertical; min-height: 8rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea:focus { outline: none; border-color: var(--ig-magenta); box-shadow: 0 0 0 4px rgb(193 53 132 / .15); }
.field textarea[aria-invalid="true"] { border-color: #b91c1c; }
.opt { color: var(--on-muted); font-weight: 400; }
.contact-mail { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--on-muted); margin-top: 1.5rem; }
.contact-mail svg { width: 18px; height: 18px; color: var(--accent); }
.contact-mail a { color: var(--on-surface); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.contact-cta { margin-top: 3rem; padding: 2rem; border-radius: 28px; background: var(--grad-soft); }
.contact-cta h2 { font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.contact-cta p { color: var(--on-muted); margin: .5rem 0 1.25rem; }
