/* Landing v2 — Seemiott
   Feuille autonome : aucun sélecteur partagé avec landing.css (préfixe .l2-). */

:root {
  --l2-ink: #0b1220;
  --l2-ink-soft: #38455c;
  --l2-muted: #69788d;
  --l2-line: #e5e9f0;
  --l2-line-soft: #eef1f6;
  --l2-paper: #ffffff;
  --l2-soft: #f7f8fb;
  --l2-navy: #0c1a2c;
  --l2-accent: #ff5a36;
  --l2-accent-dark: #d83f1d;
  --l2-accent-soft: #fff1ec;
  --l2-green: #12b76a;
  --l2-green-soft: #e6f8ef;
  --l2-blue: #3b6ef6;
  --l2-blue-soft: #eaf0fe;
  --l2-amber: #f79009;
  --l2-amber-soft: #fef4e5;
  --l2-violet: #7a5af8;
  --l2-violet-soft: #f0ecfe;
  --l2-r-sm: 10px;
  --l2-r: 14px;
  --l2-r-lg: 22px;
  --l2-shadow: 0 24px 60px rgba(11, 18, 32, 0.1);
  --l2-shadow-sm: 0 6px 18px rgba(11, 18, 32, 0.06);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--l2-paper);
  color: var(--l2-ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

p {
  margin: 0;
}

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

.l2-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.l2-skip {
  position: absolute;
  left: -9999px;
}

.l2-skip:focus {
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--l2-r-sm);
  background: var(--l2-ink);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--l2-accent);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- Header */

.l2-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(229, 233, 240, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.l2-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.l2-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.l2-brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--l2-accent), #ff8a5c);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 90, 54, 0.35);
}

.l2-brand-mark svg {
  width: 18px;
  height: 18px;
}

/* Logotype du header. La hauteur pilote l'affichage, la largeur suit le
   ratio du fichier (397 × 86). */
.l2-brand-logo {
  display: block;
  height: 26px;
  width: auto;
}

.l2-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.l2-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: #46536a;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}

.l2-nav a:hover {
  background: var(--l2-soft);
  color: var(--l2-ink);
}

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

.l2-burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--l2-line);
  border-radius: 10px;
  background: #fff;
  color: var(--l2-ink);
  cursor: pointer;
}

.l2-burger svg {
  width: 20px;
  height: 20px;
}

/* ---------------------------------------------------------------- Boutons */

.l2-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.l2-btn svg {
  width: 17px;
  height: 17px;
}

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

.l2-btn-primary {
  background: var(--l2-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 90, 54, 0.28);
}

.l2-btn-primary:hover {
  background: var(--l2-accent-dark);
}

.l2-btn-ghost {
  border-color: var(--l2-line);
  background: #fff;
  color: var(--l2-ink);
}

.l2-btn-ghost:hover {
  border-color: #c9d1de;
  background: var(--l2-soft);
}

.l2-btn-dark {
  background: var(--l2-ink);
  color: #fff;
}

.l2-btn-light {
  background: #fff;
  color: var(--l2-navy);
}

.l2-btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.l2-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.l2-btn-sm {
  min-height: 40px;
  padding: 0 15px;
  font-size: 14px;
}

/* ---------------------------------------------------------------- Titrage */

.l2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid var(--l2-line);
  border-radius: 999px;
  background: #fff;
  color: var(--l2-accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.l2-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--l2-accent);
}

.l2-section {
  padding: clamp(64px, 8vw, 110px) 0;
}

.l2-section-soft {
  background: var(--l2-soft);
}

.l2-section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.l2-section-head.is-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.l2-section-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
}

.l2-section-head p {
  margin-top: 18px;
  color: var(--l2-muted);
  font-size: 17.5px;
}

/* ---------------------------------------------------------------- Hero */

