/* ==========================================================================
   ELECTROGAZ, thème sur mesure
   Direction : artisan local de confiance. Bleu marine du logo, orange réservé
   aux appels à l'action, photos réelles de chantiers.
   Rayons : boutons et champs 10px, cartes et photos 16px, étiquettes en pilule.
   ========================================================================== */

/* Polices auto-hébergées (aucun appel à Google Fonts) */
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-medium.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }

:root {
	--navy: #0d2b52;
	--navy-900: #081c38;
	--navy-700: #16407a;
	--blue: #1d64c4;
	--blue-50: #edf3fb;
	--amber: #f5a300;
	--amber-600: #e09500;
	--amber-50: #fff6e2;
	--ink: #0f1e33;
	--text: #3a4a5f;
	--muted: #556579;
	--line: #dfe5ee;
	--soft: #f4f7fb;
	--paper: #fcfdfe;
	--ok: #1f7a4d;
	--error: #b42318;

	--font-head: "Poppins", ui-sans-serif, system-ui, sans-serif;
	--font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--r-ctl: 10px;
	--r-card: 16px;
	--shadow-sm: 0 1px 2px rgb(13 43 82 / 0.06), 0 1px 1px rgb(13 43 82 / 0.04);
	--shadow-md: 0 10px 30px -12px rgb(13 43 82 / 0.22);
	--shadow-lg: 0 24px 60px -24px rgb(13 43 82 / 0.35);

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 8vw, 104px);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--header-h: 72px;
}

/* 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 {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.005em; line-height: 1.3; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }
ul { padding-left: 1.2em; }
address { font-style: normal; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-ctl); }
.skip-link:focus { top: 12px; }
.center { text-align: center; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(780px + 2 * var(--gutter)); }

/* Boutons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
	min-height: 48px; padding: 0.7em 1.25em;
	border: 1.5px solid transparent; border-radius: var(--r-ctl);
	font-family: var(--font-head); font-weight: 500; font-size: 1rem; line-height: 1.2;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.12s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-lg { min-height: 56px; padding: 0.85em 1.5em; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-accent { background: var(--amber); color: var(--navy-900); box-shadow: 0 6px 18px -8px rgb(245 163 0 / 0.7); }
.btn-accent:hover { background: var(--amber-600); color: var(--navy-900); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: #c5d0de; }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); background: var(--blue-50); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.45); }
.btn-ghost-light:hover { background: rgb(255 255 255 / 0.1); border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--font-head); font-weight: 500; color: var(--navy); text-decoration: none; }
.link-arrow .icon { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.link-arrow:hover { color: var(--blue); }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow { display: inline-flex; align-items: center; gap: 0.45em; margin: 0 0 14px; font-family: var(--font-head); font-weight: 500; font-size: 0.9rem; color: var(--blue); }
.eyebrow .icon { width: 1.1em; height: 1.1em; }
.eyebrow-alert { color: #9a5b00; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.25em; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--ok); width: 1.05em; height: 1.05em; margin-top: 0.3em; }

/* Barre du haut */
.topbar { background: var(--navy-900); color: #c9d6e8; font-size: 0.875rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-text { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar-text strong { color: #fff; }
.topbar-text .icon { color: var(--amber); }
.topbar-mail { display: inline-flex; align-items: center; gap: 6px; color: #c9d6e8; text-decoration: none; }
.topbar-mail:hover { color: #fff; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(252 253 254 / 0.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { flex: none; display: block; }
.brand-logo { width: auto; height: 46px; }
.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav .menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.main-nav .menu a:hover { background: var(--soft); color: var(--navy); }
.main-nav .menu a[aria-current="page"] { color: var(--blue); }
.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call { min-height: 44px; padding: 0.55em 1em; }
.menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1.5px solid var(--line); background: #fff; color: var(--navy); border-radius: var(--r-ctl); cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Accueil : hero */
.hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 5vw, 72px); background: linear-gradient(180deg, var(--soft) 0%, var(--paper) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 1.2rem + 2.7vw, 3.35rem); line-height: 1.08; margin-bottom: 20px; }
.nowrap { white-space: nowrap; }
.hero .lead { font-size: clamp(1.1rem, 1rem + 0.35vw, 1.25rem); color: var(--text); max-width: 42ch; margin: 0; }
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--r-card); background: var(--navy); z-index: 0; }
.hero-img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); box-shadow: var(--shadow-lg); }

