/* IPARLUX · feuille de styles du thème, portée de la maquette V3 (maquette/v3-source/project).
   Charte simple d'après le logo : Inter, bleu #00348C, orange #E5700D.
   Les sections se repèrent aux classes posées sur les blocs Groupe (hero, solutions, qs, call, intro, legal…). */

/* ---------- 1. Jetons ---------- */
:root {
	--space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px;
	--text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
	--text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem);
	--text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
	--color-success: oklch(50% 0.12 150); --color-error: oklch(52% 0.19 27);
	--container: 1440px; --gutter: 64px; --gap-columns: 32px;
	--z-sticky-nav: 300; --z-modal: 400; --z-toast: 500;
	--color-paper: #FFFFFF; --color-paper-2: #EDF2FA; --color-paper-3: #FDF1E7;
	--color-ink: #162033; --color-ink-2: #556075; --color-muted: #8A93A6; --color-rule: #D8DFEA;
	--color-accent: #E5700D; --color-accent-ink: #162033; --color-accent-text: #B0500A;
	--color-focus: #00348C; --color-brand: #00348C; --color-brand-2: #002468;
	--color-on-brand: #FFFFFF; --color-on-brand-2: #B8C8EA;
	--radius-md: 8px; --radius-lg: 12px; --radius-pill: 999px;
	--hdr-h: 120px;
	/* Icônes (dessinées en CSS : rien à gérer dans les contenus) */
	--i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 23'%3E%3Cpath d='M12 0L14.83 8.72H24L16.58 14.11L19.42 22.82L12 17.44L4.58 22.82L7.42 14.11L0 8.72H9.17Z'/%3E%3C/svg%3E");
	--i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
	--i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E");
	--i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
	--i-doc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M9 13h6M9 17h6'/%3E%3C/svg%3E");
	--i-zoom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300348C' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E");
	--i-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 6.5v11l9-5.5z'/%3E%3C/svg%3E");
	--p-ovale: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 140' fill='none' stroke='%2300348C' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 140V72A80 52 0 0 1 180 72V140'/%3E%3Cpath d='M4 140H196'/%3E%3C/svg%3E");
	--p-oblique: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 140' fill='none' stroke='%2300348C' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 140V40L180 74V140'/%3E%3Cpath d='M4 140H196'/%3E%3C/svg%3E");
	--p-solaire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 140' fill='none' stroke='%2300348C' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 140V58L184 82V140'/%3E%3Cpath d='M16 48L184 72'/%3E%3Cpath d='M4 140H196'/%3E%3C/svg%3E");
	--p-kit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 140' fill='none' stroke='%2300348C' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke-dasharray='22 17' d='M20 140V40L180 74V140'/%3E%3Cpath d='M4 140H196'/%3E%3C/svg%3E");
	--p-film: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 140' fill='none' stroke='%2300348C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' opacity='.35'%3E%3Cpath d='M20 140V72A80 52 0 0 1 180 72V140'/%3E%3Cpath d='M4 140H196'/%3E%3C/svg%3E");
}
@media (max-width: 60rem) { :root { --gutter: 24px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --gap-columns: 16px; --hdr-h: 76px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: calc(var(--hdr-h) + 24px); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; font-synthesis: none; letter-spacing: -0.02em; line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; color: var(--color-brand); }
h1 { max-width: 20ch; font-size: clamp(2.75rem, 5vw + 1rem, 5.25rem); font-weight: 900; letter-spacing: -0.025em; }
h2 { max-width: 30ch; font-size: var(--text-section); }
h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }
figure { margin: 0; }
img, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text, .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
/* Contenu des pages : les blocs se succèdent sans marge, l'espacement vient des sections. */
.wp-block-post-content > * { margin-block: 0; }
.wp-block-group { box-sizing: border-box; }

/* Étoile du logo en puce (listes « stars », titres de rubriques) */
.stars { display: flex; flex-direction: column; gap: var(--space-xs); padding: 0; list-style: none; }
.stars li { position: relative; padding-left: 26px; }
.stars li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 14px; height: 13px; background: var(--color-accent); -webkit-mask: var(--i-star) center / contain no-repeat; mask: var(--i-star) center / contain no-repeat; }

/* Liens « go » soulignés orange */
.go a, a.go { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-brand); font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.go.is-soon { min-height: 32px; display: flex; align-items: center; color: var(--color-ink-2); font-style: italic; font-size: var(--text-sm); }

