/* Potass — site vitrine. Piste B « Surligneur » : copie, feutre, fluo. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/fonts/figtree-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/fonts/figtree-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Jetons ---------- */
:root {
  color-scheme: light dark;
  --copie: #f7f6f2;
  --card: #ffffff;
  --sunken: #ecebe5;
  --line: #e3e1da;
  --ink: #17161a;
  --soft: #67646e;
  --outline: #17161a;
  --fluo: #ffe14a;
  --on-fluo: #17161a;
  --violet: #5b3fd9;
  --on-violet: #ffffff;
  --menthe: #12805c;
  --rose: #ffb3d6;
  --shadow: 4px 4px 0 0 var(--outline);
  --shadow-lg: 6px 6px 0 0 var(--outline);
  --radius: 14px;
  --radius-lg: 16px;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --max: 1160px;

  /* Mascotte (SVG en ligne de l’app) */
  --flask-glass: #ffffff;
  --flask-liquid: #ffe14a;
  --flask-liquid-deep: #d9b400;
  --flask-outline: #17161a;
  --flask-cheek: #ffb3d6;
  --flask-eye: #17161a;
  --flask-shine: #ffffff;
  --flask-spark: #ff7ab6;
  --flask-star: #5b3fd9;
  --sun: #ffe14a;
  --cheek: #ffb3d6;
  --cheek-soft: #ffe3f0;
  --paper-raised: #ffffff;
  --font-bricolage: "Bricolage Grotesque";
  --font-fredoka: "Bricolage Grotesque";
}

@media (prefers-color-scheme: dark) {
  :root {
    --copie: #18171b;
    --card: #232229;
    --sunken: #121115;
    --line: #34323b;
    --ink: #f2f0ea;
    --soft: #a9a5b0;
    --outline: #f2f0ea;
    --violet: #a593ff;
    --on-violet: #17161a;
    --menthe: #4fd1a0;
    --rose: #ff9ccb;
    --shadow: 4px 4px 0 0 #000;
    --shadow-lg: 6px 6px 0 0 #000;

    --flask-glass: #e8e6f0;
    --flask-cheek: #ff9ccb;
    --flask-spark: #ff8cc6;
    --flask-star: #a593ff;
    --cheek: #ff9ccb;
    --cheek-soft: #46203a;
    --paper-raised: #232229;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--copie);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--outline);
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
  font-weight: 800;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}

/* Surligneur : le fluo passe DERRIÈRE le texte, toujours avec l’encre foncée. */
.hl {
  background: linear-gradient(100deg, transparent 0 2%, var(--fluo) 3% 96%, transparent 97%);
  color: var(--on-fluo);
  padding: 0 0.14em;
  margin: 0 -0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.ico {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Mot-symbole ---------- */
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.6rem;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.wordmark .hl {
  padding: 0.02em 0.16em 0.06em;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-family: var(--body);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 0 var(--outline);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 0 var(--outline);
}
@media (prefers-color-scheme: dark) {
  .btn:hover {
    box-shadow: 5px 5px 0 0 #000;
  }
  .btn:active {
    box-shadow: 1px 1px 0 0 #000;
  }
  .btn {
    border-color: var(--outline);
  }
}
.btn-primary {
  background: var(--violet);
  color: var(--on-violet);
}
.btn-ghost {
  background: var(--card);
  color: var(--ink);
}
.btn-sm {
  min-height: 42px;
  padding: 0.5rem 0.95rem;
  font-size: 0.95rem;
}
.btn .ico {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--copie) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--outline);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}
.nav {
  display: none;
  gap: 0.25rem;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
}
.nav a:hover {
  background: var(--sunken);
}
@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}

/* ---------- Sections ---------- */
section {
  padding: 72px 0;
}
@media (min-width: 900px) {
  section {
    padding: 112px 0;
  }
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 1rem;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
}
.section-title {
  font-size: clamp(2rem, 5.2vw, 3.25rem);
}
.section-lede {
  margin-top: 1rem;
  color: var(--soft);
  font-size: 1.12rem;
  max-width: 40rem;
}
.section-head {
  margin-bottom: 44px;
}
.band {
  background: var(--card);
  border-block: 2px solid var(--outline);
}

