/* ==========================================================================
   E-boutiks — feuille de style
   Palette issue du logo : violet #6B2FD4 / #3B1580 + orange #F97316
   ========================================================================== */

:root {
  --violet-900: #1A0533;
  --violet-800: #2A0B57;
  --violet-700: #3B1580;
  --violet-600: #4A1A9E;
  --violet-500: #6B2FD4;
  --violet-400: #7C3AED;
  --violet-300: #8B5CF6;
  --violet-100: #EDE9FE;
  --violet-50:  #F8F5FF;

  --orange-600: #EA580C;
  --orange-500: #F97316;
  --orange-300: #FDBA74;
  --orange-100: #FFEDD5;

  --ink:        #1A0533;
  --ink-soft:   #4B3A66;
  --muted:      #6E6383;
  --line:       #EAE3F7;
  --white:      #FFFFFF;
  --bg:         #FBF9FF;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(26, 5, 51, .06);
  --shadow:    0 12px 32px -12px rgba(59, 21, 128, .18);
  --shadow-lg: 0 32px 64px -24px rgba(59, 21, 128, .32);
  --glow:      0 18px 40px -14px rgba(249, 115, 22, .55);

  --grad-violet: linear-gradient(135deg, #6B2FD4 0%, #3B1580 100%);
  --grad-accent: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  --grad-hero:   linear-gradient(155deg, #2A0B57 0%, #3B1580 45%, #5B22B8 100%);

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

::selection { background: var(--orange-500); color: #fff; }

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

/* --- Décor de fond -------------------------------------------------------- */
.bg-mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .28; }
.blob-1 { width: 520px; height: 520px; background: var(--violet-400); top: -180px; right: -120px; animation: float 18s ease-in-out infinite; }
.blob-2 { width: 420px; height: 420px; background: var(--orange-500); top: 42%; left: -180px; opacity: .18; animation: float 22s ease-in-out infinite reverse; }
.blob-3 { width: 460px; height: 460px; background: var(--violet-300); bottom: -220px; right: 10%; opacity: .16; animation: float 26s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-40px, 40px) scale(1.12); }
}

/* --- Navigation ----------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px -12px rgba(59,21,128,.22); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 38px; height: 38px; object-fit: contain;
  background: #fff; border-radius: 11px; padding: 3px;
  box-shadow: var(--shadow-sm);
}
.brand-name { font-weight: 800; font-size: 1.24rem; letter-spacing: -.03em; color: var(--violet-700); }
.brand-name em { font-style: normal; color: var(--orange-500); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 9px 15px; border-radius: 999px;
  font-size: .935rem; font-weight: 600; color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--violet-600); background: var(--violet-50); }
.nav-link.active { color: var(--violet-700); background: var(--violet-100); }
.nav-cta { margin-left: 10px; }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border-radius: 12px; }
.burger span { display: block; width: 21px; height: 2px; border-radius: 2px; background: var(--violet-700); transition: transform .3s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Boutons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: .97rem; letter-spacing: -.01em;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s, background .22s, color .22s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 19px; font-size: .89rem; }
.btn-lg { padding: 17px 34px; font-size: 1.03rem; }

.btn-accent { background: var(--grad-accent); color: #fff; box-shadow: var(--glow); }
.btn-accent:hover { box-shadow: 0 22px 48px -14px rgba(249,115,22,.7); }

.btn-primary { background: var(--grad-violet); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: 0 22px 48px -16px rgba(59,21,128,.6); }

.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }

.btn-outline { background: #fff; color: var(--violet-700); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--violet-300); color: var(--violet-600); }

/* --- Sections génériques -------------------------------------------------- */
.section { padding: 104px 0; position: relative; }
.section-head { max-width: 660px; margin: 0 auto 60px; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  background: var(--violet-100); color: var(--violet-600);
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500); }

h1, h2, h3, h4 { letter-spacing: -.035em; line-height: 1.15; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.2rem; }

.lead { font-size: 1.08rem; color: var(--muted); margin-top: 16px; }

.grad-text {
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 96px 0 120px;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  border-radius: 0 0 44px 44px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(1000px 460px at 12% -10%, rgba(249,115,22,.30), transparent 62%),
    radial-gradient(760px 420px at 92% 105%, rgba(139,92,246,.45), transparent 60%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
}
.hero .container { position: relative; z-index: 1; }

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 9px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  font-size: .84rem; font-weight: 600; backdrop-filter: blur(10px);
}
.hero-badge b { background: var(--grad-accent); padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.85rem);
  margin: 24px 0 20px;
}
.hero h1 .grad-text { background: linear-gradient(120deg, #FDBA74, #F97316 60%, #FB923C); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.hero p.lead { color: rgba(255,255,255,.82); font-size: 1.13rem; max-width: 520px; margin-top: 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-stats { display: flex; gap: 38px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 800; letter-spacing: -.04em; }
.hero-stat span { font-size: .84rem; color: rgba(255,255,255,.68); font-weight: 500; }

/* --- Mockup téléphone ----------------------------------------------------- */
.phone-wrap { display: flex; justify-content: center; perspective: 1400px; }
.phone {
  position: relative;
  width: 290px; height: 590px;
  background: linear-gradient(160deg, #1A0533, #2A0B57);
  border-radius: 42px;
  padding: 11px;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.6), 0 0 0 1.5px rgba(255,255,255,.14) inset;
  transform: rotateY(-13deg) rotateX(5deg) rotateZ(1deg);
  animation: tilt 9s ease-in-out infinite;
}
@keyframes tilt {
  0%, 100% { transform: rotateY(-13deg) rotateX(5deg) translateY(0); }
  50%      { transform: rotateY(-7deg)  rotateX(2deg) translateY(-16px); }
}
.phone::before {
  content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 24px; background: #100320; border-radius: 999px; z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: #FBF9FF; display: flex; flex-direction: column;
}
.ph-top { background: var(--grad-violet); padding: 46px 20px 22px; color: #fff; }
.ph-top small { font-size: .68rem; opacity: .75; font-weight: 600; }
.ph-top h4 { font-size: 1.02rem; margin-top: 2px; }
.ph-balance { margin-top: 16px; display: flex; align-items: flex-end; justify-content: space-between; }
.ph-balance b { font-size: 1.5rem; letter-spacing: -.04em; }
.ph-pill { background: rgba(255,255,255,.18); border-radius: 999px; padding: 4px 10px; font-size: .64rem; font-weight: 700; }

.ph-body { padding: 16px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.ph-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-card { background: #fff; border-radius: 14px; padding: 11px 12px; box-shadow: var(--shadow-sm); }
.ph-card i { display: block; width: 24px; height: 24px; border-radius: 8px; background: var(--violet-100); margin-bottom: 7px; }
.ph-card.o i { background: var(--orange-100); }
.ph-card b { font-size: .95rem; display: block; letter-spacing: -.03em; }
.ph-card span { font-size: .6rem; color: var(--muted); font-weight: 600; }

.ph-list { background: #fff; border-radius: 14px; padding: 12px; box-shadow: var(--shadow-sm); flex: 1; }
.ph-list h5 { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 9px; }
.ph-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid #F4F0FC; }
.ph-row:last-child { border: 0; }
.ph-av { width: 26px; height: 26px; border-radius: 9px; background: var(--grad-violet); flex: none; }
.ph-row.b .ph-av { background: var(--grad-accent); }
.ph-txt { flex: 1; }
.ph-txt b { display: block; font-size: .68rem; }
.ph-txt span { font-size: .58rem; color: var(--muted); }
.ph-tag { font-size: .55rem; font-weight: 800; padding: 3px 7px; border-radius: 999px; background: #DCFCE7; color: #15803D; }
.ph-tag.w { background: var(--orange-100); color: var(--orange-600); }

.ph-nav { display: flex; justify-content: space-around; padding: 12px 0 18px; background: #fff; border-top: 1px solid #F1EBFB; }
.ph-nav i { width: 20px; height: 20px; border-radius: 7px; background: #E9E3F6; }
.ph-nav i.on { background: var(--grad-accent); }

.float-card {
  position: absolute; z-index: 4;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-radius: 15px; padding: 11px 14px;
  box-shadow: 0 20px 44px -16px rgba(0,0,0,.42);
  display: flex; align-items: center; gap: 10px;
  animation: bob 5.5s ease-in-out infinite;
}
.float-card b { font-size: .78rem; display: block; color: var(--ink); letter-spacing: -.02em; }
.float-card span { font-size: .63rem; color: var(--muted); font-weight: 600; }
.float-card .fc-ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: .95rem; }
.fc-1 { top: 78px; left: -46px; }
.fc-2 { bottom: 108px; right: -52px; animation-delay: 1.6s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

/* --- Bandeau logos / confiance -------------------------------------------- */
.trust { padding: 34px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 14px 46px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-weight: 600; font-size: .9rem; }
.trust-item svg { color: var(--orange-500); flex: none; }

/* --- Cartes fonctionnalités ----------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 26px;
  transition: transform .3s cubic-bezier(.34,1.3,.64,1), box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.feature::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.feature:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature:hover::after { transform: scaleX(1); }
.feature-ic {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--violet-100); color: var(--violet-600);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.feature:hover .feature-ic { transform: rotate(-8deg) scale(1.08); }
.feature:nth-child(3n-1) .feature-ic { background: var(--orange-100); color: var(--orange-600); }
.feature h3 { margin-bottom: 9px; }
.feature p { color: var(--muted); font-size: .94rem; }

/* --- Étapes --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step-num {
  width: 54px; height: 54px; border-radius: 18px;
  background: var(--grad-violet); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.25rem;
  box-shadow: var(--shadow); margin-bottom: 18px;
}
.step:nth-child(2) .step-num { background: var(--grad-accent); box-shadow: var(--glow); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; }

/* --- Split (image + texte) ------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.check-list { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; color: var(--ink-soft); }
.check-list li::before {
  content: '✓'; flex: none;
  width: 24px; height: 24px; border-radius: 8px;
  background: var(--violet-100); color: var(--violet-600);
  display: grid; place-items: center; font-size: .78rem; font-weight: 800;
  margin-top: 1px;
}

.stat-panel {
  background: var(--grad-hero); border-radius: var(--radius-xl); padding: 40px;
  color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.stat-panel::before {
  content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(249,115,22,.32); filter: blur(70px); top: -80px; right: -60px;
}
.stat-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.stat-item strong { display: block; font-size: 2.1rem; letter-spacing: -.045em; }
.stat-item span { font-size: .85rem; color: rgba(255,255,255,.72); }

/* --- FAQ ------------------------------------------------------------------ */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: var(--violet-100); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 19px 24px; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex: none;
  width: 27px; height: 27px; border-radius: 9px;
  background: var(--violet-50); color: var(--violet-600);
  display: grid; place-items: center; font-size: 1.15rem; font-weight: 700;
  transition: transform .28s, background .28s, color .28s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--grad-accent); color: #fff; }
.faq-item p { padding: 0 24px 21px; color: var(--muted); font-size: .95rem; }

/* --- CTA ------------------------------------------------------------------ */
.cta-band {
  background: var(--grad-hero); border-radius: var(--radius-xl);
  padding: 62px 52px; color: #fff; text-align: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 20% 0%, rgba(249,115,22,.34), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 560px; margin: 14px auto 30px; }

/* --- Pages légales -------------------------------------------------------- */
.page-hero {
  background: var(--grad-hero); color: #fff;
  padding: 68px 0 82px; border-radius: 0 0 40px 40px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 78% 0%, rgba(249,115,22,.3), transparent 62%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 620px; }
.crumb { font-size: .84rem; color: rgba(255,255,255,.62); font-weight: 600; margin-bottom: 16px; }
.crumb a:hover { color: #fff; }
.updated {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2);
  font-size: .82rem; font-weight: 600;
}

.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 52px; padding: 64px 0 100px; align-items: start; }

.toc { position: sticky; top: calc(var(--nav-h) + 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.toc h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.toc a { display: block; padding: 7px 11px; border-radius: 9px; font-size: .87rem; font-weight: 600; color: var(--ink-soft); transition: background .2s, color .2s; }
.toc a:hover { background: var(--violet-50); color: var(--violet-600); }

.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 46px 50px; box-shadow: var(--shadow-sm); }
.doc section { scroll-margin-top: calc(var(--nav-h) + 24px); }
.doc section + section { margin-top: 42px; padding-top: 42px; border-top: 1px solid var(--line); }
.doc h2 { font-size: 1.42rem; display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.doc h2 .n {
  flex: none; width: 32px; height: 32px; border-radius: 11px;
  background: var(--violet-100); color: var(--violet-600);
  display: grid; place-items: center; font-size: .86rem; font-weight: 800;
}
.doc h3 { font-size: 1.03rem; margin: 24px 0 8px; color: var(--violet-700); }
.doc p { color: var(--ink-soft); margin-bottom: 13px; font-size: .96rem; }
.doc ul { color: var(--ink-soft); padding-left: 20px; margin-bottom: 14px; font-size: .96rem; }
.doc li { margin-bottom: 7px; }
.doc li::marker { color: var(--orange-500); }
.doc strong { color: var(--ink); font-weight: 700; }
.doc a:not(.btn) { color: var(--violet-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--violet-100); }
.doc a:not(.btn):hover { text-decoration-color: var(--violet-500); }

.callout {
  border-radius: var(--radius); padding: 18px 22px; margin: 20px 0;
  background: var(--violet-50); border-left: 4px solid var(--violet-500);
  font-size: .93rem; color: var(--ink-soft);
}
.callout.warn { background: var(--orange-100); border-left-color: var(--orange-500); }
.callout b { color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--violet-50); font-weight: 700; color: var(--violet-700); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
tr:last-child td { border-bottom: 0; }
td { color: var(--ink-soft); }

/* --- Formulaire ----------------------------------------------------------- */
.form-layout { display: grid; grid-template-columns: 1fr 400px; gap: 46px; padding: 64px 0 100px; align-items: start; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 40px 44px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.form-card > p.sub { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--orange-500); }
.field .hint { font-size: .79rem; color: var(--muted); font-weight: 500; margin-top: 6px; }

.input, select.input, textarea.input {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 13px;
  font-family: var(--font); font-size: .95rem; color: var(--ink);
  background: #FDFCFF; transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder { color: #A79CBC; }
.input:focus { outline: none; border-color: var(--violet-400); background: #fff; box-shadow: 0 0 0 4px rgba(124,58,237,.13); }
.input.err { border-color: #DC2626; background: #FEF2F2; }
textarea.input { resize: vertical; min-height: 120px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E6383' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }

.field-err { display: block; color: #DC2626; font-size: .8rem; font-weight: 600; margin-top: 6px; }

.checks { display: grid; gap: 10px; }
.check {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 13px;
  cursor: pointer; transition: border-color .2s, background .2s;
  font-size: .91rem; color: var(--ink-soft);
}
.check:hover { border-color: var(--violet-300); background: var(--violet-50); }
.check input { margin-top: 3px; accent-color: var(--violet-500); width: 17px; height: 17px; flex: none; cursor: pointer; }
.check:has(input:checked) { border-color: var(--violet-400); background: var(--violet-50); }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.alert {
  display: flex; gap: 14px; align-items: flex-start;
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 26px;
  font-size: .93rem; font-weight: 500;
}
.alert-ic { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; font-weight: 800; }
.alert b { display: block; margin-bottom: 3px; font-size: .98rem; }
.alert-ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-ok .alert-ic { background: #10B981; color: #fff; }
.alert-ko { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-ko .alert-ic { background: #DC2626; color: #fff; }

.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.aside-card p, .aside-card li { font-size: .89rem; color: var(--muted); }
.aside-card ul { padding-left: 18px; display: grid; gap: 8px; }
.aside-card li::marker { color: var(--orange-500); }

.timeline { list-style: none; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 22px 30px; font-size: .89rem; color: var(--muted); }
.timeline li::before {
  content: ''; position: absolute; left: 0; top: 5px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--violet-400);
}
.timeline li::after {
  content: ''; position: absolute; left: 5px; top: 17px; bottom: 0; width: 2px; background: var(--line);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li b { display: block; color: var(--ink); font-size: .93rem; }

/* --- Footer --------------------------------------------------------------- */
.footer { background: var(--violet-900); color: rgba(255,255,255,.72); padding: 66px 0 30px; margin-top: 0; }
.footer .brand-name { color: #fff; }
.footer .brand-name em { color: var(--orange-500); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 42px; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-tagline { margin-top: 16px; font-size: .93rem; max-width: 290px; }
.footer-badge { margin-top: 14px; font-size: .81rem; color: rgba(255,255,255,.45); }
.footer-col h4 { font-size: .77rem; text-transform: uppercase; letter-spacing: .11em; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; font-size: .91rem; padding: 5px 0; transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--orange-300); transform: translateX(3px); }
.footer-note { font-size: .82rem; color: rgba(255,255,255,.42); margin-top: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding-top: 26px; font-size: .84rem; color: rgba(255,255,255,.45); }
.footer-dot { opacity: .4; }

/* --- Animations d'apparition ---------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .toc h4 { width: 100%; }
  .form-layout { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .phone { transform: none; animation: none; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
    padding: 18px 22px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-link { padding: 12px 15px; }
  .nav-cta { margin: 8px 0 0; }

  .section { padding: 76px 0; }
  .features, .steps { grid-template-columns: 1fr; }
  .doc { padding: 30px 24px; border-radius: var(--radius-lg); }
  .form-card { padding: 28px 24px; }
  .cta-band { padding: 44px 26px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .fc-1 { left: -14px; } .fc-2 { right: -14px; }
  .hero { border-radius: 0 0 30px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 420px) {
  .hero-stats { gap: 22px; }
  .float-card { display: none; }
}