/* Boutons (bloc Boutons) */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.wp-block-button { margin: 0; }
.wp-block-button__link, .btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-md); background: var(--color-brand); color: var(--color-on-brand); font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.wp-block-button__link:active, .btn:active { transform: scale(0.98); }
.btn-light .wp-block-button__link { background: var(--color-paper); color: var(--color-brand); font-weight: 700; }
.btn-light .wp-block-button__link::after, .btn-primary .wp-block-button__link::after { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; }
.btn .ico, .back .ico, .priv .ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3. En-tête ---------- */
.hdr { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: rgb(255 255 255 / 0.8); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); transition: box-shadow var(--dur-short) var(--ease-out); }
.admin-bar .hdr { top: var(--wp-admin--admin-bar--height, 32px); }
.hdr.is-scrolled { box-shadow: 0 1px 0 rgb(0 52 140 / 0.06), 0 10px 28px rgb(0 52 140 / 0.08); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .hdr { background: rgb(255 255 255 / 0.97); } }
@media (prefers-reduced-transparency: reduce) { .hdr { background: var(--color-paper); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.hdr-in { display: flex; align-items: center; gap: var(--space-lg); min-height: var(--hdr-h); }
.logo { display: flex; flex: none; }
.logo img { display: block; width: auto; }
.hdr .logo .logo-f { height: 96px; }
.hdr .logo .logo-c { display: none; height: 44px; }
.hdr .nav { flex: 1; justify-content: center; }
.hdr .nav .wp-block-navigation__container { gap: var(--space-lg); }
.hdr .nav .wp-block-navigation-item__content { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--color-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hdr .nav .wp-block-navigation-item__content[aria-current="page"] { color: var(--color-brand); }
.hdr .nav .wp-block-navigation-item__content[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; background: var(--color-accent); }
.lang { display: flex; flex: none; gap: var(--space-2xs); }
.lang a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: var(--radius-md); color: var(--color-ink-2); font-weight: 600; text-decoration: none; }
.lang a[aria-current="true"] { background: var(--color-paper-2); color: var(--color-brand); }
.priv { display: inline-flex; align-items: center; gap: var(--space-xs); flex: none; min-height: 44px; padding-inline: var(--space-md); border-radius: var(--radius-md); background: var(--color-paper-2); color: var(--color-brand); font-weight: 600; text-decoration: none; white-space: nowrap; }
.priv .ico { stroke-width: 1.5; }
.priv[aria-current="page"] { background: var(--color-brand); color: var(--color-on-brand); }
.priv:active, .lang a:active { opacity: 0.8; }
/* Menu replié sous 1 024 px : le bouton du bloc Navigation s'affiche, le menu s'ouvre en plein écran. */
.hdr .wp-block-navigation__responsive-container-open, .hdr .wp-block-navigation__responsive-container-close { color: var(--color-brand); }
.hdr .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; align-items: center; justify-content: center; }
.hdr .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }
/* Le flou de l'en-tête confinerait le panneau plein écran du menu : il est retiré quand le menu est ouvert. */
.hdr:has(.is-menu-open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--color-paper); }
.hdr .wp-block-navigation__responsive-container.is-menu-open { padding: var(--space-lg) var(--gutter); background: var(--color-paper); }
.hdr .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: var(--space-md); align-items: flex-start; }
.hdr .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: var(--text-xl); font-weight: 700; color: var(--color-brand); }
@media (max-width: 90rem) { .hdr-in { gap: var(--space-md); } .hdr .nav .wp-block-navigation__container { gap: var(--space-md); } }
@media (max-width: 63.99rem) {
	.hdr .nav { flex: none; order: 5; }
	.hdr .lang { margin-left: auto; }
	.hdr .nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.hdr .nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 40rem) {
	.hdr-in { gap: var(--space-xs); }
	.hdr .logo .logo-f { display: none; }
	.hdr .logo .logo-c { display: block; }
	.priv span { display: none; }
	.priv { padding-inline: var(--space-sm); }
}

/* ---------- 4. Accueil ---------- */
.hero { padding-block: var(--space-lg) var(--space-3xl); }
.hero-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--space-xl); min-height: clamp(640px, calc(100svh - 152px), 772px); isolation: isolate; padding: var(--space-xl) 56px; border-radius: var(--radius-lg); background: var(--color-paper-2); }
.hero h1 { position: relative; z-index: 1; max-width: none; font-size: clamp(1.75rem, 3.2vw, 2.9rem); line-height: 1.05; }
@media (min-width: 75rem) { .hero h1 { white-space: nowrap; } }
.hero-row { position: relative; flex: 1; display: flex; align-items: flex-start; }
.hero-txt { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); max-width: 46%; }
.claim { font-size: var(--text-xl); line-height: 1.3; font-weight: 700; color: var(--color-ink); text-wrap: balance; }
.hero-vis { position: absolute; left: 45.8%; top: -100px; width: 66.7%; margin: 0; pointer-events: none; }
.hero-vis img { display: block; width: 100%; height: auto; }
.cover { position: absolute; right: 0; bottom: 0; z-index: 2; display: inline-flex; align-items: center; gap: var(--space-xs); padding: 8px 16px 8px 12px; border-radius: var(--radius-pill); background: var(--color-paper); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.cover::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--color-brand); }
/* Vidéo 3D : affiche (bloc Image avec lien vers la vidéo) ; le clic ouvre le lecteur. */
.hero-film { position: relative; width: min(100%, 400px); margin-top: var(--space-sm); aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-brand); box-shadow: 0 0 0 4px var(--color-paper); }
.hero-film a { position: absolute; inset: 0; display: block; cursor: pointer; }
.hero-film img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-long) var(--ease-out); }
.hero-film a::after { content: ""; position: absolute; left: 50%; top: 42%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--i-play) 54% 50% / 28px no-repeat, var(--color-accent); transition: transform var(--dur-short) var(--ease-out); }
.hero-film a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -3px; }
.hero-film figcaption { position: absolute; left: var(--space-sm); bottom: var(--space-sm); z-index: 2; margin: 0; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-brand); font-size: var(--text-sm); font-weight: 600; pointer-events: none; }

