/*
 * Cours at Home — feuille de style principale
 *
 * 1. Polices          8. Pied de page
 * 2. Jetons           9. Pages légales
 * 3. Base            10. Contact et formulaire
 * 4. Composants      11. Préparation CCDL
 * 5. En-tête         12. Matières
 * 6. Méga-menu       13. Mouvement
 * 7. Accueil         14. Responsive
 */

/* =============================================================================
   1. POLICES
   ========================================================================== */

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/dm-sans.woff2") format("woff2");
    font-weight: 100 1000;
    font-style: normal;
    font-display: swap;
}

/* =============================================================================
   2. JETONS
   ========================================================================== */

:root {
    --ink: #1C1B1A;
    --ink-2: #6B6A68;
    --paper: #fcfcfb;
    --paper-rgb: 252, 252, 251;
    --white: #FFFFFF;

    --grey-50: #FAFAF9;
    --grey-100: #F3F3F2;
    --grey-200: #EDEDED;
    --grey-300: #DEDEDD;
    --grey-400: #9A9A9A;
    --grey-600: #646362;
    --grey-800: #333333;

    --line-soft: #F1F1F0;
    --line: #E8E8E7;
    --line-strong: #D6D6D4;

    --red-brand: #FF4E36;
    --red-50: #FFF3F0;
    --red-100: #FFE7E1;
    --red-200: #FFCFC5;
    --red-300: #FFA694;
    --red-400: #FF7458;
    --red-500: #FF4E36;
    --red-600: #E8412A;
    --red-700: #C2341F;

    --sun-100: var(--white);
    --sun-300: var(--grey-300);
    --sky-100: var(--grey-100);
    --sky-300: var(--grey-300);
    --mint-100: var(--white);
    --mint-300: var(--grey-300);
    --lilac-100: var(--grey-100);
    --lilac-300: var(--grey-300);

    --font-display: "freight-display-pro", Georgia, "Times New Roman", serif;
    --font-serif: "freight-macro-pro", Georgia, "Times New Roman", serif;
    --font-text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --line-height-base: 1.6;

    --font-size-3xs: clamp(.8rem, .67rem + 0.169vw, .9rem);
    --font-size-2xs: clamp(.9rem, .77rem + 0.169vw, 1rem);
    --font-size-xs: clamp(1rem, .87rem + 0.169vw, 1.1rem);
    --font-size-sm: clamp(1.1rem, .97rem + 0.169vw, 1.2rem);
    --font-size-base: clamp(1.2rem, 1.07rem + 0.169vw, 1.3rem);
    --font-size-md: clamp(1.3rem, 1.17rem + 0.169vw, 1.4rem);
    --font-size-lg: clamp(1.35rem, 1.155rem + 0.254vw, 1.5rem);
    --font-size-xl: clamp(1.45rem, 1.255rem + 0.254vw, 1.6rem);
    --font-size-2xl: clamp(1.55rem, 1.355rem + 0.254vw, 1.7rem);

    --font-size-hero: clamp(5.4rem, .195rem + 6.768vw, 9.4rem);
    --font-size-section-title: clamp(4.4rem, 5vw, 6.5rem);

    --line-height-hero: 1.1;

    /* Formes */
    --bw: 1px;
    --border: var(--bw) solid var(--line);
    --border-control: var(--bw) solid var(--line-strong);
    --r-sm: 12px;
    --r: 20px;
    --r-lg: 28px;
    --r-xl: 36px;
    --shadow-card: 0 4px 20px -10px rgba(0, 0, 0, .16);
    --shadow-img: 0 4px 20px -10px rgba(0, 0, 0, .46);
    --shadow-float: 0 16px 38px -22px rgba(0, 0, 0, .20);
    --shadow-hover: 0 22px 46px -24px rgba(0, 0, 0, .26);

    /* Mise en page */
    --gutter: clamp(16px, 4vw, 32px);
    --container: 1240px;
    --header-bar-h: 62px;
    --header-h: calc(var(--header-bar-h) + 24px);
    --section-space: 10rem;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* =============================================================================
   3. BASE
   ========================================================================== */

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

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-text);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-variant-numeric: lining-nums;
}

body.is-locked {
    overflow: hidden;
}

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

img {
    height: auto;
}

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

ul,
ol {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

/*
 * Mesure des appels (GTM) : le déclencheur du conteneur teste l'élément
 * cliqué lui-même. Un clic sur l'icône ou le texte d'un bouton téléphone doit
 * donc tomber sur le lien `tel:`, pas sur son contenu.
 */
a[href^="tel:"] * {
    pointer-events: none;
}

button,
select,
input {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

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

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    top: 8px;
    left: -9999px;
    z-index: 100;
    padding: 10px 18px;
    border: var(--border);
    border-radius: 999px;
    background: var(--white);
    font-weight: 600;
}

.skip-link:focus {
    left: 8px;
}

.icon {
    flex: none;
    width: 1.6rem;
    height: 1.6rem;
    position: relative;
}

.eyebrow .icon--scale {
    stroke-width: 1.6;
    position: relative;
    bottom: 1.5px;
}

/* =============================================================================
   4. COMPOSANTS
   ========================================================================== */

/* --- Boutons -------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: 11px 22px 12px;
    border: var(--border-control);
    border-radius: 999px;
    background: var(--white);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s var(--ease), border-color .2s var(--ease);
}

.btn .icon-arrow {
	width: 1.8rem;
	height: 1.8rem;
	transition: transform .2s var(--ease);
	top: 1.25px;
	position: relative;
}

.request__submit .btn .icon-arrow {
    top: .5px;
}

.btn .icon-phone {
	width: 1.8rem;
	height: 1.8rem;
}

@media (hover: hover) and (pointer: fine) {
    .btn:hover .icon-arrow {
        transform: translateX(3px);
    }

    .btn:hover {
        transform: translateY(-1px);
    }

    .btn:hover .icon:last-child:not(:first-child) {
        transform: translateX(3px);
    }
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
	position: relative;
	overflow: hidden;
	border-color: var(--red-500);
	background: var(--red-500);
	color: var(--white);
}

@media (hover: hover) and (pointer: fine) {
    .btn--primary:hover {
        border-color: color-mix(in srgb, var(--red-400) 55%, var(--red-500));
        background: color-mix(in srgb, var(--red-400) 55%, var(--red-500));
    }
}

.btn--primary::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		transparent 38%,
		rgb(255 255 255 / .38) 50%,
		transparent 62%
	);
	transform: translateX(-100%);
	pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .btn--primary:hover::before {
        animation: btn-sheen .65s var(--ease);
    }
}

@keyframes btn-sheen {
	from { transform: translateX(-100%); }
	to   { transform: translateX(100%); }
}

.btn--outline {
    color: var(--ink-2);
    border: var(--border);
}

@media (hover: hover) and (pointer: fine) {
    .btn--outline:hover {
        color: var(--ink);
        border-color: var(--line-strong);
    }
}

.btn--dark { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
    .btn--dark:hover { background: #343432; }
}
.btn--dark:focus-visible { outline-color: var(--white); }
.btn--light { background: var(--white); }

.btn--ghost {
    border-color: transparent;
    background: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .btn--ghost:hover {
        background: var(--red-50);
        transform: none;
    }
}

.btn--sm {
	padding: 8px 16px;
	font-size: var(--font-size-sm);
}

.btn--lg { 
    padding: 15px 28px; 
    font-size: var(--font-size-md); 
}

.pack .btn--lg {
    font-size: var(--font-size-base);
}

.pack .btn .icon {
    transition: transform .2s var(--ease);
}

.btn--primary .icon {
    top: .5px;
}

@media (hover: hover) and (pointer: fine) {
    .pack:hover .btn .icon {
        transform: translateX(3px);
    }
}

.btn--block { display: flex; width: 100%; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.link-arrow .icon {
    transition: transform .2s var(--ease);
    top: 1px;
}

@media (hover: hover) and (pointer: fine) {
    .link-arrow:hover {
        color: var(--red-500);
    }

    .link-arrow:hover .icon {
        transform: translateX(4px);
    }
}

.link-dash {
    --dash-color: var(--red-200);
    --dash-length: 5px;
    --dash-gap: 5px;
    --dash-weight: 1.5px;
    --dash-offset: 0.5px;
    position: relative;
}

.link-dash::after {
    content: "";
    position: absolute;
    top: calc(100% + var(--dash-offset));
    left: 0;
    width: calc(100% + var(--dash-gap));
    height: var(--dash-weight);
    background-image: linear-gradient(90deg,
        var(--dash-color) var(--dash-length),
        transparent var(--dash-length));
    background-repeat: space no-repeat;
    background-size: calc(var(--dash-length) + var(--dash-gap)) 100%;
    clip-path: inset(0 100% 0 0);
    pointer-events: none;
    transition: clip-path .4s var(--ease);
}

.link-dash:focus-visible::after {
    clip-path: inset(0);
}

@media (hover: hover) and (pointer: fine) {
    .link-dash:hover::after {
        clip-path: inset(0);
    }
}

.link-underline {
    --underline-color: var(--red-500);
    --underline-weight: 1.5px;
    position: relative;
    text-decoration: none;
}

.site-footer__credit .link-underline {
    --underline-color: var(--red-300);
}

.link-underline::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: var(--underline-weight);
    background: var(--underline-color);
    clip-path: inset(0 100% 0 0);
    pointer-events: none;
    transition: clip-path .4s var(--ease);
}

.link-underline:focus-visible::after {
    clip-path: inset(0);
}

@media (hover: hover) and (pointer: fine) {
    .link-underline:hover::after {
        clip-path: inset(0);
    }
}

.link-underline--redraw::after {
    clip-path: inset(0);
    transition: none;
}

.link-underline--redraw:focus-visible::after {
    animation: link-underline-redraw 1s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .link-underline--redraw:hover::after {
        animation: link-underline-redraw 1s var(--ease);
    }
}

@keyframes link-underline-redraw {
    0%    { clip-path: inset(0); }
    45%   { clip-path: inset(0 0 0 100%); }
    45.1% { clip-path: inset(0 100% 0 0); }
    100%  { clip-path: inset(0); }
}

.round-btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: var(--border);
    border-radius: 50%;
    background: var(--white);
    transition: background-color .2s, color .2s, transform .3s var(--ease);
}

/* --- Étiquettes ----------------------------------------------------------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--red-500);
	font-size: var(--font-size-xs);
	font-weight: 700;
	letter-spacing: .15rem;
	text-transform: uppercase;
}

.subjects .eyebrow {
    margin-bottom: 1rem;
}

.groups .eyebrow {
	gap: 6px;
	font-size: var(--font-size-2xs);
    margin-bottom: 1rem;
}

.groups .eyebrow .icon {
	position: relative;
	top: -1.5px;
}

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

.badge {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 999px;
	background: var(--red-500);
	color: white;
	font-family: var(--font-text);
	font-size: var(--font-size-2xs);
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.3;
	text-transform: uppercase;
}

.tag {
	display: inline-block;
	padding: 6px 10px 5px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--white);
	font-family: var(--font-text);
	font-size: var(--font-size-2xs);
	font-weight: 500;
	line-height: 1;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: 5px 16px 5px 10px;
	border: var(--border);
	border-radius: 999px;
	background: var(--white);
	font-size: var(--font-size-sm);
	font-weight: 600;
}

.pill__icon {
    flex: none;
}

.hero-full--ccdl .pill__icon {
    stroke: var(--red-500);
    stroke-width: 1.6;
    width: 1.7rem;
    height: 1.7rem;
    position: relative;
    bottom: 1px;
}

.eyebrow .pill__icon {
	position: relative;
	bottom: 1px;
}

.meta-list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	color: var(--ink-2);
}

.meta-list li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta-list .icon {
    width: 16px;
    height: 16px;
    position: relative;
}

.meta-list li:nth-child(1) .icon {
    bottom: .5px;
}

.meta-list li:nth-child(2) .icon {
    top: .5px;
}

.meta-list li:nth-child(3) .icon {
    top: 1px;
}

.check-list {
    display: grid;
    gap: 10px;
}

.check-list li {
    display: flex;
    gap: 5px;
}

.check-list .icon {
    top: 3px;
}

.monogram {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: var(--border);
	border-radius: 50%;
	background: var(--white);
	font-family: var(--font-serif);
	font-size: 1.6rem;
	font-weight: 700;
}

.review--feature .monogram {
	background-color: var(--red-50);
	border-color: var(--red-100);
    color: var(--red-300);
}

/* --- Gauge : places restantes --------------------------------------------- */

.gauge {
    display: grid;
    gap: 6px;
    font-size: var(--font-size-base);
}

.gauge__label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.gauge__label span {
	color: var(--ink-2);
	font-variant-numeric: tabular-nums;
	font-size: var(--font-size-sm);
}

.gauge__bar {
    height: 10px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--white);
}

.gauge__bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--red-300);
}

.gauge.is-low strong {
    color: var(--red-700);
}

.gauge.is-low .gauge__bar span {
    background: var(--red-500);
}

/* --- Gribouillis ---------------------------------------------------------- */

.doodle {
    overflow: visible;
    pointer-events: none;
}

.scribble {
    position: relative;
    z-index: 0;
    display: inline-block;
    white-space: nowrap;
}

.section-title .scribble,
.ccdl-card__title .scribble,
.matiere-hero__title .scribble {
    font-style: italic;
}

.scribble .doodle {
    position: absolute;
    z-index: -1;
    left: -3%;
    bottom: -.02em;
    width: 106%;
    height: .22em;
    color: var(--red-100);
}

/* --- Titres de section ---------------------------------------------------- */

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

.matiere-levels--tabs.section {
    padding-top: 5rem;
}

.home .section.proof {
    padding-block: 18rem 0;
}

.section.ccdl-prices,
.section.matiere-prices {
    background-color: var(--white);
    border-top: var(--border);
    border-bottom: var(--border);
}

.section.matiere-siblings {
    padding-bottom: 6rem;
}

.section.cta {
    position: relative;
    isolation: isolate;
    padding-top: 0;
}

.cta__illu {
	position: absolute;
	right: 2rem;
	bottom: 0;
	z-index: -1;
	width: clamp(20rem, 26vw, 35rem);
	height: auto;
	pointer-events: none;
	opacity: .1;
}

.section-title {
	max-width: 22ch;
	font-family: var(--font-display);
	font-size: var(--font-size-section-title);
	font-weight: 600;
	letter-spacing: -.08rem;
	line-height: 1.1;
	text-wrap: balance;
}

.ccdl-sessions__head .section-title {
    line-height: 1;
}

.method .section-title {
    text-wrap: initial;
    max-width: 15ch;
    margin-top: .6rem;
}

html[lang="en-GB"] .method .section-title {
    text-wrap: balance;
}

html[lang="en-GB"] .home .method .section-title {
    text-wrap: auto;
}

html[lang="en-GB"] .ccdl .section-title {
	max-width: 18ch;
}

.reviews__intro .section-title {
    margin-block: 1rem 2rem;
}

.teachers .section-title {
    margin-block: 1rem 2rem;
}

.section-head {
    margin-bottom: clamp(32px, 4vw, 52px);
}

.teachers .section-head {
    margin-bottom: 5rem;
}

.section-head--center {
    text-align: center;
}

.section-head--center .section-title {
	margin-inline: auto;
	text-wrap: initial;
}

.matiere-siblings .section-head {
    margin-bottom: 4rem;
}

.section-head--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
}

.profiles .section-head--split {
    align-items: center;
}

.section-head__aside {
    max-width: 400px;
    color: var(--ink-2);
}

/* =============================================================================
   5. EN-TÊTE
   ========================================================================== */

.topbar {
	border-bottom: var(--border);
	background: var(--white);
	font-size: var(--font-size-sm);
	font-weight: 500;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
}

.topbar__start {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.topbar__claim, 
.topbar__links a {
	display: flex;
	align-items: center;
	gap: .3rem;
}

.topbar__links .topbar__link {
    gap: .6rem;
}

.topbar__links .topbar__link .icon {
    stroke-width: 1.8;
}

.topbar__link {
    transition: all .2s;
}

@media (hover: hover) and (pointer: fine) {
    .topbar__link:hover {
        color: var(--red-500);
    }
}

.topbar__claim {
    position: relative;
}

.topbar__claim::after {
	content: '';
	position: absolute;
	right: -16px;
	bottom: 7px;
	width: 3px;
	height: 3px;
	background: var(--red-200);
	border-radius: 50%;
}

.topbar__link + .topbar__link::before {
	content: '';
	position: absolute;
	left: -16px;
	bottom: 7px;
	width: 3px;
	height: 3px;
	background: var(--red-200);
	border-radius: 50%;
}

.topbar__claim .cah-svg--icon-shield {
    color: var(--red-500);
}

.topbar__link .icon {
    color: var(--red-500);
    stroke-width: 1.5;
}

.topbar__link:has(.icon) {
    text-decoration: none;
}

.topbar__link .icon + span {
    transition: all .2s;
}

@media (hover: hover) and (pointer: fine) {
    .topbar__link:hover .icon + span {
        color: var(--red-500);
    }
}

.topbar__links {
	display: flex;
	align-items: center;
	gap: 3rem;
	margin-left: auto;
}

.icon-phone-wrapper {
	margin-right: .1rem;
	color: var(--red-500);
}

.topbar__lang {
    display: flex;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
}

.topbar__lang a {
    padding: 1px 9px;
    border-radius: 999px;
    font-weight: 600;
    font-size: var(--font-size-xs);
}

.topbar__lang a[aria-current] {
    background: var(--grey-100);
    color: var(--ink);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding-block: 12px;
}

.site-header__bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--header-bar-h);
    padding: 8px 12px 8px 22px;
    border: var(--border);
    border-radius: 999px;
    background: var(--white);
    transition: box-shadow .3s;
}

.site-header.is-stuck .site-header__bar {
    box-shadow: var(--shadow-float);
}

.site-header__brand {
    flex: none;
    margin-right: auto;
}

.cah-logo--logo {
    width: auto;
    height: 34px;
}

.site-header .cah-logo--logo {
    overflow: visible;
}

.logo-picto { fill: var(--red-500); }
.logo-word {
    fill: var(--ink);
    transition: fill .3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .cah-logo--logo:hover .logo-word {
        fill: var(--red-500);
    }
}

.cah-logo--logo .logo-word:nth-child(4) { transition-delay: .03s; }
.cah-logo--logo .logo-word:nth-child(5) { transition-delay: .06s; }
.cah-logo--logo .logo-word:nth-child(6) { transition-delay: .09s; }
.cah-logo--logo .logo-word:nth-child(7) { transition-delay: .12s; }
.cah-logo--logo .logo-word:nth-child(8) { transition-delay: .15s; }
.cah-logo--logo .logo-word:nth-child(9) { transition-delay: .18s; }
.cah-logo--logo .logo-word:nth-child(10) { transition-delay: .21s; }
.cah-logo--logo .logo-word:nth-child(11) { transition-delay: .24s; }
.cah-logo--logo .logo-word:nth-child(12) { transition-delay: .27s; }
.cah-logo--logo .logo-word:nth-child(13) { transition-delay: .3s; }

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color .2s;
}

@media (hover: hover) and (pointer: fine) {
    .nav__link:hover {
        background: var(--red-50);
    }
}

.nav__link[aria-expanded="true"] {
    background: var(--red-50);
}

.nav__chevron {
    width: 16px;
    height: 16px;
    transition: transform .25s var(--ease);
}

[aria-expanded="true"] > .nav__chevron {
    transform: rotate(180deg);
}

.nav__link .badge {
    margin-left: 2px;
}

.nav__mobile-head,
.nav__mobile-extra,
.nav-toggle {
    display: none;
}

.nav-toggle {
    place-items: center;
    width: 50px;
    height: 50px;
    border: var(--border);
    border-radius: 50%;
    background: var(--red-500);
}

.nav-toggle__line {
    transform-box: view-box;
    transform-origin: 12px 12px;
    transition:
        rotate .2s var(--ease),
        translate .45s cubic-bezier(.34, 1.8, .64, 1) .12s,
        scale .45s cubic-bezier(.34, 1.8, .64, 1) .12s,
        opacity .2s .12s;
}

.nav-toggle__line--top {
    translate: 0 -5px;
}

.nav-toggle__line--bottom {
    translate: -3px 5px;
    scale: .625 1;
}

@media (hover: hover) and (pointer: fine) {
    .nav-toggle:hover .nav-toggle__line--bottom {
        translate: 0 5px;
        scale: 1;
    }
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line {
    translate: 0 0;
    transition:
        translate .18s var(--ease),
        scale .18s var(--ease),
        opacity .15s,
        rotate .5s cubic-bezier(.34, 1.8, .64, 1) .14s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line--top {
    rotate: 225deg;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line--middle {
    scale: 0 1;
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line--bottom {
    scale: 1;
    rotate: 135deg;
}

@media (prefers-reduced-motion: reduce) {
    .nav-toggle__line {
        transition: none !important;
    }
}

/* --- Menu en ligne -------------------------------------------------------- */
.nav {
    order: 0;
}

.site-header__brand {
    position: relative;
    bottom: 1px;
}

.nav {
    margin-inline: auto;
}

/* =============================================================================
   6. MÉGA-MENU
   ========================================================================== */

.mega__title {
	margin: 0 0 8px 10px;
	color: var(--ink-2);
	font-size: var(--font-size-2xs);
	font-weight: 700;
	letter-spacing: .12rem;
	text-transform: uppercase;
}

.mega__col ul {
    display: grid;
    gap: 2px;
}

.mega__col.mega__col--cards ul {
    gap: 6px;
}

.mega-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border: var(--bw) solid transparent;
    border-radius: 18px;
    transition: background-color .2s, border-color .2s;
    box-shadow: var(--shadow-card);
}

.mega-card__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 46px;
    height: 46px;
    border: var(--border);
    border-radius: 14px;
    transition: background-color .2s;
}

.mega-card__text {
    display: grid;
    line-height: 1.3;
}

.mega-card__text strong {
	font-size: var(--font-size-md);
	margin-bottom: .3rem;
}

.mega-card__text small {
	color: var(--ink-2);
	font-size: var(--font-size-sm);
}

.mega-card__arrow {
    margin-left: auto;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .2s, transform .2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .mega-card:hover {
        border-color: var(--line);
        box-shadow: var(--shadow-hover);
    }

    .mega-card:hover .mega-card__arrow {
        opacity: 1;
        transform: none;
        color: var(--red-500);
    }
}

.mega-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 10px;
	border-radius: 12px;
	font-weight: 500;
	transition: background-color .2s;
	font-size: var(--font-size-sm);
    width: fit-content;
}

@media (hover: hover) and (pointer: fine) {
    .mega-link:hover span:last-child {
        color: var(--red-500);
    }
}

.mega-link--all {
    justify-content: space-between;
    margin-top: .5rem;
    padding-block: 8px;
    background: var(--red-50);
    font-weight: 600;
    gap: 5px;
}

@media (hover: hover) and (pointer: fine) {
    .mega-link--all:hover {
        background: var(--red-100);
    }
}

.mega-link--all .mega-link__icon .icon {
    transition: transform .2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .mega-link--all:hover .mega-link__icon .icon {
        transform: translateX(3px);
    }
}

.mega-link__tag,
.mega-link__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 32px;
    height: 26px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--paper);
    font-size: var(--font-size-2xs);
    font-weight: 700;
    letter-spacing: .04em;
}