/* Bandeau de confiance */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-row li { display: flex; align-items: center; gap: 12px; padding: 22px 20px; font-size: 0.95rem; line-height: 1.35; color: var(--muted); }
.trust-row li + li { border-left: 1px solid var(--line); }
.trust-row strong { display: block; font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: 1rem; }
.trust-row .icon { width: 28px; height: 28px; color: var(--blue); }

/* Sections */
.section { padding: var(--section) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* Services (accueil) */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.03); }
.service-body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.35rem; font-weight: 700; }
.service-body h3 a { color: inherit; text-decoration: none; }
.service-body h3 a:hover { color: var(--blue); }
.service-body .link-arrow { margin-top: auto; }
.service-tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 0 0 12px; padding: 4px 12px 4px 10px; border-radius: 999px; font-family: var(--font-head); font-weight: 500; font-size: 0.85rem; }
.tag-elec { background: var(--amber-50); color: #8a5300; }
.tag-plomb { background: var(--blue-50); color: var(--blue); }

/* Urgence */
.section-alert { background: var(--amber-50); border-block: 1px solid #f6dfa8; }
.alert-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.alert-text p { max-width: 52ch; }
.alert-text .btn { margin-top: 12px; }
.alert-steps { display: grid; gap: 16px; }
.alert-step { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid #f1e2bd; }
.alert-step h3 { margin-bottom: 4px; font-weight: 700; font-size: 1.1rem; }
.alert-step p { margin: 0; color: var(--muted); }
.alert-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--amber); color: var(--navy-900); flex: none; }
.alert-icon-drop { background: var(--blue); color: #fff; }
.alert-icon .icon { width: 24px; height: 24px; }

/* Pourquoi nous choisir */
.why-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.why-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; margin-top: 32px; }
.why-item .icon { width: 32px; height: 32px; color: var(--blue); margin-bottom: 14px; }
.why-item h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.why-item p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Zones (accueil) */
.dep-row { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dep-tile { display: flex; flex-direction: column; gap: 2px; padding: 24px; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); text-decoration: none; transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s; }
.dep-tile:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dep-num { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--navy); letter-spacing: -0.03em; margin-bottom: 10px; }
.dep-name { font-family: var(--font-head); font-weight: 500; color: var(--ink); }
.dep-count { font-size: 0.9rem; color: var(--muted); }

