/* Site public Vesti Rehab — habillage de la télécommande, d'après la planche
   « Vesti Rehab — site internet » validée le 25/10/2026. Couleurs : Store/dossier-site-web/03.
   Les pages sont fabriquées par Tools/site/build-site.mjs ; ce fichier est écrit à la main.
   Aucune animation, aucune ressource externe. */

@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-latin.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Martian Mono';
  src: url('../fonts/MartianMono-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #F8FCFD;
  --surface: #FFFFFF;
  --ink: #173D46;
  --muted: #4D6870;
  --teal: #006E7E;
  --teal-hover: #00596A;
  --line: #D5EDF2;
  --soft: #E9F9FC;
  --top: #33E4DB;
  --bottom: #00BBD3;
  --dev-line: #9EDDE7;
  --field-line: #6C949E;
  --dark: #173D46;
  --error: #A3262A;
  --gradient: linear-gradient(180deg, var(--top) 0%, var(--bottom) 100%);
  --gradient-h: linear-gradient(90deg, var(--top), var(--bottom));
  --shadow: 0 6px 18px rgba(0, 110, 126, 0.07);
  --float: 0 8px 24px rgba(22, 52, 64, 0.18);
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --gutter: 24px;
  --max: 1120px;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
}

/* Les mots longs de l'allemand se coupent proprement. */
:lang(de) { hyphens: auto; -webkit-hyphens: auto; }

img, svg { display: block; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul.plain, ol.plain { padding: 0; list-style: none; }

a { color: var(--teal); }
a:hover { color: var(--teal-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.top a:focus-visible, .top summary:focus-visible, .promo a:focus-visible {
  outline-color: #FFFFFF;
}

code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.85em;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--teal);
  font-weight: 800;
}
.skip:focus { top: 12px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--gutter) 32px;
}
.narrow { max-width: 860px; }

/* ---------- Bandeau du haut ---------- */

.top { background: var(--gradient); color: #FFFFFF; }

.top-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 78px;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-right: auto;
  color: #FFFFFF;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand:hover { color: #FFFFFF; }
.brand img { width: 42px; height: auto; }

.app-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 6px 22px 6px 8px;
  border-radius: 16px;
  background: var(--surface);
  color: var(--teal);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--float);
}
.app-button .chev { display: none; }
.app-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--soft);
}
.app-icon img { width: 34px; height: 34px; }

.menu > summary {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  list-style: none;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary svg { width: 26px; height: 26px; }
.menu[open] > summary { background: rgba(255, 255, 255, 0.32); }

.menu-panel {
  position: absolute;
  top: 76px;
  right: var(--gutter);
  z-index: 10;
  width: 360px;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--float);
}
.menu-panel::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--gradient-h);
}
.menu-pages { padding: 16px 20px 8px; }
.menu-pages .eyebrow { margin-bottom: 4px; }
.menu-pages a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.menu-pages a:hover { color: var(--teal); }
.menu-pages a[aria-current='page'] { color: var(--teal); }
.menu-pages a > img, .menu-pages a > svg { flex: none; width: 24px; height: 24px; }
.menu-pages a > span:first-of-type { flex: 1; }
.menu-langs { padding: 12px 20px 20px; border-top: 1px solid var(--line); }
.menu-langs .eyebrow { margin-bottom: 12px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.langs a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.langs a[aria-current='true'] { background: var(--gradient); color: #FFFFFF; }

/* ---------- Petits éléments communs ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}
.wrap > .eyebrow { margin-bottom: 14px; }

.chev {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--teal);
  font-weight: 800;
  line-height: 1;
}

.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gradient);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.muted { color: var(--muted); }

.card {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--gradient-h);
}
.card > .eyebrow { margin-bottom: 10px; }

.soon-card {
  padding: 28px 24px;
  border: 2px dashed var(--dev-line);
  border-radius: 16px;
  background: var(--soft);
  color: var(--teal);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: var(--gradient);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { color: #FFFFFF; filter: brightness(0.96); }
.btn svg { flex: none; width: 22px; height: 22px; }
.btn-big { min-height: 60px; padding: 0 28px; border-radius: 16px; font-size: 19px; }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--teal);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--float);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--teal);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}
.link-more img { width: 24px; height: 24px; }

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--teal);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

/* ---------- Titres de page ---------- */

.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.hero h1, .page-title {
  color: var(--teal);
  font-size: 46px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}
.lead { max-width: 36em; color: var(--ink); font-size: 20px; line-height: 1.5; font-weight: 600; }

.section-title {
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}

/* ---------- Accueil ---------- */

.tiles {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 28px;
}
.tiles ul { display: flex; flex-wrap: wrap; gap: 16px; padding: 0; list-style: none; }
.tiles li { flex: 1 1 240px; min-width: 0; }
.tile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.tile:hover { color: var(--teal); }
.tile-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--soft);
}
.tile-icon img, .tile-icon svg { width: 30px; height: 30px; }
.tile-label { flex: 1; font-size: 19px; font-weight: 700; }
.tile .chev { width: 30px; height: 30px; }

