/* Généré par scripts/build_site.py à partir de site/content et site/src : ne pas modifier à la main. */

/*
 * Revoca — the stylesheet of revoca.pivtech.fr (mockups: Figma page « 14 · Site web »).
 *
 * Source of site/public/assets/site.css: scripts/build_site.py copies this file and appends the
 * « active » rules of the tables of contents. Values are the variables of the Figma file
 * (collection « Couleurs », light then dark; « Dimensions »). No web font, no script: system fonts
 * (SF Pro and SF Pro Rounded on Apple devices), <details> for the accordions and the mobile contents.
 */

/* ───────────── Tokens ───────────── */

:root {
  color-scheme: light dark;

  --bg-app: #eef2ff;
  --bg-surface: #ffffff;
  --bg-sunken: #f5f7ff;
  --bg-subtle: #e0e7ff;
  --bg-inverse: #1e1b4b;
  --text-primary: #1e1b4b;
  --text-secondary: #475569;
  --text-tertiary: #5a6478;
  --text-inverse: #ffffff;
  --text-inverse-secondary: #c7d2fe;
  --text-on-solid: #ffffff;
  --text-brand: #4f46e5;
  --border-default: #c7d2fe;
  --border-subtle: #e0e7ff;
  --border-focus: #4f46e5;
  --brand-solid: #4f46e5;
  --brand-edge: #3730a3;
  --brand-soft: #e0e7ff;
  --brand-soft-fg: #4338ca;
  --success-fg: #15803d;
  --success-soft: #dcfce7;
  --recall-solid: #fa6247;
  --recall-soft: #ffe6df;
  --recall-fg: #bf3a22;
  --comprehension-soft: #e0f2fe;
  --comprehension-fg: #0369a1;
  --aid-soft: #fef3c7;
  --aid-fg: #92400e;
  --edge-surface: #c7d2fe;
  --shadow: rgba(49, 46, 129, 0.1);
  --shadow-hero: rgba(49, 46, 129, 0.22);

  --font-rounded: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  --font-text: system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif;

  --s4: 4px;
  --s6: 6px;
  --s8: 8px;
  --s12: 12px;
  --s16: 16px;
  --s20: 20px;
  --s24: 24px;
  --s32: 32px;
  --s40: 40px;
  --s48: 48px;
  --s64: 64px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 999px;

  --shadow-card: 0 4px 0 var(--edge-surface), 0 12px 24px -6px var(--shadow);
  --shadow-flat: 0 2px 0 var(--edge-surface);
  --page: 1120px;
  --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-app: #0e1026;
    --bg-surface: #1b1e48;
    --bg-sunken: #15173a;
    --bg-subtle: #232758;
    --bg-inverse: #e0e7ff;
    --text-primary: #eef2ff;
    --text-secondary: #b3bbe3;
    --text-tertiary: #8c93c4;
    --text-inverse: #1e1b4b;
    --text-inverse-secondary: #3b4266;
    --text-brand: #a5b4fc;
    --border-default: #2f346d;
    --border-subtle: #232758;
    --border-focus: #818cf8;
    --brand-edge: #312e81;
    --brand-soft: #2f346d;
    --brand-soft-fg: #c7d2fe;
    --success-fg: #4ade80;
    --success-soft: #0f2e22;
    --recall-solid: #ff8166;
    --recall-soft: #3a1c17;
    --recall-fg: #ffa690;
    --comprehension-soft: #0b2a3d;
    --comprehension-fg: #7dd3fc;
    --aid-soft: #3a2a0c;
    --aid-fg: #fcd34d;
    --edge-surface: #090a1a;
    --shadow: rgba(0, 0, 0, 0.45);
    --shadow-hero: rgba(0, 0, 0, 0.5);
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
  }
}

