/* Police auto-hébergée : aucune requête vers un service tiers (RGPD). */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue-50: #eef4ff;
  --blue-100: #dbe7ff;
  --blue-200: #bcd2ff;
  --blue-500: #2563eb;
  --blue-600: #1d4ed8;
  --blue-700: #173ea8;
  --blue-900: #0b2358;
  --green-50: #e8fbf3;
  --green-500: #10b981;
  --green-600: #059669;
  --ink: #0b1b33;
  --muted: #5d6b83;
  --line: #e3e9f3;
  --bg: #f7f9fd;
  --white: #ffffff;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(11, 35, 88, 0.06);
  --shadow: 0 18px 45px rgba(11, 35, 88, 0.1);
  --shadow-lg: 0 30px 70px rgba(11, 35, 88, 0.16);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

svg {
  width: 100%;
  height: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 200;
  background: var(--blue-600);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
}

.skip-link:focus {
  left: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff;
  box-shadow: 0 12px 26px rgba(29, 78, 216, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(29, 78, 216, 0.4);
}

.btn-outline {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--blue-300, var(--blue-500));
  color: var(--blue-600);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 12px 14px;
}

.btn-ghost:hover {
  color: var(--blue-600);
}

.btn-light {
  background: #fff;
  color: var(--blue-700);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.grad-text {
  background: linear-gradient(120deg, var(--blue-500), var(--green-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(11, 35, 88, 0.08);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
}

.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-text span {
  color: var(--green-600);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 0.94rem;
  font-weight: 600;
  color: #33445f;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-500);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--blue-600);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-mobile-cta {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  padding: 0 11px;
}

.burger span {
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: 74px 0 90px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.blob-1 {
  width: 420px;
  height: 420px;
  background: #bcd2ff;
  top: -150px;
  right: -80px;
}

.blob-2 {
  width: 360px;
  height: 360px;
  background: #b7f2d8;
  bottom: -170px;
  left: -120px;
  opacity: 0.5;
}

.grid-glow {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 65%);
  opacity: 0.55;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 7px 14px;
  border-radius: 999px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  margin: 22px 0 20px;
}

.hero .lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 560px;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.hero-trust p {
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-trust strong {
  color: var(--ink);
}

/* Dashboard mockup */
.hero-visual {
  position: relative;
}

.dashboard {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
}

.dash-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #0b1b33;
  color: #cbd7ee;
  font-size: 0.78rem;
}

.dash-dots {
  display: flex;
  gap: 6px;
}

.dash-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3b4a66;
}

.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }

.dash-title {
  font-weight: 700;
  color: #fff;
}

.dash-year {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.dash-body {
  padding: 18px;
  background: linear-gradient(180deg, #fbfcff, #f4f8ff);
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-label {
  font-size: 0.66rem;
  color: var(--muted);
  font-weight: 600;
}

.mini-card strong {
  font-size: 1.16rem;
}

.mini-trend {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--muted);
}

.mini-trend.up {
  color: var(--green-600);
}

.dash-chart {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px;
  margin-top: 12px;
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 700;
  color: #33445f;
  margin-bottom: 12px;
}

.chart-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  color: var(--muted);
  font-weight: 600;
}

.chart-legend i {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-700));
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 92px;
}

.bars span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #6d9bff, var(--blue-600));
  opacity: 0.92;
}

.bars span:nth-child(3n) {
  background: linear-gradient(180deg, #4ade80, var(--green-600));
}

.dash-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 0.76rem;
}

.list-row div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.list-row small {
  color: var(--muted);
  font-size: 0.66rem;
}

.row-ico {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  padding: 6px;
  flex: none;
}

.row-ico svg {
  width: 100%;
  height: 100%;
}

.row-ico.green {
  background: var(--green-50);
  color: var(--green-600);
}

.row-ico.blue {
  background: var(--blue-50);
  color: var(--blue-600);
}

