/*
Theme Name: Ostéo Vallauris
Description: Thème léger sur mesure pour le cabinet d'ostéopathie de Guillaume Busnel à Vallauris.
Version: 0.9.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: osteo-vallauris
*/

/* ---------- Couleurs et réglages ---------- */
:root {
	--mer: #1d5c75;
	--mer-fonce: #133f52;
	--mer-clair: #e4eff2;
	--terre: #b5532b;
	--terre-fonce: #93421f;
	--sable: #f5ede0;
	--ecume: #fffcf7;
	--olive: #66714a;
	--texte: #2b2622;
	--doux: #6a625a;
	--bordure: #e6dccb;
	--rayon: 1.25rem;
	--ombre: 0 .75rem 2rem rgba(29, 92, 117, .12);
	--ombre-legere: 0 .25rem 1rem rgba(43, 38, 34, .06);
	--titres: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--largeur: 72rem;
	--largeur-texte: 46rem;
}

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

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

body {
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--texte);
	background: var(--ecume);
}

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

a { color: var(--mer); text-underline-offset: .15em; }
a:hover { color: var(--terre); }
a:focus-visible, button:focus-visible, .bouton:focus-visible { outline: 3px solid #e0a100; outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--titres); font-weight: 600; line-height: 1.2; color: var(--mer-fonce); }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin: .25em 0 .4em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 1.8em 0 .6em; }
h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
h4 { font-size: 1.1rem; }
.h3 { font-size: 1.3rem; margin: 0 0 .5em; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 1.25rem; }
.texte { max-width: var(--largeur-texte); }
.texte--centre { margin-left: auto; margin-right: auto; }

.lien-evitement { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.lien-evitement:focus { left: 0; }

.surtitre { display: inline-block; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terre); font-weight: 600; }

/* ---------- Boutons ---------- */
.bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .85rem 1.5rem;
	border-radius: 999px;
	background: var(--terre);
	color: #fff;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 .4rem 1rem rgba(181, 83, 43, .25);
	transition: transform .2s, background-color .2s, box-shadow .2s, color .2s;
}
.bouton:hover { background: var(--terre-fonce); color: #fff; transform: translateY(-2px); box-shadow: 0 .6rem 1.4rem rgba(181, 83, 43, .3); }
.bouton--contour { background: transparent; color: var(--mer); box-shadow: inset 0 0 0 2px var(--mer); }
.bouton--contour:hover { background: var(--mer); color: #fff; box-shadow: none; }
.bouton--petit { padding: .55rem 1.1rem; font-size: .95rem; }
.bouton--grand { font-size: 1.1rem; padding: 1rem 1.8rem; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 252, 247, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--bordure); }
.entete__barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-top: .7rem; padding-bottom: .7rem; }
.marque { text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; }
.marque__nom { font-family: var(--titres); font-size: 1.3rem; font-weight: 600; color: var(--mer-fonce); }
.marque__metier { font-size: .8rem; color: var(--doux); letter-spacing: .03em; }
.entete__actions { display: flex; align-items: center; gap: .75rem; }
.entete__tel { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.entete__tel svg { width: 1.1rem; height: 1.1rem; }

.menu-bouton { display: none; align-items: center; gap: .4rem; font: inherit; font-weight: 600; font-size: .95rem; color: var(--mer-fonce); background: var(--mer-clair); border: 0; border-radius: 999px; padding: .5rem .9rem; cursor: pointer; }
.menu-bouton svg { width: 1.1rem; height: 1.1rem; }

.navigation { order: 3; width: 100%; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.menu a { display: inline-block; padding: .45rem 0; text-decoration: none; color: var(--texte); font-weight: 500; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .2rem; height: 2px; background: var(--terre); transition: right .25s; }
.menu a:hover, .menu .current-menu-item > a, .menu a[aria-current="page"] { color: var(--mer-fonce); }
.menu a:hover::after, .menu .current-menu-item > a::after, .menu a[aria-current="page"]::after { right: 0; }

/* Menu mobile (avec JavaScript) */
@media (max-width: 63.99rem) {
	.js .menu-bouton { display: inline-flex; }
	.js .entete__barre { flex-wrap: nowrap; }
	.js .navigation { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ecume); border-bottom: 1px solid var(--bordure); box-shadow: 0 1rem 1.5rem rgba(43, 38, 34, .08); padding: 0 1.25rem; }
	.js .navigation.ouvert { display: block; }
	.navigation .menu { flex-direction: column; padding: .5rem 0 1rem; }
	.navigation .menu a { padding: .6rem 0; font-size: 1.1rem; }
}
@media (min-width: 64rem) {
	.entete__barre { flex-wrap: nowrap; }
	.navigation { order: 0; width: auto; flex: 1; display: flex; justify-content: flex-end; }
	.menu { flex-wrap: nowrap; gap: 0 1.2rem; }
	.menu a { white-space: nowrap; }
}
@media (max-width: 30rem) {
	.marque__metier { display: none; }
	.marque__nom { font-size: 1.05rem; }
	.entete__actions { gap: .4rem; }
	.entete__tel span, .menu-bouton span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.menu-bouton { width: 2.4rem; height: 2.4rem; padding: 0; justify-content: center; }
	.entete__tel { width: 2.4rem; height: 2.4rem; justify-content: center; border-radius: 50%; background: var(--mer-clair); }
	.entete .bouton--petit { padding: .5rem .85rem; font-size: .9rem; }
}

/* ---------- Héros (accueil) ---------- */
.heros { background: linear-gradient(180deg, var(--sable) 0%, var(--ecume) 100%); padding: 2.5rem 0 4rem; overflow: hidden; }
.heros__grille { display: grid; gap: 2.5rem; align-items: center; }
.heros__texte p { font-size: 1.15rem; color: var(--doux); max-width: 34rem; }
.heros__boutons { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0; }
.avis { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--texte); font-size: .95rem; background: #fff; padding: .5rem 1rem; border-radius: 999px; box-shadow: var(--ombre); }
.avis:hover { color: var(--mer-fonce); }
.avis__etoiles { color: #c98f00; letter-spacing: .1em; }
.heros__photo { position: relative; isolation: isolate; }
.heros__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 48% 52% 42% 58% / 55% 45% 55% 45%; box-shadow: var(--ombre); }
.heros__photo::before { content: ""; position: absolute; right: -8%; bottom: -8%; width: 45%; aspect-ratio: 1; border-radius: 50%; background: var(--mer-clair); z-index: -1; }
.pastille { position: absolute; left: 0; bottom: 8%; background: #fff; border-radius: 1rem; padding: .75rem 1rem; box-shadow: var(--ombre); font-size: .9rem; line-height: 1.35; }
.pastille b { display: block; font-family: var(--titres); font-size: 1.4rem; color: var(--terre); }
@media (min-width: 52rem) {
	.heros { padding: 4rem 0 5rem; }
	.heros__grille { grid-template-columns: 1.05fr 1fr; }
}
@media (max-width: 30rem) {
	.heros__boutons .bouton { width: 100%; }
}

/* ---------- Bandeau des pages intérieures ---------- */
.bandeau { background: linear-gradient(180deg, var(--sable) 0%, var(--ecume) 100%); padding: 1.25rem 0 2rem; }
.bandeau h1 { margin-bottom: .2em; font-size: clamp(1.8rem, 5.5vw, 3.2rem); }
@media (max-width: 40rem) {
	.section { padding: 3rem 0; }
	.fil-ariane li[aria-current] { display: none; }
}
.bandeau .fil-ariane { margin-bottom: .5rem; }
.bandeau .intro { color: var(--doux); font-size: 1.15rem; margin: 0; }
.meta { color: var(--doux); font-size: .95rem; margin: 0; }

/* Fil d'Ariane */
.fil-ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: .9rem; color: var(--doux); }
.fil-ariane li + li::before { content: "›"; margin: 0 .45rem; color: var(--terre); }
.fil-ariane a { color: var(--doux); }

/* Vagues de séparation */
.vague { display: block; width: 100%; height: 50px; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section--sable { background: var(--sable); }
.entete-section { max-width: 40rem; margin: 0 auto 2.5rem; text-align: center; }
.entete-section h2 { margin-top: .2em; }
.entete-section p { color: var(--doux); }

/* Cartes « Pour qui ? » */
.cartes { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); list-style: none; padding: 0; margin: 0; }
.carte { background: #fff; border-radius: var(--rayon); padding: 1.75rem 1.5rem; box-shadow: var(--ombre-legere); border: 1px solid var(--bordure); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.carte:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.carte h3 { margin-top: 0; }
.carte p { color: var(--doux); margin: 0 0 1rem; flex: 1; }
.icone { width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--mer-clair); color: var(--mer); margin-bottom: 1rem; }
.icone svg { width: 1.9rem; height: 1.9rem; }
.lien-fleche { font-weight: 600; text-decoration: none; color: var(--terre); }
.lien-fleche::after { content: " →"; display: inline-block; transition: transform .2s; }
.lien-fleche:hover::after, .carte:hover .lien-fleche::after { transform: translateX(4px); }

/* Présentation */
.presentation { display: grid; gap: 2.5rem; align-items: center; }
.presentation img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); box-shadow: var(--ombre); }
.presentation h2 { margin-top: .2em; }
.parcours { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .6rem; }
.parcours li { padding-left: 1.75rem; position: relative; }
.parcours li::before { content: ""; position: absolute; left: 0; top: .6em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--olive); opacity: .85; }
@media (min-width: 52rem) { .presentation { grid-template-columns: 1fr 1fr; } }