.mega-link__icon {
	border: 0;
	background: transparent;
	color: var(--red-500);
	width: 1.4rem;
	height: 1.4rem;
	position: relative;
	top: .1px;
}

@media (hover: hover) and (pointer: fine) {
    .mega-link:hover .mega-link__tag {
        background: var(--grey-100);
    }
}

.mega-feature {
    position: relative;
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 12px;
    overflow: hidden;
    padding: 22px;
    border-radius: var(--r);
    box-shadow: var(--shadow-card);
}

.mega-feature .eyebrow {
	margin: 0;
	font-size: var(--font-size-3xs);
    gap: 5px;
}

.mega-feature .eyebrow .icon {
	width: 15px;
    height: 15px;
    position: relative;
    bottom: .5px;
}

.mega-feature__title {
	font-family: var(--font-display);
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.1;
	max-width: 15rem;
}

.mega-feature .gauge {
    width: 100%;
    font-size: var(--font-size-sm);
}

.mega-feature .btn .icon {
    position: relative;
    top: .5px;
    transition: transform .2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .mega-feature .btn:hover .icon {
        transform: translateX(3px);
    }
}

.mega-feature--light {
    background: var(--red-50);
}

.mega-feature--tint {
	background: var(--red-50);
	font-size: var(--font-size-base);
}

.mega-feature--tint .cah-logo--roof {
	position: absolute;
	bottom: 1.4rem;
	right: -2rem;
	width: 9rem;
	opacity: .1;
}

.mega-feature--tint .btn {
    position: relative;
    z-index: 1;
    margin-top: 4px;
}

.mega {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 20px;
    border: var(--border);
    border-radius: var(--r-lg);
    background: var(--white);
    box-shadow: var(--shadow-float);
    animation: mega-in .22s var(--ease);
}

.mega__inner {
    display: grid;
    grid-template-columns: 1fr 25rem;
    gap: 20px;
}

.mega__columns {
    display: grid;
    gap: 12px;
    padding-top: 6px;
}

.mega__columns--3 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); }
.mega__columns--2 { grid-template-columns: 1fr 1fr; }

.mega__col--cards {
	padding-right: 2rem;
	border-right: 1px solid var(--line-soft);
}

/* =============================================================================
   7. ACCUEIL
   ========================================================================== */

/* --- Hero : film pleine largeur ------------------------------------------- */

.has-hero-full .site-header {
    margin-bottom: calc(-1 * var(--header-h));
}

.hero-full {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--red-100) url("../video/manifesto-poster.webp") center / cover;
}

.hero-full--ccdl {
    background-image: url("../video/ccdl-hero-poster.webp");
}

.hero-full--band .hero-full__inner {
    min-height: clamp(480px, 52vh, 520px);
    padding-bottom: clamp(56px, 6vw, 88px);
}

.hero-full--band .hero-full__title {
    margin-block: 2rem 2.4rem;
    font-size: clamp(4.4rem, 6vw, 6.4rem);
    max-width: 24ch;
}

.hero-full--band .hero-full__actions {
    margin-top: 3.2rem;
}

.hero-full__points {
	margin-top: 2.8rem;
	font-size: var(--font-size-md);
	font-weight: 500;
}

.hero-full__points .icon {
    color: var(--red-500);
    position: relative;
}

.hero-full--ccdl .hero-full__actions {
    margin-top: 4rem;
}

.hero-full__video {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% 50%;
}

.hero-full__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(0deg,
            rgba(var(--paper-rgb), 1) 0%,
            rgba(var(--paper-rgb), .97) 6%,
            rgba(var(--paper-rgb), .9) 14%,
            rgba(var(--paper-rgb), .76) 24%,
            rgba(var(--paper-rgb), .56) 36%,
            rgba(var(--paper-rgb), .34) 50%,
            rgba(var(--paper-rgb), .16) 64%,
            rgba(var(--paper-rgb), .05) 78%,
            rgba(var(--paper-rgb), 0) 90%),
        linear-gradient(90deg,
            rgba(var(--paper-rgb), .5) 0%,
            rgba(var(--paper-rgb), .32) 25%,
            rgba(var(--paper-rgb), .12) 45%,
            rgba(var(--paper-rgb), 0) 62%),
        linear-gradient(270deg,
            rgba(var(--paper-rgb), .2) 0%,
            rgba(var(--paper-rgb), 0) 22%),
        linear-gradient(180deg,
            rgba(var(--paper-rgb), .45) 0,
            rgba(var(--paper-rgb), 0) 220px);
}

.hero-full__inner {
    display: grid;
    grid-template-columns: minmax(0, 92rem) 1fr;
    align-items: end;
    min-height: clamp(660px, calc(100svh - 40px), 920px);
    padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px));
    padding-bottom: clamp(88px, 9vw, 120px);
}

.hero-full__title {
	margin-block: 3rem 6rem;
	font-family: var(--font-display);
	font-size: var(--font-size-hero);
	font-weight: 600;
	letter-spacing: -.015em;
	line-height: var(--line-height-hero);
	text-wrap: balance;
}

.hero-full--ccdl .hero-full__title {
	margin-block: 3rem 4rem;
}

.hero-full__title .scribble {
    font-style: italic;
}

.hero-full__lead {
	font-size: var(--font-size-lg);
	font-weight: 500;
	max-width: 72rem;
}

.post-59 .hero-full__lead {
    max-width: 58rem;
}

.hero-full__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    margin-top: 8rem;
}

.hero-full__actions .btn {
    height: 58px;
    font-size: var(--font-size-md);
}

.hero-full__trust {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    color: var(--ink-2);
}

.hero-full__trust strong {
    color: var(--ink);
    font-weight: 600;
}

.avatars {
    display: flex;
    flex: none;
}

.avatars img {
    width: 40px;
    height: 40px;
    border: 2px solid var(--paper);
    border-radius: 50%;
    object-fit: cover;
}

.avatars img + img {
    margin-left: -10px;
}

.video-play {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 6px 20px 6px 6px;
    border: var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    text-align: left;
    transition: background-color .2s, transform .25s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .video-play:hover {
        background: var(--white);
        transform: translateY(-1px);
    }
}

.video-play__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red-500);
    color: white;
    transition: transform .25s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .video-play:hover .video-play__icon {
        transform: scale(1.06);
    }
}

.video-play__icon svg {
    width: 20px;
    height: 20px;
    margin-left: 2px;
}

.video-play__text {
    display: grid;
    line-height: 1.25;
}

.video-play__text strong {
    font-weight: 600;
}

.video-play__text small {
    color: var(--ink-2);
    font-size: var(--font-size-base);
}

.hero-full__cards {
    display: grid;
    justify-items: end;
    align-self: end;
    gap: 12px;
}

.float-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: 24rem;
	padding: 12px 18px 12px 14px;
	border-radius: var(--r);
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: var(--shadow-float);
	line-height: 1.45;
}

.float-card__value {
	font-family: var(--font-display);
	font-size: clamp(3.8rem, 3.019rem + 1.015vw, 4.4rem);
	line-height: 1;
	position: relative;
	bottom: 2px;
}

.float-card__value small {
	font-size: .5em;
	margin-left: .2rem;
}

.float-card__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--grey-100);
    color: var(--red-500);
}

.video-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background: rgba(30, 23, 20, .25);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--white);
    transition: background-color .2s;
}

@media (hover: hover) and (pointer: fine) {
    .video-toggle:hover {
        background: rgba(30, 23, 20, .45);
    }
}

.video-toggle svg {
    width: 16px;
    height: 16px;
}

.video-toggle__play,
.video-toggle[aria-pressed="true"] .video-toggle__pause {
    display: none;
}

.video-toggle[aria-pressed="true"] .video-toggle__play {
    display: block;
}

/* --- Recherche de cours --------------------------------------------------- */
.hero-full__finder {
    position: relative;
    z-index: 2;
    margin-top: -46px;
}

.finder {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    width: calc(100% - 2 * clamp(16px, 3vw, 40px));
    margin-inline: auto;
    padding: 10px 10px 10px 28px;
    border: var(--border);
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow-float);
}

.finder__title {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-right: 24px;
	font-family: var(--font-serif);
	font-size: 1.6rem;
	font-weight: 600;
	white-space: nowrap;
}

.finder__title .icon {
	color: var(--red-500);
	width: 1.9rem;
	height: 1.9rem;
}

.finder__field {
	display: grid;
	padding: 6px 20px 4px;
	border-left: 1px solid var(--line-soft);
}

.finder__field label {
	color: var(--ink-2);
	font-size: var(--font-size-2xs);
	font-weight: 700;
	letter-spacing: .1rem;
	text-transform: uppercase;
}

.finder__field select {
    width: 100%;
    padding: 1px 26px 2px 0;
    border: 0;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1714' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 16px;
    font-weight: 600;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

/* --- Lecteur du film ------------------------------------------------------ */
.video-modal {
    width: min(1200px, calc(100vw - 32px));
    max-width: none;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: var(--r-lg);
    background: #000;
}

.video-modal::backdrop {
    background: rgba(30, 23, 20, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.video-modal[open] {
    animation: mega-in .25s var(--ease);
}

.video-modal__video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: inherit;
}

.video-modal__note {
    padding: 1.2rem 1.6rem 0;
    color: rgba(255, 255, 255, .65);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.video-modal__close {
    position: absolute;
    top: -52px;
    right: 0;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--white);
}

/* --- Profils -------------------------------------------------------------- */

.profiles {
    position: relative;
    margin-top: 5rem;
}

.profiles-lede {
    max-width: 70ch;
    color: var(--ink-2);
    font-size: var(--font-size-lg);
}

.profiles-illu {
    display: block;
    width: clamp(18rem, 12.795rem + 6.768vw, 22rem);
    opacity: .9;
}

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

.profile-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border: var(--border);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-card);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
	background-color: white;
}

.profile-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 1/1;
	border-radius: var(--r) var(--r) 0 0;
    position: relative;
}

.profile-card__media::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	z-index: 1;
    height: 100%;
	background: var(--red-500);
	mix-blend-mode: multiply;
	opacity: .1;
	pointer-events: none;
}

.profile-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
    filter: saturate(.8);
}

.profile-card__body {
	display: grid;
	justify-items: start;
	gap: 8px;
	padding: 2.2rem 8rem 4.2rem 2.2rem;
}

.profile-card__title {
	font-family: var(--font-display);
	font-size: clamp(2rem, .889rem + 1.184vw, 2.5rem);
	letter-spacing: -.08rem;
	line-height: 1;
	margin-bottom: .4rem;
	margin-top: .2rem;
}

.profile-card__desc {
	color: var(--ink-2);
	line-height: 1.65;
}

.profile-card .round-btn {
    position: absolute;
    right: 18px;
    bottom: 18px;
}

@media (hover: hover) and (pointer: fine) {
    .profile-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

    .profile-card:hover .profile-card__media img {
        transform: scale(1.04);
    }

    .profile-card:hover .round-btn {
        background: var(--red-500);
        color: var(--white);
        transform: rotate(45deg);
        border: var(--red-500);
    }
}

/* --- Mises en avant : CCDL et groupes ------------------------------------- */

.highlights,
.home .section.groups {
	position: relative;
	background-color: white;
	border-top: var(--border);
	border-bottom: var(--border);
}

.method {
	position: relative;
	background-color: var(--white);
	border-top: var(--border);
	border-bottom: var(--border);
}

.post-57 .method,
.post-58 .method,
.post-59 .method {
	background-color: transparent;
	border-top: none;
	border-bottom: none;
}

.highlights__grid {
    display: grid;
    gap: 20px;
}

.groups__grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 4vw, 56px);
}

.groups__illu {
	width: clamp(20rem, 6.988rem + 16.92vw, 30rem);
	height: auto;
	margin-inline: auto;
	opacity: .9;
}

.ccdl-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(3rem, -1.506rem + 8.46vw, 10rem);
}

.ccdl-card__body {
	display: grid;
	align-content: center;
	justify-items: start;
}

.ccdl-card__body .eyebrow {
    margin: 0;
}

.ccdl-card__title {
	color: var(--ink);
	font-family: var(--font-display);
	font-size: var(--font-size-section-title);
	letter-spacing: -.08rem;
	line-height: 1.05;
	margin-block: 1rem 2.4rem;
}

.ccdl-card__desc {
    max-width: 56ch;
    color: var(--ink-2);
    font-size: var(--font-size-lg);
    margin-bottom: 2rem;
}

.ccdl-card .check-list {
	font-size: var(--font-size-lg);
	color: var(--ink-2);
	margin-bottom: 4rem;
}

.ccdl-card .check-list .icon {
    color: var(--red-500);
    position: relative;
}

.ccdl-card__media {
	position: relative;
	overflow: hidden;
	max-width: clamp(36rem, 22.988rem + 16.92vw, 46rem);
	border-radius: 26px;
	aspect-ratio: 4/5;
    box-shadow: var(--shadow-img);
}

.ccdl-card__media::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	z-index: 1;
	height: 100%;
	background: var(--red-500);
	mix-blend-mode: multiply;
	opacity: .1;
	pointer-events: none;
}

.ccdl-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 42% 50%;
    filter: saturate(.8);
}

.group-card {
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 3vw, 34px);
    border: var(--border);
    border-radius: var(--r-xl);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.group-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.2rem;
	margin-bottom: 1.6rem;
}

.group-card__title {
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 1.359rem + 1.354vw, 3.2rem);
	font-weight: 400;
	letter-spacing: -.02rem;
	line-height: 1;
}

.sessions {
    display: grid;
}

.session {
    display: grid;
    gap: 12px;
    padding-block: 18px;
    border-top: 1px solid var(--line-soft);
}

.session:last-child {
    padding-bottom: 0;
}

.session__title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-bottom: .6rem;
	font-family: var(--font-serif);
	font-size: clamp(1.6rem, 1.08rem + 0.677vw, 2rem);
	font-weight: 700;
	line-height: 1;
}

.session__title::before {
	content: "";
	width: 12px;
	height: 12px;
	border: 1px solid var(--line-strong);
	border-radius: 3px;
	position: relative;
	top: 1px;
}

.session__side {
	display: flex;
	align-items: flex-end;
	gap: 3rem;
}

.session__side .gauge {
    flex: 1;
}

.group-card__foot {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin-top: auto;
	padding: 14px 16px;
	border-radius: 16px;
	background: var(--grey-100);
	color: var(--ink-2);
	line-height: 1;
	border: var(--border);
}

.group-card__foot .icon {
    color: var(--red-500);
}

.group-card__foot a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .1s;
}

@media (hover: hover) and (pointer: fine) {
    .group-card__foot a:hover {
        color: var(--red-500);
    }
}

.sessions {
    margin-bottom: 22px;
}

.format-who__head .format-who__illustration {
    width: clamp(6rem, .795rem + 6.768vw, 10rem);
    margin: 0 auto 1rem;
}

#format-who-title.section-title {
	text-align: center;
	max-width: none;
}

/* --- Matières ------------------------------------------------------------- */

.subjects {
    position: relative;
}

.subjects__symbols {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    opacity: .3;
}

.subject-symbol {
    position: absolute;
    top: var(--y);
    left: var(--x);
    transition:
        top 1.4s var(--ease) var(--scatter-delay),
        left 1.4s var(--ease) var(--scatter-delay),
        opacity .8s var(--scatter-delay),
        transform 1.4s var(--ease) var(--scatter-delay);
}

.js .subjects__symbols:not(.is-scattered) .subject-symbol {
    top: 45%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.4);
}

.subject-symbol__art {
    display: block;
    height: auto;
    overflow: visible;
    transform: rotate(var(--r));
    animation: symbol-float var(--dur) var(--delay) ease-in-out infinite;
}

.subjects__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.subject-group {
    padding: clamp(22px, 3vw, 30px);
    border: var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-card);
    background-color: var(--white);
}

.subject-group__head {
    margin-bottom: 2rem;
}

.subject-group__head h3 {
	margin-bottom: .7rem;
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 1.38rem + 0.677vw, 2.3rem);
	font-weight: 700;
	line-height: 1;
}

.subject-group__head p {
	color: var(--ink-2);
	font-size: var(--font-size-md);
	max-width: 40rem;
}

.subject-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.subject {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 10px 14px 10px 10px;
    border: var(--border);
    border-radius: 18px;
    background: var(--white);
    font-weight: 600;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.subject__code {
    display: grid;
    flex: none;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-family: var(--font-serif);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.subject__label {
    min-width: 0;
}

.subject__arrow {
    margin-left: auto;
    opacity: .35;
    transition: opacity .2s, transform .2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .subject:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
    }

    .subject:hover .subject__arrow {
        opacity: 1;
        transform: translateX(3px);
    }
}

.subjects__online {
    grid-column: 1 / -1;
    display: flex;
    overflow: hidden;
    border: var(--border);
    border-radius: var(--r-xl);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.subjects__online-media {
    position: relative;
    flex: none;
    width: 42%;
    min-height: 40rem;
}

.subjects__online-media::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: 100%;
    background: var(--red-500);
    mix-blend-mode: multiply;
    opacity: .1;
    pointer-events: none;
}

.subjects__online-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.8);
}

.subjects__online-body {
    --online-illu: 190px;

    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: clamp(26px, 3vw, 38px) clamp(24px, 4vw, 44px);
    border-left: var(--border);
}

.subjects__online-title {
	display: flex;
    align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 1.619rem + 1.015vw, 3rem);
	line-height: 1;
	margin-bottom: .3rem;
}

.subjects__online-desc {
	max-width: 58rem;
	color: var(--ink-2);
	font-size: var(--font-size-md);
}

.subjects__online-title .icon {
	color: var(--red-500);
	stroke-width: 1.35;
	position: relative;
	top: 1px;
	width: 3.4rem;
	height: 3.4rem;
}

/* --- Méthode -------------------------------------------------------------- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    counter-reset: step;
}

.step {
	position: relative;
	display: grid;
	align-content: start;
	gap: 10px;
	padding: 24px;
	border: var(--border);
	border-radius: var(--r-lg);
	background: var(--white);
	color: var(--ink-2);
	font-size: var(--font-size-md);
	box-shadow: var(--shadow-card);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .step:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
    }
}

.step__num {
	position: absolute;
	top: 22px;
	right: 26px;
	color: var(--red-500);
	font-family: var(--font-text);
	font-size: var(--font-size-md);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.step__icon {
	display: grid;
	place-items: center;
	width: 4.8rem;
	height: 4.8rem;
	margin-bottom: 8px;
	border: var(--border);
	color: var(--ink-2);
	border-radius: 50%;
}

.step__title {
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1;
}

.profiles,
.ccdl-levels__grid,
.ccdl-how,
.ccdl-sessions, 
.groups,
.subjects,
.proof,
.teachers,
.reviews,
.faq__grid {
    background-image: radial-gradient(ellipse 60% 50% at 50% 50%,
        rgba(var(--halo-rgb), calc(var(--halo-peak)        )) 0%,
        rgba(var(--halo-rgb), calc(var(--halo-peak) * .95  )) 40%,
        rgba(var(--halo-rgb), calc(var(--halo-peak) * .78  )) 62%,
        rgba(var(--halo-rgb), calc(var(--halo-peak) * .44  )) 80%,
        rgba(var(--halo-rgb), calc(var(--halo-peak) * .14  )) 92%,
        rgba(var(--halo-rgb), 0) 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.profiles,
.ccdl-levels__grid,
.ccdl-how,
.ccdl-sessions, 
.groups,
.subjects,
.proof,
.teachers,
.reviews,
.faq__grid {
    --halo-rgb: 255, 255, 255;
    --halo-peak: 1;
}

/* --- Preuves (bento) ------------------------------------------------------ */

.proof__hat {
    display: block;
    width: clamp(8rem, 5.918rem + 2.707vw, 9.6rem);
    height: auto;
    margin: 0 auto 1.4rem;
    opacity: .9;
}

.bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
        "results      results teachers photo"
        "results      results hours    photo"
        "satisfaction reasons reasons  reasons";
    gap: 16px;
}

.bento__cell {
    position: relative;
    padding: 26px;
    border: var(--border);
    border-radius: var(--r-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.bento__cell:nth-child(1) { grid-area: results; }
.bento__cell:nth-child(2) { grid-area: teachers; }
.bento__cell:nth-child(3) { grid-area: hours; }
.bento__cell:nth-child(4) { grid-area: satisfaction; }
.bento__cell:nth-child(5) { grid-area: photo; }
.bento__cell:nth-child(6) { grid-area: reasons; }

.bento__cell p {
    color: var(--ink-2);
    font-size: var(--font-size-md);
}

.bento__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(4rem, 2.88rem + 2vw, 5.6rem);
    font-weight: 400;
    letter-spacing: -.01em;
    line-height: 1;
}

.bento__value small {
    font-size: clamp(1.8rem, 0.759rem + 1.354vw, 2.6rem);
    padding-left: 2px;
}

.bento__cell--hero .bento__value small {
    font-size: clamp(3.6rem, -0.304rem + 5.076vw, 6.6rem);
}

.bento__value.is-counting {
    font-variant-numeric: tabular-nums;
}

.bento__cell--hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    background: var(--grey-50);
}

.bento__cell--hero .bento__value {
    font-size: clamp(8rem, 4.8rem + 7vw, 15.2rem);
    color: var(--red-500);
}

.bento__cell--hero p {
	max-width: 18ch;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 3.4rem;
	font-weight: 400;
	line-height: 1.15;
}

.bento__cell--photo {
    overflow: hidden;
    padding: 0;
    position: relative;
}

