:root {
  --aqua: #2ff0d0;
  --aqua-soft: #7ff6e2;
  --indigo: #6d7bff;
  --violet: #a56bff;
  --ink: #05071a;
  --ink-2: #080b26;
  --text: #eef1ff;
  --muted: #9aa2cf;
  --muted-2: #6b73a6;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.07);
  --glass-brd: rgba(255, 255, 255, 0.1);
  --border: rgba(130, 142, 220, 0.14);
  --border-aqua: rgba(47, 240, 208, 0.42);
  --radius: 16px;
  --radius-lg: 20px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --glow: 0 0 22px rgba(47, 240, 208, 0.18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }

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

/* Fond aurora + grille */
.bg-decor { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-decor::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, #070a20 0%, var(--ink) 55%);
}
.bg-decor::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(130, 142, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 142, 220, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(72% 50% at 50% 0%, #000 25%, transparent 78%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.3; }
.blob-1 { width: 620px; height: 620px; top: -240px; right: -120px; background: radial-gradient(circle, rgba(47, 240, 208, 0.55), transparent 70%); }
.blob-2 { width: 560px; height: 560px; top: 40px; left: -220px; background: radial-gradient(circle, rgba(109, 123, 255, 0.5), transparent 70%); }
.blob-3 { width: 640px; height: 640px; top: 900px; right: -180px; background: radial-gradient(circle, rgba(165, 107, 255, 0.4), transparent 70%); }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }

a { color: inherit; text-decoration: none; }
.accent {
  background: linear-gradient(100deg, var(--aqua), var(--aqua-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Verre */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(5, 7, 26, 0.6);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.3px; color: #fff; }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: var(--glow); }
.brand-logo { height: 26px; width: auto; display: block; }
.site-footer .brand-logo { height: 24px; }
.nav { display: flex; align-items: center; gap: 26px; }
/* Un libellé de nav ne se coupe jamais en deux lignes : on resserre la barre à la place. */
.nav a { color: var(--muted); font-weight: 500; font-size: 0.88rem; white-space: nowrap; transition: color 0.2s; }
.btn-nav { white-space: nowrap; }
.nav a:hover { color: var(--text); }
.nav a.btn-nav, .nav a.btn-nav:hover { color: var(--aqua-soft); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 0.88rem;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.14s ease, box-shadow 0.28s ease, background 0.25s, color 0.2s, border-color 0.2s;
}
.btn:active { transform: translateY(1px); }
/* État d'envoi : l'appel SMTP prend quelques secondes, le bouton doit le montrer. */
.btn:disabled { cursor: default; opacity: 0.75; }
.btn.loading { gap: 10px; }
.btn.loading::before {
  content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent;
  animation: btn-spin 0.7s linear infinite;
}
.btn:disabled:hover { transform: none; box-shadow: 0 8px 22px rgba(47, 240, 208, 0.22); }
@keyframes btn-spin { to { transform: rotate(360deg); } }
.btn-primary {
  color: #041014;
  background: linear-gradient(180deg, var(--aqua-soft), var(--aqua));
  box-shadow: 0 8px 22px rgba(47, 240, 208, 0.22);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(47, 240, 208, 0.3); }
.btn-ghost { color: var(--text); background: var(--glass-2); border-color: var(--glass-brd); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--border-aqua); }
.btn-nav { padding: 7px 15px; font-size: 0.8rem; font-weight: 600; color: var(--aqua-soft); background: transparent; border-color: var(--border-aqua); box-shadow: none; }
.btn-nav:hover { transform: none; background: rgba(47, 240, 208, 0.08); }

/* Hero */
.hero { padding: 92px 0 62px; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-brd);
  color: var(--aqua-soft); font-weight: 500; font-size: 0.76rem; letter-spacing: 0.4px;
  backdrop-filter: blur(10px);
}
.badge-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.badge-sep { color: var(--muted-2); }
.badge-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); box-shadow: var(--glow); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 { font-family: var(--display); font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.12; letter-spacing: -1px; font-weight: 700; margin: 24px 0 0; }
.lead { font-size: clamp(0.98rem, 1.3vw, 1.06rem); color: var(--muted); max-width: 620px; margin: 20px 0 0; }
.lead strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; list-style: none; margin: 28px 0 0; padding: 0; color: var(--muted-2); font-size: 0.84rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .i { color: var(--aqua); }

/* Dashboard showcase */
.showcase { position: relative; margin-top: 54px; }
.window {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}
.window-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.03); }
.window-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.window-url { margin-left: 14px; font-size: 0.8rem; color: var(--muted-2); }
.window-body { display: grid; grid-template-columns: 78px 1fr; min-height: 380px; text-align: left; }
.window-shot { display: block; width: 100%; height: auto; }

