/* ============================================================================
   SuperVario — site vitrine
   Police Origin (self-hostée), bleu principal, bento à chiffres,
   scroll-reveals fluides façon getdropset.
   ========================================================================== */

/* — Police Open Sans (self-hostée, variable 400–800, latin + latin-ext) — */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-latin.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-latinext.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Roboto Flex (la police de l'app), sous-ensemble CHIFFRES/symboles — pour les
   grands nombres des bento (100 %, 0, 4, ∞…), comme dans l'instrument. */
@font-face {
  font-family: "Roboto Flex";
  src: url("../fonts/RobotoFlexNum.woff2") format("woff2");
  font-weight: 100 1000; font-stretch: 25% 151%; font-style: normal; font-display: swap;
}

:root {
  /* — Thème SOMBRE façon Apple : noir profond, texte clair, cartes charbon — */
  --void:      #000000;   /* noir pur Apple */
  --sky:       #0a0a0b;
  --sky-2:     #141416;
  --surface:   #1d1d1f;   /* cartes charbon Apple */
  --surface-2: #2a2a2d;
  --line:      rgba(255,255,255,.10);
  --line-2:    rgba(255,255,255,.20);

  --ink:       #f5f5f7;   /* texte clair Apple */
  --ink-soft:  #a1a1a6;   /* gris secondaire Apple (dark) */
  --ink-mute:  #6e6e73;

  --accent:      #1f9fd6;   /* bleu de l'app, éclairci pour le fond noir */
  --accent-hi:   #5cc3f0;   /* liens/texte accent, bien lisibles sur noir */
  --accent-deep: #0A5A85;
  --glow:        rgba(40,168,224,.42);

  /* Typo façon Apple : SF Pro sur Mac/iPhone (via -apple-system), repli propre ailleurs. */
  --f-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --f-body:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 28px;

  --maxw: 1160px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;                   /* pas de défilement latéral (mobile surtout) */
  /* dégradé radial : un peu plus clair en haut au centre, plus sombre aux bords → structure */
  /* dégradés colorés légers (bleu en haut-droite, chaud en bas-gauche) + base radiale
     → un fond blanc "vivant", pas plat. */
  /* Noir Apple avec de légers halos bleutés (haut) et froids (bas) — vivant, pas plat. */
  background:
    radial-gradient(900px 640px at 82% 0%, rgba(31,159,214,.14), transparent 60%),
    radial-gradient(820px 700px at 8% 96%, rgba(31,159,214,.07), transparent 62%),
    radial-gradient(1400px 1000px at 50% -8%, #0d0d10 0%, #000000 60%) fixed;
  background-color: #000000;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px; line-height: 1.6;
  color: var(--ink); background: transparent;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-kerning: normal; font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  overflow-x: hidden; position: relative;
}

/* — Fond « courbes de niveau » (massif du Valais, stylisé), discret et
     fondu vers les bords via un masque radial. Fixe derrière tout le site. — */
.topo {
  position: absolute; top: 0; left: 0; width: 100%; z-index: -1; pointer-events: none;
  opacity: .16;                       /* courbes CLAIRES, visibles mais discrètes sur le noir */
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 11%, #000 89%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 11%, #000 89%, transparent);
}
/* SVG inline : traits à ÉPAISSEUR CONSTANTE (non-scaling-stroke) → vrai 1px quel que
   soit le zoom/écran, contrairement à un background scalé qui grossit les traits. */
.topo__svg { display: block; width: 100%; height: 100%; }
.topo__svg path {
  vector-effect: non-scaling-stroke;
  stroke-width: 1px; stroke: #ffffff; fill: none;
}

/* — Avions en papier : 3 vraies traces (vol de démo) réparties sur toute la page — */
.sky { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: hidden; }
.sky__band { position: absolute; left: 0; width: 100%; }
.sky__band svg { width: 100%; height: auto; display: block; overflow: visible; }
.sky .trace { fill: none; stroke: var(--accent-hi); stroke-width: 1.8; opacity: .34; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 5 7; }
.sky .plane { fill: var(--accent-hi); opacity: .7; }
@media (prefers-reduced-motion: reduce) { .sky { display: none; } }

h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.032em; line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.hero__sub, .hero__lead, .section__intro, .lib__reqtext { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Label de chapitre façon Apple : mot coloré, semi-gras, sans capitales ni tiret. */
.eyebrow {
  font-family: var(--f-body); font-weight: 600;
  font-size: 1.05rem; letter-spacing: -.01em; text-transform: none;
  color: var(--accent-hi); display: inline-flex; align-items: center; gap: .5rem;
}

/* — Boutons façon Apple : pilule pleine, bleu, texte semi-gras — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-family: var(--f-body); font-weight: 600; font-size: 1.02rem;
  padding: .72rem 1.4rem; border-radius: 980px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), background .18s ease, border-color .18s ease, opacity .18s ease;
}
.btn:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hi); }
.btn-ghost { background: transparent; color: var(--accent-hi); border-color: transparent; padding-left: .4rem; padding-right: .4rem; }
.btn-ghost:hover { text-decoration: underline; }
/* Lien texte façon Apple « En savoir plus › » */
.btn-ghost::after { content: " ›"; font-weight: 400; }

/* ============================================================================
   NAV
   ========================================================================== */
.nav {
  position: relative; z-index: 50;
  background: transparent;            /* pas sticky, aucune bande : défile avec la page */
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--f-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -0.02em; }
.brandmark { width: 32px; height: 32px; border-radius: 8px; display: block; box-shadow: 0 2px 10px rgba(0,0,0,.45); }
.footer__brand .brandmark { width: 28px; height: 28px; border-radius: 7px; box-shadow: none; }
.soon__top .brandmark { width: 34px; height: 34px; border-radius: 9px; }
.nav__links { display: flex; gap: 1.7rem; margin-left: 1.2rem; }
.nav__links a { color: var(--ink-soft); font-size: .96rem; transition: color .15s; }
.nav__links a:hover { color: var(--ink); }
.nav__spacer { flex: 1; }
.nav__badge {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: var(--accent-hi); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 999px; padding: .32rem .72rem;
}

/* — Sélecteur de langue — */
.langsel { position: relative; }
.langsel__btn {
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500;
  color: var(--ink-soft); background: transparent; border: 1px solid var(--line-2);
  border-radius: var(--r-sm); padding: .42rem .64rem; cursor: pointer; display: flex; align-items: center; gap: .4rem;
}
.langsel__btn:hover { color: var(--ink); }
.langsel__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: .35rem; display: none; box-shadow: 0 18px 40px rgba(0,0,0,.55);
}
.langsel[open] .langsel__menu { display: block; }
.langsel__menu a { display: block; padding: .5rem .7rem; border-radius: var(--r-sm); color: var(--ink-soft); font-size: .92rem; }
.langsel__menu a:hover { background: var(--surface-2); color: var(--ink); }
.langsel__menu a[aria-current="true"] { color: var(--accent-hi); }

/* ============================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.hero__aura {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1000px 620px at 50% -8%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%);
  will-change: transform;
}
/* Hero façon Apple : tout centré, gros titre, produit en grand dessous. */
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__brand { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.5rem; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.1rem, 1.9vw, 1.45rem); color: var(--ink); letter-spacing: -.02em; }
.hero__bicon { width: clamp(30px, 3.4vw, 40px); height: auto; border-radius: 9px; }
.hero__eyebrow { margin-bottom: .9rem; }
.hero__title { font-size: clamp(2.6rem, 7vw, 5.8rem); font-weight: 700; line-height: 1.03; letter-spacing: -0.045em; max-width: 17ch; }
.hero__sub { color: var(--ink-soft); font-size: clamp(1.12rem, 1.6vw, 1.4rem); line-height: 1.45; max-width: 40ch; margin-top: 1.3rem; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .8rem 1.7rem; margin-top: 2rem; }

/* — pills façon getdropset — */
.pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.8rem; }
.pill {
  font-size: .74rem; font-weight: 500; color: #d7dee9; background: #191f29;
  border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: .32rem .72rem;
  display: inline-flex; align-items: center; gap: .4rem;
  box-shadow: 0 6px 18px -14px rgba(6,10,16,.7);
  transition: transform .15s var(--ease), border-color .15s;
}
.pill:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.pill svg { width: 13px; height: 13px; color: #5CC3F0; }

/* — Badges App Store / Google Play — */
.hero__stores { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.8rem; }
.storebtn { display: inline-flex; align-items: center; gap: .65rem; background: rgba(255,255,255,.06); color: var(--ink); border: 1px solid var(--line-2); border-radius: 13px; padding: .58rem 1.05rem; transition: transform .16s var(--ease), background .16s; }
.storebtn:hover { transform: translateY(-2px); background: rgba(255,255,255,.11); }
.storebtn svg { width: 25px; height: 25px; flex: 0 0 auto; }
.storebtn__t { display: flex; flex-direction: column; line-height: 1.05; align-items: flex-start; }
.storebtn__t small { font-size: .62rem; opacity: .6; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.storebtn__t b { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }

/* « * » du titre + bulle informative sous les badges */
.hero__star { color: var(--accent-hi); font-weight: 800; }
sup.hero__star { font-size: .5em; vertical-align: super; margin-left: .08em; }
/* Note étoilée : centrée sous le produit */
.hero__note { max-width: 48ch; margin: 2.2rem auto 0; text-align: center; font-size: 1rem; line-height: 1.5; color: var(--ink-mute); }
.hero__note .hero__star { margin-right: .25rem; font-size: 1.05em; }

/* — Produit du hero : phones + ruban vario, en grand, centré — */
.hero__product { position: relative; width: 100%; margin-top: clamp(2.5rem, 5vw, 4.5rem); display: flex; justify-content: center; }
.hero__stage__row { display: flex; justify-content: center; align-items: stretch; gap: 14px; }
.hero__product .phonestack { align-self: center; order: 1; position: relative; z-index: 2; }
.hero__product .variobar { align-self: stretch; order: 2; position: relative; z-index: 1; margin-left: 20px; }

/* Deux iPhone superposés en éventail (comme deux cartes tenues en main) :
   vue claire devant (dominante, inclinée à gauche), OLED derrière (inclinée à
   droite) qui dépasse un peu. */
.phonestack { position: relative; width: min(430px, 86vw); aspect-ratio: 1179 / 2556; margin: 3% 3%; }
.phonestack .phone { position: absolute; top: 5%; width: 80%; transform-origin: bottom center; }
.phone--back {
  right: 0; z-index: 1;
  transform: rotate(8deg);
  filter: brightness(.9) saturate(.95);
}
.phone--front {
  left: 0; z-index: 2;
  transform: rotate(-6deg);
  box-shadow: 0 44px 90px -26px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.10);
}
/* Barre de vario « thermomètre » : remplissage depuis le 0, couleurs de la
   rampe de l'app (montée verte, descente ambre→rouge), animée. */
.variobar {
  position: relative; width: 66px; flex: 0 0 66px;
  container-type: size;   /* sans cadre ni fond : on garde la graduation + la barre gradient */
}
.variobar__tick { position: absolute; right: 5px; transform: translateY(-50%); display: flex; align-items: center; gap: 5px; color: var(--ink-mute); font-size: .58rem; font-weight: 500; }
.variobar__tick::before { content: ""; width: 9px; height: 1px; background: var(--line-2); }
.variobar__zero { position: absolute; left: 7px; right: 4px; top: 50%; height: 1.5px; transform: translateY(-50%); background: color-mix(in srgb, var(--ink) 55%, transparent); z-index: 3; }
.variobar__climb, .variobar__sink { position: absolute; left: 8px; right: 26px; height: 0; z-index: 2; overflow: hidden; }
/* Dégradés ANCRÉS sur la plage ±10 m/s (comme le layout) : ::before fait toute
   la hauteur de plage, la barre l'écrête à la valeur courante. */
.variobar__climb { bottom: 50%; border-radius: 3px 3px 0 0; box-shadow: 0 0 14px rgba(0,212,7,.4); animation: vclimb 7s ease-in-out infinite; }
.variobar__climb::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100cqh;
  background: linear-gradient(to top, #00D407 0%, #007B01 54%, #B51A00 100%); }
.variobar__sink { top: 50%; border-radius: 0 0 3px 3px; animation: vsink 7s ease-in-out infinite; }
.variobar__sink::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100cqh;
  background: linear-gradient(to bottom, #10B981 0%, #0061FE 7%, #000000 100%); }
.variobar__read { position: absolute; left: 8px; bottom: 8px; color: var(--ink-mute); font-size: .58rem; letter-spacing: .04em; }
@keyframes vclimb { 0%{height:0} 10%{height:28%} 24%{height:18%} 34%{height:0} 55%{height:0} 70%{height:40%} 84%{height:26%} 100%{height:0} }
@keyframes vsink  { 0%{height:0} 34%{height:0} 44%{height:15%} 52%{height:8%} 56%{height:0} 100%{height:0} }
@media (prefers-reduced-motion: reduce) {
  .variobar__climb { height: 26%; animation: none; }
  .variobar__sink { animation: none; }
}

/* — Cadre iPhone 15 Pro (titane), Dynamic Island conservée — */
.phone {
  position: relative; width: min(300px, 74vw);
  border-radius: 15.2% / 7%; padding: 2.7%;
  background: linear-gradient(150deg, #43464c 0%, #202226 30%, #17181c 70%);
  box-shadow: 0 44px 90px -26px rgba(0,0,0,.85), inset 0 0 0 1px rgba(255,255,255,.10), inset 0 1px 0 rgba(255,255,255,.18);
}
/* L'écran a EXACTEMENT le ratio des captures (1179×2556) → l'image s'affiche
   entière, sans rognage des bords (parité 100 %). */
.phone__screen { position: relative; width: 100%; aspect-ratio: 1179 / 2556; border-radius: 13% / 6%; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, var(--sky-2), var(--void) 70%); display: flex; align-items: center; justify-content: center; }
/* Dynamic Island : flotte sous le bord haut (offset en %, échelle avec le mockup),
   pilule pur noir avec un fin liseré pour rester lisible sur les captures sombres. */
.phone__notch { position: absolute; top: 2.6%; left: 50%; transform: translateX(-50%); width: 29%; height: 3.9%; background: #000; border-radius: 999px; z-index: 2; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.phone__ph { text-align: center; color: var(--ink-mute); font-size: .78rem; letter-spacing: .04em; padding: 1rem; }
.phone__ph svg { width: 34px; height: 34px; margin: 0 auto .6rem; opacity: .55; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================================
   SECTIONS
   ========================================================================== */
.section { padding: clamp(5rem, 11vw, 9rem) 0; position: relative; }
/* Plus de bande grise : à la place, une zone radiale un peu plus foncée pour
   structurer, en laissant passer les courbes du fond. */
.section--alt::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(1100px 700px at 78% 12%, rgba(255,255,255,.035), transparent 62%),
              radial-gradient(900px 600px at 10% 92%, rgba(31,159,214,.06), transparent 60%);
}
/* En-tête de section façon Apple : centré, grand titre, sous-titre gris. */
.section__head { max-width: 40ch; margin: 0 auto clamp(3rem, 6vw, 5rem); text-align: center; }
.section__head h2 { font-size: clamp(2.2rem, 5.6vw, 4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; margin-top: .7rem; }
.section__head .eyebrow { justify-content: center; }

/* ============================================================================
   BENTO
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; grid-auto-rows: minmax(250px, auto); grid-auto-flow: row dense; }
.carousel-nav { display: none; }   /* flèches de carrousel : visibles uniquement en mobile (voir @media) */
.cell--tall { grid-row: span 2; }   /* case à illustration, plus haute */
.cell {
  position: relative; overflow: hidden; background: var(--surface);
  border: 1px solid rgba(15,23,42,.06); border-radius: 24px; padding: 2.1rem;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 3px rgba(16,21,28,.035), 0 22px 44px -30px rgba(16,21,28,.18);
}
/* Pas de survol animé : les tuiles bento ne sont pas cliquables (aucune action). */
.cell--lg   { grid-column: span 2; grid-row: span 2; }
.cell--wide { grid-column: span 2; }

.cell__icon {
  width: 44px; height: 44px; border-radius: var(--r-md); margin-bottom: auto;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  color: var(--accent-hi);
}
.cell__icon svg { width: 23px; height: 23px; }
.cell h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.14; letter-spacing: -.028em;
  margin: 1.4rem 0 .55rem; text-wrap: balance; color: var(--ink); }
.cell p { color: var(--ink-soft); font-size: .95rem; line-height: 1.62; text-wrap: pretty;
  max-width: 32ch; }

/* — Image / extrait dans une tuile, aligné sur un côté, fondu vers le texte —
   Le texte occupe un côté, l'extrait l'autre ; le dégradé se fait à la jointure.
   Contrôlé dans strings.php : 'image' (+ 'side' droite/gauche/haut/bas, 'focus'). */
.cell__body { display: flex; flex-direction: column; height: 100%; position: relative; z-index: 1; }
.cell__media { position: absolute; z-index: 0; pointer-events: none; opacity: .88; }
.cell__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center); display: block; }

/* droite (texte à gauche) — défaut. Fondu LONG et doux : l'image se fond dans la carte. */
.cell--media[data-side="right"]  .cell__media { top:0; bottom:0; right:0; left:38%;
  -webkit-mask-image: linear-gradient(to left, #000 18%, transparent 92%); mask-image: linear-gradient(to left, #000 18%, transparent 92%); }
.cell--media[data-side="right"]  .cell__body { max-width: 50%; }

/* gauche (texte à droite) */
.cell--media[data-side="left"]   .cell__media { top:0; bottom:0; left:0; right:38%;
  -webkit-mask-image: linear-gradient(to right, #000 18%, transparent 92%); mask-image: linear-gradient(to right, #000 18%, transparent 92%); }
.cell--media[data-side="left"]   .cell__body { max-width: 50%; margin-left: auto; text-align: right; }
.cell--media[data-side="left"]   .cell__icon { margin-left: auto; }

/* bas (texte en haut, sur toute la largeur) — bande image plus courte pour laisser
   respirer le texte ; l'icône ne pousse plus le texte vers le bas. */
.cell--media[data-side="bottom"] .cell__media { left:0; right:0; bottom:0; top:52%;
  -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 92%); mask-image: linear-gradient(to top, #000 20%, transparent 92%); }
.cell--media[data-side="bottom"] .cell__icon { margin-bottom: 1rem; }
.cell--media[data-side="bottom"] .cell__body { justify-content: flex-start; }

/* haut (texte en bas) */
.cell--media[data-side="top"]    .cell__media { left:0; right:0; top:0; bottom:42%;
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 92%); mask-image: linear-gradient(to bottom, #000 20%, transparent 92%); }
.cell--media[data-side="top"]    .cell__body { margin-top: auto; }
.cell--lg h3 { font-size: clamp(1.9rem, 2.6vw, 2.4rem); line-height: 1.06; letter-spacing: -.035em; }
.cell--lg p { font-size: 1.05rem; line-height: 1.55; max-width: 30ch; }

/* — cellule chiffre — */
.cell--stat { justify-content: center; }
/* Box fusionnée (0 compte·pub·traceur + 4 langues) : deux stats côte à côte. */
.cell--stat2 { flex-direction: row; align-items: center; }
.cell--stat2 .cell__half { flex: 1; min-width: 0; }
.cell--stat2 .cell__half + .cell__half { padding-left: clamp(1.2rem, 3.5vw, 2.4rem); margin-left: clamp(1.2rem, 3.5vw, 2.4rem); border-left: 1px solid var(--line-2); }
.cell__n { font-family: "Roboto Flex", var(--f-display); font-weight: 800; font-stretch: 100%; font-size: clamp(2.8rem, 5.4vw, 4.1rem); line-height: 1; color: var(--accent-hi); }
.cell__nlabel { color: var(--ink-soft); margin-top: .5rem; font-size: .98rem; }

/* — grand chiffre dans la cellule showcase — */
.cell__hero-n { font-family: "Roboto Flex", var(--f-display); font-weight: 800; font-stretch: 100%; font-size: clamp(3.2rem, 6.4vw, 5rem); line-height: 1; color: var(--accent-hi); margin-bottom: .2rem; }

/* — mini-maquette d'éditeur décorative (cellule showcase) — */
.editorviz { position: absolute; right: -10px; bottom: -10px; width: 46%; opacity: .5; pointer-events: none; }
.editorviz i { position: absolute; border: 1px solid var(--line-2); border-radius: 8px; background: color-mix(in srgb, var(--accent) 10%, transparent); }
.editorviz i:nth-child(1){ inset: 0 40% 55% 0; }
.editorviz i:nth-child(2){ inset: 0 0 55% 45%; }
.editorviz i:nth-child(3){ inset: 50% 0 0 0; background: color-mix(in srgb, var(--accent) 18%, transparent); }

/* ============================================================================
   SECTIONS « EN DÉTAIL » (alternées image / texte, captures réelles)
   ========================================================================== */
.rows { display: flex; flex-direction: column; gap: 0; }
/* Fonctions rapprochées : les mockups (côtés alternés) peuvent se chevaucher
   verticalement — le bas d'un mockup de gauche descend sous le haut du suivant. */
.row + .row { margin-top: clamp(-11rem, -9vw, -5rem); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.row:nth-child(even) .row__media { order: 2; }
.row__media { display: flex; justify-content: center; }
.row__media .phone { width: min(270px, 68vw); }
/* Éditeur : les deux mockups en éventail (canvas devant, catalogue derrière) */
.phonestack--row { width: min(330px, 92%); margin: 4% auto; }
/* Zone atteignable : mockups miroités (front à droite, back à gauche) et un peu
   plus écartés — le z reste inchangé (front au-dessus). Rotations aussi miroitées. */
.phonestack--swap .phone--back  { left: -7%;  right: auto; transform: rotate(-8deg); }
.phonestack--swap .phone--front { right: -7%; left: auto;  transform: rotate(6deg); }
.row__icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  color: var(--accent-hi);
}
.row__icon svg { width: 23px; height: 23px; }
.row h3 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 800; line-height: 1.14; margin: 1.15rem 0 .8rem; }
.row p { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.62; max-width: 46ch; }
/* Trait 1px HORIZONTAL, au milieu vertical du titre, qui pointe vers les mockups
   et se termine à peine dessus, en fondu. Sens selon le côté du mockup. */
.row h3 { position: relative; }
/* La colonne texte passe AU-DESSUS du mockup pour que le trait s'y pose. */
.row__media { position: relative; z-index: 0; }
.row__copy { position: relative; z-index: 3; }
/* Base = textes à GAUCHE (mockup à droite) : le trait part de la position naturelle
   du ::after, juste après le DERNIER MOT du titre, puis file vers la droite. */
.row h3::after {
  content: ""; position: absolute; top: 50%; transform: translateY(-50%);
  height: 1px; width: clamp(150px, 16vw, 280px); z-index: 5; pointer-events: none;
  margin-left: 10px;
  background: linear-gradient(to right, rgba(245,245,247,.7) 0%, rgba(245,245,247,.7) 30%, rgba(245,245,247,0) 100%);
}
/* Textes à DROITE (mockup à gauche) : le trait part du bord gauche du titre, vers la gauche. */
.row:nth-child(odd) h3::after {
  right: 100%; margin-left: 0; margin-right: 10px;
  background: linear-gradient(to left, rgba(245,245,247,.7) 0%, rgba(245,245,247,.7) 30%, rgba(245,245,247,0) 100%);
}
@media (max-width: 980px) { .row h3::after { display: none; } }

/* — Galerie / aperçu — */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: end; }
.gallery__item { text-align: center; }
.gallery .phone { width: 100%; margin: 0 auto; }
.gallery__cap { margin-top: 1rem; font-size: .82rem; letter-spacing: .05em; color: var(--ink-mute); text-transform: uppercase; font-weight: 500; }

/* — FAQ — */
.faq { max-width: 780px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: var(--ink); font-family: var(--f-display); font-weight: 600; font-size: 1.16rem; padding: 1.35rem 2.5rem 1.35rem 0; position: relative; }
.faq__q::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); color: var(--accent-hi); font-size: 1.4rem; }
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a { color: var(--ink-soft); padding: 0 2.5rem 1.5rem 0; font-size: 1.02rem; line-height: 1.62; max-width: 62ch; }

/* ============================================================================
   BIBLIOTHÈQUE D'INSTRUMENTS
   ========================================================================== */
.section__intro { color: var(--ink-soft); font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.45; margin: .9rem auto 0; max-width: 34ch; text-align: center; }

/* ============================================================================
   HIGHLIGHTS — carrousel façon Apple (tuiles de largeurs variées + légendes + flèches)
   ========================================================================== */
.section--hl { overflow: hidden; }
.hlhead { margin-bottom: 2.4rem; }
.hlhead .eyebrow { display: inline-flex; }
.hlhead h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; margin-top: .4rem; }
.hlrail {
  display: flex; gap: 22px; overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  padding-inline: max(24px, calc((100vw - 1160px) / 2));
  scroll-padding-inline: max(24px, calc((100vw - 1160px) / 2));
  scrollbar-width: none;
}
.hlrail::-webkit-scrollbar { display: none; }
.hl { flex: 0 0 auto; scroll-snap-align: start; }
.hl__tile { border-radius: 26px; overflow: hidden; background: #050506; border: 1px solid rgba(255,255,255,.06); }
.hl__tile img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center); display: block; }
.hl--sq   .hl__tile, .hl--sq   .hl__cap { width: clamp(223px, 25vw, 300px); }
.hl--wide .hl__tile, .hl--wide .hl__cap { width: clamp(385px, 43vw, 508px); }
.hl__tile { height: clamp(308px, 35vw, 431px); }
.hl__cap { margin-top: 1.4rem; font-size: 1.05rem; line-height: 1.5; color: var(--ink-soft); text-wrap: pretty; }
.hl__cap b { color: var(--ink); font-weight: 600; }
/* Flèches gauche/droite, en bas à droite (desktop + mobile) */
.hlrail + .carousel-nav { display: flex; justify-content: flex-end; gap: .6rem; margin: 1.8rem max(24px, calc((100vw - 1160px)/2)) 0; padding: 0; }
.hlrail + .carousel-nav .carousel-nav__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.06); color: var(--ink); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s, opacity .15s;
}
.hlrail + .carousel-nav .carousel-nav__btn:hover { background: rgba(255,255,255,.13); }
.hlrail + .carousel-nav .carousel-nav__btn:disabled { opacity: .3; }
.hlrail + .carousel-nav .carousel-nav__btn svg { width: 20px; height: 20px; }