/* ---------- Héros ---------- */
.hero {
  padding: 48px 0 72px;
}
.hero .wrap {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero {
    padding: 80px 0 112px;
  }
  .hero .wrap {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
  }
}
.hero h1 {
  font-size: clamp(2.4rem, 8.4vw, 4.4rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero h1 .line {
  display: block;
}
.lede {
  margin-top: 1.4rem;
  font-size: clamp(1.1rem, 2.4vw, 1.25rem);
  color: var(--soft);
  max-width: 34rem;
}
.lede strong {
  color: var(--ink);
  font-weight: 700;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2rem;
}
.reassure {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 0.55rem 1.4rem;
  font-weight: 700;
  font-size: 0.97rem;
}
.reassure li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.reassure .ico {
  width: 20px;
  height: 20px;
  color: var(--menthe);
  stroke-width: 2.6;
}
@media (max-width: 400px) {
  .reassure {
    grid-template-columns: 1fr;
  }
}

/* Visuel : téléphone + flacon */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 8px 0 0 48px;
}
@media (max-width: 480px) {
  .hero-visual {
    padding-left: 40px;
  }
}
.phone {
  position: relative;
  width: min(100%, 318px);
  background: var(--ink);
  border-radius: 42px;
  padding: 10px;
  box-shadow: 8px 8px 0 0 var(--violet);
  transform: rotate(2deg);
}
@media (prefers-color-scheme: dark) {
  .phone {
    background: #0b0a0d;
    border: 2px solid var(--outline);
  }
}
.screen {
  background: var(--copie);
  border-radius: 33px;
  overflow: hidden;
  padding: 14px 14px 18px;
  font-size: 0.86rem;
  line-height: 1.35;
}
.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0 10px 10px;
}
.statusbar .notch {
  width: 74px;
  height: 20px;
  background: var(--ink);
  border-radius: 12px;
}
@media (prefers-color-scheme: dark) {
  .statusbar .notch {
    background: #000;
  }
}
.statusbar .dots {
  display: flex;
  gap: 3px;
}
.statusbar .dots i {
  width: 5px;
  height: 9px;
  background: var(--ink);
  border-radius: 1px;
}
.app-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.app-top .avatar {
  width: 44px;
  height: 44px;
  flex: none;
  background: var(--card);
  border: 2px solid var(--outline);
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.app-top .avatar svg {
  width: 40px;
  height: 40px;
}
.app-top .hello {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.app-top .sub {
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 600;
}
.streak {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--rose);
  color: #17161a;
  border: 2px solid var(--outline);
  border-radius: 999px;
  padding: 3px 9px 3px 6px;
  font-weight: 800;
  font-size: 0.78rem;
}
.streak .ico {
  width: 15px;
  height: 15px;
  stroke-width: 2.6;
}
.mini-card {
  background: var(--card);
  border: 2px solid var(--outline);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 3px 3px 0 0 var(--outline);
}
@media (prefers-color-scheme: dark) {
  .mini-card {
    box-shadow: 3px 3px 0 0 #000;
  }
}
.level {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.8rem;
}
.level span:last-child {
  color: var(--soft);
  font-weight: 700;
}
.bar {
  margin-top: 7px;
  height: 10px;
  background: var(--sunken);
  border: 2px solid var(--outline);
  border-radius: 6px;
  overflow: hidden;
}
.bar i {
  display: block;
  width: 62%;
  height: 100%;
  background: var(--violet);
  border-right: 2px solid var(--outline);
}
.scan-btn {
  margin: 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--violet);
  color: var(--on-violet);
  border: 2px solid var(--outline);
  border-radius: 12px;
  box-shadow: 3px 3px 0 0 var(--outline);
  padding: 11px;
  font-weight: 800;
  font-size: 0.92rem;
}
@media (prefers-color-scheme: dark) {
  .scan-btn {
    box-shadow: 3px 3px 0 0 #000;
  }
}
.scan-btn .ico {
  width: 18px;
  height: 18px;
}
.list-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  margin: 2px 0 8px;
}
.fiche-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 2px solid var(--outline);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 8px;
}
.fiche-row .tag {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 9px;
  background: var(--sunken);
  display: grid;
  place-items: center;
}
.fiche-row .tag .ico {
  width: 17px;
  height: 17px;
}
.fiche-row b {
  display: block;
  font-weight: 800;
  font-size: 0.86rem;
}
.fiche-row small {
  color: var(--soft);
  font-weight: 600;
  font-size: 0.72rem;
}
.fiche-row .done {
  margin-left: auto;
  color: var(--menthe);
}
.fiche-row .done .ico {
  width: 18px;
  height: 18px;
  stroke-width: 2.8;
}
.tabbar {
  display: flex;
  justify-content: space-around;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 2px solid var(--line);
  color: var(--soft);
}
.tabbar .ico {
  width: 20px;
  height: 20px;
}
.tabbar .on {
  color: var(--ink);
}