/* ───────────── Base ───────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--s24);
}

body {
  margin: 0;
  background: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-rounded);
  color: var(--text-primary);
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

strong {
  font-weight: 600;
  color: var(--text-primary);
}

:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s16);
  top: -100px;
  z-index: 10;
  padding: var(--s12) var(--s16);
  border-radius: var(--r-md);
  background: var(--brand-solid);
  color: var(--text-on-solid);
  font-family: var(--font-rounded);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--s12);
}

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

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

.icon--16 {
  width: 16px;
  height: 16px;
}

.icon--18 {
  width: 18px;
  height: 18px;
}

/* ───────────── Header and footer ───────────── */

.site-header {
  border-bottom: 1px solid var(--border-subtle);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s12);
  min-height: 60px;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-primary);
  text-decoration: none;
}

.logo svg {
  width: 112px;
  height: 32px;
}

.site-nav ul {
  display: flex;
  gap: var(--s4);
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: var(--s8);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
}

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

.site-nav a[aria-current="page"] {
  color: var(--text-brand);
}

.site-footer {
  padding-block: var(--s32) var(--s32);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  gap: var(--s16);
}

.site-footer__brand p {
  margin-top: var(--s4);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.site-footer nav ul {
  display: flex;
  flex-direction: column;
  padding: 0;
  list-style: none;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: var(--s4);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--text-brand);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  margin-top: var(--s24);
  padding-top: var(--s24);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.site-footer__bottom strong {
  color: var(--text-secondary);
  font-family: var(--font-rounded);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ───────────── Shared pieces ───────────── */

.eyebrow {
  margin-bottom: var(--s12);
  color: var(--text-brand);
  font-family: var(--font-rounded);
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s6);
  padding: var(--s4) var(--s12);
  border-radius: var(--r-full);
  background: var(--brand-soft);
  color: var(--brand-soft-fg);
  font-family: var(--font-rounded);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}

.badge--aid {
  background: var(--aid-soft);
  color: var(--aid-fg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s8);
  min-height: 56px;
  padding: var(--s16) var(--s24);
  border: 0;
  border-radius: var(--r-lg);
  font-family: var(--font-rounded);
  font-size: 17px;
  line-height: 22px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 120ms ease-out, box-shadow 120ms ease-out, filter 120ms ease-out;
}

.btn--primary {
  background: var(--brand-solid);
  color: var(--text-on-solid);
  box-shadow: 0 4px 0 var(--brand-edge);
}

.btn--secondary {
  border: 2px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-brand);
  box-shadow: 0 4px 0 var(--edge-surface);
}

.btn:hover {
  filter: brightness(1.06);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--brand-edge);
}

.btn--secondary:active {
  box-shadow: 0 2px 0 var(--edge-surface);
}

.btn--link {
  min-height: 44px;
  padding-inline: var(--s8);
  background: none;
  color: var(--text-brand);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  min-height: 48px;
  padding: var(--s12) var(--s20);
  border-radius: var(--r-full);
  background: var(--aid-soft);
  color: var(--aid-fg);
  font-family: var(--font-rounded);
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s6);
  min-height: 44px;
  font-family: var(--font-rounded);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  text-decoration: none;
}

.arrow-link span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.arrow-link:hover span {
  text-decoration-thickness: 2px;
}

.arrow-link--plain span {
  text-decoration: none;
}

.arrow-link--plain:hover span {
  text-decoration: underline;
}

.card {
  border-radius: var(--r-xl);
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
}

.pastille {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--text-brand);
}

.pastille--brand {
  background: var(--brand-soft);
  color: var(--brand-soft-fg);
}

.pastille--comprehension {
  background: var(--comprehension-soft);
  color: var(--comprehension-fg);
}

.pastille--success {
  background: var(--success-soft);
  color: var(--success-fg);
}

.pastille--recall {
  background: var(--recall-soft);
  color: var(--recall-fg);
}

.pastille--aid {
  background: var(--aid-soft);
  color: var(--aid-fg);
}

/* Accordions (help, short FAQ): <details>, no script. */
.accordion {
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-flat);
}

.accordion + .accordion {
  margin-top: var(--s12);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s12);
  min-height: 56px;
  padding: var(--s16) var(--s20);
  border-radius: var(--r-lg);
  font-family: var(--font-rounded);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.accordion summary .icon {
  color: var(--text-brand);
  transition: transform 160ms ease-out;
}

