/* T.I.O — site vitrine
 *
 * Mêmes jetons que l'application (packages/tio_ui/lib/src/tokens.dart) :
 * crème chaud, encre brune, orange du logo. Même règle aussi : les teintes
 * dorées du logo portent l'encre, jamais du texte blanc ; le texte blanc va
 * sur `--brand` (4,6) ou `--brand-deep` (6,25). L'orange vif ne sert qu'aux
 * grands titres et aux icônes (3,3 sur le crème).
 */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-800.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink-900: #241d18;
  --ink-700: #473b33;
  --ink-500: #7d6e63;
  --ink-200: #e0d4c7;
  --ink-100: #efe6dc;
  --cream: #fbf6ef;
  --white: #ffffff;

  --logo-yellow: #fddb2a;
  --logo-amber: #fdc20f;
  --logo-orange: #fd7c01;
  --gold-deep: #f26a00;

  --brand: #c25400;
  --brand-deep: #b3310a;
  --brand-pressed: #97270a;
  --brand-ink: #c44800;
  --orange: #e8590c;
  --peach: #fde8d4;
  --brand-tint: #fde3c8;
  --brand-soft: #fff3e6;

  --sage: #3f7d5c;
  --sage-soft: #e3f1e9;

  --avatar-1: #fbd9b0;
  --avatar-2: #d9e8dc;
  --avatar-3: #dde3f3;
  --avatar-4: #f5e1ec;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(36, 29, 24, 0.06), 0 2px 8px rgba(36, 29, 24, 0.05);
  --shadow-md: 0 4px 12px rgba(36, 29, 24, 0.07), 0 12px 32px rgba(36, 29, 24, 0.08);
  --shadow-lg: 0 18px 50px rgba(36, 29, 24, 0.16);

  /* Rôles (surchargés par le thème sombre plus bas). */
  --surface: #ffffff;
  --paper: #fffdf8;
  --hand-ink: var(--brand-deep);
  --inverse: var(--ink-900);
  --inverse-hover: #3a2f27;
  --on-inverse: #ffffff;
  --header-bg: rgba(251, 246, 239, 0.86);
  --footer-bg: var(--ink-900);
  --footer-line: transparent;
  --rail-a: #d9cfc4;
  --rail-b: #b9ab9d;
  --rule: rgba(36, 29, 24, 0.08);
  --todo-bg: #fcefd6;
  --todo-ink: #8f6516;
  --sun: rgba(253, 219, 42, 0.55);
  --drop: rgba(36, 29, 24, 0.2);
  --shot-filter: none;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ------------------------------------------------------------ thème sombre
 * Suit le système par défaut ; le bouton de l'en-tête force l'un ou l'autre
 * (`data-theme` posé sur <html> avant le premier rendu). Fond brun très
 * sombre plutôt que noir, encre crème ; l'orange s'éclaircit pour garder
 * l'AA sur le fond. Les boutons orange gardent leur dégradé et leur texte
 * blanc, qui tiennent l'AA dans les deux thèmes. */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink-900: #f6eee5;
    --ink-700: #d8cabc;
    --ink-500: #ab9b8d;
    --ink-200: #4a3e35;
    --ink-100: #342a23;
    --cream: #17120e;
    --surface: #221b16;
    --paper: #30271f;

    --brand-ink: #ff9a52;
    --orange: #ff8a3d;
    --peach: #43291a;
    --brand-tint: #6a3a17;
    --brand-soft: #33241a;
    --hand-ink: #ffa566;

    --sage: #7cc49a;
    --sage-soft: #1f3328;

    --inverse: #f6eee5;
    --inverse-hover: #e0d4c7;
    --on-inverse: #241d18;
    --header-bg: rgba(23, 18, 14, 0.82);
    --footer-bg: #0f0b08;
    --footer-line: #2a221c;
    --rail-a: #6b5e53;
    --rail-b: #43382f;
    --rule: rgba(246, 238, 229, 0.07);
    --todo-bg: #3a2c14;
    --todo-ink: #f0c674;
    --sun: rgba(253, 194, 15, 0.16);
    --drop: rgba(0, 0, 0, 0.5);
    --shot-filter: brightness(0.92);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35), 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.55);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink-900: #f6eee5;
  --ink-700: #d8cabc;
  --ink-500: #ab9b8d;
  --ink-200: #4a3e35;
  --ink-100: #342a23;
  --cream: #17120e;
  --surface: #221b16;
  --paper: #30271f;

  --brand-ink: #ff9a52;
  --orange: #ff8a3d;
  --peach: #43291a;
  --brand-tint: #6a3a17;
  --brand-soft: #33241a;
  --hand-ink: #ffa566;

  --sage: #7cc49a;
  --sage-soft: #1f3328;

  --inverse: #f6eee5;
  --inverse-hover: #e0d4c7;
  --on-inverse: #241d18;
  --header-bg: rgba(23, 18, 14, 0.82);
  --footer-bg: #0f0b08;
  --footer-line: #2a221c;
  --rail-a: #6b5e53;
  --rail-b: #43382f;
  --rule: rgba(246, 238, 229, 0.07);
  --todo-bg: #3a2c14;
  --todo-ink: #f0c674;
  --sun: rgba(253, 194, 15, 0.16);
  --drop: rgba(0, 0, 0, 0.5);
  --shot-filter: brightness(0.92);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35), 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.55);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-900);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--brand-ink);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--hand-ink);
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
}

.accent {
  color: var(--orange);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--inverse);
  color: var(--on-inverse);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
  color: var(--on-inverse);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

/* ------------------------------------------------------------- boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font: 700 1rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Texte blanc : uniquement sur le dégradé profond, qui tient l'AA d'un bout à
   l'autre. */
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(179, 49, 10, 0.28);
}
.btn-primary:hover {
  color: var(--white);
  box-shadow: 0 10px 24px rgba(179, 49, 10, 0.34);
}