.bento__cell--photo::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: 100%;
    background: var(--red-500);
    mix-blend-mode: multiply;
    opacity: .1;
    pointer-events: none;
}
.bento__cell--photo video {
    filter: saturate(.8);
}

.bento__cell--photo :is(img, video) {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento__cell--list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: center;
    background: var(--white);
}

.bento__cell--list li {
	display: flex;
	gap: 1rem;
	color: var(--ink-2);
	line-height: 1.65;
	flex-direction: column;
}

.bento__cell--list strong {
    display: block;
    color: var(--ink);
}

.reason-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border: var(--border);
    border-radius: 50%;
}

/* --- Les enseignants ------------------------------------------------------ */

.section-head__aside .link-arrow,
.subjects__online-body .link-arrow {
    margin-top: 1.4rem;
}

.section-head__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.8rem;
}

.teachers .section-head__actions {
    margin-top: 2.8rem;
}

.teachers__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* --- Les enseignants en piste défilante ----------------------------------- */

.teachers--carousel .teachers__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * 24px) / 3);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-block: 8px 32px;
    margin-block: -8px -32px;
    scrollbar-width: none;
}

.teachers--carousel .teachers__grid::-webkit-scrollbar {
    display: none;
}

.teachers--carousel .teacher {
    scroll-snap-align: start;
}

.teachers--carousel .teachers__grid:focus-visible {
    outline: var(--bw) solid var(--red-500);
    outline-offset: 8px;
    border-radius: 4px;
}

.teachers--carousel .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3.2rem;
}

.teachers__nav {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}

.teachers__arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: var(--border);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    transition: border-color .2s var(--ease), color .2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .teachers__arrow:hover:not(:disabled) {
        border-color: var(--red-500);
        color: var(--red-500);
    }
}

.teachers__arrow:disabled {
    color: var(--line);
    cursor: default;
}

.teachers__arrow--prev .icon {
    transform: rotate(180deg);
}

.teacher {
    --teacher-tint: .1;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    border: var(--border);
    border-radius: var(--r-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .teacher:hover {
        box-shadow: 0 22px 34px -24px rgba(0, 0, 0, .26);
        transform: translateY(-4px);
    }
}

.teacher::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    aspect-ratio: 4 / 3;
    background: var(--red-500);
    mix-blend-mode: multiply;
    opacity: var(--teacher-tint);
    pointer-events: none;
}

.teacher__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 50% 22%;
    filter: saturate(.8);
}

.teacher__text {
    margin: 0;
    padding: 26px 26px 0;
    color: var(--ink-2);
    font-size: var(--font-size-md);
    line-height: 1.65;
}

.teacher__mark {
	display: block;
	width: 3.2rem;
	height: auto;
	margin-bottom: 1rem;
}

.teacher__text p {
    margin: 0;
}

.teacher__author {
    display: grid;
    gap: .4rem;
    margin-top: auto;
    padding: 3rem 2.6rem 2.6rem;
}

.teacher__author strong {
	font-family: var(--font-serif);
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 1;
}

.teacher__role {
	color: var(--grey-400);
	font-size: var(--font-size-sm);
}

/* --- Avis clients --------------------------------------------------------- */

.reviews__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .42fr);
    align-items: center;
    gap: clamp(24px, 5vw, 56px);
}

.reviews__lede {
	max-width: 60ch;
	color: var(--ink-2);
	font-size: var(--font-size-lg);
}

.teachers__lede {
	max-width: 64ch;
	color: var(--ink-2);
	font-size: var(--font-size-lg);
}

.reviews__illustration {
	justify-self: end;
	width: 100%;
	max-width: clamp(18rem, 12.795rem + 6.768vw, 22rem);
	height: auto;
	opacity: .9;
}

.reviews__score {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 3rem;
	margin-top: 5.6rem;
}

.reviews__score-line {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	margin: 0;
	color: var(--ink-2);
}

.reviews__score-line strong {
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 3rem;
	font-weight: 600;
	line-height: 1;
	padding-right: 2px;
}

.reviews__score-sep {
	width: 1px;
	height: 1.1rem;
	background: var(--line-strong);
	position: relative;
	top: 1px;
}

.stars {
    display: inline-flex;
    gap: 2px;
}

.stars .icon {
    width: 15px;
    height: 15px;
    fill: var(--grey-300);
    stroke: none;
}

.stars .icon.is-on {
    fill: var(--red-500);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.review {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 28px;
    border: var(--border);
    border-radius: var(--r-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .review:hover {
        transform: translateY(-3px);
    }
}

.review--feature {
    grid-column: span 2;
    gap: 22px;
    background: var(--red-50);
    border-color: var(--red-100);
}

.review--feature .stars .icon {
	width: 19px;
	height: 19px;
}

.review__text {
	margin: 0;
	color: var(--ink-2);
	font-size: var(--font-size-md);
    margin-bottom: 1rem;
}

.review__text::before { content: "«\00a0"; }
.review__text::after  { content: "\00a0»"; }

.review__text strong {
    color: var(--ink);
}

.review--feature .review__text {
	color: var(--ink);
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 2.01rem + 0.508vw, 2.7rem);
	font-style: italic;
	line-height: 1.35;
	text-wrap: pretty;
}

.review--feature .review__text strong {
    color: var(--red-500);
    font-weight: 400;
}

.review__author {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: auto;
	color: var(--ink-2);
	font-size: var(--font-size-md);
}

.review__name {
	display: block;
	color: var(--ink);
}

.review__role,
.review__source,
.review__translated {
    display: block;
}

.review__source {
    font-size: var(--font-size-sm);
}

.review__translated {
    font-size: var(--font-size-sm);
    font-style: italic;
}

/* --- Partenaires ---------------------------------------------------------- */

.partners {
	padding-block: 6rem 7rem;
	background: white;
	border-top: var(--border);
	border-bottom: var(--border);
}

.partners__label {
	margin-bottom: 2.8rem;
	color: var(--ink-2);
	font-size: var(--font-size-2xs);
	font-weight: 600;
	letter-spacing: .08em;
	text-align: center;
	text-transform: uppercase;
}

.partners__viewport {
    position: relative;
    overflow: hidden;
}

.partners__viewport::before,
.partners__viewport::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    width: clamp(48px, 8vw, 140px);
    pointer-events: none;
}

.partners__viewport::before {
    left: 0;
    background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.partners__viewport::after {
    right: 0;
    background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

.partners__track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: partners-scroll 55s linear infinite;
}

.partners__track:focus-within {
    animation-play-state: paused;
}

@media (hover: hover) and (pointer: fine) {
    .partners__track:hover {
        animation-play-state: paused;
    }
}

.partners__row {
    display: flex;
    flex: none;
    align-items: center;
}

.partners__item {
	display: grid;
	place-items: center;
	margin-inline: clamp(20px, 2.6vw, 44px);
}

.partners__item img {
	width: auto;
	height: clamp(2.4rem, .578rem + 2.369vw, 3.8rem);
	filter: grayscale(1);
	opacity: .45;
	transition: opacity .25s var(--ease), filter .25s var(--ease);
}

.partners__item:focus-visible img {
    filter: grayscale(0);
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .partners__item:hover img {
        filter: grayscale(0);
        opacity: 1;
    }
}

.partners__item--invert img,
.partners__item--invert:focus-visible img {
    filter: grayscale(1) invert(1);
}

@media (hover: hover) and (pointer: fine) {
    .partners__item--invert:hover img {
        filter: grayscale(1) invert(1);
    }
}

.partners__item--invert:focus-visible img {
    opacity: .85;
}

@media (hover: hover) and (pointer: fine) {
    .partners__item--invert:hover img {
        opacity: .85;
    }
}

@keyframes partners-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .partners__track {
        animation: none;
    }

    .partners__viewport {
        overflow-x: auto;
    }
}

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

.faq__grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(32px, 6vw, 80px);
}

.faq__head {
    display: grid;
    justify-items: start;
    color: var(--ink-2);
}

.faq__head {
    position: sticky;
    top: 130px;
}

.faq__head .eyebrow {
    margin: 0;
}

.faq__head .section-title {
    color: var(--ink);
    margin-block: 1rem 4rem;
}

.profiles .section-title {
    margin-block: 1rem 3rem;
}

html[lang="en-GB"] .profiles .section-title {
	text-wrap: auto;
}

.faq__head .btn {
    margin-top: 1.2rem;
}

.faq__head .btn svg {
    position: relative;
    top: -.5px;
}

.faq__illustration {
    width: clamp(22rem, 14.193rem + 10.152vw, 28rem);
    margin: 4rem auto 0;
    opacity: .9;
}

.accordion {
    display: grid;
    gap: 12px;
}

.accordion__item {
	border: var(--border);
	border-radius: var(--r);
	background: var(--white);
	transition: background-color .2s, transform .2s;
	box-shadow: var(--shadow-card);
	padding: 2rem;
}

@media (hover: hover) and (pointer: fine) {
    .accordion__item:hover {
        transform: translateY(-2px);
    }
}

.accordion__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0;
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
	list-style: none;
    transition: color .1s;
}

@media (hover: hover) and (pointer: fine) {
    .accordion__item:hover summary {
        color: var(--red-500);
    }
}

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

.accordion__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 34px;
    height: 34px;
    border: var(--border);
    border-radius: 50%;
    background: var(--white);
    transition: transform .25s var(--ease), background-color .2s;
}

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

.accordion__item[open] .accordion__icon {
	background: var(--red-500);
	transform: rotate(45deg);
	color: white;
	border-color: var(--red-500);
}

.accordion__item p {
	padding: 0.4rem 8rem 0 0;
	color: var(--ink-2);
}

/* --- Appel à l'action ----------------------------------------------------- */

.cta__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px 48px;
    overflow: hidden;
    padding: clamp(32px, 6vw, 72px);
    border: var(--border);
    border-radius: var(--r-xl);
    background: linear-gradient(
        135deg,
        var(--red-500) 0%,
        color-mix(in srgb, var(--red-500) 88%, transparent) 55%,
        color-mix(in srgb, var(--red-500) 65%, transparent) 100%
    );
    box-shadow: var(--shadow-card);
    color: white;
}

.cta__panel > .cah-logo--roof {
	position: absolute;
	top: -1rem;
	right: -7rem;
	width: 30rem;
	opacity: .5;
}

.cta__panel > .cah-logo--roof .logo-picto {
    fill: var(--red-300);
}

.cta__text {
    position: relative;
    display: grid;
    gap: 2.6rem;
    max-width: 40rem;
    font-size: var(--font-size-xl);
}

.cta__title {
	font-family: var(--font-display);
	font-size: clamp(3rem, 3.8vw, 6.2rem);
	letter-spacing: -.05rem;
	line-height: 1.1;
    text-wrap: balance;
}

.cta[aria-labelledby="matiere-cta-title"] .cta__title,
.cta[aria-labelledby="matiere-archive-cta"] .cta__title {
    font-size: clamp(3rem, 0.137rem + 3.723vw, 5.2rem);
}

.cta[aria-labelledby="matiere-cta-title"] .cta__text {
	font-size: var(--font-size-lg);
}

.cta__actions {
    position: relative;
    display: grid;
    gap: 12px;
}

.cta__actions .btn {
    height: 48.8px;
}

.cta__actions .btn--light {
    color: var(--red-500);
    border: 1px solid white;
    font-size: var(--font-size-base)
}

.cta__actions .btn--light span {
    position: relative;
    top: .5px;
}

.cta__panel :focus-visible {
    outline-color: var(--ink);
}

/* =============================================================================
   8. PIED DE PAGE
   ========================================================================== */

.site-footer {
	--halo: 14%;

	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: 8rem 3rem;
	background: var(--white);
	border-top: var(--border);
}

.site-footer .cah-logo--logo {
    height: 40px;
}

.site-footer__illu {
    position: absolute;
    right: -40px;
    bottom: -60px;
    z-index: -1;
    width: clamp(220px, 28vw, 420px);
    height: auto;
    opacity: .35;
    pointer-events: none;
}

.site-footer__grid {
	display: flex;
	gap: 4rem;
	justify-content: space-between;
}

.site-footer__nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10rem;
}

.site-footer__brand {
    display: grid;
    justify-items: start;
    align-content: start;
    gap: 18px;
    max-width: 30rem;
}

.site-footer__phone {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: 10px 18px 9px;
	border: var(--border);
	border-radius: 999px;
	color: var(--ink-2);
	font-weight: 600;
	transition: all .2s;
	margin-top: 1rem;
}

@media (hover: hover) and (pointer: fine) {
    .site-footer__phone:hover {
        border-color: var(--red-500);
        color: var(--red-500);
        transform: translateY(-2px);
    }
}

.site-footer__phone .icon {
    position: relative;
    top: -.5px;
}

.site-footer__social {
    display: flex;
    gap: 10px;
    margin-top: .4rem;
}

.site-footer__social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: var(--border);
    border-radius: 50%;
    color: var(--ink-2);
    transition: color .2s, border-color .2s, transform .2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .site-footer__social a:hover {
        border-color: var(--red-500);
        color: var(--red-500);
        transform: translateY(-2px);
    }
}

.site-footer__social .brand-icon {
    width: 17px;
    height: 17px;
}

.site-footer__title {
	margin-bottom: 1.2rem;
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: var(--font-size-xl);
	font-weight: 700;
}

.site-footer__col ul {
	display: grid;
	gap: .7rem;
	color: var(--ink-2);
}

@media (hover: hover) and (pointer: fine) {
    .site-footer a:not(.site-footer__phone):hover {
        color: var(--red-500);
    }
}

.site-footer :focus-visible {
    outline-color: var(--red-500);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin-top: 7rem;
	padding-top: 1.6rem;
	border-top: 1px solid var(--line);
	font-size: var(--font-size-sm);
	font-weight: 500;
	color: var(--ink-2);
}

.site-footer__credit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.site-footer__credit span + span::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin-inline-end: 10px;
	border-radius: 50%;
	vertical-align: middle;
	background: var(--grey-300);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.whatsapp-fab {
	position: fixed;
	right: 3.2rem;
	bottom: 3.2rem;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	max-width: 56px;
	padding: 14px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--red-500);
	box-shadow: 0 6px 24px -8px rgba(0, 0, 0, .35);
	color: var(--white);
	font-weight: 700;
	white-space: nowrap;
	transition: max-width .35s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), opacity .3s, visibility .3s;
}

.whatsapp-fab:focus-visible {
    max-width: 23rem;
    box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .4);
}

@media (hover: hover) and (pointer: fine) {
    .whatsapp-fab:hover {
        max-width: 23rem;
        box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .4);
    }
}

.whatsapp-fab__glyph {
    flex: none;
    width: 28px;
    height: 28px;
}

.whatsapp-fab__label {
    font-size: var(--font-size-sm);
    opacity: 0;
    transition: opacity .2s var(--ease);
}

.whatsapp-fab:focus-visible {
    outline-color: var(--ink);
}
.whatsapp-fab:focus-visible .whatsapp-fab__label {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .whatsapp-fab:hover .whatsapp-fab__label {
        opacity: 1;
    }
}

/* =============================================================================
   9. PAGES LÉGALES
   ========================================================================== */

.legal {
    padding-block: clamp(4rem, 6vw, 7rem) var(--section-space);
}

.legal__grid {
    display: grid;
    gap: clamp(3rem, 5vw, 5.5rem);
    align-items: start;
}

/* --- En-tête -------------------------------------------------------------- */

.legal__head-split {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.legal__title {
    margin-top: 1.2rem;
    font-family: var(--font-display);
    font-size: clamp(3.8rem, 5.4vw, 5.6rem);
    font-weight: 600;
    letter-spacing: -.06rem;
    line-height: 1.08;
    text-wrap: balance;
}

.legal__head-main {
    display: grid;
    grid-template-columns: 30rem 1fr;
    gap: clamp(3rem, 5vw, 5.5rem);
}

.legal__updated {
	color: var(--ink-2);
	font-size: var(--font-size-sm);
	font-style: italic;
}

.legal__lead {
	margin-top: 2.4rem;
	padding-top: 2.4rem;
	border-top: var(--border);
	color: var(--ink-2);
	font-size: var(--font-size-md);
	line-height: 1.65;
}

.legal__lead p + p {
    margin-top: 1.2rem;
}

/* --- Colonne de gauche ---------------------------------------------------- */

.legal__aside {
    position: sticky;
    top: calc(var(--header-bar-h) + 6rem);
    font-size: var(--font-size-sm);
}

.legal__aside-title {
    margin-bottom: 1.2rem;
    color: var(--ink-2);
    font-size: var(--font-size-2xs);
    font-weight: 700;
    letter-spacing: .12rem;
    text-transform: uppercase;
}

.legal__toc ol {
    counter-reset: legal-toc;
    border-left: var(--border);
}

.legal__toc li {
    counter-increment: legal-toc;
}

.legal__toc a {
    display: flex;
    gap: 1rem;
    padding: .7rem 0 .7rem 1.6rem;
    margin-left: -1px;
    border-left: 1px solid transparent;
    color: var(--ink-2);
    line-height: 1.35;
    transition: color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.legal__toc a::before {
	content: counter(legal-toc);
	flex: none;
	width: 1.8rem;
	color: var(--grey-400);
	font-variant-numeric: tabular-nums;
	transition: color .2s var(--ease);
	font-size: var(--font-size-xs);
}

@media (hover: hover) and (pointer: fine) {
    .legal__toc a:hover {
        color: var(--ink);
    }
}

.legal__toc a.is-active {
    border-left-color: var(--red-500);
    box-shadow: inset 1px 0 0 var(--red-500);
    color: var(--ink);
}

.legal__toc a.is-active::before {
    color: var(--red-500);
}

.legal__toc .is-self-numbered a::before {
    display: none;
}

.legal__related {
    margin-top: 5rem;
}

.legal__related a {
	display: flex;
	align-items: center;
	gap: .8rem;
	padding: .2rem 0;
	font-weight: 600;
	transition: color .2s var(--ease);
}

.legal__related a .icon {
	width: 1.6rem;
	height: 1.6rem;
	color: var(--red-500);
	transition: transform .2s var(--ease);
	top: .5px;
	position: relative;
}

@media (hover: hover) and (pointer: fine) {
    .legal__related a:hover {
        color: var(--red-500);
    }

    .legal__related a:hover .icon {
        transform: translateX(3px);
    }
}

.legal__help {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .5rem;
	margin-top: 2.2rem;
	padding: 1.5rem 1.8rem;
	border: var(--border);
	border-radius: var(--r-sm);
	background: var(--grey-50);
	color: var(--ink-2);
	background: white;
	max-width: 22rem;
}

.legal__phone {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	color: var(--ink);
	font-weight: 600;
}

.legal__phone .icon {
    width: 1.7rem;
    height: 1.7rem;
    color: var(--red-500);
    stroke-width: 1.6;
}

@media (hover: hover) and (pointer: fine) {
    .legal__phone:hover {
        color: var(--red-500);
    }
}

/* --- Corps du document ---------------------------------------------------- */

.legal__body,
.prose {
    color: var(--ink-2);
}

.legal__body > * + *,
.prose > * + * {
    margin-top: 1.6rem;
}

.legal__body h2,
.prose h2 {
	margin-top: 5rem;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 1.819rem + 1.015vw, 3.2rem);
	font-weight: 600;
	line-height: 1.2;
}

.legal__body > h2:first-child,
.prose > h2:first-child {
    margin-top: 0;
}

.legal__body h3,
.prose h3 {
    margin-top: 3.2rem;
    color: var(--ink);
    font-size: var(--font-size-lg);
    font-weight: 700;
    line-height: 1.35;
}

.legal__body h2 + *,
.legal__body h3 + *,
.prose h2 + *,
.prose h3 + * {
    margin-top: 1.2rem;
}

.legal__body strong,
.prose strong {
    color: var(--ink);
    font-weight: 600;
}

.legal__body a,
.prose a,
.reviews__lede a {
	text-decoration: underline;
	text-decoration-color: var(--red-300);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	transition: color .2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .legal__body a:hover,
    .prose a:hover,
    .reviews__lede a:hover {
        color: var(--red-500);
        text-decoration-color: var(--red-500);
    }
}

.legal__body ul,
.legal__body ol,
.prose ul,
.prose ol {
    padding-left: 2.2rem;
    list-style: revert;
}

.legal__body li + li,
.prose li + li {
    margin-top: .8rem;
}

.legal__body li::marker,
.prose li::marker {
    color: var(--red-400);
}

.legal__body address,
.prose address {
    font-style: normal;
}

.legal__body table,
.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
    text-align: left;
}

.legal__body th,
.legal__body td,
.prose th,
.prose td {
    padding: 1.2rem 1.4rem;
    border: var(--border);
    vertical-align: top;
}

.legal__body th,
.prose th {
    background: var(--grey-100);
    color: var(--ink);
    font-weight: 600;
}

.legal mark,
.ccdl mark,
.matiere mark {
    padding: .1em .4em;
    border-radius: 4px;
    background: var(--red-100);
    color: var(--red-700);
    font-weight: 600;
}

/* =============================================================================
   10. CONTACT ET FORMULAIRE
   ========================================================================== */

.contact {
    padding-block: clamp(4rem, 6vw, 7rem) var(--section-space);
}

.contact__grid {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
	grid-template-columns: minmax(0, 1fr) 25rem;
	column-gap: clamp(3rem, 3vw, 7rem);
}

.contact__head { grid-column: 1 / -1; }
.contact__form { grid-column: 1; grid-row: 2; }

.contact__aside {
    position: sticky;
    top: calc(var(--header-bar-h) + 3.4rem);
    grid-column: 2;
    grid-row: 2;
}

/* --- En-tête -------------------------------------------------------------- */

.contact__head {
    display: grid;
    gap: 2.4rem;
}

.contact__intro {
    max-width: 70rem;
}

.page-template-page-teacher .contact__intro {
    max-width: 60rem;
}

.contact__illu {
	width: 24rem;
	margin-top: 6rem;
    opacity: .9;
}

.contact__title {
    margin-top: 1.2rem;
    font-family: var(--font-display);
    font-size: clamp(4rem, 1.918rem + 2.707vw, 5.6rem);
    font-weight: 600;
    letter-spacing: -.06rem;
    line-height: 1.08;
    text-wrap: balance;
}

.contact__lead {
    margin-top: 1.8rem;
    color: var(--ink-2);
    font-size: var(--font-size-md);
    line-height: 1.55;
}

.contact__lead p + p {
    margin-top: 1.2rem;
}

/* --- Colonne de droite ---------------------------------------------------- */