.mock-side { border-right: 1px solid var(--border); padding: 18px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; background: rgba(255,255,255,0.015); }
.mock-logo { width: 34px; height: 34px; border-radius: 10px; background: var(--glass-2); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.mock-nav { width: 40px; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.08); }
.mock-nav.short { width: 26px; }
.mock-nav.active { background: linear-gradient(90deg, var(--aqua), var(--aqua-soft)); width: 44px; }

.mock-main { padding: 24px 26px; display: flex; flex-direction: column; gap: 16px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; }
.mock-title { font-family: var(--display); font-weight: 700; margin: 0; font-size: 1.02rem; }
.mock-sub { margin: 2px 0 0; color: var(--muted-2); font-size: 0.82rem; }
.mock-pill { font-size: 0.74rem; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--glass); }

.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { padding: 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--border); }
.stat-label { display: block; font-size: 0.72rem; color: var(--muted-2); }
.stat-value { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 800; margin: 4px 0 2px; }
.stat-trend { font-size: 0.72rem; color: var(--muted); }
.stat-trend.up { color: var(--aqua); }

.mock-panel { padding: 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--border); }
.mock-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mock-panel-title { font-size: 0.8rem; color: var(--muted); }
.mock-legend { font-size: 0.72rem; color: var(--muted-2); display: inline-flex; align-items: center; gap: 6px; }
.mock-legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--aqua); }
.mock-chart { display: flex; align-items: flex-end; gap: 10px; height: 76px; }
.mock-chart span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--aqua), rgba(47, 240, 208, 0.15)); }