/* Le doré du logo porte l'encre. */
.btn-gold {
  background: linear-gradient(180deg, var(--logo-amber) 0%, var(--logo-orange) 100%);
  color: var(--ink-900);
  box-shadow: 0 6px 18px rgba(242, 106, 0, 0.28);
}
.btn-gold:hover {
  color: var(--ink-900);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink-900);
  box-shadow: inset 0 0 0 1.5px var(--ink-200);
}
.btn-ghost:hover {
  color: var(--ink-900);
  box-shadow: inset 0 0 0 1.5px var(--ink-500);
}

.btn-dark {
  background: var(--inverse);
  color: var(--on-inverse);
}
.btn-dark:hover {
  color: var(--on-inverse);
  background: var(--inverse-hover);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.92rem;
}

/* --------------------------------------------------------------- en-tête */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--ink-100);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand img {
  width: 78px;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink-900);
  background: var(--peach);
}
.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--ink-200);
  color: var(--ink-900);
  cursor: pointer;
}
.nav-toggle svg {
  margin: auto;
  width: 22px;
  height: 22px;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }
  .main-nav,
  .header-actions {
    display: none;
  }
  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    display: flex;
  }
  .site-header.is-open .header-inner {
    flex-wrap: wrap;
    padding-bottom: 16px;
  }
  /* Menu ouvert, l'en-tête passe sur plusieurs lignes : la première garde
     la hauteur de la barre fermée (72 px), sinon logo, thème et burger
     remontent d'un coup. */
  .site-header.is-open .brand {
    min-height: 72px;
  }
  .site-header.is-open .main-nav {
    order: 3;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0;
  }
  .site-header.is-open .main-nav a {
    padding: 12px 14px;
    font-size: 1.05rem;
  }
  .site-header.is-open .header-actions {
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
}

/* ------------------------------------------------- maquette téléphone */

.phone {
  width: 280px;
  padding: 10px;
  border-radius: 42px;
  background: #1b1511;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #3a2f27;
}
.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 33px;
  background: #fbf6ef; /* les captures restent claires */
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--ink-900);
}
.phone-notch {
  width: 96px;
  height: 24px;
  margin: 8px auto 4px;
  border-radius: 999px;
  background: #1b1511;
}
.phone-screen img.shot {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------- maquette console (écran) */

.browser {
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.35;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--ink-100);
}
.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-200);
}
.browser-bar .url {
  margin-left: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 600;
}
.browser img.shot {
  display: block;
  width: 100%;
  height: auto;
}

/* ----------------------------------------------------- écriture à la main
   Les petites notes de l'ardoise et des bons : la seule fantaisie
   typographique du site, réservée à ce qui serait écrit au stylo. */

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

.hand {
  font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  font-weight: 600;
  letter-spacing: 0;
}

/* Soulignement au feutre sous un mot du titre. */
.underline {
  position: relative;
  white-space: nowrap;
  color: var(--orange);
}
.underline::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.12em;
  height: 0.28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 50 4, 120 4, 197 11' fill='none' stroke='%23FDC20F' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  z-index: -1;
}

/* Petit écran : un titre souligné long passe à la ligne (sinon il déborde),
   avec un soulignement de texte qui suit les deux lignes. */
@media (max-width: 560px) {
  .underline {
    white-space: normal;
    text-decoration-line: underline;
    text-decoration-color: var(--logo-amber);
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.14em;
    text-decoration-skip-ink: none;
  }
  .underline::after {
    display: none;
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--brand-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--brand-tint);
  padding-bottom: 2px;
}
.text-link:hover {
  border-bottom-color: var(--orange);
}
.text-link svg {
  width: 16px;
  height: 16px;
}

/* ----------------------------------------------------------------- ouverture */

.opening {
  position: relative;
  padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 88px);
  overflow: hidden;
}
.opening-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.opening h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  line-height: 1.08;
  margin-bottom: 0.45em;
}
.opening .lead {
  font-size: clamp(1.08rem, 1.7vw, 1.26rem);
  color: var(--ink-700);
  max-width: 32em;
}
.lead {
  color: var(--ink-700);
  font-size: 1.12rem;
}
.opening-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 30px;
}
.opening-visual {
  position: relative;
  min-height: 680px;
}
.opening-visual .plate {
  position: absolute;
  filter: drop-shadow(0 24px 36px var(--drop));
  pointer-events: none;
}
.opening-visual .plate-a {
  width: 74%;
  right: -18%;
  top: -6%;
}
.opening-visual .plate-b {
  width: 44%;
  left: -8%;
  bottom: -8%;
}
.opening-visual .phone {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-3deg);
}
.opening-visual .note {
  position: absolute;
  right: -14%;
  bottom: 4%;
  width: 130px;
  font-size: 1.3rem;
  transform: rotate(-5deg);
}
.note {
  color: var(--hand-ink);
  font-family: "Caveat", "Segoe Print", cursive;
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.05;
}
.note svg {
  display: block;
  width: 54px;
  height: 34px;
  margin-bottom: 2px;
  color: var(--hand-ink);
}
.sun {
  position: absolute;
  z-index: -1;
  width: 640px;
  height: 640px;
  right: -180px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sun), transparent 68%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .opening-grid {
    grid-template-columns: 1fr;
  }
  .opening-visual {
    min-height: 680px;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }
  .opening-visual .note {
    right: -2%;
    width: 110px;
  }
}
@media (max-width: 560px) {
  .opening-visual .note {
    display: none;
  }
}

/* ----------------------------------------------------------------- blocs */

