/* Site public KORA : feuille de style du modèle « barre flottante, grand titre, captures, sections ». */
:root {
  --ink: #1d1d1d;
  --grey: #4d585f;
  --grey-soft: #9aa3ab;
  --line: #e6e6e6;
  --soft: #eef1f4;
  --white: #ffffff;
  --dark: #0e0e0e;
  --dark-2: #1d1d1d;
  --brand: #2563eb;
  --brand-2: #7c3aed;
  --brand-soft: #eaf0ff;
  --good: #16a34a;
  --critical: #ef4444;
  --display: "Bricolage Grotesque", "Manrope", "Segoe UI", Arial, sans-serif;
  --sans: "Inter", "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --grad: linear-gradient(110deg, #2563eb 0%, #7c3aed 100%);
  --radius-card: 26px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
}
.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}
.center {
  text-align: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

/* Apparition au défilement */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease var(--d, 0s),
    transform 0.7s ease var(--d, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track,
  .tile,
  .ai-icon {
    animation: none !important;
  }
}

/* Bouton d'action : dégradé bleu, anneau blanc, flèche dans une pastille */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 7px 0 24px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    inset 4px 4px 8px rgba(255, 255, 255, 0.3),
    inset -4px -4px 8px rgba(255, 255, 255, 0.12),
    0 0 0 3px var(--white),
    0 0 0 4px rgba(37, 99, 235, 0.25),
    0 14px 34px rgba(37, 99, 235, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.cta:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 4px 4px 8px rgba(255, 255, 255, 0.3),
    inset -4px -4px 8px rgba(255, 255, 255, 0.12),
    0 0 0 3px var(--white),
    0 0 0 4px rgba(37, 99, 235, 0.35),
    0 18px 40px rgba(37, 99, 235, 0.45);
}
.cta-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  flex: none;
}
.cta-arrow svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cta-sm {
  height: 44px;
  padding-left: 18px;
  font-size: 15px;
  gap: 10px;
}
.cta-sm .cta-arrow {
  width: 30px;
  height: 30px;
}
.cta-sm .cta-arrow svg {
  width: 14px;
  height: 14px;
}

/* Barre flottante */
.nav-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  position: relative;
  width: min(860px, 100%);
  height: 72px;
  padding: 0 12px 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.08);
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.35);
}
.logo-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 10px;
  margin-right: auto;
}
.nav-links a {
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
  font-size: 15px;
  color: var(--grey);
  padding: 9px 12px;
  border-radius: 999px;
  transition: background 0.15s;
}
.nav-links a:hover,
.nav-links a.is-active {
  background: var(--soft);
  color: var(--ink);
}
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.burger span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Héros */
.hero {
  position: relative;
  padding: 164px 0 40px;
  overflow: hidden;
  background-color: var(--white);
  background-image: radial-gradient(rgba(29, 29, 29, 0.08) 1px, transparent 1.2px);
  background-size: 22px 22px;
}
.hero-glow {
  position: absolute;
  inset: -10% -10% auto;
  height: 80%;
  pointer-events: none;
  background:
    radial-gradient(42% 55% at 28% 35%, rgba(37, 99, 235, 0.2), transparent 70%),
    radial-gradient(38% 50% at 74% 28%, rgba(124, 58, 237, 0.16), transparent 70%),
    radial-gradient(60% 50% at 50% 80%, rgba(255, 255, 255, 0.9), transparent 70%);
  filter: blur(18px);
}
.hero-inner {
  position: relative;
  text-align: center;
}
.hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.024em;
  color: var(--ink);
}
.lead {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--grey);
}
.hero-actions {
  margin-top: 32px;
}
.trust {
  list-style: none;
  padding: 0;
  margin: 30px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 0;
  font-weight: 500;
  font-size: 15px;
  color: var(--grey);
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
}
.trust li + li {
  border-left: 1px solid #d6dbe0;
}
.trust svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile {
  position: absolute;
  z-index: 1;
  width: 92px;
  height: 92px;
  border-radius: 26px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 55%, #7c3aed 100%);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 46px;
  box-shadow:
    0 30px 50px rgba(37, 99, 235, 0.28),
    inset 0 -8px 14px rgba(0, 0, 0, 0.18),
    inset 0 8px 12px rgba(255, 255, 255, 0.3);
  animation: float 7s ease-in-out infinite;
}
.tile svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile-left {
  left: max(16px, 7vw);
  top: 246px;
  transform: rotate(-14deg);
}
.tile-right {
  right: max(16px, 7vw);
  top: 262px;
  transform: rotate(10deg);
  animation-delay: -3s;
}
@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}
.hero-visual {
  position: relative;
  margin: 60px auto 0;
  max-width: 840px;
}
/* Lueur bleue et violette derrière le visuel, comme un halo sous la carte. */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% -10% -14%;
  pointer-events: none;
  background:
    radial-gradient(48% 55% at 40% 65%, rgba(37, 99, 235, 0.3), transparent 72%),
    radial-gradient(42% 50% at 70% 50%, rgba(124, 58, 237, 0.22), transparent 72%);
  filter: blur(42px);
}
.hero-visual-frame {
  position: relative;
  border-radius: 28px;
  padding: 9px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.32), rgba(124, 58, 237, 0.32));
  box-shadow: 0 40px 100px rgba(16, 24, 40, 0.18);
}
.hero-visual-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #0b1220;
  object-fit: cover;
}
.hero-visual-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 665;
  object-fit: cover;
  object-position: top;
  border-radius: 22px;
  background: linear-gradient(160deg, #0b1220, #1e3a8a);
}