.badge-ok,
.badge-info {
  margin-left: auto;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-ok {
  background: var(--green-50);
  color: var(--green-600);
}

.badge-info {
  background: var(--blue-50);
  color: var(--blue-600);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 11px 15px;
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  animation: floaty 5s ease-in-out infinite;
}

.float-card div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.float-card small {
  color: var(--muted);
  font-size: 0.7rem;
}

.float-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 8px;
  background: var(--blue-50);
  color: var(--blue-600);
  flex: none;
}

.float-ico.green {
  background: var(--green-50);
  color: var(--green-600);
}

.float-a {
  top: 22px;
  right: -26px;
  animation-delay: 0.4s;
}

.float-b {
  bottom: -24px;
  left: -30px;
  animation-delay: 1.2s;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Logos */
.logos {
  padding: 40px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.logos-title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}


/* Stats band */
.stats-band {
  background: linear-gradient(120deg, var(--blue-700), var(--blue-900) 60%, #0a2a6b);
  color: #fff;
  padding: 42px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat span {
  font-size: 0.88rem;
  color: #b9cbf0;
  font-weight: 600;
}

.stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 18px 0 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-head .eyebrow {
  margin-bottom: 4px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blue-200);
}

.feature-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(135deg, var(--blue-50), #e6fbf1);
  color: var(--blue-600);
  border: 1px solid var(--blue-100);
  margin-bottom: 18px;
}

.feature-card:nth-child(even) .feature-ico {
  color: var(--green-600);
  background: linear-gradient(135deg, #e6fbf1, var(--blue-50));
  border-color: #c9f0df;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* Split sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split.reverse .split-copy {
  order: 2;
}

.split-copy h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 18px 0 16px;
}

.split-copy > p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 26px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  font-weight: 600;
  color: #33445f;
}

.check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-50);
  border: 1.5px solid #b9ecd6;
  position: relative;
  margin-top: 1px;
}

.check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 5px;
  height: 9px;
  border: solid var(--green-600);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.split-visual {
  position: relative;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.panel-head > div:not(.panel-avatar) {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.panel-head small {
  color: var(--muted);
  font-size: 0.78rem;
}

.panel-head > .badge-ok,
.panel-head > .badge-info {
  margin-left: auto;
}

.panel-avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  flex: none;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.info-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.info-box small {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.info-box strong {
  font-size: 0.92rem;
}

.panel-progress {
  margin-top: 18px;
}

.progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 9px;
}

.progress-row span {
  color: var(--muted);
  font-weight: 600;
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: var(--blue-50);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-500), var(--green-500));
}