.block {
  padding: clamp(56px, 8vw, 110px) 0;
}
.block-paper {
  background: var(--surface);
}
.block-intro {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.block-intro p {
  color: var(--ink-700);
  font-size: 1.12rem;
}
.block-intro .hand {
  display: block;
  margin-bottom: 4px;
  color: var(--orange);
  font-size: 1.6rem;
  line-height: 1;
}

/* ------------------------------------------- compteurs de l'accueil */

.stats-band {
  padding: clamp(28px, 4vw, 44px) 0;
  background: var(--brand-soft);
  border-block: 1px solid var(--ink-100);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat strong {
  display: block;
  color: var(--brand-deep);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
}
.stat span {
  display: block;
  color: var(--ink-700);
  font-weight: 600;
}
.stat small {
  display: block;
  color: var(--ink-500);
}
.stat[hidden],
.stats-band[hidden] {
  display: none;
}

/* --------------------------------------------------- une soirée (frise) */

.evening {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.evening-aside {
  position: sticky;
  top: 110px;
}
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 62px;
  top: 10px;
  bottom: 10px;
  border-left: 2px dashed var(--ink-200);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  padding-bottom: 34px;
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline time {
  position: relative;
  padding-top: 2px;
  color: var(--orange);
  font-family: "Caveat", "Segoe Print", cursive;
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1;
  text-align: right;
  padding-right: 22px;
}
.timeline time::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--logo-amber);
  box-shadow: 0 0 0 4px var(--cream);
}
.block-paper .timeline time::after {
  box-shadow: 0 0 0 4px var(--surface);
}
.timeline h3 {
  margin-bottom: 0.3em;
}
.timeline p {
  margin: 0;
  color: var(--ink-700);
}
@media (max-width: 900px) {
  .evening {
    grid-template-columns: 1fr;
  }
  .evening-aside {
    position: static;
  }
}
@media (max-width: 520px) {
  .timeline::before {
    left: 58px;
  }
  .timeline li {
    grid-template-columns: 66px 1fr;
    gap: 16px;
  }
  .timeline time {
    font-size: 1.45rem;
    padding-right: 14px;
  }
}

/* ---------------------------------------------- le rail des bons de cuisine */

.rail {
  position: relative;
  padding-top: 26px;
}
.rail::before {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 0;
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(180deg, var(--rail-a), var(--rail-b));
  box-shadow: 0 3px 6px rgba(36, 29, 24, 0.15);
}
.tickets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticket-card {
  position: relative;
  padding: 22px 20px 28px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(36, 29, 24, 0.1);
  transform-origin: top center;
  /* Bas déchiré, comme un bon arraché du carnet. */
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat,
    radial-gradient(circle 6px at 50% 0, transparent 97%, #000) bottom / 14px 10px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat,
    radial-gradient(circle 6px at 50% 0, transparent 97%, #000) bottom / 14px 10px repeat-x;
}
.tickets li:nth-child(1) .ticket-card { transform: rotate(-1.6deg); }
.tickets li:nth-child(2) .ticket-card { transform: rotate(1.2deg) translateY(6px); }
.tickets li:nth-child(3) .ticket-card { transform: rotate(-0.8deg) translateY(2px); }
.tickets li:nth-child(4) .ticket-card { transform: rotate(1.8deg) translateY(8px); }
.ticket-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  width: 30px;
  height: 14px;
  margin-left: -15px;
  border-radius: 3px;
  background: var(--logo-amber);
  box-shadow: 0 2px 4px rgba(36, 29, 24, 0.2);
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1.5px dashed var(--ink-200);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.ticket-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4em;
}
.ticket-card p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.98rem;
}
.ticket-card .hand {
  display: block;
  margin-top: 14px;
  color: var(--hand-ink);
  font-size: 1.3rem;
  line-height: 1.1;
}
@media (max-width: 980px) {
  .tickets {
    grid-template-columns: 1fr 1fr;
    row-gap: 30px;
  }
}
@media (max-width: 560px) {
  .tickets {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------ côte à côte simple */

.duo-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.duo-text.flip > :first-child {
  order: 2;
}
.duo-text .media {
  position: relative;
  display: flex;
  justify-content: center;
}
.duo-text .media .browser {
  width: 100%;
}
.duo-text .media .note {
  position: absolute;
  left: 0;
  bottom: 14%;
  width: 110px;
  font-size: 1.3rem;
  transform: rotate(-5deg);
}
.duo-text p {
  color: var(--ink-700);
}
@media (max-width: 900px) {
  .duo-text {
    grid-template-columns: 1fr;
  }
  .duo-text.flip > :first-child {
    order: 0;
  }
  .duo-text .media .note {
    position: static;
    margin-top: 12px;
  }
  .duo-text .media {
    flex-direction: column;
    align-items: center;
  }
}

/* ------------------------------------------------- la carte (pointillés) */

.menu-card {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) clamp(22px, 5vw, 72px);
  background: var(--paper);
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  outline: 1px solid var(--ink-100);
  outline-offset: -14px;
}
.menu-card-title {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.menu-card-title .hand {
  display: block;
  color: var(--orange);
  font-size: 1.7rem;
  line-height: 1;
}
.menu-cols {
  columns: 2;
  column-gap: clamp(32px, 6vw, 72px);
}
.menu-section {
  break-inside: avoid;
  margin-bottom: 30px;
}
.menu-section h3 {
  margin-bottom: 14px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.dish {
  margin: 0 0 16px;
}
.dish-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
}
.dish-line::after {
  content: "";
  order: 1;
  flex: 1;
  border-bottom: 2px dotted var(--ink-200);
  transform: translateY(-4px);
}
.dish-line span:last-child {
  order: 2;
  font-family: "Caveat", cursive;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--sage);
  white-space: nowrap;
}
.dish p {
  margin: 2px 0 0;
  color: var(--ink-700);
  font-size: 0.96rem;
  font-style: italic;
}
@media (max-width: 760px) {
  .menu-cols {
    columns: 1;
  }
}

/* --------------------------------------------- l'addition (tarifs) */

.bill-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.bill {
  position: relative;
  max-width: 420px;
  width: 100%;
  justify-self: center;
  padding: 34px 30px 44px;
  background: var(--paper);
  box-shadow: var(--shadow-md);
  transform: rotate(1.2deg);
  font-variant-numeric: tabular-nums;
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 97%, #000) bottom / 16px 100% repeat-x;
  mask: radial-gradient(circle 7px at 50% 100%, transparent 97%, #000) bottom / 16px 100% repeat-x;
}
.bill-head {
  text-align: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1.5px dashed var(--ink-200);
}
.bill-head img {
  width: 70px;
  margin: 0 auto 6px;
}
.bill-head small {
  color: var(--ink-500);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bill dl {
  margin: 0;
}
.bill-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.98rem;
}
.bill-row dt {
  color: var(--ink-700);
}
.bill-row dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}
.bill-total {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1.5px dashed var(--ink-200);
  font-size: 1.12rem;
}
.bill-total dt {
  color: var(--ink-900);
  font-weight: 800;
}
.bill-total dd {
  font-family: "Caveat", cursive;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--hand-ink);
}
.bill .btn {
  width: 100%;
  margin-top: 22px;
}
@media (max-width: 860px) {
  .bill-wrap {
    grid-template-columns: 1fr;
  }
}

/* Formules : trois additions côte à côte, la grande salle mise en avant. */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
}
.bill.plan {
  max-width: none;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 40px;
  transform: rotate(-0.8deg);
}
.bill.plan:nth-child(2) {
  transform: rotate(0.9deg);
}
.bill.plan.featured {
  transform: rotate(-1.4deg) scale(1.04);
  box-shadow: var(--shadow-lg);
}
.bill.plan .bill-head h3 {
  margin: 0 0 2px;
  font-size: 1.45rem;
}
.plan-for {
  min-height: 3em;
  margin: 0 0 12px;
  color: var(--ink-700);
  font-size: 0.95rem;
  font-style: italic;
}
.bill.plan dl {
  margin-bottom: auto;
}
.bill.plan .bill-total dd {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  white-space: nowrap;
}
.bill-total dd small {
  margin-left: 4px;
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--ink-500);
}
/* L'addition est découpée par un masque : l'étiquette reste à l'intérieur,
   le titre descend pour lui laisser la place. */