.solutions { padding-block: 0 var(--space-3xl); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: end; }
.sec-head h2 { grid-column: 1 / 8; }
.sec-head p { grid-column: 9 / -1; }

/* Familles : le script construit les onglets à pictos ; chaque famille est un panneau (texte à gauche, photos à droite). */
.familles { margin-top: var(--space-2xl); display: flex; flex-direction: column; gap: var(--space-lg); }
.famille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: min-content; column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: start; padding: var(--space-xl); border-radius: var(--radius-lg); background: var(--color-paper-2); }
.famille > :not(.wp-block-gallery) { grid-column: 1 / 4; }
.famille > h3 { padding-top: var(--space-xs); font-size: var(--text-xl); }
.famille > .wp-block-gallery { grid-column: 4 / -1; grid-row: 1 / span 6; }
.famille .hint { display: flex; align-items: center; gap: var(--space-xs); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.famille .hint::before { content: ""; width: 20px; height: 20px; flex: none; background: var(--color-accent); -webkit-mask: var(--i-zoom) center / contain no-repeat; mask: var(--i-zoom) center / contain no-repeat; }
.familles.is-tabs { gap: 0; margin-top: 0; }
.familles.is-tabs .famille[hidden] { display: none; }
.familles.is-tabs .famille { margin-top: var(--space-2xl); }
.elev { position: relative; margin-top: var(--space-2xl); }
.fams { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ind { position: absolute; left: 0; top: 0; width: 1px; height: 4px; background: var(--color-accent); transform-origin: 0 0; pointer-events: none; opacity: 0; }
.fams.has-ind .ind { opacity: 1; }
.fams.has-ind .fam.on b { text-decoration: none; }
.fam { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; text-align: center; cursor: pointer; }
.fam:active { transform: translateY(1px); }
.prof { display: block; height: 120px; padding-inline: var(--space-lg); }
.prof svg { display: block; width: 100%; height: 100%; overflow: visible; }
.prof path, .prof circle { fill: none; stroke: var(--color-brand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.prof .glass { stroke: none; fill: var(--color-paper); transition: fill var(--dur-short) var(--ease-out); }
.prof .sun { fill: var(--color-accent); stroke: none; }
.prof .kit { stroke-dasharray: 9 7; }
.prof .mini { display: none; }
.fam b { display: block; padding: var(--space-lg) var(--space-xs) 0; font-size: var(--text-lg); line-height: 1.45; font-weight: 600; color: var(--color-ink-2); }
.fam.on b { font-weight: 700; color: var(--color-brand); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.fam.on .glass { fill: var(--color-paper-3); }
.ground { position: absolute; left: 0; right: 0; top: 120px; height: 16px; pointer-events: none; }
.ground::before { content: ""; position: absolute; top: 0; bottom: 0; left: -100vw; right: -100vw; background: var(--color-brand); transform-origin: left center; }
@keyframes lay { from { transform: scaleX(0); } to { transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
.elev.wait .ground::before { transform: scaleX(0); }
.elev.wait .prof .d { stroke-dasharray: 1; stroke-dashoffset: 1; }
.elev.wait .prof .kit { opacity: 0; }
.elev.in .ground::before { animation: lay 0.6s var(--ease-out) both; }
.elev.in .prof .d { stroke-dasharray: 1; animation: draw 0.6s 0.2s var(--ease-out) both; }
.elev.in .prof .kit { animation: appear 0.5s 0.38s var(--ease-out) both; }
.elev.in .fam:nth-child(2) .prof .d { animation-delay: 0.26s; } .elev.in .fam:nth-child(3) .prof .d { animation-delay: 0.32s; }

/* Galeries de réalisations : vignette, court descriptif dessous, loupe ; un clic agrandit la photo. */
.wp-block-gallery.has-nested-images.ths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-md); margin: 0; }
.wp-block-gallery.ths.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wp-block-gallery.ths.columns-1 { grid-template-columns: minmax(0, 1fr); max-width: 66%; }
.wp-block-gallery.has-nested-images.ths figure.wp-block-image { width: auto !important; margin: 0 !important; display: flex; flex-direction: column; gap: var(--space-sm); }
.wp-block-gallery.has-nested-images.ths figure.wp-block-image::before { content: none !important; }
.wp-block-gallery.has-nested-images.ths figure.wp-block-image > a, .wp-block-gallery.has-nested-images.ths figure.wp-block-image > img { position: relative; display: block; flex: none; aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; background: var(--color-paper); cursor: zoom-in; }
.wp-block-gallery.ths.columns-2 figure.wp-block-image > a { aspect-ratio: 3 / 2; }
.wp-block-gallery.has-nested-images.ths figure.wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; transition: transform var(--dur-long) var(--ease-out); }
.wp-block-gallery.has-nested-images.ths figure.wp-block-image > a::after { content: ""; position: absolute; right: var(--space-xs); top: var(--space-xs); width: 40px; height: 40px; border-radius: 50%; background: var(--i-zoom) center / 22px no-repeat, var(--color-paper); box-shadow: 0 2px 8px rgb(0 52 140 / 0.16); transition: transform var(--dur-short) var(--ease-out); }
.wp-block-gallery.has-nested-images.ths figure.wp-block-image figcaption { position: static; flex: none; width: auto; max-height: none; margin: 0; padding: 0; overflow: visible; background: none; color: var(--color-ink); font-size: 1rem; font-weight: 600; line-height: 1.35; text-align: left; text-shadow: none; }
.wp-block-gallery.ths figure.wp-block-image > a:active { transform: scale(0.99); }

/* Questions : une carte par thème, chaque question mène à sa réponse */
.qs { padding-block: var(--space-3xl); background: var(--color-paper-2); }
.qcats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); margin-top: var(--space-2xl); }
/* Masonry (site.js, section 7) : rangées de 4 px, l'écart vertical devient une marge sous chaque carte. */
.qcats.is-masonry { grid-auto-rows: 4px; row-gap: 0; align-items: start; margin-bottom: calc(-1 * var(--space-lg)); }
.qcats.is-masonry > .qcat { margin-bottom: var(--space-lg); }
.qcat { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-lg) var(--space-xl) var(--space-md); border-radius: var(--radius-lg); background: var(--color-paper); }
.qcat > h3 { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-xl); }
.qcat > h3::before, .qgroup > h2::before, .rub > h2::before { content: ""; width: 22px; height: 21px; flex: none; background: var(--color-accent); -webkit-mask: var(--i-star) center / contain no-repeat; mask: var(--i-star) center / contain no-repeat; }
.qlist { margin: 0; padding: 0; list-style: none; }
.qlist > li { margin: 0; }
.qcat .qlist > li + li { border-top: 1px solid var(--color-rule); }
.qlink { margin: 0; font-size: 1rem; }
.qlink a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 56px; padding-block: var(--space-sm); color: var(--color-brand); font-weight: 600; line-height: 1.35; text-decoration: none; }
.qlink a::after { content: ""; flex: none; width: 20px; height: 20px; background: var(--color-accent); -webkit-mask: var(--i-chev) center / contain no-repeat; mask: var(--i-chev) center / contain no-repeat; transition: transform var(--dur-short) var(--ease-out); }
.qlink a:active { opacity: 0.8; }