/* Réalisations */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 32px; }
.work-grid-feature { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; }
.work-grid-feature .work-card:first-child { grid-row: span 2; }
.work-grid-feature .work-card:first-child .work-media { aspect-ratio: auto; min-height: 360px; }
.work-grid-feature .work-card:first-child .work-media img { position: absolute; inset: 0; }
.work-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: box-shadow 0.25s var(--ease); }
.work-card:hover { box-shadow: var(--shadow-md); }
.work-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-grid-feature .work-card:first-child { display: grid; grid-template-rows: 1fr auto; }
.work-body { padding: 18px 20px 20px; }
.work-title { font-size: 1.08rem; font-weight: 500; margin: 8px 0 4px; }
.work-title a { color: var(--ink); text-decoration: none; }
.work-title a::after { content: ""; position: absolute; inset: 0; }
.work-title a:hover { color: var(--blue); }
.work-city { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 0.92rem; }
.work-city .icon { width: 1em; height: 1em; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-family: var(--font-head); font-weight: 500; font-size: 0.8rem; text-decoration: none; }
.badge .icon { width: 1em; height: 1em; }
.badge-electricite { background: var(--amber-50); color: #8a5300; }
.badge-plomberie { background: var(--blue-50); color: var(--blue); }
.media-placeholder { display: grid; place-items: center; height: 100%; color: #9aa8b9; }
.media-placeholder .icon { width: 40px; height: 40px; }

/* FAQ */
.faq h2 { margin-bottom: 28px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color 0.2s; }
.faq-item[open] { border-color: #b9c7da; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.07rem; }
.faq-chevron { color: var(--navy); transition: transform 0.25s var(--ease); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 22px; color: var(--text); }
.faq-answer p { margin: 0; max-width: 68ch; }

/* Bandeau d'appel final (rattaché visuellement au pied de page) */
.cta-band { background: var(--navy); color: #c9d6e8; padding: clamp(40px, 6vw, 64px) 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); color: #fff; line-height: 1.2; margin: 0 0 6px; }
.cta-text { margin: 0; max-width: 56ch; }
.cta-band .btn-row { margin: 0; }

/* Pages intérieures : en-tête */
.page-hero { padding: 24px 0 clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--soft) 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.page-hero-simple { padding-bottom: 40px; }
.page-hero-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero.has-photo .page-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.page-hero h1 { max-width: 24ch; margin-bottom: 16px; font-size: clamp(1.85rem, 1.25rem + 1.9vw, 2.7rem); line-height: 1.12; }
.page-hero .lead { font-size: 1.15rem; max-width: 60ch; margin: 0; }
.page-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); box-shadow: var(--shadow-md); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 28px; font-size: 0.9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #a3b0c0; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }

/* Pages de service */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { max-width: 72ch; }
.prose > section + section { margin-top: clamp(40px, 5vw, 56px); }
.prose h2 { margin-bottom: 16px; }
.prose p, .prose li { color: var(--text); }
.issue-list { display: grid; gap: 0; margin: 28px 0; border-left: 3px solid var(--amber); }
.issue-list-plomb { border-left-color: var(--blue); }
.issue { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 16px 0 16px 22px; }
.issue + .issue { border-top: 1px solid var(--line); }
.issue .icon { grid-row: span 2; width: 28px; height: 28px; color: var(--navy); margin-top: 2px; }
.issue h3 { margin: 0 0 4px; font-size: 1.08rem; }
.issue p { margin: 0; color: var(--muted); }
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-card); background: var(--amber-50); border: 1px solid #f1d898; color: var(--ink); }
.callout-plomb { background: var(--blue-50); border-color: #c8daf2; }
.callout .icon { width: 24px; height: 24px; color: var(--navy); margin-top: 2px; }
.prose .ticks { margin: 16px 0 20px; }

.side-card { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-md); }
.side-title { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin: 0 0 12px; line-height: 1.3; }
.side-phone { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--navy); text-decoration: none; letter-spacing: -0.01em; }
.side-phone .icon { color: var(--amber-600); }
.side-card .ticks { margin-bottom: 22px; font-size: 0.97rem; }
.side-card .btn + .btn { margin-top: 10px; }

.cross { padding: 40px 0; }
.cross-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.cross-title { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); margin: 0 0 4px; }
.cross-inner p { margin: 0; }
.service-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--amber); color: var(--navy-900); }
.service-icon-plomb { background: var(--blue); color: #fff; }
.service-icon .icon { width: 28px; height: 28px; }

/* Zones d'intervention */
.dep-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.dep-tabs a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; }
.dep-tabs a:hover { border-color: var(--blue); color: var(--blue); }
.dep-tabs .dep-num { font-size: 0.85rem; margin: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--navy); color: #fff; letter-spacing: 0; }
.zones-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.zone-block { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); }
.zone-block:first-child { grid-column: 1 / -1; background: var(--soft); }
.zone-block:last-child { grid-column: 1 / -1; }
.zone-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.zone-head h2 { font-size: 1.35rem; margin: 0; }
.dep-badge { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; }
.chips li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.92rem; color: var(--ink); }
.zone-block:not(:first-child) .chips li { background: var(--soft); border-color: transparent; }

