/* =========================================================================
   FAÇONWEB — Système de design (page d'accueil)
   Palette : bleu ardoise + blanc cassé + orange cuivré
   3 ambiances togglables via [data-palette] : ardoise · cuivre · clair
   ========================================================================= */

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }

/* =========================================================================
   TOKENS — défaut = Ardoise chaleureux
   ========================================================================= */
:root {
  /* Type */
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  /* Neutres / encres */
  --ink:        #1f3340;
  --slate:      #38505e;
  --bg:         #f5f1ea;
  --surface:    #ffffff;
  --surface-2:  #faf6ef;
  --text:       #233039;
  --muted:      #5d6b74;
  --line:       #e7e0d5;
  --line-strong:#d8cfc0;

  /* Accent cuivré */
  --copper:      #bd6a3a;
  --copper-deep: #a1572d;
  --copper-soft: #f3e6db;

  /* Sections sombres / hero / footer */
  --hero-bg:        radial-gradient(120% 130% at 75% 10%, #2b4250 0%, #1c2e3a 55%, #16252f 100%);
  --hero-text:      #f4efe7;
  --hero-muted:     #aebbc3;
  --hero-chip-bg:   rgba(255,255,255,.07);
  --hero-chip-line: rgba(255,255,255,.16);
  --dark-bg:        #1f3340;
  --dark-text:      #f1ece4;
  --dark-muted:     #a6b4bc;
  --footer-bg:      #16252f;
  --footer-text:    #cdd7dd;
  --footer-muted:   #7f9099;

  /* Mockup navigateur */
  --mock-frame: #0f1c24;

  /* Bandeau CTA (réglé par [data-accent]) */
  --band-bg:   var(--copper);
  --band-text: #fff8f1;
  --band-sub:  rgba(255,247,241,.82);

  /* Mécanique — pilotable via Tweaks */
  --radius:   14px;
  --radius-lg:22px;
  --radius-sm:9px;
  --btn-radius: 999px;
  --shadow:   0 1px 2px rgba(28,46,58,.04), 0 12px 30px -16px rgba(28,46,58,.22);
  --shadow-lg:0 30px 70px -30px rgba(28,46,58,.40);
  --maxw: 1180px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Réglages pilotables (valeurs par défaut) */
  --base-size: 17px;
  --head-weight: 600;
  --head-tracking: -.02em;
  --space-scale: 1;
  --mock-rotate: -6deg;
  --card-border: 1px;
}

/* ---------- Intensité des ombres — [data-shadow] ---------- */
[data-shadow="plates"] {
  --shadow: 0 1px 2px rgba(28,46,58,.05);
  --shadow-lg: 0 2px 8px rgba(28,46,58,.10);
}
[data-shadow="prononcees"] {
  --shadow: 0 2px 6px rgba(28,46,58,.07), 0 22px 48px -22px rgba(28,46,58,.34);
  --shadow-lg: 0 44px 100px -34px rgba(28,46,58,.55);
}

/* ---------- Ambiance : Cuivre éditorial ---------- */
[data-palette="cuivre"] {
  --ink:        #211b15;
  --slate:      #4a3d31;
  --bg:         #f4ece0;
  --surface:    #fdf8f1;
  --surface-2:  #efe4d4;
  --text:       #2a2118;
  --muted:      #6c5e4f;
  --line:       #e6d9c6;
  --line-strong:#d8c6ac;

  --copper:      #c2602f;
  --copper-deep: #a44e24;
  --copper-soft: #f1dcc8;

  --hero-bg:        radial-gradient(115% 130% at 78% 0%, #3a2417 0%, #241a13 50%, #1a120c 100%);
  --hero-text:      #f5e9db;
  --hero-muted:     #c2ab92;
  --hero-chip-bg:   rgba(255,255,255,.06);
  --hero-chip-line: rgba(226,170,120,.28);
  --dark-bg:        #241a13;
  --dark-text:      #f5e9db;
  --dark-muted:     #bfa991;
  --footer-bg:      #1a120c;
  --footer-text:    #dac9b6;
  --footer-muted:   #97836c;

  --mock-frame: #1a120c;
}

/* ---------- Ambiance : Clair & aéré ---------- */
[data-palette="clair"] {
  --ink:        #2a3a45;
  --slate:      #46586a;
  --bg:         #fbfaf7;
  --surface:    #ffffff;
  --surface-2:  #f3f2ec;
  --text:       #2d3a44;
  --muted:      #6a757d;
  --line:       #ece8e0;
  --line-strong:#ddd8cd;

  --copper:      #c17a4e;
  --copper-deep: #a86438;
  --copper-soft: #f6ece2;

  /* Hero clair : ardoise très clair, texte sombre */
  --hero-bg:        linear-gradient(160deg, #eef1f1 0%, #e6ebec 100%);
  --hero-text:      #2a3a45;
  --hero-muted:     #5f6e77;
  --hero-chip-bg:   rgba(42,58,69,.05);
  --hero-chip-line: rgba(42,58,69,.14);
  --dark-bg:        #2a3a45;
  --dark-text:      #f0f3f3;
  --dark-muted:     #a7b5bd;
  --footer-bg:      #2a3a45;
  --footer-text:    #cfd8dd;
  --footer-muted:   #84939b;

  --mock-frame: #cdd6d8;
}

/* =========================================================================
   ACCENT (dosage de l'orange) — [data-accent]
   ========================================================================= */
[data-accent="present"]  { --band-bg: var(--copper);      --band-text:#fff8f1; --band-sub: rgba(255,247,241,.82); }
[data-accent="discret"]  { --band-bg: var(--dark-bg);     --band-text: var(--dark-text); --band-sub: var(--dark-muted); }
[data-accent="genereux"] { --band-bg: var(--copper);      --band-text:#fff8f1; --band-sub: rgba(255,247,241,.85); }

/* =========================================================================
   TYPO — [data-font]
   ========================================================================= */
[data-font="space"]   { --font-display: "Space Grotesk", "Hanken Grotesk", sans-serif; }
[data-font="serif"]   { --font-display: "Newsreader", Georgia, serif; }

/* =========================================================================
   BASE
   ========================================================================= */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: var(--base-size, 17px);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: .002em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: var(--head-tracking, -.02em);
  font-weight: var(--head-weight, 600);
  text-wrap: balance;
}

p { text-wrap: pretty; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: calc(clamp(64px, 9vw, 120px) * var(--space-scale, 1)); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--copper);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3.6rem); margin-top: 14px; }
.section-head p { color: var(--muted); font-size: 1.075rem; margin-top: 16px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* =========================================================================
   BOUTONS
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--btn-radius, 999px);
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--copper); color: #fff8f1; box-shadow: 0 10px 24px -12px var(--copper); }
.btn-primary:hover { background: var(--copper-deep); transform: translateY(-2px); }

.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--slate); transform: translateY(-2px); }