.bill.plan.featured .bill-head {
  padding-top: 16px;
}
.plan-tag {
  position: absolute;
  top: 8px;
  right: 14px;
  color: var(--orange);
  font-size: 1.35rem;
  transform: rotate(6deg);
}
.plans-note {
  max-width: 640px;
  margin: clamp(28px, 4vw, 44px) 0 0;
  color: var(--ink-700);
}
/* Essai gratuit : une étiquette, pas une bannière. */
.trial-ribbon {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 18px 0 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--ink-900);
}
.trial-ribbon strong {
  color: var(--hand-ink);
}
.trial-ribbon span {
  color: var(--ink-700);
  font-size: 0.95rem;
}

/* Trois colonnes étroites (petit portable) : additions plus compactes. */
@media (max-width: 1180px) and (min-width: 901px) {
  .bill.plan {
    padding: 26px 18px 38px;
  }
  .bill.plan .bill-row {
    font-size: 0.9rem;
  }
  .bill.plan .bill-total dd {
    font-size: 1.5rem;
  }
}

/* Tablette et téléphone : une addition par ligne, centrée. */
@media (max-width: 900px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
    gap: 28px;
  }
  .bill.plan,
  .bill.plan:nth-child(2),
  .bill.plan.featured {
    transform: none;
  }
  .plan-for {
    min-height: 0;
  }
  .plans-note {
    max-width: 460px;
    margin-inline: auto;
  }
}
@media (max-width: 480px) {
  .bill.plan {
    padding: 24px 18px 36px;
  }
  .trial-ribbon {
    border-radius: var(--radius-md);
  }
}

/* -------------------------------------------------- liste à cocher (bloc-notes) */

.notepad {
  max-width: 520px;
  padding: 30px 32px 26px;
  background:
    repeating-linear-gradient(180deg, transparent 0 39px, var(--rule) 39px 40px),
    var(--paper);
  background-position: 0 18px;
  box-shadow: var(--shadow-md);
  border-top: 10px solid var(--logo-amber);
  transform: rotate(-1deg);
}
.notepad ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.notepad li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 40px;
  font-family: "Caveat", cursive;
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--ink-900);
}
.notepad li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--ink-700);
  border-radius: 4px;
}
.notepad li.done::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F7D5C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13l5 5L21 5'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.notepad small {
  display: block;
  margin-top: 10px;
  color: var(--ink-500);
  font-family: var(--font);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------- FAQ */

.questions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.questions-intro {
  position: sticky;
  top: 110px;
}
.questions-intro img {
  width: 120px;
  margin-top: 18px;
}
.faq details {
  border-bottom: 1px solid var(--ink-100);
}
.faq details:first-child {
  border-top: 1px solid var(--ink-100);
}
.faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-family: "Caveat", cursive;
  font-size: 2rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq details > div {
  padding: 0 0 22px;
  color: var(--ink-700);
}
.faq details > div p:last-child {
  margin-bottom: 0;
}
@media (max-width: 860px) {
  .questions {
    grid-template-columns: 1fr;
  }
  .questions-intro {
    position: static;
  }
  .questions-intro img {
    display: none;
  }
}

/* --------------------------------------------------------- mot de la fin */

.goodbye {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.goodbye img {
  width: clamp(120px, 18vw, 200px);
  filter: drop-shadow(0 16px 26px var(--drop));
}
.bubble {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.bubble::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 46%;
  width: 28px;
  height: 28px;
  background: var(--surface);
  transform: rotate(45deg);
  border-radius: 4px;
}
.bubble h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.bubble p {
  color: var(--ink-700);
}
.bubble .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 18px;
}
@media (max-width: 640px) {
  .goodbye {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .bubble::before {
    left: 50%;
    top: -12px;
    margin-left: -14px;
  }
}

/* -------------------------------------------------- en-tête de page */

.page-hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 56px);
}
.page-hero .lead {
  max-width: 40em;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.page-hero-grid img {
  justify-self: center;
  width: min(100%, 420px);
  filter: drop-shadow(0 24px 36px var(--drop));
}
@media (max-width: 860px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }
  .page-hero-grid img {
    width: min(80%, 320px);
  }
}
.breadcrumb {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ink-500);
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
}
.breadcrumb a {
  color: var(--ink-700);
}

/* ------------------------------------------------------- contenu texte */

