@font-face {
  font-family: "OpenDyslexic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("https://cdn.jsdelivr.net/fontsource/fonts/opendyslexic@latest/latin-400-normal.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/fontsource/fonts/opendyslexic@latest/latin-400-normal.woff") format("woff");
}

@font-face {
  font-family: "OpenDyslexic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url("https://cdn.jsdelivr.net/fontsource/fonts/opendyslexic@latest/latin-700-normal.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/fontsource/fonts/opendyslexic@latest/latin-700-normal.woff") format("woff");
}

:root {
  --site-text-scale: 1;
  --site-font: Arial, Helvetica, sans-serif;
  --bg: #fbfcf8;
  --surface: #ffffff;
  --surface-soft: #eef5f1;
  --text: #17231f;
  --muted: #4c625a;
  --primary: #146b5d;
  --primary-dark: #0d493f;
  --accent: #c86b3c;
  --border: #ccdad4;
  --focus: #1d5fd1;
  --shadow: 0 16px 40px rgba(23, 35, 31, 0.09);
  --radius: 8px;
  --max-width: 1180px;
  --page-gutter: clamp(1rem, 4vw, 1.25rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: calc(100% * var(--site-text-scale));
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--site-font);
  font-size: 1.125rem;
  line-height: 1.6;
}

body.is-font-opendyslexic {
  --site-font: "OpenDyslexic", Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  word-spacing: 0.08em;
}

body.is-font-lexend {
  --site-font: "Lexend", Arial, Helvetica, sans-serif;
}

body.is-font-atkinson {
  --site-font: "Atkinson Hyperlegible", Arial, Helvetica, sans-serif;
}

body.is-large-line-height {
  line-height: 1.85;
}

body.is-high-contrast {
  --bg: #fff;
  --surface: #fff;
  --surface-soft: #fff;
  --text: #000;
  --muted: #000;
  --primary: #000;
  --primary-dark: #000;
  --accent: #000;
  --border: #000;
  --focus: #000;
  --shadow: none;
  background: #fff;
  color: #000;
}

body.is-dark-mode {
  --bg: #050708;
  --surface: #101417;
  --surface-soft: #0b1012;
  --text: #ffffff;
  --muted: #f2fbf8;
  --primary: #7cf3dc;
  --primary-dark: #d7fff6;
  --accent: #ffd166;
  --border: #d7fff6;
  --focus: #ffd166;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  background: var(--bg);
  color: var(--text);
}

body.is-high-contrast .section,
body.is-high-contrast .nav-links li {
  --section-color: #000;
  --section-cloud: #fff;
  --nav-color: #000;
  --nav-bg: #fff;
}

body.is-dark-mode .section {
  --section-color: #ffffff;
  --section-cloud: #203236;
}

body.is-high-contrast h1::before,
body.is-high-contrast h2::before,
body.is-high-contrast h3::before {
  border: 3px solid #000;
}

body.is-high-contrast a {
  color: #000;
  text-decoration-thickness: 0.18em;
}

body.is-high-contrast .button,
body.is-high-contrast .app-control,
body.is-high-contrast .routine-step,
body.is-high-contrast .choice-card {
  border-width: 3px;
}

body.is-dark-mode .button.primary,
body.is-dark-mode .app-control[aria-pressed="true"],
body.is-dark-mode .routine-step:hover,
body.is-dark-mode .choice-card:hover,
body.is-dark-mode .routine-step.is-selected,
body.is-dark-mode .choice-card.is-selected,
body.is-dark-mode .step-number {
  color: #001a16;
}

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

img {
  height: auto;
}

a {
  color: var(--primary-dark);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 20;
  background: var(--text);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.accessibility-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem var(--page-gutter);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.accessibility-bar span {
  margin-right: 0.3rem;
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.accessibility-bar .app-control {
  min-height: 40px;
  padding: 0.45rem 0.65rem;
  font-size: 0.88rem;
}

.font-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--primary-dark);
  font-size: 0.88rem;
  font-weight: 900;
}

.font-picker span {
  margin-right: 0;
  font-size: inherit;
}

.font-picker select {
  min-height: 40px;
  max-width: 220px;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 0.45rem 0.65rem;
  background: var(--surface);
  color: var(--primary-dark);
  font: inherit;
  font-weight: 900;
}

