/*
Theme Name: DECAPEX
Theme URI: https://decapex.eu
Author: DECAPEX
Description: Thème sur mesure DECAPEX — nettoyage cryogénique et décapage laser. Responsive (mobile, tablette, ordinateur), SEO, suivi des conversions Google Ads avec consentement, vidéos YouTube et carte Google Maps.
Version: 1.4.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: decapex
License: Propriétaire — usage réservé à DECAPEX
*/

/* ==========================================================================
   1. Variables
   ========================================================================== */
:root {
	--navy: #071738;
	--navy-2: #0D2149;
	--navy-3: #040E25;
	--blue: #0262BA;
	--ice: #7FCDF0;
	--ice-pale: #CFEAFA;
	--ice-bg: #E6F4FC;
	--red: #E0121C;
	--red-text: #C1121C;
	--red-light: #FF6B6F;
	--red-bg: #FDECEC;
	--silver: #C7C7C7;
	--paper: #F4F7FB;
	--line: #E3E9F2;
	--line-2: #C9D2E0;
	--text: #071738;
	--text-2: #1E2B48;
	--text-3: #33415F;
	--muted: #4A5875;
	--on-dark: #F1F6FB;
	--on-dark-2: #C7D3E3;
	--on-dark-3: #A3B4CE;
	--font: Tahoma, Verdana, "Segoe UI", "DejaVu Sans", sans-serif;
	--wrap: 1280px;
	--gutter: clamp(20px, 5vw, 56px);
	--section: clamp(64px, 8vw, 112px);
	--radius: 12px;
	--radius-lg: 14px;
	--shadow: 0 12px 32px rgba(7, 23, 56, 0.12);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .85; }