.l2-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 6vw, 92px);
  background:
    radial-gradient(1000px 420px at 82% -8%, rgba(255, 90, 54, 0.14), transparent 62%),
    radial-gradient(760px 360px at 6% 6%, rgba(59, 110, 246, 0.09), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.l2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.l2-hero h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  letter-spacing: -0.045em;
}

.l2-hero h1 em {
  padding: 0 0.04em;
  background: linear-gradient(180deg, transparent 62%, rgba(255, 90, 54, 0.28) 62%, rgba(255, 90, 54, 0.28) 94%, transparent 94%);
  font-style: normal;
  white-space: nowrap;
}

.l2-hero-lead {
  max-width: 560px;
  margin-top: 22px;
  color: var(--l2-ink-soft);
  font-size: 18.5px;
  line-height: 1.65;
}

.l2-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.l2-hero-proof {
  display: flex;
  gap: 10px 22px;
  margin-top: 26px;
  flex-wrap: wrap;
  color: var(--l2-muted);
  font-size: 13.5px;
  font-weight: 600;
}

.l2-hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.l2-hero-proof svg {
  width: 15px;
  height: 15px;
  color: var(--l2-green);
  flex: 0 0 auto;
}

/* ------------------------------------------------- Fenêtre applicative */

.l2-app {
  overflow: hidden;
  border: 1px solid #dde3ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--l2-shadow);
}

.l2-app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--l2-line-soft);
  background: linear-gradient(180deg, #fbfcfe, #f5f7fa);
}

.l2-app-dots {
  display: inline-flex;
  gap: 6px;
}

.l2-app-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dfe4ec;
}

.l2-app-dots i:first-child {
  background: #ffbdad;
}

.l2-app-url {
  margin: 0 auto;
  padding: 4px 14px;
  border: 1px solid var(--l2-line);
  border-radius: 999px;
  background: #fff;
  color: #8a97a9;
  font-size: 11.5px;
  font-weight: 600;
}

.l2-app-tabs {
  display: flex;
  overflow-x: auto;
  gap: 4px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--l2-line-soft);
  background: #fff;
  scrollbar-width: none;
}

.l2-app-tabs::-webkit-scrollbar {
  display: none;
}

.l2-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #5d6b80;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.l2-tab svg {
  width: 15px;
  height: 15px;
}

.l2-tab:hover {
  background: var(--l2-soft);
  color: var(--l2-ink);
}

.l2-tab[aria-selected="true"] {
  border-color: rgba(255, 90, 54, 0.25);
  background: var(--l2-accent-soft);
  color: var(--l2-accent-dark);
}

.l2-app-panel {
  padding: 18px;
  background: #fdfdfe;
}

.l2-app-panel[hidden] {
  display: none;
}

.l2-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.l2-panel-head strong {
  font-size: 14px;
}

.l2-panel-head span {
  color: var(--l2-muted);
  font-size: 12px;
}

.l2-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.l2-pill-green {
  background: var(--l2-green-soft);
  color: #06753f;
}

.l2-pill-amber {
  background: var(--l2-amber-soft);
  color: #b25e02;
}

.l2-pill-red {
  background: #fee6e3;
  color: #b42318;
}

.l2-pill-blue {
  background: var(--l2-blue-soft);
  color: #2b52c4;
}

.l2-pill-grey {
  background: #eef1f6;
  color: #5d6b80;
}

.l2-panel-head .l2-pill {
  margin-left: auto;
}

/* Mock planning */