.accordion[open] summary .icon {
  transform: rotate(180deg);
}

.accordion summary:hover {
  color: var(--text-brand);
}

.accordion__body {
  padding: 0 var(--s20) var(--s20);
  color: var(--text-secondary);
}

.accordion__body p + p {
  margin-top: var(--s12);
}

.dots {
  display: inline-flex;
  gap: 3px;
  vertical-align: -1px;
}

.dots i {
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: currentColor;
}

.dots i.off {
  background: none;
  box-shadow: inset 0 0 0 1.5px currentColor;
}

/* ───────────── Home: hero ───────────── */

.hero {
  display: grid;
  gap: var(--s40);
  padding-block: var(--s32) var(--s48);
}

.hero h1 {
  margin-top: var(--s16);
  font-size: 34px;
  line-height: 41px;
  font-weight: 700;
}

.hero .lead {
  margin-top: var(--s16);
  color: var(--text-secondary);
  font-family: var(--font-rounded);
  font-size: 19px;
  line-height: 27px;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s16);
  margin-top: var(--s24);
}

.hero__actions .btn {
  width: 100%;
}

.guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s8) var(--s24);
  margin-top: var(--s24);
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
}

.guarantees li {
  display: inline-flex;
  align-items: center;
  gap: var(--s6);
}

.guarantees .icon {
  color: var(--success-fg);
}

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(280px, 72vw);
  margin-left: 40px;
}

.hero__phone img {
  width: 100%;
  border-radius: 15.2% / 7.2%;
  box-shadow: 0 32px 64px -12px var(--shadow-hero);
}

.hero__bulle {
  position: absolute;
  left: -52px;
  bottom: 13%;
  width: 72px;
}

/* ───────────── Home: sections ───────────── */

.section {
  padding-block: var(--s48);
}

.section__head {
  max-width: 720px;
  margin-bottom: var(--s32);
}

.section__head h2,
.section h2 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
}

.section__head p:not(.eyebrow) {
  margin-top: var(--s12);
  color: var(--text-secondary);
}

.section--follows {
  padding-top: 0;
}

.grid {
  display: grid;
  gap: var(--s16);
}

.rung {
  padding: var(--s24);
}

.rung__label {
  display: flex;
  align-items: center;
  gap: var(--s8);
  color: var(--recall-fg);
  font-family: var(--font-rounded);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rung__label .dots {
  color: var(--recall-solid);
  font-size: 14px;
}

.rung__label .dots i.off {
  background: var(--bg-subtle);
  box-shadow: none;
}

.rung h3,
.feature h3 {
  margin-top: var(--s12);
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
}

.rung p,
.feature p {
  margin-top: var(--s8);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 22px;
}

.demo {
  margin-top: var(--s16);
  padding: var(--s12);
  border-radius: var(--r-lg);
  background: var(--bg-sunken);
}

.demo--choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s8);
}

.demo--choices span {
  display: grid;
  place-items: center;
  min-height: 40px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--r-md);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-rounded);
  font-size: 15px;
  font-weight: 600;
}

.demo--choices span.is-right {
  border-color: var(--success-fg);
  background: var(--success-soft);
  color: var(--success-fg);
}

.demo--tiles {
  display: flex;
  gap: 6px;
}

.demo--tiles span {
  display: grid;
  place-items: center;
  flex: 1 1 0;
  min-width: 0;
  max-width: 32px;
  aspect-ratio: 5 / 6;
  border: 1.5px solid var(--recall-solid);
  border-radius: var(--r-sm);
  background: var(--recall-soft);
  color: var(--recall-fg);
  font-family: var(--font-rounded);
  font-size: 17px;
  font-weight: 600;
}

.demo--tiles span.empty {
  border-color: var(--border-default);
  background: var(--bg-surface);
}

.demo--field {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 56px;
  padding: 0 var(--s16);
  border: 2px solid var(--recall-solid);
  border-radius: var(--r-md);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-rounded);
  font-size: 22px;
  font-weight: 600;
}