.btn-ghost { border: 1.5px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface-2); }

.btn-on-dark { border: 1.5px solid rgba(255,255,255,.28); color: var(--hero-text); }
.btn-on-dark:hover { border-color: var(--hero-text); background: rgba(255,255,255,.08); }
[data-palette="clair"] .btn-on-dark { border-color: rgba(42,58,69,.32); color: var(--ink); }
[data-palette="clair"] .btn-on-dark:hover { background: rgba(42,58,69,.05); border-color: var(--ink); }

.btn-lg { padding: 18px 32px; font-size: 1.06rem; }
.btn-link { color: var(--copper); font-weight: 600; display: inline-flex; align-items: center; gap: .4em; }
.btn-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn-link:hover svg { transform: translateX(4px); }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; color: var(--ink); letter-spacing: -.02em; }
.brand-logo {
  height: 38px; width: auto; display: block;
  border-radius: 8px;
  transition: transform .22s ease, box-shadow .22s ease;
}
/* Sur fond clair : mix-blend-mode efface le fond blanc du logo */
.site-header .brand-logo { mix-blend-mode: multiply; }
/* Sur fond sombre : badge translucide pour intégrer le logo blanc */
.site-footer .brand-logo {
  background: rgba(255,255,255,.14);
  padding: 4px;
  border-radius: 9px;
}
.brand:hover .brand-logo {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 14px 30px -8px var(--copper);
}
.brand .accent-dot { color: var(--copper); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 14px; border-radius: 8px; color: var(--slate); font-weight: 500; font-size: .98rem; transition: color .15s ease, background .15s ease; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav > .btn { display: none; } /* CTA in nav only for the open mobile menu */

.header-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; }
.menu-toggle:hover { background: var(--surface-2); }
.menu-toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { background: var(--hero-bg); color: var(--hero-text); position: relative; overflow: hidden; }
.hero .wrap { padding-block: clamp(56px, 8vw, 96px); position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--hero-chip-bg); border: 1px solid var(--hero-chip-line);
  color: var(--hero-text); font-size: .85rem; font-weight: 500;
  padding: 7px 14px 7px 11px; border-radius: 999px; margin-bottom: 26px;
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 0 var(--copper); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--copper) 60%,transparent);} 70%{box-shadow:0 0 0 9px transparent;} 100%{box-shadow:0 0 0 0 transparent;} }

.hero h1 { color: var(--hero-text); font-size: clamp(2.5rem, 5.8vw, 5.2rem); letter-spacing: -.03em; }
.hero h1 .accent { color: var(--copper); }
.hero-sub { color: var(--hero-muted); font-size: clamp(1.08rem, 1.7vw, 1.4rem); margin-top: 22px; max-width: 32ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 9px; color: var(--hero-muted); font-size: .95rem; font-weight: 500; }
.hero-trust .ck { width: 19px; height: 19px; border-radius: 50%; background: color-mix(in srgb, var(--copper) 20%, transparent); display: grid; place-items: center; flex: none; }
.hero-trust .ck svg { width: 11px; height: 11px; color: var(--copper); }