/* Infos pratiques */
.infos { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.bloc { background: #fff; border-radius: var(--rayon); padding: 1.75rem; border: 1px solid var(--bordure); }
.bloc h3 { margin-top: 0; }
.prix { font-family: var(--titres); font-size: 2.4rem; color: var(--terre); line-height: 1.1; margin: 0 0 .5rem; }
.prix small { font-family: system-ui, sans-serif; font-size: .95rem; color: var(--doux); }
.bloc--photo { padding: 0; overflow: hidden; }
.bloc--photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.bloc--photo .bloc__texte { padding: 1.25rem 1.75rem 1.75rem; }
.horaires { width: 100%; border-collapse: collapse; }
.horaires th, .horaires td { padding: .3rem 0; border-bottom: 1px dashed var(--bordure); text-align: left; font-weight: 400; }
.horaires td { text-align: right; }

/* Liste d'articles */
.articles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); list-style: none; padding: 0; margin: 0; }
.articles a { display: block; height: 100%; padding: 1.1rem 1.25rem; background: #fff; border-radius: 1rem; border: 1px solid var(--bordure); text-decoration: none; color: var(--texte); font-weight: 500; transition: border-color .2s, transform .2s; }
.articles a:hover { border-color: var(--mer); transform: translateX(4px); color: var(--mer-fonce); }
.articles small { display: block; color: var(--terre); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.centre { text-align: center; margin-top: 2rem; }

/* Bandeau de confiance */
.confiance { border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); background: #fff; }
.confiance__liste { list-style: none; margin: 0 auto; padding-top: .9rem; padding-bottom: .9rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; font-size: .95rem; font-weight: 500; color: var(--mer-fonce); }
.confiance__liste li { display: flex; align-items: center; gap: .5rem; }
.confiance__liste li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--terre); }

/* Portrait dans le héros */
.heros__photo { max-width: 30rem; margin: 0 auto; width: 100%; }
.heros__photo img { aspect-ratio: 1; object-position: 60% 30%; }

/* Cartes « Pour qui ? » dépliables */
.cartes { align-items: start; }
.cartes .carte > p { flex: none; }
.carte__plus { margin-top: 0; }
.carte__plus summary { cursor: pointer; font-weight: 600; color: var(--terre); list-style: none; display: inline-flex; align-items: center; gap: .4rem; }
.carte__plus summary::-webkit-details-marker { display: none; }
.carte__plus summary::after { content: "+"; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--sable); font-weight: 700; transition: transform .2s; }
.carte__plus[open] summary::after { transform: rotate(45deg); }
.carte__plus p { margin: .75rem 0; color: var(--texte); flex: none; }

