/* =====================================================================
   Alpes Assainissement — feuille de style du site public
   ===================================================================== */

/* Polices préchargées dans <head> + « optional » : le texte ne change jamais de police après l'affichage.
   « Poppins Fallback » imite les dimensions de Poppins si la police n'est pas encore là (aucun décalage). */
@font-face { font-family: "Poppins Fallback"; src: local("Arial"); ascent-override: 92.33%; descent-override: 30.78%; line-gap-override: 8.79%; size-adjust: 113.73%; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: optional; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: optional; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: optional; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: optional; src: url("../fonts/poppins-700.woff2") format("woff2"); }

:root {
    --blue: #3c70b0;
    --blue-600: #2f5d97;
    --blue-700: #234a7a;
    --blue-50: #eef4fb;
    --blue-100: #dce8f6;
    --navy: #0e2a47;
    --navy-900: #0a1f36;
    --ink: #142233;
    --text: #44546a;
    --muted: #6b7a8f;
    --line: #e2e9f1;
    --soft: #f4f7fb;
    --white: #fff;
    --amber: #f5a524;
    --green: #22c55e;
    --red: #d92d20;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(14, 42, 71, .06), 0 2px 8px rgba(14, 42, 71, .05);
    --shadow: 0 12px 32px rgba(14, 42, 71, .10);
    --shadow-lg: 0 24px 60px rgba(14, 42, 71, .16);
    --container: 1200px;
    --header-h: 84px;
    --font: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --- Base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { overflow-x: clip; margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, picture, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3, .h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue-100); color: var(--ink); }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.center { text-align: center; }
.container { width: 100%; max-width: calc(var(--container) + 40px); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; }
.cover { width: 100%; height: 100%; object-fit: cover; }
.rounded { border-radius: var(--radius); }