.demo--field::after {
  content: "";
  width: 2px;
  height: 26px;
  margin-left: var(--s4);
  background: var(--recall-solid);
  animation: caret 1.1s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.feature {
  padding: var(--s24);
}

.feature .pastille {
  width: 48px;
  height: 48px;
}

/* « Tes mots restent chez toi »: inverted, in both themes. */
.privacy-card {
  display: grid;
  gap: var(--s32);
  padding: var(--s32) var(--s24);
  border-radius: var(--r-2xl);
  background: var(--bg-inverse);
  color: var(--text-inverse);
}

.privacy-card h2 {
  margin-top: var(--s16);
  color: var(--text-inverse);
}

.privacy-card > div > p {
  margin-top: var(--s16);
  color: var(--text-inverse-secondary);
}

.privacy-card a {
  color: var(--text-inverse);
}

.privacy-card .bulle {
  width: 88px;
}

.points {
  display: grid;
  gap: var(--s20);
  padding: 0;
  list-style: none;
}

.points li {
  display: flex;
  gap: var(--s12);
}

.points .pastille {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--brand-solid);
  color: var(--text-on-solid);
}

.points strong {
  display: block;
  color: var(--text-inverse);
  font-family: var(--font-rounded);
  font-size: 17px;
  line-height: 22px;
}

.points span {
  display: block;
  margin-top: var(--s4);
  color: var(--text-inverse-secondary);
  font-size: 14px;
  line-height: 20px;
}

/* Revoca+ */
.plus-card {
  display: grid;
  gap: var(--s24);
  padding: var(--s24) var(--s20);
  border-radius: var(--r-2xl);
}

.plus-card h2 {
  margin-top: var(--s16);
}

.plus-card p:not(.badge) {
  margin-top: var(--s16);
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 24px;
}

.plus-card p.note {
  color: var(--text-tertiary);
  font-size: 14px;
  line-height: 20px;
}

.preview {
  padding: var(--s16);
  border-radius: var(--r-xl);
  background: var(--bg-sunken);
}

.preview__field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s12);
  padding: var(--s12) var(--s16);
  border: 2px solid var(--border-default);
  border-radius: var(--r-lg);
  background: var(--bg-surface);
}

.preview__word {
  color: var(--text-primary);
  font-family: var(--font-rounded);
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
}

.preview__action {
  display: inline-flex;
  align-items: center;
  gap: var(--s6);
  padding: var(--s8) var(--s12);
  border-radius: var(--r-full);
  background: var(--brand-soft);
  color: var(--brand-soft-fg);
  font-family: var(--font-rounded);
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
}

.preview__card {
  margin-top: var(--s12);
  padding: var(--s16);
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-flat);
}

.preview__card .badge {
  padding: var(--s4) var(--s8);
  border-radius: var(--r-sm);
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
}

.preview__meaning {
  margin-top: var(--s8);
  color: var(--text-primary);
  font-family: var(--font-rounded);
  font-size: 19px;
  line-height: 25px;
  font-weight: 600;
}

.preview__example {
  margin-top: var(--s8);
  color: var(--text-primary);
  font-family: var(--font-rounded);
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
}

.preview__example b {
  color: var(--recall-fg);
  font-weight: 600;
}

.preview__translation {
  margin-top: var(--s4);
  color: var(--text-tertiary);
  font-size: 15px;
  line-height: 20px;
  font-style: italic;
}

/* Short FAQ */
.faq {
  max-width: 760px;
}

.faq .section__head {
  margin-bottom: var(--s24);
}

.faq__more {
  margin-top: var(--s24);
}

/* « Bientôt sur ton iPhone » */
.soon {
  padding-block: var(--s48);
  background: var(--bg-subtle);
  text-align: center;
}

.soon + .site-footer {
  margin-top: 0;
}

.soon .bulle {
  width: 88px;
  margin-inline: auto;
}

.soon h2 {
  margin-top: var(--s16);
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
}

.soon p:not(.status) {
  max-width: 560px;
  margin: var(--s12) auto 0;
  color: var(--text-secondary);
}