.mock-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--glass); border: 1px solid var(--border); }
.mock-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), var(--violet)); flex: none; }
.mock-avatar.alt { background: linear-gradient(135deg, var(--aqua), var(--indigo)); }
.mock-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.12); flex: 1; }
.mock-line.short { max-width: 55%; }
.mock-tag { font-size: 0.7rem; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.mock-tag.ok { color: var(--aqua); background: rgba(47, 240, 208, 0.12); border: 1px solid var(--border-aqua); }
.mock-tag.wait { color: #ffd27a; background: rgba(255, 210, 122, 0.1); border: 1px solid rgba(255, 210, 122, 0.3); }

/* Cartes flottantes en verre */
.glass-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(16, 20, 48, 0.72); border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow); backdrop-filter: blur(16px);
}
.fc-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; color: #041014; background: linear-gradient(180deg, var(--aqua-soft), var(--aqua)); font-size: 1.1rem; }
.fc-icon.alt { color: #fff; background: linear-gradient(135deg, var(--indigo), var(--violet)); }
.fc-title { margin: 0; font-size: 0.82rem; font-weight: 700; }
.fc-sub { margin: 1px 0 0; font-size: 0.72rem; color: var(--muted-2); }
.float-a { top: 64px; left: -18px; animation: floaty 5.5s ease-in-out infinite; }
.float-b { bottom: 40px; right: -14px; animation: floaty 6.5s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Bande de stats */
.stats-band { padding: 34px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { display: flex; flex-direction: column; gap: 3px; }
.vb-icon { width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  color: var(--aqua); background: rgba(47, 240, 208, 0.07); box-shadow: inset 0 0 0 1px var(--border-aqua); margin: 0 auto 9px; }
.vb-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vb-title { font-family: var(--display); font-weight: 600; font-size: 0.93rem; color: var(--text); }
.stat-txt { color: var(--muted-2); font-size: 0.82rem; }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker { text-align: center; text-transform: uppercase; letter-spacing: 2.5px; font-size: 0.7rem; font-weight: 600; margin: 0 0 12px; background: linear-gradient(100deg, var(--aqua), var(--aqua-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-title { font-family: var(--display); font-size: clamp(1.6rem, 2.8vw, 2.05rem); text-align: center; margin: 0 0 12px; letter-spacing: -0.4px; font-weight: 700; line-height: 1.2; }
.section-subtitle { text-align: center; color: var(--muted); max-width: 600px; margin: 0 auto 44px; font-size: 0.95rem; }

/* Comparaison */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.compare-card { position: relative; border-radius: var(--radius); padding: 26px 24px; background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(16px); }
.compare-after { background: rgba(47, 240, 208, 0.04); border-color: var(--border-aqua); box-shadow: 0 0 36px rgba(47, 240, 208, 0.07); }
.compare-label { text-transform: uppercase; letter-spacing: 2.5px; font-size: 0.74rem; font-weight: 700; color: var(--muted-2); margin: 0 0 24px; }
.compare-label-after { display: inline-flex; text-transform: uppercase; letter-spacing: 1px; font-size: 0.74rem; font-weight: 700; color: var(--aqua); margin: 0 0 24px; background: rgba(47, 240, 208, 0.12); border: 1px solid var(--border-aqua); padding: 7px 15px; border-radius: 999px; }
.compare-list { list-style: none; margin: 0; padding: 0; }
.compare-list li { padding: 11px 0; color: var(--muted); border-bottom: 1px solid rgba(130, 142, 220, 0.1); font-size: 0.92rem; }
.compare-list li:last-child { border-bottom: none; }
.compare-list-after li { color: var(--text); position: relative; padding-left: 32px; }
.compare-list-after li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; background: rgba(47, 240, 208, 0.15); box-shadow: inset 0 0 0 1px var(--border-aqua); }
.compare-list-after li::after { content: ""; position: absolute; left: 6px; top: calc(50% - 4px); width: 8px; height: 4.5px; border-left: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua); transform: rotate(-45deg); }
.compare-arrow { display: flex; align-items: center; justify-content: center; color: var(--aqua); }
.compare-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(47, 240, 208, 0.35)); }

/* Grilles */
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-modules { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid-avail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-soon { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 940px) { .grid-avail, .grid-soon { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-avail, .grid-soon { grid-template-columns: 1fr; } }

/* Libellés de groupe de modules */
.modules-label { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); }
.modules-label.soon { margin-top: 40px; color: var(--muted-2); }
.ml-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.ml-dot.avail { background: var(--aqua); box-shadow: var(--glow); }
.modules-note { text-align: center; color: var(--muted-2); font-size: 0.9rem; margin: 26px 0 0; font-style: italic; }

.card { --hue-rgb: 47, 240, 208; position: relative; border-radius: var(--radius); padding: 24px 22px; background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(16px); transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease; }
.card.hue-violet { --hue-rgb: 165, 107, 255; }
.card.hue-blue   { --hue-rgb: 109, 123, 255; }
.card.hue-amber  { --hue-rgb: 255, 199, 106; }
.card.hue-pink   { --hue-rgb: 255, 122, 184; }
.card.hue-sky    { --hue-rgb: 94, 200, 255; }
.card.hue-green  { --hue-rgb: 125, 240, 160; }
.card::before { content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--hue-rgb), 0.55), transparent); opacity: 0; transition: opacity 0.28s ease; }
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-3px); border-color: rgba(var(--hue-rgb), 0.35); box-shadow: var(--shadow), 0 0 26px rgba(var(--hue-rgb), 0.08); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; color: rgb(var(--hue-rgb)); background: rgba(var(--hue-rgb), 0.1); border: 1px solid rgba(var(--hue-rgb), 0.3); }
.card-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--display); margin: 0 0 7px; font-size: 0.98rem; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* Badge de module */
.card-badge {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.5px; padding: 5px 11px; border-radius: 999px;
  color: var(--aqua); background: rgba(47, 240, 208, 0.12); border: 1px solid var(--border-aqua);
}
.card-badge.soon { color: var(--muted); background: rgba(255,255,255,0.05); border-color: var(--glass-brd); }