.prose {
  max-width: 760px;
}
.prose h2 {
  margin-top: 1.8em;
  font-size: 1.5rem;
}
.prose h3 {
  margin-top: 1.4em;
}
.prose ul {
  padding-left: 1.2em;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0 1.5em;
  font-size: 0.95rem;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--ink-100);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--brand-soft);
}
.prose nav[aria-label="Sommaire"] {
  margin: 1.5em 0;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1px solid var(--ink-100);
}
.prose nav[aria-label="Sommaire"] ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.prose nav[aria-label="Sommaire"] li {
  margin-bottom: 0.2em;
}
@media (max-width: 600px) {
  .prose table {
    font-size: 0.85rem;
    hyphens: auto;
    overflow-wrap: anywhere;
  }
  .prose th,
  .prose td {
    padding: 8px 6px;
  }
}
.todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--todo-bg);
  color: var(--todo-ink);
  font-weight: 700;
}
.notice {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  border-left: 4px solid var(--orange);
  color: var(--ink-700);
}

/* ------------------------------------------------------------ formulaire */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.form {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-weight: 700;
  font-size: 0.94rem;
}
.field .opt {
  color: var(--ink-500);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-md);
  background: var(--cream);
  color: var(--ink-900);
  font: 500 1rem/1.4 var(--font);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 89, 12, 0.15);
  background: var(--surface);
}
.form-note {
  margin: 14px 0 0;
  color: var(--ink-500);
  font-size: 0.88rem;
}
.contact-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--ink-100);
}
.contact-list b {
  display: block;
}

/* ---------------------------------------------------------------- pied */

.site-footer {
  padding: 64px 0 32px;
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-line);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-grid li {
  margin-bottom: 8px;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--logo-amber);
  text-decoration: underline;
}
.footer-brand img {
  width: 96px;
  margin-bottom: 14px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------------------------------------------------------- apparition */

/* Masqué seulement si le script tourne : sans lui, tout reste visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn {
    transition: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-band {
    display: none;
  }
}

/* Pastille d'icône (liste de contact). */
.ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--peach);
  color: var(--brand-ink);
}
.ico svg {
  width: 22px;
  height: 22px;
}

/* Ce qui distingue T.I.O : cartes et comparaison. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.edges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.edge {
  height: 100%;
  padding: 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--ink-100);
  box-shadow: 0 6px 18px rgba(36, 29, 24, 0.06);
}
.edge h3 {
  margin: 14px 0 6px;
  font-size: 1.12rem;
}
.edge p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.97rem;
}
.compare {
  margin-top: 36px;
  overflow-x: auto;
}
.compare table {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ink-100);
}
.compare caption {
  caption-side: top;
  padding-bottom: 12px;
  font-weight: 700;
  color: var(--ink-900);
}
.compare th,
.compare td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--ink-100);
}
.compare tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--ink-900);
}
.compare thead th {
  font-size: 0.9rem;
  color: var(--ink-500);
  font-weight: 600;
}
.compare thead th:last-child,
.compare td:last-child {
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-weight: 700;
}
.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: 0;
}
.compare .yes {
  display: inline-flex;
  justify-content: center;
}
.compare .yes svg {
  width: 22px;
  height: 22px;
  color: var(--sage);
  vertical-align: middle;
}
.compare .no {
  color: var(--ink-200);
  font-weight: 700;
}
.compare .maybe {
  font-size: 0.85rem;
  color: var(--ink-500);
}
@media (max-width: 560px) {
  .compare th,
  .compare td {
    padding: 10px 8px;
    font-size: 0.9rem;
  }
}
/* Au téléphone, sept cartes empilées : l'icône passe à gauche, la carte
   se resserre. */
@media (max-width: 560px) {
  .edges {
    gap: 10px;
  }
  .edge {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    padding: 16px;
  }
  .edge .ico {
    grid-row: span 2;
  }
  .edge h3 {
    margin: 2px 0 4px;
  }
}

/* Pages locales : villes desservies, étapes. */
.cities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cities li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--ink-100);
  font-size: 0.95rem;
}
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 56px 20px 20px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--ink-100);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 16px;
  left: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--peach);
  color: var(--brand-ink);
  font-weight: 800;
}

/* ------------------------------------------------- bascule clair / sombre
 * Le bouton n'a de sens qu'avec le script : masqué sans lui. Il montre la
 * lune en thème clair (passer au sombre) et le soleil en thème sombre. */

.theme-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--ink-200);
  color: var(--ink-900);
  cursor: pointer;
}
.js .theme-toggle {
  display: inline-flex;
}
.theme-toggle:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink-500);
}
.theme-toggle svg {
  margin: auto;
  width: 20px;
  height: 20px;
}
.theme-toggle .icon-sun {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}
:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: block;
  }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    display: none;
  }
}
@media (max-width: 960px) {
  .theme-toggle {
    order: 1;
    margin-left: auto;
  }
  .nav-toggle {
    order: 2;
    margin-left: 0;
  }
}

/* Captures d'écran de l'app (claires) : un peu adoucies sur fond sombre. */
.phone-screen img.shot,
.browser img.shot {
  filter: var(--shot-filter);
}

/* ============================================================ illustrations
 * Petites scènes dessinées en SVG (generate_site.py, ILLUS) : trait d'encre,
 * aplats orange et doré du logo. Les couleurs viennent d'ici, elles suivent
 * donc le thème. Sur l'orange et le doré, le texte et les traits « on »
 * restent en encre foncée dans les deux thèmes. */

:root {
  --ill-line: var(--ink-900);
  --ill-blob: 0.24;
  --ill-green: #8fd0a9;
  --ill-on: #241d18;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ill-line: #eadccd;
    --ill-blob: 0.14;
    --ill-green: #6fb98d;
  }
}
:root[data-theme="dark"] {
  --ill-line: #eadccd;
  --ill-blob: 0.14;
  --ill-green: #6fb98d;
}