.l2-mock-planning {
  display: grid;
  grid-template-columns: 62px repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.l2-mock-planning .l2-col-head {
  padding-bottom: 6px;
  color: #8a97a9;
  font-size: 10.5px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.l2-mock-planning .l2-hours {
  display: grid;
  gap: 6px;
  color: #a3adbd;
  font-size: 10px;
  font-weight: 700;
  text-align: right;
}

.l2-mock-planning .l2-day {
  display: grid;
  gap: 6px;
  grid-auto-rows: 34px;
}

.l2-slot {
  display: flex;
  padding: 5px 7px;
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}

.l2-slot span {
  opacity: 0.75;
  font-size: 9px;
  font-weight: 600;
}

.l2-slot.is-blue {
  background: var(--l2-blue-soft);
  color: #2b52c4;
}

.l2-slot.is-amber {
  background: var(--l2-amber-soft);
  color: #b25e02;
}

.l2-slot.is-green {
  background: var(--l2-green-soft);
  color: #06753f;
}

.l2-slot.is-violet {
  background: var(--l2-violet-soft);
  color: #5333cc;
}

.l2-slot.is-empty {
  border: 1px dashed #e4e8ef;
  background: transparent;
}

.l2-alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid #ffd8c9;
  border-radius: var(--l2-r-sm);
  background: #fff6f2;
  color: #9c3412;
  font-size: 12px;
  line-height: 1.45;
}

.l2-alert svg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.l2-alert b {
  display: block;
  color: #7c2d0f;
}

/* Mock tableau générique */

.l2-mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.l2-mock-table th {
  padding: 8px 10px;
  border-bottom: 1px solid var(--l2-line);
  color: #8a97a9;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.l2-mock-table td {
  padding: 10px;
  border-bottom: 1px solid var(--l2-line-soft);
  color: #46536a;
  white-space: nowrap;
}

.l2-mock-table td strong {
  color: var(--l2-ink);
}

.l2-mock-table tfoot td {
  border-bottom: 0;
  background: var(--l2-soft);
  color: var(--l2-ink);
  font-weight: 800;
}

.l2-table-scroll {
  overflow-x: auto;
}

/* Mock absences */

.l2-mock-month {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.l2-mock-month span {
  display: flex;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--l2-line-soft);
  border-radius: 7px;
  background: #fff;
  color: #8a97a9;
  font-size: 11px;
  font-weight: 700;
}

.l2-mock-month span.is-cp {
  border-color: rgba(18, 183, 106, 0.3);
  background: var(--l2-green-soft);
  color: #06753f;
}

.l2-mock-month span.is-off {
  border-color: rgba(244, 144, 9, 0.3);
  background: var(--l2-amber-soft);
  color: #b25e02;
}

.l2-mock-month span.is-half {
  border-color: rgba(59, 110, 246, 0.3);
  background: var(--l2-blue-soft);
  color: #2b52c4;
}

.l2-mock-month span.is-wait {
  border-style: dashed;
  border-color: #cbd4e1;
  color: #a3adbd;
}

.l2-legend {
  display: flex;
  gap: 8px 16px;
  margin-top: 12px;
  flex-wrap: wrap;
  color: var(--l2-muted);
  font-size: 11.5px;
  font-weight: 600;
}

.l2-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.l2-legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.l2-request {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--l2-line);
  border-radius: var(--l2-r-sm);
  background: #fff;
  flex-wrap: wrap;
}

.l2-request p {
  font-size: 12px;
}

.l2-request p b {
  display: block;
  font-size: 12.5px;
}

.l2-request p span {
  color: var(--l2-muted);
}

.l2-request-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.l2-mini-btn {
  padding: 6px 11px;
  border: 1px solid var(--l2-line);
  border-radius: 8px;
  background: #fff;
  color: #5d6b80;
  font-size: 11.5px;
  font-weight: 700;
}

.l2-mini-btn.is-accept {
  border-color: rgba(18, 183, 106, 0.35);
  background: var(--l2-green-soft);
  color: #06753f;
}

/* Mock enseignement */

.l2-student {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--l2-line-soft);
  border-radius: var(--l2-r-sm);
  background: #fff;
}

.l2-student + .l2-student {
  margin-top: 7px;
}

.l2-student b {
  display: block;
  font-size: 12.5px;
}

.l2-student small {
  color: var(--l2-muted);
  font-size: 11px;
}

.l2-quota {
  min-width: 108px;
  text-align: right;
}

