@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/fonts/caveat.woff2') format('woff2');
}

:root {
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ink: #12121c;
  --surf: #1c1c29;
  --surf-2: #262634;
  --line: #2f2f40;
  --lime: #d9ff3a;
  --violet: #796cf0;
  --text: #f4f4f7;
  --mut: #a9a9b8;
  --white: #fff;
  --on-white: #55556a;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.6 'Inter', system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.glow { background: linear-gradient(180deg, #1d1d2b 0, var(--ink) 760px); padding-top: 16px; }
section { padding: 72px 0 8px; }

/* Boutons et pastilles */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; text-align: center; transition: background-color .15s, border-color .15s, color .15s; }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.lime:hover { background: #e7ff7a; }
.btn.ghost { border: 1px solid #47475c; color: var(--text); }
.btn.ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn.dark { background: var(--ink); color: var(--white); }
.btn.dark:hover { background: #2b2b3c; }
.pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink); }
.pill.lime { background: var(--lime); }
.pill.violet { background: var(--violet); }
.pill.dim { background: rgba(18, 18, 28, .14); }
.hand { font: 700 23px/1 'Caveat', cursive; color: var(--lime); }
.hand.ink { display: inline-block; margin-top: 18px; color: var(--ink); transform: rotate(-3deg); }

/* En-tête */
.glow > .wrap:first-child { position: sticky; top: 10px; z-index: 6; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 20px; background: rgba(28, 28, 41, .78); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid var(--line); border-radius: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; text-decoration: none; color: var(--text); }
.logo img { flex: none; width: 40px; height: 40px; margin: -6px; }
.bar nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.bar nav a { text-decoration: none; }
.bar nav a:hover { color: var(--lime); }

/* Accroche */
.hero { padding-top: 56px; text-align: center; }
.tagline { font-size: 14px; font-weight: 500; color: var(--mut); }
.title { position: relative; max-width: 800px; margin: 16px auto 0; }
h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.08; font-weight: 600; letter-spacing: -.028em; text-wrap: balance; }
.deco { position: absolute; }
.deco.one { left: -30px; top: 14px; rotate: -6deg; }
.deco.two { right: -10px; top: 118px; rotate: 5deg; }
.lead { max-width: 620px; margin: 22px auto 0; font-size: 18px; color: var(--mut); text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 20px; font-size: 14px; color: var(--mut); }
.checks li::before { content: '✓'; margin-right: 7px; color: var(--lime); font-weight: 700; }

.screen img, .shot img { width: 100%; border-radius: 16px; }
.screen figcaption { margin-top: 10px; font-size: 13px; color: var(--mut); }
.hero-screen::before { content: ''; position: absolute; inset: 8% 4% -5%; z-index: -1; border-radius: 40%; background: radial-gradient(50% 60% at 30% 40%, var(--violet), transparent 70%), radial-gradient(50% 60% at 72% 62%, var(--lime), transparent 70%); filter: blur(70px); opacity: .3; pointer-events: none; }
.hero-screen { position: relative; z-index: 0; max-width: 1120px; margin: 88px auto 0; padding: 12px; background: var(--surf); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.hero-screen figcaption { margin: 10px 0 2px; }
.hero-screen .hand { position: absolute; top: -36px; }
.hero-screen .left { left: 8px; transform: rotate(-3deg); }
.hero-screen .right { right: 8px; transform: rotate(3deg); }

/* Sections */
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.head p { margin-top: 14px; color: var(--mut); }
.cols { display: grid; gap: 16px; }
.cols.three { grid-template-columns: repeat(3, 1fr); }
.cols.four { grid-template-columns: repeat(4, 1fr); }
.surf { padding: 24px; background: var(--surf); border: 1px solid var(--line); border-radius: 22px; }
.surf p { margin-top: 8px; font-size: 15px; color: var(--mut); }
.surf .quote { margin: 0 0 4px; font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--text); }

