:root {
  --lic-navy: #0b1f4d;
  --lic-blue: #0d4ea6;
  --lic-blue-dark: #093b80;
  --lic-text: #46536e;
  --lic-bg: #f5f8fd;

  --lic-card-blue: #eef4fd;
  --lic-card-blue-border: #dce7f7;
  --lic-icon-blue: #dbe7fa;

  --lic-card-warm: #fdf8ec;
  --lic-card-warm-border: #f3e6c6;
  --lic-icon-warm: #fbeccb;
  --lic-amber: #b0700f;

  --lic-radius: 20px;
  --lic-shadow: 0 1px 2px rgba(11, 31, 77, .04), 0 18px 40px -20px rgba(11, 31, 77, .18);
  --lic-font: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--lic-font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--lic-text);
  background: var(--lic-bg);
  -webkit-font-smoothing: antialiased;
}

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

.lic-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Page et formes décoratives d'arrière-plan */
.lic-page {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--lic-bg) 70%);
}

.lic-page::before,
.lic-page::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.lic-page::before {
  top: -320px;
  left: -280px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle at 60% 60%, #e4edfb 0%, #edf3fc 55%, rgba(237, 243, 252, 0) 72%);
}

.lic-page::after {
  top: 220px;
  right: -340px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at 35% 40%, #e2ebfa 0%, #ecf2fc 50%, rgba(236, 242, 252, 0) 72%);
}

/* En-tête */
.lic-header {
  display: flex;
  justify-content: center;
  padding: 28px 16px 0;
}

.lic-logo {
  display: inline-block;
  border-radius: 4px;
}

.lic-logo img {
  width: 104px;
  height: auto;
}

.lic-logo:focus-visible {
  outline: 3px solid var(--lic-blue);
  outline-offset: 4px;
}

.lic-main {
  flex: 1;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

/* Titre */
.lic-hero {
  text-align: center;
}

.lic-hero__title {
  margin: 22px auto 10px;
  max-width: 20ch;
  font-size: clamp(1.9rem, 1.05rem + 3.4vw, 3.3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--lic-navy);
  text-wrap: balance;
}

.lic-hero__lead {
  margin: 0;
  font-size: clamp(1.1rem, .95rem + .7vw, 1.5rem);
  color: #4d5a77;
}

/* Illustration */
.lic-scene {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(16px, 4.5vw, 64px);
  max-width: 1000px;
  margin: clamp(28px, 4vw, 44px) auto 0;
}

.lic-scene::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 5px;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, rgba(205, 217, 236, 0), #cdd9ec 20%, #cdd9ec 80%, rgba(205, 217, 236, 0));
}

.lic-scene__laptop {
  flex: 0 1 400px;
  width: 100%;
  height: auto;
}

.lic-scene__side {
  height: auto;
}

.lic-scene__side--left {
  flex: 0 1 180px;
}

.lic-scene__side--right {
  flex: 0 1 220px;
}

.lic-scene text {
  font-family: var(--lic-font);
  font-size: 11px;
  font-weight: 500;
}

.lic-scene__sparks {
  animation: lic-sparks 2.6s ease-in-out infinite;
}

@keyframes lic-sparks {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* Cartes */
.lic-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(32px, 4vw, 48px);
}

.lic-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  column-gap: clamp(20px, 2.4vw, 32px);
  row-gap: 28px;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid;
  border-radius: var(--lic-radius);
  box-shadow: var(--lic-shadow);
  animation: lic-rise .6s cubic-bezier(.2, .7, .3, 1) both;
}

.lic-card--contact {
  background: var(--lic-card-blue);
  border-color: var(--lic-card-blue-border);
}

.lic-card--reporting {
  background: var(--lic-card-warm);
  border-color: var(--lic-card-warm-border);
  animation-delay: .12s;
}

.lic-card__icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
}

.lic-card__icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lic-card--contact .lic-card__icon {
  background: var(--lic-icon-blue);
  color: var(--lic-blue);
}

.lic-card--reporting .lic-card__icon {
  background: var(--lic-icon-warm);
  color: var(--lic-amber);
}

.lic-card__title {
  margin: 6px 0 12px;
  font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--lic-navy);
  text-wrap: balance;
}

.lic-card__text {
  margin: 0;
  font-size: 1.0625rem;
}

/* Bouton */
.lic-btn {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 60px;
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--lic-blue);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 22px -10px rgba(13, 78, 166, .6);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.lic-btn svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lic-btn:hover {
  background: var(--lic-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(9, 59, 128, .6);
}

.lic-btn:active {
  transform: translateY(0);
}

.lic-btn:focus-visible {
  outline: 3px solid var(--lic-navy);
  outline-offset: 3px;
}

/* Pied de page */
.lic-footer {
  padding: 0 16px 32px;
  text-align: center;
  font-size: .9375rem;
}

.lic-footer a {
  color: var(--lic-blue);
  text-decoration: underline;
  text-decoration-color: rgba(13, 78, 166, .35);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease;
}

.lic-footer a:hover {
  text-decoration-color: currentColor;
}

.lic-footer a:focus-visible {
  outline: 2px solid var(--lic-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

@keyframes lic-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .lic-cards {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 720px) {
  .lic-scene__side {
    display: none;
  }

  .lic-scene__laptop {
    flex-basis: 340px;
  }
}

@media (max-width: 480px) {
  .lic-main {
    padding: 0 16px 40px;
  }

  .lic-card {
    grid-template-columns: 1fr;
    row-gap: 20px;
    padding: 24px;
  }

  .lic-card__icon {
    width: 64px;
    height: 64px;
  }

  .lic-card__icon svg {
    width: 30px;
    height: 30px;
  }

  .lic-card__title {
    margin-top: 0;
  }

  .lic-btn {
    padding: 14px 18px;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lic-card,
  .lic-scene__sparks {
    animation: none;
  }

  .lic-btn {
    transition: none;
  }

  .lic-btn:hover {
    transform: none;
  }
}