.navbar {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem var(--page-gutter);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.nav-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand img {
  display: block;
  width: clamp(54px, 4vw, 72px);
  height: auto;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  border: 2px solid var(--primary);
  background: var(--surface);
  color: var(--primary-dark);
  border-radius: var(--radius);
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.nav-item {
  position: relative;
}

.submenu-trigger {
  display: flex;
  align-items: center;
  border-radius: var(--radius);
}

.nav-links a {
  display: block;
  background: var(--nav-color, var(--primary));
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.62rem 0.64rem;
  font-size: clamp(0.84rem, 0.82vw, 0.98rem);
  font-weight: 700;
  white-space: nowrap;
}

.submenu-toggle {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 38px;
  border: 0;
  border-radius: var(--radius);
  background: var(--nav-color, var(--primary));
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.submenu-toggle:hover,
.submenu-toggle[aria-expanded="true"] {
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.7);
}

.submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 15;
  display: none;
  min-width: 250px;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-open .submenu {
  display: grid;
  gap: 0.15rem;
}

.has-submenu.submenu-dismissed .submenu {
  display: none;
}

.submenu a {
  display: block;
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 0.98rem;
  color: #fff;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: var(--nav-color, var(--primary));
  color: #fff;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.7);
}

.nav-links li:nth-child(1) {
  --nav-color: #146b5d;
  --nav-bg: #e4f3ee;
}

.nav-links li:nth-child(2) {
  --nav-color: #8a4f00;
  --nav-bg: #fff1d8;
}

.nav-links li:nth-child(3) {
  --nav-color: #2457a6;
  --nav-bg: #e8f0ff;
}

.nav-links li:nth-child(4) {
  --nav-color: #245f38;
  --nav-bg: #e5f4e9;
}

.nav-links li:nth-child(5) {
  --nav-color: #8b2f5f;
  --nav-bg: #ffe8f3;
}

.nav-links li:nth-child(6) {
  --nav-color: #6b4a00;
  --nav-bg: #fff5c2;
}

.nav-links li:nth-child(7) {
  --nav-color: #3f5f16;
  --nav-bg: #edf7da;
}

.nav-links li:nth-child(8) {
  --nav-color: #9a3d18;
  --nav-bg: #ffe8db;
}

.nav-links li:nth-child(9) {
  --nav-color: #5a3ea6;
  --nav-bg: #eee9ff;
}

#accueil {
  --section-color: #146b5d;
  --section-cloud: #e4f3ee;
}

#a-propos {
  --section-color: #8a4f00;
  --section-cloud: #fff1d8;
}

#services {
  --section-color: #2457a6;
  --section-cloud: #e8f0ff;
}

#application {
  --section-color: #245f38;
  --section-cloud: #e5f4e9;
}

#ateliers {
  --section-color: #8b2f5f;
  --section-cloud: #ffe8f3;
}

#podcasts {
  --section-color: #6b4a00;
  --section-cloud: #fff5c2;
}

#accessibilite {
  --section-color: #3f5f16;
  --section-cloud: #edf7da;
}

#tarifs {
  --section-color: #9a3d18;
  --section-cloud: #ffe8db;
}

#contact {
  --section-color: #5a3ea6;
  --section-cloud: #eee9ff;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  background: var(--nav-color, var(--primary));
  color: #fff;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.7);
}

.section {
  scroll-margin-top: 160px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5rem) var(--page-gutter);
}

.tinted {
  max-width: none;
  background: var(--surface-soft);
}

.tinted > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  position: relative;
  z-index: 0;
  display: inline-block;
  max-width: 100%;
  line-height: 1.15;
  margin: 0 0 1rem;
  padding: 0.18em 0.48em 0.22em;
  color: var(--section-color, var(--text));
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  isolation: isolate;
}