/* Carte (chargée au clic) */
.map-facade { position: relative; min-height: 320px; border-radius: var(--r-card); overflow: hidden; background: linear-gradient(135deg, #e7eef8, #f6f9fc); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; }
.map-facade-inner { padding: 32px; }
.map-facade-inner > .icon { width: 40px; height: 40px; color: var(--blue); margin: 0 auto 12px; }
.map-facade .help { margin-top: 12px; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* À propos */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-about { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.owner-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
.owner-card figcaption { display: flex; flex-direction: column; margin-top: 12px; }
.owner-card figcaption span { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: #fff; }
.feature { padding: clamp(24px, 3vw, 36px); }
.feature:nth-child(odd) { border-right: 1px solid var(--line); }
.feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.feature-icon .icon { width: 32px; height: 32px; color: var(--blue); margin-bottom: 14px; }
.feature h3 { font-weight: 700; font-size: 1.12rem; }
.feature p { margin: 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.urgent-box { background: var(--navy); color: #c9d6e8; border-radius: var(--r-card); padding: 28px; margin-bottom: 32px; }
.urgent-box-title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: #fff; font-family: var(--font-head); font-weight: 500; }
.urgent-box-title .icon { color: var(--amber); }
.urgent-box-phone { display: block; margin-bottom: 8px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.3rem); color: #fff; text-decoration: none; letter-spacing: -0.01em; }
.urgent-box p { font-size: 0.97rem; }
.coords h2 { font-size: 1.35rem; }
.coord-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.coord-list li { display: flex; gap: 12px; align-items: flex-start; }
.coord-list .icon { color: var(--blue); margin-top: 3px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 4px; }
.form-intro { color: var(--muted); font-size: 0.95rem; }

/* Formulaire */
.quote-form { display: grid; gap: 18px; margin-top: 8px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 500; color: var(--ink); font-size: 0.97rem; padding: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea, .field input[type="file"] {
	width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
	background: #fff; border: 1.5px solid #c5d0de; border-radius: var(--r-ctl); transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b7a8c; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(29 100 196 / 0.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.9rem; margin: 0; }
.help { color: var(--muted); font-size: 0.88rem; margin: 0; }
.req { color: var(--error); }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 10px; border: 1.5px solid #c5d0de; border-radius: var(--r-ctl); font-weight: 500; color: var(--ink); background: #fff; transition: all 0.15s; text-align: center; }
.choice input:checked + span { border-color: var(--navy); background: var(--blue-50); color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--navy); }
.field-check label { font-weight: 400; font-size: 0.93rem; color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form button[aria-busy="true"] { opacity: 0.75; pointer-events: none; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-ctl); margin-bottom: 20px; }
.notice-ok { background: #e9f6ef; border: 1px solid #b4dfc6; color: #14532d; }
.notice-ok .icon { color: var(--ok); margin-top: 3px; }
.notice-error { background: #fdecea; border: 1px solid #f5c2bd; color: #7a1a12; }
.notice strong { color: inherit; }

/* Réalisations : archive et fiche */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; }
.filters a .icon { width: 1em; height: 1em; }
.filters a:hover { border-color: var(--navy); }
.filters a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.empty { display: grid; place-items: center; gap: 8px; padding: 64px 24px; text-align: center; color: var(--muted); border: 1.5px dashed #c5d0de; border-radius: var(--r-card); }
.empty .icon { width: 40px; height: 40px; }
.work-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.work-main { margin-bottom: 32px; }
.work-main img { width: 100%; max-height: 720px; object-fit: cover; border-radius: var(--r-card); }
.work-single .prose { margin-bottom: 40px; }
.gallery-section h2 { font-size: 1.5rem; }
.gallery-grid { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.gallery-grid a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.05); }
.work-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.work-nav a { display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-ctl); color: var(--ink); text-decoration: none; font-weight: 500; }
.work-nav a span { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.work-nav a:hover { border-color: var(--navy); }
.work-nav-next { text-align: right; grid-column: 2; }

/* Visionneuse photo */
.lightbox-overlay { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; background: rgb(8 28 56 / 0.94); opacity: 0; transition: opacity 0.2s; }
.lightbox-overlay.is-open { opacity: 1; }
.lightbox-overlay img { max-width: 100%; max-height: 86vh; margin: 0 auto; border-radius: 8px; object-fit: contain; }
.lightbox-overlay button { width: 48px; height: 48px; margin: 0 auto; border-radius: 999px; border: 0; background: rgb(255 255 255 / 0.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox-overlay button:hover { background: rgb(255 255 255 / 0.24); }
.lightbox-overlay .lb-close { position: absolute; top: 16px; right: 16px; }
.lightbox-overlay .lb-prev .icon { transform: rotate(180deg); }

/* Liens-tuiles (404, page ville) */
.cards-3, .cards-2 { display: grid; gap: 16px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.mini-link { display: flex; flex-direction: column; gap: 4px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; color: var(--ink); text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s; }
.mini-link:hover { border-color: var(--navy); box-shadow: var(--shadow-md); color: var(--ink); }
.mini-link .icon { width: 28px; height: 28px; color: var(--blue); margin-bottom: 8px; }
.mini-link strong { font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; }
.mini-link span { color: var(--muted); font-size: 0.95rem; }

/* Contenu libre (éditeur WordPress) */
.entry-content h2 { font-size: 1.5rem; margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: 12px; }
.list-item + .list-item { margin-top: 32px; }

/* Pied de page */
.site-footer { background: var(--navy-900); color: #b7c6da; font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(48px, 6vw, 72px) var(--gutter); }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-title { font-family: var(--font-head); font-weight: 500; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #b7c6da; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-col address p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-col address .icon { color: var(--amber); margin-top: 3px; }
.site-footer .btn-accent { color: var(--navy-900); text-decoration: none; }
.site-footer .btn-accent:hover { color: var(--navy-900); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.88rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 20px; }
.footer-bottom p { margin: 0; }
.legal-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }
.credit a { display: inline-flex; align-items: center; gap: 6px; }
.credit .icon { width: 1.1em; height: 1.1em; color: #4fce5d; }
.credit strong { color: #fff; }

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

/* Apparition au défilement (désactivée si mouvement réduit) */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
	.js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.main-nav .menu a { padding: 10px 9px; font-size: 0.92rem; }
	.header-inner { gap: 16px; }
}

@media (max-width: 1080px) {
	.menu-toggle { display: inline-flex; }
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
	.main-nav {
		position: fixed; inset: calc(var(--header-h) + var(--topbar-h, 0px)) 0 0 0; z-index: 40;
		margin: 0; padding: 20px var(--gutter) 32px; background: var(--paper);
		overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
	}
	.nav-open .main-nav { visibility: visible; opacity: 1; transform: none; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu a { padding: 16px 4px; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--line); }
	.nav-mobile-cta { display: grid; gap: 12px; margin-top: 24px; }
	.nav-open { overflow: hidden; }
	.trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust-row li:nth-child(3) { border-left: 0; }
	.trust-row li:nth-child(n+3) { border-top: 1px solid var(--line); }
	.with-aside { grid-template-columns: 1fr; }
	.side-card { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	body { padding-bottom: 76px; }
	.topbar-mail { display: none; }
	.contact-side { display: contents; }
	.urgent-box { order: 1; margin-bottom: 0; }
	.form-card { order: 2; }
	.coords { order: 3; }
	.hero-grid, .alert-grid, .why-grid, .split, .split-about, .contact-grid, .page-hero.has-photo .page-hero-grid { grid-template-columns: 1fr; }
	.hero h1 { max-width: none; }
	.hero-media { max-width: 520px; }
	.hero-media::before { inset: 16px -12px -12px 16px; }
	.hero-img { aspect-ratio: 4 / 3; }
	.why-media img { aspect-ratio: 16 / 10; }
	.owner-card img { aspect-ratio: 4 / 3; }
	.work-grid, .work-grid-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.work-grid-feature .work-card:first-child { grid-row: auto; grid-column: 1 / -1; }
	.work-grid-feature .work-card:first-child .work-media { min-height: 0; aspect-ratio: 16 / 10; }
	.dep-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mobile-bar {
		display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgb(252 253 254 / 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
		border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgb(13 43 82 / 0.25);
	}
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: var(--r-ctl); font-family: var(--font-head); font-weight: 500; text-decoration: none; }
	.mobile-bar-call { background: var(--amber); color: var(--navy-900); }
	.mobile-bar-quote { background: var(--navy); color: #fff; }
	.cross-inner { grid-template-columns: auto 1fr; }
	.cross-inner .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 640px) {
	:root { --header-h: 64px; }
	body { font-size: 1rem; }
	.topbar { font-size: 0.8rem; }
	.topbar-extra { display: none; }
	.brand-logo { height: 38px; }
	.header-call { padding: 0; width: 46px; min-height: 46px; }
	.header-call-number { display: none; }
	.btn-row .btn { flex: 1 1 100%; }
	.trust-row li { padding: 16px 12px; font-size: 0.88rem; gap: 10px; }
	.trust-row .icon { width: 24px; height: 24px; }
	.service-grid, .why-list, .work-grid, .work-grid-feature, .zones-list, .feature-grid, .cards-3, .cards-2, .field-row, .work-nav { grid-template-columns: 1fr; }
	.feature:nth-child(odd) { border-right: 0; }
	.feature:not(:last-child) { border-bottom: 1px solid var(--line); }
	.choices { grid-template-columns: 1fr; }
	.dep-num { font-size: 2.1rem; }
	.dep-tile { padding: 18px; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.cta-band .btn-row { width: 100%; }
	.work-nav-next { grid-column: auto; }
	.issue { padding-left: 16px; grid-template-columns: 32px 1fr; }
}

/* ---------- Bannière principale plein cadre (v1.1) ---------- */
.hero-banner { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(520px, 74vh, 700px); padding: clamp(56px, 8vw, 104px) 0 clamp(96px, 10vw, 136px); background: var(--navy-900); color: #d6e0ee; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg picture, .hero-bg-img { display: block; width: 100%; height: 100%; }
.hero-bg-img { object-fit: cover; object-position: right center; }
.hero-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(8 28 56 / 0.96) 0%, rgb(8 28 56 / 0.88) 38%, rgb(8 28 56 / 0.45) 72%, rgb(8 28 56 / 0.25) 100%); }
.hero-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--amber); }
.hero-inner { position: relative; }
.hero-banner .hero-text { max-width: 640px; }
.hero-banner h1 { color: #fff; font-size: clamp(2.2rem, 1.3rem + 3vw, 3.6rem); line-height: 1.06; margin-bottom: 20px; }
.hero-banner .lead { color: #d6e0ee; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); max-width: 44ch; margin: 0; }
.eyebrow-on-dark { color: var(--amber); }
.hero-banner + .trust { position: relative; z-index: 2; margin-top: -56px; background: transparent; border: 0; }
.hero-banner + .trust .trust-row { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) {
	.hero-banner { min-height: 0; padding: 48px 0 96px; }
	.hero-banner::before { background: linear-gradient(180deg, rgb(8 28 56 / 0.78) 0%, rgb(8 28 56 / 0.9) 55%, rgb(8 28 56 / 0.96) 100%); }
	.hero-bg-img { object-position: 65% center; }
}
@media (max-width: 640px) {
	.hero-banner { padding: 40px 0 88px; }
	.hero-banner + .trust { margin-top: -48px; }
	.hero-banner + .trust .container { padding-inline: 12px; }
}

/* ---------- Header : menu burger jusqu'à 1240px (v1.2) ---------- */
@media (max-width: 1240px) {
	.menu-toggle { display: inline-flex; }
	.header-actions { margin-left: auto; }
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 40;
		margin: 0; padding: 20px var(--gutter) 32px; background: var(--paper);
		overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
	}
	.nav-open .main-nav { visibility: visible; opacity: 1; transform: none; }
	.main-nav .menu { flex-direction: column; gap: 0; max-width: 720px; margin: 0 auto; }
	.main-nav .menu a { padding: 16px 4px; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--line); }
	.nav-mobile-cta { display: grid; gap: 12px; margin: 24px auto 0; max-width: 720px; }
	.nav-open { overflow: hidden; }
}

/* ---------- Carte des zones (dessinée, sans Google Maps) v1.3 ---------- */
.zone-map { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(16px, 3vw, 28px); max-width: 520px; margin-inline: auto; box-shadow: var(--shadow-sm); }
.zone-map-svg { width: 100%; height: auto; display: block; }
.zm-dep path { stroke: #fff; stroke-width: 3; stroke-linejoin: round; transition: filter 0.2s, opacity 0.2s; }
.zm-dep:hover path, .zm-dep:focus-visible path { filter: brightness(1.08); }
.zm-93 path { fill: var(--navy); }
.zm-92 path { fill: #2a5ea8; }
.zm-94 path { fill: #3f78c6; }
.zm-75 path { fill: var(--amber); }
.zm-num { font-family: var(--font-head); font-weight: 700; font-size: 22px; fill: #fff; pointer-events: none; }
.zm-name { font-family: var(--font-body); font-size: 10.5px; fill: #e6eef9; pointer-events: none; }
.zm-75 .zm-num { fill: var(--navy-900); }
.zm-75 .zm-name { fill: var(--navy-900); font-size: 12px; font-weight: 600; }
.zm-pin circle { fill: var(--amber); stroke: #fff; stroke-width: 2.5; }
.zm-pin .zm-pulse { fill: rgb(245 163 0 / 0.3); stroke: none; }
.zm-pin-label { font-family: var(--font-head); font-weight: 500; font-size: 11px; fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
	.zm-pulse { transform-origin: center; transform-box: fill-box; animation: zm-pulse 2.4s ease-out infinite; }
	@keyframes zm-pulse { 0% { transform: scale(0.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
}
.zone-map figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-size: 0.97rem; }
.zone-map figcaption .link-arrow { display: flex; justify-content: center; margin-top: 6px; }
