/* ==========================================================================
   Sarah Michel Chiropracteur : feuille de style principale
   ========================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-display-700.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-display-800.woff") format("woff"); }

:root {
	--navy: #0A2540;
	--navy-2: #12345A;
	--blue: #1B5FAF;
	--blue-dark: #154C8C;
	--sky: #EAF2FB;
	--sky-2: #C9DBF2;
	--pale: #8DB6E8;
	--ink: #1E2A3B;
	--text: #3A4A63;
	--muted: #51607A;
	--line: #E3EAF3;
	--soft: #F5F8FC;
	--white: #FFFFFF;
	--warn-bg: #FFF5E6;
	--warn-line: #F0C27A;
	--warn-ink: #6B4100;

	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--radius: 20px;
	--radius-sm: 14px;
	--shadow: 0 18px 40px rgba(10, 37, 64, .12);
	--wrap: 1200px;
	--narrow: 760px;
	--gutter: clamp(20px, 4vw, 32px);
	--section: clamp(64px, 9vw, 112px);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .6em; font-weight: 800; text-wrap: balance; }
.card__title, .tile__title, .accordion__title, .lead, .hero__lead, .page-hero__lead { text-wrap: pretty; }
h3, h4 { font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--white); }
.site-main:focus { outline: none; }
.site-main { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.center { text-align: center; margin-top: 40px; }
mark.a-completer, .a-completer { background: #FFF1A8; color: #4A3B00; padding: 1px 4px; border-radius: 4px; }

/* Boutons ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: 600 16px/1.2 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--navy); border-color: var(--sky-2); }
.btn--secondary:hover { border-color: var(--blue); color: var(--navy); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--sky); color: var(--navy); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { border-color: var(--white); color: var(--white); }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--blue); }
.link-arrow:hover { gap: 12px; }

/* Barre d'infos ---------------------------------------------------------- */
.topbar { background: var(--navy); color: var(--sky-2); font-size: 14px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: space-between; align-items: center; padding-block: 9px; }
.topbar__group { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: var(--sky-2); text-decoration: none; }
a.topbar__item:hover { color: var(--white); }
.topbar__phone { color: var(--white); font-weight: 600; }

/* En-tête ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap, .topbar .wrap { max-width: 1360px; }
.icon { flex: none; max-width: none; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.brand__role { font-size: 12.5px; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.custom-logo-link img { max-height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list, .nav .menu { display: flex; align-items: center; gap: 4px 22px; list-style: none; margin: 0; padding: 0; }
.nav__list a, .nav .menu a { display: block; padding: 8px 0; color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 600; white-space: nowrap; }
.btn { white-space: nowrap; }
.nav__list a:hover, .nav .menu a:hover { color: var(--blue); }
.nav .is-current > a, .nav .current-menu-item > a, .nav .current-menu-ancestor > a, .nav .current_page_item > a, .nav .current_page_ancestor > a { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.nav .menu-item-has-children { position: relative; }
.nav .sub-menu { position: absolute; top: 100%; left: -16px; min-width: 240px; list-style: none; margin: 0; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.nav .menu-item-has-children:hover > .sub-menu, .nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { padding: 8px 10px; border-radius: 8px; }
.nav .sub-menu a:hover { background: var(--sky); }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--sky-2); border-radius: 999px; background: var(--white); color: var(--navy); font: 600 15px var(--font); cursor: pointer; }
.nav-toggle__icon { display: inline-flex; }
.nav-toggle__icon--close { display: none; }

@media (max-width: 1220px) {
	.nav-toggle { display: inline-flex; }
	.nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(10,37,64,.08); max-height: calc(100vh - 76px); overflow-y: auto; }
	.site-header.is-open .nav { display: flex; }
	.site-header.is-open .nav-toggle__icon--open { display: none; }
	.site-header.is-open .nav-toggle__icon--close { display: inline-flex; }
	.nav__list, .nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list a, .nav .menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
	.nav .is-current > a, .nav .current-menu-item > a, .nav .current_page_item > a { box-shadow: none; }
	.nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
	.nav__cta { width: 100%; }
}
@media (max-width: 560px) {
	.topbar__inner > .topbar__item:first-child { display: none; }
	.topbar__inner { justify-content: center; }
	.brand__name { font-size: 17px; }
	.nav-toggle__label { display: none; }
}

/* Sections --------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy); color: var(--sky-2); }
.section--dark .section__title { color: var(--white); }
.section__head { max-width: 720px; margin-bottom: 44px; }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: flex-end; justify-content: space-between; }
.section__head--split > div { max-width: 640px; }
.section__title { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: .4em; }
.section__title--small { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 28px; }
.section__intro { max-width: 440px; margin: 0; font-size: 17px; }
.eyebrow { display: block; margin: 0 0 12px; color: var(--blue); font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow--light { color: var(--pale); }
.lead { font-size: 19px; color: var(--text); }
.pill { display: inline-block; margin: 0 0 22px; padding: 8px 14px; border-radius: 999px; background: var(--white); color: var(--blue); font-size: 14px; font-weight: 600; }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
.split--steps { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); align-items: start; }
.split--visit { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .split, .split--steps, .split--visit { grid-template-columns: 1fr; } }

/* Accueil : hero -------------------------------------------------------- */
.hero { background: var(--sky); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 96px); }
.hero__title { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 22px; }
.hero__lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--text); max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; }
.hero__img { width: 100%; height: clamp(360px, 42vw, 520px); object-fit: cover; border-radius: 28px; }
.hero__badge { position: absolute; left: -20px; bottom: 28px; display: flex; gap: 14px; align-items: center; max-width: 300px; padding: 16px 20px; background: var(--white); border-radius: 18px; box-shadow: var(--shadow); font-size: 14.5px; color: var(--muted); }
.hero__badge strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 16px; }
.hero__badge-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--blue); }
@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__badge { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

.media-fallback { display: grid; place-items: center; background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%); overflow: hidden; }
.media-fallback svg { width: 46%; height: 82%; }