.ill {
  color: var(--ill-line);
  overflow: visible;
}
.ill .blob { fill: var(--logo-amber); stroke: none; opacity: var(--ill-blob); }
.ill .w { fill: var(--surface); }
.ill .p { fill: var(--paper); }
.ill .o { fill: var(--logo-orange); }
.ill .y { fill: var(--logo-amber); }
.ill .g { fill: var(--ill-green); }
.ill .gs { fill: var(--sage-soft); }
.ill .a1 { fill: var(--avatar-1); }
.ill .a2 { fill: var(--avatar-2); }
.ill .i { fill: currentColor; stroke: none; }
.ill .n { stroke: none; }
.ill .t {
  fill: currentColor;
  stroke: none;
  font: 800 15px/1 var(--font);
  letter-spacing: -0.02em;
}
.ill .t.sm { font-size: 12px; }
.ill .t.xs { font-size: 11px; letter-spacing: -0.01em; }
.ill .t.big { font-size: 25px; fill: var(--brand-ink); }
.ill .t.on { fill: var(--ill-on); }
.ill .on-line { stroke: var(--ill-on); }
.ill .o-line,
.ill .wave,
.ill .spark,
.ill .scanline { stroke: var(--logo-orange); }
.ill .scanline { stroke-width: 3.4; }
.ill .dash { stroke-dasharray: 4 6; }

/* Un peu de vie, sans en faire trop : le trait du scanner, la cloche qui
   sonne, la pastille qui clignote, le bon qui file en cuisine. */
@keyframes tio-scan { from { transform: translateY(0); } to { transform: translateY(24px); } }
@keyframes tio-ring {
  0%, 55%, 100% { transform: rotate(0); }
  8% { transform: rotate(13deg); }
  16% { transform: rotate(-11deg); }
  24% { transform: rotate(8deg); }
  32% { transform: rotate(-6deg); }
  40% { transform: rotate(3deg); }
}
@keyframes tio-wave { 0%, 55%, 100% { opacity: 0.2; } 12%, 40% { opacity: 1; } }
@keyframes tio-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes tio-flow { to { stroke-dashoffset: -20; } }
@keyframes tio-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.ill .scanline { animation: tio-scan 1.8s ease-in-out infinite alternate; }
.ill .bell {
  transform-box: view-box;
  transform-origin: 60px 24px;
  animation: tio-ring 3.2s ease-in-out infinite;
}
.ill .wave { animation: tio-wave 3.2s ease-in-out infinite; }
.ill .pulse { animation: tio-pulse 1.6s ease-in-out infinite; }
.ill .dash { animation: tio-flow 1.2s linear infinite; }

/* ------------------------------------------------ accueil : la promesse */

.promise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.promise a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px 5px 5px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
  color: var(--ink-900);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.promise a:hover {
  color: var(--ink-900);
  transform: translateY(-2px);
}
.ill.mini {
  width: 38px;
  height: 38px;
  flex: none;
}
@media (max-width: 480px) {
  .promise {
    gap: 8px;
  }
  .promise a {
    gap: 6px;
    padding: 4px 12px 4px 4px;
    font-size: 0.88rem;
  }
  .promise .ill.mini {
    width: 30px;
    height: 30px;
  }
}

/* Raccourcis vers les sections d'une page. */
.jump {
  margin-top: 28px;
}
.jump > span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-500);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.jump ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.jump a {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--peach);
  color: var(--ink-900);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.jump a:hover {
  color: var(--ink-900);
  background: var(--brand-tint);
}

/* ---------------------------------------------------- les trois piliers */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pillar {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 26px;
  border-radius: 26px;
  background: var(--cream);
  border: 1px solid var(--ink-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pillar .scene {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 6px;
}
.pillar-n {
  position: absolute;
  top: 14px;
  left: 20px;
  color: var(--orange);
  font-size: 2.4rem;
  line-height: 1;
}
.pillar h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35em;
}
.pillar p {
  color: var(--ink-700);
  margin-bottom: 14px;
}
.pillar .text-link {
  margin-top: auto;
  align-self: flex-start;
}
.ticks {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--ink-700);
  font-size: 0.97rem;
  line-height: 1.45;
}
.ticks svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--sage);
}
@media (max-width: 900px) {
  .pillars {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .pillar .scene {
    max-width: 240px;
  }
}

/* ------------------------------------------- avant et après le repas */

.extras-wrap {
  margin-top: clamp(32px, 5vw, 52px);
  scroll-margin-top: 96px;
}
.extras-title {
  margin: 0 0 16px;
  font-size: 1.35rem;
}
.extras-title .hand {
  margin-right: 6px;
  color: var(--orange);
  font-size: 1.5rem;
  font-weight: 600;
}
.extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.extra {
  height: 100%;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 24px 18px 16px;
  border-radius: 24px;
  background: var(--cream);
  border: 1px solid var(--ink-100);
}
.extra h4 {
  margin: 0 0 0.25em;
  font-size: 1.15rem;
}
.extra p {
  color: var(--ink-700);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
@media (max-width: 860px) {
  .extras {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .extras-wrap {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 480px) {
  .extra {
    grid-template-columns: 68px 1fr;
    gap: 12px;
    padding: 16px 16px 16px 10px;
  }
  .extras-title .hand {
    display: block;
  }
}


/* ---------------------------------------------- le parcours d'une soirée */

.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.journey::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 56px;
  border-top: 2.5px dashed var(--ink-200);
}
.journey li {
  position: relative;
}
.journey .ill {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--cream);
}
.block-paper .journey .ill {
  background: var(--surface);
}
.step-n {
  display: block;
  margin: 4px 0 2px;
  color: var(--orange);
  font-size: 1.7rem;
  line-height: 1;
}
.journey h3 {
  font-size: 1.08rem;
  margin-bottom: 0.3em;
}
.journey p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.92rem;
  line-height: 1.45;
}
/* Les étapes arrivent l'une après l'autre. */
.js .journey.reveal {
  opacity: 1;
  transform: none;
}
.js .journey li {
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: calc(var(--i) * 110ms);
}
.js .journey.is-visible li {
  opacity: 1;
  transform: none;
}
@media (max-width: 1100px) {
  .journey {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 34px;
  }
  .journey::before {
    display: none;
  }
}
@media (max-width: 640px) {
  .journey {
    grid-template-columns: 1fr;
    row-gap: 18px;
    text-align: left;
  }
  .journey::before {
    display: block;
    left: 41px;
    right: auto;
    top: 20px;
    bottom: 20px;
    border-top: 0;
    border-left: 2.5px dashed var(--ink-200);
  }
  .journey li {
    display: grid;
    grid-template-columns: 84px 1fr;
    grid-template-rows: auto auto 1fr;
    column-gap: 16px;
    align-items: start;
  }
  .journey .ill {
    grid-row: 1 / 4;
    width: 84px;
    height: 84px;
  }
  .step-n {
    margin: 4px 0 0;
    font-size: 1.4rem;
  }
}

/* ------------------------------------- vitrine : bascule et cartes */

.switch-bar {
  display: none;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 6px;
  gap: 4px;
  border-radius: 999px;
  background: var(--ink-100);
}
.js .switch-bar {
  display: flex;
}
.switch-bar button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-700);
  font: 700 0.98rem/1.2 var(--font);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.switch-bar button svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.switch-bar button[aria-selected="true"] {
  background: var(--inverse);
  color: var(--on-inverse);
  box-shadow: var(--shadow-sm);
}
.switch-title {
  margin: 0 0 16px;
  font-size: 1.3rem;
}
.switch-panel + .switch-panel {
  margin-top: 40px;
}
/* Avec le script, un seul panneau à la fois : son titre reste lisible
   pour les lecteurs d'écran seulement. */
