/* =========================================================================
   FSD Plomberie — styles du thème
   ========================================================================= */

@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
	--teal: #1B4F63;
	--navy: #12203A;
	--navy-deep: #0C1628;
	--ink: #12203A;
	--muted: #3B4A5E;
	--muted-2: #5A6778;
	--cream: #F6F4EF;
	--line: #E4E0D6;
	--white: #FFFFFF;
	--ice: #7FD3F5;
	--ice-2: #2B8FC4;
	--peach: #FFB08A;
	--flame: #C93A17;
	--sun: #F5A623;
	--rust: #9A4A12;
	--ok: #1E7A46;
	--radius: 20px;
	--wrap: 1240px;
	--gutter: 20px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-h: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; overflow-x: hidden; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { text-wrap: balance; color: inherit; }
p, li { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ice-2); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.fsd-h { font-family: var(--font-h); letter-spacing: -.02em; }
.fsd-skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; }
.fsd-skip:focus { left: 0; }
.fsd-wrap { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 72px; }
.fsd-narrow { max-width: 860px; }
.fsd-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fsd-small { font-size: 14px; color: var(--muted-2); }
.fsd-link { font-weight: 600; }
.fsd-tag { font-size: 13px; font-weight: 600; color: var(--rust); }

/* ---------- Boutons ---------- */
.fsd-btn, .fsd-btn-line, .fsd-btn-ghost {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 22px; border-radius: 999px;
	font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center; text-decoration: none;
	cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.fsd-btn { position: relative; overflow: hidden; background: var(--flame); color: #fff; border: 0; }
.fsd-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,58,23,.35); }
.fsd-btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: fsd-shine 3.2s ease-in-out infinite; pointer-events: none; }
.fsd-btn-line { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.fsd-btn-line:hover { background: var(--teal); color: #fff; }
.fsd-btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.fsd-btn-ghost:hover { color: #fff; background: rgba(255,255,255,.1); }
.fsd-btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.fsd-btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; align-self: flex-start; }
.fsd-btn-block { display: flex; width: 100%; }
.fsd-icon-btn { width: 48px; height: 48px; border-radius: 14px; border: 2px solid var(--teal); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; }
@keyframes fsd-shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* ---------- En-tête ---------- */
.fsd-header { position: sticky; top: 0; z-index: 50; background: rgba(246,244,239,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .fsd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fsd-header { top: 0; } }
.fsd-header-in { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 16px; }
.fsd-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.fsd-brand:hover { color: var(--ink); }
.fsd-logo-img { display: block; width: auto; height: 54px; max-width: 160px; object-fit: contain; }
.fsd-intro-logo img { display: block; width: 150px; height: 150px; animation: fsd-floaty 2.4s ease-in-out infinite; }
.fsd-logo-mark { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.fsd-brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.fsd-brand-name { font-family: var(--font-h); font-weight: 800; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.fsd-brand-sub { font-size: 12px; color: #4A5568; white-space: nowrap; }
.fsd-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.fsd-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.fsd-menu a { display: block; padding: 10px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.fsd-menu a:hover { background: #ECE8DF; }
.fsd-menu .current-menu-item > a, .fsd-menu .current_page_item > a { color: var(--flame); font-weight: 700; background: #FBE9E3; }
.fsd-header-cta { display: flex; gap: 10px; flex: 0 0 auto; margin-left: auto; align-items: center; }
.fsd-header-cta .fsd-btn-line, .fsd-header-cta .fsd-btn { min-height: 44px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
.fsd-burger { width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.fsd-burger .fsd-burger-open { display: inline-flex; }
.fsd-burger .fsd-burger-close { display: none; }
.fsd-burger[aria-expanded="true"] .fsd-burger-open { display: none; }
.fsd-burger[aria-expanded="true"] .fsd-burger-close { display: inline-flex; }
.fsd-mobile-menu { border-top: 1px solid var(--line); padding: 6px var(--gutter) 20px; max-height: calc(100vh - 80px); overflow-y: auto; }
.fsd-mobile-menu ul, .fsd-mobile-menu .fsd-menu { display: block; list-style: none; margin: 0 0 14px; padding: 0; }
.fsd-mobile-menu .fsd-menu a { padding: 0 4px; border-radius: 0; background: none; white-space: normal; }
.fsd-mobile-menu a:not(.fsd-btn) { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 0 4px; border-bottom: 1px solid #ECE8DF; color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 600; }
.fsd-mobile-menu a:not(.fsd-btn)::after { content: "→"; color: var(--muted-2); }
.fsd-mobile-menu .current-menu-item > a, .fsd-mobile-menu .current_page_item > a { color: var(--flame); }
.fsd-show-s { display: none; }
.fsd-header-in { max-width: 1440px; }
@media (max-width: 1700px) {
	/* Le bouton téléphone devient une icône pour laisser la place au menu. */
	.fsd-header-cta .fsd-btn-line { width: 44px; padding: 0; }
	.fsd-header-cta .fsd-btn-line span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.fsd-brand-sub { display: none; }
}
@media (max-width: 1500px) {
	.fsd-menu a { padding: 10px 8px; font-size: 14.5px; }
	.fsd-header-in { gap: 12px; }
}
@media (max-width: 1360px) {
	.fsd-nav, .fsd-hide-s { display: none !important; }
	.fsd-show-s { display: inline-flex; }
}
@media (max-width: 380px) { .fsd-brand-sub { display: none; } .fsd-brand-name { font-size: 18px; } }

/* ---------- Intro (page d'accueil, une fois par visite) ---------- */
.fsd-intro { position: fixed; inset: 0; z-index: 300; pointer-events: none; transform: translateY(-115%); visibility: hidden; }
.fsd-intro-run .fsd-intro { animation: fsd-intro-out 1.5s cubic-bezier(.7,0,.2,1) .35s both; }
.fsd-intro-bg { position: absolute; inset: 0; background: var(--navy); }
.fsd-intro-wave { position: absolute; left: -5%; width: 110%; max-width: none; top: -140px; height: 150px; }
.fsd-intro-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
@keyframes fsd-intro-out { 0% { transform: none; visibility: visible; } 99% { visibility: visible; } 100% { transform: translateY(-115%); visibility: hidden; } }
html:not(.fsd-intro-run) .fsd-w, html:not(.fsd-intro-run) .fsd-fade { animation-delay: 0s !important; }

/* ---------- Apparitions ---------- */
.fsd-w { display: inline-block; animation: fsd-wup .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes fsd-wup { from { opacity: 0; transform: translateY(.6em) rotate(2deg); } to { opacity: 1; transform: none; } }
.fsd-fade { animation: fsd-fadeup .8s ease both; }
@keyframes fsd-fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fsd-js .fsd-reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.fsd-js .fsd-reveal.is-in { opacity: 1; transform: none; }
.fsd-shimmer { background: linear-gradient(90deg, #7FD3F5 0%, #FFFFFF 40%, #FFB08A 60%, #7FD3F5 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fsd-wup .8s cubic-bezier(.2,.8,.2,1) both, fsd-shim 5s linear infinite; }
@keyframes fsd-shim { to { background-position: -250% 0; } }
.fsd-accent-warm { color: var(--peach); }
.fsd-pulse { animation: fsd-pulse 2s ease-out infinite; }
@keyframes fsd-pulse { 0% { box-shadow: 0 0 0 0 rgba(201,58,23,.55); } 100% { box-shadow: 0 0 0 18px rgba(201,58,23,0); } }
.fsd-card { transition: transform .25s ease, box-shadow .25s ease; }
.fsd-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(18,32,58,.13); }
.fsd-js .fsd-reveal.fsd-card.is-in:hover { transform: translateY(-5px); }

/* ---------- Vagues ---------- */
/* La vague fait deux fois la largeur de l'écran et glisse en boucle :
   elle ne doit pas être limitée à 100 % par la règle générale des images. */
.fsd-wave { position: absolute; left: 0; bottom: -2px; width: 200%; max-width: none; height: 90px; pointer-events: none; }
.fsd-wave1 { animation: fsd-wavex 9s linear infinite; }
@keyframes fsd-wavex { to { transform: translateX(-50%); } }

/* ---------- Hero de la page d'accueil ---------- */
.fsd-hero { position: relative; overflow: hidden; background: var(--teal); color: #fff; }
.fsd-water { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fsd-spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(127,211,245,.2), transparent 60%); }
.fsd-bubbles { position: absolute; inset: 0; pointer-events: none; }
.fsd-bubbles span { position: absolute; bottom: -30px; border-radius: 50%; border: 2px solid rgba(127,211,245,.5); background: rgba(127,211,245,.07); animation: fsd-rise linear infinite; }
@keyframes fsd-rise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translateY(-45vh) translateX(18px); } 100% { transform: translateY(-95vh) translateX(-10px); opacity: 0; } }
.fsd-hero-in { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) 150px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.fsd-hero-txt { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.fsd-badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 14px; font-weight: 500; }
.fsd-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); flex: 0 0 auto; }
.fsd-hero-title { margin: 0; font-size: clamp(38px, 5.6vw, 76px); line-height: 1.03; font-weight: 800; letter-spacing: -.025em; }
.fsd-hero-lead { margin: 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; max-width: 580px; color: #DCE8EE; }
.fsd-quick { display: flex; flex-direction: column; gap: 10px; }
.fsd-quick-label { font-size: 14px; font-weight: 600; color: #BFE6F7; }
.fsd-quick-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; font-weight: 600; }
.fsd-quick-btn:hover { color: #fff; background: rgba(255,255,255,.16); }
.fsd-quick-btn span { width: 10px; height: 10px; border-radius: 3px; }
.fsd-reassure { margin: -8px 0 0; font-size: 14px; color: #BFE6F7; }
.fsd-counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; max-width: 620px; }
.fsd-counters > div { padding: 14px 16px; border-radius: 16px; background: rgba(18,32,58,.35); display: flex; flex-direction: column; }
.fsd-counters strong { font-size: 34px; font-weight: 800; line-height: 1.05; }
.fsd-counters span:not([data-count]) { font-size: 14px; color: #DCE8EE; }
.fsd-hero-drop { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.fsd-drop { position: relative; width: min(380px, calc(100% - 70px)); aspect-ratio: 400 / 480; animation: fsd-floaty 6s ease-in-out infinite; }
.fsd-drop > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fsd-drop-level { transform: translateY(330px); transition: transform 1.6s cubic-bezier(.2,.8,.2,1); }
.fsd-drop.is-full .fsd-drop-level { transform: translateY(180px); }
.fsd-drop-wave { animation: fsd-wavex 4s linear infinite; }
.fsd-drop-wave2 { animation: fsd-wavex 6s linear infinite reverse; }
.fsd-drop-txt { position: absolute; left: 0; right: 0; top: 62%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.fsd-drop-txt .fsd-h { font-size: clamp(40px, 5vw, 64px); font-weight: 800; line-height: 1; }
.fsd-drop-txt > span:last-child { font-size: 15px; font-weight: 600; }
.fsd-orbit { position: absolute; inset: -30px; animation: fsd-orbit 18s linear infinite; }
.fsd-orb { position: absolute; width: 60px; height: 60px; border-radius: 18px; background: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); animation: fsd-orbit 18s linear infinite reverse; }
.fsd-orb-1 { left: 50%; top: 0; margin-left: -30px; }
.fsd-orb-2 { right: 0; top: 62%; }
.fsd-orb-3 { left: 0; top: 62%; }
.fsd-flame { transform-origin: 50% 100%; animation: fsd-flick 1.4s ease-in-out infinite alternate; }
.fsd-snow { transform-box: fill-box; transform-origin: center; animation: fsd-orbit 10s linear infinite; }
@keyframes fsd-floaty { 50% { transform: translateY(-14px); } }
@keyframes fsd-orbit { to { transform: rotate(360deg); } }
@keyframes fsd-flick { to { transform: scaleY(1.08) skewX(-2deg); } }
@media (max-width: 860px) {
	.fsd-hero-drop { display: none; }
	.fsd-hero-in { padding-bottom: 120px; }
}

/* ---------- Bandeau qui défile ---------- */
.fsd-marquee-band { background: var(--navy); color: #fff; overflow: hidden; }
.fsd-marquee { display: flex; width: max-content; padding: 16px 0; animation: fsd-marq 32s linear infinite; }
.fsd-marquee:hover { animation-play-state: paused; }
.fsd-marquee span { display: inline-flex; align-items: center; gap: 12px; padding: 0 28px; white-space: nowrap; font-weight: 500; }
.fsd-marquee i { width: 10px; height: 10px; border-radius: 50%; }
@keyframes fsd-marq { to { transform: translateX(-50%); } }

/* ---------- Sections (contenu des pages) ---------- */
/* WordPress enveloppe le contenu des groupes de blocs dans un conteneur :
   on le rend « transparent » pour que nos grilles et colonnes s'appliquent. */
[class*="fsd-"] > .wp-block-group__inner-container { display: contents; }
[class*="fsd-"] > .wp-block-group__inner-container > * { margin-top: 0; margin-bottom: 0; }
.fsd-sections > .wp-block-group, .fsd-sections > p, .fsd-sections > h2 { margin-top: 0; margin-bottom: 0; }
/* Centrage des sections, quelle que soit leur position dans la page. */
.fsd-sections .fsd-section, .fsd-section { margin-left: auto; margin-right: auto; }
.fsd-section { max-width: var(--wrap); padding: clamp(56px, 8vw, 96px) var(--gutter); display: flex; flex-direction: column; gap: 24px; position: relative; }
.fsd-section > * { margin: 0; }
.fsd-band { position: relative; }
.fsd-band-white { background: #fff; }
.fsd-band-navy { background: var(--navy); color: #fff; }
.fsd-band-navy a:not(.fsd-btn) { color: var(--ice); }
.fsd-band-narrow .fsd-section { max-width: 900px; }
.fsd-band-contact .fsd-section { padding-top: 32px; }
.fsd-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rust); margin: 0 0 -8px; }
.fsd-band-navy .fsd-eyebrow { color: var(--peach); }
.fsd-section h2, .fsd-sections .wp-block-heading:where(h2) { font-family: var(--font-h); font-size: clamp(30px, 4vw, 50px); line-height: 1.06; font-weight: 800; letter-spacing: -.02em; margin: 0; max-width: 820px; }
.fsd-section h3 { font-family: var(--font-h); font-size: 22px; line-height: 1.2; font-weight: 800; margin: 0; }
.fsd-section p { margin: 0; }
.fsd-lead { font-size: 18px; color: var(--muted); max-width: 760px; }
.fsd-band-navy .fsd-lead { color: #DCE8EE; }
.fsd-more { font-weight: 600; }
.fsd-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.fsd-split-col { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.fsd-split-col > * { margin: 0; }
.fsd-band-navy .fsd-split, .fsd-band-contact .fsd-split { align-items: flex-start; }
.fsd-band-contact .fsd-split-col:first-child { flex: 1.4 1 480px; }

.fsd-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fsd-cards .fsd-card, .fsd-card.wp-block-group { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.fsd-band-white .fsd-card { background: var(--cream); border-color: transparent; }
.fsd-cards .fsd-card > * { margin: 0; }
.fsd-cards .fsd-card p { font-size: 16px; color: var(--muted); }
.fsd-cards.fsd-cards-ico { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .fsd-cards.fsd-cards-ico { grid-template-columns: 1fr; } }
.fsd-cards-ico .fsd-card { color: var(--ink); }
.fsd-cards-ico .fsd-ico { color: var(--teal); }
.fsd-cards-ico strong { font-size: 17px; }
.fsd-cards-ico span { font-size: 15px; color: var(--muted); line-height: 1.5; }
.fsd-card-link { text-decoration: none; color: var(--ink); }
.fsd-card-link:hover { color: var(--ink); }
.fsd-card-link strong { font-size: 22px; line-height: 1.2; }
.fsd-card-link span { color: var(--muted); font-size: 16px; }
.fsd-card-link .fsd-link { color: var(--teal); }

.fsd-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fsd-checks li { position: relative; padding-left: 40px; min-height: 28px; font-size: 17px; line-height: 1.5; }
.fsd-checks li::before { content: "✓\FE0E"; position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: rgba(127,211,245,.18); color: var(--ice); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.fsd-checks-dark li::before { background: #E7F0F3; color: var(--teal); }
.fsd-band-navy .fsd-checks li { color: #DCE8EE; }

/* ---------- Onglets métiers ---------- */
.fsd-metiers { display: flex; flex-direction: column; gap: 22px; }
.fsd-hint { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--rust); margin: 0; }
.fsd-hint .fsd-dot { background: var(--flame); }
.fsd-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.fsd-tabs button { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--teal); background: transparent; color: var(--teal); font-weight: 600; font-size: 16px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.fsd-tabs button[aria-selected="true"], .fsd-tabs button[aria-pressed="true"] { background: var(--teal); color: #fff; }
.fsd-tilt { transition: transform .25s ease-out; transform: perspective(1400px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.fsd-panel { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; animation: fsd-fadeup .45s ease both; }
.fsd-panel-vis { flex: 1 1 440px; min-width: 0; }
.fsd-panel-dark { border-radius: 24px; background: var(--navy); padding: 24px; display: flex; align-items: center; justify-content: center; min-height: 340px; }
.fsd-panel-txt { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; justify-content: center; align-items: flex-start; }
.fsd-panel-txt h3 { font-size: 32px; }
.fsd-panel-txt p { color: var(--muted); }
.fsd-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; width: 100%; max-width: 320px; }
.fsd-tiles i { aspect-ratio: 1; border-radius: 3px; border: 1px solid #DCE6EA; animation: fsd-tile .5s ease-out both; }
@keyframes fsd-tile { from { transform: translateY(8px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }

/* Tuyaux */
.fsd-pipes { width: 100%; }
.fsd-pipes svg { display: block; width: 100%; height: auto; }
.fsd-flow { stroke-dasharray: 14 22; animation: fsd-flow 1.6s linear infinite; }
.fsd-pipes:hover .fsd-flow { animation-duration: .55s; }
@keyframes fsd-flow { to { stroke-dashoffset: -72; } }
.fsd-pagehero-side .fsd-pipes { background: var(--navy); border-radius: 24px; padding: 24px; }

/* Avant / après */
.fsd-ba { display: flex; flex-direction: column; gap: 10px; }
.fsd-ba-frame { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 10; background: #E4E0D6; --split: 50%; }
.fsd-ba-after, .fsd-ba-before { position: absolute; inset: 0; display: flex; align-items: center; }
.fsd-ba-after { justify-content: flex-end; }
.fsd-ba-before { width: var(--split); overflow: hidden; border-right: 3px solid #fff; }
.fsd-ba img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fsd-ba-before img { width: auto; min-width: 100%; max-width: none; height: 100%; }
.fsd-ba-handle { position: absolute; top: 50%; left: var(--split); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 800; }
.fsd-ba-tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.fsd-ba-tag-l { left: 14px; background: var(--navy); color: #fff; }
.fsd-ba-tag-r { right: 14px; background: #fff; color: var(--navy); }
.fsd-ba-label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.fsd-ba-dark .fsd-ba-label { color: #DCE8EE; }
.fsd-ph { background: repeating-linear-gradient(135deg, #E4E0D6 0 12px, #EDEAE2 12px 24px); }
.fsd-ph2 { background: repeating-linear-gradient(45deg, #CFC8B8 0 12px, #D8D2C4 12px 24px); }
.fsd-ph-label { padding: 20px; font-weight: 600; color: #4A5568; white-space: nowrap; }
input[type="range"] { width: 100%; min-height: 44px; accent-color: var(--teal); cursor: pointer; }
.fsd-ba-dark input[type="range"] { accent-color: var(--ice); }

/* Climatisation */
.fsd-clim { border-radius: 24px; padding: 24px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; color: #fff; background: rgb(var(--clim, 120, 99, 109)); transition: background .4s ease; position: relative; overflow: hidden; }
.fsd-clim-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.fsd-clim-top > div { display: flex; flex-direction: column; }
.fsd-clim-cap { font-size: 14px; font-weight: 600; opacity: .9; }
.fsd-clim-temp { font-size: clamp(56px, 7vw, 80px); font-weight: 800; line-height: 1; }
.fsd-clim-mode { padding: 8px 14px; border-radius: 999px; background: rgba(18,32,58,.35); font-size: 14px; font-weight: 600; }
.fsd-clim-air { position: relative; height: 90px; }
.fsd-clim-air span { position: absolute; left: 0; height: 3px; border-radius: 3px; background: rgba(255,255,255,.8); animation: fsd-drift 3s linear infinite; }
@keyframes fsd-drift { 0% { transform: translateX(-40px); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .9; } 100% { transform: translateX(560px); opacity: 0; } }
.fsd-clim-label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; position: relative; z-index: 1; }
.fsd-clim input[type="range"] { accent-color: var(--navy); }

/* ---------- Exemple de chantier : simulation → résultat ---------- */
.fsd-proj { display: flex; flex-direction: column; gap: 22px; }
.fsd-proj-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: center; animation: fsd-fadeup .45s ease both; }
/* Sur ordinateur : photos en paysage, cadrées sur la façade, sur toute la largeur. */
@media (min-width: 1100px) {
	.fsd-proj-fig img { aspect-ratio: 16 / 10 !important; object-position: center 22% !important; }
}
.fsd-proj-fig { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(18,32,58,.10); }
.fsd-proj-fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 25%; }
.fsd-proj-fig figcaption { padding: 14px 18px 18px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.fsd-proj-fig figcaption strong { color: var(--ink); }
.fsd-proj-badge { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.fsd-proj-badge-sim { background: var(--navy); color: #fff; }
.fsd-proj-badge-real { background: var(--flame); color: #fff; }
.fsd-proj-arrow { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--teal); font-size: 13px; font-weight: 700; text-align: center; max-width: 110px; }
.fsd-proj-arrow .fsd-ico { width: 44px; height: 44px; padding: 8px; border-radius: 50%; background: #E7F0F3; animation: fsd-nudge 1.6s ease-in-out infinite; }
@keyframes fsd-nudge { 50% { transform: translateX(6px); } }
.fsd-proj-note { margin: 0; max-width: 860px; color: var(--muted); }
@media (max-width: 760px) {
	.fsd-proj-panel { grid-template-columns: 1fr; }
	.fsd-proj-arrow { flex-direction: row; max-width: none; justify-content: center; }
	.fsd-proj-arrow .fsd-ico { transform: rotate(90deg); animation: none; }
}

/* ---------- Étapes ---------- */
.fsd-steps { display: flex; flex-direction: column; gap: 18px; }
.fsd-steps-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.fsd-steps-bar i { display: block; height: 100%; width: var(--p, 16%); background: linear-gradient(90deg, var(--teal), var(--ice)); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.fsd-steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.fsd-steps-list li { display: flex; }
.fsd-step { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; cursor: pointer; min-height: 96px; background: #fff; color: var(--ink); border: 2px solid var(--line); }
.fsd-step .fsd-h { font-size: 15px; font-weight: 800; opacity: .8; }
.fsd-step span:last-child { font-size: 16px; font-weight: 600; line-height: 1.3; }
.fsd-step.is-done { background: #E7F0F3; border-color: #B9D3DC; }
.fsd-step[aria-pressed="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.fsd-step-panel { border-radius: 24px; background: #fff; border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; animation: fsd-fadeup .4s ease both; }
.fsd-step-num { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 22px; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; }
.fsd-step-txt { flex: 999 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.fsd-step-txt h3 { font-size: 26px; margin: 0; }
.fsd-step-txt p { margin: 0; color: var(--muted); }
.fsd-stamp { flex: 0 0 auto; border: 4px solid var(--ok); border-radius: 10px; color: var(--ok); padding: 8px 14px; font-size: 22px; font-weight: 800; line-height: 1.05; text-align: center; text-transform: uppercase; transform: rotate(-8deg); }
.fsd-step-panel:not([hidden]) .fsd-stamp, .fsd-stamp-in { animation: fsd-stamp .45s cubic-bezier(.2,1.6,.4,1) .15s both; }
@keyframes fsd-stamp { 0% { transform: rotate(-14deg) scale(2.2); opacity: 0; } 100% { transform: rotate(-8deg) scale(1); opacity: 1; } }

/* ---------- Zones ---------- */
.fsd-zones { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.fsd-zones-check { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.fsd-zones-result { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.fsd-zones-msg { margin: 0; font-weight: 600; }
.fsd-zones-msg.is-ok { color: var(--ok); }
.fsd-zones-msg.is-ko { color: var(--rust); }
.fsd-zones-list { flex: 1.5 1 460px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.fsd-zones-list li { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: background .15s ease, color .15s ease, transform .15s ease; }
.fsd-zones-list li:hover { background: var(--teal); color: #fff; }
.fsd-zones-list li.is-hit { background: var(--flame); color: #fff; border-color: var(--flame); transform: scale(1.06); }

/* ---------- Champs ---------- */
.fsd-field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.fsd-field input, .fsd-field textarea, .fsd-field select { width: 100%; min-height: 52px; padding: 0 14px; border-radius: 12px; border: 2px solid #C9C3B5; background: #fff; color: var(--ink); font-size: 16px; font-weight: 400; }
.fsd-field textarea { padding: 12px 14px; min-height: 120px; resize: vertical; }
.fsd-field input[type="file"] { padding: 10px; min-height: 0; border-style: dashed; }
.fsd-field input:focus, .fsd-field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(43,143,196,.25); }
.fsd-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }

/* ---------- FAQ ---------- */
.fsd-faq { display: flex; flex-direction: column; gap: 10px; }
.fsd-faq-item { border-radius: 16px; border: 1px solid var(--line); background: var(--cream); overflow: hidden; }
.fsd-faq-item summary { list-style: none; min-height: 64px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-size: 17px; font-weight: 600; }
.fsd-faq-item summary::-webkit-details-marker { display: none; }
.fsd-faq-plus { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: transform .25s ease; }
.fsd-faq-item[open] .fsd-faq-plus { transform: rotate(45deg); }
.fsd-faq-item p { margin: 0; padding: 0 20px 20px; color: var(--muted); animation: fsd-fadeup .35s ease both; }

/* ---------- Réalisations ---------- */
.fsd-real { display: flex; flex-direction: column; gap: 20px; }
.fsd-real-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.fsd-real-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; }
.fsd-real-img { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fsd-real-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.fsd-real-item:hover .fsd-real-img img { transform: scale(1.05); }
/* Carrousel de photos d'un même chantier */
.fsd-car { position: relative; width: 100%; height: 100%; overflow: hidden; touch-action: pan-y; }
.fsd-car-track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.fsd-car-slide { flex: 0 0 100%; height: 100%; }
.fsd-car-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fsd-real-item:hover .fsd-car-slide img { transform: none; }
.fsd-car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: transform .15s ease, background .15s ease; }
.fsd-car-btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.fsd-car-prev { left: 10px; }
.fsd-car-next { right: 10px; }
.fsd-car-count { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(18,32,58,.75); color: #fff; font-size: 13px; font-weight: 600; }
.fsd-car-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.fsd-car-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.6); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.fsd-car-dot[aria-current="true"] { background: #fff; width: 24px; border-radius: 6px; }
.fsd-real-item figcaption { padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.fsd-real-item figcaption span { font-size: 13px; font-weight: 600; color: var(--rust); }
.fsd-real-item figcaption strong { font-size: 16px; }
.fsd-real-item figcaption em { font-style: normal; font-size: 14px; color: var(--muted-2); }

/* ---------- Formulaire de devis ---------- */
.fsd-devis { border-radius: 24px; background: #fff; color: var(--ink); padding: clamp(20px, 4vw, 32px); box-shadow: 0 30px 60px rgba(0,0,0,.25); position: relative; scroll-margin-top: 110px; }
.fsd-band-contact .fsd-devis { box-shadow: 0 30px 60px rgba(18,32,58,.12); border: 1px solid var(--line); }
.fsd-devis-form { display: flex; flex-direction: column; gap: 20px; }
.fsd-devis-bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fsd-devis-bars i { height: 6px; border-radius: 6px; background: var(--line); transition: background .3s ease; }
.fsd-devis-bars i.on { background: var(--flame); }
.fsd-devis-step-label { margin: -8px 0 0; font-size: 14px; color: var(--muted-2); font-weight: 600; }
.fsd-devis-step { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.fsd-devis-step legend { font-family: var(--font-h); font-size: 24px; font-weight: 800; padding: 0; margin-bottom: 14px; }
.fsd-js .fsd-devis-step:not(.is-current) { display: none; }
.fsd-js .fsd-devis-step.is-current { animation: fsd-fadeup .4s ease both; }
.fsd-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.fsd-choice { position: relative; display: flex; align-items: center; min-height: 58px; padding: 0 16px; border-radius: 14px; background: var(--cream); border: 2px solid var(--line); font-weight: 600; cursor: pointer; }
.fsd-choice input { position: absolute; opacity: 0; pointer-events: none; }
.fsd-choice:has(input:checked) { background: var(--teal); color: #fff; border-color: var(--teal); }
.fsd-choice:has(input:focus-visible) { outline: 3px solid var(--ice-2); outline-offset: 2px; }
.fsd-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.fsd-consent input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--teal); }
.fsd-devis-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fsd-js .fsd-devis-nav [data-submit] { display: none; }
.fsd-js .fsd-devis-form.is-last [data-submit] { display: inline-flex; }
.fsd-js .fsd-devis-form.is-last [data-next] { display: none; }
.fsd-js .fsd-devis-form.is-first [data-prev] { visibility: hidden; }
html:not(.fsd-js) .fsd-devis-nav [data-prev], html:not(.fsd-js) .fsd-devis-nav [data-next], html:not(.fsd-js) .fsd-devis-bars, html:not(.fsd-js) .fsd-devis-step-label { display: none; }
.fsd-devis-err, .fsd-devis-inline-err { margin: 0; padding: 12px 16px; border-radius: 12px; background: #FDECE8; color: #8A2A12; font-weight: 600; font-size: 15px; }
.fsd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fsd-devis-ok { position: relative; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 8px 0; }
.fsd-devis-ok h3 { font-size: 28px; margin: 0; }
.fsd-devis-ok p { margin: 0; color: var(--muted); }
.fsd-ok-ico { width: 64px; height: 64px; border-radius: 50%; background: #E3F4EA; color: var(--ok); display: flex; align-items: center; justify-content: center; }
.fsd-splash { position: absolute; left: 32px; top: 40px; width: 0; height: 0; }
.fsd-splash i { position: absolute; left: 0; top: 0; border-radius: 50% 50% 50% 0; opacity: 0; animation: fsd-splash 1.1s cubic-bezier(.15,.8,.3,1) .1s forwards; }
@keyframes fsd-splash { 0% { opacity: 1; transform: translate(0,0) scale(.4) rotate(-45deg); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1) rotate(-45deg); } }

/* Coordonnées (page devis) */
.fsd-coords { display: flex; flex-direction: column; gap: 12px; }
.fsd-coords h2 { font-size: clamp(26px, 3vw, 36px) !important; }
.fsd-coords-tel { font-size: 32px; font-weight: 800; color: var(--ink); text-decoration: none; }
.fsd-coords-mail { font-size: 18px; font-weight: 600; }
.fsd-coords p { color: var(--muted); }

/* ---------- Appel au devis en bas de page ---------- */
.fsd-ctaband { background: var(--navy); color: #fff; }
.fsd-ctaband-in { max-width: var(--wrap); margin: 0 auto; padding: 64px var(--gutter); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.fsd-ctaband-in > div:first-child { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.fsd-ctaband h2 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; font-weight: 800; }
.fsd-ctaband p { margin: 0; color: #DCE8EE; }

/* ---------- Bandeau des pages intérieures ---------- */
.fsd-pagehero { position: relative; overflow: hidden; background: var(--teal); color: #fff; }
.fsd-pagehero-in { max-width: var(--wrap); margin: 0 auto; padding: clamp(36px, 5vw, 56px) var(--gutter) 120px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; position: relative; z-index: 1; }
.fsd-pagehero-txt { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.fsd-pagehero h1 { margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; font-weight: 800; }
.fsd-pagehero h1 em { font-style: normal; color: var(--ice); }
.fsd-pagehero-lead { margin: 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: #DCE8EE; max-width: 640px; }
.fsd-pagehero-side { flex: 1 1 380px; min-width: 0; }
.fsd-crumbs { font-size: 14px; color: #BFE6F7; }
.fsd-crumbs a { color: #BFE6F7; }

/* ---------- Guides et textes ---------- */
.fsd-guide { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.fsd-guide .fsd-prose { flex: 999 1 560px; min-width: 0; max-width: 780px; }
.fsd-guide-aside { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 110px; }
.fsd-aside-cta { border-radius: 20px; background: var(--teal); color: #fff; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.fsd-aside-cta strong { font-size: 22px; }
.fsd-aside-cta span { font-size: 15px; color: #DCE8EE; }
.fsd-aside-title { font-size: 15px; margin-top: 8px; }
.fsd-aside-link { display: block; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 600; text-decoration: none; color: var(--ink); }
@media (max-width: 860px) { .fsd-guide-aside { position: static; } }
.fsd-toc { border-radius: 16px; background: #fff; border: 1px solid var(--line); padding: 18px 22px; margin-bottom: 8px; }
.fsd-toc ol { margin: 8px 0 0; padding-left: 20px; }
.fsd-toc li { margin: 4px 0; font-size: 16px; }
.fsd-prose h2 { font-family: var(--font-h); font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; margin: 40px 0 12px; font-weight: 800; letter-spacing: -.01em; scroll-margin-top: 110px; }
.fsd-prose h3 { font-size: 20px; margin: 24px 0 8px; }
.fsd-prose p, .fsd-prose li { font-size: 17px; line-height: 1.7; color: #2E3B4E; }
.fsd-prose ul, .fsd-prose ol { padding-left: 22px; }
.fsd-prose li { margin: 6px 0; }
.fsd-prose > *:first-child { margin-top: 0; }
.fsd-post-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.fsd-post-item h2 { margin: 0 0 6px; font-size: 26px; }

/* ---------- Pied de page ---------- */
.fsd-footer { background: var(--navy-deep); color: #C5D0DC; }
.fsd-footer-in { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 28px; display: flex; flex-direction: column; gap: 36px; }
.fsd-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; }
.fsd-footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.fsd-footer-col strong, .fsd-footer-name { color: #fff; }
.fsd-footer-name { font-family: var(--font-h); font-size: 20px; font-weight: 800; }
.fsd-footer a:not(.fsd-btn) { color: #C5D0DC; }
.fsd-footer a:not(.fsd-btn):hover { color: #fff; }
.fsd-footer-bottom { border-top: 1px solid #22314A; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #9AA8B8; }
.fsd-footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.fsd-footer-legal a { color: #9AA8B8 !important; }

/* ---------- Bouton flottant et barre mobile ---------- */
.fsd-fab { position: fixed; right: 24px; bottom: 24px; z-index: 60; min-height: 56px; padding: 0 22px; box-shadow: 0 12px 28px rgba(201,58,23,.4); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.fsd-fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fsd-mbar { display: none; }
@media (max-width: 860px) {
	.fsd-fab { display: none; }
	.fsd-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(18,32,58,.97); }
	.fsd-mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; }
	.fsd-mbar-call { flex: 1 1 0; border: 2px solid var(--ice); }
	.fsd-mbar-devis { flex: 1.4 1 0; background: var(--flame); }
	body { padding-bottom: 74px; }
}

/* ---------- Tuyau signature (côté gauche, se dessine au défilement) ---------- */
.fsd-home .fsd-sections { position: relative; }

/* ---------- Petits écrans ---------- */
@media (max-width: 600px) {
	body { font-size: 16px; }
	:root { --gutter: 16px; }
	.fsd-section { gap: 20px; }
	.fsd-panel-txt h3 { font-size: 26px; }
	.fsd-step-num { width: 64px; height: 64px; font-size: 28px; border-radius: 18px; }
	.fsd-btn-lg { min-height: 54px; padding: 0 22px; font-size: 16px; }
	.fsd-hero .fsd-row .fsd-btn-lg, .fsd-pagehero .fsd-row a, .fsd-ctaband .fsd-row a { flex: 1 1 100%; }
	.fsd-clim { padding: 20px; }
	.fsd-tabs button { flex: 1 1 auto; padding: 0 14px; }
}

/* ---------- Grands écrans : tout le site grandit proportionnellement ----------
   Sur un écran large, le contenu garde ses proportions au lieu de rester
   petit au milieu. Le mobile et les écrans portables ne changent pas. */
/* Équilibre : un agrandissement léger, et surtout une zone de contenu plus
   large, pour occuper l'écran sans tout grossir (plus d'infos visibles d'un coup). */
@media (min-width: 1600px) { html { zoom: 1.05; } :root { --wrap: 1400px; } }
@media (min-width: 1900px) { html { zoom: 1.1; } :root { --wrap: 1560px; } }
@media (min-width: 2300px) { html { zoom: 1.2; } :root { --wrap: 1720px; } }
@media (min-width: 2800px) { html { zoom: 1.3; } :root { --wrap: 1960px; } }
@media (min-width: 3300px) { html { zoom: 1.4; } :root { --wrap: 2180px; } }
@media (min-width: 1600px) {
	.fsd-header-in { max-width: calc(var(--wrap) + 40px); }
	.fsd-band-narrow .fsd-section { max-width: 1100px; }
	.fsd-hero-in { justify-content: space-between; }
	.fsd-hero-txt { max-width: 900px; }
	.fsd-panel-vis { max-width: 780px; }
	.fsd-split-col { max-width: 900px; }
	.fsd-split { justify-content: space-between; }
}

/* ---------- Animations réduites ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.fsd-intro { display: none; }
	.fsd-js .fsd-reveal { opacity: 1; transform: none; }
	.fsd-btn::after { display: none; }
}