/* Repères */
.facts { border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 24px; padding-block: 34px; }
.fact { display: flex; gap: 14px; align-items: flex-start; }
.fact p { margin: 0; display: flex; flex-direction: column; line-height: 1.35; }
.fact strong { font-family: var(--font-display); font-size: 20px; color: var(--navy); }
.fact span { color: var(--muted); font-size: 15px; }
.fact__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--blue); }

/* Présentation */
.portrait { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 50% 20%; border-radius: 26px; }
@media (max-width: 900px) { .portrait, .visit__img { aspect-ratio: 4 / 3; } }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 8px 0 28px; padding: 0; }
.tags li { padding: 8px 14px; border-radius: 999px; background: var(--sky); color: var(--navy); font-size: 14.5px; font-weight: 600; }

/* Tuiles sur fond sombre */
.tile { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: var(--navy-2); color: var(--sky-2); text-decoration: none; transition: background-color .15s, transform .15s; }
.tile:hover { background: #18406C; color: var(--sky-2); transform: translateY(-2px); }
.tile__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--white); }
.tile__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; }

/* Cartes */
.card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover, .card__link:hover { border-color: var(--sky-2); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card--post { padding: 0; }
.card__link { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px; border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sky); color: var(--blue); }
.card__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.25; color: var(--navy); }
.card__text { margin: 0; color: var(--muted); font-size: 16px; }
.card__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; }
.children { margin-block: 8px 72px; }

/* Étapes */
.steps { counter-reset: step; list-style: none; margin: 8px 0 28px; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 72px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 700; font-size: 15px; }
.steps strong { color: var(--navy); }
.info-card { padding: 30px; border-radius: var(--radius); background: var(--navy); color: var(--sky-2); }
.info-card__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--white); margin-bottom: 18px; }
.checklist { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { flex: none; margin-top: 3px; color: var(--pale); }
.checklist strong { color: var(--white); }
.info-card .btn--primary { background: var(--white); color: var(--navy); }
.info-card .btn--primary:hover { background: var(--sky); }

/* Infos pratiques */
.infos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin: 8px 0 32px; }
.infos dt { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.infos dt .icon { color: var(--blue); }
.infos dd { margin: 0; color: var(--text); }
@media (max-width: 560px) { .infos { grid-template-columns: 1fr; } }
.visit__img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 24px; }

