@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  --brand-50: #e7f5f0;
  --brand-100: #c9eadd;
  --brand-600: #0b7a5c;
  --brand-700: #065f46;
  --brand-900: #053d2e;
  --canvas: #f4f6f9;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --subtle: #64748b;
  --line: #e2e8f0;
  --amber: #b45309;
  --amber-50: #fef3c7;
  --sky: #0369a1;
  --sky-50: #e0f2fe;
  --rose: #be123c;
  --rose-50: #ffe4e6;
  --radius-card: 20px;
  --radius-control: 14px;
  --shadow-card: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 24px rgb(15 23 42 / 0.06);
  --shadow-float: 0 24px 60px rgb(6 95 70 / 0.18), 0 4px 12px rgb(15 23 42 / 0.08);
  --container: 1120px;
}

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

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

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

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

a {
  color: var(--brand-600);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-700);
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

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

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--surface);
  padding: 8px 14px;
}

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(244 246 249 / 0.85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgb(226 232 240 / 0.7);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

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

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.site-nav a:hover {
  color: var(--ink);
}

@media (max-width: 860px) {
  .site-nav .nav-link {
    display: none;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-control);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 8px 20px rgb(11 122 92 / 0.28);
}

.btn-primary:hover {
  background: var(--brand-700);
  color: #fff;
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #cbd5e1;
}

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

.site-nav .btn-primary {
  color: #fff;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 760px;
  height: 760px;
  background: radial-gradient(closest-side, rgb(11 122 92 / 0.16), transparent);
  pointer-events: none;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 14px;
  font-weight: 700;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-600);
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(38px, 5.6vw, 62px);
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand-600);
}

.hero .lead {
  margin-top: 20px;
  font-size: 19px;
  color: var(--muted);
  max-width: 34em;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--subtle);
  font-size: 15px;
  font-weight: 600;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points svg {
  width: 18px;
  height: 18px;
  color: var(--brand-600);
}

@media (max-width: 900px) {
  .hero {
    padding: 48px 0 72px;
  }

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

/* ---------- Téléphone (illustration) ---------- */

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 300px;
  padding: 12px;
  border-radius: 44px;
  background: #0f172a;
  box-shadow: var(--shadow-float);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: var(--canvas);
  padding: 46px 16px 84px;
  min-height: 580px;
  font-size: 13px;
  line-height: 1.4;
}

.phone-screen::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  width: 90px;
  height: 24px;
  border-radius: 999px;
  background: #0f172a;
  transform: translateX(-50%);
}

.ph-hello {
  font-size: 12px;
  color: var(--subtle);
  font-weight: 600;
}

.ph-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ph-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: var(--brand-600);
  color: #fff;
  font-weight: 700;
}

.ph-cta span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.18);
}

.ph-cta small {
  display: block;
  font-weight: 500;
  opacity: 0.85;
  font-size: 11px;
}

.ph-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.ph-quick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}

.ph-quick svg {
  width: 20px;
  height: 20px;
  color: var(--brand-600);
}

.ph-section {
  margin: 16px 2px 8px;
  font-size: 12px;
  font-weight: 800;
}

.ph-card {
  padding: 12px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.ph-card + .ph-card {
  margin-top: 8px;
}

.ph-card strong {
  display: block;
  font-size: 13px;
}

.ph-card p {
  color: var(--subtle);
  font-size: 11px;
  margin-top: 2px;
}

.ph-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-sky {
  background: var(--sky-50);
  color: var(--sky);
}

.badge-amber {
  background: var(--amber-50);
  color: var(--amber);
}

.badge-green {
  background: var(--brand-50);
  color: var(--brand-700);
}

.ph-nav {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: space-around;
  padding: 10px 6px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgb(15 23 42 / 0.14);
}

.ph-nav span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 30px;
  border-radius: 12px;
  color: var(--subtle);
}

.ph-nav span.on {
  background: var(--brand-50);
  color: var(--brand-600);
}

.ph-nav svg {
  width: 18px;
  height: 18px;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-float);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.float-card small {
  display: block;
  font-weight: 500;
  color: var(--subtle);
  font-size: 11px;
}

.float-card .dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-600);
}

.float-card .dot svg {
  width: 18px;
  height: 18px;
}

.float-a {
  top: 34px;
  left: -130px;
}

.float-b {
  bottom: 140px;
  right: -80px;
}

@media (max-width: 1100px) {
  .float-card {
    display: none;
  }
}

@media (max-width: 520px) {
  .phone {
    width: 272px;
  }

  .float-card {
    display: none;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 96px 0;
}

.section-white {
  background: var(--surface);
}

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

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

.kicker {
  color: var(--brand-600);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
}

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

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

  .section-head {
    margin-bottom: 32px;
  }
}