/* Timetable */
.timetable {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tt-row {
  display: grid;
  grid-template-columns: 54px repeat(3, 1fr);
  gap: 8px;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
}

.tt-row > span {
  padding: 9px 8px;
  border-radius: 9px;
  text-align: center;
}

.tt-row > span:first-child {
  color: var(--muted);
  background: var(--bg);
}

.tt-head > span {
  background: transparent !important;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tt-math { background: #e8f0ff; color: #1d4ed8; }
.tt-fr { background: #e8fbf3; color: #059669; }
.tt-sci { background: #fef3e2; color: #b45309; }
.tt-en { background: #f3e8ff; color: #7c3aed; }
.tt-hist { background: #ffe9e9; color: #dc2626; }
.tt-sport { background: #e0f7fa; color: #0e7490; }

/* Payments */
.pay-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.pay-row > div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.pay-row small {
  color: var(--muted);
  font-size: 0.74rem;
}

.pay-amount {
  margin-left: auto;
  font-size: 0.86rem;
  color: var(--green-600);
  white-space: nowrap;
}

.pay-amount.pending {
  color: #b45309;
  font-size: 0.76rem;
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.why-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 13px;
  margin-bottom: 16px;
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-100);
}

.why-card:nth-child(3n + 2) .why-ico {
  background: var(--green-50);
  color: var(--green-600);
  border-color: #c9f0df;
}

.why-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.price-card.featured {
  border: 2px solid var(--blue-500);
  box-shadow: 0 22px 50px rgba(29, 78, 216, 0.16);
  background: linear-gradient(180deg, #fff, #f6f9ff);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-50);
  padding: 4px 11px;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.16rem;
  margin: 14px 0 14px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.price strong {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 26px;
}

.price-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.88rem;
  color: #33445f;
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-50);
  border: 1.5px solid #b9ecd6;
}

.price-list li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 6.5px;
  width: 4px;
  height: 7px;
  border: solid var(--green-600);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.price-card .btn {
  margin-top: auto;
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 32px;
}

/* FAQ */
.faq-container {
  max-width: 860px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 22px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item[open] {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-600);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item p {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0 0 20px;
  max-width: 740px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 18px 0 16px;
}

.contact-info > p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 30px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 12px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue-600);
  box-shadow: var(--shadow-sm);
  flex: none;
}

.contact-list li > div {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.contact-list small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.contact-list a,
.contact-list span {
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-list a:hover {
  color: var(--blue-600);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.form-row label {
  font-size: 0.86rem;
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #9aa7bc;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.2em;
}

.form-status.ok {
  color: var(--green-600);
}

.form-status.error {
  color: #dc2626;
}

/* CTA band */
.cta-band {
  padding: 72px 0;
  background:
    radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(120deg, var(--blue-600), var(--blue-800, #12307a) 55%, #0a2a6b);
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 10px;
}

.cta-inner p {
  color: #c5d5f5;
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: #081426;
  color: #b6c2d8;
  padding: 64px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.brand-light {
  color: #fff;
}

.footer-brand p {
  margin-top: 18px;
  font-size: 0.92rem;
  max-width: 320px;
  color: #8ea0bd;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 0.9rem;
  color: #9dabc5;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.83rem;
  color: #7f8fad;
}

.footer-legal {
  display: flex;
  gap: 22px;
}

.footer-legal a:hover {
  color: #fff;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1080px) {
  .nav-links {
    gap: 18px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    gap: 40px;
  }
}

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(11, 35, 88, 0.1);
    padding: 14px 24px 22px;
    margin: 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    padding: 11px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-mobile-cta {
    display: inline-flex !important;
    justify-content: center;
    margin-top: 10px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: #fff !important;
    border-radius: 11px;
    padding: 13px !important;
    border-bottom: none !important;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero .lead {
    margin: 0 auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .dashboard {
    transform: none;
  }

  .float-a {
    right: 0;
  }

  .float-b {
    left: 0;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split.reverse .split-copy {
    order: 0;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 68px 0;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .stat + .stat {
    border-left: none;
  }

  .stat:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .float-card {
    display: none;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .dash-cards {
    grid-template-columns: 1fr;
  }

  .dash-cards .mini-card:last-child {
    display: none;
  }

  .tt-row {
    grid-template-columns: 44px repeat(3, 1fr);
    font-size: 0.68rem;
  }

  .tt-row > span {
    padding: 7px 4px;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Ajouts : lancement, mentions, formulaire */
.logos-text {
  max-width: 640px;
  margin: 12px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
}

.logos-text a {
  color: var(--blue-600);
  font-weight: 700;
}

.demo-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted);
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.form-check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.form-check a {
  color: var(--blue-600);
  text-decoration: underline;
}

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

.faq-item a {
  color: var(--blue-600);
  text-decoration: underline;
}

.legal {
  padding: 120px 0 80px;
}

.legal .container {
  max-width: 800px;
}

.legal h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin-bottom: 8px;
}

.legal h2 {
  font-size: 1.2rem;
  margin: 34px 0 10px;
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.7;
}

.legal ul {
  padding-left: 20px;
  list-style: disc;
}

.legal a {
  color: var(--blue-600);
  text-decoration: underline;
}

.legal .todo {
  background: #fff7e0;
  border-radius: 4px;
  padding: 0 4px;
}

/* ------------------------------------------------------------------
   Compléments : maquettes alignées sur l'interface de la plateforme,
   accessibilité (focus visible) et page 404.
   ------------------------------------------------------------------ */

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.dash-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.badge-soft {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-100);
}

.dash-cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.finance-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.finance-summary > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.finance-summary small {
  font-size: 0.66rem;
  color: var(--muted);
  font-weight: 600;
}

.finance-summary strong {
  font-size: 0.95rem;
}

.finance-summary .up { color: var(--green-600); }
.finance-summary .down { color: #b3261e; }

.alert-line {
  margin-top: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 9px 11px;
  border-radius: 9px;
}

.alert-line.warning {
  color: #8a5a00;
  background: #fff7e0;
  border: 1px solid #f4dfa6;
}

.info-note {
  font-size: 0.84rem !important;
  color: var(--muted) !important;
  background: #fff7e0;
  border-left: 3px solid #f0a020;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 22px !important;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pill-action {
  font-size: 0.72rem;
  font-weight: 700;
  color: #33445f;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}

.panel-subtitle {
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-700) !important;
  margin: 18px 0 9px !important;
}

.fee-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.fee-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.fee-box small {
  font-size: 0.64rem;
  color: var(--muted);
  font-weight: 600;
}

.fee-box strong { font-size: 0.9rem; }
.fee-box.warn { background: #fff7e0; border-color: #f4dfa6; }
.fee-box.ok { background: var(--green-50); border-color: #b9ecd6; }

.panel-note {
  margin-top: 14px !important;
  font-size: 0.78rem !important;
  color: var(--muted) !important;
}

.panel-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.74rem;
  white-space: nowrap;
}

.mini-table th,
.mini-table td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.mini-table th {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--bg);
}

.mini-table tr:last-child td { border-bottom: none; }
.mini-table.compact th,
.mini-table.compact td { padding: 6px 8px; }

.tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.tag-ok { background: var(--green-50); color: var(--green-600); }
.tag-warn { background: #fff7e0; color: #8a5a00; }
.tag-danger { background: #fdeaea; color: #b3261e; }
.tag-info { background: var(--blue-50); color: var(--blue-600); }
.tag-secondary { background: #eef1f6; color: #475569; }

.amount { color: var(--green-600); }
.low { color: #b3261e; font-weight: 800; }

.timetable { overflow-x: auto; }

.tt-row.six-days {
  grid-template-columns: 48px repeat(6, minmax(88px, 1fr));
  min-width: 660px;
}

.tt-cell {
  display: flex !important;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
  background: var(--blue-50);
  color: var(--blue-700);
  padding: 8px 6px !important;
}

.tt-cell small {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--muted);
}

.fake-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.fake-filters span {
  font-size: 0.7rem;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 6px 10px;
}

.payments-table { min-width: 640px; }

.report-sheet {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.report-title {
  display: block;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.report-line {
  font-size: 0.8rem !important;
  color: var(--ink) !important;
}

.qr-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.qr-block div { display: flex; flex-direction: column; line-height: 1.3; }
.qr-block strong { font-size: 0.76rem; }
.qr-block small { font-size: 0.68rem; color: var(--muted); }

.qr-placeholder {
  flex: none;
  width: 46px;
  height: 46px;
  border: 4px solid var(--ink);
  border-radius: 4px;
  background:
    linear-gradient(90deg, var(--ink) 2px, transparent 2px) 0 0 / 10px 10px,
    linear-gradient(var(--ink) 2px, transparent 2px) 0 0 / 10px 10px,
    #fff;
}

.error-page { text-align: center; }
.error-code {
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--blue-100);
  margin-bottom: 12px;
}

.error-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.error-page > p:not(.error-code) { color: var(--muted); margin-bottom: 28px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .dash-cards-4 { grid-template-columns: repeat(2, 1fr); }
  .fee-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .finance-summary { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .dash-cards-4 { grid-template-columns: 1fr; }
  .fee-grid { grid-template-columns: 1fr 1fr; }
}