/* Étapes de la séance */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.etape { position: relative; background: #fff; border-radius: var(--rayon); padding: 2rem 1.5rem 1.5rem; border: 1px solid var(--bordure); }
.etape h3 { margin-top: .4rem; }
.etape p { color: var(--doux); margin: 0; }
.etape__numero { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--mer); color: #fff; font-family: var(--titres); font-size: 1.3rem; font-weight: 600; }
.pratique { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.pratique li { border-left: 3px solid var(--terre); padding: .25rem 0 .25rem 1rem; color: var(--doux); font-size: .95rem; line-height: 1.45; }
.pratique b { display: block; font-family: var(--titres); font-size: 1.2rem; color: var(--mer-fonce); }

/* Questions fréquentes */
.faq { max-width: 48rem; margin: 0 auto; display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--bordure); border-radius: 1rem; padding: 0 1.25rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font-weight: 600; color: var(--mer-fonce); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--terre); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 1rem; color: var(--doux); }

/* Cartes d'articles */
.cartes-articles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.carte-article a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); overflow: hidden; text-decoration: none; color: var(--texte); transition: transform .25s, box-shadow .25s; }
.carte-article a:hover { transform: translateY(-5px); box-shadow: var(--ombre); color: var(--texte); }
.carte-article__visuel { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.carte-article a:hover .carte-article__visuel { transform: scale(1.04); }
.visuel-vide { display: grid; place-items: center; background: linear-gradient(135deg, var(--mer-clair), var(--sable)); color: var(--mer); }
.visuel-vide svg { width: 3rem; height: 3rem; }
.carte-article__corps { display: flex; flex-direction: column; gap: .4rem; padding: 1.1rem 1.25rem 1.25rem; flex: 1; }
.carte-article__titre { font-size: 1.2rem; margin: 0; }
.carte-article__resume { color: var(--doux); font-size: .95rem; line-height: 1.5; flex: 1; }
.carte-article__temps { font-size: .85rem; color: var(--doux); }
.etiquette { display: inline-block; align-self: flex-start; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--terre); background: rgba(181, 83, 43, .08); padding: .2rem .6rem; border-radius: 999px; }
.bandeau .etiquette { margin-top: .5rem; }