/* Appel : bandeau bleu */
.call { position: relative; overflow: hidden; padding-block: var(--space-3xl); background: var(--color-brand); color: var(--color-on-brand); }
.call::after { content: ""; position: absolute; right: var(--gutter); top: 50%; width: 520px; aspect-ratio: 1; transform: translateY(-50%); background: var(--color-on-brand); opacity: 0.08; -webkit-mask: var(--i-star) center / contain no-repeat; mask: var(--i-star) center / contain no-repeat; pointer-events: none; }
.call .container { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; }
.call-l { grid-column: 1 / 6; display: flex; flex-direction: column; gap: var(--space-md); }
.call h2 { color: var(--color-on-brand); }
.call-l p { max-width: 30ch; color: var(--color-on-brand-2); font-size: var(--text-lead); }
.call-r { grid-column: 7 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); }
.call .stars { font-size: var(--text-lead); }
.call-note { max-width: 46ch; color: var(--color-on-brand-2); }
.call :focus-visible { outline-color: var(--color-accent); }

/* ---------- 5. Haut des pages intérieures ---------- */
.intro { padding-block: var(--space-2xl) var(--space-xl); }
.intro .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: end; }
.intro h1 { grid-column: 1 / 8; max-width: 18ch; font-size: var(--text-display-s); line-height: 1.05; }
.intro .container > p, .intro .intro-p { grid-column: 8 / -1; }
.intro-p { display: flex; flex-direction: column; gap: var(--space-sm); }
.intro-espace .container { align-items: start; }
.intro-espace h1 { grid-column: 1 / 7; max-width: 16ch; }
.intro-espace .intro-p { grid-column: 7 / -1; }
.intro .container > .badge, .badge { grid-column: 1 / -1; display: inline-flex; justify-self: start; align-items: center; gap: var(--space-xs); padding: 4px 12px 4px 10px; border-radius: var(--radius-pill); background: var(--color-brand); color: var(--color-on-brand); font-size: var(--text-sm); font-weight: 600; }
.badge::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i-lock) center / contain no-repeat; mask: var(--i-lock) center / contain no-repeat; }
.intro-sent { padding-bottom: var(--space-3xl); }
.intro-sent .container { align-items: start; }
.intro-sent .lead { font-size: var(--text-lead); font-weight: 600; }
.intro-sent .wp-block-buttons { margin-top: var(--space-md); }
.intro-404 { padding-bottom: var(--space-3xl); }
.intro-404 a { color: var(--color-brand); font-weight: 600; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- 6. Réalisations ---------- */
.jump-wrap { padding-bottom: var(--space-2xl); }
.wp-block-buttons.jump { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.jump .wp-block-button__link { width: 100%; justify-content: flex-start; gap: var(--space-md); min-height: 80px; padding: var(--space-sm) var(--space-md); background: var(--color-paper-2); color: var(--color-brand); font-weight: 700; text-align: left; }
.jump .wp-block-button__link::before { content: ""; width: 56px; height: 40px; flex: none; background: var(--p-ovale) center / contain no-repeat; }
.jump .fam-oblique .wp-block-button__link::before { background-image: var(--p-oblique); }
.jump .fam-solaire .wp-block-button__link::before { background-image: var(--p-solaire); }
.jump .fam-kit .wp-block-button__link::before { background-image: var(--p-kit); }
.fam-sec { padding-block: var(--space-2xl) var(--space-xl); border-top: 1px solid var(--color-rule); }
.fam-head { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: var(--space-md); row-gap: var(--space-sm); margin-bottom: var(--space-xl); }
.fam-head::before { content: ""; width: 72px; height: 52px; background: var(--p-ovale) center / contain no-repeat; }
.fam-oblique .fam-head::before { background-image: var(--p-oblique); }
.fam-solaire .fam-head::before { background-image: var(--p-solaire); }
.fam-kit .fam-head::before { background-image: var(--p-kit); }
.fam-head h2 { font-size: var(--text-2xl); }
.fam-head p { grid-column: 2; max-width: 60ch; }
.fam-sec .wp-block-gallery.ths.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fam-sec .wp-block-gallery.ths.columns-1 { max-width: 50%; }
.fam-sec .wp-block-gallery.has-nested-images.ths figure.wp-block-image > a { background: var(--color-paper-2); }

/* ---------- 7. Questions/Réponses ---------- */
.faq { padding-block: var(--space-xl) var(--space-3xl); }
.faq .container, .body .container, .legal .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.toc { grid-column: 1 / 4; position: sticky; top: calc(var(--hdr-h) + 8px); display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-lg); border-radius: var(--radius-lg); background: var(--color-paper-2); }
.toc .toc-t { margin-bottom: var(--space-xs); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; color: var(--color-ink-2); }
.toc-list { display: flex; flex-direction: column; gap: var(--space-2xs); margin: 0; padding: 0; list-style: none; }
.toc-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: 44px; padding: 8px var(--space-sm); border-radius: var(--radius-md); color: var(--color-ink); font-weight: 600; line-height: 1.3; text-decoration: none; }
.toc-list a .n { flex: none; min-width: 28px; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink-2); font-size: var(--text-xs); text-align: center; font-variant-numeric: tabular-nums; }
.groups { grid-column: 5 / -1; display: flex; flex-direction: column; gap: var(--space-2xl); }
.qgroup > h2 { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); max-width: none; font-size: var(--text-2xl); }
.qgroup .qlist { border-top: 1px solid var(--color-rule); }
.qgroup .qlist > li { border-bottom: 1px solid var(--color-rule); }
.qgroup .qlink a { min-height: 64px; padding-block: var(--space-md); font-size: var(--text-lg); gap: var(--space-lg); }
.qgroup .qlink a::after { width: 24px; height: 24px; }