/* Vidéos ------------------------------------------------------------------ */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy); }
.yt__play { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.yt__thumb { width: 100%; height: 100%; object-fit: cover; }
.yt__icon { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--white); color: var(--blue); box-shadow: var(--shadow); transition: transform .15s; }
.yt__play:hover .yt__icon, .yt__play:focus-visible .yt__icon { transform: scale(1.08); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__title { font-size: 19px; margin: 14px 0 6px; }
.video-card__title a { color: var(--navy); text-decoration: none; }
.video-card__title a:hover { color: var(--blue); }
.video-card__text { color: var(--muted); font-size: 16px; }
.video-single { margin: 8px 0 40px; }

/* En-tête de page -------------------------------------------------------- */
.page-hero { background: var(--sky); padding-block: clamp(40px, 6vw, 72px) clamp(44px, 6vw, 64px); margin-bottom: clamp(40px, 6vw, 64px); }
.page-hero__title { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.02em; max-width: 860px; margin-bottom: 16px; }
.page-hero__lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--text); max-width: 720px; margin: 0; }
.page-hero__lead p:last-child { margin-bottom: 0; }
.page-hero--article .page-hero__title { font-size: clamp(32px, 4.2vw, 48px); }
.byline { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin: 0 0 22px; padding: 0; font-size: 14px; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 10px; color: var(--pale); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }

/* Contenu rédactionnel --------------------------------------------------- */
.prose { font-size: 18px; color: var(--text); padding-bottom: 32px; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 2.8vw, 32px); margin: 1.8em 0 .5em; }
.prose h3 { font-size: 21px; margin: 1.5em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--navy); }
.prose a { font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--sky-2); color: var(--navy); font-size: 19px; }
.prose figure { margin: 1.8em 0; }
.prose img { border-radius: var(--radius-sm); }
.prose figcaption { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose__cover { margin-top: 0 !important; }

/* Encadrés (styles de bloc Groupe).
   WordPress ajoute souvent un conteneur interne aux groupes : les sélecteurs couvrent les deux cas. */
.wp-block-group__inner-container { display: contents; }
.prose .is-style-bref, .is-style-bref { margin: 0 0 2em; padding: 26px 28px; border-radius: var(--radius); background: var(--sky); color: var(--ink); }
:is(.is-style-bref, .is-style-alerte, .is-style-sources, .is-style-bref > .wp-block-group__inner-container, .is-style-alerte > .wp-block-group__inner-container, .is-style-sources > .wp-block-group__inner-container) > h3:first-child { margin-top: 0; }
:is(.is-style-bref, .is-style-bref > .wp-block-group__inner-container) > h3:first-child { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); font-family: var(--font); font-weight: 600; }
:is(.is-style-bref, .is-style-alerte, .is-style-sources, .is-style-bref > .wp-block-group__inner-container, .is-style-alerte > .wp-block-group__inner-container, .is-style-sources > .wp-block-group__inner-container) > :last-child { margin-bottom: 0; }
.prose .is-style-alerte, .is-style-alerte { margin: 2em 0; padding: 24px 28px; border-radius: var(--radius); background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); }
.is-style-alerte h3 { display: flex; gap: 10px; align-items: center; color: #4A2D00; font-size: 19px; }
.is-style-alerte h3::before { content: ""; flex: none; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l9 16H3z'/%3E%3Cpath d='M12 10v4M12 17h.01'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l9 16H3z'/%3E%3Cpath d='M12 10v4M12 17h.01'/%3E%3C/svg%3E") center / contain no-repeat; }
.is-style-alerte h3:not(:first-child) { margin-top: 1.2em; }
.is-style-alerte strong { color: #4A2D00; }
.is-style-alerte li::marker { color: #B36B00; }
.prose .is-style-sources, .is-style-sources { margin: 2.4em 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.is-style-sources h3 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: var(--font); font-weight: 600; }

/* Palette de l'éditeur */
.has-bleu-nuit-color { color: var(--navy) !important; } .has-bleu-nuit-background-color { background-color: var(--navy) !important; }
.has-bleu-color { color: var(--blue) !important; } .has-bleu-background-color { background-color: var(--blue) !important; }
.has-bleu-ciel-color { color: var(--sky) !important; } .has-bleu-ciel-background-color { background-color: var(--sky) !important; }
.has-texte-color { color: var(--ink) !important; } .has-texte-background-color { background-color: var(--ink) !important; }
.has-blanc-color { color: var(--white) !important; } .has-blanc-background-color { background-color: var(--white) !important; }

/* Encadré auteur */
.author-box { display: flex; gap: 20px; align-items: flex-start; margin: 8px 0 24px; padding: 24px; border-radius: var(--radius); background: var(--soft); font-size: 16px; color: var(--text); }
.author-box__img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box > svg { flex: none; }
.author-box__name { font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.author-box p:last-child { margin-bottom: 0; }
.author-box__note { font-size: 14.5px; color: var(--muted); }

/* Conseils : menu déroulant --------------------------------------------- */
.conseils { display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: clamp(56px, 8vw, 96px); }
.conseils__main { flex: 999 1 600px; min-width: 0; }
.conseils__aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--sky-2); background: var(--white); color: var(--navy); font: 600 15px var(--font); cursor: pointer; }
.filter:hover { border-color: var(--blue); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filters__empty { color: var(--muted); }
.accordion { display: grid; gap: 14px; }
.accordion__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.accordion__item[open] { border-color: var(--blue); box-shadow: 0 14px 34px rgba(10,37,64,.10); }
.accordion__item[hidden] { display: none; }
.accordion__summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; list-style: none; border-radius: var(--radius); }
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__heading { display: flex; flex-direction: column; }
.accordion__heading .eyebrow { margin-bottom: 6px; font-size: 12.5px; }
.accordion__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--navy); }
.accordion__chevron { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--blue); transition: transform .2s, background-color .2s, color .2s; }
.accordion__item[open] .accordion__chevron { transform: rotate(180deg); background: var(--blue); color: var(--white); }
.accordion__body { padding: 0 26px 26px; color: var(--text); }
.aside-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.aside-card--dark { background: var(--navy); border-color: var(--navy); color: var(--sky-2); }
.aside-card__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.aside-card--dark .aside-card__title { color: var(--white); }
.aside-card .yt { margin-bottom: 12px; }