/* Module à venir - style désactivé */
.card-soon { opacity: 0.7; filter: saturate(0.8); }
.card-soon:hover { opacity: 1; transform: translateY(-3px); filter: saturate(1); }

/* Bénéfices */
.benefit { position: relative; border-radius: var(--radius); padding: 26px 24px; background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(16px); transition: transform 0.28s ease, border-color 0.28s ease; }
.benefit:hover { transform: translateY(-3px); border-color: var(--border-aqua); }
.benefit-num { display: block; font-family: var(--display); font-size: 1.8rem; font-weight: 700; line-height: 1; margin-bottom: 12px; background: linear-gradient(180deg, var(--aqua-soft), var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.benefit h3 { font-family: var(--display); margin: 0 0 7px; font-size: 1rem; font-weight: 600; }
.benefit p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Profils */
.profils-card { max-width: 840px; margin: 0 auto; border-radius: var(--radius); padding: 8px 32px; }
.profils-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; }
.profils-list li { display: flex; align-items: flex-start; gap: 12px; padding: 17px 0; color: var(--text); font-size: 0.93rem; border-bottom: 1px solid rgba(130, 142, 220, 0.1); }
.profils-list li:nth-last-child(-n+2) { border-bottom: none; }
.profils-list .i { flex: none; margin-top: 3px; color: var(--aqua); width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(47, 240, 208, 0.12); box-shadow: inset 0 0 0 1px var(--border-aqua); }

/* Bandeau CTA intermédiaire */
.cta-band { text-align: center; padding: 18px 0 0; }
.cta-band .cta-line { font-family: var(--display); font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 600; margin: 0 0 8px; letter-spacing: -0.3px; }
.cta-band .cta-sub { color: var(--muted); font-size: 0.92rem; margin: 0 0 22px; }

/* Éditeur (ITRAS) */
.editor { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; border-radius: var(--radius-lg); padding: 42px; }
.editor .kicker, .editor .section-title { text-align: left; }
.editor .section-title { margin: 0 0 14px; }
.editor > div > p { color: var(--muted); margin: 0 0 20px; font-size: 0.96rem; line-height: 1.6; }
.editor-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.editor-points li { display: flex; align-items: flex-start; gap: 11px; color: var(--text); font-size: 0.92rem; }
.editor-points .i { flex: none; color: var(--aqua); width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(47,240,208,0.1); box-shadow: inset 0 0 0 1px var(--border-aqua); margin-top: 2px; }
.editor-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; }
.itras-logo { display: block; width: 100%; max-width: 240px; height: auto; }
.editor-tagline { color: var(--muted); font-size: 0.86rem; }
.editor-flag { display: inline-flex; align-items: center; gap: 7px; color: var(--aqua-soft); font-size: 0.78rem; font-weight: 500; padding: 6px 13px; border-radius: 999px; background: rgba(47,240,208,0.07); border: 1px solid var(--border-aqua); }
@media (max-width: 780px) { .editor { grid-template-columns: 1fr; gap: 26px; padding: 30px 26px; } .editor .kicker, .editor .section-title { text-align: center; } .editor-points { max-width: 440px; margin: 0 auto; } }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(12px); overflow: hidden; transition: border-color 0.2s; }
.faq-item[open] { border-color: var(--border-aqua); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-family: var(--display); font-weight: 600; font-size: 0.94rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 14px; height: 14px; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--aqua); border-radius: 2px; transition: transform 0.25s ease; }
.faq-plus::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-plus::after { top: 0; left: 6px; width: 2px; height: 14px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 0.9rem; }