.contact__aside-title {
    margin-bottom: 1.4rem;
    color: var(--ink-2);
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: .12rem;
    text-transform: uppercase;
}

.contact__channels {
    display: grid;
    gap: 2rem;
}

.contact__channels a {
	display: flex;
	align-items: center;
	gap: 1rem;
}

@media (hover: hover) and (pointer: fine) {
    .contact__channels a:hover .contact__channels-text strong {
        color: var(--red-500);
    }
}

.contact__channels .icon,
.contact__channels svg,
.contact__channels img {
    flex: none;
    width: 1.8rem;
    height: 1.8rem;
}

.contact__channels-icon {
	background: white;
	border-radius: 50%;
	border: var(--border);
	color: var(--ink-2);
	height: 4rem;
	width: 4rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact__channels .icon {
    stroke-width: 1.7;
}

.contact__channels .contact__channels-text {
    display: grid;
    color: var(--ink-2);
    font-size: var(--font-size-sm);
}

.contact__channels strong {
    color: var(--ink);
    font-size: var(--font-size-base);
}

.contact__promise {
	margin-top: 3rem;
	color: var(--ink-2);
	font-size: var(--font-size-xs);
}

.contact__promise p {
    display: flex;
    gap: 1rem;
}

.contact__promise .icon {
    flex: none;
    width: 1.8rem;
    height: 1.8rem;
    color: var(--red-500);
    margin-top: .3rem;
}

.contact__teacher {
    display: grid;
    gap: .6rem;
    margin-top: 2.8rem;
    padding-top: 2.4rem;
    border-top: var(--border);
    color: var(--ink-2);
    font-size: var(--font-size-sm);
}

.contact__teacher .link-arrow {
    justify-self: start;
    color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
    .contact__teacher:hover .link-arrow {
        color: var(--red-500);
    }
}

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

.request {
    display: grid;
    padding: clamp(2.6rem, 4vw, 4.4rem);
    border: var(--border);
    border-radius: var(--r-xl);
    background: var(--white);
    box-shadow: var(--shadow-float);
    counter-reset: request-step;
}

.request__block {
    margin: 0;
    padding: 0;
    border: 0;
}

.request__step {
    counter-increment: request-step;
}

.request__step + .request__step {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: var(--border);
}

.request__steptitle {
	display: block;
	width: 100%;
	margin-bottom: 1.8rem;
	padding: 0;
	color: var(--ink);
	font-weight: 600;
	scroll-margin-top: calc(var(--header-bar-h) + 3rem);
	font-size: var(--font-size-md);
	letter-spacing: -0.03rem;
}

legend.request__steptitle,
.request__sublegend {
    float: left;
}

.request__block > *:not(legend),
.request__step > *:not(legend),
.request__question > *:not(legend) {
    clear: both;
}

.request__steptitle::before {
	content: counter(request-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.8rem;
	height: 3.8rem;
	margin-right: 1rem;
	border: 1px solid var(--grey-200);
	border-radius: 999px;
	font-family: var(--font-text);
	font-size: var(--font-size-base);
	font-weight: 600;
	vertical-align: middle;
	color: var(--red-500);
	position: relative;
	bottom: 1px;
}

.request__sublegend {
	display: block;
	width: 100%;
	margin-bottom: .6rem;
	padding: 0;
	color: var(--ink-2);
	font-size: var(--font-size-2xs);
	font-weight: 700;
	letter-spacing: .06rem;
	text-transform: uppercase;
	scroll-margin-top: calc(var(--header-bar-h) + 3rem);
}

.request__question {
    margin: 0;
    padding: 0;
    border: 0;
}

.request__questions {
    display: grid;
    gap: 2.4rem;
    clear: both;
}

.request__questions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem 3rem;
}

.request__panel {
    display: grid;
    gap: clamp(2.4rem, 3vw, 3.4rem);
    clear: both;
}

.request__panel[hidden] {
    display: none;
}

.request__choices {
	gap: .8rem .6rem;
	clear: both;
	display: flex;
}

.request__choices--cards {
    display: grid;
    gap: 1.2rem;
}

.request__question--wide {
    grid-column: 1 / -1;
}

.request__choices--wrap {
    flex-wrap: wrap;
}

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

/* --- Choix : pastilles et cartes ------------------------------------------ */

.choice-pill input,
.choice-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.choice-pill {
    display: block;
    position: relative;
}

.choice-pill span {
	display: block;
	padding: 8px 16px;
	text-align: center;
	border: var(--border);
	border-radius: 999px;
	background: var(--grey-50);
	font-weight: 600;
	cursor: pointer;
	transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
	font-size: var(--font-size-xs);
	color: var(--ink-2);
}

@media (hover: hover) and (pointer: fine) {
    .choice-pill:hover span {
        border-color: var(--line-strong);
        color: var(--red-500);
    }
}

.choice-pill input:checked + span {
	border-color: var(--red-300);
	background: var(--red-50);
	color: var(--red-500);
}

.choice-card {
    display: block;
    position: relative;
    cursor: pointer;
}

.choice-card__body {
    display: grid;
    position: relative;
    height: 100%;
    padding: 1.8rem 5rem 1.8rem 2rem;
    border: var(--border);
    border-radius: var(--r-sm);
    background: var(--white);
    color: var(--ink-2);
    font-size: var(--font-size-sm);
    transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .choice-card:hover .choice-card__body {
        border-color: var(--line-strong);
    }
}

.choice-card strong {
	color: var(--ink);
	font-size: var(--font-size-base);
	margin-bottom: 0.3rem;
}

.choice-card__icon .icon {
	width: 1.9rem;
	height: 1.9rem;
	margin-bottom: .4rem;
	color: var(--red-500);
	stroke-width: 1.7;
}

.choice-card__body::after {
    content: "";
    position: absolute;
    top: 1.8rem;
    right: 1.8rem;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--white);
    transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.choice-card input:checked + .choice-card__body {
    border-color: var(--line-strong);
    background: var(--grey-50);
}

.choice-card input:checked + .choice-card__body::after {
    border-color: var(--red-500);
    background: var(--red-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") no-repeat center / 1.3rem;
}

.choice-pill input:focus-visible + span,
.choice-card input:focus-visible + .choice-card__body,
.check input:focus-visible {
    outline: 3px solid var(--red-500);
    outline-offset: 3px;
}

/* --- Champs --------------------------------------------------------------- */

.request__grid {
    display: grid;
    gap: 1.8rem;
    clear: both;
    margin-bottom: 2rem;
}

.request__grid:last-child {
    margin-bottom: 0;
}

.request__grid {
    grid-template-columns: 12rem minmax(0, 1fr) minmax(0, 1fr);
}

.field--title { grid-column: 1; }
.field--email { grid-column: 1 / 3; }
.field--phone { grid-column: 3; }
.field--wide  { grid-column: 1 / -1; }

.field {
    display: grid;
    gap: .3rem;
}

.field[hidden] {
    display: none;
}

.field label {
	color: var(--ink-2);
	font-size: var(--font-size-2xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06rem;
}

.field__optional {
	color: var(--grey-400);
	font-weight: 400;
	font-size: var(--font-size-2xs);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 11px 16px;
    border: var(--border);
    border-radius: var(--r-sm);
    background: var(--grey-50);
    font-family: inherit;
    font-size: var(--font-size-base);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    background: var(--grey-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1B1A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
    cursor: pointer;
}

.field textarea {
    resize: none;
    height: 180px;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--grey-400);
}

@media (hover: hover) and (pointer: fine) {
    .field input:hover,
    .field select:hover,
    .field textarea:hover {
        border-color: var(--line-strong);
    }
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--red-500);
    box-shadow: 0 0 0 3px var(--red-100);
    outline: none;
}

.field [aria-invalid="true"] {
    border-color: var(--red-500);
    background: var(--red-50);
}

.field__error {
    color: var(--red-700);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

/* --- Consentements -------------------------------------------------------- */

.request__consents {
	display: grid;
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: var(--border);
}

.check {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    color: var(--ink-2);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    cursor: pointer;
}

.check input {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	width: 2rem;
	height: 2rem;
	margin: 0;
	border: 1px solid var(--line-strong);
	border-radius: 5px;
	background: var(--white);
	cursor: pointer;
	transition: border-color .2s var(--ease), background-color .2s var(--ease);
	position: relative;
	bottom: 1px;
}

.check input:checked {
	border-color: var(--red-500);
	background: var(--red-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") no-repeat center / 1.2rem;
}

@media (hover: hover) and (pointer: fine) {
    .check a:hover {
        color: var(--red-500);
    }
}

/* --- Envoi ---------------------------------------------------------------- */

.request__submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
    margin-top: 2.4rem;
}

.request__submit p {
    color: var(--ink-2);
    font-size: var(--font-size-sm);
}

.request__submit .btn.btn--lg {
    font-size: var(--font-size-base);
}

.request__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- Candidature enseignant (page-teacher.php) ---------------------------- */

.request__questions--single {
    grid-template-columns: minmax(0, 1fr);
}

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

.field--cp   { grid-column: 1; }
.field--city { grid-column: 2 / -1; }

.page-template-page-teacher .request__step:nth-child(2) .request__questions {
    margin-bottom: 3rem;
}

.request__choices--tags {
    display: flex;
    flex-wrap: wrap;
}

.request__choices--tags .choice-pill span {
    padding: 8px 16px;
}

/* --- Dépôt du CV ---------------------------------------------------------- */

.field--file {
    margin-bottom: 2rem;
}

.field--file input {
    padding: 1.4rem 1.6rem;
    border: 1px dashed var(--line-strong);
    background: var(--grey-50);
    font-size: var(--font-size-sm);
    cursor: pointer;
}

.field--file input::file-selector-button {
    margin-right: 1.4rem;
    padding: 8px 16px;
    border: var(--border);
    border-radius: 999px;
    background: var(--white);
    font: inherit;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    transition: border-color .2s var(--ease), color .2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .field--file input:hover::file-selector-button {
        border-color: var(--line-strong);
        color: var(--red-500);
    }
}

.field__hint {
	color: var(--ink-2);
	font-size: var(--font-size-xs);
	margin-top: .3rem;
}

@media (hover: hover) and (pointer: fine) {
    .contact__promise a:hover {
        color: var(--red-500);
    }
}

/* --- Alerte et confirmation ----------------------------------------------- */

.request-done:focus,
.request-alert:focus {
    outline: none;
}

.request-alert {
    margin-bottom: 2rem;
    padding: 1.8rem 2rem;
    border: 1px solid var(--red-300);
    border-left: 4px solid var(--red-500);
    border-radius: var(--r-sm);
    background: var(--red-50);
    color: var(--ink);
}

.request-alert ul {
    margin-top: .8rem;
    display: grid;
    gap: .4rem;
    font-size: var(--font-size-sm);
}

.request-alert a {
    color: var(--red-700);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.request-done {
    padding: clamp(3rem, 5vw, 5rem);
    border: var(--border);
    border-radius: var(--r-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.request-done__icon {
    width: 5.6rem;
    height: 5.6rem;
    margin: 0 auto 2rem;
    padding: 1.4rem;
    border-radius: 999px;
    background: var(--red-50);
    color: var(--red-500);
}

.request-done h2 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 3.4vw, 3.6rem);
    font-weight: 600;
    line-height: 1.15;
}

.request-done p {
    max-width: 46ch;
    margin: 1.4rem auto 0;
    color: var(--ink-2);
}

.request-done__aside {
    padding-top: 2rem;
    font-size: var(--font-size-sm);
}

.request-done__aside a {
    color: var(--red-500);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =============================================================================
   11. PRÉPARATION CCDL
   ========================================================================== */

.ccdl-levels__grid {
    display: grid;
    grid-template-columns: clamp(28rem, -16.241rem + 57.53vw, 62rem) minmax(0, 1fr);
    align-items: start;
    gap: 5rem;
}

.ccdl-levels__head {
    grid-column: 2;
    grid-row: 1;
}

.ccdl-levels__head p:not(.eyebrow) {
    margin-top: 1.6rem;
    color: var(--ink-2);
    font-size: var(--font-size-lg);
    line-height: 1.55;
}

.ccdl-levels__head p.ccdl-levels__lead {
    margin-top: 3rem;
    font-size: var(--font-size-lg);
    line-height: 1.55;
}

.ccdl-levels__head p.ccdl-levels__points-label {
	margin-top: 2.8rem;
	color: var(--ink);
	font-size: var(--font-size-lg);
	font-weight: 600;
}

.ccdl-levels__points {
    display: grid;
    gap: 1.4rem;
    margin-top: 1.4rem;
    max-width: 52ch;
}

.ccdl-levels__points li {
	display: flex;
	gap: 1.2rem;
	color: var(--ink-2);
	font-size: var(--font-size-lg);
	line-height: 1.55;
}

.ccdl-levels__points-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 3.6rem;
	height: 3.6rem;
	margin-top: .1em;
	border: var(--border);
	border-radius: 50%;
	background: var(--white);
	color: var(--red-500);
}

.ccdl-levels__points-icon .icon {
	width: 1.6rem;
	height: 1.6rem;
	stroke-width: 1.7;
}

.ccdl-levels__points strong {
    color: var(--ink);
    font-weight: 600;
}

.ccdl-levels__tables {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    gap: 2rem;
}

.level-card {
    padding: 2.6rem 2.8rem;
    border: var(--border);
    border-radius: var(--r);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.level-card__title {
    margin-bottom: 1.6rem;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.level-card__list {
    display: grid;
    gap: .2rem;
}

.level-card__list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.6rem;
    padding-block: 1rem;
    color: var(--ink-2);
    font-size: var(--font-size-md);
}

.level-card__list li + li {
    border-top: var(--border);
}

.level-card__list strong {
    flex: none;
    font-family: var(--font-serif);
    font-size: var(--font-size-lg);
}

.ccdl-levels__foot {
	display: flex;
	align-items: center;
	gap: .8rem;
	color: var(--ink-2);
	font-size: var(--font-size-sm);
	line-height: 1.5;
}

.ccdl-levels__foot span:last-child {
	max-width: 44rem;
}

.ccdl-levels__foot-icon {
	border: var(--border);
	background-color: var(--white);
	width: 3.4rem;
	height: 3.4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	min-width: 3.4rem;
}

.ccdl-levels__foot .icon {
    flex: none;
    color: var(--red-500);
}

.ccdl-levels__illustration {
	width: clamp(12rem, 6.795rem + 6.768vw, 16rem);
	height: auto;
	margin: 3rem auto 0;
	opacity: .9;
}

.ccdl-sessions__note,
.ccdl-prices__note,
.format-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    grid-column: 1 / -1;
    padding: 1.6rem 1.8rem;
    border: 1px dashed var(--red-200);
    border-radius: var(--r-sm);
    background: var(--red-50);
    color: var(--red-700);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.ccdl-sessions__note .icon,
.ccdl-prices__note .icon,
.format-note .icon {
    flex: none;
    color: var(--red-500);
}

.format-note {
    margin-top: 2.4rem;
    max-width: 92rem;
}

.ccdl-prices__note {
    max-width: 62rem;
    margin: 3.2rem auto 0;
}

/* --- Fonctionnement ------------------------------------------------------- */

.ccdl-facts,
.format-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.ccdl-fact,
.format-fact {
	display: grid;
	align-content: start;
	padding: 2.6rem;
	border: var(--border);
	border-radius: var(--r);
	background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .ccdl-fact:hover,
    .format-fact:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
    }
}

.ccdl-fact__icon,
.format-fact__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem;
    height: 4.2rem;
    margin-bottom: 1.8rem;
    border: var(--border);
    border-radius: 50%;
    background: var(--white);
    color: var(--red-500);
}

.ccdl-fact__label,
.format-fact__label {
    color: var(--ink-2);
    font-size: var(--font-size-2xs);
    font-weight: 700;
    letter-spacing: .12rem;
    text-transform: uppercase;
}

.ccdl-fact__value,
.format-fact__value {
	margin-top: .6rem;
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: 1.8rem;
	font-weight: 700;
}

.matiere-body .format-fact__value {
    font-size: 1.6rem;
}

.ccdl-fact__desc,
.format-fact__desc {
	margin-top: 0rem;
	color: var(--ink-2);
	font-size: var(--font-size-sm);
	line-height: 1.5;
}

/* --- Pages de format : repères, pour qui ---------------------------------- */

.format-why .format-facts {
    margin-top: 8rem;
}

.format-who__lede {
	max-width: 54ch;
	margin-top: 3rem;
	color: var(--ink-2);
	font-size: var(--font-size-lg);
	line-height: 1.55;
	text-align: center;
	margin-inline: auto;
}

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

.format-audiences--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 92rem;
    margin-inline: auto;
}

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

.format-audience__photo {
    position: relative;
    display: block;
    flex: none;
    margin: 0;
    overflow: hidden;
    border-bottom: var(--border);
    border-radius: var(--r) var(--r) 0 0;
}

.format-audience__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--red-500);
    mix-blend-mode: multiply;
    opacity: .1;
    pointer-events: none;
}

.format-audience__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    filter: saturate(.8);
    transition: transform .4s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .format-audience:hover .format-audience__photo img {
        transform: scale(1.03);
    }
}

.post-57 .format-audience__photo img {
    aspect-ratio: 16 / 18;
}

/* --- Pages de format : la boucle vidéo à côté des étapes (en ligne) ------- */

.format-how__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    gap: 1.6rem;
    align-items: stretch;
}

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

.format-how__media {
    position: relative;
    overflow: hidden;
    min-height: 40rem;
    border: var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-card);
}

.format-how__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--red-500);
    mix-blend-mode: multiply;
    opacity: .1;
    pointer-events: none;
}

.format-how__media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.8);
}

.format-how__media .video-toggle {
    z-index: 2;
}

.ccdl-how__foot {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin-top: 2.4rem;
	padding-top: 1.4rem;
	border-top: var(--border);
	color: var(--ink-2);
}

.ccdl-how__foot .icon {
    flex: none;
    color: var(--red-500);
}

.ccdl-how__foot strong {
    color: var(--ink);
}

/* --- Prochaines sessions -------------------------------------------------- */

.ccdl-sessions__grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 5rem 8rem;
}

.ccdl-sessions__illustration {
	width: clamp(22rem, 11.591rem + 13.536vw, 30rem);
	opacity: .9;
	margin: 5rem auto 0;
}

.ccdl-sessions__head p:not(.eyebrow) {
    margin-top: 1.8rem;
    max-width: 34ch;
    color: var(--ink-2);
    font-size: var(--font-size-lg);
    line-height: 1.55;
}

.ccdl-sessions__head .btn {
    margin-top: 2.8rem;
}

.ccdl-sessions__table {
    overflow: hidden;
    border: var(--border);
    border-radius: var(--r);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.ccdl-sessions__table table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
}

.ccdl-sessions__table th,
.ccdl-sessions__table td {
    padding: 1.6rem 1.8rem;
    text-align: left;
}

.ccdl-sessions__table thead th {
    border-bottom: var(--border);
    background: var(--grey-50);
    color: var(--ink-2);
    font-size: var(--font-size-2xs);
    font-weight: 700;
    letter-spacing: .1rem;
    text-transform: uppercase;
}

.ccdl-sessions__table tbody tr + tr th,
.ccdl-sessions__table tbody tr + tr td {
    border-top: var(--border);
}

.ccdl-sessions__table tbody th {
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.ccdl-sessions__table tbody td {
    color: var(--ink-2);
}

/* --- Tarifs --------------------------------------------------------------- */

.ccdl-prices__illustration {
	width: 8rem;
	margin-inline: auto;
	margin-bottom: 2rem;
    opacity: .9;
}

.ccdl-prices__desc {
    text-align: center;
    margin-top: 5rem;
    font-size: var(--font-size-md);
}

.ccdl-packs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
    max-width: 88rem;
    margin-inline: auto;
}

.pack {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    position: relative;
    padding: 3.4rem 3.2rem;
    border: var(--border);
    border-radius: var(--r-lg);
    background: var(--grey-50);
    box-shadow: var(--shadow-card);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .pack:hover {
        box-shadow: var(--shadow-hover);
        border-color: var(--red-500);
        transform: translateY(-3px);
    }

    .pack:hover .btn.btn--outline {
        background-color: var(--red-500);
        border-color: var(--red-500);
        color: var(--white);
    }
}

.pack--featured {
    border-color: var(--red-500);
}

@media (hover: hover) and (pointer: fine) {
    .ccdl-packs:has(.pack:hover) .pack--featured:not(:hover) {
        border-color: var(--line);
    }

    .ccdl-packs:has(.pack:hover) .pack--featured:not(:hover) .btn--primary {
        border-color: var(--line);
        background: var(--white);
        color: var(--ink-2);
    }
}

.pack .badge {
    position: absolute;
    top: -1.2rem;
    left: 3.2rem;
}

.pack__title {
    color: var(--ink-2);
    font-size: var(--font-size-2xs);
    font-weight: 700;
    letter-spacing: .12rem;
    text-transform: uppercase;
}

.pack__price {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    margin-top: 1.4rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(4.6rem, 2rem + 3.384vw, 6.6rem);
    font-weight: 600;
    letter-spacing: -.1rem;
    line-height: 1;
}

.pack__price mark {
    padding: 0;
    border-radius: 0;
    background: none;
    color: var(--ink);
}

.pack__price .doodle {
    bottom: .06em;
    color: var(--red-200);
}

.pack__currency {
	font-size: 3rem;
}

.pack__split {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    justify-self: start;
    margin-top: 1.8rem;
    padding: .6rem 1.4rem .6rem 1.1rem;
    border: var(--border);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink-2);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.pack__split .icon {
    flex: none;
    width: 1.6rem;
    height: 1.6rem;
    color: var(--red-500);
}

.pack .check-list {
	align-content: start;
	margin-block: 2.6rem 2.8rem;
	color: var(--ink-2);
}

.pack .check-list .icon {
    color: var(--red-500);
}

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

.ccdl .accordion {
    align-content: start;
}

/* =============================================================================
   12. MATIÈRES
   ========================================================================== */

/* --- En-tête de la matière ------------------------------------------------ */

.matiere-hero {
    padding-block: clamp(4rem, 6vw, 7rem) var(--section-space);
}

.matiere-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 4rem 8rem;
}

.matiere-hero__code {
	padding: .2rem .7rem .1rem;
	border: var(--border);
	border-radius: 999px;
	background: var(--white);
	color: var(--ink-2);
	font-size: var(--font-size-3xs);
	letter-spacing: .08rem;
	font-weight: 700;
}