/* Fonctions */
.bento { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; }
.tile { padding: 28px; border-radius: 28px; color: var(--ink); overflow: hidden; }
.tile h3 { margin-top: 14px; font-size: 23px; }
.tile p { margin-top: 8px; font-size: 15px; }
.tile-lime { background: var(--lime); }
.tile-violet { background: var(--violet); }
.tile-white { background: var(--white); }
.tile-white p { color: var(--on-white); }
.tile .shot { margin-top: 22px; }
.tile-lime .shot { margin-bottom: -56px; }
.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: center; }
.wide .shot { margin-top: 0; }
.wide .shot img { border: 1px solid #e5e5ec; }
.stages { display: grid; gap: 6px; margin-top: 20px; }
.stages li { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: var(--ink); color: var(--text); border-radius: 12px; font-size: 14px; font-weight: 600; }
.stages li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.stages li:last-child::before { background: #8d8d9e; }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; margin-top: 44px; }
.mini h3 { font-size: 16px; }
.mini p { margin-top: 4px; font-size: 14px; color: var(--mut); }

/* Contrôle */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.table { padding: 8px 24px 22px; background: var(--surf); border: 1px solid var(--line); border-radius: 22px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 13px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tbody th { padding-right: 16px; font-weight: 600; }
td { color: var(--mut); }
thead th { font-size: 13px; font-weight: 500; color: var(--mut); }
.note { margin-top: 14px; font-size: 13px; color: var(--mut); }
.note.center { max-width: 720px; margin: 20px auto 0; text-align: center; }

/* Comparatif */
.compare { overflow-x: auto; background: var(--surf); border: 1px solid var(--line); border-radius: 22px; }
.compare table { min-width: 760px; }
.compare th, .compare td { padding: 14px 18px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .us { background: rgba(217, 255, 58, .08); color: var(--text); font-weight: 600; }
#comparatif .ctas { margin-top: 22px; }

/* Étapes */
.steps .num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; color: var(--ink); font-weight: 700; }
.num.lime { background: var(--lime); }
.num.light { background: var(--white); }
.num.violet { background: var(--violet); }

/* Notion */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; margin-top: 28px; font-size: 15px; color: var(--mut); }
.facts b { color: var(--text); font-weight: 600; }

/* Données */
.privacy { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 44px 44px 0; background: var(--violet); border-radius: 28px; color: var(--ink); overflow: hidden; }
.privacy > div { padding-bottom: 44px; }
.privacy p { max-width: 560px; margin-top: 14px; font-size: 17px; }
.privacy ul { display: grid; gap: 10px; max-width: 560px; margin-top: 22px; font-size: 15px; }
.privacy b { font-weight: 600; }
.phone { align-self: end; width: 260px; margin-bottom: -150px; padding: 8px 8px 0; background: var(--ink); border-radius: 30px 30px 0 0; }
.phone img { border-radius: 23px 23px 0 0; }

/* Tarifs */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; padding: 28px; background: var(--surf); border: 1px solid var(--line); border-radius: 28px; }
.plan.pro { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.price { margin-top: 12px; font-size: 16px; }
.price b { font-size: 44px; font-weight: 600; letter-spacing: -.02em; }
.plan .sub { font-size: 14px; color: var(--mut); }
.plan.pro .sub { color: #3d4416; }
.plan ul { display: grid; gap: 10px; margin: 22px 0 26px; font-size: 15px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; font-weight: 700; color: var(--lime); }
.plan.pro li::before { color: var(--ink); }
.plan .btn { margin-top: auto; }

/* Questions */
.faq { display: grid; grid-template-columns: 4fr 7fr; gap: 40px; align-items: start; }
.faq > div:first-child p { margin-top: 14px; color: var(--mut); }
.faq .who { font-size: 13px; }
.faq a { color: var(--lime); }
.list { display: grid; gap: 10px; }
details { background: var(--surf); border: 1px solid var(--line); border-radius: 16px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 12px 18px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--lime); }
details[open] summary::after { rotate: 45deg; }
details p { padding: 0 18px 18px; font-size: 15px; color: var(--mut); }

/* Fin de page */
.final { padding: 72px 0 0; }
.closing { position: relative; z-index: 1; margin-bottom: -60px; padding: 44px; background: var(--lime); color: var(--ink); border-radius: 28px; }
.closing h2 { max-width: 640px; }
.closing p { margin: 12px 0 22px; }
footer { padding: 112px 0 36px; background: #0b0b12; font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 32px; }
footer .brand p { max-width: 280px; margin-top: 12px; color: var(--mut); }
footer nav { display: grid; align-content: start; gap: 6px; color: var(--mut); }
footer nav b { color: var(--text); font-weight: 600; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--lime); }
.copy { grid-column: 1 / -1; font-size: 13px; color: #8d8d9e; }
.sticky { display: none; }

@media (max-width: 1000px) {
  .bar nav { display: none; }
  .deco { display: none; }
  .bento, .split, .faq { grid-template-columns: 1fr; }
  .wide { grid-template-columns: 1fr; }
  .cols.four { grid-template-columns: 1fr 1fr; }
  .tile-lime .shot { margin-bottom: 0; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  section { padding-top: 56px; }
  .hero { padding-top: 40px; }
  .lead { font-size: 17px; }
  .bar .btn { display: none; }
  .glow > .wrap:first-child { position: static; }
  .bar { padding: 12px 16px; }
  .cols.three, .cols.four, .mini, .plans, .facts { grid-template-columns: 1fr; }
  .hero-screen { margin-top: 28px; padding: 6px; border-radius: 18px; }
  .hero-screen .hand { display: none; }
  .hero-screen img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 26% 0; }
  .screen img, .shot img { border-radius: 12px; }
  .surf .quote { font-size: 18px; }
  .compare table { min-width: 680px; table-layout: fixed; }
  .compare th, .compare td { padding: 12px; }
  .compare thead th:first-child { width: 124px; }
  footer { padding-bottom: 96px; }
  .tile { padding: 22px; }
  .privacy { grid-template-columns: 1fr; padding: 26px 22px 0; gap: 8px; }
  .privacy > div { padding-bottom: 12px; }
  .phone { justify-self: center; width: 230px; }
  .closing { padding: 28px 22px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .brand { grid-column: 1 / -1; }
  th, td { padding: 11px 0; }
  .sticky { position: fixed; inset: auto 0 0; z-index: 5; display: block; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(18, 18, 28, .94); border-top: 1px solid var(--line); }
  .sticky .btn { width: 100%; }
}

/* Animations : uniquement si l'appareil ne demande pas de les réduire. */
@keyframes rise {
  from { opacity: 0; translate: 0 26px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes pop {
  from { opacity: 0; scale: .6; translate: 0 10px; }
  to { opacity: 1; scale: 1; translate: 0 0; }
}
@keyframes settle {
  from { transform: perspective(1400px) rotateX(9deg) scale(.96); }
  to { transform: perspective(1400px) rotateX(0) scale(1); }
}
@keyframes drift {
  from { translate: 0 28px; }
  to { translate: 0 -8px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .tagline, .hero .title h1, .hero .lead, .hero .ctas, .hero .checks { animation: rise .9s var(--ease) both; }
  .hero .title h1 { animation-delay: .06s; }
  .hero .lead { animation-delay: .16s; }
  .hero .ctas { animation-delay: .24s; }
  .hero .checks { animation-delay: .32s; }
  .deco { animation: pop .7s var(--ease) .55s both; }
  .deco.two { animation-delay: .68s; }
  .hero-screen { animation: rise 1.1s var(--ease) .38s both; }

  .reveal { opacity: 0; translate: 0 22px; transition: opacity .8s var(--ease) var(--delay, 0ms), translate .8s var(--ease) var(--delay, 0ms); }
  .reveal.in { opacity: 1; translate: 0 0; }

  .btn { transition: background-color .2s, border-color .2s, color .2s, translate .3s var(--ease), box-shadow .3s var(--ease), scale .15s; }
  .btn:active { scale: .98; }
  summary::after { transition: rotate .3s var(--ease); }

  @media (hover: hover) {
    .btn:hover { translate: 0 -2px; }
    .btn.lime:hover { box-shadow: 0 10px 30px rgba(217, 255, 58, .28); }
    .surf, .plan, details { transition: border-color .25s; }
    .surf:hover, .plan:not(.pro):hover, details:hover { border-color: #4a4a60; }
    .bar nav a { transition: color .2s; }
    .tile .shot img { transition: scale .6s var(--ease); }
    .tile:hover .shot img { scale: 1.015; }
  }

  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
    details[open]::details-content { height: auto; }
  }

  /* L'écran principal se redresse au défilement, sans bloquer la page. */
  @supports (animation-timeline: view()) {
    @media (min-width: 721px) {
      .hero-screen { animation: rise 1.1s var(--ease) .38s both, settle linear both; animation-timeline: auto, view(); animation-range: normal, entry 10% cover 42%; }
      .tile-lime .shot { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    }
  }
}

@media print {
  .reveal { opacity: 1; translate: none; }
  .sticky, .glow > .wrap:first-child { position: static; }
}

/* Pages de ressources */
.doc { padding: 40px 0 72px; }
.doc article { max-width: 760px; margin: 0 auto; }
.doc-wide article { max-width: 980px; }
.crumbs { max-width: 760px; margin: 0 auto 22px; font-size: 13px; color: var(--mut); }
.doc-wide .crumbs { max-width: 980px; }
.crumbs a { color: var(--mut); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.doc h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.12; text-wrap: balance; }
.doc h2 { margin: 52px 0 14px; font-size: clamp(25px, 3.4vw, 32px); scroll-margin-top: 96px; }
.doc h3 { margin: 28px 0 8px; scroll-margin-top: 96px; }
.doc p, .doc article > ul, .doc ol.numbered { margin-top: 12px; color: #d3d3dd; }
.doc article a:not(.btn) { color: var(--lime); }
.doc code { padding: 1px 6px; background: var(--surf-2); border-radius: 6px; font-size: .92em; }
.doc b { color: var(--text); font-weight: 600; }
.doc article > ul { padding-left: 20px; list-style: disc; }
.doc article > ul li + li { margin-top: 8px; }
.doc ol.numbered { padding-left: 22px; list-style: decimal; }
.doc ol.numbered li + li { margin-top: 8px; }
.byline { margin-top: 12px; font-size: 14px; color: var(--mut) !important; }
.answer { margin-top: 22px !important; padding: 18px 20px; background: var(--surf); border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: 14px; font-size: 17px; color: var(--text) !important; }
.disclosure { padding: 14px 18px; background: var(--surf); border: 1px solid var(--line); border-radius: 14px; font-size: 14px; }
.toc { display: grid; gap: 4px; margin-top: 18px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; }
.doc .toc a { color: var(--text); text-decoration: none; }
.doc .toc a:hover { color: var(--lime); }
.ctas.left { justify-content: flex-start; margin-top: 20px; }
.doc .compare { margin-top: 16px; }
.doc .compare table { min-width: 560px; }
.doc .compare td a, .doc .compare th a { font-weight: 600; }
.doc .compare.tall table { min-width: 860px; }
.doc .compare tr.us th, .doc .compare tr.us td { background: rgba(217, 255, 58, .08); color: var(--text); font-weight: 600; }
.mail { margin-top: 12px; padding: 18px 20px; background: var(--surf); border: 1px solid var(--line); border-radius: 14px; }
.doc .mail p { margin-top: 8px; color: var(--text); font-size: 15px; }
.doc .mail p:first-child { margin-top: 0; }
.doc .mail-subject { padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--mut) !important; }
.doc .screen { margin-top: 32px; }
.closing-note { margin-top: 52px; padding: 30px; background: var(--lime); color: var(--ink); border-radius: 24px; }
.doc .closing-note h2 { margin: 0; color: var(--ink); }
.doc .closing-note p { margin: 10px 0 18px; color: var(--ink); }
.doc .closing-note .btn { color: var(--white); }
.doc .list { display: grid; gap: 10px; margin-top: 16px; }
.doc .list p { margin-top: 0; padding: 0 18px 18px; color: var(--mut); }
.doc article > ul.sources { padding-left: 0; list-style: none; font-size: 14px; }
.doc article > ul.sources li + li { margin-top: 4px; }

@media (max-width: 1000px) {
  footer .wrap { grid-template-columns: 1fr 1fr 1fr; }
  footer .brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .doc { padding: 26px 0 56px; }
  .doc .compare table { min-width: 0; table-layout: auto; }
  .doc .compare thead th:first-child { width: auto; }
  .doc .compare.tall table { min-width: 780px; }
  .closing-note { padding: 24px 20px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
}