/* Réponse seule : pas de menu ni de pied de page, une seule sortie, le retour à la liste */
.ans { padding-block: var(--space-lg) var(--space-3xl); }
.ans .container { display: flex; flex-direction: column; }
.ans-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-bottom: var(--space-lg); margin-bottom: var(--space-2xl); border-bottom: 1px solid var(--color-rule); }
.ans-logo { display: block; width: auto; height: 72px; }
.back { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding-inline: var(--space-md); border-radius: var(--radius-md); background: var(--color-paper-2); color: var(--color-brand); font-weight: 600; text-decoration: none; }
.ans-q { max-width: 72ch; }
.ans-g { margin-bottom: var(--space-sm); font-size: var(--text-sm); font-weight: 600; color: var(--color-accent-text); }
.ans-g a { color: inherit; text-decoration: none; pointer-events: none; }
.ans-q h1 { margin-bottom: var(--space-xl); max-width: none; font-size: var(--text-section); font-weight: 700; line-height: 1.1; }
.answer, .prose { display: flex; flex-direction: column; gap: var(--space-sm); color: var(--color-ink); }
.ans-q .answer { font-size: var(--text-lead); }
.answer ul, .prose ul, .prose ol { display: flex; flex-direction: column; gap: var(--space-2xs); padding-left: 1.25em; }
.answer li::marker, .prose li::marker { color: var(--color-accent); }
.answer strong { color: var(--color-brand); }
.answer a, .prose a { color: var(--color-brand); font-weight: 600; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin-block: var(--space-2xs) var(--space-xs); }
.fact { display: flex; flex-direction: column; gap: var(--space-2xs); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-md); background: var(--color-paper-2); font-size: var(--text-sm); color: var(--color-ink-2); }
.fact strong { font-size: var(--text-2xl); line-height: 1.1; font-weight: 800; color: var(--color-brand); font-variant-numeric: tabular-nums; }
.ans-end { margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid var(--color-rule); }