/* Article : image, en bref, sommaire, à lire aussi */
.article-image { margin: 0 0 2rem; }
.article-image__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--rayon); box-shadow: var(--ombre); }
.article-image .visuel-vide { border-radius: var(--rayon); }
.en-bref { background: #fff; border: 1px solid var(--bordure); border-top: 4px solid var(--olive); border-radius: 1rem; padding: 1.1rem 1.4rem; margin: 0 0 2rem; }
.en-bref__titre { font-family: var(--titres); font-size: 1.2rem; font-weight: 600; color: var(--mer-fonce); margin: 0 0 .4rem; }
.en-bref ul { margin: 0; padding-left: 1.2rem; }
.en-bref li { margin-bottom: .3rem; }
.en-bref li::marker { color: var(--olive); }
.sommaire { background: var(--sable); border-radius: 1rem; padding: .9rem 1.4rem; margin: 0 0 2rem; }
.sommaire summary { cursor: pointer; font-family: var(--titres); font-size: 1.15rem; font-weight: 600; color: var(--mer-fonce); }
.sommaire ol { margin: .6rem 0 .2rem; padding-left: 1.3rem; }
.sommaire li { margin-bottom: .25rem; }
.contenu h2[id] { scroll-margin-top: 6rem; }
.a-lire { margin-top: 3.5rem; }
.a-lire h2 { text-align: center; margin-top: 0; }

/* ---------- Accueil : « Où avez-vous mal ? » ---------- */
.ou-mal { padding-top: 1rem; }
.ou-mal__grille { display: grid; gap: 2rem; align-items: center; }
.ou-mal__corps { max-width: 20rem; width: 100%; margin: 0 auto; }
.ou-mal__corps svg { display: block; width: 100%; height: auto; overflow: visible; }
.silhouette ellipse, .silhouette path { fill: var(--sable); stroke: #d9c9b0; stroke-width: 1.5; }
.zone { cursor: pointer; }
.zone:focus { outline: none; }
.zone__point { fill: var(--terre); stroke: #fff; stroke-width: 2; transform-box: fill-box; transform-origin: center; transition: transform .2s; }
.zone__halo { fill: var(--terre); opacity: .25; transform-box: fill-box; transform-origin: center; animation: zone-pulse 2.6s ease-out infinite; }
.zone__bulle { font-family: system-ui, sans-serif; font-size: 14px; font-weight: 600; fill: var(--mer-fonce); paint-order: stroke; stroke: var(--ecume); stroke-width: 4px; stroke-linejoin: round; opacity: 0; transition: opacity .2s; pointer-events: none; }
.zone:hover .zone__point, .zone:focus-visible .zone__point, .zone.actif .zone__point { transform: scale(1.45); fill: var(--terre-fonce); }
.zone:hover .zone__bulle, .zone:focus-visible .zone__bulle, .zone.actif .zone__bulle { opacity: 1; }
.zone:focus-visible .zone__halo { opacity: .5; stroke: #e0a100; stroke-width: 3; }
@keyframes zone-pulse { 0% { transform: scale(.6); opacity: .45; } 70% { transform: scale(1.5); opacity: 0; } 100% { transform: scale(1.5); opacity: 0; } }

.ou-mal__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.ou-mal__liste a { display: flex; flex-direction: column; padding: .7rem 1rem; background: #fff; border: 1px solid var(--bordure); border-radius: 1rem; text-decoration: none; color: var(--texte); transition: border-color .2s, transform .2s, box-shadow .2s; height: 100%; }
.ou-mal__liste strong { color: var(--mer-fonce); }
.ou-mal__liste span { font-size: .9rem; color: var(--doux); }
.ou-mal__liste a:hover, .ou-mal__liste a.actif { border-color: var(--terre); transform: translateY(-2px); box-shadow: var(--ombre-legere); }
@media (min-width: 52rem) { .ou-mal__grille { grid-template-columns: 20rem 1fr; gap: 3rem; } }
@media (max-width: 51.99rem) {
	.ou-mal__corps { max-width: 13rem; }
	.ou-mal__liste { grid-template-columns: 1fr 1fr; gap: .5rem; }
	.ou-mal__liste a { padding: .55rem .75rem; }
	.ou-mal__liste strong { font-size: .95rem; }
	.ou-mal__liste span { font-size: .8rem; line-height: 1.35; }
}
@media (prefers-reduced-motion: reduce) {
	.zone__halo { animation: none; opacity: .25; }
	.zone__point, .ou-mal__liste a { transition: none; }
}

/* ---------- Modèle d'article pédagogique ---------- */
/* Schémas animés */
.schema { margin: 2rem 0; background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 1rem 1rem 1.25rem; }
.schema svg { display: block; width: 100%; max-width: 26rem; height: auto; margin: 0 auto; }
.schema figcaption { font-size: .95rem; color: var(--doux); text-align: center; max-width: 34rem; margin: .75rem auto 0; line-height: 1.5; }
.schema__corps { fill: var(--sable); stroke: #d9c9b0; stroke-width: 1.5; }
.schema__corps--pale { opacity: .55; }
.schema__os { fill: #fbf6ee; stroke: #cdbb9f; stroke-width: 1.5; }
.schema__vertebres rect, .schema__vertebres path { fill: #fff; stroke: #b9a687; stroke-width: 1.5; }
.schema__disques ellipse { fill: var(--mer-clair); stroke: var(--mer); stroke-width: 1; }
.schema__hernie { fill: #f3c9b4; stroke: var(--terre); stroke-width: 1.5; transform-box: fill-box; transform-origin: left center; animation: schema-hernie 2.4s ease-in-out infinite; }
.schema__nerf { fill: none; stroke: #e7c66a; stroke-width: 5; stroke-linecap: round; }
.schema__influx { fill: none; stroke: var(--terre); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 60 600; stroke-dashoffset: 60; animation: schema-influx 2.4s ease-in infinite; filter: drop-shadow(0 0 4px rgba(181, 83, 43, .55)); }
.schema__influx--branche { stroke-dasharray: 40 300; stroke-dashoffset: 40; animation-name: schema-influx-branche; }
.schema__legendes line { stroke: var(--doux); stroke-width: 1; stroke-dasharray: 3 3; }
.schema__legendes text { font-family: system-ui, sans-serif; font-size: 13px; fill: var(--mer-fonce); }
@keyframes schema-hernie { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(1.35); } }
@keyframes schema-influx { 0% { stroke-dashoffset: 60; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -400; opacity: 0; } }
@keyframes schema-influx-branche { 0%, 55% { stroke-dashoffset: 40; opacity: 0; } 65% { opacity: 1; } 100% { stroke-dashoffset: -150; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	.schema__hernie { animation: none; transform: scaleX(1.35); }
	.schema__influx { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; opacity: .85; }
}

/* Schéma : effet domino (dos) */
.dos__vertebre rect { fill: #fff; stroke: #b9a687; stroke-width: 1.5; }
.dos__vertebre { transform-box: fill-box; transform-origin: center; }
.dos__vertebre--bloquee rect { fill: #fdf1ec; stroke: var(--terre); stroke-width: 2.5; }
.dos__cadenas { fill: none; stroke: var(--terre); stroke-width: 2; }
.dos__vertebre--compense { animation: dos-compense 2.8s ease-in-out infinite; }
.dos__vertebre--bas { animation-delay: -1.4s; }
.dos__disque { fill: var(--mer-clair); stroke: var(--mer); stroke-width: 1; }
.dos__sacrum { fill: #fbf6ee; stroke: #cdbb9f; stroke-width: 1.5; }
.dos__douleur { fill: var(--terre); opacity: 0; transform-box: fill-box; transform-origin: center; animation: dos-douleur 2.8s ease-out infinite; }
.dos__douleur--bas { animation-delay: -1.4s; }
@keyframes dos-compense { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
@keyframes dos-douleur { 0%, 40% { opacity: 0; transform: scale(.4); } 60% { opacity: .85; transform: scale(1); } 100% { opacity: 0; transform: scale(1.8); } }

/* Schéma : cou */
.cou__tete, .cou__epaules { fill: var(--sable); stroke: #d9c9b0; stroke-width: 1.5; }
.cou__vertebres rect { fill: #fff; stroke: #b9a687; stroke-width: 1.5; }
.cou__muscle { fill: #e8b9a3; opacity: .45; animation: cou-muscle 2.6s ease-in-out infinite; }
.cou__muscle--droit { animation-delay: -1.3s; }
.cou__rotation { fill: none; stroke: #cdbb9f; stroke-width: 3; stroke-dasharray: 6 6; }
.cou__rotation--limitee { stroke: var(--terre); stroke-dasharray: none; stroke-linecap: round; animation: cou-rotation 2.6s ease-in-out infinite; }
@keyframes cou-muscle { 0%, 100% { opacity: .35; } 50% { opacity: .9; fill: var(--terre); } }
@keyframes cou-rotation { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* Schéma : épaule */
.epaule__os { fill: #fbf6ee; stroke: #b9a687; stroke-width: 1.5; }
.epaule__omoplate { fill: var(--sable); stroke: #d9c9b0; stroke-width: 1.5; }
.epaule__bras { transform-box: view-box; transform-origin: 224px 132px; animation: epaule-bras 3.2s ease-in-out infinite; }
.epaule__tendon { fill: none; stroke: var(--mer); stroke-width: 7; stroke-linecap: round; animation: epaule-tendon 3.2s ease-in-out infinite; }
@keyframes epaule-bras { 0%, 15%, 100% { transform: rotate(0); } 45%, 65% { transform: rotate(-55deg); } }
@keyframes epaule-tendon { 0%, 25%, 90%, 100% { stroke: var(--mer); } 45%, 65% { stroke: var(--terre); } }

/* Schéma : tête */
.tete__profil { fill: var(--sable); stroke: #d9c9b0; stroke-width: 1.5; }
.tete__vertebres rect { fill: #fff; stroke: #b9a687; stroke-width: 1.5; }
.tete__muscle { fill: #e8b9a3; opacity: .55; animation: cou-muscle 2.8s ease-in-out infinite; }
.tete__nerf { fill: none; stroke: #e7c66a; stroke-width: 4; stroke-linecap: round; }
.tete__influx { fill: none; stroke: var(--terre); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 40 400; stroke-dashoffset: 40; animation: tete-influx 2.8s ease-in infinite; }
.tete__tempe { fill: var(--terre); opacity: .8; }
.tete__onde { fill: none; stroke: var(--terre); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: tete-onde 1.4s ease-out infinite; }
.tete__onde--2 { animation-delay: .7s; }
@keyframes tete-influx { 0% { stroke-dashoffset: 40; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -300; opacity: 0; } }
@keyframes tete-onde { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }

/* Schéma : oreille */
.oreille__pavillon, .oreille__conduit { fill: var(--sable); stroke: #d9c9b0; stroke-width: 1.5; }
.oreille__tympan { stroke: var(--mer); stroke-width: 3; stroke-linecap: round; }
.oreille__osselet { fill: #fff; stroke: #b9a687; stroke-width: 1.5; }
.oreille__cochlee { fill: none; stroke: var(--mer); stroke-width: 3; stroke-linecap: round; }
.oreille__nerf { fill: none; stroke: #e7c66a; stroke-width: 4; stroke-linecap: round; }
.oreille__cerveau { fill: none; stroke: #cdbb9f; stroke-width: 2; stroke-dasharray: 5 5; }
.oreille__son { fill: none; stroke: var(--terre); stroke-width: 3; stroke-linecap: round; opacity: 0; animation: oreille-son 2.4s ease-out infinite; }
.oreille__son--2 { animation-delay: .4s; }
.oreille__son--3 { animation-delay: .8s; }
.oreille__fosse { fill: none; stroke: #b9a687; stroke-width: 2; }
.oreille__condyle { fill: #fbf6ee; stroke: #b9a687; stroke-width: 1.5; }
.oreille__machoire { transform-box: view-box; transform-origin: 150px 204px; animation: oreille-machoire 3.2s ease-in-out infinite; }
@keyframes oreille-son { 0% { opacity: 0; } 20% { opacity: .9; } 70%, 100% { opacity: 0; } }
@keyframes oreille-machoire { 0%, 30%, 100% { transform: rotate(0); } 55%, 75% { transform: rotate(9deg); } }

/* Schémas à onglets (choix d'une vue) */
.schema__onglets { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 0 1rem; }
.schema__onglets[hidden] { display: none; }
.schema__onglets button { font: inherit; font-size: .9rem; color: var(--mer-fonce); background: var(--mer-clair); border: 1px solid transparent; border-radius: 999px; padding: .45rem .95rem; cursor: pointer; transition: background .2s, color .2s; }
.schema__onglets button:hover { border-color: var(--mer); }
.schema__onglets button[aria-pressed="true"] { background: var(--mer); color: #fff; }
.schema__onglets button:focus-visible { outline: 3px solid var(--terre); outline-offset: 2px; }
.schema__info { text-align: center; max-width: 34rem; margin: .75rem auto 0; padding: .6rem .9rem; background: var(--sable); border-radius: var(--rayon); font-size: .95rem; line-height: 1.5; color: var(--mer-fonce); }
[data-vues] [data-pour]:not(.est-visible) { display: none; }

/* Schéma : périostite (jambe interactive) */
.perio__jambe { stroke: #d9c9b0; stroke-width: 1.5; }
.perio__tibia { fill: #fff; stroke: #b9a687; stroke-width: 1.5; }
.perio__perioste { fill: none; stroke: var(--mer); stroke-width: 3; stroke-linecap: round; transition: stroke .3s, stroke-width .3s; }
.perio__muscle { fill: #e8b9a3; opacity: .5; animation: cou-muscle 1.6s ease-in-out infinite; transition: opacity .3s; }
.perio__muscle--post { animation-delay: -.8s; }
.perio__zone { fill: var(--terre); opacity: 0; transition: opacity .3s; }
.perio__lesion { fill: var(--terre); opacity: 0; animation: perio-lesion 3.2s ease-in-out infinite; }
.perio__lesion--2 { animation-delay: .5s; }
.perio__lesion--3 { animation-delay: 1s; }
.perio__sol { stroke: #b9a687; stroke-width: 2; }
.perio__choc { fill: none; stroke: var(--terre); stroke-width: 2.5; stroke-linecap: round; opacity: 0; animation: perio-choc 1.6s ease-out infinite; }
.perio__choc--2 { animation-delay: .2s; }
.perio__choc--3 { animation-delay: .4s; }
.perio__legende--avant, .perio__legende--interne { transition: opacity .3s; }
/* Vue « avant » : on éteint le bord interne, on allume l'avant. */
[data-vue="avant"] .perio__muscle--post, [data-vue="avant"] .perio__lesion--interne, [data-vue="avant"] .perio__legende--interne,
[data-vue="interne"] .perio__muscle--avant, [data-vue="interne"] .perio__lesion--avant, [data-vue="interne"] .perio__legende--avant { opacity: .08; animation: none; }
[data-vue="avant"] .perio__zone--avant, [data-vue="interne"] .perio__zone--interne { opacity: .18; animation: perio-zone 1.8s ease-in-out infinite; }
[data-vue="avant"] .perio__perioste--avant, [data-vue="interne"] .perio__perioste--interne { stroke: var(--terre); stroke-width: 4; }
[data-vue="avant"] .perio__legende--avant text, [data-vue="interne"] .perio__legende--interne text { font-weight: 700; }
@keyframes perio-lesion { 0%, 30% { opacity: 0; } 50%, 85% { opacity: .9; } 100% { opacity: 0; } }
@keyframes perio-choc { 0% { opacity: 0; } 20% { opacity: .9; } 60%, 100% { opacity: 0; } }
@keyframes perio-zone { 0%, 100% { opacity: .12; } 50% { opacity: .32; } }

/* Schéma : le périoste au microscope */
.perioz__osteons circle { fill: none; stroke: #dccaa9; stroke-width: 2; }
.perioz__tendon { fill: #f7ede4; }
.perioz__fibreux { fill: #cfe3ea; }
.perioz__profond { fill: #a9cbd7; }
.perioz__vaisseau { fill: none; stroke: #c2533a; stroke-width: 2.5; stroke-linecap: round; }
.perioz__nerf { fill: none; stroke: #e7c66a; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 5; animation: perioz-nerf 1.2s linear infinite; }
.perioz__muscle { transform-box: view-box; transform-origin: 170px 16px; animation: perioz-contraction 2.4s ease-in-out infinite; }
.perioz__strie { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 2; }
.perioz__fibres path { fill: none; stroke: var(--mer-fonce); stroke-width: 2.5; stroke-linecap: round; animation: perioz-fibres 2.4s ease-in-out infinite; }
.perioz__lesions path { fill: none; stroke: var(--terre); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: perioz-lesion 4.8s ease-in-out infinite; }
.perioz__lesions path:nth-child(2) { animation-delay: 2.4s; }
.perioz__lesions path:nth-child(3) { animation-delay: 1.2s; }
.perioz__legende-lesion text { font-family: system-ui, sans-serif; font-size: 13px; font-weight: 700; fill: var(--terre); }
.perioz__fleche { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; animation: perioz-fleche 2.4s ease-in-out infinite; }
@keyframes perioz-contraction { 0%, 100% { transform: scaleY(1); } 45%, 60% { transform: scaleY(.9); } }
@keyframes perioz-fibres { 0%, 100% { stroke: var(--mer-fonce); } 45%, 60% { stroke: var(--terre); } }
@keyframes perioz-fleche { 0%, 25%, 80%, 100% { opacity: 0; transform: translateY(6px); } 45%, 60% { opacity: 1; transform: translateY(0); } }
@keyframes perioz-lesion { 0%, 40% { opacity: 0; } 50%, 75% { opacity: 1; } 100% { opacity: 0; } }
@keyframes perioz-nerf { to { stroke-dashoffset: -14; } }

/* Schéma : le pied qui s'affaisse */
.pied__soustitre { font-family: system-ui, sans-serif; font-size: 13px; font-weight: 700; fill: var(--mer); }
.pied__cote { font-family: system-ui, sans-serif; font-size: 11px; fill: var(--doux); font-style: italic; }
.pied__sol { stroke: #b9a687; stroke-width: 2; }
.pied__peau { fill: var(--sable); stroke: #d9c9b0; stroke-width: 1.5; }
.pied__malleole { fill: #fbf6ee; stroke: #b9a687; stroke-width: 1.5; }
.pied__axe { stroke: var(--mer); stroke-width: 2; stroke-dasharray: 5 4; }
.pied__axe--talon { animation: pied-axe 6s ease-in-out infinite; }
.pied__talon { transform-box: view-box; transform-origin: 100px 196px; animation: pied-talon 6s ease-in-out infinite; }
.pied__tendon { fill: none; stroke: var(--mer); stroke-width: 4; stroke-linecap: round; }
.pied__tendon--etire { stroke: var(--terre); stroke-width: 3; }
.schema--pied > svg > .pied__tendon--droit { animation: pied-normal 6s ease-in-out infinite; }
.schema--pied > svg > .pied__tendon--etire { animation: pied-affaisse 6s ease-in-out infinite; }
.pied__voute { fill: none; stroke: var(--mer); stroke-width: 3; stroke-linecap: round; }
.pied__voute--basse { stroke: var(--terre); }
.pied__fantome { fill: none; stroke: var(--mer); stroke-width: 2; stroke-dasharray: 4 4; opacity: .5; }
.pied__mesure { stroke: var(--doux); stroke-width: 1.5; stroke-dasharray: 3 3; }
.pied__traction { fill: none; stroke: var(--terre); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: tete-onde 1.2s ease-out infinite; }
.pied__traction--2 { animation-delay: .6s; }
.pied__etat--normal { animation: pied-normal 6s ease-in-out infinite; }
.pied__etat--affaisse { animation: pied-affaisse 6s ease-in-out infinite; }
.pied__badge { fill: var(--mer-clair); }
.pied__badge--alerte { fill: #f7e1d6; }
.pied__badge-texte { font-family: system-ui, sans-serif; font-size: 14px; font-weight: 700; fill: var(--mer-fonce); }
@keyframes pied-normal { 0%, 35%, 95%, 100% { opacity: 1; } 45%, 85% { opacity: 0; } }
@keyframes pied-affaisse { 0%, 35%, 95%, 100% { opacity: 0; } 45%, 85% { opacity: 1; } }
@keyframes pied-talon { 0%, 35%, 95%, 100% { transform: rotate(0); } 45%, 85% { transform: rotate(-10deg); } }
@keyframes pied-axe { 0%, 35%, 95%, 100% { stroke: var(--mer); } 45%, 85% { stroke: var(--terre); } }

/* Schéma : trop, trop vite */
.charge__axe { fill: none; stroke: #b9a687; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.charge__graduations line { stroke: #b9a687; stroke-width: 1.5; }
.charge__etiquette, .charge__legende text { font-family: system-ui, sans-serif; font-size: 12px; fill: var(--doux); }
.charge__capacite, .charge__capacite-legende { stroke: var(--mer); stroke-width: 4; stroke-linecap: round; }
.charge__courbe { fill: none; stroke: var(--terre); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: charge-trace 7s ease-in-out infinite; }
.charge__courbe--douce { stroke: var(--olive); }
.charge__courbe-legende { stroke: var(--terre); stroke-width: 4; stroke-linecap: round; }
[data-vue="adaptee"] .charge__courbe-legende { stroke: var(--olive); }
.charge__zone { fill: var(--terre); opacity: 0; animation: charge-zone 7s ease-in-out infinite; }
.charge__alerte { fill: var(--terre); opacity: 0; transform-box: fill-box; transform-origin: center; animation: charge-alerte 7s ease-in-out infinite; }
.charge__bulle { opacity: 0; animation: charge-bulle 7s ease-in-out infinite; }
.charge__bulle line { stroke: var(--terre); stroke-width: 1.5; stroke-dasharray: 3 3; }
.charge__bulle text { font-family: system-ui, sans-serif; font-size: 13px; font-weight: 700; fill: var(--terre); }
.charge__bulle--ok line { stroke: var(--olive); }
.charge__bulle--ok text { fill: var(--olive); }
@keyframes charge-trace { 0% { stroke-dashoffset: 520; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes charge-zone { 0%, 35% { opacity: 0; } 50%, 92% { opacity: .25; } 100% { opacity: 0; } }
@keyframes charge-alerte { 0%, 30% { opacity: 0; transform: scale(.4); } 40%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes charge-bulle { 0%, 40% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* Schéma : les étapes de la reprise */
.reprise__titre { text-align: center; font-weight: 700; color: var(--mer-fonce); margin: 0 0 1rem; }
.reprise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; align-items: end; counter-reset: none; }
.reprise__marche { position: relative; display: flex; flex-direction: column; gap: .3rem; padding: .75rem .6rem; border-radius: var(--rayon); background: var(--mer-clair); border-top: 4px solid var(--mer); font-size: .85rem; line-height: 1.35; color: var(--texte, #2b2b2b); animation: reprise-allume 10s ease-in-out infinite; }
.reprise__marche strong { color: var(--mer-fonce); font-size: .95rem; }
.reprise__num { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--mer); color: #fff; font-weight: 700; font-size: .95rem; }
.reprise__marche:nth-child(1) { min-height: 8rem; animation-delay: 0s; }
.reprise__marche:nth-child(2) { min-height: 9.5rem; animation-delay: 1.6s; }
.reprise__marche:nth-child(3) { min-height: 11rem; animation-delay: 3.2s; }
.reprise__marche:nth-child(4) { min-height: 12.5rem; animation-delay: 4.8s; }
.reprise__marche:nth-child(5) { min-height: 14rem; animation-delay: 6.4s; background: #f7e1d6; border-top-color: var(--terre); }
.reprise__marche:nth-child(5) .reprise__num { background: var(--terre); }
.reprise__regle { display: flex; gap: .75rem; align-items: flex-start; margin: 1.25rem auto 0; max-width: 36rem; padding: .85rem 1rem; border-radius: var(--rayon); background: var(--sable); border-left: 4px solid var(--terre); }
.reprise__regle svg { flex: none; width: 1.6rem; height: 1.6rem; color: var(--terre); margin-top: .1rem; }
.reprise__regle p { margin: 0; font-size: .95rem; line-height: 1.5; }
@keyframes reprise-allume { 0%, 14%, 100% { box-shadow: none; transform: none; } 4%, 10% { box-shadow: 0 6px 18px rgba(19, 63, 82, .18); transform: translateY(-4px); } }
@media (max-width: 40rem) {
	.reprise { grid-template-columns: 1fr; gap: .4rem; }
	.reprise__marche { min-height: 0 !important; display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; border-top: 0; border-left: 4px solid var(--mer); }
	.reprise__marche:nth-child(5) { border-left-color: var(--terre); }
	.reprise__num { grid-row: span 2; }
	.reprise__marche:nth-child(2) { margin-left: .6rem; }
	.reprise__marche:nth-child(3) { margin-left: 1.2rem; }
	.reprise__marche:nth-child(4) { margin-left: 1.8rem; }
	.reprise__marche:nth-child(5) { margin-left: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
	.perio__muscle, .perio__lesion, .perio__choc, .perio__zone { animation: none !important; }
	.perio__lesion, .perio__choc { opacity: .8; }
	.perioz__muscle, .perioz__fibres path, .perioz__fleche, .perioz__nerf { animation: none; }
	.perioz__lesions path { animation: none; opacity: 1; }
	.pied__talon, .pied__axe--talon, .pied__etat--normal, .pied__etat--affaisse, .pied__traction,
	.schema--pied > svg > .pied__tendon--droit, .schema--pied > svg > .pied__tendon--etire { animation: none; }
	.pied__etat--normal, .schema--pied > svg > .pied__tendon--droit { opacity: 0; }
	.pied__talon { transform: rotate(-10deg); }
	.charge__courbe, .charge__zone, .charge__alerte, .charge__bulle { animation: none; stroke-dashoffset: 0; opacity: 1; }
	.charge__zone { opacity: .25; }
	.reprise__marche { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
	.tete__muscle, .tete__influx, .tete__onde, .oreille__son, .oreille__machoire { animation: none; }
	.tete__influx { stroke-dasharray: none; opacity: .8; }
	.oreille__son { opacity: .7; }
}

@media (prefers-reduced-motion: reduce) {
	.dos__vertebre--compense, .dos__douleur, .cou__muscle, .cou__rotation--limitee, .epaule__bras, .epaule__tendon { animation: none; }
	.dos__douleur { opacity: .8; }
	.cou__muscle { opacity: .7; }
}

/* Encadré « Quand consulter » */
.alerte { background: #fdf1ec; border-left: 4px solid var(--terre); padding: 1.1rem 1.4rem; margin: 2rem 0; border-radius: .25rem 1rem 1rem .25rem; }
.alerte > :first-child { margin-top: 0; }
.alerte > :last-child { margin-bottom: 0; }
.alerte h2, .alerte h3 { margin-top: 0; }
.contenu .alerte h2::after { display: none; }

/* Conseils pratiques */
.conseils { list-style: none; padding: 0 !important; display: grid; gap: .75rem; }
.conseils li { background: #fff; border: 1px solid var(--bordure); border-radius: 1rem; padding: .8rem 1rem .8rem 3rem; position: relative; margin: 0; }
.conseils li::before { content: "✓"; position: absolute; left: 1rem; top: .8rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--olive); color: #fff; font-size: .8rem; display: grid; place-items: center; }

/* Vrai ou faux */
.vrai-faux { display: grid; gap: .75rem; margin: 1.5rem 0; }
.vrai-faux details { background: #fff; border: 1px solid var(--bordure); border-radius: 1rem; padding: 0 1.25rem; }
.vrai-faux summary { cursor: pointer; list-style: none; padding: 1rem 0; font-weight: 600; color: var(--mer-fonce); }
.vrai-faux summary::-webkit-details-marker { display: none; }
.vrai-faux summary::before { content: "?"; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-right: .6rem; border-radius: 50%; background: var(--mer-clair); color: var(--mer); font-weight: 700; }
.vrai-faux p { margin: 0 0 1rem; }
.verdict { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .1rem .55rem; border-radius: 999px; margin-right: .4rem; }
.verdict--faux { background: #f8dcd0; color: var(--terre-fonce); }
.verdict--vrai { background: #dfe8d2; color: #47512f; }
.verdict--nuance { background: var(--mer-clair); color: var(--mer-fonce); }

/* Pour aller plus loin (patient expert) */
.plus-loin { margin: 2.5rem 0; border: 1px solid var(--bordure); border-radius: var(--rayon); background: #fff; }
.plus-loin > summary { cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-family: var(--titres); font-size: 1.25rem; font-weight: 600; color: var(--mer-fonce); }
.plus-loin > summary::-webkit-details-marker { display: none; }
.plus-loin > summary::after { content: "Afficher"; float: right; font-family: system-ui, sans-serif; font-size: .85rem; font-weight: 600; color: var(--terre); margin-top: .3rem; }
.plus-loin[open] > summary::after { content: "Masquer"; }
.plus-loin__corps { padding: 0 1.4rem 1.2rem; }
.plus-loin__corps h3 { margin-top: 1rem; }

/* Sources */
.sources { font-size: .9rem; color: var(--doux); border-top: 1px solid var(--bordure); margin-top: 2.5rem; padding-top: 1rem; }
.sources h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
.contenu .sources h2::after { display: none; }
.sources ol { padding-left: 1.2rem; }

/* Barre de rendez-vous fixe en bas (téléphone et tablette) */
.barre-rdv { display: none; }
@media (max-width: 63.99rem) {
	.barre-rdv { display: flex; gap: .6rem; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 252, 247, .97); border-top: 1px solid var(--bordure); box-shadow: 0 -.5rem 1.5rem rgba(43, 38, 34, .08); }
	.barre-rdv .bouton { flex: 1; }
	.barre-rdv__tel { display: inline-flex; align-items: center; gap: .4rem; padding: .75rem 1rem; border-radius: 999px; background: var(--mer-clair); color: var(--mer-fonce); font-weight: 600; text-decoration: none; }
	.barre-rdv__tel svg { width: 1.1rem; height: 1.1rem; }
	body { padding-bottom: 4.75rem; }
}

/* ---------- Contenu des pages et articles ---------- */
.page-contenu { padding-top: 2.5rem; padding-bottom: 4rem; }
.contenu > :first-child { margin-top: 0; }
.contenu h2 { padding-top: .2em; }
.contenu h2::after { content: ""; display: block; width: 3rem; height: 3px; margin-top: .5rem; border-radius: 3px; background: var(--terre); opacity: .8; }
.contenu ul, .contenu ol { padding-left: 1.3rem; }
.contenu li { margin-bottom: .35rem; }
.contenu li::marker { color: var(--terre); }
.contenu img { border-radius: 1rem; box-shadow: var(--ombre-legere); margin: 1.75rem auto; }
.contenu blockquote { margin: 1.75rem 0; padding: 1.25rem 1.5rem; background: var(--sable); border-radius: 1rem; font-style: italic; color: var(--texte); }
.contenu blockquote p:last-child { margin-bottom: 0; }
.contenu table { width: 100%; border-collapse: collapse; }
.contenu th, .contenu td { padding: .4rem .5rem; border-bottom: 1px solid var(--bordure); text-align: left; }

.encart { background: var(--mer-clair); border-left: 4px solid var(--mer); padding: 1.1rem 1.4rem; margin: 2rem 0; border-radius: .25rem 1rem 1rem .25rem; }
.encart > :first-child { margin-top: 0; }
.encart > :last-child { margin-bottom: 0; }
.encart--rdv { background: var(--sable); border-left-color: var(--terre); }

/* Anciennes classes (compatibilité) */
.grille { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); padding: 0; list-style: none; }
.intro { font-size: 1.15rem; }
.liste-articles { list-style: none; padding: 0; }
.liste-articles li { border-bottom: 1px solid var(--bordure); }
.liste-articles a { display: block; padding: .8rem 0; text-decoration: none; font-weight: 500; }

/* ---------- Bandeau rendez-vous ---------- */
.appel-rdv { background: var(--mer); color: #fff; text-align: center; padding: 3.5rem 0 4rem; }
.appel-rdv h2 { color: #fff; margin-top: 0; }
.appel-rdv p { opacity: .92; }
.appel-rdv a:not(.bouton) { color: #fff; }
.vague--mer { background: var(--ecume); }

/* ---------- Pied de page ---------- */
.pied { background: var(--mer-fonce); color: #d8e6eb; padding: 3rem 0 1.5rem; font-size: .95rem; }
.pied a { color: #fff; }
.pied a:hover { color: #f3c9b4; }
.pied__grille { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.pied__titre { font-size: 1.15rem; color: #fff; margin: 0 0 .6rem; }
.pied address { font-style: normal; }
.pied .horaires th, .pied .horaires td { border-bottom-color: rgba(255, 255, 255, .15); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .15); }
.pied__bas p { margin: 0; }
.pied__liens { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }

/* ---------- Animations ---------- */
.js .apparait { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .apparait.visible { opacity: 1; transform: none; }
.cartes .apparait:nth-child(2) { transition-delay: .1s; }
.cartes .apparait:nth-child(3) { transition-delay: .2s; }
.cartes .apparait:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .apparait { opacity: 1; transform: none; transition: none; }
	.bouton, .carte, .articles a, .menu a::after, .lien-fleche::after, .carte-article a, .carte-article__visuel { transition: none; }
	.carte-article a:hover .carte-article__visuel { transform: none; }
}

@media (min-width: 48rem) {
	body { font-size: 1.125rem; }
}