/* Titres centrés */
.center-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}
.center-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.center-head p {
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--grey);
}
.center-head .cta {
  margin-top: 26px;
}
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 16px;
}

/* Problème : le téléphone déborde sur la carte sombre qui suit */
.problem {
  padding: 110px 0 0;
}
.problem-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr);
  align-items: center;
  min-height: 480px;
}
.phone {
  position: relative;
  z-index: 3;
  width: 222px;
  justify-self: center;
  border-radius: 40px;
  background: var(--dark);
  padding: 10px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.28);
  transform: rotate(-6deg) translateY(82px);
}
.phone.is-visible {
  transform: rotate(-6deg) translateY(60px);
}
.phone-screen {
  border-radius: 31px;
  overflow: hidden;
  background: #f4f6fa;
  aspect-ratio: 390 / 844;
}
.phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.float-card {
  position: relative;
  z-index: 4;
  max-width: 400px;
  background: var(--white);
  border: 1px solid #f0f0f0;
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
  text-align: center;
}
.float-left {
  justify-self: end;
  margin-right: -34px;
}
.float-right {
  justify-self: start;
  margin-left: -34px;
}
.float-card h3 {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.float-card p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--grey);
}

/* Section sombre */
.dark {
  padding: 36px 16px 0;
}
.dark-card {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
  border-radius: 40px;
  padding: 128px 0 92px;
}
/* Lueurs colorées de part et d'autre de la capture. */
.dark-card::before,
.dark-card::after {
  content: "";
  position: absolute;
  top: 32%;
  width: 46%;
  height: 52%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.85;
}
.dark-card::before {
  left: -8%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(124, 58, 237, 0.55), transparent 70%);
}
.dark-card::after {
  right: -8%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(37, 99, 235, 0.5), transparent 70%);
}
.dark-lines i,
.dark-lines b {
  position: absolute;
  pointer-events: none;
}
.dark-lines i {
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
}
.dark-lines i:first-child {
  left: 48px;
}
.dark-lines i:nth-child(2) {
  right: 48px;
}
.dark-lines b {
  width: 18px;
  height: 18px;
  bottom: 160px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)) center / 18px 1px
      no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)) center / 1px 18px
      no-repeat;
}
.dark-lines b:nth-child(3) {
  left: 40px;
}
.dark-lines b:nth-child(4) {
  right: 40px;
}
.dark-glow {
  position: absolute;
  left: 50%;
  top: -8%;
  width: 980px;
  height: 640px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(
    50% 50% at 50% 40%,
    rgba(124, 58, 237, 0.6),
    rgba(37, 99, 235, 0.3) 45%,
    transparent 72%
  );
  filter: blur(28px);
}
.dark-inner {
  position: relative;
}
.dark .center-head h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(28px, 3.3vw, 42px);
  letter-spacing: -0.045em;
  line-height: 1.2;
  color: var(--white);
}
.dark .center-head p {
  color: rgba(255, 255, 255, 0.72);
}
.screen {
  margin: 52px auto 0;
  max-width: 860px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(124, 58, 237, 0.25);
}
.screen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 665;
  object-fit: cover;
  object-position: top;
  background: #f4f6fa;
}
.screen-light {
  box-shadow: 0 30px 80px rgba(16, 24, 40, 0.14);
  border: 1px solid var(--line);
}
.marquee-title {
  text-align: center;
  margin: 72px 0 24px;
  font-weight: 600;
  font-size: 19px;
}
.marquee {
  overflow: hidden;
  margin-bottom: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding-right: 12px;
  animation: slide 46s linear infinite;
}
.marquee-reverse .marquee-track {
  animation-direction: reverse;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 12px;
  background: #1f1f1f;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.chip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}
.dark .center {
  margin-top: 40px;
}

/* Comment ça marche */
.how {
  padding: 120px 0 24px;
}
.step {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 44px;
  align-items: center;
  padding: 44px 0;
}
.step-num {
  font-weight: 500;
  font-size: 17px;
  color: var(--grey);
}
.step h3 {
  margin: 12px 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.step p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--grey);
  max-width: 46ch;
}
.step-visual {
  position: relative;
  padding: 32px;
  border-radius: 30px;
  overflow: hidden;
  background-color: #ebebeb;
  background-image: radial-gradient(rgba(29, 29, 29, 0.14) 1px, transparent 1.2px);
  background-size: 18px 18px;
}
.browser {
  position: relative;
  background: #111;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}
.browser-bar {
  height: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px 8px;
}
.browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a3a3a;
}
.browser img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 665;
  object-fit: cover;
  object-position: top left;
  border-radius: 9px;
  background: #f4f6fa;
}