.l2-quota-bar {
  height: 5px;
  margin-top: 5px;
  border-radius: 99px;
  background: #eef1f6;
}

.l2-quota-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--l2-green);
}

.l2-quota small {
  font-size: 10.5px;
  font-weight: 700;
}

/* Mock finances */

.l2-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.l2-stat {
  padding: 12px;
  border: 1px solid var(--l2-line-soft);
  border-radius: var(--l2-r-sm);
  background: #fff;
}

.l2-stat small {
  display: block;
  color: var(--l2-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.l2-stat b {
  font-size: 19px;
  letter-spacing: -0.03em;
}

.l2-stat.is-in b {
  color: #06753f;
}

.l2-stat.is-out b {
  color: #b42318;
}

/* ---------------------------------------------------------------- Bandeau */

.l2-strip {
  padding: 30px 0;
  border-top: 1px solid var(--l2-line);
  border-bottom: 1px solid var(--l2-line);
  background: #fff;
}

.l2-strip-inner {
  display: flex;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.l2-strip p {
  color: var(--l2-muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.l2-strip ul {
  display: flex;
  gap: 10px 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.l2-strip li {
  padding: 7px 14px;
  border: 1px solid var(--l2-line);
  border-radius: 999px;
  color: #97a3b4;
  font-size: 14px;
  font-weight: 700;
}

/* ---------------------------------------------------------------- Modules */

.l2-modules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.l2-module {
  display: flex;
  padding: 24px 22px;
  border: 1px solid var(--l2-line);
  border-radius: var(--l2-r);
  background: #fff;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.l2-module:hover {
  border-color: #d3dae5;
  box-shadow: var(--l2-shadow-sm);
  transform: translateY(-3px);
}

.l2-module-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.l2-module-icon svg {
  width: 21px;
  height: 21px;
}

.l2-module-icon.t-accent {
  background: var(--l2-accent-soft);
  color: var(--l2-accent-dark);
}

.l2-module-icon.t-blue {
  background: var(--l2-blue-soft);
  color: #2b52c4;
}

.l2-module-icon.t-green {
  background: var(--l2-green-soft);
  color: #06753f;
}

.l2-module-icon.t-amber {
  background: var(--l2-amber-soft);
  color: #b25e02;
}

.l2-module-icon.t-violet {
  background: var(--l2-violet-soft);
  color: #5333cc;
}

.l2-module h3 {
  font-size: 18px;
}

.l2-module > p {
  margin-top: 9px;
  color: var(--l2-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.l2-module ul {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--l2-line-soft);
}

.l2-module li {
  position: relative;
  padding-left: 18px;
  color: var(--l2-ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.l2-module li + li {
  margin-top: 7px;
}

.l2-module li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--l2-accent);
  content: "";
}

/* ---------------------------------------------------------------- Focus */

.l2-focus + .l2-focus {
  margin-top: clamp(56px, 7vw, 96px);
}

.l2-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
}

.l2-focus:nth-child(even) .l2-focus-visual {
  order: -1;
}

.l2-focus h3 {
  font-size: clamp(26px, 2.9vw, 36px);
}

.l2-focus-copy > p {
  margin-top: 16px;
  color: var(--l2-muted);
  font-size: 17px;
}

.l2-check {
  margin-top: 24px;
}

.l2-check li {
  position: relative;
  padding-left: 32px;
  font-size: 15.5px;
  line-height: 1.55;
}

.l2-check li + li {
  margin-top: 14px;
}

.l2-check li b {
  font-weight: 700;
}

.l2-check li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: flex;
  width: 21px;
  height: 21px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--l2-green-soft);
  color: #06753f;
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.l2-focus-visual {
  padding: 18px;
  border: 1px solid var(--l2-line);
  border-radius: var(--l2-r-lg);
  background: #fff;
  box-shadow: var(--l2-shadow-sm);
}

/* ---------------------------------------------------------------- Rôles */

.l2-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.l2-role {
  padding: 26px 24px;
  border: 1px solid var(--l2-line);
  border-radius: var(--l2-r);
  background: #fff;
}

.l2-role-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--l2-soft);
  color: #5d6b80;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.l2-role h3 {
  font-size: 19px;
}

.l2-role p {
  margin-top: 10px;
  color: var(--l2-muted);
  font-size: 14.5px;
}

.l2-role ul {
  margin-top: 16px;
}

.l2-role li {
  position: relative;
  padding-left: 20px;
  color: var(--l2-ink-soft);
  font-size: 14px;
}

.l2-role li + li {
  margin-top: 8px;
}

.l2-role li::before {
  position: absolute;
  left: 0;
  color: var(--l2-accent);
  content: "→";
  font-weight: 800;
}

.l2-perms {
  margin-top: 34px;
  padding: 26px;
  border: 1px dashed #cfd8e4;
  border-radius: var(--l2-r);
  background: #fff;
}

.l2-perms h4 {
  font-size: 15px;
}

.l2-perms p {
  margin-top: 6px;
  color: var(--l2-muted);
  font-size: 14px;
}

.l2-perm-list {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.l2-perm-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--l2-line);
  border-radius: 8px;
  background: var(--l2-soft);
  color: #46536a;
  font-size: 12.5px;
  font-weight: 600;
}

.l2-perm-list li::before {
  color: var(--l2-green);
  content: "✓";
  font-weight: 900;
}

/* ---------------------------------------------------------------- Sécurité */

.l2-dark {
  background:
    radial-gradient(760px 380px at 88% 0%, rgba(255, 90, 54, 0.16), transparent 60%),
    var(--l2-navy);
  color: #fff;
}

.l2-dark .l2-eyebrow {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #ffb9a3;
}

.l2-dark .l2-section-head p {
  color: #a8b6c8;
}

.l2-secure {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.l2-secure-card {
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--l2-r);
  background: rgba(255, 255, 255, 0.045);
}

.l2-secure-card svg {
  width: 22px;
  height: 22px;
  margin-bottom: 16px;
  color: #ff8a5c;
}

.l2-secure-card h3 {
  font-size: 17px;
}

.l2-secure-card p {
  margin-top: 9px;
  color: #a8b6c8;
  font-size: 14px;
  line-height: 1.6;
}

/* ---------------------------------------------------------------- Tarifs */

.l2-pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.l2-plan {
  position: relative;
  display: flex;
  padding: 30px 26px;
  border: 1px solid var(--l2-line);
  border-radius: var(--l2-r);
  background: #fff;
  flex-direction: column;
}

.l2-plan.is-featured {
  border: 2px solid var(--l2-accent);
  box-shadow: 0 22px 50px rgba(255, 90, 54, 0.14);
}

.l2-plan-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--l2-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.l2-plan h3 {
  font-size: 20px;
}

.l2-plan > p {
  min-height: 46px;
  margin-top: 10px;
  color: var(--l2-muted);
  font-size: 14.5px;
}

.l2-price {
  margin: 20px 0 4px;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.l2-price small {
  display: block;
  color: #97a3b4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.l2-plan ul {
  margin: 22px 0 26px;
  padding-top: 20px;
  border-top: 1px solid var(--l2-line-soft);
}

.l2-plan li {
  position: relative;
  padding-left: 26px;
  color: var(--l2-ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
}

.l2-plan li + li {
  margin-top: 11px;
}

.l2-plan li::before {
  position: absolute;
  left: 0;
  color: var(--l2-green);
  content: "✓";
  font-weight: 900;
}

.l2-plan .l2-btn {
  width: 100%;
  margin-top: auto;
}

.l2-pricing-note {
  margin-top: 28px;
  color: #97a3b4;
  font-size: 13px;
  text-align: center;
}

/* ------------------------------------------------------ Tableau comparatif */

.l2-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.l2-compare {
  margin-top: clamp(48px, 6vw, 72px);
}

.l2-compare-title {
  margin-bottom: 22px;
  font-size: clamp(21px, 2.2vw, 26px);
  text-align: center;
}

.l2-compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--l2-line);
  border-radius: var(--l2-r);
  background: #fff;
}

.l2-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.l2-compare-table th,
.l2-compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--l2-line-soft);
  text-align: left;
}