/* Contact */
.contact-panel { border-radius: var(--radius-lg); padding: 48px 40px; display: flex; flex-direction: column; gap: 38px; box-shadow: var(--shadow); }
.contact-intro { text-align: center; }
.contact-intro .section-title { margin-bottom: 12px; }
.contact-intro .section-subtitle { margin: 0 auto 22px; }
.contact-ways { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
.contact-way { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 0.9rem;
  color: var(--text); padding: 10px 20px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--glass-brd);
  transition: border-color 0.2s, transform 0.15s; }
.contact-way .i { color: var(--aqua); }
.contact-way:hover { border-color: var(--border-aqua); transform: translateY(-1px); }
.scarcity { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; color: var(--muted-2); font-size: 0.82rem; font-weight: 500; }
.scarcity .i { color: var(--aqua); }
.contact-mail { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: #041014; background: linear-gradient(180deg, var(--aqua-soft), var(--aqua)); padding: 10px 20px; border-radius: 999px; box-shadow: 0 8px 22px rgba(47, 240, 208, 0.22); transition: transform 0.15s ease, box-shadow 0.25s; }
.contact-mail:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(47, 240, 208, 0.3); }
.contact-form { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 640px; margin: 0 auto; }
.field { margin: 0; }
.field label, .mods-label { display: block; font-weight: 500; font-size: 0.76rem; letter-spacing: 0.02em; margin-bottom: 8px; color: var(--muted-2); }
.field .req { color: var(--aqua); opacity: 0.55; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; font-family: inherit; font-size: 0.9rem; line-height: 1.4; color: var(--text);
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(154, 162, 207, 0.42); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.045); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: rgba(47, 240, 208, 0.55);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(47, 240, 208, 0.09);
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
/* Retire les flèches natives du champ numérique (Année de création) */
.field input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.field input[type="number"]::-webkit-outer-spin-button,
.field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b73a6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 13px; }
.field select:invalid { color: rgba(154, 162, 207, 0.42); }
.field select option { background: #12183a; color: #eef1ff; }
.field select option:disabled { color: #6b73a6; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Étapes de participation */
.how-steps { list-style: none; max-width: 470px; margin: 0 auto 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.how-steps li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.step-n { flex: none; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 0.7rem; font-weight: 600; color: var(--aqua);
  background: rgba(47, 240, 208, 0.08); box-shadow: inset 0 0 0 1px var(--border-aqua); margin-top: 2px; }

/* Cases à cocher modules (chips) */
.mod-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mod-chip { position: relative; }
.mod-chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mod-chip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.028); color: var(--muted); font-size: 0.78rem;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease; }
.mod-chip span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.4; transition: opacity 0.18s ease, box-shadow 0.18s ease; }
.mod-chip:hover span { border-color: rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.045); color: var(--text); }
.mod-chip input:checked + span { color: var(--aqua-soft); border-color: var(--border-aqua); background: rgba(47, 240, 208, 0.07); }
.mod-chip input:checked + span::before { background: var(--aqua); opacity: 1; box-shadow: 0 0 6px rgba(47, 240, 208, 0.7); }
.mod-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(47, 240, 208, 0.09); }
.contact-form .btn { width: 100%; margin-top: 4px; }
.form-note { margin: 4px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center; color: var(--muted-2); font-size: 0.78rem; line-height: 1.5;
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.form-note .i { color: var(--aqua); flex: none; opacity: 0.75; }
.form-status { margin: 0; font-size: 0.88rem; min-height: 1.2em; text-align: center; }
.form-status.success { color: var(--aqua); }
.form-status.error { color: #ff7a90; }

/* Modale de confirmation */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(3, 5, 18, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: modal-fade 0.25s ease both; }
.modal-card { position: relative; width: 100%; max-width: 420px; text-align: center; padding: 40px 34px 32px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow), 0 0 60px rgba(47, 240, 208, 0.08);
  background: linear-gradient(180deg, rgba(20, 26, 62, 0.96), rgba(8, 11, 38, 0.96));
  animation: modal-rise 0.32s cubic-bezier(0.22, 1, 0.36, 1) both; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 9px; background: transparent; color: var(--muted-2); font-size: 1rem; cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease; }
.modal-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.modal-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 20px;
  border-radius: 50%; font-size: 1.5rem; color: var(--aqua);
  background: rgba(47, 240, 208, 0.1); box-shadow: inset 0 0 0 1px var(--border-aqua), 0 0 24px rgba(47, 240, 208, 0.18); }
