/* ==========================================================================
   Pages internes — ephoto-identite.fr
   ========================================================================== */

:root {
  --navy-2: #13235c;
  --soft: #f6f9fe;
  --soft-2: #eef4fd;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Animations ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="left"] { transform: translateX(-30px); }
.js [data-reveal="right"] { transform: translateX(30px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.page main { overflow-x: clip; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-x { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -8px); } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(21,112,239,.45); } 100% { box-shadow: 0 0 0 16px rgba(21,112,239,0); } }
@keyframes scan { 0% { top: 8%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 88%; opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes blob { 0%, 100% { border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; } 50% { border-radius: 58% 42% 40% 60% / 55% 60% 40% 45%; } }

/* ---------- Utilitaires ---------- */
.section { padding: 76px 0; position: relative; }
.section--soft { background: var(--soft); }
.section--tight { padding: 48px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .section-sub { color: var(--muted); font-size: 16.5px; margin-top: 10px; line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: #e8f1ff; color: var(--blue); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow .ico { width: 15px; height: 15px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.center { text-align: center; }
.mt-l { margin-top: 40px; }
.muted { color: var(--muted); }
:where(button).btn { font-family: inherit; border: 0; cursor: pointer; }
.btn--ghost { padding: 12px 24px; font-size: 15px; color: var(--navy); background: #fff; border: 1.5px solid #d6e0ef; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--white { padding: 15px 30px; font-size: 16px; background: #fff; color: var(--blue); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.btn--white:hover { transform: translateY(-2px); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 14.5px; }
.link-arrow .ico { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(4px); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; background: #e7f6ec; color: #17803d;
}
.badge--blue { background: #e8f1ff; color: var(--blue); }
.badge--orange { background: #fff1e0; color: #c25e00; }
.badge--red { background: #feecec; color: #c62828; }
.badge .ico { width: 13px; height: 13px; }

/* ---------- Hero de page ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 15% 30%, rgba(255,255,255,.95), transparent 70%),
    radial-gradient(ellipse 45% 60% at 90% 100%, rgba(255,255,255,.6), transparent 70%),
    linear-gradient(105deg, #f4f8ff 0%, #e6effc 50%, #dce8fb 100%);
  padding: 34px 0 64px;
}
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none;
  background: radial-gradient(circle, rgba(21,112,239,.12), transparent 70%);
}
.page-hero::before { width: 420px; height: 420px; right: -120px; top: -140px; animation: float 9s ease-in-out infinite; }
.page-hero::after { width: 260px; height: 260px; left: -90px; bottom: -120px; animation: float 11s ease-in-out infinite reverse; }
.page-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.page-hero--center .page-hero__grid { grid-template-columns: 1fr; text-align: center; max-width: 820px; margin: 0 auto; }
.page-hero--center .page-hero__actions, .page-hero--center .mini-checks { justify-content: center; }
.page-hero--center .crumbs { justify-content: center; }
.page-hero--center > .container { text-align: center; }
.page-hero__title { font-size: 46px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--navy); margin-bottom: 18px; }
.page-hero__lead { font-size: 17.5px; color: #3c4867; line-height: 1.6; max-width: 600px; margin-bottom: 28px; }
.page-hero--center .page-hero__lead { margin-left: auto; margin-right: auto; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.mini-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.mini-checks li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--navy); }
.mini-checks .ico { width: 18px; height: 18px; color: var(--green); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--blue); }
.crumbs .ico { width: 14px; height: 14px; opacity: .6; }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }

.page-hero__visual { position: relative; display: flex; justify-content: center; }
.hero-photo {
  position: relative; width: min(380px, 100%); aspect-ratio: 3 / 4; border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(20, 48, 110, .2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo--wide { width: min(520px, 100%); aspect-ratio: 4 / 3; }
.hero-blob {
  position: absolute; inset: 6% -4% -4% 8%; z-index: -1;
  background: linear-gradient(135deg, #cfe0ff, #e9f1ff); animation: blob 12s ease-in-out infinite;
}
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.96); border-radius: 16px; padding: 12px 16px;
  box-shadow: 0 16px 36px rgba(20, 48, 110, .16); font-size: 13px; color: var(--navy);
  animation: float 6s ease-in-out infinite; white-space: nowrap;
}
.float-card strong { display: block; font-size: 14px; }
.float-card span { color: var(--muted); font-size: 12px; }
.float-card__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card__icon .ico { width: 21px; height: 21px; }
.float-card--tl { top: 8%; left: -6%; }
.float-card--br { bottom: 9%; right: -6%; animation-delay: -3s; }
.float-card--bl { bottom: 14%; left: -10%; animation-delay: -1.5s; }
.float-card--tr { top: 12%; right: -8%; animation-delay: -4s; }

.scan-frame::after {
  content: ""; position: absolute; left: 10%; right: 10%; height: 2px; top: 8%;
  background: linear-gradient(90deg, transparent, #5ea2ff, transparent);
  box-shadow: 0 0 14px 2px rgba(94, 162, 255, .7);
  animation: scan 3.4s ease-in-out infinite;
}
.viewfinder {
  position: absolute; inset: 18% 16% 22%; pointer-events: none;
  background:
    linear-gradient(#fff, #fff) top left / 34px 3px, linear-gradient(#fff, #fff) top left / 3px 34px,
    linear-gradient(#fff, #fff) top right / 34px 3px, linear-gradient(#fff, #fff) top right / 3px 34px,
    linear-gradient(#fff, #fff) bottom left / 34px 3px, linear-gradient(#fff, #fff) bottom left / 3px 34px,
    linear-gradient(#fff, #fff) bottom right / 34px 3px, linear-gradient(#fff, #fff) bottom right / 3px 34px;
  background-repeat: no-repeat; filter: drop-shadow(0 1px 3px rgba(0,0,0,.25));
}

/* ---------- Cartes à icône ---------- */
.icard {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.icard:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(20, 48, 110, .12); border-color: transparent; }
.icard h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 18px 0 8px; letter-spacing: -.01em; }
.icard p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.icard .link-arrow { margin-top: 16px; }
.icard--link { display: block; }
.icard--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; }
.icard--wide h3 { margin-top: 0; }
.icard--wide .link-arrow { margin-top: 0; }
@media (max-width: 760px) {
  .icard--wide { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .icard--wide h3 { margin-top: 18px; }
  .icard--wide .link-arrow { margin-top: 16px; }
}
.ibox {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: #e8f1ff; color: var(--blue); transition: transform .4s var(--ease);
}
.icard:hover .ibox { transform: rotate(-8deg) scale(1.08); }
.ibox .ico { width: 26px; height: 26px; }
.ibox--violet { background: #f1edff; color: #7048e8; }
.ibox--pink { background: #ffedf3; color: #e8457c; }
.ibox--green { background: #e6f6ec; color: #1f9d55; }
.ibox--orange { background: #fff2e2; color: #f08c00; }
.ibox--sky { background: #e6f5fd; color: #0b8bd3; }
.ibox--navy { background: #e6eaf6; color: var(--navy); }
.ibox--red { background: #feecec; color: #e03131; }

/* ---------- Bloc alterné texte / visuel ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split--reverse .split__media { order: 2; }
.split__title { font-size: 32px; line-height: 1.18; font-weight: 800; color: var(--navy); letter-spacing: -.025em; margin-bottom: 16px; }
.split__text { font-size: 16px; color: #45516f; line-height: 1.7; margin-bottom: 22px; }
.split .checklist { margin-bottom: 26px; }
.split__media { position: relative; }
.media-card { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 26px 56px rgba(20, 48, 110, .16); }
.media-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-card:hover img { transform: scale(1.04); }
.media-card--tall { aspect-ratio: 4 / 5; }
.media-card--wide { aspect-ratio: 4 / 3; }
.media-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.media-tiles img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; box-shadow: 0 12px 26px rgba(20,48,110,.12); transition: transform .4s var(--ease); }
.media-tiles img:nth-child(2) { transform: translateY(26px); }
.media-tiles img:hover { transform: translateY(-6px) scale(1.03); }
.media-tiles img:nth-child(2):hover { transform: translateY(20px) scale(1.03); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, #bcd3f6 0 8px, transparent 8px 16px);
}
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num {
  position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--blue);
  box-shadow: 0 10px 26px rgba(21,112,239,.2), inset 0 0 0 2px #d7e6fd;
}
.step__num .ico { width: 28px; height: 28px; }
.step__num::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.step:hover .step__num { animation: pulse-ring 1.2s; }
.step h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- Chiffres clés ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center; padding: 26px 16px; background: #fff; border-radius: 18px; border: 1px solid var(--line);
}
.stat__num { font-size: 38px; font-weight: 800; color: var(--blue); letter-spacing: -.03em; line-height: 1; }
.stat__label { font-size: 14px; color: var(--muted); margin-top: 8px; }
.stats--dark .stat { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.stats--dark .stat__num { color: #fff; }
.stats--dark .stat__label { color: #c4d3f2; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 54px 56px;
  background: radial-gradient(circle at 85% 20%, #3f86ff 0, transparent 45%), linear-gradient(120deg, #0b1a4a 0%, #13307f 55%, #1570ef 100%);
  color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
  border: 46px solid rgba(255,255,255,.06); animation: float 10s ease-in-out infinite;
}
.cta-band h2 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 10px; }
.cta-band p { color: #cfdcfb; font-size: 16px; }
.cta-band__side { position: relative; z-index: 1; text-align: center; }
.cta-band__side small { display: block; margin-top: 10px; color: #b9cbf5; font-size: 13px; }
.cta-band .mini-checks { margin-top: 18px; }
.cta-band .mini-checks li { color: #e4ecff; }
.cta-band .mini-checks .ico { color: #7ee2a0; }

/* ---------- Tarifs ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 24px; padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(20, 48, 110, .12); }
.price-card--featured {
  background: linear-gradient(160deg, #0b1a4a 0%, #163a9c 100%); color: #fff; border: 0;
  box-shadow: 0 30px 60px rgba(21, 60, 170, .35); transform: scale(1.03);
}
.price-card--featured:hover { transform: scale(1.03) translateY(-6px); }
.price-card__ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: linear-gradient(90deg, #ffb800, #ff8a00); color: #3a2400; font-size: 12px; font-weight: 800;
  padding: 6px 16px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(255, 150, 0, .35);
}
.price-card__name { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.price-card--featured .price-card__name { color: #8fb8ff; }
.price-card__desc { font-size: 14px; color: var(--muted); margin: 8px 0 20px; min-height: 42px; }
.price-card--featured .price-card__desc { color: #c6d5f7; }
.price-card__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-card__amount { font-size: 50px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.price-card--featured .price-card__amount { color: #fff; }
.price-card__unit { font-size: 15px; color: var(--muted); font-weight: 500; }
.price-card--featured .price-card__unit { color: #c6d5f7; }
.price-card__note { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.price-card--featured .price-card__note { color: #a9c0ef; }
.price-card__list { display: grid; gap: 12px; margin-bottom: 30px; flex: 1; }
.price-card__list li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.price-card__list .ico { width: 20px; height: 20px; flex: none; color: var(--green); margin-top: 1px; }
.price-card--featured .price-card__list .ico { color: #7ee2a0; }
.price-card__list li.is-off { color: #9aa5bd; }
.price-card__list li.is-off .ico { color: #c4ccdb; }
.price-card .btn { width: 100%; }

.family-calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px 44px;
}
.family-calc h3 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 10px; letter-spacing: -.02em; }
.family-calc p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.range { width: 100%; margin: 26px 0 10px; accent-color: var(--blue); height: 6px; cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.calc-result {
  text-align: center; background: linear-gradient(135deg, #eef4fd, #e2ecfd); border-radius: 20px; padding: 32px 24px;
}
.calc-result__members { display: flex; justify-content: center; gap: 6px; margin-bottom: 16px; min-height: 42px; flex-wrap: wrap; }
.calc-result__members span {
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(21,112,239,.15); animation: pop .4s var(--ease) both;
}
.calc-result__members .ico { width: 22px; height: 22px; }
.calc-result__price { font-size: 46px; font-weight: 800; color: var(--blue); letter-spacing: -.03em; line-height: 1; }
.calc-result__label { font-size: 14px; color: var(--navy); margin-top: 8px; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 16px 20px; text-align: center; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--navy); font-weight: 500; }
.compare thead th { background: var(--soft); font-size: 14px; font-weight: 700; color: var(--navy); }
.compare thead th.is-us { background: var(--blue); color: #fff; }
.compare td.is-us { background: #f2f7ff; font-weight: 600; color: var(--navy); }
.compare tr:last-child td { border-bottom: 0; }
.compare .ico { width: 22px; height: 22px; margin: 0 auto; }
.compare .yes { color: var(--green); }
.compare .no { color: #d64545; }
.table-wrap { overflow-x: auto; border-radius: 20px; }

/* ---------- FAQ ---------- */
.faq-tools { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 40px; }
.search {
  position: relative; width: min(620px, 100%);
}
.search input {
  width: 100%; height: 58px; border-radius: 999px; border: 1.5px solid #d6e0ef; background: #fff;
  padding: 0 24px 0 54px; font: inherit; font-size: 16px; color: var(--navy);
  box-shadow: 0 12px 30px rgba(20,48,110,.08); transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,112,239,.15); }
.search .ico { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 21px; height: 21px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #d6e0ef; background: #fff; color: var(--navy);
  padding: 9px 18px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.chip .ico { width: 16px; height: 16px; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .25s, border-color .25s;
}
.faq-item[open] { border-color: #bcd3f6; box-shadow: 0 14px 30px rgba(20,48,110,.08); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-toggle {
  width: 32px; height: 32px; border-radius: 50%; background: #eef4fd; color: var(--blue); flex: none;
  display: grid; place-items: center; transition: transform .3s var(--ease), background .2s;
}
.faq-item summary .faq-toggle .ico { width: 16px; height: 16px; }
.faq-item[open] summary .faq-toggle { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-item__body { padding: 0 24px 22px; font-size: 15px; color: #4b5876; line-height: 1.7; animation: faq-in .35s var(--ease); }
.faq-item__body p + p, .faq-item__body p + ul { margin-top: 10px; }
.faq-item__body ul { list-style: disc; padding-left: 20px; }
.faq-item__body a { color: var(--blue); font-weight: 600; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-empty { display: none; text-align: center; color: var(--muted); padding: 30px; }
.faq-empty.is-visible { display: block; }
.faq-group-title { font-size: 20px; font-weight: 800; color: var(--navy); margin: 26px 0 4px; display: flex; align-items: center; gap: 10px; }
.faq-group-title .ico { width: 22px; height: 22px; color: var(--blue); }
.faq-group.is-hidden, .faq-item.is-hidden { display: none; }

/* ---------- Formulaires ---------- */
.form-card { background: #fff; border-radius: 24px; padding: 38px; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(20,48,110,.08); }
.form-card h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 6px; letter-spacing: -.02em; }
.form-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid #d6e0ef; border-radius: 12px; background: #fbfcff; color: var(--navy);
  font: inherit; font-size: 15px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(21,112,239,.12); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #e03131; background: #fff7f7; }
.field__error { display: none; font-size: 12.5px; color: #e03131; }
.field.is-invalid .field__error { display: block; }
.field__wrap { position: relative; }
.field__wrap input { padding-right: 48px; }
.field__eye {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0;
  background: transparent; color: var(--muted); cursor: pointer; border-radius: 8px; display: grid; place-items: center;
}
.field__eye:hover { color: var(--blue); background: #eef4fd; }
.field__eye .ico { width: 18px; height: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #4b5876; line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); margin-top: 1px; flex: none; }
.check a { color: var(--blue); font-weight: 600; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.form-success {
  display: none; align-items: center; gap: 14px; margin-top: 20px; padding: 16px 18px; border-radius: 14px;
  background: #e7f6ec; color: #17603a; font-size: 14.5px; font-weight: 500;
}
.form-success.is-visible { display: flex; animation: pop .45s var(--ease); }
.form-success .ico { width: 26px; height: 26px; color: #1f9d55; flex: none; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: spin .8s linear infinite;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 32px; align-items: start; }
.contact-side { display: grid; gap: 18px; }
.contact-tile {
  display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 22px; transition: transform .3s var(--ease), box-shadow .3s;
}
.contact-tile:hover { transform: translateX(6px); box-shadow: 0 14px 30px rgba(20,48,110,.08); }
.contact-tile h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-tile p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.contact-tile a { color: var(--blue); font-weight: 600; }
.support-photo { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.support-photo img { width: 100%; height: 100%; object-fit: cover; }
.support-photo__tag {
  position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.95); border-radius: 12px; padding: 10px 14px; font-size: 13px; color: var(--navy); font-weight: 600;
}
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse-ring 1.8s infinite; }

/* ---------- Connexion ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - 120px); }
.auth__visual {
  position: relative; overflow: hidden; padding: 56px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, #0b1a4a, #1450c8); color: #fff;
}
.auth__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.auth__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,26,74,.1) 30%, rgba(11,26,74,.92)); }
.auth__quote { position: relative; z-index: 1; max-width: 460px; }
.auth__quote h2 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 14px; }
.auth__quote p { color: #d4e0fb; font-size: 15.5px; line-height: 1.6; }
.auth__quote .mini-checks { margin-top: 20px; }
.auth__quote .mini-checks li { color: #fff; }
.auth__quote .mini-checks .ico { color: #7ee2a0; }
.auth__panel { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--soft); }
.auth__card { width: min(460px, 100%); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: #e9eff9; border-radius: 14px; padding: 5px; margin-bottom: 26px; }
.tabs button {
  border: 0; background: transparent; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--muted);
  padding: 11px; border-radius: 10px; cursor: pointer; transition: all .25s var(--ease);
}
.tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 4px 12px rgba(20,48,110,.1); }
[role="tabpanel"][hidden] { display: none; }
[role="tabpanel"] { animation: faq-in .35s var(--ease); }
.sso { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.sso a {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 12px;
  border: 1.5px solid #d6e0ef; background: #fff; font-size: 14.5px; font-weight: 600; color: var(--navy); transition: border-color .2s;
}
.sso a:hover { border-color: var(--blue); }
.sso svg { width: 19px; height: 19px; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; margin: 6px 0 20px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: #dbe3ef; }
.auth-foot { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 20px; }
.auth-foot a { color: var(--blue); font-weight: 600; }

/* ---------- Pages photo : normes ---------- */
.norms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.norm { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.norm .ibox { width: 46px; height: 46px; border-radius: 13px; flex: none; }
.norm .ibox .ico { width: 22px; height: 22px; }
.norm h3 { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.norm p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.dodont { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dd { text-align: center; }
.dd__img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; margin-bottom: 12px; }
.dd__img img { width: 100%; height: 100%; object-fit: cover; }
.dd__mark {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.2);
}
.dd__mark .ico { width: 18px; height: 18px; }
.dd--ok .dd__mark { background: #1f9d55; }
.dd--ko .dd__mark { background: #e03131; }
.dd--ko .dd__img img { filter: saturate(.85); }
.dd p { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.dd small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.dd__img--tilt img { transform: rotate(-14deg) scale(1.3); }
.dd--ko .dd__img--dark img { filter: brightness(.5) contrast(1.1) saturate(.85); }
.dd__img--far img { transform: scale(.62); background: #e6ecf5; }
.dd__img--far { background: #e9edf3; }
.dd__img--crop img { transform: scale(1.8) translateY(8%); }

.spec {
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px;
}
.spec__photo { position: relative; width: 210px; aspect-ratio: 35 / 45; border-radius: 6px; overflow: hidden; box-shadow: 0 16px 34px rgba(20,48,110,.16); }
.spec__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.spec__dim {
  position: absolute; font-size: 11px; font-weight: 700; color: var(--blue); background: #fff; padding: 2px 6px; border-radius: 6px;
}
.spec__wrap { position: relative; padding: 18px 0 0 34px; }
.spec__wrap .spec__w { position: absolute; top: -2px; left: 34px; right: 0; text-align: center; font-size: 12px; font-weight: 700; color: var(--blue); }
.spec__wrap .spec__w::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #9cc0f7; z-index: -1; }
.spec__wrap .spec__h { position: absolute; left: 0; top: 18px; bottom: 0; display: flex; align-items: center; font-size: 12px; font-weight: 700; color: var(--blue); writing-mode: vertical-rl; transform: rotate(180deg); }
.spec__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.spec__list div { border-bottom: 1px dashed #d6e0ef; padding-bottom: 12px; }
.spec__list dt { font-size: 13px; color: var(--muted); }
.spec__list dd { font-size: 16px; font-weight: 700; color: var(--navy); margin: 2px 0 0; }

.formats { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; }
.formats th, .formats td { padding: 15px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.formats thead th { background: var(--navy); color: #fff; font-size: 13.5px; font-weight: 600; }
.formats tbody tr { transition: background .2s; }
.formats tbody tr:hover { background: #f5f9ff; }
.formats .flag { font-size: 20px; margin-right: 8px; }

.alert {
  display: flex; gap: 14px; align-items: flex-start; border-radius: 16px; padding: 18px 20px;
  background: #eef4fd; border: 1px solid #cfe0fb; color: var(--navy); font-size: 14.5px; line-height: 1.6;
}
.alert .ico { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 1px; }
.alert--warn { background: #fff7e8; border-color: #ffe0a8; }
.alert--warn .ico { color: #e08a00; }

/* ---------- Avis ---------- */
.testi { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 16px; transition: transform .3s var(--ease), box-shadow .3s; }
.testi:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(20,48,110,.1); }
.testi__stars { display: flex; gap: 2px; color: #f5a300; }
.testi__stars .ico { width: 17px; height: 17px; }
.testi blockquote { font-size: 15px; color: #3c4867; line-height: 1.65; flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi figcaption strong { display: block; font-size: 14.5px; color: var(--navy); }
.testi figcaption span { font-size: 12.5px; color: var(--muted); }

/* ---------- Blog ---------- */
.blog-featured {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: #fff; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(20,48,110,.08);
}
.blog-featured__img { position: relative; min-height: 380px; overflow: hidden; }
.blog-featured__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.blog-featured:hover .blog-featured__img img { transform: scale(1.05); }
.blog-featured__body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured__body .badge, .post-card__body .badge { align-self: flex-start; }
.blog-featured__body h2 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: 1.2; margin: 14px 0 12px; }
.blog-featured__body p { color: var(--muted); line-height: 1.65; margin-bottom: 22px; }
.post-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.post-meta .ico { width: 15px; height: 15px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(20,48,110,.12); }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__body h3 { font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.35; }
.post-card__body p { font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; }
.tip { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: 18px; padding: 24px; border: 1px solid var(--line); }
.tip__num { font-size: 36px; font-weight: 800; color: #cfe0fb; line-height: 1; letter-spacing: -.04em; min-width: 46px; }
.tip h3 { font-size: 16.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.tip p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.newsletter { display: flex; gap: 12px; max-width: 520px; margin: 26px auto 0; }
.newsletter input { flex: 1; height: 54px; border-radius: 999px; border: 0; padding: 0 22px; font: inherit; font-size: 15px; }
.newsletter input:focus { outline: 3px solid rgba(255,255,255,.4); }
.cta-band .newsletter { flex-wrap: wrap; margin: 0; width: min(460px, 100%); }
.newsletter input { min-width: 0; }
.newsletter .form-success { flex-basis: 100%; text-align: left; }

/* ---------- Mode d'emploi ---------- */
.video-card {
  position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 26px 56px rgba(20,48,110,.2);
}
.video-card img { width: 100%; height: 100%; object-fit: cover; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,26,74,.6)); }
.video-card__play {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%;
  background: #fff; color: var(--blue); display: grid; place-items: center; animation: pulse-ring 2s infinite; border: 0; cursor: pointer;
}
.video-card__play .ico { width: 32px; height: 32px; margin-left: 4px; }
.video-card video { width: 100%; height: 100%; object-fit: contain; background: #0b1a4a; display: block; }
.video-card.is-playing::after { display: none; }
.video-card__label { position: absolute; z-index: 1; left: 24px; bottom: 20px; color: #fff; font-weight: 600; font-size: 15px; }
.timeline { position: relative; max-width: 860px; margin: 0 auto; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(#bcd3f6, #e5eefc); }
.tl-item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 22px; }
.tl-item__dot {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  color: var(--blue); box-shadow: 0 10px 24px rgba(21,112,239,.18), inset 0 0 0 2px #d7e6fd; font-weight: 800; font-size: 20px;
}
.tl-item__card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.tl-item__card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tl-item__card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.tl-item__card ul { margin-top: 10px; display: grid; gap: 6px; }
.tl-item__card li { display: flex; gap: 8px; font-size: 14px; color: #45516f; }
.tl-item__card li .ico { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 2px; }

/* ---------- Espace membre ---------- */
.app { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; }
.app__side { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.app__user { display: flex; align-items: center; gap: 12px; padding: 6px 6px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.app__user img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.app__user strong { display: block; font-size: 15px; color: var(--navy); }
.app__user span { font-size: 12.5px; color: var(--green); font-weight: 600; }
.app__nav { display: grid; gap: 4px; }
.app__nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px; font-size: 14.5px; font-weight: 500; color: #45516f; transition: background .2s, color .2s; }
.app__nav a:hover { background: var(--soft); color: var(--blue); }
.app__nav a.is-active { background: #e9f1fe; color: var(--blue); font-weight: 600; }
.app__nav .ico { width: 19px; height: 19px; }
.app__nav .count { margin-left: auto; font-size: 11.5px; font-weight: 700; background: #e03131; color: #fff; border-radius: 999px; padding: 1px 7px; }
.app__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }
.app__welcome {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, #0b1a4a, #1450c8); color: #fff; border-radius: 22px; padding: 30px 32px; position: relative; overflow: hidden;
}
.app__welcome::after { content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255,255,255,.07); }
.app__welcome h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.app__welcome p { color: #cfdcfb; font-size: 14.5px; margin-top: 4px; }
.app__welcome .btn { position: relative; z-index: 1; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; gap: 14px; align-items: center; }
.kpi .ibox { width: 46px; height: 46px; border-radius: 13px; }
.kpi .ibox .ico { width: 22px; height: 22px; }
.kpi strong { display: block; font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.kpi span { font-size: 13px; color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel__head h2 { font-size: 18px; font-weight: 700; color: var(--navy); }
.panel-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; }
.reminder { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.reminder:last-child { border-bottom: 0; padding-bottom: 0; }
.reminder .ibox { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.reminder .ibox .ico { width: 21px; height: 21px; }
.reminder__txt { flex: 1; min-width: 0; }
.reminder__txt strong { display: block; font-size: 14.5px; color: var(--navy); }
.reminder__txt span { font-size: 13px; color: var(--muted); }
.progress { height: 6px; background: #eef2f8; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--blue); width: 0; transition: width 1.4s var(--ease); }
.progress--red span { background: #e03131; }
.progress--orange span { background: #f08c00; }
.progress--green span { background: #1f9d55; }
.members { display: grid; gap: 12px; }
.member { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; transition: background .2s; }
.member:hover { background: var(--soft); }
.member img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.member strong { display: block; font-size: 14.5px; color: var(--navy); }
.member span { font-size: 12.5px; color: var(--muted); }
.member .badge { margin-left: auto; }
.member--add { width: 100%; background: none; font-family: inherit; cursor: pointer; border: 1.5px dashed #c8d6ec; justify-content: center; color: var(--blue); font-weight: 600; font-size: 14px; }
.member--add .ico { width: 18px; height: 18px; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery figure { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption {
  position: absolute; left: 8px; right: 8px; bottom: 8px; font-size: 11px; font-weight: 700; color: var(--navy);
  background: rgba(255,255,255,.92); border-radius: 8px; padding: 4px 6px; text-align: center;
}

/* Mes photos : déclinaisons par membre */
.panel__head .panel__sub { font-size: 13px; margin-top: 4px; }
.panel__head .link-arrow { white-space: nowrap; }
.season-tip {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px;
  padding: 16px 18px; margin-bottom: 20px; border-radius: 16px;
  background: linear-gradient(100deg, #eef5ff 0%, #fff6ea 100%); border: 1px solid #e3ecfa;
}
.season-tip .ibox { width: 44px; height: 44px; border-radius: 12px; }
.season-tip__txt strong { display: block; color: var(--navy); font-size: 15px; }
.season-tip__txt span { font-size: 13px; color: var(--muted); }
.season-tip__faces { display: flex; }
.season-tip__faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -10px; box-shadow: 0 4px 10px rgba(11,26,74,.12); }
.season-tip__faces img:first-child { margin-left: 0; }

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; scroll-margin-top: 110px; }
.people button {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px; cursor: pointer;
  font-family: inherit; text-align: left; background: #fff; border: 1.5px solid var(--line); color: var(--navy);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.people button:hover { border-color: #b9cdf0; }
.people button[aria-selected="true"] { border-color: var(--blue); background: #f2f7ff; box-shadow: 0 6px 18px rgba(21,112,239,.14); }
.people img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.people strong { display: block; font-size: 14px; line-height: 1.2; }
.people small { font-size: 12px; color: var(--muted); }

.vset__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.vset__origin { position: relative; flex: none; }
.vset__origin img { width: 54px; height: 72px; border-radius: 10px; object-fit: cover; }
.vset__origin figcaption {
  position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); font-size: 10px; font-weight: 700;
  background: var(--navy); color: #fff; border-radius: 6px; padding: 2px 6px; white-space: nowrap;
}
.vset__intro { flex: 1; min-width: 0; }
.vset__intro strong { display: block; color: var(--navy); font-size: 16px; }
.vset__intro span { font-size: 13px; color: var(--muted); }
.vset__filters { justify-content: flex-start; gap: 6px; margin-bottom: 16px; }
.vset__filters .chip { padding: 6px 11px; font-size: 13px; gap: 5px; }
.vset__filters .chip .ico { display: none; }
.vset__filters .chip b { font-weight: 700; opacity: .6; margin-left: 2px; }
.vset .btn--sm .ico { width: 16px; height: 16px; }
.vset__head .btn--ghost { padding: 10px 16px; font-size: 14px; }

.vgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.variant { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--soft); animation: variantIn .45s var(--ease) both; }
.variant[hidden] { display: none; }
.variant__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; }
.variant img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.variant:hover img { transform: scale(1.07); }
.variant figcaption {
  position: absolute; left: 8px; bottom: 8px; display: flex; align-items: center; gap: 5px; pointer-events: none;
  font-size: 11.5px; font-weight: 700; color: var(--navy); background: rgba(255,255,255,.94); border-radius: 8px; padding: 4px 8px;
}
.variant figcaption .ico { width: 13px; height: 13px; color: var(--blue); }
.variant__actions { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
.variant:hover .variant__actions, .variant:focus-within .variant__actions { opacity: 1; transform: none; }
.variant__actions button {
  width: 32px; height: 32px; border-radius: 10px; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(255,255,255,.94); color: var(--navy); box-shadow: 0 4px 12px rgba(11,26,74,.16);
}
.variant__actions button:hover { color: var(--blue); }
.variant__actions .ico { width: 16px; height: 16px; }
.variant.is-suggested { outline: 3px solid #ff9f1c; outline-offset: -3px; }
.variant.is-suggested::before {
  content: "Suggérée"; position: absolute; top: 8px; left: 8px; z-index: 1; pointer-events: none;
  font-size: 10.5px; font-weight: 700; color: #fff; background: #f08c00; border-radius: 6px; padding: 3px 7px;
}
@keyframes variantIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

.variant--doc { background: color-mix(in srgb, var(--doc) 10%, #fff); }
.variant--doc, .variant--doc .variant__open { display: grid; place-items: center; }
.doc {
  display: block; width: 84%; margin-bottom: 20px; border-radius: 9px; overflow: hidden; background: #fff; text-align: left;
  box-shadow: 0 10px 24px rgba(11,26,74,.14); transition: transform .5s var(--ease);
}
.variant--doc:hover .doc { transform: translateY(-3px) rotate(-1.5deg); }
.doc__band { display: block; padding: 5px 9px; background: var(--doc); color: #fff; font-size: 10px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc__body { display: flex; align-items: center; gap: 8px; padding: 8px; }
.variant--doc .doc img, .doc__photo { flex: none; width: 38%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; transform: none; }
.doc__photo { display: grid; place-items: center; background: #eef1f6; color: #b3bdcc; }
.doc__photo .ico { width: 45%; height: 45%; }
.doc__lines { flex: 1; display: grid; gap: 6px; }
.doc__lines i { display: block; height: 5px; border-radius: 3px; background: #e6ebf3; }
.doc__lines i:nth-child(1) { width: 90%; }
.doc__lines i:nth-child(2) { width: 65%; }
.doc__lines i:nth-child(3) { width: 80%; }
.variant--doc.is-na .doc { filter: grayscale(1); opacity: .5; }
.variant--doc.is-na:hover .doc { transform: none; }
.variant__na {
  position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  font-size: 10.5px; font-weight: 600; color: var(--navy); background: #fff; border-radius: 6px; padding: 4px 9px;
  box-shadow: 0 4px 12px rgba(11,26,74,.12);
}
.lightbox.is-doc { width: min(380px, calc(100vw - 32px)); }
.lightbox.is-doc img { aspect-ratio: 3 / 4; }

.lightbox { border: 0; padding: 0; border-radius: 20px; overflow: hidden; width: min(460px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(11,26,74,.35); }
.lightbox::backdrop { background: rgba(11,26,74,.6); backdrop-filter: blur(4px); }
.lightbox[open] { animation: variantIn .3s var(--ease) both; }
.lightbox img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.lightbox__bar strong { color: var(--navy); font-size: 15px; }
.lightbox__bar .ico { width: 16px; height: 16px; }
.lightbox__close {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255,255,255,.94); color: var(--navy);
}
.lightbox__close .ico { width: 18px; height: 18px; }

/* ---------- Pages légales ---------- */
.legal { display: grid; grid-template-columns: 270px 1fr; gap: 48px; align-items: start; }
.legal > * { min-width: 0; }
.toc { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.toc h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 14px; color: #45516f; border-left: 3px solid transparent; transition: all .2s; }
.toc a:hover { background: var(--soft); color: var(--blue); }
.toc a.is-active { background: #e9f1fe; color: var(--blue); font-weight: 600; border-left-color: var(--blue); }
.prose { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 44px 48px; color: #3c4867; font-size: 15.5px; line-height: 1.75; }
.prose section { scroll-margin-top: 100px; }
.prose section + section { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.prose h2 { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -.015em; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.prose h2 .ibox { width: 40px; height: 40px; border-radius: 12px; }
.prose h2 .ibox .ico { width: 20px; height: 20px; }
.prose h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 18px 0 6px; }
.prose p + p, .prose p + ul, .prose ul + p, .prose table + p { margin-top: 12px; }
.prose ul { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.prose a { color: var(--blue); font-weight: 600; }
.prose strong { color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--soft); color: var(--navy); font-weight: 700; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: var(--muted); }
.legal-meta span { display: inline-flex; align-items: center; gap: 6px; }
.legal-meta .ico { width: 16px; height: 16px; }
.todo { background: #fff4d6; color: #7a5400; border-radius: 6px; padding: 1px 6px; font-weight: 600; font-size: .95em; }

/* ---------- Cookies ---------- */
.cookie-pref { display: grid; gap: 14px; margin-top: 18px; }
.cookie-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.cookie-row strong { display: block; color: var(--navy); font-size: 15.5px; margin-bottom: 4px; }
.cookie-row p { font-size: 14px; margin: 0; }
.switch { position: relative; width: 52px; height: 30px; flex: none; margin-top: 2px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #cbd5e5; transition: background .25s; }
.switch span::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { background: #8fb8f5; }
.switch input:focus-visible + span { outline: 3px solid rgba(21,112,239,.4); outline-offset: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%); z-index: 100;
  display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 14px 22px; border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25); font-size: 14.5px; font-weight: 500; transition: transform .45s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast .ico { width: 20px; height: 20px; color: #7ee2a0; }

/* ---------- Plan du site ---------- */
.sitemap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sitemap__col { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.sitemap__col h2 { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.sitemap__col h2 .ibox { width: 40px; height: 40px; border-radius: 12px; }
.sitemap__col h2 .ibox .ico { width: 20px; height: 20px; }
.sitemap__col ul { display: grid; gap: 4px; }
.sitemap__col a { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 9px; font-size: 14.5px; color: #45516f; transition: all .2s; }
.sitemap__col a .ico { width: 15px; height: 15px; color: #a5b4cc; transition: transform .2s, color .2s; }
.sitemap__col a:hover { background: var(--soft); color: var(--blue); }
.sitemap__col a:hover .ico { transform: translateX(3px); color: var(--blue); }

/* ---------- Services : navigation d'ancres ---------- */
.anchor-nav { position: sticky; top: 76px; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.anchor-nav ul { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #45516f; transition: all .2s; }
.anchor-nav a .ico { width: 16px; height: 16px; }
.anchor-nav a:hover { background: var(--soft); color: var(--blue); }
.anchor-nav a.is-active { background: var(--blue); color: #fff; }

/* Services additionnels */
.svc-groups { display: grid; gap: 24px; }
.svc-group {
  display: grid; grid-template-columns: 290px 1fr; gap: 36px; padding: 32px;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
}
.svc-group__head { position: sticky; top: 150px; align-self: start; }
.svc-group__head .ibox { width: 52px; height: 52px; border-radius: 14px; }
.svc-group__head h3 { font-size: 21px; font-weight: 800; color: var(--navy); margin: 16px 0 6px; letter-spacing: -.015em; line-height: 1.25; }
.svc-group__head p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.svc-group__count {
  display: inline-block; margin-top: 14px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff);
}
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.xcard {
  display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: var(--soft); border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, border-color .3s;
}
.xcard:hover { background: #fff; border-color: var(--line); box-shadow: 0 14px 30px rgba(20,48,110,.08); transform: translateY(-3px); }
.xcard--wide { grid-column: 1 / -1; }
.xcard__icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: #fff; color: var(--c, var(--blue)); box-shadow: 0 4px 12px rgba(11,26,74,.07); transition: transform .3s var(--ease);
}
.xcard:hover .xcard__icon { transform: rotate(-8deg) scale(1.08); }
.xcard__icon .ico { width: 20px; height: 20px; }
.xcard h4 { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.xcard p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.xcard .link-arrow { margin-top: 8px; font-size: 13.5px; }
[id] { scroll-margin-top: 150px; }

.service-block { padding: 70px 0; border-bottom: 1px solid var(--line); }
.service-block:nth-of-type(even) { background: var(--soft); }
.service-block:last-of-type { border-bottom: 0; }

.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.style-grid figure { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1; }
.style-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.style-grid figure:hover img { transform: scale(1.08); }
.style-grid figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.94); border-radius: 8px; padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--navy); }

.vault {
  position: relative; border-radius: 24px; padding: 34px; overflow: hidden;
  background: linear-gradient(150deg, #0b1a4a, #13307f); color: #fff; box-shadow: 0 26px 56px rgba(11,26,74,.3);
}
.vault__lock { width: 74px; height: 74px; border-radius: 20px; background: rgba(255,255,255,.1); display: grid; place-items: center; margin-bottom: 20px; animation: float 5s ease-in-out infinite; }
.vault__lock .ico { width: 36px; height: 36px; color: #7ee2a0; }
.vault ul { display: grid; gap: 14px; }
.vault li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.07); font-size: 14px; }
.vault li .ico { width: 20px; height: 20px; color: #8fb8ff; }
.vault li span { margin-left: auto; font-size: 12px; color: #9fb4e3; }

.reminder-demo { background: #fff; border-radius: 24px; padding: 26px; box-shadow: 0 26px 56px rgba(20,48,110,.14); }
.notif {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--soft); margin-bottom: 12px;
  animation: float-x 7s ease-in-out infinite;
}
.notif:nth-child(2) { animation-delay: -2s; }
.notif:nth-child(3) { animation-delay: -4s; margin-bottom: 0; }
.notif .ibox { width: 42px; height: 42px; border-radius: 12px; flex: none; }
.notif .ibox .ico { width: 20px; height: 20px; }
.notif strong { display: block; font-size: 14px; color: var(--navy); }
.notif p { font-size: 13px; color: var(--muted); line-height: 1.45; }
.notif time { font-size: 11.5px; color: #9aa5bd; margin-left: auto; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .page-hero__title { font-size: 40px; }
  .grid-4, .stats, .kpis { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .sitemap { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .vgrid { grid-template-columns: repeat(4, 1fr); }
  .float-card--tl, .float-card--bl { left: 0; }
  .float-card--br, .float-card--tr { right: 0; }
  .dodont { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .section { padding: 56px 0; }
  .page-hero__grid, .split, .contact-grid, .family-calc, .blog-featured, .panel-grid, .legal, .spec { grid-template-columns: 1fr; }
  .page-hero__grid { gap: 40px; }
  .split { gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .split + .split { margin-top: 64px; }
  .grid-3, .pricing, .norms { grid-template-columns: 1fr 1fr; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-6px); }
  .auth { grid-template-columns: 1fr; }
  .auth__visual { min-height: 320px; padding: 34px; }
  .app { grid-template-columns: 1fr; }
  .app__side { position: static; }
  .app__nav { grid-template-columns: repeat(3, 1fr); }
  .toc { position: static; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 32px; }
  .cta-band__side { justify-self: start; }
  .blog-featured__img { min-height: 260px; }
  .spec { justify-items: center; }
  .svc-group { grid-template-columns: 1fr; gap: 22px; }
  .svc-group__head { position: static; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .svc-group__head .ibox { grid-row: span 2; }
  .svc-group__head h3 { margin: 0 0 2px; }
  .svc-group__count { display: none; }
  .anchor-nav { top: 76px; }
}

@media (max-width: 760px) {
  .section { padding: 46px 0; }
  .section-head { margin-bottom: 30px; }
  .page-hero { padding: 22px 0 46px; }
  .page-hero__title { font-size: 32px; }
  .page-hero__lead { font-size: 16px; }
  .page-hero__actions .btn { flex: 1 1 100%; }
  .split__title { font-size: 26px; }
  .grid-2, .grid-3, .grid-4, .pricing, .norms, .stats, .sitemap { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat__num { font-size: 30px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .cta-band { padding: 34px 22px; border-radius: 22px; }
  .cta-band h2 { font-size: 25px; }
  .cta-band__side { justify-self: stretch; }
  .cta-band__side .btn { width: 100%; }
  .float-card { display: none; }
  .hero-photo { width: min(300px, 100%); }
  .prose { padding: 28px 20px; }
  .prose table { display: block; overflow-x: auto; font-size: 13px; }
  .prose th, .prose td { padding: 10px; }
  .media-tiles { gap: 8px; }
  .app__nav { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .family-calc { padding: 28px 20px; }
  .blog-featured__body { padding: 28px 22px; }
  .blog-featured__body h2 { font-size: 24px; }
  .newsletter { flex-direction: column; }
  .newsletter .btn { width: 100%; }
  .spec { padding: 24px 18px; }
  .spec__list { grid-template-columns: 1fr; }
  .cookie-row { padding: 16px; }
  .tl-item { grid-template-columns: 48px 1fr; gap: 14px; }
  .tl-item__dot { width: 48px; height: 48px; font-size: 16px; }
  .timeline::before { left: 23px; }
  .auth__panel { padding: 32px 18px; }
  .sso { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 12px 10px; font-size: 13px; }
  .app__welcome { padding: 24px 20px; }
  .svc-group { padding: 22px 16px; border-radius: 20px; }
  .svc-group__head .ibox { width: 46px; height: 46px; }
  .svc-group__head h3 { font-size: 18px; }
  .svc-group__head p { font-size: 13.5px; }
  .svc-grid { grid-template-columns: 1fr; gap: 10px; }
  .xcard { padding: 16px 14px; }
  .panel { padding: 20px 16px; }
  .panel__head { align-items: flex-start; }
  .season-tip { grid-template-columns: auto 1fr; gap: 12px 14px; padding: 14px; }
  .season-tip__faces { grid-column: 1 / -1; order: 3; }
  .season-tip .btn { grid-column: 1 / -1; order: 4; width: 100%; }
  .people { grid-template-columns: 1fr 1fr; gap: 8px; }
  .vset__head { flex-wrap: wrap; gap: 14px; }
  .vset__head .btn { width: 100%; }
  .vset__filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 4px; scrollbar-width: none; }
  .vset__filters::-webkit-scrollbar { display: none; }
  .vset__filters .chip { flex: none; }
  .vgrid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .variant { border-radius: 12px; }
  .variant figcaption { left: 5px; bottom: 5px; font-size: 10.5px; padding: 3px 6px; }
  .variant figcaption .ico { display: none; }
  .variant__actions { display: none; }
  .variant.is-suggested::before { top: 5px; left: 5px; font-size: 9.5px; padding: 2px 5px; }
  .doc { width: 88%; margin-bottom: 16px; border-radius: 7px; }
  .doc__band { font-size: 8.5px; padding: 4px 6px; }
  .doc__body { gap: 5px; padding: 5px; }
  .doc__lines { gap: 4px; }
  .doc__lines i { height: 4px; }
  .variant__na { font-size: 9px; padding: 3px 6px; }
}

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

/* ---------- Landings par document ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dl { --blue: var(--doc); --blue-dark: var(--doc-dark); }
.dl--passeport { --doc: #7a1f35; --doc-dark: #5c1426; --doc-soft: #f7edf0; }
.dl--cni { --doc: #1d4fa8; --doc-dark: #153c82; --doc-soft: #ecf2fc; }
.dl--resident { --doc: #0e6f78; --doc-dark: #0a5359; --doc-soft: #e6f3f4; }
.dl--vitale { --doc: #14845a; --doc-dark: #0e6343; --doc-soft: #e7f5ee; }
.dl--permis { --doc: #c2477a; --doc-dark: #a03462; --doc-soft: #fcedf3; }
.dl--autre { --doc: #5b4bc4; --doc-dark: #4537a3; --doc-soft: #efedfb; }
.dl .faq-item[open] { border-color: color-mix(in srgb, var(--doc) 28%, #fff); }
.dl .faq-item summary .faq-toggle { background: var(--doc-soft); }
.dl .faq-item[open] summary .faq-toggle { background: var(--doc); }
.dl { --logo-bg: #2b2e34; }
.dl .logo__name { color: #111317; }
.dl .logo__name span { color: #7b8089; }

.dl-crumbs { border-top: 1px solid var(--line); }
.dl-crumbs .crumbs { margin: 0 auto; padding-top: 18px; padding-bottom: 18px; }
@media (min-width: 1181px) {
  .dl-hero .hero__visual, .dl-hero .hero__portrait { align-items: center; }
  .dl-hero .hero__media {
    align-self: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 86%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 86%, transparent 100%);
  }
}
.dl-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.dl-title { font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; color: var(--navy); margin-bottom: 14px; }
.dl-title span { color: var(--doc); }
.dl-lead { font-size: 16.5px; color: #3c4867; line-height: 1.55; margin-bottom: 22px; }

.dl-tool {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 470px; padding: 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 34px rgba(20, 48, 110, .08);
}
.dl-tool__selects { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; margin-bottom: 4px; }
.dl-select {
  position: relative; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px;
  background: #fff; border: 1px solid #d6dce8; border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.dl-select::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-2px) rotate(45deg); pointer-events: none; }
.dl-select { min-width: 0; }
.dl-select select { flex: 1; width: 0; min-width: 0; text-overflow: ellipsis; height: 100%; appearance: none; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--navy); cursor: pointer; outline: none; }
.dl-select:focus-within { border-color: var(--doc); box-shadow: 0 0 0 3px var(--doc-soft); }
.dl-select .flag-fr { flex: none; }
.dl-btn {
  width: 100%; gap: 10px; padding: 14px 20px; border-radius: 10px; font-size: 16px; font-weight: 600;
  background: var(--doc); color: #fff; border: 1.5px solid var(--doc); cursor: pointer; transition: background .2s, transform .2s;
}
.dl-btn:hover { background: var(--doc-dark); transform: translateY(-1px); }
.dl-btn:focus-within { outline: 3px solid color-mix(in srgb, var(--doc) 40%, transparent); outline-offset: 3px; }
.dl-btn .ico { width: 20px; height: 20px; }
.dl-btn--outline { background: #fff; color: var(--doc); }
.dl-btn--outline:hover { background: var(--doc-soft); }
.dl-btn--inline { width: auto; padding: 13px 30px; }
.dl-tool .handoff-btn { padding: 13px 20px; border-radius: 10px; font-size: 15.5px; }
.dl-tool__or { text-align: center; font-size: 13px; color: var(--muted); line-height: 1; }
.dl-tool__link { justify-self: center; font-size: 13.5px; font-weight: 500; color: var(--doc); text-decoration: underline; text-underline-offset: 3px; }
.dl-note { max-width: 470px; margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.dl-hero .hero__content { padding: 24px 0; }

@media (min-width: 761px) and (max-height: 820px) {
  .dl-hero .hero__content { padding: 14px 0; }
  .dl-kicker { margin-bottom: 8px; }
  .dl-title { font-size: 36px; margin-bottom: 10px; }
  .dl-lead { font-size: 15px; margin-bottom: 14px; }
  .dl-tool { padding: 12px; gap: 8px; }
  .dl-btn, .dl-tool .handoff-btn { padding: 11px 18px; font-size: 15px; }
  .dl-select { height: 40px; }
  .dl-note { margin-top: 10px; }
  .dl-docs { padding: 12px 0; gap: 10px; }
}
@media (min-width: 761px) and (max-height: 760px) {
  .dl-tool { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dl-tool > * { grid-column: 1 / -1; }
  .dl-tool > .dl-btn--outline, .dl-tool > .handoff-btn { grid-column: auto; gap: 7px; padding-inline: 8px; font-size: 14px; }
}
@media (min-width: 761px) and (max-height: 690px) {
  .dl-hero .hero__content { padding: 10px 0; }
  .dl-title { font-size: 31px; }
  .dl-lead { font-size: 14px; line-height: 1.45; margin-bottom: 10px; }
  .dl-tool__selects { margin-bottom: 0; }
  .dl-select { height: 36px; }
  .dl-btn, .dl-tool .handoff-btn { padding: 9px 16px; }
  .dl-note { margin-top: 8px; font-size: 12px; }
}
@media (min-width: 761px) {
  .dl-docs { justify-self: center; width: min(100%, calc((100svh - var(--above-fold, 190px) - 40px) * .6)); }
}

.dl-docs { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 24px 0; container-type: inline-size; }
.dl-docs__doc { position: relative; }
.dl-docs .sheet-wrap { position: relative; z-index: 2; rotate: -1.5deg; }
.dl-docs--sheet .sheet-wrap { rotate: 2deg; animation: float 8s ease-in-out infinite; }
.dl-docs__tag {
  align-self: flex-end; margin-top: -4px; padding: 8px 14px; border-radius: 8px; white-space: nowrap;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13.5px; font-weight: 700; color: var(--navy);
}
.frame-marks { position: relative; aspect-ratio: 35 / 45; overflow: hidden; background: #eef0f4; }
.frame-marks img, .frame-marks video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.frame-marks::after {
  content: ""; position: absolute; inset: 6%; pointer-events: none; --c: var(--doc); --w: 3px;
  background:
    linear-gradient(var(--c), var(--c)) left top / 18% var(--w), linear-gradient(var(--c), var(--c)) left top / var(--w) 14%,
    linear-gradient(var(--c), var(--c)) right top / 18% var(--w), linear-gradient(var(--c), var(--c)) right top / var(--w) 14%,
    linear-gradient(var(--c), var(--c)) left bottom / 18% var(--w), linear-gradient(var(--c), var(--c)) left bottom / var(--w) 14%,
    linear-gradient(var(--c), var(--c)) right bottom / 18% var(--w), linear-gradient(var(--c), var(--c)) right bottom / var(--w) 14%;
  background-repeat: no-repeat;
}
.frame-marks--grid::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(33.3% - .5px), rgba(255,255,255,.75) 0 calc(33.3% + .5px), transparent 0 calc(50% - .5px), color-mix(in srgb, var(--doc) 60%, transparent) 0 calc(50% + .5px), transparent 0 calc(66.6% - .5px), rgba(255,255,255,.75) 0 calc(66.6% + .5px), transparent 0),
    linear-gradient(180deg, transparent calc(33.3% - .5px), rgba(255,255,255,.75) 0 calc(33.3% + .5px), transparent 0 calc(66.6% - .5px), rgba(255,255,255,.75) 0 calc(66.6% + .5px), transparent 0);
}

.dl-docs .doc-obj { position: absolute; z-index: 0; animation: float 8s ease-in-out infinite; }
.doc-obj--book {
  right: 8%; top: -2%; width: 30%; aspect-ratio: .7; rotate: 6deg; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 7cqi 3cqi 5cqi; text-align: center;
  border-radius: 1cqi 2.2cqi 2.2cqi 1cqi; color: #e2c27a;
  background: linear-gradient(140deg, color-mix(in srgb, var(--doc) 88%, #fff), var(--doc-dark));
  box-shadow: 0 3cqi 6cqi rgba(40, 10, 20, .28), inset 0 0 0 1px rgba(255,255,255,.08);
}
.doc-obj--book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7%; background: rgba(0,0,0,.18); }
.doc-obj__top { font-size: 1.7cqi; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.doc-obj__emblem {
  display: grid; place-items: center; width: 13cqi; height: 13cqi; border-radius: 50%; border: .5cqi solid currentColor;
  box-shadow: inset 0 0 0 1cqi transparent, inset 0 0 0 1.25cqi rgba(226, 194, 122, .55);
  font-family: Georgia, "Times New Roman", serif; font-size: 4.6cqi; font-weight: 700; letter-spacing: .04em;
}
.doc-obj--book .doc-obj__label { font-size: 3.2cqi; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.doc-obj--book svg { width: 6cqi; fill: none; stroke: currentColor; stroke-width: 1.4; }
.dl--passeport .doc-obj--book { z-index: 3; right: -5%; top: 12%; width: 44%; rotate: 9deg; animation-delay: -4s; }

/* Spécimens de documents (données fictives, mention « Factice ») */
.dl-docs .idoc { z-index: 1; font-size: 2.4cqi; rotate: 3deg; animation: float 8s ease-in-out infinite; }
.dl-docs .idoc--passeport { rotate: -2deg; animation-delay: -3s; }
.idoc {
  position: relative; width: 40em; aspect-ratio: 85.6 / 54; overflow: hidden;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: .8em; padding: 1.4em 1.6em 1.2em;
  border-radius: 1.4em; color: #1c2340; line-height: 1.15; background: var(--idoc-bg);
  box-shadow: 0 2.4em 4.8em rgba(15, 25, 50, .25), 0 0 0 1px rgba(0, 0, 0, .06);
}
.idoc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background:
    repeating-radial-gradient(circle at 78% 28%, transparent 0 .55em, rgba(255,255,255,.4) .55em .62em),
    repeating-linear-gradient(118deg, transparent 0 .9em, rgba(255,255,255,.22) .9em 1em);
}
.idoc > * { position: relative; }
.idoc__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1em; align-items: start; }
.idoc__head > :not(.idoc__badge) { grid-column: 1; }
.idoc__rf { font-size: .78em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.idoc__title { font-size: 1.3em; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--idoc-ink); white-space: nowrap; }
.idoc__sub { font-size: .75em; font-style: italic; opacity: .7; }
.idoc__badge {
  grid-column: 2; grid-row: 1 / 4; display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%;
  background: #1d3f94; color: #fff; font-size: 1.1em; font-weight: 800; box-shadow: inset 0 0 0 .22em #1d3f94, inset 0 0 0 .34em #f2c94c;
}
.idoc__body { display: grid; grid-template-columns: 10.5em minmax(0, 1fr); gap: 1.2em; min-height: 0; }
.idoc__photo { width: 100%; aspect-ratio: 35 / 45; object-fit: cover; object-position: center 20%; border-radius: .4em; filter: grayscale(1) contrast(1.05); }
.idoc__fields { display: grid; grid-template-columns: 1fr 1fr; gap: .5em 1em; align-content: start; min-width: 0; }
.idoc__fields div { min-width: 0; }
.idoc__fields .is-wide { grid-column: 1 / -1; }
.idoc__fields dt { font-size: .66em; letter-spacing: .03em; text-transform: uppercase; color: rgba(28, 35, 64, .62); white-space: nowrap; overflow: hidden; }
.idoc__fields dd { margin: 0; font-size: 1em; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idoc__foot { display: flex; align-items: center; gap: 1em; font-size: .66em; color: rgba(28, 35, 64, .6); }
.idoc__foot svg { width: 13em; height: 3.4em; }
.idoc__mrz { font-family: "OCR-B", "Courier New", monospace; font-size: .86em; font-weight: 600; letter-spacing: .06em; line-height: 1.35; white-space: nowrap; overflow: hidden; }
.idoc__fake { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; }
.idoc__fake b {
  rotate: -20deg; padding: 0 .25em; border: .07em solid currentColor; border-radius: .12em;
  font-size: 5.2em; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: rgba(196, 22, 44, .34);
}

.idoc--passeport { --idoc-bg: linear-gradient(115deg, #efe3ec, #f8f1f2 50%, #e6e8f4); --idoc-ink: #7a1f35; aspect-ratio: 125 / 88; border-radius: .6em; }
.idoc--passeport .idoc__body { grid-template-columns: 9.5em minmax(0, 1fr); }
.idoc--passeport .idoc__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45em .9em; }
.idoc--cni { --idoc-bg: linear-gradient(115deg, #d6e4f7 0%, #eef2fb 40%, #f5e2ec 75%, #dce6f7 100%); --idoc-ink: #1d3f94; }
.idoc--resident { --idoc-bg: linear-gradient(115deg, #d6edea, #f0f4e9 50%, #e8e0f1); --idoc-ink: #0e5e66; }
.idoc--permis { --idoc-bg: linear-gradient(115deg, #f6cfdb, #fbe8ee 45%, #f2cbd9); --idoc-ink: #b0284f; }
.idoc--permis .idoc__head { grid-template-columns: auto minmax(0, 1fr); }
.idoc--permis .idoc__head > :not(.idoc__badge) { grid-column: 2; }
.idoc--permis .idoc__badge { grid-column: 1; border-radius: .3em; width: 2.6em; height: 3em; box-shadow: inset 0 0 0 .3em #1d3f94, inset 0 0 0 .4em #f2c94c; }
.idoc--permis .idoc__fields { grid-template-columns: 1fr 1fr; }
.idoc--permis .idoc__fields div { display: flex; gap: .4em; align-items: baseline; }
.idoc--permis .idoc__fields dt { font-size: .8em; font-weight: 700; color: var(--idoc-ink); }
.idoc--vitale { --idoc-bg: linear-gradient(150deg, #178f52 0%, #3ea84e 45%, #a6cd3c 80%, #f0d238 100%); --idoc-ink: #fff; color: #fff; }
.idoc--vitale .idoc__title { font-size: 2em; text-transform: none; letter-spacing: -.01em; }
.idoc--vitale .idoc__body { grid-template-columns: minmax(0, 1fr) 10em; }
.idoc--vitale .idoc__photo { grid-column: 2; grid-row: 1 / 3; filter: none; }
.idoc--vitale .idoc__fields { grid-column: 1; grid-row: 2; grid-template-columns: 1fr; }
.idoc--vitale .idoc__fields dt { color: rgba(255, 255, 255, .8); }
.idoc--vitale .idoc__foot { color: rgba(255, 255, 255, .85); }
.idoc--vitale .idoc__foot path { stroke: #fff; }
.idoc__chip { grid-column: 1; grid-row: 1; width: 5em; height: 3.8em; border-radius: .6em; background: linear-gradient(135deg, #f6e2a8, #c9a24c); box-shadow: inset 0 0 0 .12em rgba(120, 90, 20, .35); }

.sheet-wrap { container-type: inline-size; }
.sheet-wrap .sheet { font-size: 3.333cqi; }
.sheet {
  width: 30em; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1em; padding: 1em; line-height: 1.2;
  background: #fff; border-radius: .5em; color: var(--navy);
  box-shadow: 0 1.2em 2.8em rgba(20, 30, 60, .16), 0 0 0 1px rgba(20, 30, 60, .05);
}
.sheet__photos { display: grid; grid-template-columns: repeat(2, 6.6em); gap: .35em; align-content: start; }
.sheet__photos img { width: 100%; aspect-ratio: 35 / 45; object-fit: cover; object-position: center 22%; outline: 1px solid #e3e6ee; }
.sheet__info { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.sheet__brand { display: flex; align-items: center; justify-content: space-between; gap: .4em; width: 100%; }
.sheet__brand strong { font-size: 2em; font-weight: 800; letter-spacing: -.03em; }
.sheet__seal {
  flex: none; display: grid; place-items: center; width: 5.4em; height: 5.4em; border-radius: 50%;
  font-size: .6em; font-weight: 700; line-height: 1.1; background: var(--doc); color: #fff; box-shadow: 0 0 0 .35em var(--doc-soft);
}
.sheet__tag { align-self: flex-start; margin: .3em 0 .4em; padding: .2em .6em; border-radius: .3em; background: #eceff4; font-size: .6em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sheet__code, .sheet__url { max-width: 100%; overflow: hidden; white-space: nowrap; }
.sheet__code { font-size: .64em; font-weight: 600; letter-spacing: .05em; }
.sheet__qrs { display: flex; gap: .8em; margin: .6em 0; }
.sheet__qrs figure { display: grid; justify-items: center; gap: .25em; }
.sheet__qrs img { width: 3.6em; height: 3.6em; }
.sheet__qrs figcaption { max-width: 6.4em; font-size: .56em; font-weight: 600; line-height: 1.15; }
.sheet__sign { display: grid; place-items: center; width: 100%; height: 2.8em; border: 1px solid #cfd5e1; border-radius: .3em; }
.sheet__sign svg { width: 70%; height: 80%; }
.sheet__info small { margin-top: .2em; font-size: .55em; color: var(--muted); }
.sheet__url { margin-top: .4em; font-size: .85em; font-weight: 700; }
.sheet__url span { color: var(--doc); }

.dl-strip { background: #fff; border-block: 1px solid var(--line); }
.dl-strip__list { display: grid; grid-template-columns: repeat(3, 1fr); }
.dl-strip li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 10px; font-size: 14.5px; font-weight: 500; color: var(--navy); }
.dl-strip li + li { border-left: 1px solid var(--line); }
.dl-strip .ico { width: 24px; height: 24px; color: var(--doc); }

.dl-h2 { margin-bottom: 30px; font-size: 30px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--navy); }
.dl-steps-sec { padding: 56px 0; }
.dl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px; }
.dl-step { position: relative; display: flex; flex-direction: column; gap: 16px; }
.dl-step + .dl-step::before {
  content: ""; position: absolute; left: -44px; top: 60%; width: 28px; height: 16px; background: var(--doc);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 16'%3E%3Cpath d='M1 8h25M19 1l7 7-7 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%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 28 16'%3E%3Cpath d='M1 8h25M19 1l7 7-7 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dl-step__head { display: flex; align-items: flex-start; gap: 12px; }
.dl-step__num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--doc); color: #fff; font-weight: 700; }
.dl-step h3 { font-size: 18px; font-weight: 700; color: var(--navy); }
.dl-step p { font-size: 13.5px; color: var(--muted); }
.dl-step__visual {
  position: relative; flex: 1; min-height: 200px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.dl-step__visual--upload img { width: 92px; aspect-ratio: 35 / 45; object-fit: cover; object-position: center 22%; border-radius: 6px; }
.dl-file { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.dl-file .ico { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: #e6f6ec; color: #1f9d55; }
.dl-file .dl-file__del { background: none; color: var(--muted); }
.dl-step__visual .frame-marks { width: 122px; border-radius: 4px; }
.dl-step__visual--sheet { padding: 14px; }
.dl-step__visual--sheet .sheet-wrap { width: 94%; }
.dl-dl {
  position: absolute; right: -18px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: var(--doc); color: #fff; cursor: pointer; box-shadow: 0 8px 18px rgba(0,0,0,.18); transition: transform .2s;
}
.dl-dl:hover { transform: scale(1.08); }
.dl-dl .ico { width: 20px; height: 20px; }

.dl-criteria { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 52px; align-items: center; }
.dl-criteria__photo { text-align: center; }
.dl-criteria__photo .frame-marks { border: 6px solid #fff; border-radius: 4px; box-shadow: var(--shadow); }
.dl-criteria__photo figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.dl-criteria__list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 48px; padding-left: 48px; border-left: 1px solid var(--line); }
.dl-criteria__list li { display: flex; align-items: flex-start; gap: 14px; }
.dl-criteria__list .ico { flex: none; width: 30px; height: 30px; color: var(--doc); }
.dl-criteria__list strong { display: block; font-size: 16px; color: var(--navy); }
.dl-criteria__list span { font-size: 13.5px; color: var(--muted); }
.dl-official { display: inline-flex; align-items: center; gap: 6px; margin: 26px 0 0 48px; font-size: 14px; font-weight: 600; color: var(--doc); text-decoration: underline; text-underline-offset: 3px; }
.dl-official .ico { width: 14px; height: 14px; }

.dl-tips { padding: 22px 22px 18px; background: #f6f8fb; border: 1px solid var(--line); border-radius: 18px; }
.dl-tips__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.dl-tips__ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--doc-soft); color: var(--doc); }
.dl-tips__ico .ico { width: 20px; height: 20px; }
.dl-tips__head h2 { font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.dl-tips__head p { font-size: 13.5px; color: var(--muted); }
.dl-tips__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.dl-tips__item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.dl-tips__item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 30%; border-radius: 12px; border: 2px solid #22a861; background: #e9edf2; }
.dl-tips__item.is-bad img { border-color: #f2a5ac; }
.dl-tips__verdict { display: grid; place-items: center; width: 22px; height: 22px; margin: 8px 0 6px; border-radius: 50%; background: #22a861; color: #fff; }
.dl-tips__item.is-bad .dl-tips__verdict { background: #e5484d; }
.dl-tips__verdict .ico { width: 13px; height: 13px; stroke-width: 3; }
.dl-tips__label { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: #22a861; }
.dl-tips__item.is-bad .dl-tips__label { color: #d93a40; }
.dl-tips__more { display: flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; margin: 18px auto 0; font-size: 14px; font-weight: 600; color: var(--doc); }
.dl-tips__more .ico { width: 16px; height: 16px; transition: transform .2s; }
.dl-tips__more:hover .ico { transform: translateX(3px); }
.dl-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.dl-shot__img { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: #eef1f5; }
.dl-shot__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dl-shot:hover .dl-shot__img img { transform: scale(1.04); }
.dl-shot__num { position: absolute; z-index: 1; left: 12px; top: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 14px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.dl-shot h3 { margin: 16px 0 6px; font-size: 18px; font-weight: 700; color: var(--doc); }
.dl-shot p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

.dl-ready { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.dl-ready__list { display: grid; gap: 20px; margin-bottom: 28px; }
.dl-ready__list li { display: flex; gap: 16px; }
.dl-ready__list .ico { flex: none; width: 28px; height: 28px; color: var(--doc); }
.dl-ready__list strong { display: block; font-size: 17px; color: var(--navy); }
.dl-ready__list span { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.dl-ready__sheet { justify-self: center; width: 100%; max-width: 470px; rotate: 2deg; }

.dl-faq { max-width: none; }
.dl-cta {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 34px 44px;
  border-radius: 20px; background: linear-gradient(120deg, var(--doc), var(--doc-dark)); color: #fff;
}
.dl-cta h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.dl-cta p { margin-top: 4px; opacity: .85; }
.dl-cta .btn--white { color: var(--doc); }

@media (max-width: 1100px) {
  .dl-title { font-size: 38px; }
  .dl-steps { gap: 44px; }
  .dl-step + .dl-step::before { left: -36px; width: 24px; }
}
@media (max-width: 960px) {
  .dl-criteria, .dl-ready { grid-template-columns: minmax(0, 1fr); }
  .dl-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 520px; margin: 0 auto; }
  .dl-step + .dl-step::before { display: none; }
  .dl-criteria__photo { width: 170px; margin: 0 auto; }
  .dl-criteria__list { padding-left: 0; border-left: 0; }
  .dl-official { margin-left: 0; }
  .dl-tips__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .dl-shots { gap: 16px; }
}
@media (max-width: 760px) {
  .dl-tool, .dl-note { max-width: none; }
  .dl-docs { max-width: 420px; width: 100%; margin: 0 auto; padding: 10px 0 36px; }
  .dl-title { font-size: 31px; }
  .dl-h2 { font-size: 24px; margin-bottom: 22px; }
  .dl-strip li { flex-direction: column; gap: 6px; padding: 14px 6px; font-size: 12px; text-align: center; }
  .dl-strip .ico { width: 22px; height: 22px; }
  .dl-steps-sec { padding: 44px 0; }
  .dl-step__visual { min-height: 170px; }
  .dl-dl { right: 10px; }
  .dl-criteria__list { gap: 20px 16px; }
  .dl-criteria__list .ico { width: 24px; height: 24px; }
  .dl-criteria__list strong { font-size: 14.5px; }
  .dl-criteria__list span { font-size: 12.5px; }
  .dl-ready__sheet { rotate: 0deg; }
  .dl-cta { padding: 26px 22px; }
  .dl-cta h2 { font-size: 22px; }
  .dl-cta .btn { width: 100%; justify-content: center; }
  .dl-tips { padding: 18px 0 16px 16px; }
  .dl-tips__head { padding-right: 16px; }
  .dl-tips__grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: 16px; scrollbar-width: none; }
  .dl-tips__grid::-webkit-scrollbar { display: none; }
  .dl-tips__item { flex: 0 0 31%; scroll-snap-align: start; }
  .dl-tips__label { font-size: 11.5px; }
  .dl-shots { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 32px; }
}

/* Page de paiement */
.co { padding: 34px 0 80px; background: #fff; }
.co-steps { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 34px; padding: 0; list-style: none; font-size: 15px; font-weight: 500; color: #8a93a6; }
.co-steps li { display: flex; align-items: center; gap: 10px; }
.co-steps li + li::before { content: ""; width: 56px; height: 1.5px; margin-right: 4px; background: #d5dae3; }
.co-steps__dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #c3cad6; font-size: 14px; }
.co-steps .is-current { color: var(--navy); font-weight: 600; }
.co-steps .is-current .co-steps__dot { border-color: var(--blue); color: var(--blue); }
.co-steps .is-done { color: var(--navy); }
.co-steps .is-done .co-steps__dot { border-color: var(--blue); background: var(--blue); color: #fff; }
.co-steps .is-done .co-steps__dot .ico { width: 15px; height: 15px; stroke-width: 3; }

.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; align-items: start; }
.co-grid[hidden] { display: none; }
.co-pay { overflow: hidden; border: 1.5px solid color-mix(in srgb, var(--blue) 35%, #fff); border-radius: 16px; background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 6%, transparent); }
.co-pay__head { padding: 20px 20px 18px; text-align: center; background: #f7f8fa; border-bottom: 1px solid var(--line); }
.co-pay__secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15.5px; font-weight: 600; color: var(--navy); }
.co-pay__secure .ico { width: 18px; height: 18px; color: #1f9a57; }
.co-pay__total { margin-top: 8px; font-size: 17px; font-weight: 600; color: var(--navy); }
.co-pay__total b { color: var(--blue); }
.co-pay__body { display: grid; gap: 12px; padding: 20px 26px 24px; }
.co-cards { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 4px; }
.co-cards__visa { width: 52px; height: 18px; }
.co-cards__mc { width: 34px; height: 22px; }
.co-cards__cb { padding: 3px 7px; border-radius: 5px; background: linear-gradient(135deg, #1b6fb8, #1aa38c); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.co-input {
  width: 100%; height: 46px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--navy);
  background: #f7f8fa; border: 1px solid #dde2ea; border-radius: 8px; outline: none; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.co-input::placeholder { color: #9aa2b1; }
.co-input:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 15%, transparent); }
.co-input.is-invalid { border-color: #e5484d; background: #fff6f6; }
.co-field { display: grid; gap: 6px; padding-bottom: 14px; margin-bottom: 2px; border-bottom: 1px dashed #dde2ea; }
.co-field__label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.co-field__hint { font-size: 12px; color: var(--muted); }
.co-done p b { color: var(--navy); }
.co-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.co-ship { display: grid; gap: 12px; margin: 0 0 6px; padding: 0 0 16px; border: 0; border-bottom: 1px dashed #dde2ea; }
.co-ship[hidden] { display: none; }
.co-ship legend { margin-bottom: 10px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.co-terms { display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; font-size: 11.5px; line-height: 1.5; color: #4a5468; cursor: pointer; }
.co-terms input { flex: none; width: 16px; height: 16px; margin-top: 1px; accent-color: var(--blue); }
.co-terms a { font-weight: 600; color: var(--navy); text-decoration: underline; }
.co-terms.is-invalid { color: #c0353a; }
.co-error { font-size: 13px; font-weight: 500; color: #c0353a; }
.co-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; font: inherit; font-size: 16px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .02em; color: #fff; background: var(--blue); border: 0; border-radius: 8px; cursor: pointer;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--blue) 28%, transparent); transition: background-color .2s, transform .2s;
}
.co-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }
.co-submit.is-loading { pointer-events: none; }
.co-submit.is-loading span { display: none; }
.co-submit.is-loading::after { content: ""; width: 20px; height: 20px; border: 2.5px solid #fff; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.co-reassure { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-top: 4px; border: 1px solid #bfe8cf; border-radius: 10px; background: #effaf3; }
.co-reassure__ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #1f9a57; color: #fff; }
.co-reassure__ico .ico { width: 17px; height: 17px; }
.co-reassure b { font-size: 14.5px; color: #17663c; }
.co-reassure p { font-size: 13px; color: #2f6e4a; }

.co-sum { padding: 22px 24px 24px; border-radius: 16px; background: #f7f8fa; }
.co-sum__head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.co-sum__title { font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
.co-sum__doc { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.co-sum__doc b { color: var(--navy); font-weight: 600; }
.co-thumb { position: relative; flex: none; margin: 0 26px 20px 0; }
.co-thumb__photo { width: 104px; aspect-ratio: 35 / 45; padding: 4px; border-radius: 6px; background: #fff; box-shadow: 0 6px 18px rgba(20, 40, 90, .14); }
.co-thumb__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.co-thumb__w, .co-thumb__h { position: absolute; display: grid; place-items: center; font-size: 10.5px; color: var(--muted); }
.co-thumb__w { left: 0; right: 0; top: calc(100% + 4px); height: 12px; border-inline: 1px solid #b7bfcc; }
.co-thumb__h { top: 0; bottom: 0; left: calc(100% + 6px); width: 12px; border-block: 1px solid #b7bfcc; writing-mode: vertical-rl; }
.co-thumb__w::before, .co-thumb__h::before { content: ""; position: absolute; z-index: -1; background: #b7bfcc; }
.co-thumb__w::before { left: 0; right: 0; top: 50%; height: 1px; }
.co-thumb__h::before { top: 0; bottom: 0; left: 50%; width: 1px; }
.co-thumb__w { background: linear-gradient(#f7f8fa, #f7f8fa) center / 44px 100% no-repeat; }
.co-thumb__h { background: linear-gradient(#f7f8fa, #f7f8fa) center / 100% 44px no-repeat; }
.co-sum__h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 19px; font-weight: 700; color: var(--navy); }
.co-sum__h2 span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; }
.co-opts { display: grid; gap: 10px; }
.co-opt { position: relative; display: block; padding: 14px 16px; border: 1.5px solid #dde2ea; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.co-opt:hover { border-color: #b9c1ce; }
.co-opt input { position: absolute; opacity: 0; pointer-events: none; }
.co-opt:has(input:checked) { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 5%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 10%, transparent); }
.co-opt:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.co-opt__tag { position: absolute; right: 12px; top: -11px; padding: 3px 10px; border-radius: 99px; background: #1f9a57; color: #fff; font-size: 11.5px; font-weight: 600; }
.co-opt__head { display: flex; align-items: center; gap: 10px; }
.co-opt__head b { flex: 1; font-size: 16px; font-weight: 700; color: var(--navy); }
.co-opt__head strong { font-size: 17px; font-weight: 700; color: var(--navy); }
.co-opt:has(input:checked) .co-opt__head b, .co-opt:has(input:checked) .co-opt__head strong { color: var(--blue); }
.co-opt__radio { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #9aa2b1; background: #fff; transition: border .2s; }
.co-opt:has(input:checked) .co-opt__radio { border: 5px solid var(--blue); }
.co-opt ul { display: grid; gap: 4px; margin: 10px 0 0 28px; padding: 0; list-style: none; }
.co-opt li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #4a5468; }
.co-opt li .ico { flex: none; width: 15px; height: 15px; color: var(--blue); }
.co-sum__after { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.co-sum__after a { color: var(--blue); font-weight: 600; }

.co-done { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: center; max-width: 760px; margin: 20px auto 0; padding: 36px; border-radius: 18px; background: #f7f8fa; animation: pm-in .4s ease; }
.co-done[hidden] { display: none; }
.co-done__photo { aspect-ratio: 35 / 45; padding: 6px; border-radius: 8px; background: #fff; box-shadow: 0 14px 30px rgba(20, 40, 90, .16); }
.co-done__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.co-done__ok { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: #1f9a57; color: #fff; }
.co-done__ok .ico { width: 22px; height: 22px; stroke-width: 3; }
.co-done h1 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.co-done p { font-size: 15px; line-height: 1.6; color: var(--muted); margin-bottom: 22px; }

@media (max-width: 860px) {
  .co-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .co-sum { order: -1; }
}
@media (max-width: 560px) {
  .co { padding: 20px 0 56px; }
  .co-steps { gap: 8px; font-size: 12.5px; margin-bottom: 22px; }
  .co-steps li { flex-direction: column; gap: 5px; text-align: center; }
  .co-steps li + li::before { display: none; }
  .co-pay__body { padding: 18px 16px 20px; }
  .co-sum { padding: 18px 16px; }
  .co-sum__title { font-size: 24px; }
  .co-thumb__photo { width: 80px; }
  .co-opt__head b { font-size: 14.5px; }
  .co-done { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 18px; text-align: center; }
  .co-done__photo { width: 160px; margin: 0 auto; }
  .co-done__ok { margin-inline: auto; }
  .co-done__actions .btn { width: 100%; }
}

/* Modale de préparation de la photo */
.pm {
  width: min(940px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0;
  border: 0; border-radius: 18px; background: #fff; color: var(--navy); overflow: auto;
  box-shadow: 0 30px 80px rgba(10, 20, 50, .35);
}
.pm::backdrop { background: rgba(12, 18, 40, .55); backdrop-filter: blur(3px); }
.pm[open] { animation: pm-in .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes pm-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.pm__close {
  position: absolute; z-index: 3; right: 16px; top: 16px; display: grid; place-items: center; width: 32px; height: 32px;
  border: 1.5px solid #c9cfda; border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; transition: background .2s;
}
.pm__close:hover { background: #f1f3f7; }
.pm__close .ico { width: 15px; height: 15px; }
.pm__body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: center; padding: 36px 48px 40px; }
.pm__title { margin-bottom: 24px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.pm__sub { margin: -16px 0 18px; font-size: 13.5px; color: var(--muted); }
.pm__progress-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.pm__progress-head b { color: var(--navy); }
.pm__bar { height: 6px; overflow: hidden; border-radius: 99px; background: #e4e8ef; }
.pm__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--doc); }
.pm__steps { display: grid; gap: 6px; margin: 22px 0 0; padding: 0; list-style: none; }
.pm__step { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 12px; transition: background .3s; }
.pm__step.is-active { background: var(--doc-soft); }
.pm__state { position: relative; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #eef1f5; color: #8a93a6; font-size: 13px; font-weight: 600; transition: background .3s, color .3s; }
.pm__state i { font-style: normal; }
.pm__state > * { grid-area: 1 / 1; }
.pm__ok { width: 16px; height: 16px; stroke-width: 2.6; transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.pm__spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; opacity: 0; }
.pm__step.is-active .pm__state { background: #fff; color: var(--doc); }
.pm__step.is-active .pm__spin { opacity: 1; animation: spin .8s linear infinite; }
.pm__step.is-done .pm__state { background: #e3f6ea; color: #1f9a57; }
.pm__step.is-done .pm__ok { transform: scale(1); }
.pm__step.is-active i, .pm__step.is-done i { opacity: 0; }
.pm__label { flex: 1; font-size: 14.5px; font-weight: 500; color: #8a93a6; transition: color .3s; }
.pm__step.is-active .pm__label, .pm__step.is-done .pm__label { color: var(--navy); }
.pm__badge { padding: 3px 9px; border-radius: 6px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pm__badge:empty { display: none; }
.pm__step.is-active .pm__badge { background: #fff; color: var(--doc); }
.pm__step.is-done .pm__badge { background: #e3f6ea; color: #1a8a4e; }

.pm__checks li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 500;
  opacity: 0; animation: pm-row .4s ease forwards; animation-delay: calc(var(--i) * 110ms + 100ms);
}
@keyframes pm-row { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.pm__pass { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 6px; background: #e3f6ea; color: #1a8a4e; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pm__pass .ico { width: 13px; height: 13px; stroke-width: 2.6; }
.pm__pass.is-warn { background: #fff1dc; color: #a15c00; }
.pm__cta { width: 100%; justify-content: center; gap: 10px; margin-top: 28px; padding: 15px 20px; border-radius: 10px; background: var(--doc); color: #fff; font-size: 16px; font-weight: 600; box-shadow: 0 10px 24px color-mix(in srgb, var(--doc) 30%, transparent); }
.pm__cta:hover { background: var(--doc-dark); color: #fff; }
.pm__cta .ico { width: 18px; height: 18px; }

.pm__aside { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pm__photo { position: relative; width: 100%; margin: 0; aspect-ratio: 35 / 45; overflow: hidden; border-radius: 12px; background: #eef1f5; box-shadow: 0 18px 40px rgba(20, 40, 90, .18); }
.pm__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease, filter .8s ease; }
.pm[data-stage="1"] .pm__photo img { filter: blur(5px) saturate(.5); transform: scale(1.04); }
.pm[data-stage="3"] .pm__photo img, .pm[data-stage="4"] .pm__photo img { transform: scale(1.06); }
.pm__scan {
  position: absolute; left: 0; right: 0; top: -35%; height: 35%; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--doc) 22%, transparent) 80%, color-mix(in srgb, var(--doc) 80%, #fff) 100%);
}
.pm[data-stage="2"] .pm__scan { opacity: 1; animation: pm-scan 1.4s linear infinite; }
@keyframes pm-scan { to { top: 100%; } }
.pm__face {
  --c: color-mix(in srgb, var(--doc) 70%, #fff);
  position: absolute; left: 22%; top: 14%; width: 56%; height: 56%; opacity: 0; transform: scale(1.25); pointer-events: none;
  transition: opacity .4s, transform .6s cubic-bezier(.2, .8, .2, 1);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 18% 3px, linear-gradient(var(--c), var(--c)) 0 0 / 3px 18%,
    linear-gradient(var(--c), var(--c)) 100% 0 / 18% 3px, linear-gradient(var(--c), var(--c)) 100% 0 / 3px 18%,
    linear-gradient(var(--c), var(--c)) 0 100% / 18% 3px, linear-gradient(var(--c), var(--c)) 0 100% / 3px 18%,
    linear-gradient(var(--c), var(--c)) 100% 100% / 18% 3px, linear-gradient(var(--c), var(--c)) 100% 100% / 3px 18%;
  background-repeat: no-repeat; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .6));
}
.pm[data-stage="3"] .pm__face, .pm[data-stage="4"] .pm__face { opacity: 1; transform: none; }
.pm[data-stage="4"] .pm__face { animation: pm-pulse 1s ease-in-out infinite; }
@keyframes pm-pulse { 50% { opacity: .45; } }
.pm__guide, .pm__dim, .pm__doc { opacity: 0; transition: opacity .5s .2s, transform .5s .2s; pointer-events: none; }
.pm__guide { position: absolute; left: 0; right: 0; border-top: 1.5px dashed rgba(229, 72, 77, .85); }
.pm__guide--top { top: 9%; }
.pm__guide--chin { top: 79%; }
.pm__dim { position: absolute; display: grid; place-items: center; color: var(--doc); }
.pm__dim::before { content: ""; position: absolute; background: currentColor; }
.pm__dim b { position: relative; padding: 1px 6px; border-radius: 4px; background: rgba(255, 255, 255, .92); font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.pm__dim--w { top: 8px; left: 7%; right: 7%; height: 12px; border-inline: 1.5px solid currentColor; }
.pm__dim--w::before { left: 0; right: 0; top: 50%; height: 1.5px; }
.pm__dim--h { right: 8px; top: 7%; bottom: 7%; width: 12px; border-block: 1.5px solid currentColor; }
.pm__dim--h::before { top: 0; bottom: 0; left: 50%; width: 1.5px; }
.pm__dim--h b { writing-mode: vertical-rl; padding: 6px 1px; }
.pm__doc { position: absolute; right: 26px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(20, 40, 90, .18); transform: translateY(8px); }
.pm__doc .ico { flex: none; width: 22px; height: 22px; color: var(--doc); }
.pm__doc b { display: block; font-size: 12px; line-height: 1.2; }
.pm__doc small { font-size: 10.5px; color: var(--muted); }
.pm.is-done .pm__guide, .pm.is-done .pm__dim, .pm.is-done .pm__doc { opacity: 1; transform: none; }
.pm.is-done .pm__photo img { transform: none; }
.pm__retake { gap: 8px; padding: 10px 18px; border: 1.5px solid #c9cfda; border-radius: 10px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s; }
.pm__retake:hover { border-color: var(--doc); }
.pm__retake .ico { width: 17px; height: 17px; }
.pm:not(.is-done) .pm__retake { visibility: hidden; }

@media (max-width: 760px) {
  .pm { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .pm__body { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px 18px 22px; }
  .pm__aside { order: -1; }
  .pm__photo { width: 150px; }
  .pm.is-done .pm__photo { width: 190px; }
  .pm__title { font-size: 19px; margin-bottom: 16px; padding-right: 36px; }
  .pm__step { padding: 9px 10px; }
  .pm__label { font-size: 13.5px; }
  .pm__checks li { padding: 10px 0; font-size: 13.5px; }
  .pm__cta { margin-top: 18px; }
  .pm:not(.is-done) .pm__retake { display: none; }
  .pm__close { top: 12px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .page-hero::before, .page-hero::after, .float-card, .hero-blob, .scan-frame::after, .notif, .vault__lock, .cta-band::after { animation: none !important; }
}