.l2-compare-table tbody tr:last-child th,
.l2-compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.l2-compare-table thead th {
  padding-top: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--l2-line);
  background: var(--l2-soft);
  color: #8a97a9;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: bottom;
}

.l2-compare-table thead th:not(:first-child),
.l2-compare-table tbody td {
  width: 132px;
  text-align: center;
}

.l2-compare-plan {
  display: block;
  color: var(--l2-ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
}

.l2-compare-price {
  display: block;
  margin-top: 3px;
  color: #97a3b4;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.l2-price-short {
  display: none;
}

.l2-compare-table tbody th {
  color: var(--l2-ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
}

.l2-compare-table tbody tr:nth-child(even) th,
.l2-compare-table tbody tr:nth-child(even) td {
  background: #fbfcfd;
}

.l2-compare-table .is-featured {
  background: var(--l2-accent-soft);
  box-shadow: inset 1px 0 0 rgba(255, 90, 54, 0.22), inset -1px 0 0 rgba(255, 90, 54, 0.22);
}

.l2-compare-table tbody tr:nth-child(even) td.is-featured {
  background: #fff6f2;
}

.l2-compare-table thead th.is-featured {
  border-bottom-color: rgba(255, 90, 54, 0.3);
  box-shadow: inset 1px 1px 0 rgba(255, 90, 54, 0.22), inset -1px 0 0 rgba(255, 90, 54, 0.22);
}

.l2-compare-table tbody tr:last-child td.is-featured {
  box-shadow:
    inset 1px 0 0 rgba(255, 90, 54, 0.22),
    inset -1px 0 0 rgba(255, 90, 54, 0.22),
    inset 0 -1px 0 rgba(255, 90, 54, 0.22);
}

.l2-compare-yes {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--l2-green-soft);
  color: #06753f;
}

.l2-compare-yes svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.6;
}