.matiere-hero__title {
    margin-top: 1.2rem;
    font-family: var(--font-display);
    font-size: clamp(3.8rem, 5.4vw, 5.6rem);
    font-weight: 600;
    letter-spacing: -.06rem;
    line-height: 1.08;
    text-wrap: balance;
}

.matiere-hero__lead {
    margin-top: 2rem;
    max-width: 48ch;
    color: var(--ink-2);
    font-size: var(--font-size-lg);
    line-height: 1.55;
}

.matiere-hero__levels {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.8rem;
}

.matiere-hero__levels a {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    padding: .9rem 1.5rem;
    border: var(--border);
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform .2s var(--ease), border-color .2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .matiere-hero__levels a:hover {
        transform: translateY(-2px);
        border-color: var(--line-strong);
    }
}

.matiere-hero__levels strong {
    color: var(--ink);
    font-size: var(--font-size-md);
    font-weight: 600;
}

.matiere-hero__levels span {
    color: var(--ink-2);
    font-size: var(--font-size-2xs);
}

.matiere-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 3.2rem;
}

.matiere-hero__media {
    display: grid;
    place-items: center;
}

.matiere-hero__media img {
    width: 100%;
    max-width: 46rem;
    height: auto;
    border-radius: var(--r-lg);
}

.matiere-hero__media .matiere-hero__illustration {
    max-width: 42rem;
    border-radius: 0;
    opacity: .9;
}

/* --- Niveau par niveau ---------------------------------------------------- */

.matiere-levels__grid {
	display: grid;
	gap: 5rem;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
	align-items: start;
}

.matiere-level {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 3.2rem;
    border: var(--border);
    border-radius: var(--r);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.matiere-level__tag {
    color: var(--ink-2);
    font-size: var(--font-size-2xs);
    font-weight: 700;
    letter-spacing: .12rem;
    text-transform: uppercase;
}

.matiere-level__title {
    margin-top: .8rem;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 1.3;
}

.matiere-level__text {
    margin-top: 1.2rem;
    color: var(--ink-2);
    font-size: var(--font-size-md);
    line-height: 1.6;
}

.matiere-level .link-arrow {
    margin-top: auto;
    padding-top: 2rem;
}

/* --- Niveaux en onglets --------------------------------------------------- */

.matiere-tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	position: relative;
	z-index: 1;
	margin-bottom: 6rem;
}

.matiere-tab {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    padding: 1.4rem 2rem;
    border: var(--border);
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow-float);
    cursor: pointer;
    transition: transform .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .matiere-tab:hover {
        transform: translateY(-2px);
        border-color: var(--line-strong);
    }
}

.matiere-tab strong {
    color: var(--ink);
    font-size: var(--font-size-md);
    font-weight: 600;
}

.matiere-tab span {
    color: var(--ink-2);
    font-size: var(--font-size-2xs);
}

.matiere-tab[aria-selected="true"] span {
	color: var(--red-400);
}

.matiere-tab[aria-selected="true"] {
    border-color: var(--red-500);
    background: var(--red-50);
}

.matiere-tab[aria-selected="true"] strong {
    color: var(--red-500);
}

.matiere-tabs__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(28rem, 18.892rem + 11.844vw, 35rem);
    align-items: start;
    gap: 4rem 6rem;
}

.matiere-panel__title {
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    line-height: 1.3;
}

.matiere-panel__text {
	margin-top: 1.4rem;
	max-width: 58ch;
	color: var(--ink-2);
	font-size: var(--font-size-md);
	line-height: 1.6;
}

.matiere-panel .link-arrow {
    margin-top: 2.4rem;
}

.matiere-panel__level + .matiere-panel__level {
    margin-top: 3.2rem;
    padding-top: 3.2rem;
    border-top: var(--border);
}

.matiere-panel__level:focus-visible {
    outline: none;
    outline-offset: 0;
    border-radius: 0;
}
.matiere-panel + .matiere-panel {
    margin-top: 3.2rem;
    padding-top: 3.2rem;
    border-top: var(--border);
}

[data-tabs-ready] .matiere-panel + .matiere-panel {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

[data-tabs-ready] .matiere-tabs__panels {
    min-height: 26rem;
}

.matiere-tabs__panels .section-title {
    margin-top: 1rem;
}

/* --- Contenu libre -------------------------------------------------------- */

.matiere-body__inner {
    max-width: 72rem;
}

.matiere-body--lead .matiere-body__inner {
    max-width: none;
}

.matiere-body__grid {
	display: flex;
	gap: 10rem;
	align-items: center;
}

.matiere-body__grid .prose p {
    font-size: var(--font-size-md);
}

.post-58 .matiere-body__grid .prose p,
.post-57 .matiere-body__grid .prose p,
.post-59 .matiere-body__grid .prose p {
    font-size: var(--font-size-lg);
}

.matiere-body__art-wrapper {
	--teacher-tint: 0.1;
	position: relative;
	box-shadow: var(--shadow-card);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	border-radius: var(--r-lg);
	min-width: clamp(28rem, 7.783rem + 23.689vw, 40rem);
}

.post-59 .matiere-body__art-wrapper {
    max-width: clamp(26rem, 7.783rem + 23.689vw, 40rem);
}

@media (hover: hover) and (pointer: fine) {
    .matiere-body__art-wrapper:hover {
        transform: translateY(-0.4rem);
        box-shadow: var(--shadow-hover);
    }
}

.matiere-body__art-wrapper::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	z-index: 1;
	background: var(--red-500);
	mix-blend-mode: multiply;
	opacity: var(--teacher-tint);
	pointer-events: none;
	border-radius: var(--r-lg);
	height: 100%;
}

.matiere-body__art {
	width: 100%;
	height: auto;
	aspect-ratio: 4/5;
	object-fit: cover;
	border-radius: var(--r-lg);
	filter: saturate(0.8);
}

video.matiere-body__art {
    display: block;
}

.matiere-body__art-wrapper .video-toggle {
    z-index: 2;
}

.matiere-body--lead .prose > h2:first-child {
    margin-top: 1.4rem;
    max-width: 22ch;
    font-size: var(--font-size-section-title);
    letter-spacing: -.08rem;
    line-height: 1.05;
    text-wrap: balance;
    margin-bottom: 3rem;
}

/* --- Page de niveau : les matières, propos à gauche, grille à droite ------ */

.matiere .matiere-levels__grid {
    display: grid;
    gap: 5rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
    align-items: start;
}

.matiere .matiere-levels__aside {
    position: sticky;
    top: calc(var(--header-bar-h) + 5rem);
}

.matiere-levels__aside .section-title {
    margin: .4rem 0 3rem;
}

.matiere .matiere-levels__lede {
    max-width: 52ch;
    color: var(--ink-2);
    font-size: var(--font-size-lg);
    line-height: 1.55;
}

.matiere .matiere-levels__art {
	display: block;
	width: 100%;
	max-width: clamp(20rem, 14.795rem + 6.768vw, 24rem);
	height: auto;
	margin-top: 5rem;
}

.matiere .section-head {
    margin-bottom: 5rem;
}

.matiere .matiere-levels__list .matiere-family__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

/* --- Page de niveau : comment nous choisissons votre professeur ----------- */

.niveau-method__grid {
    display: grid;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.niveau-method__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .58fr);
}

.niveau-method__lede {
    margin-top: 1.8rem;
    max-width: 62ch;
    color: var(--ink-2);
    font-size: var(--font-size-lg);
    line-height: 1.55;
}

.niveau-method__steps {
	display: grid;
	gap: 2.8rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--font-size-md);
}

.niveau-method__steps li {
    display: flex;
    gap: 1.8rem;
}

.niveau-method__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 4.4rem;
    height: 4.4rem;
    border: var(--border);
    border-radius: 50%;
    background: var(--white);
    color: var(--red-500);
}

.niveau-method__icon .icon {
    width: 1.7rem;
    height: 1.7rem;
}

.niveau-method__steps strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
}

.niveau-method__steps p {
    margin-top: .6rem;
    color: var(--ink-2);
    line-height: 1.6;
}

.niveau-method__faces {
    padding: 2.4rem;
    border: var(--border);
    border-radius: var(--r-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.niveau-method__faces {
    position: sticky;
    top: calc(var(--header-bar-h) + 5rem);
}

.niveau-method__faces ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.niveau-method__faces li {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.niveau-method__faces li + li {
    margin-top: 1.6rem;
    padding-top: 1.6rem;
    border-top: var(--border);
}

.niveau-method__faces img {
    flex: none;
    width: 6.4rem;
    height: 6.4rem;
    border-radius: 50%;
    object-fit: cover;
}

.niveau-method__faces strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
}

.niveau-method__faces li span span {
    display: block;
    color: var(--ink-2);
    font-size: var(--font-size-sm);
    line-height: 1.35;
}

.niveau-method__foot {
    display: flex;
    gap: 1rem;
    margin-top: 2.4rem;
    padding-top: 2rem;
    border-top: var(--border);
    color: var(--ink-2);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.niveau-method__foot .icon {
    flex: none;
    width: 1.9rem;
    height: 1.9rem;
    color: var(--red-500);
}

.matiere-tabs__more {
	max-width: 72rem;
	margin-top: clamp(32px, 4vw, 52px);
	padding-top: clamp(32px, 4vw, 52px);
	border-top: var(--border);
	font-size: var(--font-size-md);
}

.matiere-tabs__more.prose h2 {
    margin-bottom: 2rem;
}

/* --- Le rail -------------------------------------------------------------- */

.matiere-tabs__rail {
    --teacher-tint: .1;
	position: sticky;
	top: calc(var(--header-bar-h) + 5rem);
	align-self: start;
	background: white;
	border-radius: var(--r);
	border: var(--border);
	padding-bottom: 2rem;
	box-shadow: var(--shadow-card);
}

.matiere-tabs__rail::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	z-index: 1;
	aspect-ratio: 1;
	background: var(--red-500);
	mix-blend-mode: multiply;
	opacity: var(--teacher-tint);
	pointer-events: none;
	border-radius: var(--r) var(--r) 0 0;
}

.matiere-tabs__photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	border-radius: var(--r) var(--r) 0 0;
	object-fit: cover;
    filter: saturate(.8);
}

.matiere-figures {
	padding: 2.4rem 2rem 3rem;
	list-style: none;
}

.matiere-figures li + li {
	margin-top: 1.6rem;
	padding-top: 1rem;
	border-top: var(--border);
}

.matiere-figure__value {
	display: inline-block;
	font-family: var(--font-display);
	font-size: clamp(4.4rem, 3.099rem + 1.692vw, 5.4rem);
	font-weight: 400;
	line-height: 1;
}

.matiere-tabs__body .matiere-figure__value {
    font-size: 3.4rem;
}

.matiere-figure__value small {
    padding-left: 2px;
    font-size: 2rem;
}

.matiere-figure__label {
	display: block;
	margin-top: .5rem;
	color: var(--ink-2);
	font-size: var(--font-size-sm);
	line-height: 1;
}

.matiere-tabs__cta {
	display: flex;
	margin-inline: 2rem;
}

/* --- Échelle du CECR (langues) -------------------------------------------- */

.matiere-cefr {
    margin-top: 2.8rem;
}

.matiere-cefr__lede {
    max-width: 62ch;
    color: var(--ink-2);
    font-size: var(--font-size-md);
    line-height: 1.6;
}

.matiere-cefr__scale {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}

.matiere-step--out {
    box-shadow: none;
    opacity: .55;
}

.matiere-step {
    display: flex;
    flex-direction: column;
    padding: 1.8rem 1.6rem;
    border: var(--border);
    border-radius: var(--r);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.matiere-step__code {
	color: var(--red-500);
	font-family: var(--font-serif);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}

.matiere-step__label {
    margin-top: .8rem;
    color: var(--ink);
    font-size: var(--font-size-2xs);
    font-weight: 700;
    letter-spacing: .1rem;
    text-transform: uppercase;
}

.matiere-step__desc {
    margin-top: 1rem;
    color: var(--ink-2);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

/* --- Le film -------------------------------------------------------------- */

.matiere-film__player {
    --teacher-tint: .1;
    position: relative;
    max-width: 96rem;
    margin: 0 auto;
    border: var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--ink);
    box-shadow: var(--shadow-card);
}

.matiere-film__player::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	z-index: 1;
	aspect-ratio: 16/9;
	background: var(--red-500);
	mix-blend-mode: multiply;
	opacity: var(--teacher-tint);
	pointer-events: none;
	border-radius: var(--r) var(--r) 0 0;
}

.matiere-film__illustration {
    width: clamp(12rem, 9.398rem + 3.384vw, 14rem);
    height: auto;
    margin: 0 auto 2rem;
    opacity: .9;
}

.matiere-film__video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    filter: saturate(.8);
}

.matiere-figures--film {
    display: grid;
    gap: 2.4rem;
    max-width: 96rem;
    margin: 3.4rem auto 0;
    padding: 0;
    text-align: center;
}

.matiere-figures--film li + li {
    margin-top: 0;
    padding-top: 2.4rem;
}

.matiere-figures--film {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.matiere-figures--film li {
    padding-inline: 2rem;
}

.matiere-figures--film li + li {
    padding-top: 0;
    border-top: 0;
    border-left: var(--border);
}

.matiere-figures--film .matiere-figure__label {
    line-height: 1.3;
}

/* Copie des chiffres du rail sous le film des pages de matière : elle ne
   s'affiche que sous 769 px, quand le rail est masqué (chapitre 14). */
.matiere-figures--mobile {
    display: none;
}

.matiere-film__sound {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    box-shadow: var(--shadow-float);
    z-index: 1;
}

.matiere-film__sound .matiere-film__sound-off,
.matiere-film__sound[aria-pressed="true"] .matiere-film__sound-on {
    display: none;
}

.matiere-film__sound[aria-pressed="true"] .matiere-film__sound-off {
    display: inline-flex;
}

.matiere-film__sound-on,
.matiere-film__sound-off {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
}

/* --- Garanties ------------------------------------------------------------ */

.matiere-proof__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 6rem;
    max-width: 104rem;
}

.matiere-proof__list li {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	color: var(--ink-2);
	font-size: var(--font-size-lg);
	line-height: 1.55;
}

.matiere-proof__list strong {
    color: var(--ink);
    font-weight: 600;
}

.matiere-proof__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 3.2rem;
	height: 3.2rem;
	border: var(--border);
	border-radius: 50%;
	background: var(--white);
	color: var(--red-500);
}

.matiere-proof__icon .icon {
    width: 1.6rem;
    height: 1.6rem;
    stroke-width: 1.7;
}

.matiere-proof__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(34rem, 23.591rem + 13.536vw, 42rem);
    align-items: start;
    gap: clamp(32px, 5vw, 72px);
}

.matiere-proof__grid .matiere-proof__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
}

.matiere-proof__lede {
    margin-top: 1.8rem;
    max-width: 62ch;
    color: var(--ink-2);
    font-size: var(--font-size-lg);
    line-height: 1.55;
}

.matiere-proof__teacher {
    width: 100%;
}

/* --- Tarifs --------------------------------------------------------------- */

.matiere-prices__illustration {
	width: 7rem;
	margin-inline: auto;
	margin-bottom: 1rem;
	opacity: .9;
}

.matiere-prices__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	gap: 2.4rem;
	justify-content: center;
}

.matiere-prices__grid:has(.matiere-price:only-child) {
    grid-template-columns: min(100%, 38rem);
}

.matiere-price {
    display: flex;
    flex-direction: column;
}

.matiere-price .badge {
    display: none;
}

.matiere-price.is-current .badge {
    display: inline-block;
}

.matiere-price.is-current {
    border-color: var(--red-500);
}

.matiere-price__note {
	margin-top: .5rem;
	color: var(--ink-2);
	font-size: var(--font-size-xs);
	line-height: 1.5;
	font-weight: 500;
}

.matiere-price__quote {
	font-size: clamp(3.4rem, 2.099rem + 1.692vw, 4.4rem);
	margin-top: 2.2rem;
}

html[lang="en-GB"] .matiere-price__quote {
	font-size: clamp(3.4rem, 2.099rem + 1.692vw, 4rem);
    margin-top: 2.2rem;
}

.matiere-price__online {
	display: flex;
	align-items: center;
	gap: .8rem;
	margin-top: 2rem;
	border-radius: 999px;
	color: var(--red-500);
	font-size: var(--font-size-sm);
	font-weight: 600;
}

.matiere-price__online .icon {
    flex: none;
    width: 1.5rem;
    height: 1.5rem;
}

.matiere-price__online mark {
    padding: 0;
    background: none;
    color: inherit;
    font-weight: 700;
}

.matiere-price .check-list {
    margin-top: 2rem;
    color: var(--ink-2);
    font-size: var(--font-size-sm);
    line-height: 1.45;
}

.matiere-price .check-list .icon {
	color: var(--red-500);
	top: 1px;
	position: relative;
}

.matiere-price .btn {
    margin-top: auto;
}

.matiere-price .check-list {
    margin-bottom: 2.4rem;
}

.matiere-prices__foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    margin-top: 3.2rem;
    color: var(--ink-2);
    font-size: var(--font-size-sm);
    text-align: left;
}

.matiere-prices__foot .icon {
    flex: none;
    color: var(--red-500);
}

.teachers--few .teachers__grid {
    grid-template-columns: repeat(auto-fit, minmax(0, 38rem));
    justify-content: center;
}

/* --- Annuaire des matières (/matieres/) ----------------------------------- */

.matiere-archive__head {
	margin-bottom: clamp(32px, 4vw, 52px);
	max-width: 70ch;
}

.matiere-archive__title {
    margin-top: 1.2rem;
    font-family: var(--font-display);
    font-size: clamp(3.8rem, 5.4vw, 5.6rem);
    font-weight: 600;
    letter-spacing: -.06rem;
    line-height: 1.08;
}

.matiere-archive__lead {
    margin-top: 1.8rem;
    color: var(--ink-2);
    font-size: var(--font-size-lg);
    line-height: 1.55;
}

.matiere-family + .matiere-family {
    margin-top: 5rem;
}

.matiere-family__title {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2rem;
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: var(--font-size-xl);
	font-weight: 700;
}

.matiere-family__title .icon {
	width: 2rem;
	height: 2rem;
	color: var(--red-500);
	stroke-width: 1.6;
}

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

.matiere-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.6rem 2.8rem;
    border: var(--border);
    border-radius: var(--r);
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.matiere-card__content {
	flex: 1 1 auto;
	padding: 2.6rem 2.8rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.format-who .matiere-card {
    padding: 0;
}

@media (hover: hover) and (pointer: fine) {
    .matiere-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
    }
}

.matiere-card__title {
	display: flex;
	align-items: baseline;
	gap: .8rem;
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: var(--font-size-md);
	font-weight: 700;
	line-height: 1.45;
}

.format-who .matiere-card__title {
	font-size: 1.7rem;
    margin-bottom: .6rem;
}

.matiere-family__title__icon {
    border: var(--border);
    border-radius: 50%;
    height: 4.6rem;
    width: 4.6rem;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.matiere-card__code {
	color: var(--red-500);
	font-family: var(--font-text);
	font-size: var(--font-size-2xs);
	letter-spacing: .08rem;
	font-weight: 700;
}

.matiere-card__desc {
    margin-top: 1rem;
    color: var(--ink-2);
    font-size: var(--font-size-sm);
    line-height: 1.55;
}

.format-who .matiere-card__desc {
    font-size: var(--font-size-base);
}

.matiere-card__levels {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: auto;
    padding-top: 1.8rem;
}

.matiere-card__levels span {
    padding: .3rem .9rem;
    border: var(--border);
    border-radius: 999px;
    color: var(--ink-2);
    font-size: var(--font-size-3xs);
}

.matiere-card__cta {
    margin-top: auto;
    padding-top: 1.8rem;
    color: var(--ink);
    font-size: var(--font-size-sm);
}

.matiere-card__levels + .matiere-card__cta {
    margin-top: 0;
}

@media (hover: hover) and (pointer: fine) {
    .matiere-card:hover .matiere-card__cta {
        color: var(--red-500);
    }

    .matiere-card:hover .matiere-card__cta .icon {
        transform: translateX(4px);
    }
}

/* --- Matières voisines ---------------------------------------------------- */

.matiere-siblings__title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 3.4vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -.04rem;
    line-height: 1.1;
}

.matiere-siblings__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .5fr);
    align-items: center;
    gap: 3rem 6rem;
}

.matiere-siblings__art img {
    display: block;
    width: 100%;
    max-width: 30rem;
    height: auto;
    margin-inline: auto;
    opacity: .9;
}

.matiere-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.matiere-chip {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: 1.2rem 1.8rem;
    border: var(--border);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-weight: 600;
    box-shadow: var(--shadow-card);
    transition: transform .2s var(--ease), border-color .2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .matiere-chip:hover {
        transform: translateY(-2px);
        border-color: var(--line-strong);
    }
}

.matiere-chip__code {
    color: var(--grey-400);
    font-size: var(--font-size-2xs);
    font-weight: 700;
    letter-spacing: .08rem;
}

.matiere-chip__arrow {
    width: 1.3rem;
    height: 1.3rem;
    color: var(--ink-2);
}

/* =============================================================================
   13. MOUVEMENT
   ========================================================================== */

@keyframes mega-in {
    from { opacity: 0; transform: translateY(-6px); }
}

@keyframes drawer-in {
    from { opacity: 0; transform: translateY(-8px); }
}

@keyframes draw {
    to { stroke-dashoffset: 0; }
}

.js .scribble .doodle path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.js .is-drawn .doodle path {
    animation: draw .9s .15s var(--ease) forwards;
}