/* Intelligence artificielle : l'IA propose, le code décide */
.ai {
  padding: 96px 0 48px;
}
.ai-stage {
  position: relative;
  max-width: 760px;
  margin: 40px auto 0;
  padding: 36px 0 8px;
}
.ai-stage::before {
  content: "";
  position: absolute;
  inset: 0 -10% -20%;
  pointer-events: none;
  background: radial-gradient(50% 55% at 50% 55%, rgba(37, 99, 235, 0.22), transparent 70%);
  filter: blur(36px);
}
.ai-box {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px 20px;
  text-align: left;
  box-shadow: 0 30px 80px rgba(37, 99, 235, 0.14);
}
.ai-box .eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}
.ai-box .out {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}
.ai-box .out strong {
  font-weight: 600;
}
.ai-box-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--grey);
}
.ai-box-foot .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: #1d4ed8;
  font-weight: 600;
  font-size: 13px;
}
.ai-box-foot .pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--critical);
}
.ai-icon {
  position: absolute;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.1);
  animation: float 6s ease-in-out infinite;
}
.ai-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ai-icon:nth-child(1) {
  left: -70px;
  top: 40px;
}
.ai-icon:nth-child(2) {
  right: -70px;
  top: 20px;
  animation-delay: -2s;
}
.ai-icon:nth-child(3) {
  left: -40px;
  bottom: 10px;
  animation-delay: -4s;
}
.ai-icon:nth-child(4) {
  right: -36px;
  bottom: 40px;
  animation-delay: -1s;
}
.ai-icon:nth-child(4) svg,
.ai-icon:nth-child(1) svg {
  stroke: var(--brand-2);
}
.ai-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}
.ai-chip svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--grey);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ai-note {
  margin: 22px auto 0;
  max-width: 560px;
  text-align: center;
  font-size: 15px;
  color: var(--grey);
}

/* Formation */
.training {
  padding: 72px 0 56px;
}