.soon .status {
  margin-top: var(--s20);
}

/* ───────────── Document pages (legal, help) ───────────── */

.doc-head {
  padding-block: var(--s32) var(--s24);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s6);
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: var(--s6);
}

.breadcrumb a {
  display: inline-block;
  padding-block: var(--s12);
  margin-block: calc(-1 * var(--s12));
}

.doc-head h1 {
  margin-top: var(--s16);
  font-size: 34px;
  line-height: 41px;
  font-weight: 700;
}

.doc-head .updated {
  margin-top: var(--s8);
  color: var(--text-tertiary);
  font-size: 14px;
  line-height: 20px;
}

.doc-head .intro {
  max-width: 760px;
  margin-top: var(--s12);
  color: var(--text-secondary);
}

.doc-layout {
  display: grid;
  gap: var(--s24);
  padding-bottom: var(--s32);
}

.doc {
  max-width: 680px;
  min-width: 0;
}

.doc h2 {
  margin-top: var(--s40);
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  scroll-margin-top: var(--s24);
}

.doc > h2:first-child,
.essentiel + h2 {
  margin-top: var(--s32);
}

.doc h3 {
  margin-top: var(--s24);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
}

.doc p,
.doc ul {
  margin-top: var(--s12);
  color: var(--text-secondary);
}

.doc ul {
  padding-left: var(--s20);
}

.doc li + li {
  margin-top: var(--s8);
}

.doc li::marker {
  color: var(--text-brand);
}

/* « L'essentiel » */
.essentiel {
  padding: var(--s24) var(--s20);
  border-radius: var(--r-xl);
  background: var(--brand-soft);
}

.essentiel h2 {
  display: flex;
  align-items: center;
  gap: var(--s8);
  margin: 0;
  color: var(--text-brand);
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
}

.doc .essentiel ul {
  margin-top: var(--s16);
  padding: 0;
  list-style: none;
}

.essentiel li {
  display: flex;
  gap: var(--s12);
  color: var(--text-primary);
}

.doc .essentiel li + li {
  margin-top: var(--s12);
}

.essentiel li .icon {
  margin-top: 2px;
  color: var(--success-fg);
}

/* Tables: a card with rows on wide screens, one card per row on phones. */
.table-wrap {
  margin-top: var(--s16);
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 20px;
}

.doc th {
  color: var(--text-tertiary);
  font-weight: 600;
  text-align: left;
}

.doc td {
  color: var(--text-secondary);
}

.doc tbody th {
  color: var(--text-primary);
}

@media (max-width: 639px) {
  .doc thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .doc table,
  .doc tbody,
  .doc tr,
  .doc th,
  .doc td {
    display: block;
  }

  .doc tr {
    padding: var(--s16);
    border-radius: var(--r-lg);
    background: var(--bg-surface);
    box-shadow: var(--shadow-flat);
  }

  .doc tr + tr {
    margin-top: var(--s12);
  }

  .doc td + td {
    margin-top: var(--s4);
  }

  .doc tbody th {
    margin-bottom: var(--s8);
    font-family: var(--font-rounded);
    font-size: 17px;
    line-height: 22px;
  }

  .doc td::before {
    content: attr(data-label) "\202F: ";
    color: var(--text-primary);
    font-weight: 600;
  }
}

@media (min-width: 640px) {
  .table-wrap {
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--bg-surface);
    box-shadow: var(--shadow-flat);
  }

  .doc th,
  .doc td {
    padding: var(--s12) var(--s16);
    vertical-align: top;
  }

  .doc thead th {
    border-bottom: 1px solid var(--border-subtle);
  }

  .doc tbody tr + tr > * {
    border-top: 1px solid var(--border-subtle);
  }
}

/* Contents: a <details> on phones, a sticky column on wide screens. */
.toc-mobile {
  margin-bottom: var(--s24);
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-flat);
}

