/* Famille visuelle Plateforme / mobilier restylé.
   Poppins auto-hébergée : la CSP n'autorise pas fonts.googleapis.com. */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-latinext-400.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;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-latin-400.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: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-latinext-500.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;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-latin-500.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: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-latinext-600.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;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-latin-600.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: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins-latinext-700.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;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins-latin-700.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;
}

:root {
  --violet: #5936f6;
  --ink: #0e0e52;
  --yellow: #f1c40f;
  --bg: #f6f5fb;
  --muted: #454567;
  --line: #dfe5ff;
  --soft: #f3efff;
  --white: #ffffff;
  --shadow: 0 10px 24px rgba(14, 14, 82, 0.08);
  --radius: 1rem;
  --page: clamp(1rem, 4vw, 2rem);
  --header-h: 4.5rem;
  --font: "Poppins", Helvetica, Arial, sans-serif;
  --max: 72rem;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; }

a { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  border-radius: 0.75rem;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(14, 14, 82, 0.06);
}

.util { display: none; }

.util-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem var(--page) 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #6e6e8a;
  font-size: 0.75rem;
  font-weight: 500;
}

.util a {
  color: #6e6e8a;
  text-decoration: none;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

.util a:hover { color: var(--violet); }

.sep {
  width: 1px;
  height: 12px;
  background: #cbd0d6;
  display: inline-block;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.55rem var(--page);
  display: flex;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  margin-right: auto;
}

.brand:hover { color: var(--ink); }

.mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--violet);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  flex: 0 0 auto;
}

.brand-name {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 0.35rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover { background: #f3f4f6; color: var(--violet); }

.site-nav a[aria-current="page"] { color: var(--violet); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn-primary {
  background: var(--violet);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--ink);
  color: var(--white);
}

.site-nav .btn-primary {
  color: var(--white);
  margin-left: 0.35rem;
}

.site-nav .btn-primary:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--violet);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--soft);
  color: var(--violet);
}

main { display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page);
}

.hero {
  padding: 1.35rem 0 0.35rem;
  background-image:
    radial-gradient(ellipse 70% 55% at 100% -10%, rgba(89, 54, 246, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 35% at 0% 100%, rgba(241, 196, 15, 0.22), transparent 46%);
}

.hero-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 1.5rem 2rem;
  align-items: center;
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2.4rem);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  padding: 0.3rem 0.7rem 0.3rem 0.45rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.kicker i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--yellow);
  display: inline-block;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.underline {
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-size: 100% 0.32em;
  background-position: 0 88%;
}

.lead {
  margin: 0 0 1.35rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel {
  background: var(--bg);
  border-radius: 1.15rem;
  padding: 0.85rem;
  display: grid;
  gap: 0.7rem;
  align-content: center;
}

.panel-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: var(--white);
}

.panel-card strong {
  display: block;
  font-size: 1rem;
}

.panel-card span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.panel-card.alt {
  background: var(--soft);
  border-color: transparent;
}

.dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--violet);
  display: inline-block;
  margin-bottom: 0.45rem;
}

.dot.yellow { background: var(--yellow); }

.section {
  padding: 1.25rem 0 0.5rem;
}

.section h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.section-intro {
  margin: 0 0 1.1rem;
  color: var(--muted);
  max-width: 40rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.15rem 1.25rem;
  border: 1px solid transparent;
}

.icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  background: var(--soft);
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon svg { width: 1.35rem; height: 1.35rem; }

.card h3 {
  margin: 0.75rem 0 0.4rem;
  font-size: 1.05rem;
}

.card p { margin: 0; color: var(--muted); }

.card a { font-weight: 600; }

.scope {
  margin: 1.5rem auto 0.5rem;
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 0.8fr);
  gap: 1rem 2rem;
  align-items: center;
}

.scope h2 { margin: 0 0 0.45rem; font-size: 1.35rem; }
.scope p { margin: 0; color: var(--muted); }

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

.scope li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.1rem;
  font-weight: 600;
}

.scope li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--yellow);
}

.page {
  padding: 1.5rem 0 2rem;
}

.page-card {
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: clamp(1.15rem, 3vw, 2rem);
  max-width: 46rem;
}

.page-card h1 { font-size: clamp(1.7rem, 3vw, 2.35rem); }

.page-card p { color: var(--muted); }

.contact-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-height: 44px;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--bg);
  text-decoration: none;
  color: var(--ink);
}

.contact-list a:hover { border-color: var(--violet); background: var(--soft); color: var(--ink); }

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

.contact-list strong { font-size: 1.02rem; }

.note {
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.site-footer {
  margin-top: 2.5rem;
  background: #0e0e52;
  color: var(--white);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem var(--page) 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem 2rem;
}

.site-footer h2 {
  margin: 0 0 0.7rem;
  color: var(--white);
  font-size: 1rem;
}

.site-footer p,
.site-footer a { color: var(--white); }

.site-footer p { margin: 0; font-size: 0.9375rem; line-height: 1.55; }

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

.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
  font-size: 0.875rem;
}

.site-footer li a:hover { color: var(--violet); }

.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .util { display: block; }
}

@media (max-width: 860px) {
  .hero-sheet,
  .cards,
  .scope,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  :root { --page: 1rem; }

  .page-card a { overflow-wrap: anywhere; }

  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.15rem;
    padding-bottom: 0.15rem;
  }

  .site-nav .btn-primary {
    margin-left: auto;
    min-height: 44px;
    padding-inline: 0.9rem;
  }

  .cta-row .btn { width: 100%; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 1rem; }
  .site-nav a:not(.btn) {
    padding-inline: 0.45rem;
    font-size: 0.875rem;
  }
}

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