/* Mockup navigateur */
.mockup { position: relative; }
.browser {
  background: var(--mock-frame); border-radius: 16px; padding: 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1400px) rotateY(var(--mock-rotate, -6deg)) rotateX(2deg);
  transform-origin: center;
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; }
.browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.22); }
.browser-bar .url { margin-left: 10px; flex: 1; background: rgba(255,255,255,.12); border-radius: 7px; height: 22px; display: flex; align-items: center; padding: 0 12px; color: rgba(255,255,255,.6); font-size: .72rem; font-family: var(--font-body); }
.browser-screen { background: #14202e; aspect-ratio: 4 / 3.1; overflow: hidden; }
.browser-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Faux site CSS dans le mockup ---- */
.site-mock { width: 100%; height: 100%; display: flex; flex-direction: column; font-size: 0; }

/* Header */
.sm-header {
  background: #0d1720;
  padding: 6px 12px;
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.sm-logo-block { display: flex; align-items: center; gap: 5px; margin-right: auto; }
.sm-logo-dot { width: 12px; height: 12px; border-radius: 3px; background: #e07840; }
.sm-logo-text { width: 40px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.4); }
.sm-nav-links { display: flex; gap: 8px; }
.sm-nl { width: 20px; height: 5px; border-radius: 2px; background: rgba(255,255,255,.2); }
.sm-header-btn { width: 32px; height: 13px; border-radius: 6px; background: #e07840; margin-left: 6px; }

/* Hero */
.sm-hero {
  flex: 1;
  display: flex;
  position: relative;
  overflow: hidden;
}
.sm-hero-inner {
  flex: 1;
  background: linear-gradient(140deg, #14202e 0%, #1c2d3e 100%);
  padding: 14px 14px 10px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative; z-index: 1;
}
.sm-badge {
  width: 70px; height: 8px; border-radius: 4px;
  background: rgba(224,120,64,.4);
  margin-bottom: 2px;
}
.sm-h1 { border-radius: 4px; background: rgba(255,255,255,.85); }
.sm-h1.xl { height: 11px; width: 88%; }
.sm-h1.lg { height: 11px; width: 75%; }
.sm-h1.md { height: 10px; width: 62%; }
.sm-sub { height: 5px; border-radius: 3px; background: rgba(255,255,255,.3); margin-top: 2px; }
.sm-sub { width: 82%; }
.sm-sub.short { width: 60%; }
.sm-actions { display: flex; gap: 6px; margin-top: 6px; }
.sm-btn-primary { width: 46px; height: 12px; border-radius: 6px; background: #e07840; }
.sm-btn-ghost { width: 40px; height: 12px; border-radius: 6px; border: 1.5px solid rgba(255,255,255,.35); }
.sm-trust { display: flex; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); }
.sm-trust-item { display: flex; align-items: center; gap: 3px; }
.sm-trust-dot { width: 6px; height: 6px; border-radius: 50%; background: #e07840; flex-shrink: 0; }
.sm-trust-t { width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); }

/* Review card fictive */
.sm-review {
  margin-top: auto;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px;
  padding: 7px 9px;
  display: flex; flex-direction: column; gap: 4px;
}
.sm-review-stars { width: 44px; height: 5px; border-radius: 2px; background: #f59e0b; }
.sm-review-text { height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); width: 90%; }
.sm-rt-short { width: 65% !important; }
.sm-review-author { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.sm-review-av { width: 10px; height: 10px; border-radius: 50%; background: #e07840; flex-shrink: 0; }
.sm-review-name { width: 40px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.4); }

/* Photo fictive */
.sm-hero-img { flex: 0 0 42%; position: relative; overflow: hidden; }
.sm-photo {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #2d1608 0%, #5c3318 45%, #9a5f2e 75%, #c8804a 100%);
  position: relative; overflow: hidden;
}
.sm-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(14,22,36,.6) 0%, transparent 45%);
}
/* Grille de texture simulant la granularité d'une photo */
.sm-photo-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 12px 12px;
}
.sm-photo-shape { position: absolute; border-radius: 50%; }
.sm-photo-shape.a {
  width: 110px; height: 110px;
  background: radial-gradient(circle, rgba(200,120,60,.35) 0%, transparent 70%);
  top: -20px; right: -20px;
}
.sm-photo-shape.b {
  width: 70px; height: 70px;
  background: rgba(255,160,60,.1);
  bottom: -10px; left: 10px;
  border: 1px solid rgba(255,160,60,.2);
}
.sm-photo-shape.c {
  width: 30px; height: 30px;
  background: rgba(255,255,255,.06);
  top: 30%; left: 25%;
}
/* Icône maison / bâtiment au centre */
.sm-photo-icon {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -56%);
  color: rgba(255,255,255,.18);
}
.sm-photo-icon svg { width: 52px; height: 52px; }
/* Badge flottant */
.sm-photo-badge {
  position: absolute; bottom: 10px; right: 8px;
  background: rgba(255,255,255,.95);
  border-radius: 5px; padding: 5px 8px;
  display: flex; align-items: center; gap: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.sm-pb-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }
.sm-pb-lines { display: flex; flex-direction: column; gap: 3px; }
.sm-pb-t { border-radius: 2px; background: #14202e; }
.sm-pb-t.thick { height: 4px; width: 32px; }
.sm-pb-t.thin { height: 3px; width: 22px; opacity: .4; }

/* Barre de stats */
.sm-stats-row {
  display: flex; align-items: center;
  padding: 7px 14px;
  background: #0d1720;
  flex-shrink: 0;
  gap: 0;
}
.sm-stat { flex: 1; display: flex; flex-direction: column; gap: 3px; align-items: center; }
.sm-stat-num { width: 28px; height: 7px; border-radius: 3px; background: #e07840; }
.sm-stat-lbl { width: 38px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); }
.sm-stat-sep { width: 1px; height: 22px; background: rgba(255,255,255,.1); flex-shrink: 0; }

.mockup .float-card {
  position: absolute; background: var(--surface); color: var(--text);
  border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
}
.float-card .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--copper-soft); color: var(--copper); display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 19px; height: 19px; }
.float-card b { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); display: block; line-height: 1.1; }
.float-card span { font-size: .8rem; color: var(--muted); }
.float-card.tl { top: 24px; left: -28px; }
.float-card.br { bottom: 26px; right: -26px; }