.feature {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.feature-image {
  flex: 1 1 520px;
  min-width: 0;
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, var(--soft) 0%, #FFFFFF 85%);
}
.feature-image img, .post-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-body {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 28px 32px;
}
.feature-body h3 { font-size: 28px; line-height: 1.25; font-weight: 700; }
.date { color: var(--muted); font-size: 14px; font-weight: 700; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--teal); font-size: 16px; font-weight: 800; }

.posts, .cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; padding: 0; list-style: none; }
.posts li, .cards-grid li { min-width: 0; }
.post {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.post-image { aspect-ratio: 16 / 9; background: linear-gradient(180deg, var(--soft) 0%, #FFFFFF 85%); }
.post-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.post-body h3 { font-size: 19px; line-height: 1.3; font-weight: 700; }

.promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: 'titre art' 'exercices art' 'bouton art';
  align-items: center;
  gap: 22px 48px;
  padding: 40px;
  border-radius: 22px;
  background: var(--gradient);
  color: #FFFFFF;
}
.promo h2 { grid-area: titre; align-self: end; color: #FFFFFF; font-size: 34px; line-height: 1.15; font-weight: 800; }
.promo-ex { grid-area: exercices; display: flex; flex-wrap: nowrap; gap: 10px; padding: 0; list-style: none; }
.promo-ex li { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 72px; }
.promo-ex-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--surface);
}
.promo-ex-icon img { width: 40px; height: 40px; }
.promo-ex li > span:last-child { color: #FFFFFF; font-size: 12px; line-height: 1.3; font-weight: 700; text-align: center; }
.promo .btn-white { grid-area: bouton; justify-self: start; align-self: start; }

.promo-art {
  grid-area: art;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
}
.phone {
  flex: none;
  width: 150px;
  height: 296px;
  padding: 8px;
  border-radius: 30px;
  background: var(--dark);
  box-shadow: var(--float);
}
.phone-screen { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--bg); }
.phone-top { flex: none; height: 34px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: var(--gradient); color: #FFFFFF; font-size: 10px; font-weight: 700; }
.phone-top img { width: 18px; height: auto; }
.phone-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 8px; }
.phone-grid > span { display: grid; place-items: center; height: 56px; border-radius: 10px; background: var(--surface); }
.phone-grid > span img { width: 32px; height: 32px; }
.phone-grid > .phone-dev { display: flex; flex-direction: column; gap: 4px; background: none; }
.phone-dev > span { flex: 1; display: grid; place-items: center; border-radius: 8px; border: 1px dashed var(--dev-line); background: var(--soft); }
.phone-dev img { width: 17px; height: 17px; }
.phone-bar { margin: auto 8px 10px; height: 24px; border-radius: 8px; background: var(--gradient); }
.wifi-link {
  position: relative;
  flex: 1 1 60px;
  max-width: 120px;
  min-width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wifi-link::before {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  border-top: 3px dotted #FFFFFF;
}
.wifi-link > span { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--surface); }
.wifi-link img { width: 28px; height: 28px; }
.headset {
  flex: none;
  display: grid;
  place-items: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--float);
}
.headset img { width: 150px; height: 150px; }

/* ---------- Page Application ---------- */

.app-steps { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding: 0; list-style: none; text-align: left; }
.app-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px 10px 10px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 17px;
}
.app-steps strong { font-weight: 800; }
.round-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--soft);
}
.round-icon img { width: 30px; height: 30px; }
.hero .btn-big { margin-top: 6px; }
.stores-label { color: var(--muted); font-size: 15px; font-weight: 700; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 6px 20px 6px 14px;
  border-radius: 12px;
  background: var(--dark);
  color: #FFFFFF;
  text-decoration: none;
}
.store:hover { color: #FFFFFF; }
.store svg, .store img { flex: none; width: 26px; height: 26px; }
.store-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-small { font-size: 12px; font-weight: 600; }
.store-name { font-size: 19px; font-weight: 800; }
.store-soon {
  border: 2px dashed var(--dev-line);
  background: var(--soft);
  color: var(--teal);
}
.store-soon .store-small { font-weight: 700; }
.store-soon .store-name { font-size: 18px; }

.illustration {
  max-width: 900px;
  margin: 0 auto;
  padding: 8px var(--gutter) 40px;
}
.illustration > div {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--soft) 0%, #FFFFFF 75%);
  box-shadow: var(--shadow);
}
.illustration .ill-casque { width: 40%; height: auto; }
.illustration .ill-tel { width: 18%; height: auto; }
.illustration .photo { width: 100%; height: 100%; object-fit: cover; }