/* Bandeau rendez-vous ---------------------------------------------------- */
.cta-band { background: var(--blue); color: var(--white); }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-block: 48px; }
.cta-band__title { color: var(--white); font-size: clamp(26px, 3vw, 34px); margin-bottom: 6px; }
.cta-band p { margin: 0; color: #DCE8F7; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Pied de page ----------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--sky-2); font-size: 15.5px; }
.site-footer a { color: var(--sky-2); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 36px; padding-block: 64px 40px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__name { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--white); }
.site-footer__title { font-weight: 600; color: var(--white); margin-bottom: 12px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__links--inline { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__notice p { margin: 0; padding: 18px 0; border-top: 1px solid #1F4470; border-bottom: 1px solid #1F4470; color: var(--pale); font-size: 14.5px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; padding-block: 18px 28px; color: var(--pale); font-size: 14px; }
.site-footer__bottom p { margin: 0; }

/* Pagination */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; }
.pagination .page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Alignements des blocs */
.alignwide { margin-inline: calc(-1 * min(120px, 8vw)); }
.alignfull { margin-inline: calc(50% - 50vw); }
.aligncenter { margin-inline: auto; }

@media print {
	.topbar, .site-header, .cta-band, .site-footer, .conseils__aside, .filters { display: none !important; }
	.accordion__item { break-inside: avoid; }
	body { font-size: 12pt; }
}


/* ==========================================================================
   Sections du site (compositions de l'éditeur)
   ========================================================================== */
.sections-page > .alignfull, .sections-page > .alignwide { margin-inline: 0; }
.sections-page > :first-child { margin-top: 0; }

:is(.is-style-section, .is-style-section-ciel, .is-style-section-douce, .is-style-section-nuit, .is-style-section-bleu) { padding: var(--section) var(--gutter); margin-block: 0; }
:is(.is-style-section, .is-style-section-ciel, .is-style-section-douce, .is-style-section-nuit, .is-style-section-bleu) > :not(.wp-block-group__inner-container),
:is(.is-style-section, .is-style-section-ciel, .is-style-section-douce, .is-style-section-nuit, .is-style-section-bleu) > .wp-block-group__inner-container > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.is-style-section { background: var(--white); }
.is-style-section-ciel { background: var(--sky); }
.is-style-section-douce { background: var(--soft); }
.is-style-section-nuit { background: var(--navy); color: var(--sky-2); }
.is-style-section-bleu { background: var(--blue); color: #DCE8F7; }
:is(.is-style-section-nuit, .is-style-section-bleu) :is(h1, h2, h3, h4, strong) { color: var(--white); }
:is(.is-style-section-nuit, .is-style-section-bleu) a:not(.btn) { color: var(--white); }
:is(.is-style-section, .is-style-section-ciel, .is-style-section-douce, .is-style-section-nuit, .is-style-section-bleu) h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: .4em; }
:is(.is-style-section, .is-style-section-ciel, .is-style-section-douce, .is-style-section-nuit, .is-style-section-bleu) p { color: inherit; }
.is-style-section p, .is-style-section-ciel p, .is-style-section-douce p { color: var(--text); }

.smc-eyebrow { margin-bottom: 12px !important; color: var(--blue) !important; font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
:is(.is-style-section-nuit, .is-style-section-bleu) .smc-eyebrow { color: var(--pale) !important; }
.smc-pill { display: inline-block; margin: 0 0 22px; padding: 8px 14px; border-radius: 999px; background: var(--white); color: var(--blue) !important; font-size: 14px; font-weight: 600; }
.smc-lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--text); }
.smc-intro { max-width: 640px !important; margin-left: max(0px, (100% - var(--wrap)) / 2) !important; }
.smc-narrow { max-width: var(--narrow) !important; }
.smc-more { margin-top: auto; }
.smc-more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.smc-more a::after { content: "→"; transition: transform .15s; }
.smc-more a:hover::after { transform: translateX(4px); }
.smc-latest { margin-top: 40px !important; margin-bottom: 32px; }
.smc-empty { padding: 18px; border: 1px dashed var(--sky-2); border-radius: var(--radius-sm); color: var(--muted); }

/* En-tête de page */
.smc-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 22px; }
.smc-page-head h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; margin-bottom: 16px; }
.smc-page-head { padding-block: clamp(48px, 7vw, 80px) !important; }
.smc-hero .wp-block-column:has(.smc-badge) { position: relative; }