.js .switch-panel + .switch-panel {
  margin-top: 0;
}
.js .switch-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.js .switch-panel:not([hidden]) {
  animation: tio-fade 0.4s ease;
}
.switch-more {
  margin: 22px 0 0;
  text-align: center;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feat {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--ink-100);
  box-shadow: 0 6px 18px rgba(36, 29, 24, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.block-paper .feat {
  background: var(--cream);
}
.feat:hover {
  transform: translateY(-3px) rotate(-0.4deg);
  box-shadow: var(--shadow-md);
}
.feat .ill {
  width: 76px;
  height: 76px;
  margin: -4px 0 6px -6px;
}
.feat h4 {
  margin: 0 0 4px;
  font-size: 1.04rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.feat p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.93rem;
  line-height: 1.45;
}
.feat-big {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, var(--brand-soft), var(--surface) 70%);
}
.block-paper .feat-big {
  background: linear-gradient(135deg, var(--brand-soft), var(--cream) 70%);
}
.feat-big .ill {
  width: 128px;
  height: 128px;
  flex: none;
  margin: 0;
}
.feat-big h4 {
  font-size: 1.25rem;
}
.feat-big p {
  font-size: 0.98rem;
}
@media (max-width: 1000px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .bento {
    gap: 10px;
  }
  .feat {
    padding: 14px 14px 16px;
  }
  .feat .ill {
    width: 58px;
    height: 58px;
    margin: -2px 0 4px -4px;
  }
  .feat h4 {
    font-size: 0.98rem;
  }
  .feat p {
    font-size: 0.88rem;
  }
  .feat-big {
    gap: 12px;
  }
  .feat-big .ill {
    width: 84px;
    height: 84px;
  }
  .switch-bar button {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}
@media (max-width: 380px) {
  .switch-bar button svg {
    display: none;
  }
}

/* ------------------------------------------------- conçu aux Antilles */

.antilles {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.antilles-art .ill {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}
.antilles .hand {
  display: block;
  margin-bottom: 4px;
  color: var(--orange);
  font-size: 1.6rem;
  line-height: 1;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}
.facts li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-700);
  font-size: 0.98rem;
  line-height: 1.45;
}
.facts b {
  color: var(--ink-900);
}
.antilles-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
@media (max-width: 860px) {
  .antilles {
    grid-template-columns: 1fr;
  }
  .antilles-art .ill {
    max-width: 170px;
    margin: 0;
  }
  .facts {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------- restaurateurs : la carte */

.menu-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ill.menu-ill {
  width: 44px;
  height: 44px;
  flex: none;
}
.menu-section {
  scroll-margin-top: 96px;
}

/* --------------------------------------------- formats des QR codes */

.formats {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.fmt-art {
  height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 12px;
}
.fmt-art .ill {
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 8px 14px var(--drop));
  transition: transform 0.25s ease;
}
.fmt:hover .fmt-art .ill {
  transform: translateY(-6px) rotate(-3deg);
}
.fmt-card .ill { height: 124px; }
.fmt-tent .ill { height: 132px; }
.fmt-sticker .ill { height: 64px; }
.fmt-poster .ill { height: 156px; }
.fmt-thermal .ill { height: 82px; }
.fmt-card6 .ill { height: 142px; }
.fmt-bare .ill { height: 90px; }
.fmt h3 {
  font-size: 1rem;
  margin-bottom: 0.25em;
}
.fmt p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.88rem;
  line-height: 1.4;
}
.formats-note {
  max-width: 640px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--ink-700);
}
@media (max-width: 1100px) {
  .formats {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 32px;
  }
}
@media (max-width: 560px) {
  .formats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 12px;
  }
  .fmt-art {
    height: 130px;
  }
  .fmt-card .ill { height: 104px; }
  .fmt-tent .ill { height: 110px; }
  .fmt-poster .ill { height: 128px; }
  .fmt-card6 .ill { height: 118px; }
}

/* ------------------------------------- un seul outil au lieu de trois */