.simple { padding: 22px 24px 12px; }
.simple ul { display: flex; flex-wrap: wrap; gap: 0 32px; padding: 0; list-style: none; }
.simple li { flex: 1 1 460px; min-width: 0; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 6px 0; font-size: 17px; }
.simple .round-icon { width: 44px; height: 44px; }
.simple .round-icon img { width: 26px; height: 26px; }

.ex-grid { display: flex; flex-wrap: wrap; gap: 16px; padding: 0; list-style: none; }
.ex-grid > li { flex: 1 1 300px; min-width: 0; }
.ex-tile {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 12px;
  border-radius: 16px;
  background: var(--surface);
  text-align: center;
}
.ex-tile img { width: 96px; height: 96px; }
.ex-tile strong, .ex-dev strong { color: var(--ink); font-size: 17px; font-weight: 600; }
.ex-devs { display: flex; flex-direction: column; gap: 12px; }
.ex-dev {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 89px;
  padding: 24px 16px 14px;
  border: 1px dashed var(--dev-line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--soft) 0%, #FFFFFF 70%);
}
.ex-dev img { flex: none; width: 48px; height: 48px; }
.ex-dev .pill { position: absolute; top: 8px; right: 10px; padding: 2px 9px; font-size: 12px; }
.center { margin-top: 18px; text-align: center; }

.download-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-bottom: 32px;
}
.download-head .big-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--soft);
}
.download-head .big-icon img { width: 54px; height: 54px; }
.download-head > div { flex: 1 1 260px; min-width: 0; }
.download-head h3 { font-size: 24px; line-height: 1.25; font-weight: 800; }
.download-head p { margin-top: 4px; color: var(--muted); font-size: 16px; }

.sub-title { color: var(--teal); font-size: 26px; line-height: 1.25; font-weight: 700; text-align: center; }
.sub-lead { margin: 6px 0 18px; color: var(--muted); font-size: 16px; text-align: center; }

.remote-cards { display: flex; flex-wrap: wrap; align-items: stretch; gap: 20px; }
.remote-cards > .card { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; }
.remote-cards > .card-wide { flex-basis: 100%; }
.remote-cards h3 { font-size: 22px; line-height: 1.25; font-weight: 700; }
.remote-cards p { color: var(--muted); font-size: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head img, .remote-cards .card > img { width: 56px; height: 56px; }
.remote-cards .btn { margin-top: auto; }
.file-name { color: var(--muted); font-size: 14px; text-align: center; overflow-wrap: anywhere; }
.remote-cards .stores { justify-content: flex-start; margin-top: auto; }
.remote-cards .stores > * { flex: 1 1 180px; justify-content: center; }

.steps { padding: 16px 18px; border-radius: 14px; background: var(--soft); }
.steps ol { margin-top: 10px; padding-left: 22px; font-size: 16px; }
.steps li + li { margin-top: 6px; }

.ip-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.ip-form label { flex: 1 1 100%; font-size: 17px; font-weight: 700; }
.ip-form input {
  flex: 1 1 240px;
  min-width: 0;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid var(--field-line);
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 500;
}
.ip-form input::placeholder { color: var(--muted); opacity: 1; }
.ip-form input[aria-invalid='true'] { border-color: var(--error); }
.ip-form .btn { flex: 0 0 auto; margin-top: 0; }
.ip-error, .ip-status { flex: 1 1 100%; font-size: 16px; }
.ip-error { color: var(--error); font-weight: 700; }
.ip-status { color: var(--teal); font-weight: 700; }

.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--soft);
  font-size: 16px;
  line-height: 1.55;
}
.notice img { flex: none; width: 26px; height: 26px; }