/* ============================================================================
   STATEMENT + STATS (chapitre façon Apple)
   ========================================================================== */
.statblock__head { max-width: 42ch; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.statblock__head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin: .5rem 0 1.1rem; }
.statblock__head p { color: var(--ink-soft); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; max-width: 46ch; }
.statgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2.4rem, 5vw, 4rem) clamp(2rem, 8vw, 7rem); max-width: 760px; }
.statgrid__n { font-family: "Roboto Flex", var(--f-display); font-weight: 700; font-stretch: 100%; font-size: clamp(3rem, 5.5vw, 4.6rem); line-height: 1; color: var(--accent-hi); letter-spacing: -.02em; }
.statgrid__l { color: var(--ink-soft); font-size: 1.08rem; margin-top: .5rem; max-width: 22ch; }

/* ============================================================================
   BLURBS À ICÔNES (3 colonnes façon Apple)
   ========================================================================== */
.iconblurbs__h { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 20ch; }
.iconcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.iconcol__ic { display: inline-flex; color: var(--accent-hi); margin-bottom: 1.2rem; }
.iconcol__ic svg { width: 34px; height: 34px; }
.iconcol__txt { font-size: 1.08rem; line-height: 1.5; color: var(--ink-soft); text-wrap: pretty; }
.iconcol__txt b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .iconcols { grid-template-columns: 1fr; gap: 2.2rem; } }
@media (max-width: 560px) { .statgrid { gap: 2rem 1.5rem; } }

