/* ==========================================================================
   Dentapli : feuille de style principale
   Direction : Dentapli Royal Signal (palette issue du logo officiel)
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  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: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #FFFFFF;
  --surface: #F5F6FC;
  --ink: #0B1033;
  --ink-2: #1A1F45;
  --line: #E3E6F3;
  --accent: #2825C1;
  --blue: #022899;
  --violet: #771BFB;
  --night: #070B2B;
  --grad: linear-gradient(135deg, #022899 0%, #2825C1 50%, #771BFB 100%);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --pill: 999px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(80px, 11vw, 144px);

  --shadow-soft: 0 1px 2px rgba(2, 40, 153, .06), 0 8px 24px -12px rgba(2, 40, 153, .18);
  --shadow-device: 0 50px 90px -40px rgba(2, 40, 153, .45), 0 24px 48px -24px rgba(40, 37, 193, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
:where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset) { margin: 0; padding: 0; }
:where(ul, ol) { list-style: none; }
:where(fieldset) { border: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
main:focus { outline: none; }

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

.dp-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.dp-skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 10px 18px; border-radius: var(--pill); font-weight: 600;
  transition: top .2s var(--ease);
}
.dp-skip:focus { top: 16px; }

.dp-container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.dp-icon { width: 20px; height: 20px; flex: none; }

.dp-grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .08em;
}

/* Emplacement à compléter (visible uniquement pour l'administratrice) */
.dp-todo {
  display: inline-block;
  font-size: 13px; line-height: 1.4;
  color: #8A1C1C;
  background: #FFF4F2;
  border: 1px dashed #E3A39A;
  border-radius: 8px;
  padding: 6px 10px;
}

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

.dp-btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h);
  padding: 0 24px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font: 600 16px/1.2 var(--font);
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.dp-btn .dp-icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.dp-btn:hover .dp-icon { transform: translateX(3px); }
.dp-btn:active { transform: translateY(1px) scale(.99); }

.dp-btn--primary {
  color: #fff;
  background: var(--grad);
  background-size: 140% 100%;
  background-position: 0 0;
  box-shadow: 0 10px 24px -12px rgba(40, 37, 193, .7), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.dp-btn--primary:hover { background-position: 100% 0; box-shadow: 0 14px 30px -12px rgba(40, 37, 193, .8), inset 0 1px 0 rgba(255, 255, 255, .2); }
.dp-btn--dark { color: #fff; background: var(--ink); }
.dp-btn--dark:hover { background: var(--blue); }
.dp-btn--light { color: var(--ink); background: #fff; }
.dp-btn--light:hover { background: #EEF0FF; }
.dp-btn--block { width: 100%; }

/* ---------- Boutons magasins (non disponibles) ---------- */

.dp-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.dp-store {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px;
  padding: 8px 18px 8px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: not-allowed;
  user-select: none;
}
.dp-store__icon { width: 24px; height: 24px; }
.dp-store__text { display: flex; flex-direction: column; line-height: 1.1; }
.dp-store__text small { font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--accent); }
.dp-store__text strong { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.dp-store--glass {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  backdrop-filter: blur(8px);
}
.dp-store--glass .dp-store__text small { color: #DCD3FF; }

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

.dp-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.dp-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .9); }
.admin-bar .dp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dp-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .dp-header { top: 0; } }

.dp-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px;
}
.dp-logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.dp-logo__img { height: 40px; width: auto; display: block; }\n.dp-footer .dp-logo__img { height: 32px; }\n@media (max-width: 560px) { .dp-header .dp-logo__img { height: 32px; } }
.dp-logo--placeholder span {
  font-weight: 800; font-size: 22px; letter-spacing: -.03em;
  color: var(--blue);
}

.dp-nav { display: flex; align-items: center; gap: 28px; }
.dp-nav__list { display: flex; align-items: center; gap: 28px; }
.dp-nav__list a {
  font-size: 15px; font-weight: 500; color: var(--ink);
  text-decoration: none;
  position: relative; padding: 6px 0;
}
.dp-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.dp-nav__list a:hover::after { transform: scaleX(1); }

.dp-soon {
  display: inline-flex; align-items: center;
  min-height: 38px; padding: 0 16px;
  border-radius: var(--pill);
  font-size: 14px; font-weight: 600; color: var(--blue);
  text-decoration: none;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
  transition: background-color .25s var(--ease);
}
.dp-soon:hover { background: linear-gradient(#F3F0FF, #F3F0FF) padding-box, var(--grad) border-box; }

.dp-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); cursor: pointer;
}
.dp-burger .dp-icon { width: 22px; height: 22px; }
.dp-burger__close { display: none; }
.dp-burger[aria-expanded="true"] .dp-burger__open { display: none; }
.dp-burger[aria-expanded="true"] .dp-burger__close { display: block; }

@media (max-width: 960px) {
  .dp-burger { display: inline-flex; }
  .dp-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(2, 40, 153, .25);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .dp-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .dp-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .dp-nav__list a { display: block; padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .dp-nav__list a::after { display: none; }
  .dp-soon { justify-content: center; min-height: 48px; margin-top: 12px; }
}

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

.dp-hero {
  position: relative;
  padding: clamp(28px, 4vw, 64px) 0 clamp(64px, 8vw, 120px);
  overflow: hidden;
}
.dp-hero__glow {
  position: absolute; inset: -20% -10% auto auto;
  width: min(900px, 90vw); aspect-ratio: 1;
  background:
    radial-gradient(closest-side, rgba(119, 27, 251, .16), transparent 70%),
    radial-gradient(closest-side at 30% 60%, rgba(2, 40, 153, .12), transparent 70%);
  pointer-events: none;
}
.dp-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.dp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--blue);
  margin-bottom: 22px;
}
.dp-eyebrow::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .55);
}
.dp-hero__title {
  font-size: clamp(2.6rem, min(5vw, 8.4vh), 4.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--ink);
  max-width: 13ch;
}
.dp-hero__title .dp-grad-text { display: inline-block; }
.dp-punct { margin-left: -.09em; }
.dp-hero__lead {
  margin-top: 20px;
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 33em;
}
.dp-hero__actions {
  margin-top: 30px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}