/* =========================================================================
   POURQUOI — 3 arguments
   ========================================================================= */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature .fic { width: 54px; height: 54px; border-radius: 14px; background: var(--copper-soft); color: var(--copper); display: grid; place-items: center; margin-bottom: 22px; }
.feature .fic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.32rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 1rem; }
.feature .num { font-family: var(--font-display); font-size: .82rem; font-weight: 700; color: var(--copper); letter-spacing: .1em; margin-bottom: 18px; }

/* =========================================================================
   OFFRES — cartes tarifaires
   ========================================================================= */
.offers { background: var(--surface-2); }
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; display: flex; flex-direction: column; position: relative;
  box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan.featured { border: 1.5px solid var(--copper); box-shadow: 0 30px 70px -34px color-mix(in srgb, var(--copper) 60%, transparent); }
.plan .ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--copper); color: #fff8f1; font-size: .76rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px;
  white-space: nowrap; box-shadow: 0 8px 18px -8px var(--copper);
}
.plan .plan-name { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; color: var(--ink); }
.plan .plan-desc { color: var(--muted); font-size: .96rem; margin-top: 6px; min-height: 2.6em; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 4px; }
.plan .price .amount { font-family: var(--font-display); font-weight: 700; font-size: 2.7rem; color: var(--ink); letter-spacing: -.02em; }
.plan .price .unit { color: var(--muted); font-size: .92rem; font-weight: 500; }
.plan .price-note { color: var(--muted); font-size: .85rem; }
.plan hr { border: none; border-top: 1px solid var(--line); margin: 24px 0; }
.plan ul { display: flex; flex-direction: column; gap: 13px; flex: 1; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; color: var(--text); }
.plan li .tick { width: 20px; height: 20px; border-radius: 50%; background: var(--copper-soft); color: var(--copper); display: grid; place-items: center; flex: none; margin-top: 1px; }
.plan li .tick svg { width: 12px; height: 12px; }
.plan .btn { width: 100%; margin-top: 28px; }

/* =========================================================================
   COMMENT ÇA MARCHE — 4 étapes
   ========================================================================= */
.steps { position: relative; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step .step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--copper);
  line-height: 1; display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.step .step-num::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.step:last-child .step-num::after { background: transparent; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .97rem; }
.step .delay { display: inline-block; margin-top: 12px; font-size: .8rem; font-weight: 600; color: var(--copper); background: var(--copper-soft); padding: 4px 11px; border-radius: 999px; }

/* =========================================================================
   MÉTIERS — chips
   ========================================================================= */
.trades { background: var(--dark-bg); color: var(--dark-text); }
.trades .section-head h2 { color: var(--dark-text); }
.trades .section-head p { color: var(--dark-muted); }
.trades-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trade {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 18px 20px; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
[data-palette="clair"] .trade { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.trade:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--copper) 60%, transparent); background: rgba(255,255,255,.07); }
.trade .ti { width: 40px; height: 40px; border-radius: 11px; background: color-mix(in srgb, var(--copper) 20%, transparent); color: var(--copper); display: grid; place-items: center; flex: none; }
.trade .ti svg { width: 21px; height: 21px; }
.trade span { font-family: var(--font-display); font-weight: 500; font-size: 1.06rem; }