/* Colonnes et boutons : mise en page de base (identique à WordPress, au cas où son CSS n'est pas chargé) */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 2em; margin-bottom: 1.75em; box-sizing: border-box; }
.wp-block-column { flex-basis: 100%; flex-grow: 1; min-width: 0; overflow-wrap: break-word; }
@media (min-width: 782px) { .wp-block-columns { flex-wrap: nowrap; } .wp-block-column { flex-basis: 0; } }
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; }
.smc-button + .wp-block-buttons { display: inline-flex; vertical-align: top; margin-top: 8px; }

/* Colonnes */
.smc-split { gap: clamp(32px, 6vw, 72px) !important; align-items: center !important; margin-bottom: 0; }
.smc-split--top { align-items: flex-start !important; }
.wp-block-column > :first-child { margin-top: 0; }

/* Photos */
.smc-photo { margin: 0; }
.smc-photo__img { display: block; width: 100%; object-fit: cover; border-radius: 26px; }
.smc-photo .media-fallback { display: grid; }
.smc-photo--paysage .smc-photo__img { aspect-ratio: 4 / 3; height: auto; }
.smc-photo--portrait .smc-photo__img { aspect-ratio: 4 / 5; height: auto; object-position: 50% 20%; }
.smc-photo--carre .smc-photo__img { aspect-ratio: 1; height: auto; }
.smc-photo--haute .smc-photo__img { height: clamp(360px, 42vw, 520px); border-radius: 28px; }
@media (max-width: 781px) { .smc-photo--portrait .smc-photo__img { aspect-ratio: 4 / 3; } }