/* Comparatif */
.compare {
  padding: 112px 0 88px;
}
.compare-title {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.028em;
}
.grad {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tabs {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 52px auto 0;
}
.tab {
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 0;
  padding: 20px 32px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--grey-soft);
  border-radius: 18px 18px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.tab.is-active {
  color: var(--ink);
}
.tab-mark {
  position: relative;
  z-index: 3;
  width: 120px;
  height: 120px;
  margin: 0 -20px -22px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.16);
}
.tab-mark span {
  width: 86px;
  height: 86px;
  border-radius: 26px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 55%, #7c3aed 100%);
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 48px;
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 8px 12px rgba(255, 255, 255, 0.3),
    inset 0 -8px 14px rgba(0, 0, 0, 0.18);
}
.compare-card {
  position: relative;
  max-width: 1040px;
  margin: -1px auto 0;
  background: var(--dark-2);
  color: var(--white);
  border-radius: 28px;
  padding: 64px 48px 0;
  overflow: hidden;
  min-height: 480px;
  transition: background 0.3s;
}
.compare-card.is-muted {
  background: #363b41;
}
.panel {
  display: none;
}
.panel.is-active {
  display: block;
}
.panel h3 {
  text-align: center;
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}
.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 36px;
  align-items: start;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
}
.checks li {
  position: relative;
  padding-left: 32px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background: var(--good);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.checks.crosses li::before {
  background: var(--critical);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
/* Écran : la capture dans un moniteur, pied compris, coupé par le bas de la carte. */
.monitor {
  position: relative;
  padding: 10px 10px 0;
  background: #161616;
  border: 1px solid #2a2a2a;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.monitor-stand {
  width: 30%;
  height: 72px;
  margin: 0 auto;
  background: linear-gradient(90deg, #5f5f5f, #9c9c9c 50%, #5f5f5f);
  border-radius: 0 0 12px 12px;
}
.panel-shot {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background: var(--white);
}
.panel-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 665;
  object-fit: cover;
  object-position: top;
  background: #f4f6fa;
}
.panel-shot-empty {
  height: 300px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  border-radius: 16px 16px 0 0;
}
.compare .center {
  margin-top: 44px;
}

/* Fonctionnalités */
.features {
  padding: 40px 0 120px;
}
.split-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}
.split-head h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.028em;
}
.split-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  text-align: right;
}
.split-side p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--grey);
  max-width: 400px;
}
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 40px 28px 0;
  border-radius: var(--radius-card);
  text-align: center;
}
.card-light {
  background: var(--soft);
}
.card-sky {
  background: linear-gradient(180deg, #e3efff 0%, #c6dbff 100%);
}
.card-dark {
  background: var(--dark);
  color: var(--white);
}
.card-wide {
  grid-column: span 2;
}
.card h3 {
  font-size: 26px;
  letter-spacing: -0.02em;
}
.card p {
  max-width: 420px;
  margin: 10px auto 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--grey);
}
.card-dark p {
  color: rgba(255, 255, 255, 0.75);
}
.card-shot {
  margin-top: auto;
  padding: 28px 0 0;
  height: 268px;
  overflow: hidden;
}
.card-wide .card-shot {
  height: 300px;
}
/* La carte Écoute montre le début du bandeau et le bouton, pas le milieu. */
.bento .card:nth-child(5) .card-shot img {
  object-position: left top;
}
.card-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 12px 12px 0 0;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

/* Questions fréquentes */
.faq {
  padding: 88px 0 104px;
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 44px;
  align-items: start;
}
.faq h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.028em;
}
.faq-grid > div > p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--grey);
}
.accordion details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 12px;
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}
.accordion details[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.accordion details p {
  margin-top: 14px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--grey);
}

/* Appel final et pied de page */
.final {
  padding: 120px 0 32px;
  background:
    radial-gradient(60% 40% at 20% 30%, rgba(255, 255, 255, 0.9), transparent 70%),
    radial-gradient(50% 40% at 80% 60%, rgba(255, 255, 255, 0.7), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #e8f1ff 22%, #b9d4ff 65%, #d9e7ff 100%);
}
.final h2 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.028em;
}
.final > .wrap > p {
  max-width: 540px;
  margin: 20px auto 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--grey);
}
.final-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.link-plain {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}
.footer-card {
  margin-top: 96px;
  background: var(--white);
  border-radius: 36px;
  padding: 64px 56px 32px;
  box-shadow: 0 30px 80px rgba(16, 24, 40, 0.08);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
}
.footer-brand p {
  max-width: 400px;
  margin: 20px 0 26px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey);
}
.pill-dark {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--dark-2);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer-cols h4 {
  font-size: 19px;
  margin: 0 0 16px;
}
.footer-cols a {
  display: block;
  font-size: 15px;
  color: var(--grey);
  text-decoration: none;
  margin-bottom: 12px;
}
.footer-cols a:hover {
  color: var(--brand);
}
.footer-bottom {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  color: var(--grey);
}