.one-tool {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  margin: 0 0 12px;
}
.one-tool .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px 5px 5px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--ink-100);
  font-weight: 700;
}
.one-tool .chip-total {
  padding: 12px 20px;
  background: var(--inverse);
  color: var(--on-inverse);
  border-color: transparent;
}
.one-tool b {
  color: var(--orange);
  font-size: 1.6rem;
  line-height: 1;
}
.tool-row {
  margin-top: clamp(40px, 6vw, 72px);
  scroll-margin-top: 96px;
}
.tool-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.ill.tool-ill {
  width: 64px;
  height: 64px;
  flex: none;
}
.tool-row .ticks li {
  font-size: 1.02rem;
}
.tool-row .ticks b {
  color: var(--ink-900);
}
.tool-art {
  position: relative;
}
.ill.tool-big {
  width: min(280px, 70vw);
}
.ill.tool-small {
  position: absolute;
  width: min(120px, 30vw);
  right: 12%;
  bottom: -6%;
}

@media (max-width: 900px) {
  .ill.tool-big {
    width: 180px;
  }
  .ill.tool-small {
    width: 84px;
    right: 22%;
  }
  .call-art .ill {
    width: 200px;
  }
}
@media (max-width: 480px) {
  .one-tool {
    gap: 6px;
  }
  .one-tool .chip {
    padding: 8px 12px;
    font-size: 0.92rem;
  }
  .one-tool .chip .ill {
    display: none;
  }
  .one-tool b {
    font-size: 1.2rem;
  }
}

/* ---------------------------------------------- convives : détails */

.mini-feats {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.mini-feats li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--ink-700);
  line-height: 1.45;
}
.mini-feats b {
  color: var(--ink-900);
}
.mini-feats .ill.mini {
  width: 54px;
  height: 54px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.pills li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--peach);
  color: var(--ink-900);
  font-weight: 600;
  font-size: 0.95rem;
}
.call-art .ill {
  width: min(300px, 72vw);
}
.split-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.split-modes li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--ink-100);
  text-align: center;
  font-size: 0.95rem;
}
.split-modes .ill.mini {
  width: 58px;
  height: 58px;
}
.aside-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--cream);
  font-size: 0.95rem;
}
.aside-note svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  color: var(--brand-ink);
}

/* -------------------------------------------- drapeaux et langues */

/* Les vraies couleurs des drapeaux, dans les deux thèmes. */
.fl-b { fill: #0055a4; stroke: none; }
.fl-w { fill: #ffffff; stroke: none; }
.fl-r { fill: #c8102e; stroke: none; }
.fl-y { fill: #f1bf00; stroke: none; }
.fl-n { fill: #012169; stroke: none; }
.fl-sw { stroke: #ffffff; }
.fl-sr { stroke: #c8102e; }

.flag {
  width: 26px;
  height: 18px;
  flex: none;
  color: var(--ill-line);
  overflow: visible;
}
.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.langs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--ink-100);
  color: var(--ink-900);
  font-weight: 700;
  font-size: 0.93rem;
}
.block-paper .langs li {
  background: var(--cream);
}

/* ------------------------------------------- toujours humain */

.human {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.human-art .ill {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.human .hand {
  display: block;
  margin-bottom: 4px;
  color: var(--orange);
  font-size: 1.6rem;
  line-height: 1;
}
.duty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0 6px;
}
.duty-col {
  padding: 16px 18px 12px;
  border-radius: 20px;
  border: 1px solid var(--ink-100);
  background: var(--surface);
}
.block-paper .duty-col {
  background: var(--cream);
}
.duty-team {
  background: linear-gradient(135deg, var(--brand-soft), var(--surface) 75%);
}
.block-paper .duty-team {
  background: linear-gradient(135deg, var(--brand-soft), var(--cream) 75%);
}
.duty h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.duty ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.duty li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  margin-bottom: 8px;
  color: var(--ink-700);
  font-size: 0.95rem;
  line-height: 1.4;
}
.duty li svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
.duty-tio li svg {
  color: var(--sage);
}
.duty-team li svg {
  color: var(--brand-ink);
}
.human-facts {
  grid-template-columns: 1fr;
  margin-top: 18px;
}
.human-more {
  margin: 0;
}
@media (max-width: 900px) {
  .human {
    grid-template-columns: 1fr;
  }
  .human-art .ill {
    max-width: 340px;
  }
}
@media (max-width: 480px) {
  .duty {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------ la carte en photo, dans toutes les langues */

.ml-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ml-card {
  height: 100%;
  padding: 22px clamp(18px, 3vw, 30px) 18px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--ink-100);
  box-shadow: 0 6px 18px rgba(36, 29, 24, 0.05);
}
.block-paper .ml-card {
  background: var(--cream);
}
.ml-art {
  margin: 0 auto 14px;
  max-width: 420px;
}
.ml-art .ill {
  width: 100%;
}
.ba {
  display: flex;
  justify-content: space-between;
  margin: 2px 6% 0 2%;
  color: var(--hand-ink);
  font-size: 1.3rem;
  line-height: 1;
}
.ml-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4em;
}
.ml-card > p {
  color: var(--ink-700);
}
.ml-card .ticks {
  margin-bottom: 4px;
}
.mini-steps {
  counter-reset: ms;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.mini-steps li {
  counter-increment: ms;
  position: relative;
  margin-bottom: 10px;
  padding-left: 40px;
  color: var(--ink-700);
  font-size: 0.97rem;
  line-height: 1.45;
}
.mini-steps li::before {
  content: counter(ms);
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--peach);
  color: var(--brand-ink);
  font-weight: 800;
  font-size: 0.9rem;
}
.mini-steps b {
  color: var(--ink-900);
}
.ml-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin: 26px 0 0;
}
@media (max-width: 900px) {
  .ml-cards {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}


/* Mouvement réduit : rien ne bouge, tout est visible d'emblée. */
@media (prefers-reduced-motion: reduce) {
  .ill *,
  .js .switch-panel:not([hidden]) {
    animation: none !important;
  }
  .js .journey li {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pillar,
  .feat,
  .promise a,
  .fmt-art .ill {
    transition: none;
  }
  .pillar:hover,
  .feat:hover,
  .promise a:hover,
  .fmt:hover .fmt-art .ill {
    transform: none;
  }
}

/* Champ piège du formulaire de contact : invisible pour les humains. */
.form .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