.hero-flask {
  position: absolute;
  left: 0;
  bottom: -18px;
  width: clamp(120px, 30vw, 200px);
  z-index: 2;
}

/* ---------- Mascotte ---------- */
.flask {
  width: 100%;
  height: auto;
  overflow: visible;
}
.bob {
  animation: bob 4.2s ease-in-out infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

/* Animations du flacon, reprises de l’app */
@keyframes chou-blink {
  0%,
  96%,
  100% {
    transform: scaleY(1);
  }
  98% {
    transform: scaleY(0.1);
  }
}
.chou-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: chou-blink 4.6s infinite;
}
@keyframes chou-z {
  0% {
    opacity: 0;
    transform: translate(0, 4px);
  }
  30%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(6px, -10px);
  }
}
.chou-z {
  animation: chou-z 2.4s infinite ease-out;
}
.chou-z + .chou-z {
  animation-delay: 1.2s;
}
@keyframes flask-fizz {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  20%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-26px);
  }
}
.flask-fizz {
  animation: flask-fizz 2.2s infinite ease-in;
}
.flask-fizz:nth-child(2) {
  animation-delay: 0.7s;
}
.flask-fizz:nth-child(3) {
  animation-delay: 1.4s;
}
@keyframes flask-steam {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.5);
  }
  30%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(1);
  }
}
.flask-steam {
  transform-box: fill-box;
  transform-origin: center;
  animation: flask-steam 1.8s infinite ease-out;
}
.flask-steam:nth-child(2) {
  animation-delay: 0.6s;
}
.flask-steam:nth-child(3) {
  animation-delay: 1.2s;
}
@keyframes flask-jitter {
  0%,
  100% {
    opacity: 1;
    transform: translateX(0);
  }
  50% {
    opacity: 0.4;
    transform: translateX(1.5px);
  }
}
.flask-jitter {
  animation: flask-jitter 0.5s infinite steps(2);
}
@keyframes flask-spark {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(0.6) rotate(20deg);
    opacity: 0.7;
  }
}
.flask-spark {
  transform-box: fill-box;
  transform-origin: center;
  animation: flask-spark 1.6s infinite ease-in-out;
}
.flask-spark:nth-child(2) {
  animation-delay: 0.5s;
}
.flask-spark:nth-child(3) {
  animation-delay: 1s;
}