.toc-mobile summary {
  display: flex;
  align-items: center;
  gap: var(--s12);
  min-height: 56px;
  padding: var(--s12) var(--s20);
  border-radius: var(--r-lg);
  font-family: var(--font-rounded);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.toc-mobile summary .icon {
  color: var(--text-brand);
}

.toc-mobile summary .icon:last-child {
  margin-left: auto;
  transition: transform 160ms ease-out;
}

.toc-mobile[open] summary .icon:last-child {
  transform: rotate(180deg);
}

.toc-mobile ol {
  padding: 0 var(--s12) var(--s12);
}

.toc ol {
  margin: 0;
  list-style: none;
}

.toc a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: var(--s8) var(--s12);
  border-radius: var(--r-md);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 20px;
  text-decoration: none;
}

.toc a:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.toc-desktop {
  display: none;
}

.toc-desktop p {
  padding-left: var(--s12);
  color: var(--text-tertiary);
  font-family: var(--font-rounded);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.toc-desktop ol {
  margin-top: var(--s8);
  padding: 0;
}

.toc-desktop a {
  min-height: 36px;
  padding-block: var(--s6);
  font-size: 14px;
}

/* Help */
.help-group + .help-group {
  margin-top: var(--s32);
}

.help-group h2 {
  margin: 0 0 var(--s16);
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
}

.contact-card {
  align-self: start;
  padding: var(--s24);
  border-radius: var(--r-xl);
  background: var(--brand-soft);
}

.contact-card .bulle {
  width: 64px;
}

.contact-card h2 {
  margin-top: var(--s12);
  color: var(--text-brand);
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
}

.contact-card p {
  margin-top: var(--s8);
  color: var(--text-primary);
}

.contact-card .btn {
  width: 100%;
  margin-top: var(--s16);
}

.contact-card .note {
  margin-top: var(--s12);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

/* 404 */
.not-found {
  display: grid;
  justify-items: center;
  gap: var(--s12);
  max-width: 560px;
  margin-inline: auto;
  padding-block: var(--s64);
  text-align: center;
}

.not-found .bulle {
  width: 128px;
}

.not-found h1 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
}

.not-found p:not(.eyebrow) {
  color: var(--text-secondary);
  font-size: 17px;
}

.not-found .eyebrow {
  margin: var(--s12) 0 0;
}

.not-found .btn {
  width: 100%;
  margin-top: var(--s20);
}

/* ───────────── Wider screens ───────────── */

@media (min-width: 640px) {
  .hero__actions .btn {
    width: auto;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .not-found .btn {
    width: auto;
  }
}

@media (min-width: 900px) {
  .site-header__inner {
    min-height: 69px;
  }

  .site-nav a {
    font-size: 17px;
    line-height: 22px;
  }

  .site-footer {
    padding-block: var(--s48) var(--s32);
  }

  .site-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .site-footer nav ul {
    flex-direction: row;
    gap: var(--s16);
  }

  .hero {
    grid-template-columns: minmax(0, 605fr) minmax(0, 451fr);
    align-items: center;
    gap: var(--s64);
    padding-block: var(--s64) var(--s96, 96px);
  }

  .hero h1 {
    font-size: 48px;
    line-height: 56px;
  }

  .hero__visual {
    width: min(341px, 100%);
    justify-self: end;
    margin-left: 0;
  }

  .hero__bulle {
    left: -110px;
    width: 125px;
  }

  .section {
    padding-block: 96px;
  }

  .section--follows {
    padding-top: 0;
  }

  .section__head {
    margin-inline: auto;
    margin-bottom: var(--s40);
    text-align: center;
  }

  .section__head h2,
  .section h2,
  .soon h2 {
    font-size: 34px;
    line-height: 41px;
  }

  .rungs {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: var(--s32);
  }

  .features {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s24);
  }

  .privacy-card {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--s48);
    padding: var(--s48);
  }

  .privacy-card .bulle {
    width: 96px;
  }

  .plus-card {
    grid-template-columns: 468fr 508fr;
    align-items: center;
    gap: var(--s48);
    padding: var(--s48);
  }

  .preview {
    padding: var(--s20);
  }

  .faq {
    margin-inline: auto;
  }

  .faq__more {
    display: flex;
    justify-content: center;
  }

  .soon {
    padding-block: var(--s64) 96px;
  }

  .soon .bulle {
    width: 96px;
  }

  .doc-head {
    padding-block: var(--s48) var(--s32);
  }

  .doc-head h1 {
    font-size: 48px;
    line-height: 56px;
  }

  .doc-layout--legal {
    grid-template-columns: 248px minmax(0, 680px);
    gap: var(--s64);
    padding-bottom: var(--s64);
  }

  .doc-layout--help {
    grid-template-columns: minmax(0, 760px) 296px;
    justify-content: space-between;
    gap: var(--s64);
    padding-bottom: var(--s64);
  }

  .toc-mobile {
    display: none;
  }

  .toc-desktop {
    display: block;
    position: sticky;
    top: var(--s24);
    align-self: start;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }

  .contact-card {
    position: sticky;
    top: var(--s24);
  }

  .not-found {
    padding-block: 96px;
  }
}