.dp-hero__visual {
  position: relative;
  display: grid; justify-items: center;
  padding: 24px 0;
}
.dp-orbit { position: absolute; inset: 50% auto auto 50%; width: 0; height: 0; }
.dp-orbit span {
  position: absolute; left: 50%; top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(40, 37, 193, .14);
  transform: translate(-50%, -54%);
}
.dp-orbit span:nth-child(1) { width: 380px; height: 380px; }
.dp-orbit span:nth-child(2) { width: 540px; height: 540px; border-color: rgba(2, 40, 153, .1); }
.dp-orbit span:nth-child(3) {
  width: 300px; height: 300px; border: 0;
  background: radial-gradient(circle, rgba(119, 27, 251, .35), rgba(2, 40, 153, .15) 45%, transparent 70%);
  filter: blur(30px);
}

.dp-caption {
  margin-top: 22px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-2);
  opacity: .8;
}
.dp-caption--center { text-align: center; margin-top: 40px; }

/* ---------- Téléphone ---------- */

.dp-phone {
  position: relative;
  width: 290px;
  aspect-ratio: 9 / 19.2;
  padding: 11px;
  border-radius: 48px;
  background: linear-gradient(150deg, #23284F, #0B1033 40%, #050822);
  box-shadow: var(--shadow-device), inset 0 0 0 1.5px rgba(255, 255, 255, .14);
}
.dp-phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; z-index: 3;
  width: 92px; height: 26px; border-radius: 20px;
  background: #050822;
  transform: translateX(-50%);
}
.dp-phone__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #fff;
}
.dp-screen__img { width: 100%; height: 100%; object-fit: cover; }
.dp-phone--hero { width: clamp(240px, 44vh, 300px); transform: rotate(-3deg); }