/* ---------- Constat ---------- */

.pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pain {
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--canvas);
}

.pain .quote {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pain p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 860px) {
  .pains {
    grid-template-columns: 1fr;
  }
}

/* ---------- Fonctionnalités ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.feature.wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  color: #fff;
}

.feature.wide p,
.feature.wide li {
  color: rgb(255 255 255 / 0.86);
}

.feature.wide .icon {
  background: rgb(255 255 255 / 0.16);
  color: #fff;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand-600);
}

.icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin-top: 18px;
  font-size: 21px;
  font-weight: 800;
}

.feature p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

.feature ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--muted);
}

.feature li {
  position: relative;
  padding-left: 22px;
}

.feature li + li {
  margin-top: 6px;
}

.feature li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  color: var(--brand-600);
}

.feature.wide li::before {
  color: var(--brand-100);
}

.steps-mini {
  display: grid;
  gap: 10px;
}

.step-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.1);
  font-weight: 600;
  font-size: 15px;
}

.step-mini b {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-700);
  font-size: 13px;
}

@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }

  .feature.wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

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

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

.role {
  padding: 32px 28px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--surface);
}

.role h3 {
  font-size: 22px;
  font-weight: 800;
}

.role .tag {
  display: inline-block;
  margin-bottom: 14px;
}

.role ul {
  margin: 16px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}

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

@media (max-width: 860px) {
  .roles {
    grid-template-columns: 1fr;
  }
}

/* ---------- Positionnement ---------- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.compare-col {
  padding: 32px;
  border-radius: var(--radius-card);
}

.compare-col h3 {
  font-size: 20px;
  font-weight: 800;
}

.compare-col ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.compare-col li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgb(15 23 42 / 0.07);
  font-size: 16px;
}

.compare-col li svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.compare-yes {
  background: var(--brand-50);
}

.compare-yes li svg {
  color: var(--brand-600);
}

.compare-no {
  background: var(--surface);
  border: 1px solid var(--line);
}

.compare-no li {
  color: var(--muted);
}

.compare-no li svg {
  color: var(--subtle);
}

@media (max-width: 760px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mise en place ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-600);
  color: #fff;
  font-weight: 800;
}

.steps h3 {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 800;
}

.steps p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Confiance ---------- */

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  padding: 24px;
  border-radius: var(--radius-card);
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.12);
}

.trust-item svg {
  width: 26px;
  height: 26px;
  color: var(--brand-100);
}

.trust-item h3 {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 800;
}

.trust-item p {
  margin-top: 6px;
  font-size: 15px;
  color: rgb(255 255 255 / 0.75);
}

.section-dark {
  background: var(--brand-900);
  color: #fff;
}

.section-dark .kicker {
  color: var(--brand-100);
}

.section-dark .section-head p {
  color: rgb(255 255 255 / 0.78);
}

@media (max-width: 960px) {
  .trust {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .trust {
    grid-template-columns: 1fr;
  }
}

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

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

.faq details {
  border-bottom: 1px solid var(--line);
}

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

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

.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  padding: 0 48px 22px 0;
  color: var(--muted);
}

/* ---------- Appel final ---------- */

.cta-box {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 32px;
  padding: 56px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgb(201 234 221 / 0.35), transparent 40%),
    linear-gradient(135deg, var(--brand-700), var(--brand-600));
  color: #fff;
}

.cta-box h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 800;
}

.cta-box p {
  margin-top: 14px;
  color: rgb(255 255 255 / 0.85);
  font-size: 18px;
}

.cta-box .actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-box .btn-primary {
  background: #fff;
  color: var(--brand-700);
  box-shadow: none;
}

.cta-box .btn-primary:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

.cta-box .note {
  font-size: 14px;
  text-align: center;
  color: rgb(255 255 255 / 0.75);
}

@media (max-width: 860px) {
  .cta-box {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
}

/* ---------- Pied de page ---------- */

.site-footer {
  padding: 48px 0;
  color: var(--subtle);
  font-size: 15px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

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

/* ---------- Pages de texte ---------- */

.prose {
  max-width: 760px;
  padding: 64px 20px 96px;
  margin: 0 auto;
}

.prose h1 {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
}

.prose h2 {
  margin-top: 40px;
  font-size: 22px;
  font-weight: 800;
}

.prose p,
.prose address {
  margin-top: 12px;
  color: var(--muted);
  font-style: normal;
}

.prose .updated {
  margin-top: 10px;
  color: var(--subtle);
  font-size: 15px;
}

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

  .btn {
    transition: none;
  }
}

/* Icônes (sprite Lucide en ligne dans chaque page) */
svg.i {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sprite {
  display: none;
}

.cta-box .btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.6);
}

.cta-box .btn-ghost:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.1);
}