/* ---------- Exercices, ressources, touches ---------- */

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; padding: 0; list-style: none; }
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.family + .family { margin-top: 32px; }
.family > .eyebrow { margin-bottom: 14px; }
.tag { color: var(--teal); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.fiche-head { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 0 28px; text-align: center; }
.fiche-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.fiche-image { flex: 1 1 420px; min-width: 0; overflow: hidden; border-radius: 18px; background: linear-gradient(180deg, var(--soft) 0%, #FFFFFF 85%); box-shadow: var(--shadow); }
.fiche-image img { width: 100%; height: auto; }
.fiche-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.fiche-body .card > .eyebrow { margin-bottom: 10px; }
.fiche-body .card p { font-size: 17px; }
.numbered { display: flex; flex-direction: column; gap: 10px; padding: 0; list-style: none; counter-reset: etape; font-size: 17px; }
.numbered li { display: flex; gap: 12px; align-items: flex-start; counter-increment: etape; }
.numbered li::before {
  content: counter(etape);
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
}
.foot-note { margin-top: 28px; color: var(--muted); font-size: 15px; text-align: center; }

.res-section + .res-section { margin-top: 24px; }
.res-section { padding: 22px 24px; }
.res-section > .eyebrow { margin-bottom: 8px; }
.res-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.res-row:first-of-type { border-top: 0; }
.res-row:hover { color: var(--teal); }
.res-kind {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}
.res-kind img { width: 28px; height: 28px; }
.res-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.res-text strong { font-size: 17px; font-weight: 700; }
.res-text span { color: var(--muted); font-size: 14px; }
.res-go {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: #FFFFFF;
  font-weight: 800;
}
.res-go svg { width: 20px; height: 20px; }
.res-go.chev { width: 40px; height: 40px; background: var(--soft); color: var(--teal); }

.title-row { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 56px 0 32px; text-align: center; }
.btn-soft {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--teal);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.btn-soft svg { width: 22px; height: 22px; }
.sheets { display: flex; flex-wrap: wrap; gap: 20px; padding: 0; list-style: none; }
.sheets > li {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.sheets .preview { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.sheet-name { display: flex; align-items: center; gap: 10px; }
.sheet-name img { width: 36px; height: 36px; }
.sheet-name strong { font-size: 19px; font-weight: 700; }

/* ---------- Aide ---------- */

.faq-group + .faq-group { margin-top: 24px; }
.faq-group { padding: 22px 24px 8px; }
.faq { border-top: 1px solid var(--line); }
.faq-group > .eyebrow + .faq { border-top: 0; }
.faq > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 10px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--teal);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}
.faq[open] > summary::after { content: '−'; }
.faq > p { padding: 0 0 16px; color: var(--muted); font-size: 16px; }

/* ---------- Contact, confidentialité, article ---------- */

.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.contact-card .btn svg { width: 22px; height: 22px; }
.mentions { margin-top: 24px; }
.mentions dl > div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 12px 0; border-top: 1px solid var(--line); }
.mentions dl > div:first-child { border-top: 0; }
.mentions dt { flex: 0 0 260px; color: var(--muted); font-size: 15px; font-weight: 700; }
.mentions dd { flex: 1 1 260px; min-width: 0; font-size: 16px; }
.to-fill { color: var(--error); font-weight: 800; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 32px 0 10px; color: var(--teal); font-size: 24px; line-height: 1.3; font-weight: 700; }
.prose h3 { margin: 24px 0 8px; font-size: 19px; font-weight: 700; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; font-size: 17px; line-height: 1.6; font-weight: 500; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 6px; }
.prose strong { font-weight: 800; }
.prose .reference { padding: 14px 18px; border-radius: 14px; background: var(--soft); font-weight: 600; }
.prose aside { position: relative; overflow: hidden; margin: 24px 0; padding: 22px 24px 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.prose aside::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gradient-h); }
.prose aside .eyebrow { margin-bottom: 8px; }
.post-head { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 24px; }
.post-head h1 { color: var(--teal); font-size: 40px; line-height: 1.2; font-weight: 700; }
.post-hero { margin: 0 0 24px; overflow: hidden; border-radius: 18px; box-shadow: var(--shadow); }
.post-hero img { width: 100%; height: auto; }

/* ---------- Bas de page ---------- */

.foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--gutter) 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  font-size: 15px;
}
.foot-inner p { color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot-links a { padding: 10px 0; font-weight: 700; }

/* Accueil sans langue choisie (Site/index.html). */
.choose { max-width: 560px; margin: 0 auto; padding: 56px var(--gutter); text-align: center; }
.choose .langs { justify-content: center; margin-top: 24px; }
.choose .langs a { min-height: 48px; padding: 0 20px; font-size: 17px; }

/* ---------- Téléphone ---------- */

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }

  .top-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: 'marque menu' 'appli appli';
    gap: 14px 12px;
    padding: 14px var(--gutter) 16px;
  }
  .brand { grid-area: marque; margin: 0; font-size: 19px; gap: 8px; }
  .brand img { width: 34px; }
  .menu { grid-area: menu; }
  .app-button {
    grid-area: appli;
    min-height: 64px;
    padding: 8px 18px 8px 10px;
    gap: 14px;
    font-size: 19px;
  }
  .app-button > span:nth-child(2) { flex: 1; }
  .app-button .chev { display: inline-grid; width: 32px; height: 32px; font-size: 20px; }
  .app-icon { width: 48px; height: 48px; }
  .app-icon img { width: 38px; height: 38px; }
  .menu-panel { top: 70px; left: var(--gutter); right: var(--gutter); width: auto; max-width: none; }

  .hero { padding: 32px var(--gutter) 20px; gap: 10px; }
  .hero h1, .page-title { font-size: 32px; line-height: 1.2; }
  .lead { font-size: 17px; }
  .section-title { font-size: 26px; }
  .wrap { padding-bottom: 24px; }

  .tiles { padding-bottom: 20px; }
  .tiles ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .tile { flex-direction: column; justify-content: center; gap: 8px; height: 100%; min-height: 104px; padding: 12px 6px; text-align: center; }
  .tile-icon { width: 46px; height: 46px; }
  .tile-icon img, .tile-icon svg { width: 26px; height: 26px; }
  .tile-label { flex: none; font-size: 15px; overflow-wrap: anywhere; }
  .tile .chev { display: none; }

  .feature-body { padding: 16px 18px 20px; gap: 8px; }
  .feature-body h3 { font-size: 22px; }
  .posts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .post { flex-direction: row; align-items: center; gap: 14px; padding: 10px; }
  .post-image { flex: none; width: 104px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
  .post-body { padding: 0; gap: 4px; }
  .post-body h3 { font-size: 16px; }

  .promo {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'titre' 'art' 'exercices' 'bouton';
    justify-items: center;
    gap: 16px;
    padding: 24px 16px 26px;
    border-radius: 20px;
    text-align: center;
  }
  .promo h2 { font-size: 24px; line-height: 1.2; }
  .promo-ex { flex-wrap: wrap; justify-content: center; }
  .promo .btn-white { justify-self: center; }
  .promo-art { justify-self: stretch; padding: 18px 10px; border-radius: 16px; }
  .phone { width: 104px; height: 206px; padding: 6px; border-radius: 22px; }
  .phone-screen { border-radius: 16px; }
  .phone-top { height: 24px; padding: 0 7px; gap: 4px; font-size: 8px; }
  .phone-top img { width: 13px; }
  .phone-grid { gap: 4px; padding: 5px; }
  .phone-grid > span { height: 40px; border-radius: 7px; }
  .phone-grid > span img { width: 22px; height: 22px; }
  .phone-dev img { width: 12px; height: 12px; }
  .phone-bar { margin: auto 5px 7px; height: 16px; }
  .wifi-link { flex: 1 1 40px; max-width: 70px; min-width: 40px; height: 44px; }
  .wifi-link > span { width: 38px; height: 38px; }
  .wifi-link img { width: 22px; height: 22px; }
  .headset { width: 124px; height: 124px; }
  .headset img { width: 92px; height: 92px; }

  .ex-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ex-tile { min-height: 150px; gap: 10px; padding: 16px 8px; }
  .ex-tile img { width: 72px; height: 72px; }
  .ex-tile strong, .ex-dev strong { font-size: 15px; }
  .ex-devs { gap: 8px; }
  .ex-dev { flex-direction: column; justify-content: center; gap: 4px; min-height: 0; padding: 22px 6px 8px; text-align: center; }
  .ex-dev img { width: 30px; height: 30px; }
  .ex-dev .pill { left: 50%; right: auto; top: 4px; transform: translateX(-50%); white-space: nowrap; font-size: 10px; padding: 1px 7px; }

  .card, .simple, .res-section, .faq-group { padding-left: 16px; padding-right: 16px; }
  .remote-cards > .card { padding: 24px 16px 20px; }
  .illustration > div { gap: 16px; }
  .mentions dt { flex-basis: 100%; }
  .post-head h1 { font-size: 30px; }
  .title-row { padding: 32px 0 20px; }
}

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

@media print {
  .top, .foot, .skip { display: none; }
  body { background: #FFFFFF; }
}