/* ───────────── Reduced motion, forced colours ───────────── */

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .btn,
  .card,
  .accordion,
  .status,
  .badge {
    border: 1px solid CanvasText;
  }
}

/* Contents: the section reached by an anchor is highlighted, without script (generated). */
body:has(#achat-renouvellement-et-resiliation:target) .toc a[href="#achat-renouvellement-et-resiliation"],
body:has(#ce-qui-reste-sur-ton-iphone:target) .toc a[href="#ce-qui-reste-sur-ton-iphone"],
body:has(#combien-de-temps:target) .toc a[href="#combien-de-temps"],
body:has(#completer-la-fiche-revoca:target) .toc a[href="#completer-la-fiche-revoca"],
body:has(#disponibilite-et-responsabilite:target) .toc a[href="#disponibilite-et-responsabilite"],
body:has(#dispositions-propres-a-apple:target) .toc a[href="#dispositions-propres-a-apple"],
body:has(#donnees-personnelles:target) .toc a[href="#donnees-personnelles"],
body:has(#droit-applicable-et-litiges:target) .toc a[href="#droit-applicable-et-litiges"],
body:has(#editeur:target) .toc a[href="#editeur"],
body:has(#hebergement:target) .toc a[href="#hebergement"],
body:has(#la-copie-icloud:target) .toc a[href="#la-copie-icloud"],
body:has(#la-version-gratuite-et-revoca:target) .toc a[href="#la-version-gratuite-et-revoca"],
body:has(#le-service:target) .toc a[href="#le-service"],
body:has(#le-site-revoca-pivtech-fr:target) .toc a[href="#le-site-revoca-pivtech-fr"],
body:has(#les-achats-revoca:target) .toc a[href="#les-achats-revoca"],
body:has(#les-fiches-proposees-par-completer-la-fiche:target) .toc a[href="#les-fiches-proposees-par-completer-la-fiche"],
body:has(#les-statistiques-d-usage-seulement-si-tu-acceptes:target) .toc a[href="#les-statistiques-d-usage-seulement-si-tu-acceptes"],
body:has(#modifications:target) .toc a[href="#modifications"],
body:has(#propriete-intellectuelle:target) .toc a[href="#propriete-intellectuelle"],
body:has(#qui-est-responsable:target) .toc a[href="#qui-est-responsable"],
body:has(#qui-recoit-des-donnees:target) .toc a[href="#qui-recoit-des-donnees"],
body:has(#securite:target) .toc a[href="#securite"],
body:has(#si-tu-as-moins-de-15-ans:target) .toc a[href="#si-tu-as-moins-de-15-ans"],
body:has(#ta-licence:target) .toc a[href="#ta-licence"],
body:has(#tes-donnees:target) .toc a[href="#tes-donnees"],
body:has(#tes-droits:target) .toc a[href="#tes-droits"] {
  box-shadow: inset 3px 0 0 var(--brand-solid);
  background: var(--brand-soft);
  color: var(--brand-soft-fg);
  font-weight: 600;
}