/* --- Boutons ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.4em; border: 2px solid transparent; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; line-height: 1.2; text-align: center; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(60, 112, 176, .3); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-50); color: var(--navy); }
.btn-light { background: var(--blue-50); color: var(--blue-700); }
.btn-light:hover { background: var(--blue-100); color: var(--blue-700); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .14); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row-center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: .95rem; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* --- Barre supérieure --------------------------------------------------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .82); font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.topbar-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.topbar-links a { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.topbar-links a:hover { color: #fff; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* --- En-tête -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(14, 42, 71, .08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { flex-shrink: 0; }
.brand img { width: auto; height: 46px; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .96rem; transition: color .2s, background .2s; }
.nav-list > li > a:hover, .nav-list > li.is-active > a { color: var(--blue); }
.nav-list > li.is-active > a { background: var(--blue-50); }
/* « Services ⌄ » : lien + flèche forment une seule pastille */
.nav-list > li.has-dropdown { border-radius: 8px; transition: background .2s; }
.nav-list > li.has-dropdown > a { padding-right: 2px; border-radius: 8px 0 0 8px; }
.nav-list > li.has-dropdown.is-active { background: var(--blue-50); }
.nav-list > li.has-dropdown.is-active > a { background: none; }
.dropdown-toggle { display: inline-flex; align-items: center; align-self: stretch; padding: 0 12px 0 4px; border: 0; border-radius: 0 8px 8px 0; background: none; color: var(--ink); transition: color .2s; }
.dropdown-toggle .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.has-dropdown:hover > a, .has-dropdown:hover .dropdown-toggle, .has-dropdown.is-active .dropdown-toggle { color: var(--blue); }
.has-dropdown:hover .dropdown-toggle .icon, .has-dropdown:focus-within .dropdown-toggle .icon { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px; padding: 10px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .93rem; }
.dropdown a:hover, .dropdown a[aria-current] { background: var(--blue-50); color: var(--blue); }
.dropdown img { width: 28px; height: 28px; object-fit: contain; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }
.header-cta { padding: .6em 1.1em; }
.header-cta span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.header-cta small { font-size: .7rem; font-weight: 500; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.nav-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-mobile-extra { display: none; }

/* --- Hero ------------------------------------------------------------------ */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(560px, 80vh, 760px); color: #fff; background: var(--navy); isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(10, 31, 54, .94) 0%, rgba(10, 31, 54, .80) 42%, rgba(10, 31, 54, .30) 75%, rgba(10, 31, 54, .15) 100%); }
.hero-inner { padding-top: 96px; padding-bottom: 140px; }
.hero h1 { max-width: 720px; color: #fff; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .85rem; font-weight: 500; backdrop-filter: blur(6px); }
.hero-kicker .icon { color: var(--amber); }
.hero-text { max-width: 600px; margin-bottom: 32px; font-size: 1.1rem; color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; list-style: none; font-size: .92rem; color: rgba(255, 255, 255, .9); }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges .icon { color: var(--green); }

/* --- Chiffres clés ----------------------------------------------------------- */
.stats-strip { position: relative; z-index: 2; margin-top: -70px; }
.stats-strip-flat { margin: 0; padding: 0 0 24px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 28px 18px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { color: var(--blue); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; font-weight: 500; }

/* --- Sections ---------------------------------------------------------------- */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }
.section-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; text-align: left; }
.section-head-split h2 { margin-bottom: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--blue); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.kicker-light { color: #8fb6e6; }
.lead { font-size: 1.08rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.media-badge { position: absolute; right: -18px; bottom: -22px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 150px; padding: 20px 24px; border-radius: 18px; background: var(--blue); color: #fff; box-shadow: var(--shadow-lg); text-align: center; }
.media-badge strong { font-size: 2.1rem; line-height: 1; }
.media-badge span { margin-top: 6px; font-size: .85rem; opacity: .9; }
.check-list { display: grid; gap: 14px; margin: 26px 0 32px; list-style: none; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .icon { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--blue-50); color: var(--blue); margin-top: 1px; }

/* --- Services ------------------------------------------------------------------ */
/* Flex plutôt que grid : la dernière ligne incomplète reste centrée (5 services). */
.service-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.service-grid > * { flex: 0 1 calc((100% - 56px) / 3); }
.service-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-50); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 46px 28px 28px; }
.service-icon { position: absolute; top: -34px; left: 24px; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.service-icon img { width: 44px; height: 44px; object-fit: contain; }
.service-card h3 { margin-bottom: 10px; }
.service-card h3 a { color: var(--ink); }
.service-card h3 a:hover { color: var(--blue); }
.service-card p { flex: 1; color: var(--muted); font-size: .95rem; }

/* --- Onglets -------------------------------------------------------------------- */
.tabs { margin-top: 26px; }
.tab-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 14px; background: var(--soft); }
.tab-list button { flex: 1; padding: 11px 16px; border: 0; border-radius: 10px; background: none; color: var(--text); font-weight: 600; font-size: .92rem; white-space: nowrap; transition: background .2s, color .2s; }
.tab-list button[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.tab-panel { padding: 24px 4px 0; }
.tab-panel h3 { margin-bottom: 8px; }

/* --- Atouts ---------------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { padding: 30px 26px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: rgba(255, 255, 255, .04); transition: background .25s, transform .25s var(--ease); }
.feature:hover { background: rgba(255, 255, 255, .08); transform: translateY(-4px); }
.feature h3 { margin: 18px 0 8px; font-size: 1.1rem; }
.feature p { margin: 0; font-size: .94rem; }
.feature-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--blue); color: #fff; }
.feature-icon .icon { width: 26px; height: 26px; }
.feature-grid-light .feature { border-color: var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.feature-grid-light .feature p { color: var(--muted); }

/* --- Avis ------------------------------------------------------------------------- */
.rating-summary { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: .92rem; white-space: nowrap; }
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars .icon { width: 18px; height: 18px; }
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; padding: 6px 2px 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.testimonial-card { display: flex; flex-direction: column; margin: 0; padding: 30px 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); scroll-snap-align: start; }
.testimonial-card blockquote { flex: 1; margin: 16px 0 22px; color: var(--ink); font-size: .98rem; }
.testimonial-card blockquote p { margin: 0; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial-card figcaption strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.testimonial-card figcaption small { color: var(--muted); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); font-weight: 600; font-size: .9rem; }
.carousel-controls { display: flex; justify-content: center; gap: 10px; margin-bottom: 26px; }
.carousel-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); transition: background .2s, color .2s; }
.carousel-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.carousel-btn:disabled { opacity: .4; cursor: default; background: #fff; color: var(--ink); }

/* --- Bandeau CTA ------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; padding: 64px 0; background: linear-gradient(120deg, var(--blue) 0%, var(--blue-700) 100%); color: rgba(255, 255, 255, .88); }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -220px; }
.cta-band::after { width: 260px; height: 260px; left: -90px; bottom: -160px; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-text h2 { margin-bottom: 6px; color: #fff; }
.cta-text p { margin: 0; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* --- Bannière des pages ------------------------------------------------------------- */
.page-hero { position: relative; padding: 78px 0 70px; background: var(--navy); color: #fff; isolation: isolate; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg picture, .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 31, 54, .95) 0%, rgba(10, 31, 54, .82) 55%, rgba(10, 31, 54, .6) 100%); }
.page-hero h1 { margin: 0; color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.page-hero-lead { max-width: 640px; margin: 14px 0 0; color: rgba(255, 255, 255, .82); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; list-style: none; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: rgba(255, 255, 255, .85); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: #fff; font-weight: 500; }

/* --- Contenu éditorial ----------------------------------------------------------------- */
.prose { color: var(--text); }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin: 1.6em 0 .6em; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.prose h3 { margin: 1.4em 0 .5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--blue); }
.prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; background: var(--soft); color: var(--ink); }
.prose img { border-radius: 12px; margin: 1.5em 0; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose-legal h2 { font-size: 1.25rem; }

/* --- Page service ------------------------------------------------------------------------ */
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 56px; }
.service-figure { margin: 0 0 36px; }
.service-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; }
.service-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 40px 0 56px; }
.service-feature { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.service-feature h3 { margin-bottom: 6px; font-size: 1.05rem; }
.service-feature p { margin: 0; font-size: .93rem; color: var(--muted); }
.service-feature .feature-icon { width: 46px; height: 46px; border-radius: 12px; }
.service-feature .feature-icon .icon { width: 22px; height: 22px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 56px; }
.gallery-link { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--blue-50); }
.gallery-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-link:hover img { transform: scale(1.07); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; color: var(--ink); font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--blue); transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq-answer { padding: 0 0 18px; }
.faq-answer p:last-child { margin: 0; }
.service-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.aside-card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.aside-title { margin-bottom: 14px; font-size: 1.1rem; }
.aside-services { display: grid; gap: 4px; list-style: none; }
.aside-services a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.aside-services a:hover { background: var(--soft); color: var(--blue); }
.aside-services a.is-active { background: var(--blue); color: #fff; }
.aside-services .icon { width: 16px; height: 16px; opacity: .6; }
.aside-urgent { display: grid; gap: 12px; border: 0; background: linear-gradient(150deg, var(--navy) 0%, var(--blue-700) 100%); color: rgba(255, 255, 255, .82); }
.aside-urgent .aside-title { margin: 0; color: #fff; }
.aside-urgent p { margin: 0 0 6px; font-size: .93rem; }
.aside-urgent-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff; }
.aside-urgent-icon .icon { width: 24px; height: 24px; }

/* --- Contact ----------------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); align-items: start; gap: 40px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.contact-card h3 { margin-bottom: 4px; font-size: 1rem; }
.contact-card p { margin: 0 0 4px; }
.contact-card-urgent { border-color: var(--blue-100); background: var(--blue-50); }
.contact-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: var(--blue); color: #fff; }
.form-card { padding: 38px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.form-card > h3 { font-size: 1.35rem; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { color: var(--ink); font-size: .9rem; font-weight: 500; }
.form-field label span { color: var(--red); }
input, select, textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: .97rem; transition: border-color .2s, box-shadow .2s; }
select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a8f' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
textarea { resize: vertical; min-height: 140px; }

/* Liste déroulante moderne (assets/js/select.js) */
.select { position: relative; }
.select-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.select-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: .97rem; line-height: 1.5; text-align: left; transition: border-color .2s, box-shadow .2s; }
.select-button:hover { border-color: #c3d3e6; }
.select-button:focus-visible, .select.is-open .select-button { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(60, 112, 176, .15); }
.select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select.is-placeholder .select-value { color: var(--muted); }
.select-arrow { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.select.is-open .select-arrow { transform: rotate(180deg); color: var(--blue); }
.select-list { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30; max-height: 320px; margin: 0; padding: 6px; overflow-y: auto; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top center; transition: opacity .18s ease, transform .25s var(--ease); scrollbar-width: thin; }
.select-list:focus { outline: 0; }
.select.drop-up .select-list { top: auto; bottom: calc(100% + 8px); transform: translateY(8px) scale(.98); transform-origin: bottom center; }
.select.is-open .select-list { opacity: 1; transform: none; }
.select-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--ink); font-size: .95rem; cursor: pointer; transition: background .15s, color .15s; }
.select-option + .select-option { margin-top: 2px; }
.select-option.is-placeholder { color: var(--muted); font-size: .9rem; }
.select-option.is-active { background: var(--blue-50); color: var(--blue-700); }
.select-option[aria-selected="true"] { color: var(--blue); font-weight: 600; }
.select-option[aria-selected="true"]::after { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; }
.select-option[aria-disabled="true"] { opacity: .45; cursor: default; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(60, 112, 176, .15); }
[aria-invalid="true"] { border-color: var(--red); }
.field-error { margin: 0; color: var(--red); font-size: .85rem; }
.form-note { margin: 16px 0 22px; color: var(--muted); font-size: .85rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
.alert { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; padding: 14px 18px; border: 1px solid; border-radius: 12px; font-size: .95rem; }
.alert p { margin: 0; }
.alert .icon { margin-top: 3px; }
.alert-success { background: #ecfdf3; border-color: #abefc6; color: #067647; }
.alert-error { background: #fef3f2; border-color: #fecdca; color: #b42318; }
.map-section iframe { width: 100%; height: 440px; border: 0; filter: saturate(.85); }

/* --- Erreur ------------------------------------------------------------------------------ */
.error-code { margin: 0; color: var(--blue-100); font-size: clamp(6rem, 18vw, 10rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; }

/* --- Pied de page ------------------------------------------------------------------------ */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding-top: 76px; padding-bottom: 56px; }
.footer-logo img { width: auto; height: 50px; margin-bottom: 22px; }
.footer-title { margin-bottom: 6px; color: #fff; font-weight: 600; }
.footer-heading { margin-bottom: 18px; color: #fff; font-size: 1.02rem; font-weight: 600; letter-spacing: 0; }
.footer-col ul { display: grid; gap: 10px; list-style: none; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; color: #8fb6e6; }
.socials { display: flex; gap: 10px; margin-top: 18px; list-style: none; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .2s; }
.socials a:hover { background: var(--blue); }
.footer-bottom { position: relative; background: linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .28)); font-size: .85rem; overflow: hidden; }
/* Fine ligne lumineuse animée en haut de la barre */
.footer-bottom::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(143, 182, 230, .15) 20%, rgba(143, 182, 230, .9) 50%, rgba(143, 182, 230, .15) 80%, transparent 100%); background-size: 200% 100%; animation: footer-shine 8s linear infinite; }
@keyframes footer-shine { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.footer-bottom p { margin: 0; }
.footer-bottom-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px 32px; padding-top: 26px; padding-bottom: 26px; }
.footer-legal-id { display: flex; align-items: center; gap: 14px; }
.footer-legal-id img { width: 44px; height: 44px; flex-shrink: 0; padding: 2px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); transition: transform .6s var(--ease); }
.footer-legal-id:hover img { transform: rotate(-12deg) scale(1.05); }
.footer-legal-id strong { display: block; color: #fff; font-weight: 600; font-size: .9rem; line-height: 1.35; }
.footer-legal-id span { display: block; color: rgba(255, 255, 255, .55); font-size: .8rem; }
.footer-legal-center { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; list-style: none; }
.footer-legal-links a { position: relative; display: inline-block; padding: 6px 14px; border-radius: 999px; color: rgba(255, 255, 255, .78); transition: background .25s, color .25s; }
.footer-legal-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px; background: #8fb6e6; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.footer-legal-links a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.footer-legal-links a:hover::after { transform: scaleX(1); }
.footer-meta { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
/* « Conçu avec ♥ par … » */
.footer-credit { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .72); font-size: .8rem; white-space: nowrap; transition: border-color .3s, background .3s; }
.footer-credit:hover { border-color: rgba(239, 68, 68, .45); background: rgba(239, 68, 68, .08); }
.footer-credit .heart { width: 15px; height: 15px; color: #ef4444; filter: drop-shadow(0 0 6px rgba(239, 68, 68, .55)); animation: heartbeat 1.6s ease-in-out infinite; }
.footer-credit:hover .heart { animation-duration: .8s; }
.site-footer .footer-credit a, .footer-credit strong { color: #fff; font-weight: 600; }
.site-footer .footer-credit a { background: linear-gradient(90deg, #8fb6e6, #fff) no-repeat 0 100% / 0 1px; padding-bottom: 1px; transition: background-size .35s var(--ease); }
.site-footer .footer-credit a:hover { background-size: 100% 1px; color: #fff; }
@keyframes heartbeat { 0%, 40%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(.95); } }
.site-footer .to-top { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(60, 112, 176, .4); transition: transform .3s var(--ease), background .25s, box-shadow .3s; }
.site-footer .to-top:hover { transform: translateY(-4px); background: #4a82c6; color: #fff; box-shadow: 0 14px 28px rgba(60, 112, 176, .5); }
.to-top .icon { width: 20px; height: 20px; }
.site-footer .to-top:hover .icon { animation: to-top-bounce .6s var(--ease); }
@keyframes to-top-bounce { 40% { transform: translateY(-4px); } }

/* --- Barre mobile ------------------------------------------------------------------------ */
.mobile-bar { display: none; }

/* --- Visionneuse ------------------------------------------------------------------------- */
.lightbox { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(6, 18, 32, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(6, 18, 32, .94); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* =========================================================================================
   Responsive
   ========================================================================================= */
@media (max-width: 1100px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .service-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
    :root { --header-h: 72px; }
    .brand img { height: 40px; }
    /* backdrop-filter créerait un bloc conteneur pour le menu en position fixe */
    .site-header { backdrop-filter: none; background: #fff; }
    .nav-open { overflow: hidden; }
    .nav-open .site-header { z-index: 70; }
    .nav-toggle { display: inline-flex; }
    .header-inner { gap: 12px; }
    .header-cta { margin-left: auto; }
    .main-nav { position: fixed; inset: 0 0 0 auto; z-index: 60; display: flex; flex-direction: column; width: min(380px, 88vw); margin: 0; padding: 92px 22px 28px; overflow-y: auto; background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; }
    .nav-open .main-nav { transform: none; visibility: visible; }
    .nav-open::after { content: ""; position: fixed; inset: 0; z-index: 55; background: rgba(10, 31, 54, .5); }
    .nav-open .nav-toggle { position: relative; z-index: 70; }
    .nav-open .nav-toggle .icon-open { display: none; }
    .nav-open .nav-toggle .icon-close { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-list > li { flex-wrap: wrap; }
    .nav-list > li > a { flex: 1; padding: 14px 12px; font-size: 1.05rem; }
    .dropdown-toggle { margin: 0; padding: 12px; border-radius: 8px; }
    .nav-list > li.has-dropdown.is-active { background: none; }
    .nav-list > li.has-dropdown > a { padding-right: 12px; }
    .nav-list > li.has-dropdown.is-active > a { background: var(--blue-50); border-radius: 8px; }
    .has-dropdown:hover .dropdown-toggle .icon, .has-dropdown:focus-within .dropdown-toggle .icon { transform: none; }
    .has-dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }
    /* Sous-menu mobile : ouverture en douceur (visibility évite le focus sur les liens cachés) */
    .dropdown { position: static; width: 100%; min-width: 0; max-height: 0; padding: 0 0 0 8px; overflow: hidden; border: 0; box-shadow: none; opacity: 1; visibility: hidden; transform: none; transition: max-height .4s var(--ease), padding .4s var(--ease), visibility 0s .4s; }
    .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { visibility: hidden; }
    .has-dropdown.is-open .dropdown { max-height: 480px; padding: 4px 0 8px 8px; visibility: visible; transition: max-height .4s var(--ease), padding .4s var(--ease), visibility 0s; }
    .nav-open .nav-list > li { animation: nav-item-in .45s var(--ease) both; }
    .nav-open .nav-list > li:nth-child(2) { animation-delay: .05s; }
    .nav-open .nav-list > li:nth-child(3) { animation-delay: .1s; }
    .nav-open .nav-list > li:nth-child(4) { animation-delay: .15s; }
    .nav-open .nav-list > li:nth-child(5) { animation-delay: .2s; }
    .footer-bottom-inner { grid-template-columns: 1fr auto; }
    .footer-legal-center { grid-column: 1 / -1; grid-row: 2; }
    .nav-mobile-extra { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
    .split { grid-template-columns: 1fr; gap: 56px; }
    .split-media { max-width: 640px; }
    .service-grid > * { flex-basis: calc((100% - 28px) / 2); }
    .carousel-track { grid-auto-columns: calc((100% - 24px) / 2); }
    .service-layout { grid-template-columns: 1fr; }
    .service-aside { position: static; grid-template-columns: 1fr 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
    body { font-size: 15.5px; padding-bottom: calc(60px + env(safe-area-inset-bottom)); background: var(--navy-900); }
    main { background: var(--white); }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 36px; }
    .section-head-split { flex-direction: column; align-items: flex-start; }
    .hide-sm { display: none; }
    .topbar-inner { justify-content: center; }
    .topbar-links { display: none; }
    .header-cta span { display: none; }
    .header-cta { padding: 0; width: 46px; height: 46px; border-radius: 12px; }
    .hero { min-height: 0; }
    .hero-inner { padding-top: 64px; padding-bottom: 110px; }
    .hero::before { background: linear-gradient(180deg, rgba(10, 31, 54, .86) 0%, rgba(10, 31, 54, .78) 100%); }
    .hero-actions .btn { width: 100%; }
    .stats-strip { margin-top: -56px; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat { padding: 20px 12px; }
    .stat:nth-child(odd) { border-left: 0; }
    .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .media-badge { right: 12px; bottom: -18px; min-width: 120px; padding: 14px 18px; }
    .media-badge strong { font-size: 1.6rem; }
    .feature-grid, .contact-cards, .service-aside { grid-template-columns: 1fr; }
    .service-grid > * { flex-basis: 100%; }
    .carousel-track { grid-auto-columns: 88%; }
    .tab-list button { flex: 1 1 auto; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .form-card { padding: 24px 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
    .footer-bottom-inner { grid-template-columns: 1fr; justify-items: center; gap: 18px; padding-top: 28px; padding-bottom: 28px; text-align: center; }
    .footer-legal-id { flex-direction: column; gap: 10px; }
    .footer-legal-links { gap: 2px; }
    .footer-legal-links a { padding: 6px 9px; font-size: .82rem; }
    .footer-legal-links a::after { left: 9px; right: 9px; }
    .footer-meta { justify-content: center; }
    .page-hero { padding: 52px 0 46px; }
    .map-section iframe { height: 320px; }
    .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px rgba(14, 42, 71, .12); }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; color: #fff; font-weight: 600; }
    .mobile-bar-call { background: var(--blue); }
    .mobile-bar-quote { background: var(--navy); }
}

@media (max-width: 440px) {
    .hide-xs { display: none; }
}

/* =========================================================================================
   Animations — désactivées si l'utilisateur préfère réduire les mouvements
   ========================================================================================= */
/* Transition fluide entre les pages (navigateurs compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }

.stat strong { font-variant-numeric: tabular-nums; }
.service-icon, .feature-icon { transition: transform .45s var(--ease); }
.service-card:hover .service-icon { transform: translateY(-5px) rotate(-6deg); }
.feature:hover .feature-icon, .service-feature:hover .feature-icon { transform: scale(1.08) rotate(-6deg); }
.contact-card, .service-feature, .aside-card { transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.contact-card:hover, .service-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }

@media (prefers-reduced-motion: no-preference) {
    /* Apparition au défilement (classes ajoutées par site.js uniquement hors écran) */
    .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0s); }
    .reveal-left { transform: translateX(-40px); }
    .reveal-right { transform: translateX(40px); }
    .reveal-zoom { transform: scale(.94); }
    .reveal-fade { transform: none; }
    .reveal.is-visible { opacity: 1; transform: none; }
    @media (max-width: 1023px) {
        .reveal-left, .reveal-right { transform: translateY(30px); }
    }

    /* Entrée des bannières */
    .hero-media img { animation: hero-zoom 2.6s var(--ease) both; }
    .hero-inner > * { animation: fade-up .9s var(--ease) both; }
    .hero-inner > :nth-child(2) { animation-delay: .1s; }
    .hero-inner > :nth-child(3) { animation-delay: .2s; }
    .hero-inner > :nth-child(4) { animation-delay: .3s; }
    .hero-inner > :nth-child(5) { animation-delay: .4s; }
    .page-hero-bg img { animation: hero-zoom 2.2s var(--ease) both; }
    .page-hero-inner > * { animation: fade-up .7s var(--ease) both; }
    .page-hero-inner > :nth-child(2) { animation-delay: .08s; }
    .page-hero-inner > :nth-child(3) { animation-delay: .16s; }

    .tab-panel:not([hidden]) { animation: fade-up .45s var(--ease) both; }
    .lightbox[open] { animation: fade-in .25s ease both; }
    .lightbox[open] img { animation: zoom-in .4s var(--ease) both; }
    .media-badge { animation: float 6s ease-in-out infinite; }
    .alert { animation: fade-up .5s var(--ease) both; }

    /* Barre du bas : légère entrée en cascade au chargement (toujours visible, même en bas de page) */
    .footer-bottom-inner > * { animation: fade-up .8s var(--ease) both; }
    .footer-bottom-inner > :nth-child(2) { animation-delay: .1s; }
    .footer-bottom-inner > :nth-child(3) { animation-delay: .2s; }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.94); } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes nav-item-in { from { opacity: 0; transform: translateX(24px); } }

/* FAQ : ouverture et fermeture fluides (navigateurs récents ; sinon ouverture instantanée) */
@supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
    .faq details[open]::details-content { block-size: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
    .topbar, .site-header, .mobile-bar, .cta-band, .site-footer, .map-section { display: none; }
    .page-hero { padding: 0; background: none; color: #000; }
    .page-hero h1 { color: #000; }
}
.select-option.is-placeholder[aria-selected="true"] { color: var(--muted); font-weight: 400; }
.select-option.is-placeholder[aria-selected="true"]::after { content: none; }