/* ---------- 8. Document d'identification, connexion ---------- */
.idf { padding-block: var(--space-2xl) var(--space-3xl); }
.idf .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; }
.idf-head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: end; }
.idf-head h1 { grid-column: 1 / 8; max-width: 18ch; font-size: var(--text-display-s); line-height: 1.05; }
.idf-head p { grid-column: 8 / -1; }
.idf-card { grid-column: 1 / 8; display: flex; flex-direction: column; gap: var(--space-lg); padding: var(--space-xl); border-radius: var(--radius-lg); background: var(--color-paper-2); }
.idf-card > h2 { font-size: var(--text-xl); }
.note { font-size: var(--text-sm); color: var(--color-ink-2); }
.note a { color: var(--color-brand); font-weight: 600; }
.idf-side { grid-column: 9 / -1; display: flex; flex-direction: column; gap: var(--space-xl); }
.idf-box { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
.idf-box h2 { font-size: var(--text-lg); }
.idf-box + .idf-box { padding-top: var(--space-xl); border-top: 1px solid var(--color-rule); }

/* ---------- 9. Espace privilégié ---------- */
.body { padding-block: var(--space-md) var(--space-3xl); }
.rubs { grid-column: 4 / -1; padding-left: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-3xl); }
.rub { display: flex; flex-direction: column; }
.rub > h2 { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); max-width: none; font-size: var(--text-2xl); }
.rub > p { max-width: 68ch; margin-bottom: var(--space-lg); }
.reminders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); padding: 0; list-style: none; }
.reminders li { display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-lg); border-radius: var(--radius-md); background: var(--color-paper-2); }
.reminders strong { color: var(--color-brand); font-size: var(--text-lg); line-height: 1.3; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-xl); align-items: center; }
.split.kit { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
.split-txt { display: flex; flex-direction: column; gap: var(--space-md); }
.film-card { display: flex; flex-direction: column; gap: var(--space-sm); }
.film-card.half { width: min(100%, 640px); }
.film-card h3 { font-size: var(--text-lg); line-height: 1.3; }
.film-card .wp-block-video { margin: 0; }
.film-card video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-md); background: var(--color-ink); }
.film-embed { margin: 0; }
.film-embed iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-md); background: var(--color-ink); }
.shot { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-md); background: var(--color-paper-2); overflow: hidden; }
.shot.film { aspect-ratio: 16 / 9; background: var(--p-film) center 45% / 60% 66% no-repeat, var(--color-paper-2); }
.shot.film::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--i-play) 54% 50% / 28px no-repeat, var(--color-brand); opacity: 0.5; }
.shot-label { position: absolute; left: var(--space-sm); top: var(--space-sm); z-index: 2; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 600; }
.docs { display: flex; flex-direction: column; border-top: 1px solid var(--color-rule); }
.doc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-md); row-gap: var(--space-3xs); padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.doc::before { content: ""; grid-row: 1 / span 2; width: 28px; height: 28px; background: var(--color-brand); -webkit-mask: var(--i-doc) center / contain no-repeat; mask: var(--i-doc) center / contain no-repeat; }
.doc h3 { grid-column: 2; font-size: 1rem; line-height: 1.35; max-width: none; }
.doc .meta { grid-column: 2; font-size: var(--text-sm); color: var(--color-ink-2); }
.doc .go { grid-column: 3; grid-row: 1 / span 2; }
.split .doc { grid-template-columns: auto minmax(0, 1fr); }
.split .doc::before { grid-row: 1 / span 3; }
.split .doc .go { grid-column: 2; grid-row: auto; }
.split .doc .go a { min-height: 32px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; gap: var(--space-sm); padding-right: var(--space-md); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--color-brand); border-radius: 50%; background: var(--color-paper); color: var(--color-brand); font-weight: 700; font-size: var(--text-lg); font-variant-numeric: tabular-nums; }
.step:last-child::before { background: var(--color-brand); color: var(--color-on-brand); }
.step::after { content: ""; position: absolute; top: 23px; left: 60px; right: calc(-1 * var(--gap-columns) + 12px); height: 2px; background: var(--color-rule); }
.step:last-child::after { display: none; }
.step h3 { margin-top: var(--space-xs); font-size: var(--text-lg); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-xl); }
.spec { display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-lg); border-radius: var(--radius-md); background: var(--color-paper-2); }
.spec-n { font-size: var(--text-3xl); line-height: 1; font-weight: 800; color: var(--color-brand); font-variant-numeric: tabular-nums; }
.spec h3 { margin-top: var(--space-xs); font-size: var(--text-lg); line-height: 1.3; }
.who { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--space-xl); align-items: center; padding: var(--space-xl); border-radius: var(--radius-lg); background: var(--color-paper-2); }
.who-photo { aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden; background: var(--color-paper); }
.who-photo img { width: 100%; height: 100%; object-fit: cover; }
.coords { display: flex; flex-direction: column; }
.coords .dt { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.coords .dd { margin: var(--space-3xs) 0 var(--space-md); font-size: var(--text-lg); font-weight: 600; color: var(--color-brand); }
.coords .dd:last-child { margin-bottom: 0; }
.coords a { color: inherit; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- 10. Pages légales ---------- */
.legal { padding-block: var(--space-md) var(--space-3xl); }
.prose { grid-column: 5 / -1; max-width: 68ch; }
.prose h2 { margin-top: var(--space-xl); font-size: var(--text-xl); max-width: none; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-md); font-size: var(--text-lg); }
.prose .address { font-style: normal; }
.prose .upd { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-ink-2); }
/* Pages sans gabarit dédié (pages ajoutées par la suite) : texte de lecture centré. */
.site-main > .wp-block-post-content > :is(p, h2, h3, ul, ol, .wp-block-image, .wp-block-buttons):not(.alignfull) { max-width: 68ch; margin-inline: auto; padding-inline: var(--gutter); }
.site-main > .wp-block-post-content > :is(p, h2, h3, ul, ol, .wp-block-image, .wp-block-buttons) + * { margin-top: var(--space-md); }