.lib__search { position: relative; max-width: 460px; margin: 0 0 2.4rem; }
.lib__loupe { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-mute); pointer-events: none; }
#lib-search { width: 100%; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); font-family: inherit; font-size: 1rem; padding: .9rem 1.1rem .9rem 3rem; }
#lib-search::placeholder { color: var(--ink-mute); }
#lib-search:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.lib__group { margin-bottom: 2.2rem; }
.lib__glabel { font-family: var(--f-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hi); font-weight: 700; margin-bottom: 1rem; }
/* Bento de la bibliothèque : cellules plus compactes que le bento du haut,
   les éléments riches (feat) prennent 2 colonnes + une capture d'exemple. */
/* Bibliothèque en MASONRY (multi-colonnes) : les cartes se tassent, aucune ne s'étire
   à la hauteur d'une voisine → autant d'infos, moins de place. Nb de colonnes auto. */
.bento--lib { display: block; columns: 15.5rem; column-gap: 12px; grid-template-columns: none; grid-auto-rows: initial; grid-auto-flow: unset; }
/* Boxes en DARK MODE (comme les cartes de la visite de l'app) — compactes. */
.bento--lib .cell { padding: 1.1rem 1.15rem; margin: 0 0 12px; width: 100%; break-inside: avoid;
  background: #191f29; border-color: rgba(255,255,255,.07);
  box-shadow: 0 1px 2px rgba(6,10,16,.25), 0 18px 40px -24px rgba(6,10,16,.55); }