/* =========================================================================
   BANDEAU CTA FINAL
   ========================================================================= */
.cta-band { background: var(--band-bg); color: var(--band-text); position: relative; overflow: hidden; }
.cta-band .wrap { padding-block: clamp(56px, 8vw, 92px); position: relative; z-index: 2; text-align: center; }
.cta-band h2 { color: var(--band-text); font-size: clamp(2rem, 4.4vw, 4.2rem); max-width: 18ch; margin-inline: auto; }
.cta-band p { color: var(--band-sub); font-size: 1.12rem; margin: 18px auto 32px; max-width: 46ch; }
.cta-band .btn-primary { background: #fff8f1; color: var(--copper-deep); box-shadow: 0 14px 30px -14px rgba(0,0,0,.4); }
.cta-band .btn-primary:hover { background: #fff; }
[data-accent="discret"] .cta-band .btn-primary { background: var(--copper); color: #fff8f1; }
.cta-band .glow { position: absolute; inset: 0; background: radial-gradient(60% 100% at 50% 0%, rgba(255,255,255,.14), transparent 70%); z-index: 1; }

/* =========================================================================
   CONTACT / DEVIS
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); }
.contact-info p { color: var(--muted); margin-top: 16px; font-size: 1.06rem; }
.contact-list { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--copper-soft); color: var(--copper); display: grid; place-items: center; flex: none; }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list b { display: block; font-family: var(--font-display); color: var(--ink); font-weight: 600; }
.contact-list span { color: var(--muted); font-size: .96rem; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--copper); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--copper); background: var(--surface);
  box-shadow: 0 0 0 4px var(--copper-soft);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c2462f; box-shadow: 0 0 0 4px color-mix(in srgb, #c2462f 14%, transparent); }
.field .err { display: none; color: #c2462f; font-size: .82rem; margin-top: 6px; font-weight: 500; }
.field.invalid .err { display: block; }
.formule-badge {
  display: flex; align-items: center; gap: 8px;
  background: color-mix(in srgb, var(--copper) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--copper) 28%, transparent);
  color: var(--copper-deep, #a0451e);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: .93rem;
  font-weight: 500;
  margin-bottom: 20px;
  animation: fadeSlideIn .3s ease;
}
.formule-badge[hidden] { display: none; }
.formule-badge svg { flex-shrink: 0; color: var(--copper); }
.formule-badge strong { font-weight: 700; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot .privacy { color: var(--muted); font-size: .85rem; max-width: 32ch; }
.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success .sic { width: 64px; height: 64px; border-radius: 50%; background: var(--copper-soft); color: var(--copper); display: grid; place-items: center; margin: 0 auto 20px; }
.form-success .sic svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); }
form.sent .form-body { display: none; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--footer-bg); color: var(--footer-text); }
.site-footer .wrap { padding-block: 64px 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: var(--footer-text); margin-bottom: 16px; }
.footer-brand p { color: var(--footer-muted); font-size: .96rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--footer-muted); margin-bottom: 16px; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--footer-text); font-size: .97rem; transition: color .15s ease; }
.footer-col a:hover { color: var(--copper); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; color: var(--footer-muted); font-size: .88rem; }
.footer-bottom a { color: var(--footer-muted); }
.footer-bottom a:hover { color: var(--footer-text); }

/* =========================================================================
   RÉVÉLATION AU SCROLL
   ========================================================================= */
/* Révélation : montée douce. L'opacité reste à 1 → le contenu n'est JAMAIS
   invisible, même si une transition ne s'exécute pas (robustesse maximale). */
.reveal { transform: none; }
.js .reveal { transform: translateY(26px); opacity: .55; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .7s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.js .reveal.in { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .reveal { transform: none; opacity: 1; transition: none; } .hero-badge .pulse { animation: none; } }
/* Animations désactivables via Tweaks */
[data-reveal="off"] .js .reveal, [data-reveal="off"] .reveal { transform: none !important; opacity: 1 !important; transition: none !important; }
[data-reveal="off"] .hero-badge .pulse { animation: none !important; }

/* =========================================================================
   TÉMOIGNAGES ANIMÉS (stack + slide)
   ========================================================================= */

/* Layout 2 colonnes */
.testi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

/* Colonne gauche */
.testi-left h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); margin: 14px 0 16px; }
.testi-left p { color: var(--slate); line-height: 1.7; margin-bottom: 36px; }

/* Contrôles navigation */
.testi-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testi-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--slate);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
  flex-shrink: 0;
}
.testi-btn:hover {
  border-color: var(--copper);
  background: color-mix(in srgb, var(--copper) 8%, transparent);
  color: var(--copper);
}
.testi-dots {
  display: flex;
  gap: 8px;
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  border: none;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
  padding: 0;
}
.testi-dot.active {
  background: var(--copper);
  transform: scale(1.35);
}

/* Colonne droite — stack de cartes */
.testi-right { position: relative; }
.testi-stack {
  position: relative;
  min-height: 360px;
}

/* Décoration fond */
.testi-right::before {
  content: "";
  position: absolute;
  inset: -24px -24px -24px -24px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--copper) 5%, transparent);
  z-index: 0;
}

/* Cartes absolues — état inactif */
.testi-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(48px) scale(0.97);
  transition: opacity .5s ease-in-out, transform .5s ease-in-out;
  pointer-events: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
  z-index: 1;
}

/* Carte active */
.testi-card.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}

/* Grand guillemet décoratif */
.testi-bigquote {
  width: 32px; height: auto;
  color: var(--copper);
  opacity: .25;
  flex-shrink: 0;
}

/* Étoiles en unicode */
.testi-stars {
  font-size: 1.1rem;
  color: var(--copper);
  letter-spacing: 2px;
  line-height: 1;
}

.testi-quote {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--slate);
  flex: 1;
  margin: 0;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--av-color, var(--copper));
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  letter-spacing: .02em;
}
.testi-info strong { display: block; font-weight: 600; color: var(--ink); font-size: .97rem; }
.testi-info span { font-size: .85rem; color: var(--muted); }

/* =========================================================================
   FAQ
   ========================================================================= */

/* Encart fiscal sous les formules */
.tax-hint {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding: 16px 20px;
  background: color-mix(in srgb, var(--copper) 7%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--copper) 20%, transparent);
  border-radius: var(--radius);
  color: var(--slate);
  font-size: .93rem;
  line-height: 1.65;
}
.tax-hint svg { flex-shrink: 0; color: var(--copper); margin-top: 2px; }
.tax-hint p { margin: 0; }
.tax-hint strong { color: var(--ink); }

.faq-grid {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--copper) 35%, transparent);
  box-shadow: 0 4px 20px -8px color-mix(in srgb, var(--copper) 18%, transparent);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex-shrink: 0;
  position: relative;
  transition: border-color .2s ease, background .2s ease;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 0; margin: auto;
  background: var(--slate);
  border-radius: 2px;
  transition: transform .25s ease, background .2s ease;
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; }
.faq-item[open] .faq-icon {
  border-color: var(--copper);
  background: color-mix(in srgb, var(--copper) 10%, transparent);
}
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--copper); }
.faq-item[open] .faq-icon::after  { transform: rotate(90deg) scaleY(0); }

.faq-answer {
  padding: 0 24px 22px;
  border-top: 1px solid var(--line);
}
.faq-answer p {
  margin: 16px 0 0;
  color: var(--slate);
  line-height: 1.75;
  font-size: .98rem;
}

/* =========================================================================
   ROI / PREUVE SOCIALE
   ========================================================================= */

.roi-proof {
  background: var(--dark-bg);
  color: var(--dark-text);
  position: relative;
  box-shadow: inset 0 50px 60px -24px rgba(0,0,0,.12);
}
.roi-proof .section-head { max-width: 700px; }
.roi-proof .section-head h2 { color: var(--dark-text); }
.roi-proof .section-head p { color: var(--dark-muted); }
.roi-proof .eyebrow { color: var(--copper); }
.roi-proof .accent { color: var(--copper); }

/* Grille des 3 stats */
.roi-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.roi-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 32px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background .25s ease, border-color .25s ease;
}
.roi-stat:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}
.roi-stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--copper);
  letter-spacing: -.03em;
}
.roi-stat-label {
  color: var(--dark-muted);
  font-size: .97rem;
  line-height: 1.6;
  flex: 1;
}
.roi-stat-label strong { color: var(--dark-text); }
.roi-stat-source {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  font-style: italic;
  margin-top: 4px;
}

/* Bloc calcul ROI */
.roi-calc {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.roi-calc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.roi-calc-tag {
  display: inline-block;
  background: color-mix(in srgb, var(--copper) 20%, transparent);
  color: var(--copper);
  border: 1px solid color-mix(in srgb, var(--copper) 35%, transparent);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.roi-calc-title {
  color: var(--dark-text);
  font-weight: 600;
  font-size: 1rem;
}

/* Funnel horizontal */
.roi-funnel {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.roi-funnel-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 110px;
  background: rgba(255,255,255,.04);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
}
.roi-funnel-step.roi-funnel-result {
  background: color-mix(in srgb, var(--copper) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--copper) 30%, transparent);
}
.rf-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark-text);
  letter-spacing: -.02em;
  line-height: 1;
}
.roi-funnel-result .rf-num { color: var(--copper); font-size: 2rem; }
.rf-unit {
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark-text);
}
.rf-note {
  font-size: .77rem;
  color: rgba(255,255,255,.4);
}
.rf-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: rgba(255,255,255,.25);
}
.rf-arrow-accent { color: var(--copper); }