/* ---------- 11. Fenêtres : photo agrandie et lecteur de la vidéo ---------- */
.dlg { position: fixed; inset: 0; z-index: var(--z-modal); display: none; place-items: center; padding: var(--space-xl) var(--space-lg); background: rgb(8 18 40 / 0.86); }
.dlg.is-open { display: grid; animation: appear var(--dur-short) var(--ease-out); }
.dlg-box { position: relative; display: flex; flex-direction: column; gap: var(--space-md); width: min(1080px, 100%, calc((100svh - 180px) * 1.5)); }
.dlg-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.dlg-bar h2 { font-size: var(--text-lg); font-weight: 700; color: var(--color-on-brand); letter-spacing: 0; max-width: none; }
.dlg-bar p { font-size: var(--text-sm); color: var(--color-on-brand-2); font-variant-numeric: tabular-nums; }
.dlg-ctl { display: flex; gap: var(--space-xs); }
.dlg-ctl button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.14); color: var(--color-on-brand); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.dlg-ctl svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dlg :focus-visible { outline-color: var(--color-accent); }
.dlg-media { position: relative; margin: 0; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-ink); }
.dlg-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.dlg-media.film { aspect-ratio: 16 / 9; }
.dlg-media video { display: block; width: 100%; height: 100%; background: var(--color-ink); }
html.has-dlg { overflow: hidden; }

/* ---------- 12. Pied de page ---------- */
.foot { background: var(--color-brand-2); color: var(--color-on-brand-2); padding-block: var(--space-2xl) var(--space-lg); font-size: var(--text-sm); letter-spacing: 0.01em; }
.foot > .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); }
.foot-id { grid-column: 1 / 6; display: flex; flex-direction: column; gap: var(--space-md); }
.foot-id .logo img { height: 72px; }
.foot-nav { grid-column: span 3; }
.foot-co { grid-column: span 4; display: flex; flex-direction: column; }
.foot .foot-t { margin-bottom: var(--space-sm); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--color-on-brand); max-width: none; }
.foot a { color: var(--color-on-brand-2); text-decoration: none; }
.foot .wp-block-navigation { --navigation-layout-direction: column; font-size: var(--text-sm); }
.foot .wp-block-navigation .wp-block-navigation__container { gap: var(--space-xs); }
.foot .wp-block-navigation-item__content { padding: 0; color: var(--color-on-brand-2); }
.foot-addr { line-height: 1.7; }
.foot-ct { margin-top: var(--space-sm); line-height: 1.9; }
.foot-ct a { color: var(--color-on-brand); }
.foot-bot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); padding-top: var(--space-lg); }
.foot-bot .wp-block-navigation .wp-block-navigation__container { gap: var(--space-lg); flex-direction: row; }
.foot :focus-visible { outline-color: var(--color-accent); }

/* ---------- 13. Survol (pointeurs fins) ---------- */
@media (hover: hover) {
	.wp-block-button__link:hover, .btn:hover { background: var(--color-brand-2); }
	.btn-light .wp-block-button__link:hover { background: var(--color-paper-2); }
	.jump .wp-block-button__link:hover { background: var(--color-paper-3); }
	.hdr .nav .wp-block-navigation-item__content:hover { color: var(--color-brand); }
	.priv:not([aria-current]):hover { background: var(--color-paper-3); }
	.lang a:not([aria-current="true"]):hover { color: var(--color-brand); }
	.hero-film a:hover::after { transform: scale(1.06); }
	.hero-film a:hover img { transform: scale(1.02); }
	.fam:hover b { color: var(--color-brand); }
	.fam:not(.on):hover .glass { fill: var(--color-paper-2); }
	.wp-block-gallery.ths figure.wp-block-image > a:hover img { transform: scale(1.03); }
	.wp-block-gallery.ths figure.wp-block-image > a:hover::after { transform: scale(1.08); }
	.qlink a:hover::after { transform: translateX(3px); }
	.qlink a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
	.toc-list a:hover { background: var(--color-paper); color: var(--color-brand); }
	.back:hover { background: var(--color-paper-3); }
	.go a:hover { text-decoration-thickness: 4px; }
	.dlg-ctl button:hover { background: rgb(255 255 255 / 0.26); }
	.foot a:hover, .foot .wp-block-navigation-item__content:hover { color: var(--color-on-brand); text-decoration: underline; text-decoration-color: var(--color-accent); }
}