/* En masonry, les cartes illustrées passent l'image EN HAUT (largeur de colonne). */
.bento--lib .cell--media { min-height: 300px; }
.bento--lib .cell--media .cell__media { top: 0; left: 0; right: 0; bottom: auto; height: 190px;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.bento--lib .cell--media .cell__body { max-width: none; margin: 152px 0 0; text-align: left; }
.bento--lib .cell--media .cell__icon { margin-left: 0; }
.bento--lib .cell__icon { margin-bottom: .55rem; width: 34px; height: 34px; border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 24%, transparent); border-color: color-mix(in srgb, var(--accent) 42%, transparent); color: #9dbcff; }
.bento--lib .cell__icon svg { width: 19px; height: 19px; }
/* Mini-aperçu blanc de l'élément, en haut à droite de la carte */
.lib__preview { position: absolute; top: 1rem; right: 1rem; width: 74px; color: #fff; opacity: .95; pointer-events: none; }
.lib__prev { width: 100%; height: auto; display: block; }
.bento--lib h3 { font-size: .98rem; font-weight: 700; margin: 0 0 .24rem; color: #fff; }
.bento--lib .cell p { font-size: .84rem; line-height: 1.42; color: #b7c0cf; }
.bento--lib .cell--tall { grid-row: span 2; }
/* variantes / sous-éléments en chips */
.lcell__vars { margin-top: .6rem; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.lcell__vlabel { font-size: .63rem; letter-spacing: .09em; text-transform: uppercase; color: #7f8ba0; font-weight: 700; margin-right: .1rem; }
.lchip { font-size: .71rem; color: #cdd6e4; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.11); border-radius: 999px; padding: .16rem .5rem; }
.lcell__vars--sub .lcell__vlabel { color: #6ee7a8; }        /* sous-éléments : accent distinct */
.lchip--sub { border-color: rgba(110,231,168,.3); color: #dbeee2; }

/* champ de suggestion : textarea auto-extensible, bouton aligné en haut */
.lib__req .notify { align-items: flex-start; }
.notify textarea { flex: 1; min-width: 220px; background: color-mix(in srgb, var(--void) 55%, transparent); border: 1px solid var(--line-2); border-radius: var(--r-md); color: var(--ink); padding: .84rem 1rem; font-family: var(--f-body); font-size: 1rem; line-height: 1.45; resize: none; overflow: hidden; min-height: 3.1rem; }
.notify textarea::placeholder { color: var(--ink-mute); }
.notify textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lib__none { color: var(--ink-soft); text-align: center; padding: 2rem; }
.lib__group[hidden], .lib__item[hidden] { display: none; }

.lib__req { margin-top: 2.6rem; text-align: center; border-top: 1px solid var(--line); padding-top: 2.6rem; }
.lib__reqtext { color: var(--ink-soft); font-size: 1.05rem; max-width: 54ch; margin: 0 auto 1.3rem; }
.lib__req .notify { margin-top: 0; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ============================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding: 3rem 0; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.footer__brand { display: flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-weight: 700; }
.footer__brand svg { width: 24px; height: 24px; }
.footer p { color: var(--ink-mute); font-size: .88rem; }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { color: var(--ink-soft); font-size: .92rem; }
.footer__links a:hover { color: var(--ink); }

/* ============================================================================
   PAGE « BIENTÔT »
   ========================================================================== */
.soon { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.soon::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1000px 560px at 70% -10%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%),
    radial-gradient(880px 620px at 12% 6%, color-mix(in srgb, var(--accent-deep) 34%, transparent), transparent 58%),
    linear-gradient(180deg, var(--sky) 0%, var(--void) 72%);
}
.soon__top { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; }
.soon__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 2rem 0 4rem; max-width: 640px; }
.soon__status { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--accent-hi); display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.6rem; }
.soon__status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .soon__status .dot { animation: none; } }
.soon h1 { font-size: clamp(3.2rem, 9vw, 6.2rem); font-weight: 800; letter-spacing: -.03em; }
.soon__tagline { font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: var(--ink); margin-top: 1.2rem; max-width: 22ch; font-family: var(--f-display); font-weight: 500; }
.soon__lead { color: var(--ink-soft); margin-top: 1.2rem; font-size: 1.1rem; }

.notify { display: flex; gap: .6rem; margin-top: 2.4rem; max-width: 440px; flex-wrap: wrap; }
/* Section CTA « prévenez-moi » : le bloc formulaire centré sous la phrase (sinon
   il reste calé à gauche du wrap centré). */
#notify .notify { margin-left: auto; margin-right: auto; }
#notify .notify label { flex-basis: 100%; text-align: center; }
.notify label { flex-basis: 100%; font-size: .82rem; color: var(--ink-mute); letter-spacing: .05em; text-transform: uppercase; font-weight: 500; }
.notify input { flex: 1; min-width: 200px; background: color-mix(in srgb, var(--void) 55%, transparent); border: 1px solid var(--line-2); border-radius: var(--r-md); color: var(--ink); padding: .84rem 1rem; font-family: var(--f-body); font-size: 1rem; }
.notify input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.notify__msg { flex-basis: 100%; font-size: .9rem; margin-top: .4rem; min-height: 1.2em; }
.notify__msg.ok { color: var(--accent-hi); }
.notify__msg.err { color: #f8a86b; }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .hero__inner > * { min-width: 0; max-width: 100%; }
  .hero__title { font-size: clamp(2.4rem, 9vw, 4rem); max-width: 20ch; }
  .hero__product { margin-top: 2.4rem; max-width: 100%; overflow: hidden; }
  .hero__product .variobar { margin-left: 8px; }
  .phonestack { margin-left: auto; margin-right: auto; width: min(340px, 74vw); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(210px, auto); }
  .cell--lg { grid-column: span 2; grid-row: span 2; }
  .cell--wide, .cell--tall { grid-column: span 2; }
  .cell--tall { grid-row: auto; }
  .gallery { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .nav__links { display: none; }
  .row { grid-template-columns: 1fr; gap: 1.5rem; }
  .row:nth-child(even) .row__media { order: 0; }
  .row__copy { text-align: center; }
  .row p { margin-left: auto; margin-right: auto; }
  .row__media .phone { width: min(240px, 62vw); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  /* Hero : largeur bornée au viewport → plus aucun débordement (titre/eyebrow/pills) */
  .hero__title { font-size: clamp(1.55rem, 6.6vw, 2.3rem); max-width: 100%; }
  /* balance déborde sur écran étroit (Chrome garde une ligne trop longue) → wrap gourmand */
  .hero__title, .hero__sub, .hero__lead, .section__head h2 { text-wrap: wrap; overflow-wrap: break-word; }
  .section__head h2 { font-size: clamp(1.55rem, 6.4vw, 2.2rem); }
  .eyebrow { font-size: .64rem; letter-spacing: .12em; }
  .pill { font-size: .68rem; padding: .28rem .58rem; }
  .pill svg { width: 12px; height: 12px; }
  .section__head h2 { font-size: clamp(1.7rem, 7.2vw, 2.5rem); }

  /* ── CARROUSELS horizontaux (bento + fonctions) façon Apple ─────────────
     Cartes pleine taille qu'on fait défiler au doigt (snap), débordant jusqu'aux
     bords de l'écran. Flèches gauche/droite ajoutées en JS. */
  .bento, .rows {
    display: flex; flex-direction: row; gap: 14px;
    overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory;
    padding: 6px 24px 1rem; margin: 0 -24px; scroll-padding: 0 24px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    grid-template-columns: none; grid-auto-rows: initial; grid-auto-flow: unset;
  }
  .bento::-webkit-scrollbar, .rows::-webkit-scrollbar { display: none; }
  .bento > .cell, .rows > .row {
    flex: 0 0 80%; scroll-snap-align: center; grid-column: auto; grid-row: auto;
  }
  /* Bento : carte capture EN HAUT, texte + icône EN BAS */
  .bento > .cell { min-height: 448px; padding: 1.5rem; }
  .bento > .cell--stat { justify-content: center; }
  .bento > .cell--media .cell__media {
    top: 0; bottom: 47%; left: 0; right: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent);
            mask-image: linear-gradient(to bottom, #000 74%, transparent);
  }
  .bento > .cell--media .cell__body { max-width: none; text-align: left; margin: auto 0 0; height: auto; }
  .bento > .cell--media .cell__icon { margin: 0 auto .7rem 0; }
  /* carte avec grand nombre (100 %) : image plus courte pour laisser la place au texte */
  .bento > .cell--media:has(.cell__hero-n) { min-height: 500px; }
  .bento > .cell--media:has(.cell__hero-n) .cell__media { bottom: 56%; }

  /* Fonctions (« En détail ») en cartes : mockup en haut, texte en bas */
  .rows > .row { display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: .4rem 0; }
  .rows > .row .row__media { order: 0; }
  .rows > .row .row__copy { text-align: center; }
  .rows .row__media .phone { width: min(210px, 58vw); }
  .rows .phonestack--row { width: min(240px, 66vw); }

  /* Flèches de navigation des carrousels */
  .carousel-nav { display: flex; justify-content: flex-end; gap: .55rem; margin-top: .2rem; padding: 0 4px; }
  .carousel-nav__btn {
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2);
    background: var(--surface); color: var(--ink); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px -8px rgba(16,21,28,.4); transition: opacity .15s, transform .12s; cursor: pointer;
  }
  .carousel-nav__btn:active { transform: scale(.92); }
  .carousel-nav__btn:disabled { opacity: .3; }
  .carousel-nav__btn svg { width: 20px; height: 20px; }

  .lib__items { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lib__item { padding: 1rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================================
   SCROLL REVEALS (façon getdropset : fondu + montée, en cascade)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }
