/* ─── HimaTest — site public · direction « clair éditorial » ─────────────────
   Feuille commune à toutes les pages publiques (landing, contact, enterprise,
   modules). Rose de marque réservé aux appels à l'action et aux accents ;
   rouge / vert / ambre réservés au sens (NO GO, GO, alerte). */

:root {
  --brand: #e91e63;
  --brand-hover: #d81b60;
  --brand-soft: #fdf2f7;
  --brand-ring: rgba(233, 30, 99, .18);

  --ink: #0b1220;
  --ink-2: #1e293b;
  --text: #334155;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e8eaf0;
  --line-2: #f0f2f6;
  --soft: #f7f8fa;
  --paper: #ffffff;

  --ok: #059669;
  --warn: #d97706;
  --ko: #dc2626;

  --radius: 12px;
  --radius-lg: 18px;
  --container: 1180px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-md: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 28px -10px rgba(15, 23, 42, .12);
  --shadow-xl: 0 1px 1px rgba(15, 23, 42, .04), 0 28px 70px -18px rgba(15, 23, 42, .22), 0 10px 20px -10px rgba(15, 23, 42, .10);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Poppins', 'Inter', system-ui, sans-serif;
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-soft); color: var(--ink); }

h1, h2, h3, h4 { color: var(--ink); font-weight: 600; }
h1, h2 { font-family: var(--display); letter-spacing: -.03em; line-height: 1.08; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.tnum { font-variant-numeric: tabular-nums; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Boutons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px;
  border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn svg { width: 16px; height: 16px; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(233, 30, 99, .25), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: #d5d9e2; background: var(--soft); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: var(--soft); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e293b; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ── En-tête ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
/* le PNG du logo a beaucoup de marge interne : 60 px de haut ≈ 120 px de logo visible */
.brand img { height: 60px; width: auto; margin-block: -8px; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-links > a, .nav-dd-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--text);
  background: none; border: 0; cursor: pointer;
  transition: color .15s, background-color .15s;
}
.nav-links > a:hover, .nav-dd-toggle:hover, .nav-item.open .nav-dd-toggle { color: var(--ink); background: var(--soft); }
.nav-caret { width: 14px; height: 14px; transition: transform .2s; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }

/* Méga-menu Modules */
.nav-item { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 10px); left: -12px;
  width: 720px; padding: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-xl);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-item:hover .dropdown-panel, .nav-item.open .dropdown-panel {
  opacity: 1; visibility: visible; transform: none;
}
.nav-item:hover .nav-caret, .nav-item.open .nav-caret { transform: rotate(180deg); }
.dropdown-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.dropdown-title { padding: 10px 12px 6px; font-size: 12px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.dropdown-link { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.dropdown-link:hover { background: var(--soft); color: var(--ink); }
.dd-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); flex-shrink: 0; }
.dd-ico svg { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dropdown-link:hover .dd-ico svg { stroke: var(--brand); }
.dropdown-more { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 12px 14px; border-radius: 10px; background: var(--soft); font-size: 14px; font-weight: 600; color: var(--ink); }
.dropdown-more svg { width: 16px; height: 16px; }
.dropdown-more:hover { color: var(--brand); }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section { padding: clamp(80px, 10vw, 128px) 0; }
.section-soft { background: var(--soft); border-block: 1px solid var(--line-2); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 48px); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 6px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper);
  font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.eyebrow b { padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(64px, 9vw, 112px) 0 0; overflow: hidden; isolation: isolate; }
.hero::before {
  /* grille éditoriale discrète, fondue vers le bas */
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero::after {
  content: ''; position: absolute; z-index: -1; left: 50%; top: 38%;
  width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(233, 30, 99, .10), transparent);
  filter: blur(20px);
}
.hero-copy { text-align: center; max-width: 860px; margin-inline: auto; }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 6.2vw, 72px); letter-spacing: -.04em; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { max-width: 640px; margin: 22px auto 0; font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 15px; height: 15px; stroke: var(--ok); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-visual { margin-top: 64px; }

/* Capture produit dans un cadre navigateur (la barre du navigateur d'origine est rognée) */
.shot {
  position: relative; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--line);
  background: var(--paper); box-shadow: var(--shadow-xl);
}
.shot-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line-2); background: #fbfbfc; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e6ec; }
.shot-url { margin-inline: auto; padding: 3px 14px; border-radius: 6px; background: var(--soft); font-size: 12px; color: var(--faint); }
/* Les captures (3000×1904) contiennent la barre du navigateur (174 px = 5,8 % de la largeur) : on la rogne */
.shot-view { overflow: hidden; aspect-ratio: 3000 / 1730; }
.shot-view img { width: 100%; margin-top: -5.8%; }
.hero-visual .shot { border-radius: 16px 16px 0 0; border-bottom: 0; }
.hero-visual .shot-view {
  aspect-ratio: 3000 / 1350;
  -webkit-mask-image: linear-gradient(#000 72%, transparent);
  mask-image: linear-gradient(#000 72%, transparent);
}

/* ── Bandeau de valeurs ───────────────────────────────────────────────────── */
.values { border-block: 1px solid var(--line); background: var(--paper); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value { padding: 30px 24px; border-left: 1px solid var(--line); }
.value:first-child { border-left: 0; }
.value b { display: block; font-family: var(--display); font-size: 32px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.value span { font-size: 15px; color: var(--muted); }

/* ── Fonctionnalités ─────────────────────────────────────────────────────── */
.features { display: grid; gap: clamp(72px, 9vw, 120px); }
.feature { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.feature.reverse { grid-template-columns: 7fr 5fr; }
.feature.reverse .feature-text { order: 2; }
.feature-text h3 { margin-top: 12px; font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.025em; line-height: 1.15; font-weight: 600; }
.feature-text p { margin-top: 14px; color: var(--muted); }
.feature-points { list-style: none; display: grid; gap: 10px; margin: 22px 0 26px; }
.feature-points li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.feature-points svg { flex-shrink: 0; margin-top: 3px; width: 17px; height: 17px; stroke: var(--brand); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.feature-media { padding: clamp(14px, 2.4vw, 28px); border-radius: 22px; background: linear-gradient(160deg, var(--soft), #eef0f5); border: 1px solid var(--line-2); }
.feature-media .shot { box-shadow: var(--shadow-md); border-radius: 10px; }

/* ── Étapes ───────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.step { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.step-num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; }
.step h3 { margin-top: 20px; }
.step p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ── Comparatif ──────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line-2); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-2); font-weight: 500; }
.compare thead th { font-size: 14px; font-weight: 600; color: var(--muted); background: #fbfbfc; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .hima { background: rgba(233, 30, 99, .035); }
.compare thead .hima { color: var(--brand); background: var(--brand-soft); }
.yes, .no { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.yes { background: #e7f6ef; } .yes svg { stroke: var(--ok); }
.no  { background: var(--soft); } .no svg { stroke: var(--faint); }
.yes svg, .no svg { width: 13px; height: 13px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.partial { font-size: 13px; color: var(--muted); }
.table-note { margin-top: 14px; font-size: 13px; color: var(--faint); text-align: center; }

/* ── Témoignages ─────────────────────────────────────────────────────────── */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { display: flex; flex-direction: column; gap: 24px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.quote blockquote { font-size: 18px; line-height: 1.55; color: var(--ink-2); letter-spacing: -.005em; }
.quote blockquote::before { content: '“'; display: block; height: 34px; font-family: Georgia, 'Times New Roman', serif; font-size: 64px; line-height: 1; color: var(--brand); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-2); }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.quote cite { font-style: normal; font-weight: 600; color: var(--ink); font-size: 15px; display: block; }
.quote figcaption span { font-size: 14px; color: var(--muted); }

/* ── Tarifs ──────────────────────────────────────────────────────────────── */
.billing-toggle { display: inline-flex; margin: 0 auto 40px; padding: 4px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.billing-toggle button { padding: 8px 16px; border: 0; border-radius: 9px; background: none; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.billing-toggle em { font-style: normal; color: var(--ok); margin-left: 4px; }
.pricing-center { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.plan:hover { border-color: #d5d9e2; box-shadow: var(--shadow-md); }
.plan.featured { border: 1.5px solid var(--ink); box-shadow: var(--shadow-md); }
.plan-badge { position: absolute; top: -12px; left: 24px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.plan h3 { font-size: 18px; }
.plan-for { margin-top: 4px; font-size: 14px; color: var(--muted); min-height: 46px; }
.plan-price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.plan-price b { font-family: var(--display); font-size: 34px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.plan-price span { font-size: 14px; color: var(--muted); }
.plan-note { margin-top: 6px; font-size: 13px; color: var(--muted); min-height: 20px; }
.plan .btn { margin-top: 22px; width: 100%; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.plan li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-2); }
.plan li svg { flex-shrink: 0; margin-top: 3px; width: 15px; height: 15px; stroke: var(--ok); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.plan-details { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); text-align: left; }
.plan-details summary { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.plan-details summary::-webkit-details-marker { display: none; }
.plan-details summary svg { width: 16px; height: 16px; transition: transform .2s; }
.plan-details[open] summary svg { transform: rotate(180deg); }
.plan-details .table-wrap { border: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: none; }
.compare .group td { padding-top: 22px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); background: none; }
.fine-print { margin-top: 18px; font-size: 13px; color: var(--faint); text-align: center; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 2; stroke-linecap: round; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px; max-width: 700px; color: var(--muted); }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: start; }
.contact-panel { padding: 32px; border-radius: var(--radius-lg); background: var(--soft); border: 1px solid var(--line-2); }
.contact-panel h3 { font-family: var(--display); font-size: 24px; letter-spacing: -.02em; }
.contact-panel > p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.contact-list { list-style: none; display: grid; gap: 12px; margin-top: 24px; font-size: 15px; }
.contact-list li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.contact-list svg { width: 17px; height: 17px; stroke: var(--brand); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a:hover { color: var(--brand); }
.mission { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.mission p { font-size: 15px; color: var(--muted); margin: 8px 0 16px; }
.mission strong { color: var(--ink); }

.form-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); font-size: 15px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; margin-top: 20px; }
.form-note { margin-top: 12px; font-size: 13px; color: var(--faint); text-align: center; }
.form-status { margin-top: 12px; font-size: 14px; text-align: center; min-height: 1px; }
.form-status.success { color: var(--ok); }
.form-status.error { color: var(--ko); }

/* Brief mission QA (dialog natif : Échap, focus et fond gérés par le navigateur) */
.dialog { width: min(560px, 100% - 32px); margin: auto; padding: 0; border: 0; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-xl); color: var(--text); }
.dialog::backdrop { background: rgba(11, 18, 32, .45); backdrop-filter: blur(4px); }
.dialog[open] { animation: dialog-in .18s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.dialog-head { padding: 28px 28px 0; }
.dialog-head h3 { font-family: var(--display); font-size: 22px; margin-top: 8px; }
.dialog-head p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.dialog-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer; }
.dialog-close:hover { background: var(--soft); color: var(--ink); }
.dialog-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.wizard-progress { display: flex; gap: 6px; padding: 20px 28px 0; }
.wizard-progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background-color .2s; }
.wizard-progress span.done { background: var(--brand); }
.wizard-body { display: grid; gap: 14px; padding: 20px 28px; }
.wizard-step { display: none; gap: 14px; }
.wizard-step.active { display: grid; }
.summary-title { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.summary { white-space: pre-wrap; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); font-size: 14px; color: var(--ink-2); }
.wizard-foot { display: flex; justify-content: space-between; gap: 10px; padding: 16px 28px 24px; border-top: 1px solid var(--line-2); }
.wizard-foot .form-status { margin: 0; align-self: center; text-align: left; flex: 1; }

/* ── Appel final (seul bloc sombre de la page) ───────────────────────────── */
.cta-final { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 120px) 0; background: var(--ink); color: #cbd5e1; text-align: center; isolation: isolate; }
.cta-final::before { content: ''; position: absolute; inset: auto 0 -40% 0; height: 90%; z-index: -1; background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(233, 30, 99, .35), transparent 70%); }
.cta-final h2 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); max-width: 800px; margin-inline: auto; }
.cta-final p { max-width: 600px; margin: 18px auto 0; font-size: 18px; }
.cta-final .hero-actions .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .22); box-shadow: none; }
.cta-final .hero-actions .btn-secondary:hover { background: rgba(255, 255, 255, .08); }
.cta-final .cta-note { max-width: none; margin-top: 20px; font-size: 14px; color: #94a3b8; }

/* ── Pied de page ────────────────────────────────────────────────────────── */
.site-footer { padding: 64px 0 32px; background: var(--paper); border-top: 1px solid var(--line); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; }
.footer-brand img { height: 60px; width: auto; margin: -10px 0 -6px -6px; }
.footer-brand p { margin-top: 12px; max-width: 300px; color: var(--muted); font-size: 14px; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.footer-col a { display: block; padding: 4px 0; color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* ── Retour en haut (identique au bouton des pages React) ─────────────────── */
.scroll-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 6px 20px rgba(233, 30, 99, .3); cursor: pointer; transition: background .2s; }
.scroll-top[hidden] { display: none; }
.scroll-top:hover { background: var(--brand-hover); }
.scroll-top:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 2px; }
.scroll-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── Apparition au défilement (uniquement sous la ligne de flottaison) ───── */
.reveal-ready [data-reveal]:not(.revealed) { opacity: 0; transform: translateY(14px); }
[data-reveal] { transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready [data-reveal]:not(.revealed) { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-text { order: 0; }
  .steps, .quotes { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(3) { border-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .nav { gap: 12px; }
  .nav-toggle {
    display: grid; place-items: center; width: 42px; height: 42px; margin-left: auto;
    border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer;
  }
  .nav-toggle svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }
  .nav-toggle .i-close { display: none; }
  .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .nav-links, .nav-actions { display: none; }
  .nav-open .nav-links, .nav-open .nav-actions {
    display: flex; position: absolute; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 24px;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .nav-open .nav-links { top: 68px; max-height: calc(100vh - 140px); overflow-y: auto; }
  .nav-open .nav-actions { top: auto; position: fixed; bottom: 0; flex-direction: row; box-shadow: 0 -8px 24px rgba(15, 23, 42, .08); }
  .nav-open .nav-actions .btn { flex: 1; }
  .nav-links > a, .nav-dd-toggle { width: 100%; justify-content: space-between; padding: 12px; }
  .dropdown-panel { position: static; width: auto; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px; }
  .nav-item.open .dropdown-panel { display: block; }
  .nav-item:hover .dropdown-panel { display: none; }
  .nav-item.open:hover .dropdown-panel { display: block; }
  .dropdown-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(var(--container), 100% - 32px); }
  .plans { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .form-card, .contact-panel { padding: 22px; }
}