/* Barre de conclusion */
.roi-payback {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: color-mix(in srgb, var(--copper) 10%, transparent);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--dark-muted);
}
.roi-payback svg { flex-shrink: 0; color: var(--copper); }
.roi-payback strong { color: var(--dark-text); }

/* Transition douce vers la section suivante (sombre → clair) */
.roi-proof::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 22px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 2;
  pointer-events: none;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mockup { max-width: 520px; margin-inline: auto; }
  .browser { transform: none; }
  .why-grid { grid-template-columns: 1fr; }
  .offers-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .trades-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .roi-stats { grid-template-columns: 1fr; gap: 16px; }
  .roi-funnel { flex-direction: column; align-items: stretch; }
  .rf-arrow { transform: rotate(90deg); align-self: center; }
  .testi-layout { grid-template-columns: 1fr; }
  .testi-right::before { display: none; }
  .testi-stack { min-height: 300px; }
  .faq-grid { max-width: 100%; }
  /* Cercles décoratifs hero : réduire sur tablette */
  .hero .wrap::before { width: 420px; height: 420px; }
  .hero .wrap::after { width: 260px; height: 260px; }
}

@media (max-width: 720px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px var(--gutter) 24px;
    box-shadow: var(--shadow-lg);
  }
  .nav.open a { padding: 12px 14px; font-size: 1.05rem; }
  .nav.open > .btn { display: inline-flex; margin-top: 8px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .float-card { display: none !important; }
  body { font-size: 16px; }
  /* Performances mobile : supprimer les décos inutiles */
  .hero .wrap::before, .hero .wrap::after { display: none; }
  .cta-band::after { display: none; }
  .offers::before { display: none; }
  /* Hover transform sur les icônes : reset pour le touch */
  .feature:hover .fic { transform: none; }
  /* Section-head : centrer sur mobile */
  .section-head { max-width: 100%; }
  /* Boutons hero : pleine largeur */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 440px) {
  .trades-grid { grid-template-columns: 1fr; }
  /* Plans : padding réduit */
  .plan { padding: 28px 22px; }
  /* Steps : 1 colonne sur très petit écran */
  .steps-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   DYNAMISME & PROFONDEUR
   ========================================================================= */

/* --- Float cards : oscillation douce --- */
.float-card.tl { animation: floatA 5.5s ease-in-out infinite; }
.float-card.br { animation: floatB 6.8s ease-in-out infinite; }
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }

/* --- Feature cards : barre accent top au hover --- */
.feature { position: relative; }
.feature::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-deep));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0; transform: scaleX(0.3); transform-origin: left;
  transition: opacity .3s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.feature:hover::before { opacity: 1; transform: scaleX(1); }

/* --- Feature icône : couleur au hover --- */
.feature .fic { transition: background .28s ease, color .28s ease, transform .3s ease; }
.feature:hover .fic { background: var(--copper); color: #fff8f1; transform: scale(1.08) rotate(-4deg); }

/* --- Bouton primaire : sweep lumineux --- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.26) 50%, transparent 62%);
  transform: translateX(-130%); transition: transform .55s ease;
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(130%); }

/* --- Plan featured : fond dégradé subtil --- */
.plan.featured {
  background: linear-gradient(160deg,
    var(--surface) 0%,
    color-mix(in srgb, var(--copper-soft) 55%, var(--surface)) 100%);
}

/* --- Steps : hover lift --- */
.step { transition: transform .3s ease; }
.step:hover { transform: translateY(-6px); }
.step .step-num { transition: color .25s ease; }
.step:hover .step-num { color: var(--copper-deep); }

/* --- Trades : icône scale --- */
.trade .ti { transition: transform .25s ease, background .25s ease; }
.trade:hover .ti { transform: scale(1.14); background: color-mix(in srgb, var(--copper) 32%, transparent); }

/* --- Logo brand : rotation hover --- */
/* .brand .mark rules moved to .brand-logo above */

/* --- Hero : cercles décoratifs de profondeur --- */
.hero .wrap::before {
  content: ""; position: absolute;
  width: 720px; height: 720px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.05);
  top: -25%; right: -10%; z-index: 1; pointer-events: none;
}
.hero .wrap::after {
  content: ""; position: absolute;
  width: 440px; height: 440px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  top: 2%; right: -1%; z-index: 1; pointer-events: none;
}
[data-palette="clair"] .hero .wrap::before,
[data-palette="clair"] .hero .wrap::after { border-color: rgba(42,58,69,.06); }

/* --- Hero trust : séparateur haut --- */
.hero-trust { border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; margin-top: 28px !important; }