/* Cadre sans capture : squelette d'écran KORA (bandeau Nuit, barre latérale, cartes). */
.is-missing {
  position: relative;
}
.is-missing > img {
  visibility: hidden;
}
.is-missing::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(#ffffff, #ffffff) 24% 22% / 22% 18% no-repeat,
    linear-gradient(#ffffff, #ffffff) 56% 22% / 22% 18% no-repeat,
    linear-gradient(#ffffff, #ffffff) 92% 22% / 22% 18% no-repeat,
    linear-gradient(#ffffff, #ffffff) 26% 88% / 42% 42% no-repeat,
    linear-gradient(#ffffff, #ffffff) 94% 88% / 30% 42% no-repeat,
    linear-gradient(#e9edf3, #e9edf3) 0 0 / 15% 100% no-repeat,
    linear-gradient(#0b1220, #0b1220) 0 0 / 100% 9% no-repeat,
    #f4f6fa;
}
.hero-visual-frame.is-missing::after {
  inset: 9px;
  border-radius: 22px;
}
.browser.is-missing::after {
  inset: 40px 10px 10px;
  border-radius: 9px;
}
.phone-screen.is-missing::after {
  background:
    linear-gradient(#ffffff, #ffffff) 50% 28% / 84% 16% no-repeat,
    linear-gradient(#ffffff, #ffffff) 50% 50% / 84% 16% no-repeat,
    linear-gradient(#ffffff, #ffffff) 50% 72% / 84% 16% no-repeat,
    linear-gradient(#2563eb, #2563eb) 50% 93% / 84% 7% no-repeat,
    linear-gradient(#0b1220, #0b1220) 0 0 / 100% 14% no-repeat,
    #f4f6fa;
}
.card-shot.is-missing::after {
  inset: 28px 0 0;
  border-radius: 12px 12px 0 0;
}

/* Écrans moyens */
@media (max-width: 1100px) {
  .tile,
  .ai-icon {
    display: none;
  }
}
@media (max-width: 1024px) {
  .problem {
    padding-bottom: 40px;
  }
  .problem-stage {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }
  .float-left,
  .float-right {
    margin: 0;
    justify-self: center;
  }
  .phone {
    order: -1;
    transform: none;
  }
  .phone.is-visible {
    transform: none;
  }
  .step,
  .panel-grid,
  .split-head,
  .faq-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .split-side {
    align-items: flex-start;
    text-align: left;
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .compare-card {
    padding: 52px 28px 0;
  }
  .dark-card {
    padding: 80px 0 72px;
    border-radius: 32px;
  }
  .dark-lines i:first-child {
    left: 20px;
  }
  .dark-lines i:nth-child(2) {
    right: 20px;
  }
}

/* Téléphones */
@media (max-width: 720px) {
  .nav {
    height: 62px;
    padding: 0 10px 0 16px;
    border-radius: 18px;
  }
  .nav-links {
    display: none;
  }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(16, 24, 40, 0.12);
  }
  .nav .cta-sm {
    display: none;
  }
  .burger {
    display: flex;
    margin-left: auto;
  }
  .hero {
    padding-top: 116px;
  }
  .hero h1 {
    font-size: 32px;
    letter-spacing: -0.02em;
  }
  .lead {
    font-size: 16px;
  }
  .trust li {
    padding: 0 12px;
  }
  .trust li + li {
    border-left: 0;
  }
  .hero-visual-frame {
    padding: 6px;
    border-radius: 20px;
  }
  .hero-visual-frame img,
  .hero-visual-frame video {
    border-radius: 16px;
  }
  .problem,
  .how,
  .ai,
  .compare,
  .faq {
    padding: 72px 0 40px;
  }
  .center-head {
    margin-bottom: 36px;
  }
  .step {
    padding: 28px 0;
    gap: 22px;
  }
  .step-visual {
    padding: 14px;
  }
  .ai-box .out {
    font-size: 16px;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .card-wide {
    grid-column: span 1;
  }
  .card {
    min-height: 420px;
    padding: 30px 20px 0;
  }
  .tab {
    padding: 16px 16px;
    font-size: 15px;
  }
  .tab-mark {
    width: 88px;
    height: 88px;
    margin: 0 -12px -16px;
  }
  .tab-mark span {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    font-size: 34px;
  }
  .compare-card {
    padding: 40px 18px 0;
    border-radius: 22px;
  }
  .final {
    padding-top: 84px;
  }
  .footer-card {
    margin-top: 60px;
    padding: 40px 22px 26px;
    border-radius: 26px;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
}