.modal-title { font-family: var(--display); font-size: 1.25rem; font-weight: 600; margin: 0 0 10px; }
.modal-text { margin: 0 0 26px; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.modal-btn { width: 100%; }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-rise { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .modal-overlay, .modal-card { animation: none; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; margin-bottom: 30px; }
.footer-brandcol .brand { margin-bottom: 12px; }
.footer-tag { color: var(--muted-2); font-size: 0.85rem; max-width: 280px; line-height: 1.65; }
.footer-col h4 { font-family: var(--display); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin: 0 0 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--muted-2); font-size: 0.88rem; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; color: var(--muted); background: var(--glass-2); border: 1px solid var(--glass-brd); transition: color 0.2s, border-color 0.2s, transform 0.15s; }
.footer-social a:hover { color: var(--aqua); border-color: var(--border-aqua); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-copy { color: var(--muted-2); font-size: 0.85rem; }
.footer-made { color: var(--muted-2); font-size: 0.85rem; display: inline-flex; align-items: center; gap: 7px; }
.footer-made b { color: var(--aqua-soft); font-weight: 600; }
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 26px; } .footer-brandcol { grid-column: 1 / -1; } }

/* Responsive */
@media (max-width: 940px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .compare { grid-template-columns: 1fr; }
  /* Les colonnes passent l'une sous l'autre : la flèche doit pointer vers le bas.
     On tourne le SVG et non le conteneur, dont le transform est repris par
     l'animation de révélation (.reveal.is-visible { transform: none }). */
  .compare-arrow { padding: 8px 0; }
  .compare-arrow svg { transform: rotate(90deg); }
  .contact-panel { grid-template-columns: 1fr; gap: 34px; padding: 34px; }
  .glass-card { display: none; }
}
@media (max-width: 940px) {
  .window { border-radius: 12px; }
}
/* Largeurs intermédiaires : la barre de nav se resserre progressivement plutôt
   que de laisser « Qui sommes-nous » ou « Devenir partenaire » passer sur 2 lignes. */
@media (max-width: 900px) {
  .nav { gap: 18px; }
  .nav a { font-size: 0.82rem; }
  .btn-nav { padding: 7px 13px; }
}
@media (max-width: 780px) {
  .nav { gap: 14px; }
  .nav a { font-size: 0.78rem; }
  .nav a[href="#faq"] { display: none; }
}
@media (max-width: 680px) {
  .nav a:not(.btn-nav) { display: none; }
}
@media (max-width: 640px) {
  .window { border-radius: 8px; }
  .window-body { grid-template-columns: 1fr; }
  .mock-side { flex-direction: row; justify-content: flex-start; border-right: none; border-bottom: 1px solid var(--border); padding: 12px 16px; }
  .mock-stats { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  .nav a:not(.btn-nav) { display: none; }
  .hero { padding: 74px 0 40px; }
  /* La pilule unique déborde et casse le texte sur 2 lignes : on la dissout en
     pastilles autonomes qui s'enroulent proprement. */
  .badge {
    flex-wrap: wrap; justify-content: center; gap: 8px;
    padding: 0; background: transparent; border: 0; backdrop-filter: none;
  }
  /* Séparateurs et pastille aqua n'ont plus lieu d'être une fois les mentions autonomes. */
  .badge-sep, .badge-dot { display: none; }
  .badge-item {
    padding: 6px 12px; border-radius: 999px;
    background: var(--glass); border: 1px solid var(--glass-brd);
    backdrop-filter: blur(10px);
  }
  .section { padding: 70px 0; }
  .hero-trust { gap: 16px; }
  .profils-card { padding: 8px 24px; }
  .profils-list { grid-template-columns: 1fr; gap: 0; }
  .profils-list li:nth-last-child(-n+2) { border-bottom: 1px solid rgba(130, 142, 220, 0.1); }
  .profils-list li:last-child { border-bottom: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}

/* ============================================================
   Animations (portées depuis la maquette landing)
   ============================================================ */

/* Révélation au défilement — fondu + léger glissement, rejouée à chaque passage */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Header — ombre douce dès qu'on défile */
.site-header { transition: box-shadow 0.3s ease, background 0.3s ease; }
.site-header.scrolled { background: rgba(5, 7, 26, 0.8); box-shadow: 0 12px 34px -14px rgba(0, 0, 0, 0.6); }

/* Accroche du hero — dégradé qui respire lentement */
.hero h1 .accent { background-size: 220% 100%; animation: sheen 7s ease-in-out infinite; }
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Bouton principal — reflet léger au survol */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg); opacity: 0; pointer-events: none;
}
.btn-primary:hover::after { opacity: 1; animation: shine 0.85s ease; }
@keyframes shine { from { left: -70%; } to { left: 140%; } }