/* Écran d'application (fidèle à la maquette Dentapli) */
.dp-phone__screen { container-type: inline-size; }
.ap {
  --ap-ink: #1B2580; --ap-body: #4B5175; --ap-line: #E7E8F2; --ap-bg: #F4F5FB;
  --ap-grad: linear-gradient(135deg, #022899 0%, #2825C1 50%, #771BFB 100%);
  height: 100%;
  display: flex; flex-direction: column;
  background: var(--ap-bg);
  font-family: var(--font);
  font-size: 4.3cqw;
  color: var(--ap-body);
  line-height: 1.3;
  text-align: left;
}
.ap .dp-icon { width: 1.35em; height: 1.35em; }
.ap__status { display: flex; justify-content: space-between; padding: 1.25em 2em .4em; font-size: .92em; font-weight: 700; color: #0B1033; background: #fff; }
.ap__bar { display: flex; align-items: center; gap: .7em; padding: .5em 1.15em .8em; background: #fff; border-bottom: 1px solid var(--ap-line); }
.ap__tile { width: 2.2em; height: 2.2em; border-radius: .55em; flex: none; object-fit: cover; }
.ap__brand { display: flex; flex-direction: column; line-height: 1.1; }
.ap__brand b { color: var(--ap-ink); font-weight: 800; font-size: 1.15em; }
.ap__brand small { font-size: .78em; color: #8A8FAA; font-weight: 500; }
.ap__bell { margin-left: auto; width: 2.3em; height: 2.3em; border: 1px solid var(--ap-line); border-radius: .6em; display: grid; place-items: center; color: var(--ap-ink); }
.ap__bell .dp-icon { width: 1.15em; height: 1.15em; }
.ap__body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: .6em; padding: .9em 1em .6em; }
.ap__tabs { display: flex; gap: .35em; }
.ap__tabs span { padding: .45em .8em; border-radius: 99px; font-size: .86em; font-weight: 700; color: #6B7092; background: #fff; border: 1px solid var(--ap-line); white-space: nowrap; }
.ap__tabs span.on { color: #fff; background: var(--ap-grad); border-color: transparent; }
.ap__h { font-size: 1.32em; font-weight: 800; color: var(--ap-ink); letter-spacing: -.02em; line-height: 1.15; margin-top: .15em; }
.ap__sub { font-size: .86em; color: #8A8FAA; margin-top: -.45em; }
.ap__card { background: #fff; border: 1px solid var(--ap-line); border-radius: .95em; padding: .75em .85em; display: flex; flex-direction: column; gap: .4em; box-shadow: 0 .4em 1.2em rgba(27, 37, 128, .05); }
.ap__card b { color: var(--ap-ink); font-weight: 750; font-size: .98em; }
.ap__card small { font-size: .84em; color: #6B7092; display: inline-flex; align-items: center; gap: .35em; }
.ap__row { display: flex; align-items: center; justify-content: space-between; gap: .5em; }
.ap__pill { flex: none; font-size: .74em; font-weight: 700; padding: .3em .65em; border-radius: 99px; }
.ap__pill.is-perm { color: #179B57; background: #E7F6EE; }
.ap__pill.is-remp { color: #2825C1; background: #ECEBFD; }
.ap__pill.is-warn { color: #9A6212; background: #FDF3E2; }
.ap__btn { flex: none; font-size: .78em; font-weight: 700; color: #fff; background: var(--ap-grad); padding: .45em .9em; border-radius: .55em; }
.ap__chips { display: flex; gap: .35em; overflow: hidden; }
.ap__chips span { flex: none; font-size: .8em; font-weight: 700; padding: .4em .7em; border-radius: 99px; background: #fff; border: 1px solid var(--ap-line); color: #6B7092; }
.ap__chips span.on { color: #2825C1; background: #ECEBFD; border-color: #D3D2FA; }
.ap__zone { display: flex; align-items: center; justify-content: space-between; font-size: .84em; font-weight: 600; color: var(--ap-ink); background: #EFEFFD; border: 1px solid #DCDBFA; border-radius: .8em; padding: .55em .7em; }
.ap__zone span { color: #fff; background: #2825C1; font-weight: 700; padding: .3em .7em; border-radius: .45em; }
.ap__me { align-items: center; text-align: center; padding: 1em .8em; }
.ap__avatar { width: 3.6em; height: 3.6em; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ap-grad); box-shadow: 0 0 0 .3em #EFEFFD; margin-bottom: .2em; }
.ap__avatar .dp-icon { width: 1.7em; height: 1.7em; }
.ap__label { font-size: .9em !important; }
.ap__week { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3em; }
.ap__week span { display: grid; place-items: center; aspect-ratio: 1; border-radius: .5em; font-size: .8em; font-weight: 700; color: #8A8FAA; background: var(--ap-bg); }
.ap__week span.on { color: #fff; background: var(--ap-grad); }
.ap__doc small .dp-icon { width: 1.1em; height: 1.1em; color: #2825C1; }
.ap__actions { display: flex; align-items: center; justify-content: space-between; }
.ap__week-nav { font-size: .8em; font-weight: 700; color: var(--ap-ink); border: 1px solid var(--ap-line); background: #fff; padding: .4em .7em; border-radius: .55em; }
.ap__shift { flex-direction: row; align-items: center; justify-content: space-between; padding: .65em .85em; }
.ap__nav { display: flex; justify-content: space-around; padding: .6em .4em 1.3em; background: #fff; border-top: 1px solid var(--ap-line); }
.ap__nav span { display: flex; flex-direction: column; align-items: center; gap: .2em; font-size: .7em; font-weight: 600; color: #8A8FAA; }
.ap__nav .dp-icon { width: 1.75em; height: 1.75em; }
.ap__nav span.on { color: #2825C1; font-weight: 800; }

/* Section cliniques : recrutement + gestion d'équipe */
.dp-world__group { margin-top: 26px; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.dp-world--clinic .dp-checks { margin: 12px 0 0; }
.dp-world--clinic .dp-checks + .dp-world__group { margin-top: 24px; }
.dp-world.dp-world--clinic .dp-btn { margin-top: 36px; }

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

.dp-section { padding: var(--section) 0; }
.dp-h2 {
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--ink);
  max-width: 19ch;
}
.dp-h2--center { margin-inline: auto; text-align: center; max-width: 22ch; }
.dp-h2__soft { display: block; color: var(--accent); }

/* ---------- Deux univers ---------- */

.dp-worlds { padding-top: clamp(40px, 6vw, 80px); }
.dp-worlds__grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.dp-world {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--r-lg);
  overflow: hidden;
  scroll-margin-top: 100px;
}
.dp-world--clinic { background: var(--surface); border: 1px solid var(--line); }
.dp-world--pro {
  background: var(--night);
  color: #fff;
  margin-top: clamp(0px, 5vw, 64px);
}
.dp-world--pro::before {
  content: ""; position: absolute; right: -30%; top: -40%;
  width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(119, 27, 251, .55), rgba(2, 40, 153, .25) 55%, transparent);
  pointer-events: none;
}
.dp-world > * { position: relative; }
.dp-world__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: #fff; color: var(--accent);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}
.dp-world--pro .dp-world__icon { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.dp-world__icon .dp-icon { width: 24px; height: 24px; }
.dp-world__kicker { font-size: 15px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.dp-world--pro .dp-world__kicker { color: #C9BDFF; }
.dp-world__title {
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.028em;
  max-width: 20ch;
}
.dp-checks { margin: 30px 0 34px; display: grid; gap: 14px; }
.dp-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 16.5px; font-weight: 500; line-height: 1.45; }
.dp-checks .dp-icon {
  width: 24px; height: 24px; padding: 4px; margin-top: -1px;
  border-radius: 50%;
  color: #fff; background: var(--grad);
  stroke-width: 2.5;
}
.dp-world--pro .dp-checks .dp-icon { background: #fff; color: var(--accent); }
.dp-world__roles { margin: -14px 0 30px; font-size: 14.5px; color: #D7D9EE; line-height: 1.5; }
.dp-world .dp-btn { margin-top: auto; white-space: normal; text-align: left; }

/* ---------- Comment ça fonctionne ---------- */

.dp-how {
  background:
    linear-gradient(180deg, var(--surface), #fff);
  border-top: 1px solid var(--line);
}
.dp-steps {
  position: relative;
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  counter-reset: step;
}
.dp-steps::before {
  content: ""; position: absolute; top: 31px; left: 32px; right: 16%;
  height: 2px;
  background: linear-gradient(90deg, rgba(2, 40, 153, .5), rgba(119, 27, 251, .5) 70%, transparent);
}
.dp-step { position: relative; counter-increment: step; }
.dp-step__icon {
  position: relative;
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; color: var(--accent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  margin-bottom: 28px;
}
.dp-step__icon::after {
  content: counter(step);
  position: absolute; right: -4px; top: -4px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff;
  background: var(--grad);
  box-shadow: 0 0 0 3px #fff;
}
.dp-step__icon .dp-icon { width: 26px; height: 26px; }
.dp-step__title { font-size: 1.3rem; font-weight: 750; line-height: 1.25; letter-spacing: -.02em; max-width: 18ch; }
.dp-step p { margin-top: 12px; color: var(--ink-2); max-width: 32ch; }

/* ---------- Aperçu ---------- */

.dp-preview { position: relative; overflow: hidden; }
.dp-preview::before {
  content: ""; position: absolute; left: 50%; top: 58%;
  width: min(1100px, 120vw); height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(40, 37, 193, .14), rgba(2, 40, 153, .06) 60%, transparent);
  pointer-events: none;
}
.dp-preview__stage {
  position: relative;
  margin-top: clamp(56px, 7vw, 96px);
  display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(16px, 3vw, 40px);
}
.dp-preview__item { display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform 1s var(--ease); }
.dp-preview__item .dp-phone { width: 262px; }
.dp-preview__item--offres { transform: translateY(64px); }
.dp-preview__item--cliniques { transform: translateY(64px); }
.dp-preview__item .dp-phone { transition: transform 1s var(--ease); }
.dp-preview__item--offres .dp-phone { transform: rotate(-5deg); }
.dp-preview__item--cliniques .dp-phone { transform: rotate(5deg); }
.js .dp-preview__stage:not(.is-in) .dp-phone { transform: none; }
.dp-preview__item--profil { z-index: 2; }
.dp-preview__item--profil .dp-phone { width: 290px; }
.dp-preview__item figcaption { margin-top: 30px; display: flex; flex-direction: column; gap: 4px; max-width: 250px; }
.dp-preview__item figcaption strong { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.dp-preview__item figcaption span { font-size: 15px; color: var(--ink-2); line-height: 1.5; }

.js .dp-preview__stage:not(.is-in) .dp-preview__item--offres { transform: translate(60px, 110px); }
.js .dp-preview__stage:not(.is-in) .dp-preview__item--cliniques { transform: translate(-60px, 110px); }
.js .dp-preview__stage:not(.is-in) .dp-preview__item--profil { transform: translateY(40px); }

/* ---------- Lancement ---------- */

.dp-launch-wrap { padding: 0 0 var(--section); scroll-margin-top: 80px; }
.dp-launch {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 6vw, 80px);
  border-radius: 36px;
  background: var(--grad);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.dp-launch::before, .dp-launch::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
}
.dp-launch::before {
  width: 640px; height: 640px; left: -220px; bottom: -380px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent);
}
.dp-launch::after {
  width: 520px; height: 520px; right: -160px; top: -260px;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 0 0 80px rgba(255, 255, 255, .04), 0 0 0 160px rgba(255, 255, 255, .03);
}
.dp-launch__title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -.038em;
  max-width: 15ch;
}
.dp-launch__text { margin-top: 20px; font-size: 1.12rem; line-height: 1.6; color: #EEEAFF; max-width: 34em; }
.dp-launch .dp-stores { margin-top: 34px; }

/* Formulaire */
.dp-form {
  background: #fff; color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 40px 80px -40px rgba(7, 11, 43, .6);
  display: grid; gap: 20px;
}
.dp-form__title { font-size: 1.3rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.25; }
.dp-field { display: grid; gap: 8px; }
.dp-field > label, .dp-choice legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.dp-choice legend { margin-bottom: 8px; }
.dp-field input[type="email"] {
  width: 100%; min-height: 52px;
  padding: 0 20px;
  border-radius: var(--pill);
  border: 1px solid #CDD2E6;
  background: #fff; color: var(--ink);
  font: 500 16px var(--font);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.dp-field input::placeholder { color: #6B7092; }
.dp-field input[type="email"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(40, 37, 193, .18); }
.dp-field input[aria-invalid="true"] { border-color: #C2261F; }

.dp-choice__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dp-choice__opt { position: relative; cursor: pointer; }
.dp-choice__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dp-choice__opt span {
  display: flex; align-items: center; gap: 8px;
  min-height: 52px; padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid #CDD2E6;
  font-size: 14.5px; font-weight: 600; line-height: 1.25;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.dp-choice__opt .dp-icon { color: var(--accent); }
.dp-choice__opt input:checked + span { border-color: var(--accent); background: #F4F1FF; box-shadow: inset 0 0 0 1px var(--accent); }
.dp-choice__opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.dp-consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.dp-consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.dp-consent label { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.dp-consent a { color: var(--accent); font-weight: 600; }

.dp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.dp-form__status { font-size: 14.5px; font-weight: 600; min-height: 1.4em; }
.dp-form__status:empty { display: none; }
.dp-form__status.is-ok { color: #0F6B3A; background: #EAF7EF; padding: 12px 16px; border-radius: 14px; }
.dp-form__status.is-error { color: #A11D17; background: #FDEEEC; padding: 12px 16px; border-radius: 14px; }
.dp-form.is-loading [data-submit] { opacity: .75; pointer-events: none; }
.dp-form.is-done .dp-field, .dp-form.is-done .dp-consent, .dp-form.is-done [data-submit] { display: none; }

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

.dp-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; scroll-margin-top: 80px; }
.dp-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
}
.dp-footer__brand p { margin-top: 18px; max-width: 36ch; font-size: 15px; color: var(--ink-2); }
.dp-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dp-footer__title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.dp-footer__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--ink-2); text-decoration: none;
  transition: color .2s var(--ease);
}
.dp-footer__link .dp-icon { width: 18px; height: 18px; color: var(--accent); }
.dp-footer__link:hover { color: var(--accent); }
.dp-footer__bottom {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 14px; color: var(--ink-2);
}

/* ---------- Pages intérieures ---------- */

.dp-page { padding: clamp(56px, 8vw, 112px) 0; }
.dp-prose { max-width: 720px; }
.dp-page__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 32px; }
.dp-prose h2 { font-size: 1.5rem; font-weight: 750; letter-spacing: -.02em; margin: 40px 0 12px; line-height: 1.25; }
.dp-prose h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 8px; }
.dp-prose p, .dp-prose ul, .dp-prose ol { margin: 0 0 16px; }
.dp-prose ul { list-style: disc; padding-left: 1.3em; }
.dp-prose ol { list-style: decimal; padding-left: 1.3em; }
.dp-prose a { color: var(--accent); }

/* ---------- Apparition au défilement ---------- */

.js .dp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .dp-reveal.is-in { opacity: 1; transform: none; }
.js .dp-steps .dp-step:nth-child(2) { transition-delay: .1s; }
.js .dp-steps .dp-step:nth-child(3) { transition-delay: .2s; }
.js .dp-worlds__grid .dp-world:nth-child(2) { transition-delay: .12s; }

.js .dp-hero__copy > * { animation: dp-rise .9s var(--ease) both; }
.js .dp-hero__copy > *:nth-child(2) { animation-delay: .08s; }
.js .dp-hero__copy > *:nth-child(3) { animation-delay: .16s; }
.js .dp-hero__copy > *:nth-child(4) { animation-delay: .24s; }
.js .dp-hero__visual { animation: dp-rise 1.1s .2s var(--ease) both; }
@keyframes dp-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .dp-reveal { opacity: 1; transform: none; }
  .js .dp-preview__stage:not(.is-in) .dp-preview__item--offres, .js .dp-preview__stage:not(.is-in) .dp-preview__item--cliniques { transform: translateY(64px); }
  .js .dp-preview__stage:not(.is-in) .dp-preview__item--offres .dp-phone { transform: rotate(-5deg); }
  .js .dp-preview__stage:not(.is-in) .dp-preview__item--cliniques .dp-phone { transform: rotate(5deg); }
  .js .dp-preview__stage:not(.is-in) .dp-preview__item--profil { transform: none; }
}

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

@media (max-width: 1080px) {
  .dp-preview__item .dp-phone { width: 220px; }
  .dp-preview__item--profil .dp-phone { width: 244px; }
}

@media (max-width: 900px) {
  .dp-hero__grid { grid-template-columns: 1fr; }
  .dp-hero__title { max-width: 14ch; }
  .dp-hero__visual { padding-top: 8px; }
  .dp-phone--hero { width: 268px; }
  .dp-orbit span:nth-child(2) { width: 440px; height: 440px; }

  .dp-worlds__grid { grid-template-columns: 1fr; }
  .dp-world--pro { margin-top: 0; }

  .dp-steps { grid-template-columns: 1fr; gap: 36px; }
  .dp-steps::before { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(2, 40, 153, .5), rgba(119, 27, 251, .5)); }
  .dp-step { display: grid; grid-template-columns: 64px 1fr; column-gap: 22px; }
  .dp-step__icon { grid-row: span 2; margin-bottom: 0; }
  .dp-step__title { align-self: end; padding-top: 6px; }
  .dp-step p { margin-top: 6px; }

  .dp-launch { grid-template-columns: 1fr; }
  .dp-footer__grid { grid-template-columns: 1fr 1fr; }
  .dp-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .dp-preview__stage {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter));
    padding: 8px var(--gutter) 24px;
    gap: 20px;
    scrollbar-width: none;
  }
  .dp-preview__stage::-webkit-scrollbar { display: none; }
  .dp-preview__item, .dp-preview__item .dp-phone { transform: none !important; }
  .dp-preview__item { flex: 0 0 auto; scroll-snap-align: center; }
  .dp-preview__item .dp-phone, .dp-preview__item--profil .dp-phone { width: 228px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .dp-hero__title { font-size: clamp(2.35rem, 11vw, 3rem); }
  .dp-hero__actions { flex-direction: column; align-items: stretch; }
  .dp-hero__actions .dp-btn { width: 100%; }
  .dp-stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .dp-store { padding: 8px 12px; gap: 9px; }
  .dp-store__text strong { font-size: 14.5px; }
  .dp-orbit span:nth-child(1) { width: 300px; height: 300px; }
  .dp-orbit span:nth-child(2) { width: 380px; height: 380px; }
  .dp-phone--hero { width: 248px; }
  .dp-choice__row { grid-template-columns: 1fr; }
  .dp-launch { border-radius: 28px; padding: 28px 20px; }
  .dp-footer__grid { grid-template-columns: 1fr; }
  .dp-world .dp-btn { width: 100%; justify-content: space-between; }
}

.ap__me { text-align: center; }
.ap__tags { display: flex; flex-wrap: wrap; gap: .35em; }
.ap__tags span { font-size: .78em; font-weight: 700; padding: .3em .65em; border-radius: 99px; color: #2825C1; background: #ECEBFD; }

/* ---------- Simplicité : favoris et paiement ---------- */

.dp-ease { padding-top: 0; }
.dp-ease__head { display: grid; gap: 18px; max-width: 760px; }
.dp-ease__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 38em; }
.dp-ease__grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 24px;
  align-items: stretch;
}
.dp-ease__card {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.dp-ease__card p { color: var(--ink-2); max-width: 36em; }
.dp-ease__card--fav { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.dp-ease__card--pay { background: var(--surface); border: 1px solid var(--line); }
.dp-ease__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px;
  color: #fff; background: var(--grad);
  margin-bottom: 10px;
}
.dp-ease__icon .dp-icon { width: 24px; height: 24px; }
.dp-ease__title { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 750; line-height: 1.15; letter-spacing: -.025em; }
.dp-ease__pairs { margin-top: 14px; display: grid; gap: 12px; }
.dp-ease__pairs li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
}
.dp-ease__pairs .dp-icon { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; flex: none; }
.dp-ease__pairs span, .dp-ease__option span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.dp-ease__pairs b, .dp-ease__option b { font-size: 16px; font-weight: 700; color: var(--ink); }
.dp-ease__options { margin-top: 14px; display: grid; gap: 12px; }
.dp-ease__option {
  display: flex; gap: 14px; align-items: center;
  padding: 18px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--line);
}
.dp-ease__option:first-child { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.dp-ease__opt-icon {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: #ECEBFD; color: var(--accent);
}
.dp-ease__opt-icon .dp-icon { width: 22px; height: 22px; }
.js .dp-ease__grid .dp-ease__card:nth-child(2) { transition-delay: .12s; }
@media (max-width: 900px) { .dp-ease__grid { grid-template-columns: 1fr; } }
.dp-ease__card--more { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.dp-ease__list { margin-top: 6px; display: grid; gap: 0; }
.dp-ease__list li { display: grid; gap: 4px; padding: 18px 0 18px 34px; border-top: 1px solid var(--line); position: relative; }
.dp-ease__list li:first-child { border-top: 0; padding-top: 6px; }
.dp-ease__list li::before { content: ''; position: absolute; left: 0; top: 24px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); box-shadow: inset 0 0 0 5px rgba(255,255,255,.55); }
.dp-ease__list li:first-child::before { top: 12px; }
.dp-ease__list b { font-size: 17px; font-weight: 700; color: var(--ink); }
.dp-ease__list span { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