h1::before,
h2::before,
h3::before {
  content: "";
  position: absolute;
  inset: -0.12em -0.28em -0.08em;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 13% 58%, var(--section-cloud, #eef5f1) 0 32%, transparent 33%),
    radial-gradient(circle at 30% 36%, var(--section-cloud, #eef5f1) 0 38%, transparent 39%),
    radial-gradient(circle at 52% 30%, var(--section-cloud, #eef5f1) 0 42%, transparent 43%),
    radial-gradient(circle at 74% 40%, var(--section-cloud, #eef5f1) 0 36%, transparent 37%),
    radial-gradient(circle at 88% 60%, var(--section-cloud, #eef5f1) 0 30%, transparent 31%),
    linear-gradient(var(--section-cloud, #eef5f1), var(--section-cloud, #eef5f1));
  background-repeat: no-repeat;
  background-size:
    34% 82%,
    34% 88%,
    38% 96%,
    34% 88%,
    28% 76%,
    82% 58%;
  background-position:
    0 58%,
    18% 28%,
    39% 14%,
    62% 30%,
    100% 60%,
    50% 60%;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.1rem, calc(5vw * var(--site-text-scale)), 4.7rem);
  text-align: left;
}

.hero h1 {
  width: max-content;
}

h2 {
  font-size: clamp(1.75rem, calc(3vw * var(--site-text-scale)), 3rem);
  text-align: left;
}

.forced-two-line span {
  display: block;
  white-space: nowrap;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  max-width: 760px;
  font-size: 1.25rem;
  color: var(--muted);
}

.hero-logo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.hero-logo {
  display: block;
  width: clamp(86px, 8vw, 132px);
  height: auto;
  flex: 0 0 auto;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: var(--primary-dark);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-logo-row .eyebrow {
  margin-bottom: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.button,
.app-control,
.routine-step,
.choice-card,
input,
select,
textarea {
  min-width: 0;
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

.button.primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.button.secondary,
.button.ghost {
  background: var(--surface);
  color: var(--primary-dark);
}

.button.ghost {
  border-color: var(--border);
}

.hero-aside,
.hero-panel,
.card,
.workshop-card,
.category-panel,
.price-card,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-aside {
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-photo-caption {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--primary);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  text-align: center;
}

.hero-panel {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 1.4rem;
}

.hero-panel div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.hero-panel div:last-child {
  border-bottom: 0;
}

.hero-panel p {
  margin: 0;
  font-weight: 700;
}

.icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e4f3ee;
  color: var(--primary-dark);
  font-weight: 900;
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.check-list {
  margin: 0;
  padding: 1.2rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.check-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 2rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.42rem;
  color: var(--primary-dark);
  font-weight: 900;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.podcast-partner {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

.podcast-partner img {
  width: clamp(68px, 7vw, 96px);
  height: auto;
  display: block;
}

.card-grid,
.workshop-grid,
.price-grid {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.price-card {
  padding: 1.3rem;
  min-width: 0;
}

.service-visual {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: var(--surface-soft);
}

.service-visual-demarches {
  object-position: 24% center;
}

.card-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.card-icon {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 900;
}

.card-title-row h3 {
  margin-bottom: 0;
}

.app-section {
  max-width: none;
  background: #f6faf7;
}

.app-section > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.app-shell {
  display: grid;
  gap: 1rem;
  color: var(--text);
}

.app-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.visual-accessibility {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual-accessibility h3 {
  margin-bottom: 0.45rem;
}

.visual-accessibility p:last-child {
  margin-bottom: 0;
}

.app-control,
.routine-step,
.choice-card {
  min-height: 48px;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--primary-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.app-control {
  padding: 0.65rem 0.9rem;
}

.speak-page-control {
  gap: 0.45rem;
}

.speak-page-control span {
  font-size: 1.08em;
  line-height: 1;
}

.app-control[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
}

.app-live-panel,
.app-module {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.app-live-panel {
  padding: 1.2rem;
  border-color: var(--primary);
}

.app-label {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

#app-message {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 900;
}

.app-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 1rem;
}

.app-module {
  padding: 1.2rem;
  min-width: 0;
}

.routine-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.routine-step {
  display: grid;
  grid-template-columns: 42px 64px 1fr;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.65rem;
  text-align: left;
}

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
}

.pictogram {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.choice-card {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  min-height: 150px;
  padding: 0.7rem;
  text-align: center;
}

.choice-card .pictogram {
  width: 78px;
  height: 78px;
}

.routine-step:hover,
.choice-card:hover,
.app-control:hover,
.routine-step.is-selected,
.choice-card.is-selected {
  background: var(--primary);
  color: #fff;
}

.routine-step:hover .pictogram,
.choice-card:hover .pictogram,
.routine-step.is-selected .pictogram,
.choice-card.is-selected .pictogram {
  outline: 2px solid #fff;
}

.pictogram-credit {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.workshop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workshop-card {
  scroll-margin-top: 170px;
  overflow: hidden;
  padding: 1.2rem;
  min-width: 0;
}

.workshop-card:target {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(20, 107, 93, 0.18), var(--shadow);
}

.featured-podcast {
  scroll-margin-top: 170px;
}

.featured-podcast:target {
  box-shadow: 0 0 0 4px rgba(20, 107, 93, 0.18), var(--shadow);
}

.workshop-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  object-fit: cover;
  margin: 0 0 1rem;
}

.workshop-card dl {
  margin: 0;
}

.workshop-card div {
  padding: 0.65rem 0;
  border-top: 1px solid var(--border);
}

.workshop-card dt {
  color: var(--primary-dark);
  font-weight: 900;
}

.workshop-card dd {
  margin: 0;
  color: var(--muted);
}

.podcast-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.podcast-column {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.featured-podcast {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--surface);
  border: 3px solid var(--section-color, var(--primary));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.featured-podcast h3 {
  margin-bottom: 0.7rem;
}

.video-player {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  aspect-ratio: 16 / 9;
  border: 3px solid #000;
}

.video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.category-panel {
  padding: 1.2rem;
}

.category-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.podcast-list {
  display: grid;
  gap: 1rem;
}

.podcast-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.podcast-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e8f0ff;
  color: #153d75;
  padding: 0.2rem 0.65rem;
  font-weight: 800;
}

.podcast-card audio {
  width: 100%;
  margin: 0.7rem 0;
}

.transcript {
  margin-top: 0.8rem;
  border-top: 1px solid var(--border);
  padding-top: 0.8rem;
}

.transcript summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--primary-dark);
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.share-row a {
  font-weight: 800;
}

.price-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1.25fr);
  gap: 2rem;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.3rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row.full,
.form-status,
.contact-form .button {
  grid-column: 1 / -1;
}

label {
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem;
  color: var(--text);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-status {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem var(--page-gutter);
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (min-width: 1600px) {
  :root {
    --max-width: 1500px;
    --page-gutter: 2rem;
  }

  body {
    font-size: 1.1875rem;
  }

  .navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .hero {
    min-height: min(980px, calc(100vh - 160px));
    grid-template-columns: minmax(0, 1.2fr) minmax(420px, 0.8fr);
    gap: 4rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(4.4rem, calc(4.4vw * var(--site-text-scale)), 6.6rem);
  }

  .lead {
    max-width: 860px;
    font-size: 1.35rem;
  }

  .hero-logo {
    width: 150px;
  }

  .hero-image {
    aspect-ratio: 16 / 10;
  }

  .section-heading {
    max-width: 980px;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workshop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .app-grid {
    grid-template-columns: minmax(340px, 0.9fr) repeat(2, minmax(360px, 1fr));
  }

  .visual-accessibility {
    grid-template-columns: minmax(360px, 0.8fr) minmax(520px, 1.2fr);
  }

  .podcast-layout {
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .contact-section {
    grid-template-columns: minmax(360px, 0.7fr) minmax(680px, 1.3fr);
  }

  .two-columns {
    grid-template-columns: minmax(0, 0.95fr) minmax(500px, 0.65fr);
    gap: 4rem;
  }

  #a-propos .forced-two-line {
    font-size: clamp(2.15rem, calc(2vw * var(--site-text-scale)), 3rem);
  }
}

@media (max-width: 1020px) {
  .navbar {
    align-items: stretch;
  }

  .card-grid,
  .workshop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero,
  .two-columns,
  .app-grid,
  .featured-podcast,
  .podcast-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 1.75rem;
  }

  .hero-aside {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 1180px) {
  .two-columns {
    grid-template-columns: 1fr;
  }

  .check-list {
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  :root {
    --page-gutter: 1rem;
  }

  body {
    padding-top: var(--mobile-header-height, 0px);
    font-size: 1.0625rem;
  }

  p,
  li,
  dd {
    line-height: 1.7;
  }

  .site-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    max-height: 100dvh;
    overflow: visible;
  }

  .accessibility-bar {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: flex-start;
    gap: 0.35rem;
    overflow-x: visible;
    padding: 0.45rem 1rem;
  }

  .accessibility-bar > * {
    min-width: 0;
  }

  .accessibility-bar .app-control {
    width: 100%;
    min-height: 38px;
    padding: 0.42rem 0.45rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .accessibility-bar > span {
    grid-column: 1 / -1;
    margin: 0 0 0.1rem;
    font-size: 0.75rem;
  }

  .accessibility-bar .font-picker {
    grid-column: 1 / -1;
    width: 100%;
    font-size: 0.78rem;
  }

  .accessibility-bar .font-picker select {
    flex: 1;
    width: 100%;
    max-width: none;
    min-height: 38px;
    padding: 0.4rem 0.5rem;
    font-size: 0.78rem;
  }

  .navbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .nav-brand {
    flex: 0 0 auto;
  }

  .nav-brand img {
    width: 62px;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--mobile-header-height, 72px) + 0.5rem);
    left: 1rem;
    right: 1rem;
    z-index: 20;
    flex: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100dvh - var(--mobile-header-height, 72px) - 1.25rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 0;
    padding: 0.45rem;
    box-shadow: var(--shadow);
    gap: 0.35rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-links a {
    padding: 0.95rem 1rem;
    font-size: 1.08rem;
    line-height: 1.25;
    white-space: normal;
  }

  .nav-item,
  .submenu-trigger {
    width: 100%;
  }

  .submenu-trigger a {
    flex: 1;
  }

  .submenu-toggle {
    display: none;
  }

  .submenu {
    display: none;
  }

  .section {
    padding: 3.5rem 1rem;
    scroll-margin-top: 180px;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(2rem, calc(12vw * var(--site-text-scale)), 3.25rem);
  }

  h2 {
    font-size: clamp(1.65rem, calc(9vw * var(--site-text-scale)), 2.4rem);
  }

  h3 {
    font-size: 1.18rem;
  }

  h1,
  h2,
  h3 {
    padding-right: 0.35em;
    padding-left: 0.35em;
  }

  h1::before,
  h2::before,
  h3::before {
    inset: -0.08em -0.16em -0.05em;
  }

  .button-row,
  .app-toolbar,
  .share-row,
  .site-footer {
    flex-direction: column;
  }

  .button,
  .app-control {
    width: 100%;
    white-space: normal;
  }

  .accessibility-bar .app-control {
    width: 100%;
    white-space: nowrap;
  }

  .featured-podcast .button {
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
  }

  .app-toolbar .font-picker {
    width: 100%;
  }

  .app-toolbar .font-picker select {
    flex: 1;
    max-width: none;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .app-live-panel,
  .app-module,
  .contact-form,
  .check-list {
    padding: 1rem;
  }

  .workshop-card {
    scroll-margin-top: 180px;
  }

  .featured-podcast {
    scroll-margin-top: 180px;
  }
}

@media (max-width: 640px) {
  .card-grid,
  .workshop-grid,
  .price-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 1.4rem;
  }

  .section-heading p,
  .lead,
  .card p,
  .workshop-card dd,
  .podcast-card p,
  .check-list li {
    max-width: 36rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .hero-panel {
    padding: 1rem;
  }

  .hero-logo-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .visual-accessibility {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: 96px;
  }

  .hero-panel div {
    grid-template-columns: 32px 1fr;
    gap: 0.6rem;
    padding: 0.8rem 0;
  }

  .card,
  .price-card,
  .workshop-card,
  .featured-podcast,
  .podcast-card,
  .category-panel {
    padding: 1rem;
  }

  .podcast-layout,
  .app-grid,
  .card-grid,
  .workshop-grid,
  .price-grid {
    gap: 0.85rem;
  }

  .routine-step {
    grid-template-columns: 36px 52px minmax(0, 1fr);
    gap: 0.55rem;
  }

  .pictogram {
    width: 52px;
    height: 52px;
  }

  .choice-card {
    min-height: 118px;
  }

  .choice-card .pictogram {
    width: 64px;
    height: 64px;
  }

  .workshop-image {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 1.0625rem;
  }

  .section {
    padding-top: 2.6rem;
    padding-bottom: 2.6rem;
  }

  .accessibility-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .accessibility-bar span {
    font-size: 0.78rem;
  }

  .menu-toggle,
  .button,
  .app-control {
    min-height: 46px;
  }

  .accessibility-bar .app-control,
  .accessibility-bar .font-picker select {
    min-height: 36px;
  }

  .nav-links {
    max-height: calc(100dvh - var(--mobile-header-height, 72px) - 1rem);
  }

  .section,
  .workshop-card,
  .featured-podcast {
    scroll-margin-top: 210px;
  }

  .hero h1 {
    width: auto;
  }

  h1 {
    font-size: clamp(1.85rem, calc(11vw * var(--site-text-scale)), 2.7rem);
  }

  h2 {
    font-size: clamp(1.48rem, calc(8vw * var(--site-text-scale)), 2.05rem);
  }

  .forced-two-line {
    font-size: clamp(1.08rem, calc(5.5vw * var(--site-text-scale)), 2.05rem);
  }

  h3 {
    font-size: 1.08rem;
  }

  .featured-podcast {
    gap: 0.75rem;
    padding: 0.8rem;
  }

  .featured-podcast h3 {
    margin-bottom: 0.45rem;
  }

  .video-player {
    border-width: 2px;
  }

  .routine-step {
    grid-template-columns: 34px 46px minmax(0, 1fr);
    padding: 0.55rem;
  }

  .step-number {
    width: 30px;
    height: 30px;
  }

  .pictogram {
    width: 46px;
    height: 46px;
  }

  .choice-card .pictogram {
    width: 58px;
    height: 58px;
  }
}

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