/* Icônes de module — léger zoom au survol de la carte */
.card-icon { transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
.card:hover .card-icon { transform: translateY(-2px) scale(1.06); }

/* Titres de rubrique — petit trait d'accent qui se trace sous le sur-titre */
.kicker { position: relative; }
.kicker::after {
  content: ""; display: block; width: 30px; height: 2px; margin: 9px auto 0;
  border-radius: 2px; background: linear-gradient(90deg, var(--aqua), var(--aqua-soft));
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}
.kicker.is-visible::after { transform: scaleX(1); }
.editor .kicker::after { margin-left: 0; transform-origin: left; }

/* Titres de rubrique — les mots accentués respirent doucement */
.section-title .accent, .cta-line .accent { background-size: 220% 100%; animation: sheen 7s ease-in-out infinite; }

/* Titre de rubrique — entrée marquée : arrive flou et décalé, puis se pose net */
.section-title.reveal {
  transform: translateY(38px) scale(0.94);
  filter: blur(9px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-title.reveal.is-visible { transform: none; filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .section-title.reveal { filter: none !important; transform: none !important; }
  .kicker::after { transform: scaleX(1) !important; transition: none !important; }
  .site-header.scrolled { box-shadow: none; }
  .card:hover .card-icon { transform: none; }
}

/* ============================================================
   Navigation verticale (points de section)
   ============================================================ */
section[id] { scroll-margin-top: 84px; }

.dotnav {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 45; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 12px 0;
}
.dotnav a { position: relative; z-index: 1; display: grid; place-items: center; width: 16px; height: 16px; }
.dotnav .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--ink-2);
  box-shadow: inset 0 0 0 1.5px var(--muted-2);
  transition: box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.dotnav a:hover .dot { box-shadow: inset 0 0 0 1.5px var(--aqua); transform: scale(1.15); }
.dotnav a.active .dot {
  background: var(--aqua); box-shadow: 0 0 0 1.5px var(--aqua), 0 0 10px rgba(47, 240, 208, 0.6);
  transform: scale(1.18);
}
.dotnav .label {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%) translateX(6px);
  white-space: nowrap; font-family: var(--display); font-size: 0.72rem; font-weight: 600;
  color: var(--text); background: rgba(16, 20, 48, 0.82); border: 1px solid var(--glass-brd);
  padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
/* Section courante — libellé discret affiché en permanence */
.dotnav a.active .label {
  opacity: 1; transform: translateY(-50%) translateX(0);
  background: transparent; border-color: transparent; backdrop-filter: none;
  box-shadow: none; color: var(--muted-2); font-weight: 500; letter-spacing: 0.3px;
}
/* Survol — pastille pleine (prioritaire) */
.dotnav a:hover .label {
  opacity: 1; transform: translateY(-50%) translateX(0);
  background: rgba(16, 20, 48, 0.82); border-color: var(--glass-brd); backdrop-filter: blur(8px);
  color: var(--text); font-weight: 600;
}
@media (max-width: 1180px) { .dotnav { display: none; } }

.text-justified {
  text-align: justify;
}