/* ============================================================
   studiobzh.fr — site Studio Bzh
   Design : navy profond + orange cuivré, animations au scroll,
   3D légère (perspective), respect de prefers-reduced-motion.
   Wordmark : Studio (blanc) + bzh (orange cuivré).
   ============================================================ */
:root {
  --bg-deep: #081120;
  --bg-navy: #0d1b30;
  --navy: #14385c;
  --card: #112544;
  --orange: #e07030;
  --orange-hot: #f0913c;
  --cream: #f6f1ea;
  --ink: #1a2333;
  --ink-soft: #5a6a80;
  --line: rgba(240, 145, 60, .25);
  --glass: rgba(255, 255, 255, .05);
  --glass-border: rgba(255, 255, 255, .1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: var(--bg-deep);
  color: #e8eef5;
  line-height: 1.65;
  overflow-x: hidden;
}
::selection { background: var(--orange); color: #fff; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Barre de progression ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-hot));
  z-index: 1000; box-shadow: 0 0 12px rgba(240, 145, 60, .8);
}

/* ---------- Header ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 18px 0; transition: padding .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
header.scrolled {
  background: rgba(8, 17, 32, .88);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  padding: 10px 0;
  border-bottom: 1px solid rgba(240, 145, 60, .18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative;
}
.brand-cluster {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 22px; color: #fff; text-decoration: none; letter-spacing: -.02em;
  white-space: nowrap; line-height: 1;
}
.brand-mark {
  width: 56px; height: 56px; border-radius: 50%;
  flex-shrink: 0; display: block; object-fit: cover;
  box-shadow: 0 0 0 2px rgba(240, 145, 60, .4), 0 8px 22px rgba(0, 0, 0, .4);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, width .25s ease, height .25s ease;
}
.brand:hover .brand-mark {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 0 2px rgba(240, 145, 60, .7), 0 12px 28px rgba(224, 112, 48, .35);
}
.brand-name { display: inline-flex; align-items: baseline; white-space: nowrap; }
.brand-name em,
.brand em { font-style: normal; color: var(--orange-hot); }
.brand-pill {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(240, 145, 60, .28);
  background: rgba(240, 145, 60, .08);
  color: #c9d7e6; font-size: 11px; font-weight: 600; letter-spacing: .06em;
  white-space: nowrap;
}
header.scrolled .brand-mark { width: 48px; height: 48px; }
header.scrolled .brand { font-size: 20px; }
@media (max-width: 1100px) { .brand-pill { display: none; } }
@media (max-width: 520px) {
  .brand { font-size: 18px; gap: 10px; }
  .brand-mark { width: 44px; height: 44px; }
  header.scrolled .brand-mark { width: 40px; height: 40px; }
}
nav { display: flex; gap: 12px; align-items: center; flex-wrap: nowrap; flex-shrink: 1; min-width: 0; }
nav a { color: #b9c8d8; text-decoration: none; font-size: 13px; position: relative; white-space: nowrap; }
nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0%; height: 2px;
  background: var(--orange-hot); transition: width .3s ease;
}
nav a:hover { color: #fff; }
nav a:hover::after { width: 100%; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--glass-border);
  background: var(--glass); cursor: pointer; padding: 10px; flex-shrink: 0;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: #e8eef5; border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-cta-group { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  color: #fff; text-decoration: none; font-weight: 700; font-size: 13px;
  padding: 9px 16px; border-radius: 24px; white-space: nowrap;
  box-shadow: 0 4px 18px rgba(224, 112, 48, .35);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease;
  border: 1.5px solid transparent;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(224, 112, 48, .5); }
.header-cta.ghost {
  background: transparent; box-shadow: none;
  border-color: rgba(255,255,255,.28); color: #dbe6f1;
}
.header-cta.ghost:hover { border-color: var(--orange-hot); color: var(--orange-hot); box-shadow: none; }
@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  nav.nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8, 17, 32, .96); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-border); padding: 8px 0 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
  }
  nav.nav.open { display: flex; }
  nav.nav a {
    padding: 14px 24px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.06);
  }
  nav.nav a::after { display: none; }
  .header-cta-group .header-cta.ghost { display: none; }
}
@media (max-width: 520px) {
  .header-cta { font-size: 12px; padding: 8px 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow {
  position: absolute; inset: -10% -5%; pointer-events: none; z-index: 1;
  background:
    radial-gradient(700px 420px at 78% 28%, rgba(240, 145, 60, .22), transparent 62%),
    radial-gradient(560px 380px at 12% 78%, rgba(20, 56, 92, .65), transparent 70%),
    radial-gradient(420px 280px at 48% 8%, rgba(224, 112, 48, .1), transparent 60%);
  animation: glowPulse 8s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { opacity: .85; transform: scale(1); }
  to { opacity: 1; transform: scale(1.04); }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,17,32,.15), transparent 35%, rgba(8,17,32,.55));
  pointer-events: none;
}
.brand-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 26px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(13, 27, 48, .65); border: 1px solid rgba(240,145,60,.4);
  box-shadow: 0 8px 28px rgba(0,0,0,.25), 0 0 24px rgba(224,112,48,.12);
  font-size: 14px; font-weight: 800; color: #fff; letter-spacing: -.01em;
  opacity: 1 !important; transform: none !important; filter: none !important;
  animation: none !important;
}
.brand-eyebrow img {
  width: 28px; height: 28px; border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(240,145,60,.55);
}
.brand-eyebrow .brand-name { white-space: nowrap; }
.brand-eyebrow em { font-style: normal; color: var(--orange-hot); }
.brand-eyebrow i {
  width: 4px; height: 4px; border-radius: 50%; background: var(--orange-hot); opacity: .9;
}
.brand-eyebrow .muted { color: #9fb4c9; font-weight: 600; font-size: 12px; letter-spacing: .04em; }
@media (max-width: 520px) {
  .brand-eyebrow .muted { display: none; }
  .brand-eyebrow i { display: none; }
}
.hero .container { position: relative; z-index: 3; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 110px; padding-bottom: 100px; }
@media (max-width: 960px) { .hero .container { grid-template-columns: 1fr; padding-bottom: 48px; } }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.08; font-weight: 800; letter-spacing: -1px; }
.hero h1 .accent,
h2 .accent,
.accent {
  background: linear-gradient(90deg, var(--orange-hot), #ffc178);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin: 22px 0 30px; font-size: 17.5px; color: #a9bccf; max-width: 520px; }
.btn {
  display: inline-block; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  color: #fff; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 15px 32px; border-radius: 30px;
  box-shadow: 0 6px 24px rgba(224, 112, 48, .4);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 34px rgba(224, 112, 48, .55); }
.btn.ghost {
  background: transparent; border: 1.5px solid rgba(255,255,255,.28);
  box-shadow: none; margin-left: 12px; color: #dbe6f1;
}
.btn.ghost:hover { border-color: var(--orange-hot); color: var(--orange-hot); }
.hero .trust { margin-top: 30px; font-size: 13px; color: #7d93ad; display: flex; gap: 22px; flex-wrap: wrap; }
.hero .trust span::before { content: "✓ "; color: var(--orange-hot); font-weight: 700; }

/* entrée héro */
.hero [data-stagger] { opacity: 0; transform: translateY(26px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero [data-stagger="2"] { animation-delay: .15s; }
.hero [data-stagger="3"] { animation-delay: .3s; }
.hero [data-stagger="4"] { animation-delay: .45s; }
.hero [data-stagger="5"] { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Badge SB 3D seul (rond, sans cadre) */
.hero-brand-banner {
  justify-self: center;
  width: min(100%, 380px);
  text-align: center;
}
.hero-brand-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  transform: rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
  animation: brandFloat 7s ease-in-out infinite;
  will-change: transform;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45)) drop-shadow(0 0 28px rgba(240, 145, 60, .28));
}
@keyframes brandFloat {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-5deg) rotateX(2deg) translateY(-12px); }
}
.hero-brand-frame canvas,
.hero-brand-fallback {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}
.hero-brand-frame.is-live .hero-brand-fallback {
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 960px) {
  .hero-brand-banner { width: min(100%, 280px); margin-top: 8px; }
  .hero-brand-frame { transform: none; }
}
.mock-scene { perspective: 1200px; display: none; }
.mockup {
  transform: rotateY(-14deg) rotateX(7deg);
  transform-style: preserve-3d;
  animation: floaty 7s ease-in-out infinite;
  border-radius: 16px;
  background: #0f2038;
  border: 1px solid rgba(240, 145, 60, .22);
  box-shadow:
    30px 50px 80px rgba(0, 0, 0, .55),
    0 0 60px rgba(224, 112, 48, .18),
    0 0 0 1px rgba(255,255,255,.04) inset;
  overflow: hidden;
  transition: transform .4s ease;
  will-change: transform;
}
@keyframes floaty {
  0%, 100% { transform: rotateY(-14deg) rotateX(7deg) translateY(0); }
  50% { transform: rotateY(-11deg) rotateX(5deg) translateY(-16px); }
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,.06); border-bottom: 1px solid var(--glass-border); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mock-bar i:nth-child(1) { background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar .url { flex: 1; margin-left: 10px; background: rgba(255,255,255,.08); border-radius: 12px; font-size: 11px; color: #9fb4c9; padding: 3px 12px; }
.mock-body { padding: 18px; }
.mock-hero { border-radius: 8px; padding: 22px 18px; background: linear-gradient(135deg, #23486e, #14385c); margin-bottom: 12px; }
.mock-hero b { font-size: 15px; color: #fff; display: block; }
.mock-hero span { font-size: 11px; color: #a9bccf; }
.mock-hero .mock-btn { display: inline-block; margin-top: 10px; background: var(--orange-hot); color: #081120; font-size: 10px; font-weight: 700; padding: 4px 12px; border-radius: 12px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-card { border-radius: 6px; background: rgba(255,255,255,.07); padding: 10px 8px; }
.mock-card i { display: block; height: 30px; border-radius: 4px; background: linear-gradient(135deg, rgba(240,145,60,.35), rgba(240,145,60,.12)); margin-bottom: 6px; }
.mock-card b { display: block; height: 5px; width: 70%; border-radius: 3px; background: rgba(255,255,255,.35); margin-bottom: 4px; }
.mock-card span { display: block; height: 4px; width: 90%; border-radius: 3px; background: rgba(255,255,255,.14); }
.mock-caption { text-align: center; margin-top: 18px; font-size: 12.5px; color: #7d93ad; }
.mock-caption a { color: var(--orange-hot); text-decoration: none; font-weight: 600; }
@media (max-width: 960px) { .mock-scene { max-width: 460px; margin: 0 auto; } }

/* indicateur scroll — sous le contenu (container z-index 3), jamais sur le texte */
.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 1; color: #7d93ad; font-size: 11px; letter-spacing: 2px; text-align: center;
  pointer-events: none;
}
.scroll-hint::after {
  content: ""; display: block; width: 1.5px; height: 34px; margin: 8px auto 0;
  background: linear-gradient(180deg, var(--orange-hot), transparent);
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 960px), (max-height: 820px) {
  .scroll-hint { display: none; }
}

/* ---------- Bandeau villes (marquee) ---------- */
.marquee { background: var(--bg-navy); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; align-items: center; gap: 18px; width: max-content; animation: slide 42s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 18px; }
.marquee-group span {
  font-size: 12.5px; color: #8aa0b8; letter-spacing: .08em;
  text-transform: uppercase; white-space: nowrap; font-weight: 600;
}
.marquee-group i {
  width: 4px; height: 4px; border-radius: 50%; flex-shrink: 0;
  background: var(--orange-hot); opacity: .75;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections génériques ---------- */
section { padding: 96px 0; position: relative; scroll-margin-top: 88px; }
@media (max-width: 520px) {
  .hero .btn { display: block; width: 100%; text-align: center; }
  .hero .btn.ghost { margin-left: 0; margin-top: 10px; }
}
.kicker { font-size: 12px; letter-spacing: 3.5px; text-transform: uppercase; color: var(--orange-hot); font-weight: 700; margin-bottom: 14px; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; }
.section-sub { color: #a9bccf; margin: 16px 0 0; max-width: 620px; font-size: 16px; }
section.light { background: var(--cream); color: var(--ink); }
section.light h2 { color: var(--navy); }
section.light .section-sub { color: var(--ink-soft); }

/* révélation au scroll (entrée + sortie / reverse) */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(2px);
  transition:
    opacity .55s cubic-bezier(.2,.7,.2,1),
    transform .55s cubic-bezier(.2,.7,.2,1),
    filter .4s ease;
  transition-delay: 0s;
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}
.reveal.in[data-delay="1"] { transition-delay: .06s; }
.reveal.in[data-delay="2"] { transition-delay: .12s; }
.reveal.in[data-delay="3"] { transition-delay: .18s; }
.reveal.in[data-delay="4"] { transition-delay: .24s; }
.reveal:not(.in) { transition-delay: 0s; }
@media (max-width: 700px) {
  .reveal { transform: translateY(16px); filter: blur(1px); }
  .reveal.in[data-delay="1"] { transition-delay: .04s; }
  .reveal.in[data-delay="2"] { transition-delay: .08s; }
  .reveal.in[data-delay="3"] { transition-delay: .12s; }
  .reveal.in[data-delay="4"] { transition-delay: .16s; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  text-align: center; padding: 28px 14px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(240, 145, 60, .16);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.stat:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 145, 60, .4);
  box-shadow: 0 18px 40px rgba(224, 112, 48, .15);
}
.stat .num { font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--orange-hot); }
.stat .num sup { font-size: .45em; }
.stat p { font-size: 13.5px; color: #a9bccf; margin-top: 4px; }
.stat-note { display: block; font-size: 11px; color: #7d93ad; font-style: italic; margin-top: 4px; }

/* ---------- Douleurs ---------- */
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 50px; }
.pain {
  background: #fff; border: 1px solid #e5dfd6; border-radius: 14px; padding: 26px 22px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.pain:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20, 56, 92, .12); }
.pain .emoji { font-size: 30px; }
.pain h3 { color: var(--navy); font-size: 16.5px; margin: 10px 0 6px; }
.pain p { font-size: 14px; color: var(--ink-soft); }

/* ---------- PARCOURS (timeline) ---------- */
.parcours { background: linear-gradient(180deg, var(--bg-deep), var(--bg-navy) 40%, var(--bg-deep)); }
.timeline { position: relative; margin-top: 70px; }
.timeline .rail {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%);
  background: rgba(255,255,255,.08); border-radius: 3px;
}
.timeline .rail .fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--orange), var(--orange-hot));
  border-radius: 3px; box-shadow: 0 0 16px rgba(240,145,60,.6);
}
.step { position: relative; display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; margin-bottom: 54px; }
.step .node {
  grid-column: 2; justify-self: center; z-index: 2;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-deep); border: 3px solid rgba(255,255,255,.25);
  transition: all .5s ease;
}
.step.active .node {
  border-color: var(--orange-hot); background: var(--orange-hot);
  box-shadow: 0 0 0 7px rgba(240,145,60,.18), 0 0 22px rgba(240,145,60,.7);
}
.step-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 16px; padding: 26px 28px;
  opacity: 0; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.step:nth-child(odd) .step-card { grid-column: 1; transform: translateX(-46px); }
.step:nth-child(even) .step-card { grid-column: 3; transform: translateX(46px); }
.step.active .step-card { opacity: 1; transform: translateX(0); }
.step-card .jour {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 2px;
  color: #081120; background: var(--orange-hot); padding: 3px 12px; border-radius: 12px; margin-bottom: 12px;
}
.step-card h3 { font-size: 19px; color: #fff; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: #a9bccf; }
.step-card .detail { margin-top: 10px; font-size: 13px; color: #7d93ad; font-style: italic; }
@media (max-width: 760px) {
  .timeline .rail { left: 12px; }
  .step { grid-template-columns: 40px 1fr; margin-bottom: 34px; }
  .step .node { grid-column: 1; grid-row: 1; }
  .step:nth-child(odd) .step-card, .step:nth-child(even) .step-card { grid-column: 2; transform: translateY(30px); }
  .step.active .step-card { transform: none; }
}

/* ---------- Offres ---------- */
.offer-include {
  margin-top: 22px; padding: 12px 16px; border-radius: 12px;
  background: rgba(224, 112, 48, .08); border: 1px solid rgba(224, 112, 48, .28);
  color: var(--navy); font-size: 14px; font-weight: 600; max-width: 720px;
}
section:not(.light) .offer-include { color: #e8eef5; background: rgba(224, 112, 48, .12); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 36px; padding-top: 16px; align-items: stretch; }
.tilt-wrap { perspective: 900px; }
@media (min-width: 960px) {
  .cards .tilt-wrap.is-featured {
    z-index: 2;
    transform: scale(1.04);
  }
}
.card {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e5dfd6; border-radius: 18px; padding: 26px 22px;
  transform-style: preserve-3d; transition: transform .18s ease-out, box-shadow .3s ease;
  will-change: transform;
}
.tilt-wrap:hover .card { box-shadow: 0 26px 60px rgba(20, 56, 92, .18); }
.card .shine {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgba(240,145,60,.28), transparent 42%);
  transition: opacity .35s ease; z-index: 1;
}
.tilt-wrap:hover .card .shine { opacity: 1; }
.card.featured .shine {
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(240,145,60,.34), rgba(240,145,60,.06) 38%, transparent 52%);
}
.card h3 { color: var(--navy); font-size: 21px; }
.card .tag { font-size: 13.5px; color: var(--ink-soft); margin: 4px 0 10px; }
.card .price { font-size: 36px; font-weight: 800; color: var(--orange); letter-spacing: -1px; }
.card .psub { font-size: 12px; color: var(--ink-soft); padding-bottom: 12px; border-bottom: 1px solid #eee7dc; margin-bottom: 12px; }
.card ul { list-style: none; flex: 1; }
.card li { padding: 5px 0 5px 24px; position: relative; font-size: 13.5px; color: #3a4a5f; border-bottom: 1px solid #f4efe8; }
.card li:last-child { border: none; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.card li.off { opacity: .42; }
.card li.off::before { content: "–"; color: #8a97a8; font-weight: 600; }
.card .opt { font-size: 12.5px; font-style: italic; color: var(--orange); margin-top: 8px; }
.card .opt + .opt { margin-top: 4px; }
.card .opt a { color: inherit; }
.card .plan-cta {
  display: block; width: 100%; box-sizing: border-box;
  margin: 14px 0 0; text-align: center;
  font-size: 14px; padding: 11px 16px;
}
.card .btn.ghost.plan-cta {
  margin-left: 0;
  color: var(--navy);
  border-color: #c8d2de;
}
.card .btn.ghost.plan-cta:hover { color: var(--orange); border-color: var(--orange-hot); }
.card.featured { background: linear-gradient(160deg, #16395e, #0e2a48); border-color: #23486e; box-shadow: 0 18px 44px rgba(8, 17, 32, .28); }
.card.featured h3, .card.featured li { color: #fff; }
.card.featured .tag, .card.featured .psub { color: #a9bccf; }
.card.featured .price { color: var(--orange-hot); }
.card.featured li { border-bottom-color: rgba(255,255,255,.09); }
.card.featured li::before { color: var(--orange-hot); }
.card.featured li.off { opacity: .4; color: #c5d4e4; }
.card.featured li.off::before { content: "–"; color: #7d93ad; font-weight: 600; }
.card a:not(.btn) { color: var(--orange); }
.card.featured a:not(.btn) { color: var(--orange-hot); }
.card.featured .btn.ghost.plan-cta { color: #dbe6f1; border-color: rgba(255,255,255,.28); }
.card.featured .btn.ghost.plan-cta:hover { color: var(--orange-hot); border-color: var(--orange-hot); }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
  padding: 5px 18px; border-radius: 14px; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(224,112,48,.45);
}
.pricing-note { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin-top: 30px; }

.opts-wrap { overflow-x: auto; margin-top: 12px; }
.opts-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 14px; }
.opts-table th {
  background: #0B2438; color: #fff; text-align: left;
  padding: 10px 12px; font-size: 13px; font-weight: 700;
}
.opts-table th:first-child { border-radius: 10px 0 0 0; }
.opts-table th:last-child { border-radius: 0 10px 0 0; text-align: right; }
.opts-table .opts-group td {
  background: #14385C; color: #F0A06A;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 12px; border: 1px solid #14385C;
}
.opts-table td { padding: 9px 12px; border: 1px solid #D5DEE8; }
.opts-table .opts-name { font-weight: 600; color: #14385C; }
.opts-table .opts-price { text-align: right; font-weight: 700; color: var(--orange); }
.opts-table .opts-alt td { background: #EEF3F8; }
.opts-table a { color: var(--navy); font-weight: 600; }
.opts-table a:hover { color: var(--orange); }

/* ---------- Emails pro ---------- */
.emails { background: linear-gradient(180deg, var(--bg-navy), var(--bg-deep)); }
.emails h2 .accent {
  background: linear-gradient(90deg, var(--orange-hot), #ffc178);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: .82em; word-break: break-word;
}
.emails-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; margin-top: 56px; align-items: center; }
@media (max-width: 860px) { .emails-wrap { grid-template-columns: 1fr; gap: 36px; } }
.mail-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 16px 18px; margin-bottom: 14px;
}
.mail-row.bad { opacity: .65; }
.mail-row.good {
  border-color: var(--line);
  box-shadow: 0 10px 34px rgba(240, 145, 60, .12);
}
.mail-row .avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}
.mail-row.bad .avatar { background: rgba(255,255,255,.1); color: #7d93ad; }
.mail-row.good .avatar { background: linear-gradient(135deg, var(--orange), var(--orange-hot)); color: #fff; }
.mail-row > div { flex: 1; min-width: 0; }
.mail-row b { display: block; font-size: 14px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-row span:not(.avatar) { display: block; font-size: 12.5px; color: #7d93ad; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-row i { font-style: normal; font-size: 18px; font-weight: 800; flex-shrink: 0; }
.mail-row.bad i { color: #ff5f57; }
.mail-row.good i { color: var(--orange-hot); }
.mail-caption { text-align: center; font-size: 12.5px; color: #7d93ad; font-style: italic; margin-top: 4px; }
.emails-info ul { list-style: none; }
.emails-info li { padding: 9px 0 9px 26px; position: relative; font-size: 14.5px; color: #a9bccf; border-bottom: 1px solid rgba(255,255,255,.07); }
.emails-info li:last-child { border: none; }
.emails-info li::before { content: "✓"; position: absolute; left: 0; color: var(--orange-hot); font-weight: 800; }
.emails-info li b { color: #e8eef5; }
.emails-price {
  margin-top: 22px; padding: 18px 20px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--line);
  font-size: 14px; color: #a9bccf;
}
.emails-price span { font-size: 26px; font-weight: 800; color: var(--orange-hot); margin-right: 8px; vertical-align: -2px; }

/* ---------- Réalisation ---------- */
.realisation-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 48px; align-items: start;
}
@media (max-width: 860px) { .realisation-grid { grid-template-columns: 1fr; } }
.realisation-tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orange-hot); margin-bottom: 14px;
  border: 1px solid rgba(240,145,60,.3); border-radius: 16px; padding: 5px 12px;
}
.realisation-tag.nfc {
  color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-hot)); border: none;
}
.realisation-scene { perspective: 1400px; margin-top: 0; }
.realisation-nfc-mock {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  min-height: 220px; padding: 28px 16px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--glass-border);
  flex-wrap: wrap;
}
.nfc-card-visual.big { width: 180px; transform: rotate(-4deg); }
.nfc-phone.small { width: 120px; transform: rotate(3deg); }
.nfc-phone.small .nfc-phone-screen { min-height: 120px; padding: 14px 10px; }
.nfc-phone.small .nfc-phone-screen b { font-size: 13px; }
.browser {
  border-radius: 16px; overflow: hidden;
  background: #0f2038; border: 1px solid var(--glass-border);
  box-shadow: 0 40px 90px rgba(0,0,0,.5);
  transform: rotateX(6deg); transform-style: preserve-3d;
  transition: transform .5s ease, box-shadow .5s ease;
}
.realisation-scene:hover .browser { transform: rotateX(0deg) scale(1.015); box-shadow: 0 30px 70px rgba(224,112,48,.18), 0 40px 90px rgba(0,0,0,.5); }
.browser .mock-body { padding: 0; }
.bs-hero { padding: 54px 40px; background: linear-gradient(135deg, #33261c, #57402a); }
.bs-hero b { font-size: 26px; color: #f4e8d8; display: block; font-family: Georgia, serif; }
.bs-hero span { color: #c9b394; font-size: 14px; }
.bs-hero .mock-btn { display: inline-block; margin-top: 14px; background: var(--orange-hot); color: #241811; font-size: 12px; font-weight: 700; padding: 7px 18px; border-radius: 16px; }
.bs-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 22px 40px 30px; }
.bs-strip i { display: block; height: 68px; border-radius: 8px; background: linear-gradient(135deg, rgba(240,145,60,.30), rgba(240,145,60,.08)); border: 1px solid rgba(240,145,60,.2); }
.realisation-caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.realisation-caption p { color: #a9bccf; font-size: 14.5px; max-width: 640px; }
.realisation-caption p b { color: #fff; }

/* ---------- Mini-parcours NFC ---------- */
.path-labels { margin: 36px 0 18px; }
.path-label {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orange-hot);
  border: 1px solid rgba(240,145,60,.35); border-radius: 20px;
  padding: 6px 14px; background: rgba(240,145,60,.08);
}
.path-label.nfc { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-hot)); border-color: transparent; }
.nfc-path {
  margin-top: 70px; padding: 36px 28px; border-radius: 20px;
  background: var(--glass); border: 1px solid var(--glass-border);
}
.nfc-path .path-labels { margin-top: 0; }
.nfc-path-lead { color: #a9bccf; font-size: 15px; max-width: 640px; margin: 8px 0 28px; }
.nfc-path-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px; margin-bottom: 18px;
}
.nfc-path-step {
  background: rgba(8,17,32,.35); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 18px 16px;
}
.nfc-path-n {
  display: inline-flex; width: 28px; height: 28px; border-radius: 50%;
  align-items: center; justify-content: center; font-weight: 800; font-size: 13px;
  background: linear-gradient(135deg, var(--orange), var(--orange-hot)); color: #fff;
  margin-bottom: 10px;
}
.nfc-path-step h3 { color: #fff; font-size: 15px; margin-bottom: 6px; }
.nfc-path-step p { color: #a9bccf; font-size: 13.5px; }

/* ---------- Maintenance ---------- */
.maint-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 50px; }
.maint {
  border-radius: 16px; padding: 28px 24px; background: #fff; border: 1px solid #e5dfd6;
  transition: transform .3s ease, box-shadow .3s ease;
}
.maint:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(20,56,92,.13); }
.maint h3 { color: var(--navy); font-size: 17px; }
.maint .price { font-size: 26px; font-weight: 800; color: var(--orange); margin: 6px 0 2px; }
.maint .psub { font-size: 12px; color: var(--ink-soft); margin-bottom: 12px; }
.maint p { font-size: 13.5px; color: #3a4a5f; }
.maint-note { font-size: 12.5px; color: var(--ink-soft); font-style: italic; margin-top: 22px; text-align: center; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 50px; max-width: 780px; }
.faq-item { border: 1px solid var(--glass-border); border-radius: 14px; margin-bottom: 12px; background: var(--glass); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 22px; font-size: 15.5px; font-weight: 700; color: #fff; font-family: inherit;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-q .chev { transition: transform .35s ease; color: var(--orange-hot); font-size: 18px; flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.2,.7,.2,1); }
.faq-a p { padding: 0 22px 18px; font-size: 14.5px; color: #a9bccf; }

/* ---------- CTA ---------- */
.cta-band {
  text-align: center; padding: 110px 24px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #16395e, #0d1b30 55%, #22160c);
}
.cta-band::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,145,60,.22), transparent 65%);
  top: -180px; right: -120px; animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow { 0%,100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #a9bccf; margin: 14px 0 34px; position: relative; }
.cta-band-actions {
  position: relative; display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; align-items: center;
}
.cta-band-actions .btn.ghost { margin-left: 0; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 50px; }
@media (max-width: 800px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-brand {
  display: flex; align-items: center; gap: 14px; margin-bottom: 0;
}
.contact-brand-row { margin-bottom: 18px; }
.contact-brand img {
  width: 56px; height: 56px; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(224, 112, 48, .35), 0 8px 20px rgba(8, 17, 32, .12);
}
.contact-brand .brand-name {
  margin: 0; color: var(--navy); font-size: 24px; font-weight: 800; letter-spacing: -.02em;
  white-space: nowrap;
}
.contact-brand .brand-name em { font-style: normal; color: var(--orange); }
.contact-info > p { color: var(--ink-soft); font-size: 15px; margin-bottom: 20px; }
.contact-line { font-size: 17px; margin-bottom: 12px; }
.contact-line a { color: var(--navy); font-weight: 700; text-decoration: none; }
.contact-line a:hover { color: var(--orange); }
form label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin: 16px 0 5px; }
form input, form textarea, form select {
  width: 100%; padding: 13px 16px; border: 1.5px solid #ddd3c6; border-radius: 10px;
  font-family: inherit; font-size: 14.5px; background: #fff; transition: border-color .25s ease, box-shadow .25s ease;
  color: var(--ink);
}
form select { cursor: pointer; appearance: auto; }
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(224,112,48,.14); }
form .btn { margin-top: 22px; }

/* ---------- Message de confirmation apres envoi du formulaire ---------- */
/* L'attribut hidden doit l'emporter sur display:flex, sinon le message
   de succes s'afficherait des l'ouverture de la page. */
[hidden] { display: none !important; }
.form-success {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 10px; padding: 48px 24px; min-height: 320px;
  background: #fff; border: 1.5px solid #ddd3c6; border-radius: 16px;
  animation: formSuccessIn .45s ease;
}
.form-success-ico {
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  color: #fff; font-size: 32px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(224, 112, 48, .4); margin-bottom: 6px;
}
.form-success h4 { font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.form-success p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; max-width: 380px; }
@keyframes formSuccessIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .form-success { animation: none; } }

/* ---------- Cartes NFC ---------- */
.nfc-section {
  position: relative;
  scroll-margin-top: 88px;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(224, 112, 48, .12), transparent 60%),
    radial-gradient(700px 420px at 10% 90%, rgba(20, 56, 92, .45), transparent 65%),
    var(--bg-navy);
}
.nfc-section .section-sub b { color: #fff; font-weight: 700; }
.nfc-demo {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 48px auto 10px; flex-wrap: wrap; max-width: 560px;
}
.nfc-phone {
  width: 148px; border-radius: 22px; padding: 10px 8px 14px;
  background: linear-gradient(160deg, #1a2d48, #0c1728);
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 50px rgba(0,0,0,.45);
}
.nfc-phone-notch {
  width: 48px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.12);
  margin: 2px auto 10px;
}
.nfc-phone-screen {
  border-radius: 14px; padding: 18px 12px 16px; text-align: center;
  background: linear-gradient(165deg, #f6f1ea, #fff);
  min-height: 150px;
}
.nfc-phone-label { display: block; font-size: 11px; color: var(--ink-soft); letter-spacing: .5px; }
.nfc-phone-screen b { display: block; margin-top: 8px; font-size: 16px; color: var(--navy); }
.nfc-phone-sub { display: block; margin-top: 6px; font-size: 11.5px; color: var(--ink-soft); line-height: 1.35; }
.nfc-stars { margin-top: 12px; color: var(--orange); letter-spacing: 2px; font-size: 15px; }
.nfc-wave {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 36px;
}
.nfc-wave span {
  display: block; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid rgba(240, 145, 60, .55);
  animation: nfcPulse 1.8s ease-out infinite;
}
.nfc-wave span:nth-child(2) { animation-delay: .35s; width: 16px; height: 16px; }
.nfc-wave span:nth-child(3) { animation-delay: .7s; width: 10px; height: 10px; background: var(--orange-hot); border-color: var(--orange-hot); }
@keyframes nfcPulse {
  0% { opacity: .15; transform: scale(.75); }
  50% { opacity: 1; }
  100% { opacity: .15; transform: scale(1.05); }
}
.nfc-card-visual {
  width: 168px; border-radius: 14px; padding: 22px 18px;
  background: linear-gradient(145deg, #16395e, #0e243f);
  border: 1px solid rgba(240, 145, 60, .35);
  box-shadow: 0 18px 44px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.04) inset;
  position: relative;
}
.nfc-card-visual.paper {
  background: linear-gradient(165deg, #fbf8f3, #efe6d8);
  border: 1px solid #d9cbb6;
  box-shadow: 0 18px 44px rgba(0,0,0,.28), inset 0 1px 0 #fff;
}
.nfc-card-visual.paper b { color: #14385c; }
.nfc-card-visual.paper span { color: #5a6a80; }
.nfc-card-visual.paper em { color: var(--orange); }
.nfc-chip {
  width: 36px; height: 28px; border-radius: 5px; margin-bottom: 14px;
  background: linear-gradient(135deg, #e8c878, #c4a35a 45%, #8a7340);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.nfc-card-visual b { display: block; color: #fff; font-size: 16px; }
.nfc-card-visual span { display: block; margin-top: 6px; font-size: 12px; color: #a9bccf; }
.nfc-card-visual em { display: block; margin-top: 14px; font-style: normal; font-size: 11px; color: var(--orange-hot); font-weight: 700; letter-spacing: .3px; }

.nfc-uses {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px; margin-top: 56px;
}
@media (max-width: 700px) {
  .nfc-uses { grid-template-columns: 1fr; }
}
.nfc-use {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 26px 22px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.nfc-use:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 145, 60, .35);
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
}
.nfc-use-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  box-shadow: 0 8px 20px rgba(224, 112, 48, .35);
  margin-bottom: 14px;
}
.nfc-use h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.nfc-use p { font-size: 14px; color: #a9bccf; margin-bottom: 14px; }
.nfc-use ul { list-style: none; }
.nfc-use li {
  position: relative; padding: 6px 0 6px 22px;
  font-size: 13.5px; color: #c5d4e4;
  border-top: 1px solid rgba(255,255,255,.06);
}
.nfc-use li:first-child { border-top: none; }
.nfc-use li::before {
  content: "✓"; position: absolute; left: 0; color: var(--orange-hot); font-weight: 800;
}

.nfc-cards { margin-top: 36px; }

.nfc-luxe {
  scroll-margin-top: 110px;
  margin-top: 28px;
  padding: 28px 26px;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 220px 1fr 168px;
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(165deg, rgba(232,200,120,.08), transparent 42%),
    linear-gradient(160deg, #16395e, #0a1a30);
  border: 1px solid rgba(232, 200, 120, .38);
  box-shadow: 0 22px 54px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
}
.nfc-luxe-card {
  width: 220px;
  aspect-ratio: 1.586 / 1;
  border-radius: 14px;
  padding: 18px 16px;
  background: linear-gradient(180deg, #ffffff, #f3f3f1 72%, #e6e6e2);
  border: 1px solid #cfcfc8;
  box-shadow: 0 16px 40px rgba(0,0,0,.35), inset 0 1px 0 #fff;
  position: relative;
  overflow: hidden;
}
.nfc-luxe-card::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 28%;
  height: 22px;
  background: linear-gradient(90deg, #eceae6, #d8d6d0 40%, #eceae6);
  opacity: .55;
}
.nfc-luxe-card-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.nfc-luxe-card .nfc-chip.muted {
  background: linear-gradient(135deg, #d8d4cc, #b8b4ac 46%, #9a968e);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}
.nfc-luxe-waves {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid rgba(80,80,80,.28);
  position: relative;
}
.nfc-luxe-waves::before {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  border: 2px solid rgba(80,80,80,.2);
  border-left-color: transparent; border-bottom-color: transparent;
  transform: rotate(-45deg);
}
.nfc-luxe-card b,
.nfc-luxe-card > span {
  display: none;
}
.nfc-luxe-copy h3 { color: #fff; font-size: 26px; margin: 6px 0 8px; letter-spacing: -.02em; }
.nfc-luxe-copy > p { color: #c5d4e4; font-size: 14.5px; max-width: 46ch; }
.nfc-luxe-copy > p b { color: #fff; font-weight: 800; }
.nfc-luxe-badge {
  display: inline-block; margin: 0 0 4px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.4px;
  color: #081120; background: linear-gradient(135deg, #e8c878, #c4a35a);
  padding: 4px 10px; border-radius: 999px;
}
.nfc-luxe-price {
  margin-top: 12px; font-size: 36px; font-weight: 800;
  color: var(--orange-hot); letter-spacing: -1px; line-height: 1;
}
.nfc-luxe-psub { font-size: 12.5px; color: #a9bccf; margin: 4px 0 10px; }
.nfc-luxe-copy ul { list-style: none; margin: 0 0 16px; }
.nfc-luxe-copy li {
  position: relative; padding: 5px 0 5px 22px;
  font-size: 13.5px; color: #dbe6f1;
}
.nfc-luxe-copy li::before { content: "✓"; position: absolute; left: 0; color: #e8c878; font-weight: 800; }
.nfc-luxe-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nfc-luxe-actions .btn.ghost { margin-left: 0; color: #dbe6f1; border-color: rgba(255,255,255,.28); }
.nfc-luxe-actions .btn.ghost:hover { color: var(--orange-hot); border-color: var(--orange-hot); }
.nfc-luxe-screen { min-height: 168px; }
.nfc-luxe-pills {
  display: block; margin-top: 14px; font-size: 11px; font-weight: 700;
  color: var(--navy); letter-spacing: .02em;
}
@media (max-width: 960px) {
  .nfc-luxe { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .nfc-luxe-copy { width: 100%; }
  .nfc-luxe-phone { display: none; }
}
@media (max-width: 520px) {
  .nfc-luxe { padding: 22px 18px; }
  .nfc-luxe-card { width: 100%; max-width: 280px; }
}

.nfc-cross {
  margin-top: 48px; padding: 28px 30px; border-radius: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(224,112,48,.14), rgba(20,56,92,.35));
  border: 1px solid rgba(240, 145, 60, .3);
}
.nfc-cross h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.nfc-cross p { color: #a9bccf; font-size: 14.5px; max-width: 560px; }
.nfc-cross p b { color: #fff; }
.nfc-cross-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nfc-cross-actions .btn.ghost { margin-left: 0; }



/* ---------- Footer ---------- */
footer { background: #060d18; color: #6f87a1; padding: 34px 0; font-size: 13px; border-top: 1px solid var(--glass-border); }
footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
footer a { color: #a9bccf; text-decoration: none; }
footer a:hover { color: var(--orange-hot); }
.footer-brand {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: #a9bccf; text-decoration: none;
}
.footer-brand img {
  width: 40px; height: 40px; border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(240, 145, 60, .35);
}
.footer-brand .brand-name {
  color: #e8eef5; font-size: 18px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap;
}
.footer-brand .brand-name em { font-style: normal; color: var(--orange-hot); }
.footer-meta { width: 100%; font-size: 12px; color: #6f87a1; margin-left: 52px; margin-top: -4px; }
@media (min-width: 720px) {
  .footer-meta { width: auto; margin-left: 0; margin-top: 0; padding-left: 8px; border-left: 1px solid rgba(255,255,255,.12); }
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }

/* Typo reveal (lignes) */
.line-reveal .line {
  display: block;
  overflow: hidden;
}
.line-reveal .line > span {
  display: block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform .48s cubic-bezier(.2,.7,.2,1), opacity .48s ease;
  transition-delay: 0s;
}
html:not(.js) .line-reveal .line > span {
  opacity: 1;
  transform: none;
}
.line-reveal.in .line > span {
  transform: none;
  opacity: 1;
}
.line-reveal:not(.in) .line > span { transition-delay: 0s !important; }
/* Hero: stagger animates the h1 shell; children still need .in — reinforce once revealed */
.hero h1.line-reveal.in .line > span {
  opacity: 1;
  transform: none;
}
.line-reveal.in .line:nth-child(2) > span { transition-delay: .07s; }
.line-reveal.in .line:nth-child(3) > span { transition-delay: .14s; }
.line-reveal.in .line:nth-child(4) > span { transition-delay: .2s; }

/* Magnetic buttons — JS applique --mx/--my ; desktop only */
.btn.magnetic,
.header-cta.magnetic {
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .step-card, .hero [data-stagger] { opacity: 1 !important; transform: none !important; }
  .mockup { transform: none; }
  .line-reveal .line > span {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  .btn.magnetic, .header-cta.magnetic { transform: none !important; }
}

/* ---------- Page Formation ---------- */
nav a.current { color: #fff; }
nav a.current::after { width: 100%; }

.formation-hero { min-height: 58vh; }
.formation-hero .container {
  grid-template-columns: 1fr;
  padding-top: 120px;
  padding-bottom: 56px;
}
.formation-hero .lead { max-width: 640px; }
.formation-hero .btn.ghost { margin-left: 12px; }
@media (max-width: 520px) {
  .formation-hero .btn.ghost { margin-left: 0; margin-top: 10px; }
}

.couverture-list {
  list-style: none;
  counter-reset: cov;
  margin-top: 50px;
  display: grid;
  gap: 12px;
  max-width: 760px;
}
.couverture-list li {
  counter-increment: cov;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 15px;
  color: #c5d4e4;
}
.couverture-list li::before {
  content: counter(cov);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  box-shadow: 0 8px 20px rgba(224, 112, 48, .35);
}
.couverture-list li > span { min-width: 0; padding-top: 6px; }
.couverture-list li strong { color: #fff; font-weight: 700; }
.couverture-list code,
.path-card code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: .92em;
  color: var(--orange-hot);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 50px;
}
@media (max-width: 720px) {
  .path-grid { grid-template-columns: 1fr; }
}
.path-card {
  background: #fff;
  border: 1px solid #e5dfd6;
  border-radius: 18px;
  padding: 34px 28px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.path-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(20,56,92,.13); }
.path-card .path-label {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: #081120; background: var(--orange-hot);
  padding: 3px 12px; border-radius: 12px; margin-bottom: 14px;
}
.path-card h3 { color: var(--navy); font-size: 21px; }
.path-card .price { font-size: 32px; font-weight: 800; color: var(--orange); letter-spacing: -1px; margin: 6px 0 2px; }
.path-card .psub { font-size: 12px; color: var(--ink-soft); padding-bottom: 16px; border-bottom: 1px solid #eee7dc; margin-bottom: 16px; }
.path-card > p { font-size: 14.5px; color: #3a4a5f; margin-bottom: 16px; }
.path-card ul { list-style: none; margin-bottom: 22px; }
.path-card li {
  position: relative; padding: 8px 0 8px 26px;
  font-size: 14px; color: #3a4a5f; border-bottom: 1px solid #f4efe8;
}
.path-card li:last-child { border: none; }
.path-card li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.path-card .btn { margin-top: 4px; }
.path-card .btn.ghost {
  margin-left: 0;
  border-color: #ddd3c6;
  color: var(--navy);
}
.path-card .btn.ghost:hover { border-color: var(--orange); color: var(--orange); }

.form-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
@media (max-width: 800px) {
  .form-pillars { grid-template-columns: 1fr; }
}
.form-pillars article {
  background: #fff;
  border: 1px solid #e5dfd6;
  border-radius: 16px;
  padding: 24px 22px;
}
.form-pillar-n {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  color: #fff; font-weight: 800; font-size: 14px;
  margin-bottom: 14px;
}
.form-pillars h3 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.form-pillars p { font-size: 14.5px; color: #3a4a5f; }
.form-pillars-note {
  margin: 22px 0 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 680px;
}

.geste-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 50px;
}
.geste {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 26px 22px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.geste:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 145, 60, .35);
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
}
.geste h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.geste p { font-size: 14px; color: #a9bccf; }
.geste-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-hot);
  text-decoration: none;
}
.geste-link:hover { text-decoration: underline; }

.formation-hero .lead-note {
  margin-top: 22px;
  font-size: 14.5px;
  color: #a9bccf;
}
.formation-hero .lead-note a {
  color: var(--orange-hot);
  font-weight: 700;
  text-decoration: none;
}
.formation-hero .lead-note a:hover { text-decoration: underline; }

#gestes .section-sub a,
#guide-lws a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}
#gestes .section-sub a { color: var(--orange-hot); }
#gestes .section-sub a:hover,
#guide-lws a:hover { text-decoration: underline; }

#deux-chemins,
#guide-lws,
#guide-connexion,
#guide-fichiers,
#guide-trouver,
#guide-copie,
#guide-editer,
#guide-blocs,
#guide-horaires,
#guide-telephone,
#guide-textes,
#guide-photos,
#guide-menu,
#guide-ne-pas-toucher,
#guide-verifier,
#gestes {
  scroll-margin-top: 88px;
}

.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.guide-toc a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5dfd6;
  color: var(--navy) !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
}
.guide-toc a:hover {
  border-color: var(--orange);
  color: var(--orange) !important;
}

.guide-ol {
  list-style: none;
  counter-reset: guide;
  margin-top: 36px;
  display: grid;
  gap: 20px;
}
.guide-step {
  counter-increment: guide;
  background: #fff;
  border: 1px solid #e5dfd6;
  border-radius: 18px;
  padding: 28px 26px 26px;
}
.guide-step > h3 {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 12px;
}
.guide-step > h3::before {
  content: counter(guide);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  box-shadow: 0 8px 20px rgba(224, 112, 48, .35);
  flex-shrink: 0;
}
.guide-step > h3 .guide-step-title {
  flex: 1;
  min-width: 0;
}
.guide-step > h3 code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: .9em;
  color: var(--orange);
}
.guide-step > p,
.guide-bloc p {
  font-size: 14.5px;
  color: #3a4a5f;
  margin-bottom: 10px;
}
.guide-step h4 {
  color: var(--navy);
  font-size: 15.5px;
  margin: 16px 0 8px;
}
.guide-sub {
  margin: 8px 0 14px 4px;
  padding-left: 22px;
  color: #3a4a5f;
  font-size: 14.5px;
}
.guide-sub li { margin: 6px 0; }
.guide-tip {
  background: #fff6ee;
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
  font-size: 13.5px;
  color: #5a4a3a;
  margin: 12px 0 0;
}
.guide-label {
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--ink-soft) !important;
  margin: 12px 0 6px !important;
}
.guide-ex {
  background: #0d1b30;
  color: #e8eef5;
  border-radius: 12px;
  padding: 14px 16px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  overflow-x: auto;
  margin: 0 0 12px;
}
.guide-step code,
.guide-bloc code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: .92em;
  color: var(--orange);
  background: #fff6ee;
  padding: 1px 5px;
  border-radius: 4px;
}
.guide-ex code {
  color: inherit;
  background: none;
  padding: 0;
}

.guide-blocs {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.guide-bloc {
  background: var(--cream);
  border: 1px solid #eee7dc;
  border-radius: 14px;
  padding: 20px 18px 16px;
}
.guide-bloc h4 {
  margin-top: 0;
  font-size: 16.5px;
}

.guide-dont {
  list-style: none;
  margin: 12px 0 8px;
}
.guide-dont li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 14.5px;
  color: #3a4a5f;
  border-bottom: 1px solid #f4efe8;
}
.guide-dont li:last-child { border: none; }
.guide-dont li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
}

.guide-next {
  margin-top: 36px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e5dfd6;
  border-radius: 16px;
  text-align: center;
}
.guide-next p { font-size: 15px; color: #3a4a5f; }

@media print {
  #progress, header, .hero, .cta-band, footer, .nav-toggle, .header-cta-group { display: none !important; }
  body { background: #fff; color: #111; }
  .reveal, .hero [data-stagger] { opacity: 1 !important; transform: none !important; }
  section.light { background: #fff; }
  .guide-step, .geste, .path-card { break-inside: avoid; box-shadow: none; }
  .guide-ex { border: 1px solid #ccc; color: #111; background: #f6f6f6; }
}

/* ============================================================
   Glow-up v3 — polish cards / CTA / reduced-motion
   ============================================================ */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-hot));
}
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 280px at 85% 20%, rgba(240,145,60,.22), transparent 60%),
    linear-gradient(135deg, #0a1628 0%, #112544 55%, #0d1b30 100%) !important;
  border-top: 1px solid rgba(240,145,60,.2);
  border-bottom: 1px solid rgba(240,145,60,.2);
}
.cta-band::after {
  content: ""; position: absolute; inset: auto -5% -40% auto; width: 320px; height: 320px;
  background: url("assets/logo-mark.png") center / contain no-repeat;
  opacity: .06; pointer-events: none;
}
.marquee {
  background: linear-gradient(90deg, #081120, #0d1b30 40%, #0d1b30 60%, #081120);
}
.pain, .offer-card, .faq-item, .path-card {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}
section.light .pain:hover {
  border-color: rgba(224,112,48,.35);
  box-shadow: 0 22px 44px rgba(20, 56, 92, .14);
}
.btn {
  position: relative; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.22) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .55s ease;
}
.btn:hover::after { transform: translateX(120%); }

html.js .hero-brand-banner {
  transition: transform .2s linear;
  will-change: transform;
}

.contact-brand-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 8px;
}
.brand-story-teaser {
  flex: 0 0 auto;
  width: 110px;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(224, 112, 48, .35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  background: #0d1b30;
}
.brand-story-teaser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
@media (max-width: 800px) {
  .contact-brand-row { flex-direction: column; }
  .brand-story-teaser { width: 96px; }
}

.footer-brand img {
  width: 48px; height: 48px; border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(240, 145, 60, .35);
}
.footer-lockup {
  display: block;
  margin-top: 10px;
  height: 36px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  opacity: .92;
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-brand-frame, .mockup, .marquee-track, .scroll-hint::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .btn::after { display: none; }
}