.l2-compare-no {
  color: #c3ccd8;
  font-size: 15px;
  font-weight: 700;
}

/* ---------------------------------------------------------------- FAQ */

.l2-faq {
  max-width: 840px;
  margin: 0 auto;
}

.l2-faq details {
  padding: 20px 22px;
  border: 1px solid var(--l2-line);
  border-radius: var(--l2-r);
  background: #fff;
}

.l2-faq details + details {
  margin-top: 12px;
}

.l2-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.l2-faq summary::after {
  color: var(--l2-accent);
  content: "+";
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.l2-faq details[open] summary::after {
  content: "−";
}

.l2-faq details p {
  margin-top: 12px;
  color: var(--l2-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ---------------------------------------------------------------- CTA */

.l2-cta {
  padding: clamp(56px, 7vw, 84px) 0;
  background: linear-gradient(135deg, var(--l2-accent) 0%, #ff7d4f 100%);
  color: #fff;
}

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

.l2-cta h2 {
  max-width: 620px;
  font-size: clamp(28px, 3.4vw, 42px);
}

.l2-cta p {
  max-width: 520px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

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

/* ---------------------------------------------------------------- Footer */

.l2-footer {
  padding: 56px 0 32px;
  background: #08111d;
  color: #fff;
}

.l2-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.l2-footer .l2-brand {
  color: #fff;
}

.l2-footer-about {
  margin-top: 16px;
  max-width: 320px;
  color: #8f9dae;
  font-size: 14px;
}

.l2-footer h4 {
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.l2-footer ul {
  margin-top: 14px;
}

.l2-footer li + li {
  margin-top: 9px;
}

.l2-footer li a,
.l2-footer li span {
  color: #8f9dae;
  font-size: 14px;
  text-decoration: none;
}

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

.l2-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  color: #6f7d8f;
  font-size: 13px;
}

/* -------------------------------------------------- Bandeau de consentement */

.l2-footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.l2-footer-link {
  padding: 0;
  border: 0;
  background: none;
  color: #8f9dae;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.l2-footer-link:hover {
  color: #fff;
}

.l2-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 200;
  padding: 20px 22px;
  border: 1px solid var(--l2-line);
  border-radius: var(--l2-r);
  background: #fff;
  box-shadow: 0 18px 50px rgba(11, 18, 32, 0.22);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.l2-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.l2-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  width: min(1200px, 100%);
  margin: 0 auto;
  flex-wrap: wrap;
}

.l2-consent-copy {
  min-width: 0;
  flex: 1 1 420px;
}

.l2-consent-copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.l2-consent-copy p {
  max-width: 780px;
  color: var(--l2-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* Les deux choix ont le même poids visuel : refuser doit être aussi
   simple qu'accepter. */
.l2-consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.l2-consent-actions .l2-btn {
  min-width: 120px;
}

@media (max-width: 620px) {
  .l2-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 18px;
  }

  .l2-consent-actions {
    width: 100%;
  }

  .l2-consent-actions .l2-btn {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .l2-consent {
    transition: none;
  }
}

/* ---------------------------------------------------------------- Responsive */

@media (max-width: 1080px) {
  .l2-modules,
  .l2-secure {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .l2-hero-grid,
  .l2-focus-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .l2-focus:nth-child(even) .l2-focus-visual {
    order: 0;
  }

  .l2-roles,
  .l2-pricing {
    grid-template-columns: minmax(0, 1fr);
  }

  .l2-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .l2-burger {
    display: inline-flex;
    order: 3;
    margin-left: auto;
  }

  .l2-header-actions {
    order: 2;
    margin-left: auto;
  }

  .l2-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 20px 18px;
    border-bottom: 1px solid var(--l2-line);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    box-shadow: var(--l2-shadow-sm);
  }

  .l2-nav.is-open {
    display: flex;
  }

  .l2-nav a {
    padding: 12px;
    border-radius: 10px;
    font-size: 16px;
  }

  .l2-header-actions .l2-btn-ghost {
    display: none;
  }

  .l2-header-inner {
    position: relative;
  }
}

@media (max-width: 720px) {
  .l2-container {
    width: min(1200px, calc(100% - 28px));
  }

  .l2-modules {
    grid-template-columns: minmax(0, 1fr);
  }

  .l2-secure {
    grid-template-columns: minmax(0, 1fr);
  }

  .l2-mock-planning {
    grid-template-columns: 46px repeat(3, minmax(0, 1fr));
  }

  .l2-mock-planning .l2-col-head:nth-child(n + 5),
  .l2-mock-planning .l2-day:nth-of-type(n + 4) {
    display: none;
  }

  .l2-stat-row {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Le comparatif tient en entier : pas de scroll horizontal masqué. */
  .l2-compare-table {
    min-width: 0;
  }

  .l2-compare-table th,
  .l2-compare-table td {
    padding: 11px 7px;
  }

  .l2-compare-table thead th:first-child {
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .l2-compare-table thead th:not(:first-child),
  .l2-compare-table tbody td {
    width: 58px;
  }

  .l2-compare-table tbody th {
    font-size: 13px;
    line-height: 1.35;
  }

  .l2-compare-plan {
    font-size: 12.5px;
  }

  .l2-compare-price {
    font-size: 10.5px;
  }

  .l2-price-full {
    display: none;
  }

  .l2-price-short {
    display: inline;
  }

  .l2-compare-yes {
    width: 21px;
    height: 21px;
  }

  .l2-compare-yes svg {
    width: 11px;
    height: 11px;
  }

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

  .l2-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

  .l2-btn:hover,
  .l2-module:hover {
    transform: none;
  }
}