@keyframes symbol-float {
    0%, 100% { transform: translate(0, 0) rotate(var(--r)) scale(1); }
    33% { transform: translate(var(--dx), var(--dy)) rotate(calc(var(--r) + var(--spin))) scale(var(--sc)); }
    66% { transform: translate(calc(var(--dx) * -.6), calc(var(--dy) * .4)) rotate(calc(var(--r) - var(--spin) * .5)) scale(calc(2 - var(--sc))); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.cah-svg--icon-education-1 {
    transform-origin: 50% 50%;
    animation: spin 24s linear infinite;
}

/* --- Page 404 ------------------------------------------------------------- */

.error-404__grid {
	display: flex;
	gap: 2rem;
	align-items: center;
	flex-direction: column;
}

.error-404__title {
    max-width: none;
}

.error-404__lead {
	max-width: 60ch;
	margin-top: 1rem;
	color: var(--ink-2);
	font-size: var(--font-size-lg);
	text-align: center;
}

.error-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 3.2rem;
}

.error-404__illustration {
	display: block;
	width: clamp(20rem, 14.795rem + 6.768vw, 24rem);
	height: auto;
	opacity: .9;
}

.error-404__shortcuts {
    margin-top: 8rem;
}

.error-404__shortcuts .section-head {
    margin-bottom: 2.4rem;
    padding-top: 4rem;
    border-top: var(--border);
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

.site-header__cta-short,
.nav__mobile-short {
    display: none;
}

/* =============================================================================
   14. RESPONSIVE
   ========================================================================== */

@media (max-width: 1536px) {
    :root {
        --section-space: 9rem;
    }

    .hero-full__inner {
        min-height: clamp(600px, calc(100svh - 40px), 840px);
        padding-top: calc(var(--header-h) + clamp(32px, 4vw, 56px));
    }

    .hero-full__title {
        line-height: 1.05;
    }

    .hero-full__actions {
        margin-top: 5rem;
    }

    .site-footer__nav {
        gap: 6rem;
    }

    .reviews__score {
        margin-top: 3.6rem;
    }

    .contact__illu {
        width: 20rem;
    }

    .hero-full__actions .btn {
        height: 54px;
    }

    .video-play__icon {
        width: 40px;
        height: 40px;
    }

    .format-audiences {
        gap: 1.2rem;
    }
    
}

@media (max-width: 1460px) {
    .whatsapp-fab.is-over-footer {
        visibility: hidden;
        opacity: 0;
    }
}

@media (max-width: 1390px) {
    .video-toggle.hero-full__toggle {
        top: 9rem;
        right: 3.2rem;
    }
}

@media (max-width: 1280px) {
    :root {
        --section-space: 8rem;
    }

    .site-header__bar {
        gap: 10px;
        padding-left: 18px;
    }

    .nav__list {
        gap: 0;
    }

    .nav__link {
        gap: 4px;
        padding-inline: 12px;
    }

    .hero-full__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 3rem;
    }

    .float-card {
        width: 24rem;
    }

    .site-footer__grid {
        gap: 5rem;
    }

    .site-footer__nav {
        gap: 3rem;
    }

    .subject {
        gap: 8px;
    }

    .subject__code {
        width: 36px;
    }

    .matiere .matiere-levels__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .ccdl-sessions__grid {
        grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
        column-gap: 5rem;
    }

    .ccdl-sessions__table th,
    .ccdl-sessions__table td {
        padding: 1.4rem 1.2rem;
        white-space: nowrap;
    }

    .round-btn {
        width: 40px;
        height: 40px;
    }

    .hero-full__actions .btn {
        height: 50px;
    }

    .video-play__icon {
        width: 36px;
        height: 36px;
    }

    .finder__field {
        padding: 2px 20px 0px;
    }

    .btn--lg {
        padding: 12px 28px;
    }

    .subjects__online-title .icon {
        width: 3rem;
        height: 3rem;
    }

    .step__icon {
        width: 4.4rem;
        height: 4.4rem;
    }

    .step__title {
        font-size: 1.5rem;
        line-height: 1.35;
    }

    .reason-icon {
        width: 40px;
        height: 40px;
    }

    .bento__cell--list .reason-icon .icon {
        width: 1.4rem;
        height: 1.4rem;
    }

    .cta__text {
        line-height: 1.5;
    }

    .mega__inner {
        gap: 12px;
    }

    .mega-card__icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .mega-card__icon .icon {
        width: 1.4rem;
        height: 1.4rem;
    }

    .mega-card {
        gap: 12px;
    }

    .mega-feature__title {
        font-size: 1.7rem;
    }

    .page-template-page-teacher .contact__intro {
        max-width: 77rem;
    }

    .matiere-chip {
        padding: 1rem 1.8rem;
    }

    .matiere-chips {
        gap: 1rem;
    }

    .cah-svg--icon-education-1 {
        width: 1.4rem;
        height: auto;
    }

    .matiere-prices__grid {
        gap: 1.2rem;
    }

    .pack {
        padding: 2.4rem 2.2rem;
    }

    .ccdl-fact__value, 
    .format-fact__value {
        font-size: 1.7rem;
    }

    .matiere-tab {
        padding: 1.2rem 2rem;
    }
}

@media (max-width: 1024px) {
    .site-header__bar {
        display: grid;
        grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
        padding: 8px;
        height: auto;
    }

    .nav-toggle {
        display: inline-flex;
        grid-area: 1 / 1;
        justify-self: start;
        align-items: center;
        gap: 5px;
        width: auto;
        height: 35.2px;
        padding: 0 18px 0 14px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        font-weight: 600;
        transition: background-color .2s;
    }

    .nav-toggle[aria-expanded="true"] {
        background: var(--red-50);
    }

    @media (hover: hover) and (pointer: fine) {
        .nav-toggle:hover {
            background: var(--red-50);
        }
    }

    .nav-toggle .icon {
        width: 2rem;
        height: 2rem;
    }

    .site-header__brand {
        grid-area: 1 / 2;
        justify-self: center;
        margin-right: 0;
    }

    .site-header__actions {
        grid-area: 1 / 3;
        justify-self: end;
    }

    .nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        max-height: calc(100dvh - var(--nav-top, 100px) - 16px);
        overflow-y: auto;
        overscroll-behavior: contain;
        margin: 0;
        padding: 10px;
        border: var(--border);
        border-radius: var(--r-lg);
        background: var(--white);
        box-shadow: var(--shadow-float);
        animation: mega-in .22s var(--ease);
    }

    .nav.is-open {
        display: block;
    }

    body.is-locked .whatsapp-fab {
        visibility: hidden;
        opacity: 0;
    }

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

    .matiere-tab {
        padding: 1rem 1.6rem;
    }

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

    .matiere-step__code {
        font-size: 1.5rem;
    }

    .nav__list {
        display: grid;
        align-items: stretch;
        gap: 2px;
    }

    .nav__item:not(.nav__item--mega) {
        display: none;
    }

    .nav__link {
        justify-content: space-between;
        width: 100%;
        padding: 12px 14px;
        border-radius: var(--r-sm);
        font-size: var(--font-size-md);
    }

    .nav__link[aria-expanded="true"] {
        background: var(--grey-50);
        border: var(--border);
    }

    .mega {
        position: static;
        padding: 2rem;
        border: var(--border);
        box-shadow: none;
        animation: none;
        background-color: var(--grey-50);
        margin-top: 1rem;
        border-radius: var(--r-sm);
    }

    .mega__inner {
        display: block;
    }

    .mega-feature {
        display: none;
    }

    .mega__columns,
    .mega__columns--2,
    .mega__columns--3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 24px 12px;
        padding-top: 0;
    }

    .matiere-card {
        padding: 2rem;
    }

    .mega__col--cards {
        padding-right: 0;
        border-right: 0;
    }

    @media (hover: hover) and (pointer: fine) {
        .mega-link--all:hover {
            background: white;
        }
    }

    .mega-link--all {
        margin-top: 0;
        padding-block: 10px;
        background: var(--white);
        font-weight: 600;
        gap: 5px;
    }

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

    #mega-entreprises .mega__col--cards ul,
    #mega-adultes .mega__col--cards ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mega-card {
        height: 100%;
        border: var(--border);
        background-color: white;
    }

    .mega-link {
        background-color: white;
        gap: 7px;
        padding: 10px 16px;
        border: var(--border);
    }

    .mega-link--all .mega-link__icon .icon {
        position: relative;
        bottom: .5px;
    }

    @media (hover: hover) and (pointer: fine) {
        .nav__link:hover {
            background: var(--grey-50);
        }
    }

    .mega-card {
        box-shadow: none;
    }

    @media (hover: hover) and (pointer: fine) {
        .mega-card:hover {
            box-shadow: none;
        }
    }

    .mega__col:not(.mega__col--cards) ul {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
    }

    .mega-card__arrow {
        display: none;
    }

    .nav__mobile-extra {
        display: grid;
        gap: 14px;
        margin-top: 8px;
        padding: 16px 14px 6px;
        border-top: 1px solid var(--line-soft);
    }

    .topbar {
        display: none;
    }

    .nav__mobile-topbar {
        display: grid;
        gap: 10px;
    }

    .nav__mobile-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        font-weight: 600;
    }

    .nav__mobile-links a {
        display: flex;
        justify-content: center;
        padding: 14.5px 14px 13.5px;
        border: var(--border);
        border-radius: 999px;
        text-align: center;
        white-space: nowrap;
        transition: border-color .2s, color .2s;
        height: 49px;
    }

    .nav__mobile-extra .btn--outline {
        color: var(--ink);
    }

    @media (hover: hover) and (pointer: fine) {
        .nav__mobile-links a:hover {
            border-color: var(--red-500);
        }
    }

    .nav__mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 8px;
        padding: 4px 4px 12px;
        border-bottom: 1px solid var(--line-soft);
    }

    .cah-logo--logo {
        height: 30px;
    }

    .nav__phone {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 8px 16px 8px 14px;
        border: var(--border);
        border-radius: 999px;
        font-weight: 600;
        transition: border-color .2s, color .2s;
    }

    @media (hover: hover) and (pointer: fine) {
        .nav__phone:hover {
            border-color: var(--red-500);
        }
    }

    .nav__phone .icon {
        color: var(--red-500);
        width: 1.6rem;
        height: 1.6rem;
    }

    .topbar__lang a {
        padding: 5px 14px;
    }

    .nav__legal {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 30px;
        color: var(--ink-2);
        font-size: var(--font-size-sm);
        text-align: center;
        justify-content: center;
        margin-top: 1rem;
    }

    .nav__mobile-topbar .btn {
        padding: 16px 22px;
    }

    .btn {
        padding: 10px 22px;
    }

    .hero-full__finder .btn {
        padding: 10.5px 18px 9.5px;
    }

    @media (hover: hover) and (pointer: fine) {
        .nav__mobile-links a:hover,
        .nav__phone:hover,
        .nav__legal a:hover {
            color: var(--red-500);
        }
    }

    .site-header__actions .btn {
        padding-inline: 16px;
    }   

    .site-footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4rem 7rem;
    }

    .hero-full--ccdl .hero-full__title {
        margin-block: 2rem 3rem;
    }

    .hero-full__title {
        margin-block: 2rem 4rem;
    }

    .hero-full__lead {
        max-width: 50rem;
    }

    .hero-full__inner {
        display: flex;
        gap: 0;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 14rem;
    }

    .hero-full__cards {
        display: flex;
        gap: 12px;
        margin-top: 2rem;
        align-self: start;
    }

    .hero-full__trust {
        margin-top: 4rem;
    }

    .float-card {
        padding: 8px 20px 8px 12px;
        width: auto;
    }

    .video-toggle.hero-full__toggle {
        position: static;
        margin-left: auto;
    }

    .finder__title {
        gap: 6px;
        padding-right: 16px;
        font-size: 1.45rem;
    }

    .finder {
        width: 100%;
        padding: 10px 10px 10px 16px;
    }

    .finder__field {
        padding: 2px 14px 0px;
    }

    .section-head--split {
        gap: 10rem;
    }

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

    .teachers__grid {
        gap: 1.6rem;
    }

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

    .monogram {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .partners {
        padding-block: 10rem 11rem;
    }

    .accordion__item {
        padding: 1.6rem;
    }

    .accordion__item summary {
        line-height: 1.5;
    }

    .cta__text {
        max-width: 26rem;
        line-height: 1.4;
    }

    .cta__actions .btn {
        height: 44px;
    }

    .section-title {
        line-height: 1.2;
    }

    .profile-card__media {
        aspect-ratio: 3/2;
    }

    .ccdl-card__media {
        aspect-ratio: 4/6;
    }

    .subject-list {
        grid-template-columns: 1fr;
    }

    .subjects__online-media {
        width: 100%;
    }

    .subjects__online {
        flex-direction: column;
    }

    .video-toggle {
        top: 2rem;
        right: 2rem;
    }

    .matiere-body__art-wrapper .video-toggle {
        top: auto;
        bottom: 2rem;
    }

    .format-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.4rem;
    }

    .format-why .format-facts {
        margin-top: 4rem;
    }

    .format-who__head .format-who__illustration {
        margin: 0 auto 0.2rem;
    }

    .matiere-proof__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
    }

    .teacher__mark {
        width: 2.8rem;
    }

    .matiere-family__title__icon {
        height: 4.2rem;
        width: 4.2rem;
    }

    .matiere-family__title .icon {
        width: 1.8rem;
        height: 1.8rem;
    }

    .matiere-family__title {
        gap: .8rem;
        margin-bottom: 1.4rem;
    }

    .matiere .matiere-levels__list .matiere-family__grid {
        grid-template-columns: 1fr;
    }

    .subjects__online-title .icon {
        width: 2.7rem;
        height: 2.7rem;
        top: 1.5px;
    }

    .format-audience__photo img {
        aspect-ratio: 16 / 16;
    }

    .matiere-card__cta .icon {
        width: 1.4rem;
        height: 1.4rem;
        top: .5px;
    }

    .pack .btn .icon {
        top: .5px;
    }

    .accordion__icon .icon {
        width: 15px;
        height: 15px;
    }

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

    .subjects__grid {
        gap: 1.2rem;
    }

    .request__submit {
        gap: 1rem 1.2rem;
    }

    .section-head--center .section-title {
        max-width: 15ch;
    }

    .home .section-head--center .section-title {
        max-width: 20ch;
    }

    .matiere .niveau-method .section-title {
        max-width: 12ch;
    }

   .matiere-film .section-head--center .section-title {
        max-width: 20ch;
    }

    .matiere-proof__grid .section-title {
        text-wrap: auto;
        margin-top: .5rem;
    }

    .matiere .section-head {
        margin-bottom: 3rem;
    }

    .matiere-film__player .btn {
        padding: 10px 16px;
    }

    .niveau-method__icon {
        width: 4rem;
        height: 4rem;
    }

    .niveau-method__icon .icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .niveau-method__faces {
        padding: 1.7rem;
    }

    .niveau-method__faces img {
        width: 5rem;
        height: 5rem;
    }

    .niveau-method__foot .icon {
        width: 1.7rem;
        height: 1.7rem;
    }

    .matiere-prices__illustration {
        width: 6rem;
        margin-bottom: .6rem;
    }

    .matiere-prices__grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta__title {
        line-height: 1.2;
    }

    .matiere-film__video {
        aspect-ratio: 16 / 10;
    }

    .groups__grid {
        grid-template-columns: 1fr;
    }

    .bento {
        gap: 10px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-areas:
            "results  results photo"
            "results  results photo"
            "teachers hours   satisfaction"
            "reasons  reasons reasons";
    }

    .teachers__arrow {
        width: 40px;
        height: 40px;
    }

    .teachers--carousel .teachers__grid {
        grid-auto-columns: calc((100% - 24px) / 2);
    }

    .reviews__score-line strong {
        font-size: 2.4rem;
    }

    .legal__head-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .legal__aside {
        position: static;
    }

    .legal__toc ol {
        display: flex;
        gap: 5px;
        overflow-x: auto;
        margin-inline: calc(-1 * var(--gutter));
        padding-inline: var(--gutter);
        border-left: 0;
        scroll-padding-inline: var(--gutter);
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .legal__help,
    .legal__related {
        display: none;
    }

    .legal__toc ol::-webkit-scrollbar {
        display: none;
    }

    .legal__aside-title {
        margin-bottom: .8rem;
    }

    .legal__toc li {
        flex: none;
        scroll-snap-align: start;
    }

    .legal__toc a {
        gap: .6rem;
        margin-left: 0;
        padding: .9rem 1.6rem;
        border: var(--border);
        border-radius: 999px;
        background: var(--white);
        white-space: nowrap;
    }

    .legal__toc a::before {
        display: none;
    }

    .contact__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
    }

    .request__steptitle::before {
        margin-right: .6rem;
    }

    .contact__aside {
        position: static;
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 4rem;
        align-items: center;
    }

    .request__grid {
        gap: 3rem 1.4rem;
    }

    .request__questions {
        gap: 3rem;
    }

    .contact__aside > * {
        grid-column: 1;
        max-width: 24rem;
    }

    .contact__aside .contact__channels {
        gap: 1.2rem;
    }

    .contact__aside .contact__teacher {
        gap: .4rem;
        margin-top: 2rem;
        padding-top: 0;
        border-top: none;
    }

    .contact__illu {
        grid-column: 2;
        grid-row: 1 / span 3;
        margin-top: 0;
    }

    .mega-card__icon .icon {
        color: var(--red-500);
    }

    .hero-full--band .hero-full__actions .btn {
        height: 44px;
    }

    .hero-full--band .hero-full__content {
        width: 100%;
    }

    .ccdl-levels__grid {
        gap: 4rem;
    }

    .level-card__list li {
        font-size: 1.2rem;
    }

    .level-card__title {
        margin-bottom: 1rem;
    }

    .ccdl-levels__foot-icon {
        width: 3rem;
        height: 3rem;
        min-width: 3rem;
    }

    .ccdl-fact {
        padding: 1.6rem;
    }

    .ccdl-facts {
        gap: 1rem;
    }

    .ccdl-fact__icon {
        width: 3.6rem;
        height: 3.6rem;
        margin-bottom: 1.4rem;
    }

    .ccdl-fact__icon .icon {
        width: 1.4rem;
        height: 1.4rem;
    }

    .ccdl-prices__illustration {
        width: 7rem;
        margin-bottom: 1.4rem;
    }

    .ccdl-prices__desc {
        margin-top: 3rem;
        font-size: 1.2rem;
    }

    .ccdl-fact__value {
        font-size: 1.5rem;
    }

    .ccdl-levels__foot .icon {
        width: 1.4rem;
        height: 1.4rem;
    }

    .btn .icon-phone {
        width: 1.7rem;
        height: 1.7rem;
    }

    .matiere-body__grid {
        gap: 5rem;
    }

    .matiere-body__art {
        aspect-ratio: 4/6;
    }

    .contact__form {
        grid-row: 3;
        margin-top: 1rem;
    }

    .matiere-card__content {
        padding: 2rem 2.8rem 2.4rem;
    }

    .format-how__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    .step {
        padding: 16px;
    }

    .step__icon {
        width: 4rem;
        height: 4rem;
        margin-bottom: 0;
    }

    .format-how__media .video-toggle {
        top: auto;
        right: auto;
        bottom: 2rem;
        left: 2rem;
    }

    .step__ico .iconn {
        width: 1.4rem;
        height: 1.4rem;
    }

    .steps .step p {
        font-size: 1.2rem;
        line-height: 1.45;
    }

    .step__title {
        font-size: 1.4rem;
    }

    .contact__channels .icon, 
    .contact__channels svg, 
    .contact__channels img {
        width: 1.5rem;
        height: 1.5rem;
    }

    .contact__channels-icon {
        height: 3.6rem;
        width: 3.6rem;
    }

    .check input {
        width: 1.8rem;
        height: 1.8rem;
    }
}