/* Encadré flottant sur une photo */
.smc-badge { position: absolute; left: -20px; bottom: 28px; max-width: 300px; padding: 16px 20px 16px 76px; background: var(--white); border-radius: 18px; box-shadow: var(--shadow); font-size: 14.5px; }
.smc-badge::before { content: ""; position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='22' height='22' fill='none' stroke='%231B5FAF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / 22px no-repeat; }
.smc-badge p { margin: 0 !important; color: var(--muted) !important; }
.smc-badge p:first-of-type { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy) !important; }
@media (max-width: 781px) { .smc-badge { position: relative; left: 0; bottom: 0; margin-top: -40px; margin-inline: 16px; max-width: none; } }

/* Repères */
.smc-facts-band { padding-block: 34px !important; border-bottom: 1px solid var(--line); }
.smc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 24px; }
.smc-fact { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
.smc-fact .smc-icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; }
.smc-fact p { margin: 0 !important; line-height: 1.35; color: var(--muted) !important; font-size: 15px; }
.smc-fact p:first-of-type { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--navy) !important; }

/* Grilles de cartes */
.smc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 40px !important; }
.smc-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.smc-card:hover { border-color: var(--sky-2); box-shadow: var(--shadow); }
.smc-card > *, .smc-card > .wp-block-group__inner-container > * { margin: 0 !important; }
.smc-card h3 { font-size: 21px; line-height: 1.25; }
.smc-card p { color: var(--muted); font-size: 16px; }
.smc-card .smc-more { padding-top: 6px; }
.smc-icon { display: grid; place-items: center; }
:is(.is-style-section-nuit, .is-style-section-bleu) .smc-card { background: var(--navy-2); border-color: transparent; }
:is(.is-style-section-nuit, .is-style-section-bleu) .smc-card:hover { background: #18406C; box-shadow: none; }
:is(.is-style-section-nuit, .is-style-section-bleu) .smc-card p { color: var(--sky-2) !important; }
:is(.is-style-section-nuit, .is-style-section-bleu) .smc-card h3 { font-size: 22px; }

/* Étapes et encadré « En pratique » */
.smc-info-card { padding: 30px; border-radius: var(--radius); background: var(--navy); color: var(--sky-2); }
.smc-info-card h3 { color: var(--white); font-size: 22px; margin-bottom: 18px; }
.smc-checks { list-style: none; margin: 0 0 24px !important; padding: 0 !important; display: grid; gap: 14px; }
.smc-checks li { position: relative; padding-left: 32px; }
.smc-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; background: var(--pale); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.smc-info-card strong { color: var(--white); }
.smc-info-card .smc-button, .smc-info-card .smc-button .btn { width: 100%; }

/* Boutons */
.smc-button { display: inline-flex; margin: 8px 12px 0 0; }
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; background: var(--blue); color: var(--white); font: 600 16px/1.2 var(--font); text-decoration: none; border: 1px solid transparent; }
.wp-block-button__link:hover { background: var(--blue-dark); color: var(--white); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: var(--white); color: var(--navy); border-color: var(--sky-2); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--blue); }
.wp-block-buttons { margin-top: 8px; gap: 12px; }

/* Questions fréquentes */
.smc-faq { display: grid; gap: 14px; margin-top: 32px !important; }
.smc-faq .wp-block-details, .prose .wp-block-details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 0 26px; }
.prose .wp-block-details { margin: 0 0 14px; }
.wp-block-details[open] { border-color: var(--blue); box-shadow: 0 14px 34px rgba(10,37,64,.10); }
.wp-block-details summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--navy); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20' fill='none' stroke='%231B5FAF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 20px no-repeat; transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(180deg); }
.wp-block-details > :not(summary) { color: var(--text); }
.wp-block-details > :last-child { padding-bottom: 22px; margin-bottom: 0; }

/* Appel au rendez-vous */
.smc-cta { padding-block: 56px !important; }
.smc-cta h2 { font-size: clamp(26px, 3vw, 34px) !important; margin-bottom: 6px !important; }
.smc-cta p { margin: 0; }
.smc-cta .wp-block-column:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px; }
.smc-cta .wp-block-column:last-child .smc-button { margin: 0; }
@media (max-width: 781px) { .smc-cta .wp-block-column:last-child { justify-content: flex-start; } }

/* Vidéos (bloc dynamique) dans une page libre */
.sections-page .smc-videos { padding-inline: 0; }