/* --- CTA band : fondu haut + anneau décoratif --- */
/* Le ::before masque la ligne de découpe avec la section trades */
.cta-band::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 140px;
  background: linear-gradient(to bottom, var(--dark-bg) 0%, transparent 100%);
  z-index: 3; pointer-events: none;
}
/* Le contenu doit rester au-dessus du masque */
.cta-band .wrap { z-index: 4; }
/* Le ::after apporte la profondeur circulaire */
.cta-band::after {
  content: ""; position: absolute;
  width: 860px; height: 860px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.05);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 1; pointer-events: none;
}

/* --- Offers : motif points en fond --- */
.offers { position: relative; }
.offers::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, var(--line-strong) 1px, transparent 1px);
  background-size: 36px 36px; opacity: .28; z-index: 0;
}
.offers .wrap { position: relative; z-index: 1; }

/* --- Mockup browser : hover redresse l'angle --- */
@media (min-width: 981px) {
  .mockup .browser { transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .55s ease; }
  .mockup .browser:hover {
    transform: perspective(1400px) rotateY(calc(var(--mock-rotate, -6deg) * 0.4)) rotateX(1deg) translateY(-10px);
    box-shadow: 0 70px 130px -40px rgba(0,0,0,.55);
  }
}

/* --- Section contact : fond dégradé léger --- */
#contact { background: linear-gradient(160deg, var(--bg) 0%, var(--surface-2) 100%); }

/* --- Form card : lueur focus --- */
.form-card { transition: box-shadow .3s ease; }
.form-card:focus-within {
  box-shadow: var(--shadow), 0 0 0 4px color-mix(in srgb, var(--copper) 12%, transparent);
}

/* --- Nav link : soulignement animé --- */
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute;
  bottom: 4px; left: 14px; right: 14px; height: 1.5px;
  background: var(--copper); border-radius: 2px;
  transform: scaleX(0); transform-origin: center;
  transition: transform .22s ease;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

/* --- Compteur : accentuation visuelle des chiffres animés --- */
.price .amount { display: inline-block; }

/* =========================================================================
   TRANSITIONS DOUCES ENTRE SECTIONS
   Règle : le gradient reste dans la zone de padding — il ne touche jamais
   au contenu (texte, cartes, formulaire).
   ========================================================================= */

/* Hero → Pourquoi : fondu en bas du hero + ombre interne sur la section claire */
.hero::after {
  content: ""; position: absolute;
  bottom: 0; left: 0; right: 0; height: 22px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 3; pointer-events: none;
}
#pourquoi {
  position: relative;
  box-shadow: inset 0 50px 60px -24px rgba(0,0,0,.10);
}

/* Pourquoi → ROI : fondu dans le padding bas de pourquoi */
#pourquoi::after {
  content: ""; position: absolute;
  bottom: 0; left: 0; right: 0; height: 22px;
  background: linear-gradient(to bottom, transparent, var(--dark-bg));
  z-index: 2; pointer-events: none;
}

/* Steps → Trades : fondu dans le padding bas de steps */
.steps { position: relative; }
.steps::after {
  content: ""; position: absolute;
  bottom: 0; left: 0; right: 0; height: 22px;
  background: linear-gradient(to bottom, transparent, var(--dark-bg));
  z-index: 2; pointer-events: none;
}

/* Trades → Testimonials : fondu sombre → clair */
.trades { position: relative; }
.trades::after {
  content: ""; position: absolute;
  bottom: 0; left: 0; right: 0; height: 22px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 2; pointer-events: none;
}

/* Testimonials → CTA band : fondu clair → sombre */
.testimonials { position: relative; }
.testimonials::after {
  content: ""; position: absolute;
  bottom: 0; left: 0; right: 0; height: 22px;
  background: linear-gradient(to bottom, transparent, var(--dark-bg));
  z-index: 2; pointer-events: none;
}

/* CTA band → FAQ : fondu sombre → clair */
.faq-section { position: relative; }
.faq-section::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 20px;
  background: linear-gradient(to bottom, var(--dark-bg), transparent);
  z-index: 2; pointer-events: none;
}

/* Contact : pas de transition sombre en haut (FAQ précède, les deux clairs) */
#contact { position: relative; }

/* Contact → Footer : fondu dans le padding bas */
#contact::after {
  content: ""; position: absolute;
  bottom: 0; left: 0; right: 0; height: 28px;
  background: linear-gradient(to bottom, transparent, var(--footer-bg));
  z-index: 2; pointer-events: none;
}

/* Réduction de mouvement : désactiver les nouvelles animations */
@media (prefers-reduced-motion: reduce) {
  .float-card.tl, .float-card.br { animation: none; }
  .feature::before { transition: none; }
  .feature .fic { transition: none; }
  .btn-primary::after { display: none; }
  .mockup .browser { transition: none; }
}