@media (max-width: 880px) {
    .site-footer__legal {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-space: 6.4rem;
    }

    /* Header / menu mobile */
    .mega__col--cards ul,
    #mega-entreprises .mega__col--cards ul,
    #mega-adultes .mega__col--cards ul {
        grid-template-columns: minmax(0, 1fr);
    }

    .mega {
        padding: 1.4rem;
    }

    /* Footer */
    .site-footer__nav {
        display: none;
    }

    .site-footer__grid {
        flex-direction: column;
        gap: 3rem;
    }

    .site-footer__bottom {
        gap: 1rem;
        margin-top: 4rem;
    }

    .hero-full__title {
        margin-block: 1.6rem 3rem;
        font-size: 4.8rem;
    }

    .hero-full__inner {
        padding-top: 16rem;
        min-height: 30rem;
    }

    .ccdl-levels__head .section-title {
        margin-top: 1rem;
    }

    .ccdl-levels__head p.ccdl-levels__lead {
        margin-top: 2.4rem;
        font-size: var(--font-size-md);
    }

    .ccdl-levels__head p:not(.eyebrow) {
        font-size: var(--font-size-md);
    }

    .ccdl-levels__head p.ccdl-levels__points-label {
        margin-top: 2.4rem;
        font-size: var(--font-size-md);
    }

    .ccdl-levels__points li {
        font-size: var(--font-size-md);
    }

    .ccdl-levels__points-icon {
        width: 3.2rem;
        height: 3.2rem;
    }

    .ccdl-levels__points-icon .icon {
        width: 1.4rem;
        height: 1.4rem;
        stroke-width: 1.8;
    }

    .ccdl-levels__illustration {
        width: 10rem;
    }

    .ccdl-levels__tables {
        gap: 1.4rem;
    }

    .level-card {
        padding: 2rem;
        border-radius: var(--r-sm);
    }

    .ccdl-levels .level-card__title {
        margin-bottom: .6rem;
        font-size: var(--font-size-lg);
    }

    .level-card__list li {
        font-size: 1.1rem;
    }

    .level-card__list li {
        padding-block: .5rem;
    }

    .level-card__list strong {
        font-size: var(--font-size-md);
    }

    .ccdl-fact__value {
        font-size: 1.35rem;
    }

    .ccdl-how__foot {
        gap: .8rem;
        margin-top: 2rem;
        padding-top: 0;
        border-top: none;
        font-size: var(--font-size-sm);
        max-width: 40rem;
        line-height: 1.5;
    }

    .ccdl-sessions__head p:not(.eyebrow) {
        margin-top: 1.5rem;
        max-width: 48ch;
        font-size: var(--font-size-md);
        line-height: 1.6;
    }

    .ccdl-sessions__illustration {
        margin: 4rem auto 0;
        width: 16rem;
    }

    .ccdl-prices__illustration {
        width: 6rem;
        margin-bottom: 1.2rem;
    }

    .ccdl-sessions__table tbody th {
        font-size: var(--font-size-md);
    }

    .ccdl-sessions__head .section-title {
        margin-top: .5rem;
    }

    .pill {
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
    }

    .hero-full__actions {
        margin-top: 3rem;
    }

    .hero-full__cards {
        flex-wrap: wrap;
    }

    .finder {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0 10px;
        padding: 14px;
        border-radius: var(--r-lg);
    }

    .finder__title {
        grid-column: 1 / -1;
        padding: 0 4px 5px;
        gap: 4px;
    }

    .bento {
        gap: 10px;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-template-areas:
            "results  results  results  photo        photo        photo"
            "results  results  results  photo        photo        photo"
            "teachers teachers hours    hours        satisfaction satisfaction"
            "reasons  reasons  reasons  reasons      reasons      reasons";
    }

    .bento__cell--list li {
        line-height: 1.7;
        font-size: var(--font-size-sm);
    }

    .subjects__online {
        flex-direction: row;
    }

    .bento__cell--list .reason-icon .icon {
        width: 1.3rem;
        height: 1.3rem;
    }

    .finder__field {
        padding: 10px 14px 8px;
        border: var(--border);
        border-radius: var(--r-sm);
    }

    .section-title {
        font-size: 3.8rem;
    }

    .profiles-illu {
        width: 14rem;
    }

    .subject-group__head p {
        font-size: var(--font-size-sm);
    }

    .matiere-prices__foot {
        max-width: 40rem;
        margin-top: 2.2rem;
    }

    .subject-group__head h3 {
        font-size: 1.7rem;
    }

    .subject__code {
        width: 26px;
        height: auto;
        font-size: var(--font-size-base);
    }

    .legal__head-split {
        flex-direction: column;
        gap: 1.4rem;
    }

    .legal__lead {
        font-size: var(--font-size-base);
        line-height: 1.6;
    }

    .legal__toc a {
        font-size: var(--font-size-xs);
    }

    .legal__body h2, 
    .prose h2 {
        font-size: 2.2rem;
        margin-top: 4rem;
    }

    .contact__title {
        font-size: 3.2rem;
    }

    .contact__lead {
        font-size: var(--font-size-base);
        line-height: 1.6;
        margin-top: 1.4rem;
    }

    .contact__channels .contact__channels-text {
        line-height: 1.45;
    }

    .request__steptitle::before {
        width: 3.2rem;
        height: 3.2rem;
        font-size: var(--font-size-sm);
    }

    .request__steptitle {
        font-size: var(--font-size-base);
    }

    .contact__channels strong {
        font-size: var(--font-size-sm);
    }

    .subject {
        gap: 4px;
        font-size: var(--font-size-sm);
    }

    .subject__arrow {
        width: 1.4rem;
        height: 1.4rem;
    }

    .subject-group {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .subjects__online-title .icon {
        width: 2.4rem;
        height: 2.4rem;
        top: 1px;
        stroke-width: 1.6;
    }

    .video-toggle {
        top: auto;
        right: 2rem;
        bottom: 2rem;
    }

    .subjects__online-title {
        gap: 6px;
        font-size: 2rem;
        font-weight: 700;
        flex-direction: column;
        align-items: flex-start;
        line-height: 1.25;
    }

    .bento__cell p {
        font-size: var(--font-size-sm);
        margin-top: .2rem;
    }

    .bento__value {
        font-size: 3.2rem;
    }

    .video-toggle {
        width: 36px;
        height: 36px;
    }

    .subjects__online-media {
        width: 50%;
    }

    .profiles .section-title {
        margin-block: 1rem 2.4rem;
    }

    .btn {
        padding: 10px 22px 10.5px;
    }

    .btn .icon {
        width: 1.5rem;
        height: 1.5rem;
        top: .5px;
    }

    .finder__field select {
        padding: 0;
    }

    .finder .btn {
        grid-column: 1 / -1;
        justify-content: center;
        padding: 13.5px 18px;
        margin-top: 1rem;
    }

    .finder .btn .icon {
        top: 1px;
    }

    .finder__title .icon {
        width: 1.8rem;
        height: 1.8rem;
        top: .5px;
    }

    .section-head--split {
        gap: 2rem;
    }

    .site-header__actions .btn {
        padding-inline: 12px;
        font-size: 1.05rem;
    }

    .video-play__icon svg {
        width: 16px;
        height: 16px;
        margin-left: 0px;
    }

    .video-play__icon {
        width: 28px;
        height: 28px;
    }

    .video-play__text small {
        font-size: var(--font-size-xs);
    }

    .video-play__text {
        line-height: 1.35;
        font-size: var(--font-size-sm);
    }

    .hero-full__actions .btn {
        height: 42.35px;
        font-size: var(--font-size-base);
    }

    .hero-full__actions .btn .icon {
        top: .5px;
    }

    .hero-full__lead {
        font-size: var(--font-size-md);
    }

    .avatars img {
        width: 34px;
        height: 34px;
    }

    .float-card {
        padding: 8px 20px 8px 10px;
        font-size: var(--font-size-sm);
        border-radius: 999px;
        line-height: 1.4;
    }

    .eyebrow {
        font-size: var(--font-size-2xs);
    }

    .eyebrow .pill__icon {
        bottom: .5px;
    }

    .cah-svg--icon-education-1 {
        width: 1.3rem;
    }

    .profiles-lede {
        font-size: var(--font-size-md);
    }

    .ccdl-card__desc {
        font-size: var(--font-size-md);
    }

    .ccdl-card .check-list {
        font-size: var(--font-size-md);
        margin-bottom: 3rem;
    }

    .ccdl-card .check-list .icon {
        width: 1.4rem;
        height: 1.4rem;
    }

    .groups__illu {
        width: 14rem;
    }

    .link-underline {
        font-size: var(--font-size-sm);
    }

    .link-arrow .icon {
        top: .5px;
        width: 1.4rem;
        height: 1.4rem;
    }

    .meta-list {
        font-size: var(--font-size-sm);
    }

    .session__title {
        margin-bottom: .8rem;
    }

    .meta-list .icon {
        width: 12px;
        height: 12px;
    }

    .meta-list li:nth-child(2) .icon {
        top: 0;
    }

    .meta-list li {
        gap: 3px;
    }

    .group-card__foot {
        font-size: var(--font-size-sm);
    }

    .group-card__foot .icon {
        width: 1.4rem;
        height: 1.4rem;
    }

    .gauge__label span {
        font-size: var(--font-size-xs);
        font-weight: 500;
    }

    .gauge {
        font-size: var(--font-size-sm);
    }

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

    .float-card__value {
        margin-left: 5px;
    }

    .matiere-film .section-head--center .section-title {
        max-width: none;
    }

    .profile-card__media {
        aspect-ratio: 5/4;
    }

    .review--feature .stars .icon {
        width: 16px;
        height: 16px;
    }

    .stars {
        gap: 1px;
    }

    .review--feature .review__text {
        line-height: 1.3;
        font-size: 2rem;
    }

    .monogram {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .review__author {
        gap: .8rem;
        font-size: var(--font-size-sm);
    }

    .review__source {
        font-size: var(--font-size-xs);
    }

    .review--feature {
        gap: 10px;
    }

    .stars .icon {
        width: 13px;
        height: 13px;
    }

    .stars {
        gap: 0;
    }

    .review__text {
        font-size: var(--font-size-base);
    }

    .review__name {
        line-height: 1.2;
    }

    .partners__item img {
        height: 3rem;
    }

    .faq__head .section-title {
        margin-block: 1rem 2rem;
        font-size: 3rem;
    }

    .faq__head .btn {
        margin-top: 1rem;
        font-size: var(--font-size-sm);
        padding: 10px 14px 10.5px;
    }

    .faq__head {
        position: static;
    }

    .accordion__icon {
        width: 28px;
        height: 28px;
    }

    .faq__illustration {
        width: 18rem;
    }

    .cta__text {
        line-height: 1.45;
        gap: 1.6rem;
        font-size: var(--font-size-lg);
    }

    .cta__title {
        font-size: 2.6rem;
    }

    .cta__panel > .cah-logo--roof {
        top: 1rem;
        right: -4rem;
        width: 14rem;
    }

    .cta__actions .btn {
        height: 40px;
    }

    .format-how__grid,
    .matiere-family__grid,
    .matiere-proof__list,
    .request__questions,
    .teachers__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .matiere-step__code {
        font-size: 1.4rem;
    }

    .ccdl-packs {
        gap: 1.4rem;
    }

    .ccdl-prices__desc {
        margin-top: 2rem;
        font-size: 1.1rem;
    }

    .matiere-tab strong {
        font-size: var(--font-size-sm);
    }

    .matiere-panel__text {
        font-size: var(--font-size-base);
        line-height: 1.55;
    }

    .matiere-panel__level + .matiere-panel__level {
        padding-top: 2.6rem;
    }

    .matiere-cefr {
        margin-top: 1.6rem;
    }

    .matiere-cefr__lede {
        font-size: var(--font-size-base);
        line-height: 1.55;
    }

    .matiere-tab {
        padding: .7rem 1.4rem;
    }

    .format-audiences--3 {
        grid-template-columns: 1fr 1fr;
    }

    .format-how__grid .steps {
        grid-template-columns: 1fr;
    }

    .steps .step p {
        font-size: 1.1rem;
        line-height: 1.35;
    }

    .step__num {
        font-size: var(--font-size-base);
    }

    .hero-full--ccdl .hero-full__title {
        margin-block: 1rem 2rem;
    }

    .format-who .matiere-card__title {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .hero-full__points {
        margin-top: 2.2rem;
    }

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

    .check-list {
        gap: 4px;
    }

    .matiere-card__code {
        font-size: var(--font-size-2xs);
        letter-spacing: .03rem;
    }

    .matiere-card__content {
        padding: 2rem 2rem 2.2rem;
    }

    .matiere-body__art {
        border-radius: var(--r-sm);
    }

    .matiere-body__art-wrapper::before {
        border-radius: var(--r-sm);
    }

    .matiere-body__art-wrapper {
        max-width: 60%;
    }

    .matiere-figure__value {
        font-size: 3.2rem;
    }

    .matiere-figure__label {
        font-size: var(--font-size-xs);
        line-height: 1.45;
    }

    .niveau-method__lede {
        font-size: var(--font-size-md);
    }

    .niveau-method__steps {
        gap: 2rem;
        font-size: var(--font-size-base);
    }

    .niveau-method__icon {
        width: 3.4rem;
        height: 3.4rem;
    }

    .niveau-method__icon .icon {
        width: 1.3rem;
        height: 1.3rem;
    }

    .niveau-method__steps li {
        gap: 1.2rem;
    }

    .niveau-method__foot .icon {
        width: 1.6rem;
        height: 1.6rem;
        top: -.5px;
    }

    .niveau-method__foot {
        gap: .6rem;
    }

    .niveau-method__faces {
        position: static;
    }

    .matiere-prices__illustration {
        width: 5.4rem;
    }

    .groups__grid,
    .ccdl-levels__grid,
    .ccdl-sessions__grid,
    .faq__grid,
    .matiere-hero__grid,
    .matiere-levels__grid,
    .matiere .matiere-levels__grid,
    .matiere-tabs__body,
    .matiere-proof__grid,
    .niveau-method__grid,
    .matiere-siblings__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .reviews__lede {
        font-size: var(--font-size-md);
    }

    .reviews__intro .section-title {
        margin-block: 0.3rem 1.5rem;
    }

    .reviews__score-line strong {
        font-size: 2.2rem;
    }

    .reviews__score-line {
        font-size: var(--font-size-sm);
    }

    .ccdl-levels__grid,
    .ccdl-sessions__grid,
    .matiere-body__grid {
        gap: 3rem;
    }

    .ccdl-levels__head,
    .ccdl-levels__tables {
        grid-column: auto;
        grid-row: auto;
    }

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

    .ccdl-levels__foot,
    .ccdl-levels__illustration {
        grid-column: 1 / -1;
    }

    .bento__cell--list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 18px;
    }

    .teachers__lede {
        font-size: var(--font-size-md);
    }

    .teachers__arrow .icon {
        width: 1.4rem;
        height: 1.4rem;
    }

    .teachers .section-head {
        margin-bottom: 3rem;
    }

    .teachers__arrow {
        width: 36px;
        height: 36px;
    }

    .bento__cell--hero .bento__value {
        color: var(--red-500);
        font-size: 6rem;
    }

    .bento__cell--hero p {
        font-size: 2.4rem;
        line-height: 1.05;
        margin-top: .4rem;
    }

    .step__icon {
        width: 3.6rem;
        height: 3.6rem;
    }

    .step__icon .icon {
        width: 1.3rem;
        height: 1.3rem;
    }

    .step {
        gap: 4px;
    }

    .step__title {
        font-size: 1.35rem;
        margin-top: .6rem;
    }

    .proof__hat {
        width: 7rem;
    }

    .teachers--few .teachers__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Facts */
    .format-facts {
        gap: 1rem;
    }

    /* CTA */
    .cta__panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.4rem;
    }

    .teacher__text {
        padding: 20px 18px 0;
        line-height: 1.55;
    }

    .teacher__role {
        font-size: var(--font-size-xs);
    }

    .teacher__author strong {
        font-size: 1.4rem;
    }

    .teacher__author {
        padding: 3rem 1.8rem 1.8rem;
    }

    .teacher__mark {
        width: 2.4rem;
    }

    .cta__text {
        max-width: none;
    }

    /* Tableau sessions : scroll horizontal */
    .ccdl-sessions__table {
        overflow-x: auto;
    }

    /* Matière */
    .matiere-tabs__list {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-inline: calc(-1 * var(--gutter));
        margin-bottom: 3rem;
        padding: 0 var(--gutter) 1.2rem;
        scrollbar-width: none;
    }

    .matiere-tabs__list::-webkit-scrollbar {
        display: none;
    }

    .matiere-tab {
        flex: none;
        white-space: nowrap;
    }

    .matiere-tabs__rail {
        display: none;
    }

    .matiere-figures--mobile {
        display: grid;
    }

    .matiere-body__art {
        aspect-ratio: 4 / 7;
    }

    .matiere-body__art-wrapper {
        min-width: 20rem;
    }

    .matiere-film__video {
        aspect-ratio: 16 / 11;
    }

    .matiere-figure__value small {
        font-size: 1.5rem;
    }

    .niveau-method__icon .icon {
        width: 1.2rem;
        height: 1.2rem;
    }

    .niveau-method__foot .icon {
        width: 1.4rem;
        height: 1.4rem;
        top: 0;
    }

    .niveau-method__foot {
        font-size: var(--font-size-xs);
        line-height: 1.45;
    }

    .pack__title {
        font-size: var(--font-size-3xs);
    }

    .pack__price {
        margin-top: 1rem;
    }

    .matiere-price__online {
        margin-top: 1.2rem;
    }

    .matiere-prices__foot {
        font-size: var(--font-size-xs);
        line-height: 1.5;
    }

    .matiere-price .check-list .icon {
        top: 0;
        width: 1.4rem;
        height: 1.4rem;
    }

    .matiere-price .check-list {
        margin-bottom: 2rem;
        margin-top: 1.5rem;
        font-size: var(--font-size-xs);
    }

    .niveau-method__steps p {
        margin-top: .2rem;
        line-height: 1.5;
    }

    .niveau-method__icon {
        width: 3rem;
        height: 3rem;
    }

    .niveau-method__steps {
        gap: 1.6rem;
        font-size: var(--font-size-sm);
    }

    .matiere-figures--film .matiere-figure__label {
        line-height: 1.35;
        font-size: var(--font-size-2xs);
    }

    .niveau-method__lede {
        font-size: var(--font-size-base);
    }

    .matiere-film__player::before {
        aspect-ratio: 16/9;
    }

    .matiere-figure__value {
        font-size: 2.6rem;
        font-weight: 700;
    }

    .matiere-figures--film {
        margin: 1.6rem auto 0;
    }

    .matiere-film__sound .btn .icon {
        top: 0;
    }

    .matiere-film__player .btn {
        padding: 7px 10px;
        font-size: var(--font-size-xs);
    }

    .pack .btn--lg {
        font-size: var(--font-size-sm);
    }

    .ccdl-card__title {
        font-size: 3.8rem;
        margin-block: 1rem 2.4rem;
    }

    .ccdl-card {
        align-items: center;
    }

    /* Contact / formulaire */
    .contact__aside {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact__illu {
        width: 14rem;
    }

    .choice-card__body::after {
        width: 2rem;
        height: 2rem;
    }

    .contact__promise {
        max-width: 40rem;
    }

    .error-404__illustration {
        width: 16rem;
    }

    .error-404__lead {
        font-size: var(--font-size-md);
    }

    .matiere-siblings__title {
        font-size: 2.2rem;
    }

    .error-404__shortcuts .section-head {
        padding-top: 3rem;
    }

    .nav__phone {
        font-size: var(--font-size-sm);
    }

    .matiere .matiere-levels__aside {
        position: static;
        display: flex;
        gap: 5rem;
        align-items: flex-end;
    }

    .matiere-levels__aside .section-title {
        margin: .4rem 0 2rem;
    }

    .matiere-film__illustration {
        width: 10rem;
    }

    .matiere .matiere-levels__list .matiere-family__grid {
        grid-template-columns: 1fr 1fr;
    }

    .matiere-levels .section-head {
        margin-bottom: 0;
    }

    article.matiere .matiere-levels .section-head {
        margin-bottom: 2.4rem;
    }

    .matiere-proof__lede {
        font-size: var(--font-size-md);
        line-height: 1.5;
    }

    .matiere-proof__list li {
        font-size: var(--font-size-md);
        line-height: 1.55;
        gap: 1rem;
    }

    .teacher__photo,
    .teacher::before {
        aspect-ratio: 5 / 3;
    }

    .matiere-proof__icon {
        width: 2.8rem;
        height: 2.8rem;
    }

    .post-58 .matiere-body__grid .prose p, 
    .post-57 .matiere-body__grid .prose p, 
    .post-59 .matiere-body__grid .prose p {
        font-size: var(--font-size-md);
    }

    .matiere-prices__grid:has(.matiere-price:only-child) + .matiere-prices__foot {
        max-width: 34rem;
        margin: 2rem auto 0;
    }

    .matiere-proof__icon .icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .matiere-panel__title {
        font-size: var(--font-size-lg);
    }

    .matiere-tabs__more {
        font-size: var(--font-size-md);
        padding-top: 2.4rem;
        margin-top: 3.1rem;
    }

    .matiere-tabs__main .matiere-tabs__more {
        font-size: var(--font-size-base);
    }

    .matiere-levels .matiere-tabs__more.prose h2 {
        margin-bottom: 2rem;
        max-width: 40rem;
    }

    .matiere-film__player .btn {
        padding: 9px 14px;
        font-size: var(--font-size-sm);
    }

    .matiere .matiere-levels__art {
        margin-top: 0;
        width: 16rem;
    }

    .matiere-film__sound-on, 
    .matiere-film__sound-off {
        gap: .4rem;
    }

    .matiere-hero__code {
        padding: .2rem .7rem .3rem;
        letter-spacing: .03rem;
    }

    .hero-full--band .hero-full__title {
        margin-block: 1.4rem 2rem;
        font-size: 4rem;
    }

    .matiere .matiere-levels__lede {
        font-size: var(--font-size-md);
    }

    .hero-full--band .hero-full__actions .btn {
        height: 40px;
        padding-inline: 16px;
    }

    .matiere-body--lead .prose > h2:first-child {
        line-height: 1.1;
        font-size: 3.8rem;
    }

    .matiere-chip {
        padding: .8rem 1.5rem;
        font-size: var(--font-size-sm);
    }

    .format-why .format-facts {
        margin-top: 3rem;
    }

    .format-fact {
        padding: 2rem;
        border-radius: var(--r-sm);
    }

    .format-fact__icon {
        width: 3.4rem;
        height: 3.4rem;
        margin-bottom: 1.2rem;
    }

    .matiere-body .format-fact__value {
        font-size: 1.4rem;
    }

    .format-who__lede {
        margin-top: 2rem;
        font-size: var(--font-size-md);
    }

    .matiere-chips {
        gap: .5rem;
    }

    .choice-card__icon .icon {
        width: 1.7rem;
        height: 1.7rem;
    }

    .request__step + .request__step {
        margin-top: 3rem;
        padding-top: 2rem;
    }

    .request__grid {
        gap: 2.5rem 1.4rem;
    }

    .field input, .field select, .field textarea {
        padding: 9px 14px;
    }

    .request__questions {
        gap: 2.5rem;
    }

    .request__grid:not(.request__grid--halves) {
        grid-template-columns: 9rem minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (max-width: 599px) {
    .site-header__bar {
        gap: 6px;
        padding: 6px 16px 6px 6px;
    }

    .nav__mobile-topbar {
        gap: 6px;
    }

    .nav__legal {
        gap: 1px 20px;
        font-size: var(--font-size-xs);
        margin-top: 0.5rem;
    }

    .nav__mobile-extra {
        gap: 10px;
    }

    .site-header__actions .btn {
        background-color: transparent;
        color: var(--ink);
        border: none;
        padding: 0;
        border-radius: 0;
    }

    .mega-link {
        gap: 5px;
        padding: 5px 11px;
        font-size: var(--font-size-xs);
    }

    .mega-link--all {
        padding-block: 5px;
        gap: 3px;
        font-weight: 500;
    }

    .nav__phone {
        font-size: var(--font-size-xs);
        gap: 2px;
        padding: 7.5px 16px 6.5px 14px;
    }

    .site-footer__brand {
        max-width: 23rem;
        font-size: var(--font-size-sm);
        line-height: 1.5;
    }

    .site-footer__bottom {
        margin-top: 3rem;
        padding-top: 1rem;
        font-size: var(--font-size-xs);
    }

    .site-footer__bottom .link-underline {
        font-size: var(--font-size-xs);
    }

    .hero-full__trust p {
        font-size: var(--font-size-xs);
        line-height: 1.45;
    }

    .float-card {
        font-size: var(--font-size-xs);
        line-height: 1.3;
    }

    .hero-full__inner {
        padding-top: 14rem;
    }

    .finder__title .icon {
        width: 1.6rem;
        height: 1.6rem;
    }

    .profiles-lede {
        font-size: var(--font-size-base);
        line-height: 1.45;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .finder .btn {
        padding: 11.5px 18px;
    }

    .cah-svg--icon-education-1 {
        width: 1.2rem;
        top: -1px;
    }

    .eyebrow {
        font-size: var(--font-size-3xs);
        letter-spacing: .1rem;
    }

    .hero-full__lead {
        line-height: 1.35;
    }

    .matiere-body__grid .prose p {
        font-size: var(--font-size-base);
        line-height: 1.4;
    }

    .matiere-body--lead .prose > h2:first-child {
        line-height: 1.2;
        font-size: 2.8rem;
        margin-top: .5rem;
    }

    .hero-full--band .hero-full__title {
        margin-block: 1rem 2.5rem;
        font-size: 3rem;
        line-height: 1.1;
    }

    .matiere-step__desc {
        margin-top: .5rem;
        font-size: var(--font-size-xs);
        line-height: 1.4;
    }

    .matiere-step__label {
        font-size: var(--font-size-3xs);
    }

    .matiere-step__code {
        font-size: 1.3rem;
    }

    article.matiere .matiere-levels .section-head {
        margin-bottom: 0;
    }

    article.matiere.cah_subject .matiere-levels .section-head {
        margin-bottom: 2.4rem;
    }

    .cta[aria-labelledby="matiere-cta-title"] .cta__text {
        font-size: var(--font-size-base);
    }

    .matiere-proof__grid .matiere-proof__list {
        gap: 1.2rem;
    }

    .cta[aria-labelledby="matiere-cta-title"] .cta__title, 
    .cta[aria-labelledby="matiere-archive-cta"] .cta__title {
        font-size: 2.3rem;
    }

    .matiere-proof__list li {
        font-size: var(--font-size-base);
        line-height: 1.5;
    }

    .matiere-proof__icon {
        width: 2.4rem;
        height: 2.4rem;
    }

    .matiere-proof__icon .icon {
        width: 1.3rem;
        height: 1.3rem;
    }

    .matiere-proof__lede {
        font-size: var(--font-size-base);
        line-height: 1.5;
    }

    .legal__body h2 + *, 
    .legal__body h3 + *, 
    .prose h2 + *, 
    .prose h3 + * {
        line-height: 1.55;
    }

    .format-facts .icon {
        width: 1.4rem;
        height: 1.4rem;
    }

    .ccdl-fact__label, 
    .format-fact__label {
        font-size: var(--font-size-3xs);
    }

    .format-who__head .format-who__illustration {
        width: 5rem;
        margin: 0 auto .5rem;
    }

    .format-who__lede {
        max-width: 41ch;
        font-size: var(--font-size-base);
        line-height: 1.45;
    }

    .matiere-card__content {
        padding: 1.6rem;
    }

    .format-who .matiere-card__title {
        font-size: 1.3rem;
    }

    .matiere-card__code {
        font-size: var(--font-size-3xs);
    }

    .format-how__media {
        min-height: 30rem;
    }

    .section-head--split .btn {
        padding: 10px 20px 10.5px;
    }

    .matiere-prices__illustration {
        width: 4.4rem;
    }

    .matiere-body__art {
        aspect-ratio: 4 / 3;
    }

    .matiere-body__art-wrapper {
        max-width: 100%;
    }

    .matiere-card__desc {
        font-size: var(--font-size-sm);
        line-height: 1.35;
    }

    .format-audience__photo {
        border-radius: 18px 18px 0 0;
    }

    .ccdl-fact__desc, .format-fact__desc {
        font-size: var(--font-size-xs);
        line-height: 1.45;
    }

    .matiere-body .format-fact__value {
        font-size: 1.3rem;
    }

    .format-fact__icon {
        width: 3rem;
        height: 3rem;
    }

    .format-why .format-facts {
        margin-top: 1.2rem;
    }

    .matiere-body__art-wrapper .video-toggle {
        bottom: 1.4rem;
    }

    .format-why .matiere-body__art {
        aspect-ratio: 3 / 2;
    }

    .post-59 .matiere-body__art-wrapper {
        max-width: 100%;
    }

    .ccdl-levels__head .section-title {
        margin-top: .5rem;
    }

    .ccdl-levels__head p:not(.eyebrow) {
        font-size: var(--font-size-base);
        line-height: 1.45;
    }

    .ccdl-levels__head p:not(.eyebrow) {
        line-height: 1.45;
    }

    .ccdl-levels__head p.ccdl-levels__points-label {
        font-size: var(--font-size-base);
    }

    .ccdl-levels__points li {
        font-size: var(--font-size-base);
        line-height: 1.45;
    }

    .ccdl-levels .level-card__title {
        font-size: var(--font-size-md);
    }

    .level-card {
        padding: 1.6rem;
    }

    .ccdl-levels__foot {
        font-size: var(--font-size-xs);
        margin-top: 1rem;
    }

    .ccdl-levels__foot-icon {
        width: 2.4rem;
        height: 2.4rem;
        min-width: 2.4rem;
        position: relative;
        bottom: 1px;
    }

    .ccdl-levels__foot .icon {
        width: 1.3rem;
        height: 1.3rem;
    }

    .ccdl-levels__illustration {
        width: 8rem;
    }

    .ccdl-how__foot {
        font-size: var(--font-size-xs);
    }

    .ccdl-fact__value {
        font-size: 1.3rem;
    }

    .ccdl-levels__tables {
        gap: 1rem;
    }

    .ccdl-sessions__head p:not(.eyebrow) {
        font-size: var(--font-size-base);
        line-height: 1.45;
    }

    .ccdl-sessions__illustration {
        margin: 3rem auto 0;
        width: 12rem;
    }

    .ccdl-prices__desc {
        font-size: 1rem;
    }

    .ccdl-sessions__table tbody th {
        font-size: var(--font-size-base);
    }

    .ccdl-sessions__table table {
        font-size: var(--font-size-xs);
    }

    .ccdl-how__foot .icon {
        position: relative;
        bottom: 1px;
    }

    .ccdl-how .section-title {
        margin-top: .5rem;
    }

    .level-card__list strong {
        font-size: var(--font-size-base);
    }

    .level-card__list li {
        font-size: 1rem;
    }

    .check-list {
        gap: 3px;
    }

    .check-list li {
        font-size: var(--font-size-md);
    }

    .hero-full__points .icon {
        width: 1.4rem;
        height: 1.4rem;
    }

    .post-58 .matiere-body__grid .prose p, 
    .post-57 .matiere-body__grid .prose p, 
    .post-59 .matiere-body__grid .prose p {
        font-size: var(--font-size-base);
        line-height: 1.45;
    }

    .matiere-levels__lede {
        font-size: var(--font-size-base);
    }

    .legal__updated {
        font-size: var(--font-size-xs);
    }

    .matiere-hero__code {
        padding: .3rem .7rem .2rem;
    }

    .legal__body h2, 
    .prose h2 {
        font-size: 1.8rem;
    }

    .btn--lg {
        font-size: var(--font-size-base);
    }

    .finder__field select {
        font-size: var(--font-size-sm);
    }

    .finder__field label {
        font-size: var(--font-size-3xs);
    }

    .finder__title {
        font-size: 1.3rem;
    }

    .float-card__icon {
        width: 30px;
        height: 30px;
    }

    .float-card__value {
        font-size: 3.4rem;
    }

    .hero-full__trust {
        gap: 6px;
    }

    .hero-full__actions {
        gap: 0.5rem;
    }

    .video-toggle {
        width: 30px;
        height: 30px;
    }

    .hero-full__title {
        margin-block: 1rem 3rem;
        font-size: 3.8rem;
    }

    .hero-full__actions .btn {
        font-size: var(--font-size-sm);
    }

    .pill {
        font-size: var(--font-size-xs);
    }

    .site-footer {
        padding-block: 5rem 3rem;
    }

    .site-footer__social a {
        width: 32px;
        height: 32px;
    }

    .site-footer__social {
        gap: 6px;
    }

    .site-footer__social .brand-icon {
        width: 12px;
        height: 12px;
    }

    .site-footer .cah-logo--logo {
        height: 32px;
    }

    .nav__phone .icon {
        width: 1.4rem;
        height: 1.4rem;
    }

    .mega-link__icon {
        width: 1.2rem;
        height: 1.2rem;
        position: relative;
        top: -1.5px;
    }

    .mega-link:has(.mega-link__tag) {
        padding: 5px 9px 5px 6px;
    }

    .mega-card {
        gap: 8px;
    }

    .mega-card__text small {
        font-size: var(--font-size-xs);
    }

    .mega-card__text strong {
        font-size: var(--font-size-sm);
        margin-bottom: .1rem;
    }

    .mega-card__icon .icon {
        width: 1.2rem;
        height: 1.2rem;
    }

    .mega-card__icon {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }

    .mega__title {
        margin: 0 0 5px 10px;
        font-size: var(--font-size-3xs);
    }

    .nav__link {
        font-size: var(--font-size-base);
    }

    .nav__mobile-topbar .btn {
        padding: 11.5px 22px;
        font-size: var(--font-size-sm);
    }

    .choice-card__body {
        padding: 2.5rem 1.5rem 1.2rem;
        font-size: var(--font-size-xs);
    }

    .choice-card strong {
        font-size: var(--font-size-sm);
        line-height: 1.45;
    }

    .request__grid {
        gap: 2rem .8rem;
    }

    .check input {
        width: 1.6rem;
        height: 1.6rem;
    }

    .request__sublegend {
        font-size: var(--font-size-3xs);
    }

    .matiere-siblings__title {
        font-size: 1.8rem;
    }

    .matiere-chip {
        padding: .7rem 1.3rem;
        font-size: var(--font-size-xs);
    }

    .legal__title {
        margin-top: .2rem;
        font-size: 2.8rem;
    }

    .legal .eyebrow {
        gap: 5px;
    }

    .eyebrow .icon--scale {
        stroke-width: 1.5;
        height: 14px;
        width: 14px;
    }

    .page-template-page-teacher .request__grid--halves {
        grid-template-columns: 1fr;;
    }

    .contact__promise {
        margin-top: 1.4rem;
        line-height: 1.5;
    }

    .error-404__lead {
        max-width: 40ch;
        font-size: var(--font-size-base);
    }

    .request__consents {
        margin-top: 3rem;
        padding-top: 2.2rem;
    }

    .request__submit .btn.btn--lg {
        padding: 10px 14px 10.5px;
    }

    .request__submit p {
        font-size: var(--font-size-xs);
    }

    .request__step + .request__step {
        margin-top: 2.6rem;
    }

    .choice-card__body::after {
        width: 1.8rem;
        height: 1.8rem;
        top: 1.2rem;
        right: 1.2rem;
    }

    .request__choices--cards {
        gap: 1rem;
    }

    .choice-card__icon .icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .request__steptitle {
        margin-bottom: 1rem;
    }

    .request {
        padding: 2rem;
    }

    .contact__illu {
        width: 12rem;
    }

    .contact__lead {
        line-height: 1.45;
    }

    .contact__title {
        font-size: 2.4rem;
    }

    .nav__mobile-topbar {
        gap: 5px;
    }

    .nav-toggle {
        gap: 3px;
        padding: 0 12px 0 10px;
    }

    .site-header .cah-logo--logo {
        height: 28px;
    }

    .site-header__cta {
        gap: 4px;
        padding: 10px 14px 9px 10px;
        font-size: var(--font-size-sm);
    }

    .site-header__cta-long {
        display: none;
    }

    /* Menu mobile : « Devenir enseignant » devient « Enseigner ». */
    .nav__mobile-long {
        display: none;
    }

    .nav__mobile-short {
        display: inline;
    }

    .nav__mobile-links a {
        padding-inline: 6px;
        font-size: var(--font-size-sm);
        padding: 10px 0 0;
        height: 38px;
        background-color: var(--grey-50);
    }

    /* Carrousels : avis et formules (le centrage de la formule mise en avant
       est dans main.js, « Carrousels mobiles »). La piste déborde jusqu'aux
       bords de l'écran ; les cartes voisines dépassent pour inviter au geste. */
    .reviews__grid,
    .matiere-prices__grid,
    .ccdl-packs {
        position: relative;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: calc(100% - 3.2rem);
        gap: 1.2rem;
        justify-content: safe center;
        max-width: none;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        margin: -8px calc(-1 * var(--gutter)) -32px;
        padding: 8px var(--gutter) 32px;
        scrollbar-width: none;
    }

    /* La pastille (`.pack .badge`, top: -1.2rem) dépasse de la carte :
       la piste lui laisse la place, sinon l'overflow la rogne. */
    .matiere-prices__grid,
    .ccdl-packs {
        margin-top: -16px;
        padding-top: 16px;
    }

    .nav__mobile-links {
        gap: 5px;
    }

    .whatsapp-fab__label {
        display: none;
    }

    .whatsapp-fab__glyph {
        width: 20px;
        height: 20px;
    }

    .whatsapp-fab {
        bottom: 0.5rem;
        box-shadow: none;
    }

    .reviews__grid::-webkit-scrollbar,
    .matiere-prices__grid::-webkit-scrollbar,
    .ccdl-packs::-webkit-scrollbar {
        display: none;
    }

    .btn--primary::before {
        display: none;
    }

    .site-header__cta-short {
        display: inline;
        font-size: var(--font-size-xs);
        line-height: 1;
        text-decoration: underline;
        text-underline-offset: 3px;
        padding: 3px 0;
        text-decoration-color: var(--red-500);
        text-decoration-thickness: 1.5px;
    }

    .nav-toggle__label {
        position: relative;
        top: 1px;
        font-size: var(--font-size-sm);
    }

    .reviews__grid > *,
    .matiere-prices__grid > *,
    .ccdl-packs > * {
        scroll-snap-align: center;
    }

    .review--feature {
        grid-column: auto;
    }

    /* Enseignants : une carte entière, la suivante dépasse à droite. Même
       piste pleine largeur que les avis ; l'aimantation reste au début de
       carte (`.teachers--carousel .teacher`). Les flèches avancent d'une
       largeur d'écran, l'aimant ramène sur la carte suivante. */
    .teachers--carousel .teachers__grid {
        grid-auto-columns: calc(100% - 3.2rem);
        gap: 1.2rem;
        margin-inline: calc(-1 * var(--gutter));
        padding-inline: var(--gutter);
        scroll-padding-inline: var(--gutter);
    }

    .profiles .section-head--split {
        align-items: flex-end;
        gap: 3rem;
    }

    /* Pages de format et de niveau : la photo passe sous le texte. */
    .matiere-body__grid {
        flex-direction: column;
        align-items: stretch;
    }

    .matiere-body__art {
        aspect-ratio: 4 / 5;
    }


    /* Pages de format, publics : `1fr` a pour minimum le contenu, et deux
       cartes ne tiennent plus côte à côte à 320 px ; `minmax(0, 1fr)` les
       laisse rétrécir. */
    .format-audiences--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .matiere .matiere-levels__aside {
        gap: 3rem;
    }

    .matiere-card__desc {
        font-size: var(--font-size-xs);
        line-height: 1.45;
    }

    .matiere-card__cta {
        font-size: var(--font-size-xs);
    }

    .matiere-family + .matiere-family {
        margin-top: 3rem;
    }

    .matiere-card__cta .link-arrow .icon {
        width: 1.2rem;
        height: 1.2rem;
    }

    .matiere-card__title {
        font-size: var(--font-size-base);
        line-height: 1.35;
    }

    .matiere-card {
        padding: 1.6rem;
    }

    .matiere .matiere-levels__list .matiere-family__grid {
        gap: 1.2rem;
    }

    .matiere-family__title {
        gap: .6rem;
        margin-bottom: 1.2rem;
        font-size: var(--font-size-lg);
    }

    .matiere-family__title__icon {
        height: 3.6rem;
        width: 3.6rem;
    }

    .matiere .matiere-levels__grid {
        gap: 3rem;
    }

    /* Accueil, enseignants : à 320 px, les flèches ne tiennent plus à côté
       du bouton ; elles passent dessous, calées à droite. */
    .teachers--carousel .section-head {
        flex-wrap: wrap;
        row-gap: 2rem;
    }

    .profiles-illu {
        width: 10rem;
    }

    .teachers--carousel .teachers__nav {
        margin-left: auto;
    }

    .profiles .section-title {
        margin-block: .5rem 1.4rem;
    }

    .tag {
        font-size: var(--font-size-3xs);
        padding: 6px 7px 5px;
    }
    
    .ccdl-card__title {
        font-size: 3rem;
        margin-block: 1rem 1.4rem;
        line-height: 1.2;
    }

    .ccdl-card .check-list {
        font-size: var(--font-size-base);
        margin-bottom: 2rem;
    }

    .session__title {
        gap: 6px 7px;
        font-size: 1.4rem;
    }

    .gauge {
        font-size: var(--font-size-xs);
    }

    .btn--sm {
        font-size: var(--font-size-xs);
    }

    .group-card__foot {
        font-size: var(--font-size-xs);
        line-height: 1.3;
        padding: 10px;
         border-radius: 10px;
    }

    .session__side .btn--sm {
        padding: 7.5px 16px 7.5px;
    }

    .session__title::before {
        width: 10px;
        height: 10px;
    }

    .subject-group {
        border-radius: var(--r-sm);
        padding: 1.4rem;
    }

    .subject-group__head p {
        font-size: var(--font-size-xs);
        line-height: 1.4;
    }

    .subject-list {
        gap: 6px;
    }

    .subject {
        gap: 3px;
        font-size: var(--font-size-xs);
        padding: 6px 10px;
    }

    .subject-group__head h3 {
        font-size: 1.5rem;
    }

    .subject__arrow {
        width: 1.2rem;
        height: 1.2rem;
    }

    .subject-group__head {
        margin-bottom: 1.4rem;
    }

    .meta-list {
        font-size: var(--font-size-xs);
        gap: 4px 7px;
    }

    .subject__code {
        width: 20px;
        font-size: var(--font-size-2xs);
    }

    .subjects__online {
        flex-direction: column;
    }

    .subjects__online-title {
        font-size: 1.8rem;
        flex-direction: row;
    }

    .subjects__online-desc {
        font-size: var(--font-size-base);
        line-height: 1.5;
    }

    .subjects__online-body {
        gap: 8px;
    }

    .proof__hat {
        width: 6rem;
    }

    .matiere-levels .matiere-levels__art {
        width: 13rem;
    }

    .matiere .matiere-levels__lede {
        font-size: var(--font-size-base);
        line-height: 1.45;
    }

    .step__title {
        font-size: 1.25rem;
    }

    .bento__cell--list .reason-icon .icon {
        width: 1.2rem;
        height: 1.2rem;
    }

    .bento__cell {
        padding: 14px;
    }

    .bento__cell.bento__cell--photo {
        padding: 0;
    }

    .home .section.proof {
        padding-block: 12rem 0;
    }

    .teachers__lede {
        font-size: var(--font-size-base);
        line-height: 1.5;
    }

    .teachers--carousel .section-head {
        flex-wrap: nowrap;
        gap: 2rem;
    }

    .reviews__lede {
        font-size: var(--font-size-base);
    }

    .link-arrow .icon {
        top: .5px;
        width: 1.3rem;
        height: 1.3rem;
    }

    .review {
        gap: 10px;
    }

    .review--feature .review__text {
        font-size: 1.8rem;
    }

    .review__text {
        font-size: var(--font-size-base);
        line-height: 1.45;
    }

    .reviews__score {
        gap: 1rem;
    }

    .reviews__score-line strong {
        font-size: 2rem;
    }

    .faq__head .btn {
        margin-top: .5rem;
    }

    .accordion__item p {
        line-height: 1.4;
    }

    .accordion__icon {
        width: 25px;
        height: 25px;
    }

    .accordion__item {
        padding: 1.3rem 1.6rem;
    }

    .accordion__icon .icon {
        width: 14px;
        height: 14px;
    }

    .faq__illustration {
        width: 14rem;
    }

    .cta__panel > .cah-logo--roof {
        top: 2rem;
        right: -3.5rem;
        width: 10rem;
    }

    .matiere-levels .matiere-tabs__more.prose h2 {
        margin-bottom: 1.6rem;
    }

    .matiere .matiere-siblings .section-head {
        margin-bottom: 2.4rem;
    }

    .cta__text {
        font-size: var(--font-size-base);
        line-height: 1.35;
    }

    .cta__title {
        font-size: 2.3rem;
    }

    .teacher__author strong {
        font-size: 1.3rem;
    }

    .faq__head .section-title {
        font-size: 2.4rem;
    }

    .teacher__text {
        font-size: var(--font-size-base);
        line-height: 1.45;
    }

    .teachers__nav {
        gap: 6px;
    }

    .teachers__arrow {
        width: 32px;
        height: 32px;
    }

    .teachers .section-head__actions {
        display: none;
    }

    .bento__cell p {
        font-size: var(--font-size-xs);
        margin-top: .4rem;
        line-height: 1.3;
    }

    .bento__cell--list li {
        gap: 0.6rem;
    }

    .teachers .section-title {
        margin-block: .3rem 1.6rem;
    }

    .bento__cell--list li {
        font-size: var(--font-size-xs);
    }

    .reason-icon {
        width: 34px;
        height: 34px;
    }

    .bento__cell--hero {
        min-height: 220px;
    }

    .bento__value {
        font-size: 2.4rem;
    }

    .video-toggle {
        right: 1.4rem;
        bottom: 1.4rem;
    }

    .bento__cell--hero p {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .bento__cell--hero .bento__value {
        font-size: 5rem;
    }

    .bento__cell--hero .bento__value small {
        font-size: 2rem;
    }

    .btn .icon {
        width: 1.3rem;
        height: 1.3rem;
        top: .5px;
    }

    .btn.matiere-film__sound .icon {
        top: 0;
    }

    .steps .step p {
        font-size: 1rem;
        line-height: 1.45;
    }

    .step__icon .icon {
        width: 1.2rem;
        height: 1.2rem;
    }

    .step__icon {
        width: 3.2rem;
        height: 3.2rem;
    }

    .step__num {
        font-size: var(--font-size-sm);
    }

    .subjects__online {
        border-radius: var(--r-sm);
    }

    .subjects__online-title .icon {
        width: 2rem;
        height: 2rem;
        top: 2px;
    }

    .subjects__online-media {
        width: 100%;
    }

    .group-card__title {
        font-weight: 700;
        font-size: 2rem;
    }

    .groups__illu {
        width: 12rem;
    }

    .ccdl-card__desc {
        font-size: var(--font-size-base);
        margin-bottom: 1.2rem;
    }

    .round-btn {
        width: 34px;
        height: 34px;
        right: 15px;
        bottom: 15px;
    }

    .profile-card__title {
        margin-top: .8rem;
        font-size: 1.6rem;
    }

    .profile-card__desc {
        line-height: 1.45;
        font-size: var(--font-size-sm);
    }
 
    .profile-card__media {
        aspect-ratio: 1/1;
    }

    .profile-card__body {
        gap: 3px;
        padding: 1.2rem 5rem 4.2rem 1.2rem;
    }


    /* Mot souligné au feutre : il reste d'un bloc et descend en entier, mais
       peut se couper s'il est à lui seul plus large que l'écran
       (« comptabilité-gestion » à 320 px). */
    .section-title .scribble {
        white-space: normal;
    }

}