/* ---------- Comment ça marche ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 28px;
  counter-reset: step;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
  }
}
.step {
  position: relative;
  background: var(--copie);
  border: 2px solid var(--outline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
}
.step-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid var(--outline);
  background: var(--card);
  display: grid;
  place-items: center;
}
.step-art {
  height: 150px;
  display: grid;
  place-items: center;
  margin: 10px 0 14px;
}
.step-art .big-ico {
  width: 92px;
  height: 92px;
  border: 2px solid var(--outline);
  border-radius: 22px;
  background: var(--card);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.step-art .big-ico .ico {
  width: 46px;
  height: 46px;
  stroke-width: 1.8;
}
.step-art .flask-box {
  width: 140px;
}
.step h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}
.step p {
  color: var(--soft);
}
.step .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.pill {
  font-size: 0.82rem;
  font-weight: 800;
  border: 2px solid var(--outline);
  border-radius: 8px;
  padding: 2px 9px;
  background: var(--card);
}

/* ---------- Fonctionnalités ---------- */
.features {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.card {
  background: var(--card);
  border: 2px solid var(--outline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}
.card h3 {
  font-size: 1.3rem;
  margin: 16px 0 0.45rem;
}
.card p {
  color: var(--soft);
}
.tile {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 2px solid var(--outline);
  background: var(--sunken);
  display: grid;
  place-items: center;
}
.tile.rose {
  background: var(--rose);
  color: #17161a;
}
.tile.violet {
  background: var(--violet);
  color: var(--on-violet);
}
.card-chat {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 640px) {
  .card-chat {
    grid-column: 1 / -1;
  }
}
@media (min-width: 800px) {
  .card-chat {
    grid-template-columns: 1.15fr 1fr;
    padding: 32px;
  }
}
.card-chat h3 {
  font-size: 1.6rem;
}
.chat {
  background: var(--sunken);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 10px;
  font-size: 0.96rem;
  line-height: 1.45;
}
.bubble {
  max-width: 88%;
  border: 2px solid var(--outline);
  border-radius: 14px;
  padding: 9px 13px;
}
.bubble.kid {
  justify-self: end;
  background: var(--violet);
  color: var(--on-violet);
  border-bottom-right-radius: 4px;
  font-weight: 600;
}
.bubble.bot {
  background: var(--card);
  border-bottom-left-radius: 4px;
}
.chat-note {
  font-size: 0.8rem;
  color: var(--soft);
  font-weight: 700;
  text-align: center;
}
.chat-caption {
  font-size: 0.85rem;
  color: var(--soft);
  margin-top: 8px;
}

/* ---------- Parents ---------- */
.parents {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 960px) {
  .parents {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
  }
  .parents .intro {
    position: sticky;
    top: 110px;
  }
}
.parents .flask-box {
  width: 150px;
  margin-top: 28px;
}
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--card);
  border: 2px solid var(--outline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.checklist li {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border-top: 2px solid var(--line);
}
.checklist li:first-child {
  border-top: 0;
}
.check {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  border: 2px solid var(--outline);
  background: var(--menthe);
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
@media (prefers-color-scheme: dark) {
  .check {
    color: #17161a;
  }
}
.check .ico {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}
.checklist b {
  display: block;
  font-weight: 800;
  font-size: 1.06rem;
  line-height: 1.35;
}
.checklist div > span {
  color: var(--soft);
  font-size: 0.98rem;
}

/* ---------- Données ---------- */
.data-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .data-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .data-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.data-grid .card {
  box-shadow: none;
  background: var(--copie);
}
.data-grid .card h3 {
  font-size: 1.15rem;
  margin-top: 14px;
}
.data-grid .card p {
  font-size: 0.98rem;
}
.more {
  margin-top: 32px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.link-arrow .ico {
  width: 20px;
  height: 20px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  display: grid;
  gap: 14px;
}
.faq details {
  background: var(--card);
  border: 2px solid var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .ico {
  transition: transform 0.2s ease;
}
.faq details[open] summary .ico {
  transform: rotate(45deg);
}
.faq .answer {
  padding: 0 20px 20px;
  color: var(--soft);
  display: grid;
  gap: 0.7rem;
}
.faq .answer strong {
  color: var(--ink);
}
.faq summary:focus-visible {
  outline-offset: -3px;
  border-radius: 12px;
}

/* ---------- CTA final ---------- */
.final-card {
  position: relative;
  background: var(--card);
  border: 2px solid var(--outline);
  border-radius: 20px;
  box-shadow: 8px 8px 0 0 var(--violet);
  padding: 36px 24px;
  display: grid;
  gap: 24px;
  align-items: center;
  justify-items: start;
}
@media (min-width: 800px) {
  .final-card {
    grid-template-columns: 200px 1fr;
    padding: 48px 56px;
    gap: 48px;
  }
}
.final-card .flask-box {
  width: 150px;
}
@media (min-width: 800px) {
  .final-card .flask-box {
    width: 200px;
  }
}
.final-card h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}
.final-card p {
  color: var(--soft);
  margin-top: 0.8rem;
  max-width: 34rem;
}
.final-card .cta-row {
  margin-top: 1.6rem;
}

/* ---------- Pied de page ---------- */
.site-footer {
  border-top: 2px solid var(--outline);
  background: var(--card);
  padding: 40px 0;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
}
.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.site-footer nav a {
  font-weight: 700;
  font-size: 0.95rem;
  text-underline-offset: 4px;
}
.site-footer .small {
  width: 100%;
  color: var(--soft);
  font-size: 0.88rem;
}

/* ---------- 404 ---------- */
.lost {
  min-height: calc(100vh - 70px - 140px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 56px 0;
}
.lost .flask-box {
  width: 170px;
  margin: 0 auto 20px;
}
.lost h1 {
  font-size: clamp(2.2rem, 7vw, 3.6rem);
}
.lost p {
  color: var(--soft);
  margin: 1rem auto 0;
  max-width: 30rem;
}
.lost .cta-row {
  justify-content: center;
}

/* ---------- Divers ---------- */
figure {
  margin: 0;
}
.card p strong {
  color: var(--ink);
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