button, input, select, textarea { font: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.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: -80px; z-index: 200; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.icon { width: 1em; height: 1em; flex: none; }

/* ==========================================================================
   3. Mise en page
   ========================================================================== */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--tight { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.section--flush-top { padding-top: 0; }
.bg-paper { background: var(--paper); }
.bg-white { background: #fff; }
.bg-ice { background: var(--ice-bg); }
.bg-navy { background: var(--navy); color: #fff; }
.bt { border-top: 1px solid var(--line); }
.bb { border-bottom: 1px solid var(--line); }
.split { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.split--top { align-items: flex-start; }
.split__main { flex: 1 1 520px; min-width: 0; }
.split__side { flex: 1 1 380px; min-width: 0; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.stack-sm > * + * { margin-top: 12px; }

/* ==========================================================================
   4. Typographie
   ========================================================================== */
.eyebrow { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow--ice { color: var(--ice); }
.eyebrow--red { color: var(--red-text); }
.eyebrow--redlight { color: var(--red-light); }
.h1 { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.08; letter-spacing: -.02em; }
.h2 { margin: 0; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -.015em; }
.h3 { margin: 0; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.3; }
.lead { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.7; color: var(--muted); }
.bg-navy .lead { color: var(--on-dark-2); }
.muted { color: var(--muted); }
.bg-navy .muted { color: var(--on-dark-3); }
.c-blue { color: var(--blue); }
.c-red { color: var(--red); }
.small { font-size: 14px; }
.section-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; }
.section-head__main { flex: 1 1 560px; min-width: 0; }
.section-head__main .h2 { max-width: 780px; }
.section-head__aside { flex: 1 1 340px; max-width: 460px; }
.tag { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tag::before { content: ""; width: 8px; height: 8px; background: currentColor; flex: none; }
.tag--plain::before { display: none; }
.tag--cryo { color: var(--blue); }
.tag--laser { color: var(--red-text); }
.tag--both { color: var(--navy); }

/* ==========================================================================
   5. Boutons et liens
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 8px; border: 1.5px solid transparent; font-weight: 700; font-size: 16px; line-height: 1.2; text-align: center; cursor: pointer; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { opacity: .92; transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--red { background: var(--red); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline-light { border-color: var(--silver); color: #fff; background: transparent; }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; border-bottom: 2px solid currentColor; }
.link-arrow--blue { color: var(--blue); }
.link-arrow--red-line { border-bottom-color: var(--red); }
.text-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   6. Bandeau supérieur et en-tête
   ========================================================================== */
.topbar { background: var(--navy); color: var(--on-dark-2); font-size: 13px; }
.topbar .wrap { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar__links strong { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.site-header__inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 52px; width: auto; }
.nav-primary__list { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav-primary__list > li { position: relative; }
.nav-primary__list a, .nav-primary__toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; background: none; border: 0; color: inherit; cursor: pointer; }
.nav-primary__list .is-current > a, .nav-primary__list a[aria-current="page"] { font-weight: 700; color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.nav-primary__toggle .icon { width: 12px; height: 12px; transition: transform .2s; }
.nav-sub { position: absolute; top: 100%; left: -18px; min-width: 280px; margin: 0; padding: 10px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: none; }
.nav-sub a { display: flex; width: 100%; padding: 10px 12px; border-radius: 8px; }
.nav-sub a:hover { background: var(--paper); opacity: 1; }
.has-sub:hover > .nav-sub, .has-sub:focus-within > .nav-sub, .has-sub.is-open > .nav-sub { display: block; }
.has-sub.is-open .nav-primary__toggle .icon { transform: rotate(180deg); }
.nav-primary__extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn { width: 48px; height: 48px; display: none; align-items: center; justify-content: center; border-radius: 8px; border: 1.5px solid var(--line-2); background: #fff; color: var(--navy); cursor: pointer; }
.icon-btn .icon { width: 22px; height: 22px; }
.icon-btn--call { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ==========================================================================
   7. Héros
   ========================================================================== */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero__top { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; }
.hero__title { flex: 999 1 620px; min-width: 0; }
.hero__aside { flex: 1 1 340px; min-width: 0; max-width: 470px; }
.hero__aside .btns { margin-top: 28px; }
.hero__tiles { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 380px; padding: clamp(26px, 3.5vw, 44px); border-radius: var(--radius-lg); }
.tile:hover { opacity: 1; }
.tile:hover .link-arrow { transform: translateX(4px); }
.tile .link-arrow { transition: transform .2s; }
.tile--ice { background: var(--ice-bg); color: var(--navy); }
.tile--navy { background: var(--navy); color: #fff; }
.tile__deco { position: absolute; right: 0; top: 0; pointer-events: none; }
.tile__body, .tile__head { position: relative; }
.tile__big { margin: 22px 0 0; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.tile__title { margin: 0; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.tile__text { margin-top: 10px; max-width: 470px; font-size: 16px; line-height: 1.65; }
.tile--ice .tile__text { color: var(--text-3); }
.tile--navy .tile__text { color: var(--on-dark-2); }
.tile .link-arrow { margin-top: 22px; }
.page-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); }
.page-hero--ice { background: var(--ice-bg); }
.page-hero--navy { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-hero--paper { background: var(--paper); }
.page-hero__grid { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.page-hero__text { flex: 1 1 520px; min-width: 0; }
.page-hero__media { flex: 1 1 440px; min-width: 0; }
.page-hero .lead { margin-top: 22px; max-width: 580px; color: var(--text-3); }
.page-hero--navy .lead { color: var(--on-dark-2); }
.page-hero .btns { margin-top: 30px; }
.page-hero__deco { position: absolute; right: 0; top: 0; pointer-events: none; }
.breadcrumb { font-size: 13px; color: var(--text-3); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.page-hero--navy .breadcrumb { color: var(--on-dark-2); }

/* ==========================================================================
   8. Bandeaux de chiffres et de réassurance
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.stat { padding: 36px 24px 36px 0; }
.stat__value { font-size: clamp(30px, 3vw, 38px); line-height: 1; font-weight: 700; color: var(--blue); }
.stat__value--red { color: var(--red-text); }
.stat__label { margin-top: 10px; font-size: 14px; color: var(--muted); max-width: 240px; }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px 32px; padding: 28px 0; }
.trust__item { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; }
.trust__item .icon { width: 26px; height: 26px; color: var(--blue); }

/* ==========================================================================
   9. Cartes, puces, listes
   ========================================================================== */
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
a.card:hover { opacity: 1; box-shadow: var(--shadow); }
.card__media { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__media--43 { aspect-ratio: 4 / 3; }
.card__body { flex: 1 1 auto; display: flex; flex-direction: column; padding: 22px 24px 26px; }
.card__title { margin: 10px 0 0; font-size: 19px; line-height: 1.35; }
.card__text { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.card__more { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 700; color: var(--blue); }
.card--soft { border: 0; background: var(--paper); padding: 32px 28px; }
.card--feature { padding: 32px 28px; }
.card--feature .icon { width: 40px; height: 40px; color: var(--blue); }
.card--feature h3 { margin: 22px 0 0; font-size: 19px; }
.card--feature p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.card--dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.card--dark .card__text { color: var(--on-dark-2); }
.card--ice { background: var(--ice-bg); border-color: var(--ice-bg); }
.ph { width: 100%; aspect-ratio: 16 / 10; background: repeating-linear-gradient(135deg, #E2E8F1 0 1px, #EDF1F7 1px 12px); }
.ph--dark { background: repeating-linear-gradient(135deg, #0B1F48 0 2px, #0E2654 2px 14px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; font-size: 14px; background: var(--paper); }
.chip--ice { background: var(--ice-bg); }
.chip--red { background: var(--red-bg); }
.chip--line { background: transparent; border: 1px solid var(--line-2); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 20px; border-radius: 10px; background: #fff; font-size: 15px; }
.checklist .icon { width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.checklist--red .icon { color: var(--red-text); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks .icon { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.hairline { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hairline > div { padding: 28px; background: #fff; }
.hairline__num { font-size: 13px; font-weight: 700; color: var(--blue); }
.hairline h3 { margin: 14px 0 0; font-size: 18px; }
.hairline--laser .hairline__num { color: var(--red-text); }
.panel { padding: clamp(28px, 3.5vw, 44px); border-radius: var(--radius-lg); }

/* ==========================================================================
   10. Avant / après
   ========================================================================== */
.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); user-select: none; touch-action: pan-y; }
.ba__img, .ba .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before .ph { background: repeating-linear-gradient(135deg, #2E3850 0 2px, #3B4662 2px 14px); }
.ba__label { position: absolute; bottom: 16px; padding: 6px 10px; border-radius: 6px; background: rgba(7, 23, 56, .78); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba__handle { position: absolute; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 12px rgba(7, 23, 56, .28); pointer-events: none; color: var(--navy); }
.ba__handle .icon { width: 22px; height: 22px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-caption { margin-top: 14px; font-size: 13px; color: var(--muted); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: var(--radius); overflow: hidden; }
.pair__item { position: relative; }
.pair__item img, .pair__item .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pair figcaption, .fig-caption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   11. Tableau comparatif
   ========================================================================== */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; text-align: center; }
.compare th, .compare td { padding: 18px 16px; }
.compare thead th { font-weight: 700; }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare th[scope="row"] { text-align: left; padding-left: 24px; font-weight: 700; }
.compare .head-label { text-align: left; padding-left: 24px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.compare .col-cryo { background: #F2F9FE; color: var(--blue); font-weight: 700; }
.compare .col-laser { background: #FEF6F6; color: var(--red-text); font-weight: 700; }
.compare thead .col-cryo { background: var(--ice-bg); }
.compare thead .col-laser { background: var(--red-bg); }
.compare .no { color: var(--muted); }
.table-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.table-hint { display: none; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.compare--dark { color: var(--on-dark); text-align: left; }

/* ==========================================================================
   12. Étapes
   ========================================================================== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.step__head { display: flex; align-items: center; gap: 14px; }
.step__num { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ice); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ice); }
.step__num--red { border-color: var(--red); background: var(--red); color: #fff; }
.step__line { flex: 1; height: 1px; background: rgba(199, 199, 199, .4); }
.step h3 { margin: 22px 0 0; font-size: 20px; }
.step p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--on-dark-2); }
.steps--light .step__num { border-color: var(--blue); color: var(--blue); }
.steps--light .step__line { background: var(--line-2); }
.steps--light .step p { color: var(--muted); }
.principle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.principle li { padding: 32px 28px; border-radius: var(--radius); background: var(--paper); }
.principle__head { display: flex; justify-content: space-between; align-items: flex-start; }
.principle__head .icon { width: 48px; height: 48px; color: var(--blue); }
.principle--laser .principle__head .icon { color: var(--red-text); }
.principle__num { font-size: 14px; font-weight: 700; color: var(--muted); }
.principle h3 { margin: 24px 0 0; font-size: 20px; }
.principle p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ==========================================================================
   13. Témoignages
   ========================================================================== */
.quotes { display: flex; flex-wrap: wrap; gap: 20px; }
.quote { flex: 1 1 320px; min-width: 0; margin: 0; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.quote--big { flex: 2 1 560px; padding: clamp(32px, 4vw, 56px); }
.quote--big blockquote p { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 15px; line-height: 1.7; }
.quote__mark { width: 44px; height: 34px; color: var(--blue); margin-bottom: 20px; }
.quote figcaption { font-size: 14px; }
.quote figcaption span { color: var(--muted); }
.quotes__col { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

/* ==========================================================================
   14. Vidéos YouTube
   ========================================================================== */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 0; background: rgba(7, 23, 56, .18); cursor: pointer; }
.yt__play span { width: 72px; height: 72px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .3); transition: transform .2s; }
.yt__play:hover span { transform: scale(1.06); }
.yt__play .icon { width: 26px; height: 26px; margin-left: 4px; }
.yt-title { margin-top: 12px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.yt-date { margin-top: 4px; font-size: 13px; color: var(--muted); }

/* ==========================================================================
   15. FAQ
   ========================================================================== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { padding: 22px 24px; border-radius: 10px; background: #fff; }
.faq--lines details { border-radius: 0; padding: 22px 0; background: transparent; border-top: 1px solid var(--line-2); }
.faq--lines { gap: 0; border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; display: flex; justify-content: space-between; gap: 20px; font-size: 17px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* ==========================================================================
   16. Bandeau d'appel à l'action
   ========================================================================== */
.cta-band { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding: clamp(32px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--blue); color: #fff; }
.cta-band--navy { background: var(--navy); }
.cta-band__text { flex: 1 1 520px; min-width: 0; }
.cta-band h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.cta-band p { margin-top: 12px; max-width: 580px; font-size: 16px; line-height: 1.7; color: var(--ice-bg); }
.cta-band--navy p { color: var(--on-dark-2); }
.cta-duo { display: flex; flex-wrap: wrap; gap: 20px; }
.cta-duo > .cta-band { flex: 2 1 560px; }
.cta-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(32px, 4vw, 48px); border-radius: var(--radius-lg); }
.cta-side--ice { background: var(--ice-bg); }
.cta-side--navy { background: var(--navy); color: #fff; }
.cta-side h3 { margin: 0; font-size: 22px; }
.cta-side p { margin-top: 8px; font-size: 15px; line-height: 1.65; }
.cta-side--ice p { color: var(--text-3); }
.cta-side--navy p { color: var(--on-dark-2); }

/* ==========================================================================
   17. Filtres
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--navy); font-size: 15px; font-weight: 700; cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
[data-cat][hidden] { display: none !important; }

/* ==========================================================================
   18. Formulaire et contact
   ========================================================================== */
.form-card { padding: clamp(24px, 3.5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.form-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 700; padding: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .field select { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 8px; color: var(--navy); background: #fff; font-size: 16px; }
.field textarea { padding: 14px; min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(2, 98, 186, .18); }
.field input[type="file"] { padding: 14px; border: 1.5px dashed var(--line-2); border-radius: 8px; background: var(--paper); font-size: 14px; color: var(--muted); }
.field__help { font-size: 13px; color: var(--muted); }
fieldset.field { margin: 0; border: 0; padding: 0; }
.radios { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; margin-top: 10px; }
.radio { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 8px; cursor: pointer; font-size: 15px; }
.radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.checkbox { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; cursor: pointer; }
.checkbox input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 18px 20px; border-radius: 10px; font-size: 15px; line-height: 1.6; }
.notice--ok { background: #E7F6EC; color: #0F5132; border: 1px solid #A6D9B6; }
.notice--error { background: var(--red-bg); color: #7A0D12; border: 1px solid #F3B3B6; }
.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius-lg); }
.contact-card .icon { width: 28px; height: 28px; }
.contact-card--navy { background: var(--navy); color: #fff; }
.contact-card--navy .icon { color: var(--ice); }
.contact-card--ice { background: var(--ice-bg); }
.contact-card--ice .icon { color: var(--blue); }
.contact-card__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.contact-card__value { display: block; margin-top: 4px; font-size: 20px; font-weight: 700; word-break: break-word; }
.contact-card__help { display: block; font-size: 14px; opacity: .85; }
.next-steps { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.next-steps li { display: flex; gap: 14px; font-size: 15px; line-height: 1.55; }
.next-steps__num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Carte */
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.map__frame { position: relative; aspect-ratio: 16 / 10; background: repeating-linear-gradient(135deg, #E2E8F1 0 1px, #EDF1F7 1px 12px); }
.map--wide .map__frame { aspect-ratio: 21 / 9; }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; }
.map__placeholder .icon { width: 40px; height: 40px; color: var(--red); }
.map__placeholder p { font-size: 13px; color: var(--muted); max-width: 360px; }
.map__info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 18px 20px; background: #fff; }
.map__address { font-size: 15px; }
.map__address strong { display: block; }

/* ==========================================================================
   19. Articles et pages de contenu
   ========================================================================== */
.article-layout { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.article-main { flex: 999 1 600px; min-width: 0; max-width: 780px; }
.article-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.prose { font-size: 17px; line-height: 1.8; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(24px, 2.4vw, 28px); line-height: 1.25; color: var(--navy); }
.prose h3 { margin-top: 1.6em; font-size: 21px; line-height: 1.3; color: var(--navy); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose blockquote { margin: 1.4em 0; padding: 20px 24px; border-radius: 10px; background: var(--paper); }
.prose .wp-block-image figcaption { font-size: 14px; color: var(--muted); }
.post-meta { margin-top: 18px; font-size: 14px; color: var(--muted); }
.toc { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; }
.featured-post { display: flex; flex-wrap: wrap; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); color: #fff; }
.featured-post:hover { opacity: 1; }
.featured-post__media { flex: 1 1 520px; min-width: 0; min-height: 300px; }
.featured-post__media img, .featured-post__media .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; min-height: 300px; }
.featured-post__body { flex: 1 1 420px; min-width: 0; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.featured-post__body h2 { margin: 14px 0 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.2; }
.featured-post__body p { margin-top: 14px; color: var(--on-dark-2); line-height: 1.7; }
.pagination { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.facts { margin: 0; padding: 28px; border-radius: var(--radius-lg); background: var(--paper); }
.facts div { padding: 14px 0; border-bottom: 1px solid #DCE3ED; }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 700; }

/* ==========================================================================
   20. Pied de page
   ========================================================================== */
.site-footer { background: var(--navy); color: var(--on-dark-2); }
.site-footer__grid { display: flex; flex-wrap: wrap; gap: 40px 64px; padding: 64px 0 44px; }
.site-footer__brand { flex: 2 1 300px; min-width: 0; }
.site-footer__brand img { height: 76px; width: auto; }
.site-footer__brand p { margin-top: 18px; max-width: 320px; font-size: 14px; line-height: 1.65; color: var(--on-dark-3); }
.site-footer__col { flex: 1 1 170px; min-width: 0; }
.site-footer__title { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer address { font-style: normal; font-size: 14px; line-height: 1.8; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(207, 234, 250, .25); }
.social .icon { width: 20px; height: 20px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 28px; border-top: 1px solid rgba(207, 234, 250, .14); font-size: 13px; color: var(--on-dark-3); }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font-size: inherit; }

/* Barre d'action mobile et bannière cookies */
.mobile-cta { display: none; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; margin-left: auto; padding: 22px; border-radius: var(--radius-lg); background: #fff; color: var(--navy); box-shadow: 0 16px 48px rgba(7, 23, 56, .25); border: 1px solid var(--line); }
.consent[hidden] { display: none; }
.consent p { font-size: 14px; line-height: 1.6; color: var(--text-3); }
.consent p a { text-decoration: underline; }
.consent__title { margin: 0 0 8px; font-size: 16px; }
.consent .btns { margin-top: 16px; }
.consent .btn { min-height: 46px; padding: 0 18px; font-size: 15px; flex: 1 1 140px; }

/* ==========================================================================
   21. Points de rupture
   ========================================================================== */
@media (max-width: 1180px) {
	.nav-primary { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-bottom, 124px)); overflow-y: auto; background: #fff; border-top: 1px solid var(--line); padding: 12px var(--gutter) 40px; display: none; }
	.nav-open .nav-primary { display: block; }
	.nav-primary__list { flex-direction: column; align-items: stretch; gap: 0; font-size: 19px; }
	.nav-primary__list > li { border-bottom: 1px solid var(--line); }
	.nav-primary__list a, .nav-primary__toggle { width: 100%; min-height: 58px; padding: 0; justify-content: space-between; }
	.nav-primary__list .is-current > a, .nav-primary__list a[aria-current="page"] { box-shadow: none; }
	.nav-sub { position: static; display: none; min-width: 0; padding: 0 0 12px 14px; border: 0; box-shadow: none; }
	.has-sub:hover > .nav-sub, .has-sub:focus-within > .nav-sub { display: none; }
	.has-sub.is-open > .nav-sub { display: block; }
	.nav-sub a { font-size: 16px; padding: 10px 0; }
	.nav-primary__extra { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
	.icon-btn--menu { display: inline-flex; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 860px) {
	.hero__tiles { grid-template-columns: 1fr; }
	.tile { min-height: 0; }
	.form-grid { grid-template-columns: 1fr; }
	.table-hint { display: block; }
	.map--wide .map__frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
	body { padding-bottom: 76px; }
	.topbar__text { display: none; }
	.topbar .wrap { justify-content: center; }
	.site-header__inner { height: 70px; }
	.brand img { height: 42px; }
	.header-cta { display: none; }
	.icon-btn--call { display: inline-flex; }
	.mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(7, 23, 56, .08); }
	.mobile-cta .btn { flex: 1 1 0; min-height: 50px; padding: 0 12px; font-size: 15px; }
	.consent { bottom: 86px; left: 10px; right: 10px; }
	.stat { padding: 24px 16px 24px 0; }
	.pair { grid-template-columns: 1fr 1fr; }
	.btns .btn { flex: 1 1 100%; }
	.hero__aside .btns .btn, .page-hero .btns .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn, .tile .link-arrow, .yt__play span { transition: none; }
}
@media print {
	.topbar, .site-header, .mobile-cta, .consent, .site-footer { display: none; }
}

/* ==========================================================================
   22. Compléments
   ========================================================================== */
.icon--xl { width: 64px; height: 64px; flex: none; }
.icon-btn--menu .icon-close { display: none; }
.nav-open .icon-btn--menu .icon-open { display: none; }
.nav-open .icon-btn--menu .icon-close { display: block; }
.cta-side .icon { width: 40px; height: 40px; }
.featured-post .ph { min-height: 300px; height: 100%; }
/* Menu WordPress personnalisé (si un menu est assigné à l'emplacement « principal »). */
.nav-primary__list .menu-item-has-children { position: relative; }
.nav-primary__list .sub-menu { position: absolute; top: 100%; left: -18px; min-width: 280px; margin: 0; padding: 10px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: none; }
.nav-primary__list .menu-item-has-children:hover > .sub-menu, .nav-primary__list .menu-item-has-children:focus-within > .sub-menu { display: block; }
.nav-primary__list .sub-menu a { display: flex; padding: 10px 12px; border-radius: 8px; }
.nav-primary__list .current-menu-item > a { font-weight: 700; color: var(--blue); }
@media (max-width: 1180px) {
	.nav-primary__list .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 12px 14px; border: 0; box-shadow: none; }
}
.quote { justify-content: flex-start; }
.quote blockquote { flex: 1 1 auto; }
.quote.quote--big blockquote p { font-size: clamp(19px, 2.1vw, 25px); line-height: 1.5; }
.nav-open .mobile-cta { display: none; }
@media (max-width: 600px) {
	.tile__deco { width: 150px; height: auto; opacity: .45; }
}
@media (max-width: 960px) {
	.topbar__text { display: none; }
	.topbar .wrap { justify-content: flex-end; }
}
@media (min-width: 601px) and (max-width: 860px) {
	.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Vidéos en boucle, clips verticaux et galeries de chantier (v1.1)
   ========================================================================== */
.loop { position: relative; overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius-lg); background: var(--navy); }
.loop__video, .loop iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.loop--reel { aspect-ratio: 21 / 9; }
.loop--vertical { aspect-ratio: 9 / 16; border-radius: var(--radius); }
.loop::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to top, rgba(4, 14, 37, .55), rgba(4, 14, 37, 0)); pointer-events: none; }
.loop__tag { position: absolute; left: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 9px; max-width: calc(100% - 92px); margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(7, 23, 56, .78); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3; }
.loop__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: dx-pulse 2s infinite; }
@keyframes dx-pulse { 0% { box-shadow: 0 0 0 0 rgba(224, 18, 28, .6); } 70% { box-shadow: 0 0 0 8px rgba(224, 18, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 18, 28, 0); } }
.loop__toggle { position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(7, 23, 56, .78); color: #fff; cursor: pointer; }
.loop__toggle .icon { width: 16px; height: 16px; }
.loop__toggle .icon--play { display: none; margin-left: 2px; }
.loop.is-paused .loop__toggle .icon--pause { display: none; }
.loop.is-paused .loop__toggle .icon--play { display: block; }
.loop__full { position: absolute; top: 14px; right: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 0; border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: 0 4px 16px rgba(4, 14, 37, .25); }
.loop__full .icon { width: 14px; height: 14px; color: var(--red); }
.loop__full:hover { background: var(--ice-bg); }
.loop__toggle:focus-visible, .loop__full:focus-visible { outline: 3px solid var(--ice); outline-offset: 2px; }
.loop:has(iframe)::after, .loop:has(iframe) .loop__tag, .loop:has(iframe) .loop__toggle { display: none; }
.hero__reel { margin-top: clamp(32px, 4vw, 52px); }
.hero__reel + .hero__tiles { margin-top: 16px; }

.reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.reel-card { min-width: 0; }
.reel-card__title { margin: 12px 0 0; font-size: 16px; font-weight: 700; line-height: 1.35; }
.reel-card__meta { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.yt--vertical { aspect-ratio: 9 / 16; }
.yt--vertical .yt__play span { width: 60px; height: 60px; }

.ba--portrait { aspect-ratio: 3 / 4; }
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.ba-grid figure { margin: 0; min-width: 0; }
.ba-grid figcaption { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--text-2); }
.media-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.media-strip figure { margin: 0; min-width: 0; }
.media-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.media-strip .loop { aspect-ratio: 3 / 4; }
.media-strip figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

@media (max-width: 1024px) {
	.reels { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; overscroll-behavior-x: contain; }
	.reel-card { flex: 0 0 min(40%, 280px); scroll-snap-align: start; }
}
@media (max-width: 860px) {
	.loop--reel { aspect-ratio: 16 / 9; }
	.ba-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.reel-card { flex-basis: 66%; }
	.loop__tag { left: 12px; bottom: 12px; padding: 7px 11px; font-size: 12px; }
	.loop__full { top: 10px; right: 10px; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.loop__dot { animation: none; }
}

/* Adresse cliquable vers l'itinéraire */
.addr-link { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.addr-link:hover { text-decoration-color: currentColor; }
.addr-link .icon { width: 1em; height: 1em; margin-right: 6px; vertical-align: -0.12em; color: var(--red); }
.addr-link__go { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; font-size: 13px; font-weight: 700; text-decoration: none; }
.addr-link__go .icon { margin: 0; }
.map__routes { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer .addr-link__go { display: flex; margin: 4px 0 0; }

/* ==========================================================================
   Pages légales (mentions légales, politique de confidentialité)
   ========================================================================== */
.legal-hero { padding-bottom: clamp(36px, 5vw, 56px); }
.legal-hero__eyebrow { margin-top: 28px; margin-bottom: 12px; }
.legal-hero__title { font-size: clamp(32px, 4.4vw, 54px); text-wrap: balance; }
.legal-hero__lead { margin-top: 18px; max-width: 760px; color: var(--text-3); }
.legal-hero__meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 14px; color: var(--muted); }
.legal-hero__meta span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 12px 2px -12px; border-radius: 50%; background: var(--line-2); vertical-align: middle; }
.legal-switch { margin-top: 28px; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.legal-switch a { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--text-3); }
.legal-switch a:hover { background: var(--paper); opacity: 1; }
.legal-switch a[aria-current="page"] { background: var(--navy); color: #fff; }

.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-bottom, 88px) + 28px); font-size: 14px; }
.legal__toc-title { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal__toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: flex; gap: 10px; margin-left: -2px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; line-height: 1.4; color: var(--text-3); }
.legal__toc a::before { content: counter(toc, decimal-leading-zero); flex: none; padding-top: 1px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); }
.legal__toc a:hover { color: var(--navy); opacity: 1; }
.legal__toc a.is-active { color: var(--navy); font-weight: 700; border-left-color: var(--red); }

.legal__body { min-width: 0; max-width: 840px; }
.legal__section + .legal__section { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line); }
.legal__h2 { margin: 0; display: flex; align-items: baseline; gap: 14px; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.25; color: var(--navy); text-wrap: balance; }
.legal__num { flex: none; font-size: 14px; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--red-text); }
.legal__text { margin-top: 18px; font-size: 16px; line-height: 1.75; color: var(--text-2); }
.legal__text :where(p, ul, ol, h3, dl, div) { margin: 0; }
.legal__text > * + * { margin-top: 1em; }
.legal__text > h3 { margin-top: 1.7em; font-size: 17px; line-height: 1.4; color: var(--navy); }
.legal__text > h3:first-child { margin-top: 0; }
.legal__text ul { padding-left: 20px; }
.legal__text li + li { margin-top: .4em; }
.legal__text a:not(.btn) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__text strong { color: var(--text); }
.legal__text code { font-family: Consolas, "Courier New", monospace; font-size: .92em; padding: 1px 6px; border-radius: 5px; background: var(--paper); color: var(--text); }

.legal-id { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.legal-id > div { min-width: 0; margin: -1px 0 0 -1px; padding: 16px 18px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.legal-id dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal-id dd { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--text); overflow-wrap: anywhere; }

.legal-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.legal-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.legal-table thead th { padding: 12px 16px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: left; color: var(--muted); background: var(--paper); border-bottom: 1px solid var(--line); }
.legal-table tbody th, .legal-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table tbody th { width: 34%; font-weight: 700; color: var(--text); }
.legal-table td { color: var(--text-2); }
.legal-table tbody tr:last-child > * { border-bottom: 0; }
.legal-table .muted { font-weight: 400; font-size: 13.5px; }

.legal__text .legal-rights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.legal__text .legal-rights li { margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.legal-rights strong { display: block; color: var(--navy); }
.legal-rights span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.legal-contact { padding: 22px 24px; border-radius: var(--radius); background: var(--navy); color: var(--on-dark); }
.legal-contact__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ice); }
.legal-contact p + p { margin-top: 6px; }
.legal__text .legal-contact a { color: #fff; }
.legal-actions .btn { cursor: pointer; }

@media (max-width: 960px) {
	.legal { grid-template-columns: minmax(0, 1fr); }
	.legal__toc { position: static; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); }
	.legal__toc ol { columns: 2 220px; column-gap: 24px; }
	.legal__toc li { break-inside: avoid; }
}
@media (max-width: 600px) {
	.legal-id, .legal__text .legal-rights { grid-template-columns: minmax(0, 1fr); }
	.legal-table { overflow: visible; border: 0; border-radius: 0; }
	.legal-table table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: auto; min-width: 0; }
	.legal-table thead { display: none; }
	.legal-table tbody { display: grid; gap: 12px; }
	.legal-table tr { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
	.legal-table tbody th { width: auto; padding: 12px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
	.legal-table td { padding: 10px 16px; border-bottom: 0; }
	.legal-table td + td { border-top: 1px solid var(--line); }
	.legal-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
	.legal-table tbody tr:last-child > th { border-bottom: 1px solid var(--line); }
	.legal-switch { display: flex; border-radius: 14px; }
	.legal-switch a { flex: 1 1 auto; text-align: center; border-radius: 10px; }
	.legal__h2 { gap: 10px; }
}
@media print {
	.legal__toc, .legal-switch, .legal-actions { display: none; }
	.legal { display: block; }
}

/* Témoignages empilés (mobile, tablette) : même taille de texte et hauteur ajustée au contenu. */
@media (max-width: 960px) {
	.quote.quote--big { padding: 28px; }
	.quote.quote--big blockquote p, .quote blockquote p { font-size: 17px; line-height: 1.65; }
	.quote__mark { width: 34px; height: 26px; margin-bottom: 4px; }
	.quotes__col .quote { flex: 0 0 auto; }
}