/* ---------- 14. Tablette ---------- */
@media (max-width: 60rem) {
	.hero-card { min-height: 0; padding: var(--space-xl) var(--space-xl) 0; gap: var(--space-lg); }
	.hero-row { display: block; }
	.hero-txt { max-width: none; }
	.hero-film { width: 100%; margin-top: var(--space-md); }
	.hero-vis { position: relative; left: auto; top: auto; width: calc(100% + 2 * var(--space-xl)); aspect-ratio: 6 / 5; margin: var(--space-xl) calc(-1 * var(--space-xl)) 0; overflow: hidden; }
	.hero-vis img { position: absolute; left: -25%; top: -36%; width: 150%; max-width: none; }
	.cover { position: relative; right: auto; bottom: auto; margin: var(--space-md) 0 var(--space-xl); }
	.sec-head h2, .sec-head p, .famille > :not(.wp-block-gallery), .famille > .wp-block-gallery, .call-l, .call-r, .foot-id, .intro h1, .intro .container > p, .intro .intro-p, .idf-head h1, .idf-head p, .idf-card, .idf-side { grid-column: 1 / -1; }
	.famille > .wp-block-gallery { grid-row: auto; }
	.qcats { grid-template-columns: minmax(0, 1fr); }
	.qcats.is-masonry { grid-auto-rows: auto; }
	.foot-nav, .foot-co { grid-column: span 6; }
	.wp-block-buttons.jump { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.toc { grid-column: 1 / -1; position: static; margin-bottom: var(--space-2xl); }
	.faq .toc .toc-list, .body .toc .toc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.toc-list a { background: var(--color-paper); }
	.groups, .rubs, .prose { grid-column: 1 / -1; padding-left: 0; }
	.steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
	.step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--space-md); row-gap: var(--space-2xs); padding-right: 0; }
	.step::before { grid-row: span 2; }
	.step h3 { margin-top: 10px; }
	.step::after { top: 52px; bottom: calc(-1 * var(--space-lg) + 4px); left: 23px; right: auto; width: 2px; height: auto; }
	.split, .split.kit { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 15. Téléphone ---------- */
@media (max-width: 40rem) {
	.hero { padding-top: var(--space-xs); }
	.hero-card { padding: var(--space-lg) var(--space-lg) 0; }
	.hero-vis { width: calc(100% + 2 * var(--space-lg)); margin-inline: calc(-1 * var(--space-lg)); }
	.cover { margin-bottom: var(--space-lg); }
	.claim { font-size: var(--text-lg); }
	.hero-film { aspect-ratio: 4 / 3; }
	.fams { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-md); }
	.fam { min-height: 44px; }
	.prof { height: 64px; padding-inline: var(--space-xs); }
	.prof .mini { display: block; }
	.fam b { padding: var(--space-sm) 0 0; font-size: 1rem; }
	.fam.on b { text-decoration-thickness: 3px; text-underline-offset: 6px; }
	.ind { height: 3px; }
	.ground { position: relative; top: auto; margin-top: var(--space-lg); height: 12px; }
	.famille { padding: var(--space-lg) var(--space-md); }
	.wp-block-gallery.has-nested-images.ths, .wp-block-gallery.ths.columns-3, .fam-sec .wp-block-gallery.ths.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--space-sm); }
	.wp-block-gallery.ths.columns-1, .fam-sec .wp-block-gallery.ths.columns-1 { max-width: none; grid-template-columns: minmax(0, 1fr); }
	.wp-block-gallery.has-nested-images.ths figure.wp-block-image figcaption { font-size: var(--text-sm); }
	.wp-block-gallery.has-nested-images.ths figure.wp-block-image > a::after { width: 32px; height: 32px; background-size: 18px; }
	.qcat { padding: var(--space-md) var(--space-md) var(--space-xs); }
	.qcat > h3 { font-size: var(--text-lg); }
	.call .stars { font-size: 1rem; }
	.call::after { right: -8%; width: 70%; }
	.btn-light, .btn-light .wp-block-button__link { width: 100%; }
	.intro { padding-top: var(--space-xl); }
	.wp-block-buttons.jump { gap: var(--space-xs); }
	.jump .wp-block-button__link { flex-direction: column; align-items: flex-start; gap: var(--space-xs); padding: var(--space-sm); }
	.fam-head::before { width: 56px; height: 40px; }
	.fam-head h2 { font-size: var(--text-xl); }
	.fam-head p { grid-column: 1 / -1; }
	.faq .toc .toc-list, .body .toc .toc-list { grid-template-columns: minmax(0, 1fr); }
	.toc { padding: var(--space-md); }
	.qgroup > h2, .rub > h2 { font-size: var(--text-xl); }
	.qgroup .qlink a { font-size: 1rem; gap: var(--space-md); }
	.ans-logo { height: 48px; }
	.back span { display: none; }
	.ans-q h1 { font-size: var(--text-2xl); }
	.ans-q .answer { font-size: 1rem; }
	.ans-end .btn { width: 100%; }
	.facts { grid-template-columns: minmax(0, 1fr); }
	.idf-head h1 { font-size: var(--text-section); }
	.idf-card { padding: var(--space-lg) var(--space-md); }
	.rubs { gap: var(--space-2xl); }
	.reminders, .specs { grid-template-columns: minmax(0, 1fr); }
	.doc { grid-template-columns: auto minmax(0, 1fr); }
	.doc .go { grid-column: 2; grid-row: auto; }
	.who { grid-template-columns: minmax(0, 1fr); padding: var(--space-lg) var(--space-md); }
	.who-photo { width: 160px; }
	.prose h2 { font-size: var(--text-lg); }
	.foot-nav, .foot-co { grid-column: 1 / -1; }
	.dlg { padding: var(--space-md) var(--space-sm); }
	.dlg-media { aspect-ratio: 4 / 3; }
	.dlg-media.film { aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.elev.wait .ground::before { transform: none; }
	.elev.wait .prof .kit { opacity: 1; }
	.prof .d { stroke-dasharray: none !important; }
}
