/* =========================================================================
   Star Chassis — v9
   Layout (grids, columns, padding, backgrounds) lives in the GenerateBlocks
   blocks themselves → edit it in the GB sidebar.
   This file only holds fonts, typography, buttons and small details.
   No !important: anything you set in the editor always wins.
   ========================================================================= */

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--sc-ink: #17191d;
	--sc-text: #3d4248;
	--sc-muted: #646a70;
	--sc-gold: #c98a14;      /* text / links (AA contrast on light backgrounds) */
	--sc-gold-bright: #e4a126; /* buttons, accents */
	--sc-gold-light: #f2b743;
	--sc-bg: #fffdfa;
	--sc-cream: #faf7ef;
	--sc-soft: #f6f1e8;
	--sc-line: #e7dfd3;
	--sc-dark: #171b20;
	--sc-max: 1180px;
	--sc-serif: Georgia, "Times New Roman", Times, serif;
	--sc-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--sc-shadow: 0 10px 30px rgba(20, 24, 30, .06);
	--sc-header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	background: var(--sc-bg);
	color: var(--sc-text);
	font-family: var(--sc-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
.sc-wrap { width: min(calc(100% - 48px), var(--sc-max)); margin-left: auto; margin-right: auto; }
.sc-block-page { display: block; width: 100%; overflow-x: clip; }
.sc-block-page > *:first-child { margin-top: 0; }

.sc-skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10000; background: #fff; color: var(--sc-ink); padding: 10px 16px; border-radius: 6px; }
.sc-skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--sc-gold-bright); outline-offset: 3px; }

/* ---------- Typography helpers (classes on core blocks) ---------- */
.sc-kicker {
	margin: 0 0 14px;
	color: var(--sc-gold);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .16em;
	line-height: 1.4;
	text-transform: uppercase;
}
h1.sc-title, h2.sc-title, h3.sc-title {
	font-family: var(--sc-serif);
	font-weight: 400;
	color: var(--sc-ink);
	letter-spacing: -.02em;
	margin: 0 0 20px;
}
h1.sc-title { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.4rem); line-height: 1.04; }
h2.sc-title { font-size: clamp(2rem, 1.45rem + 1.7vw, 3rem); line-height: 1.1; margin-bottom: 0; }
h3.sc-title { font-size: 1.6rem; line-height: 1.2; }
:where(h2.sc-title + p) { margin-top: 20px; }

.sc-lead { font-size: 18px; line-height: 1.65; color: var(--sc-text); max-width: 540px; margin: 0; }
.sc-body { font-size: 17px; line-height: 1.75; color: var(--sc-muted); margin: 20px 0 0; }
.sc-checklist { font-size: 16px; line-height: 2; color: var(--sc-text); margin: 0; }

.sc-section-link { margin: 0; font-size: 14px; font-weight: 700; white-space: nowrap; }
.sc-section-link a, .sc-card-link a { color: var(--sc-gold); text-decoration: none; }
.sc-section-link a:hover, .sc-card-link a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Buttons ---------- */
.wp-block-buttons.sc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
:where([data-sc="cta"]) .wp-block-buttons { margin-top: 0; flex-shrink: 0; }
.wp-block-button.sc-btn-primary > a.wp-block-button__link,
.wp-block-button.sc-btn-secondary > a.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 26px;
	border-radius: 6px;
	font-family: var(--sc-sans);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.wp-block-button.sc-btn-primary > a.wp-block-button__link {
	background: var(--sc-gold-bright);
	color: #fff;
	border: 1px solid var(--sc-gold-bright);
	box-shadow: 0 8px 20px rgba(228, 161, 38, .28);
}
.wp-block-button.sc-btn-primary > a.wp-block-button__link:hover { background: #cf8f17; border-color: #cf8f17; color: #fff; transform: translateY(-1px); }
.wp-block-button.sc-btn-secondary > a.wp-block-button__link {
	background: #fff;
	color: var(--sc-ink);
	border: 1px solid #d9d1c4;
}
.wp-block-button.sc-btn-secondary > a.wp-block-button__link:hover { border-color: var(--sc-ink); color: var(--sc-ink); }

/* ---------- Images: fill / crop helpers ---------- */
.wp-block-image.sc-cover,
.wp-block-image.sc-card-image,
.wp-block-image.sc-project-image,
.wp-block-image.sc-ratio-43,
.wp-block-image.sc-ratio-54 { margin: 0; }
.wp-block-image.sc-cover img,
.wp-block-image.sc-card-image img,
.wp-block-image.sc-project-image img,
.wp-block-image.sc-ratio-43 img,
.wp-block-image.sc-ratio-54 img { display: block; width: 100%; object-fit: cover; }
.wp-block-image.sc-card-image img { aspect-ratio: 3 / 2; }
.wp-block-image.sc-project-image img { aspect-ratio: 4 / 3; transition: transform .4s ease; }
.wp-block-image.sc-ratio-43 img { aspect-ratio: 4 / 3; }
.wp-block-image.sc-ratio-54 img { aspect-ratio: 5 / 4; }
[data-sc="media-rounded"] img { border-radius: 10px; box-shadow: var(--sc-shadow); }

/* ---------- Hero ---------- */
[data-sc="hero-media"] .wp-block-image.sc-cover { position: absolute; inset: 0; }
[data-sc="hero-media"] .wp-block-image.sc-cover img { height: 100%; }
[data-sc="hero-media"]::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(90deg, #faf7ef 0%, rgba(250, 247, 239, .7) 8%, rgba(250, 247, 239, 0) 30%);
}
[data-sc="hero-points"] p {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--sc-text);
}
[data-sc="hero-points"] p::before { content: "✓"; color: var(--sc-gold-bright); font-weight: 800; margin-right: 8px; }

/* ---------- Service cards ---------- */
[data-sc="card"] { transition: transform .2s ease, box-shadow .2s ease; }
[data-sc="card"]:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20, 24, 30, .1); }
[data-sc="card-body"] h3 {
	font-family: var(--sc-serif);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--sc-ink);
	margin: 0 0 8px;
}
[data-sc="card-body"] .sc-card-desc { font-size: 15px; line-height: 1.55; color: var(--sc-muted); margin: 0 0 16px; }
[data-sc="card-body"] .sc-card-link { margin: auto 0 0; font-size: 14px; font-weight: 700; }

/* ---------- Experience ---------- */
[data-sc="stat"] h3 {
	font-family: var(--sc-serif);
	font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem);
	font-weight: 400;
	line-height: 1.1;
	color: var(--sc-gold);
	margin: 0 0 6px;
}
[data-sc="stat"] p { font-size: 14px; line-height: 1.45; color: var(--sc-muted); margin: 0; }
[data-sc="benefit"] h3 { font-family: var(--sc-sans); font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--sc-ink); margin: 0 0 6px; }
[data-sc="benefit"] p { font-size: 15px; line-height: 1.55; color: var(--sc-muted); margin: 0; }

/* ---------- Projects ---------- */
[data-sc="project"] { color: #fff; text-decoration: none; }
[data-sc="project"]::after {
	content: "";
	position: absolute;
	inset: 40% 0 0;
	background: linear-gradient(180deg, rgba(15, 18, 22, 0) 0%, rgba(15, 18, 22, .75) 100%);
	pointer-events: none;
}
[data-sc="project"]:hover .sc-project-image img { transform: scale(1.04); }
[data-sc="project"] .sc-project-label {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 16px;
	z-index: 2;
	margin: 0;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

/* ---------- Reviews ---------- */
[data-sc="review-card"] .sc-stars { color: var(--sc-gold-bright); letter-spacing: .12em; font-size: 16px; margin: 0 0 14px; }
[data-sc="review-card"] .sc-quote { font-size: 16px; line-height: 1.65; color: var(--sc-text); margin: 0 0 20px; flex-grow: 1; }
[data-sc="review-card"] .sc-review-author { font-size: 14px; color: var(--sc-muted); margin: 0; }
[data-sc="review-card"] .sc-review-author strong { color: var(--sc-ink); }

/* ---------- Dark CTA band ---------- */
[data-sc="cta"] h2.sc-title { color: #fff; }
[data-sc="cta"] .sc-kicker { color: var(--sc-gold-light); }
[data-sc="cta"] .sc-body { color: rgba(255, 255, 255, .75); margin-top: 12px; }

/* ---------- Info cards (contact / devis) ---------- */
[data-sc="info-card"] h2.sc-title { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
[data-sc="info-card"] h3 + p { margin-top: 16px; }
[data-sc="info-card"] h3 { font-family: var(--sc-serif); font-size: 26px; font-weight: 400; color: var(--sc-ink); margin: 0 0 4px; }
[data-sc="info-card"] .sc-body:first-of-type { margin-top: 16px; }
[data-sc="info-card"] a:not(.wp-block-button__link) { color: var(--sc-gold); }

/* =========================================================================
   Header (header.php)
   ========================================================================= */
.sc-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid #eee8de;
	box-shadow: 0 2px 14px rgba(20, 24, 30, .04);
	font-family: var(--sc-sans);
}
.admin-bar .sc-header { top: 32px; }
.sc-header-inner { min-height: var(--sc-header-h); display: flex; align-items: center; gap: 32px; }
.sc-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--sc-ink); text-decoration: none; font-weight: 800; font-size: 15px; line-height: .95; letter-spacing: .02em; }
.sc-brand .custom-logo { display: block; max-height: 46px; width: auto; }
.sc-star { color: var(--sc-gold-bright); font-size: 26px; line-height: 1; }
.sc-nav { margin-left: auto; }
.sc-menu { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.sc-menu li { margin: 0; }
.sc-menu a { position: relative; display: block; padding: 26px 0; color: var(--sc-ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.sc-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; background: var(--sc-gold-bright); transition: right .2s ease; }
.sc-menu a:hover::after,
.sc-menu .current-menu-item > a::after,
.sc-menu .current_page_item > a::after { right: 0; }
.sc-menu .sc-menu-cta { display: none; }
.sc-header-cta {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 20px; border-radius: 6px;
	background: var(--sc-gold-bright); color: #fff; text-decoration: none;
	font-size: 14px; font-weight: 700; white-space: nowrap;
	box-shadow: 0 7px 18px rgba(228, 161, 38, .25);
}
.sc-header-cta:hover { background: #cf8f17; color: #fff; }
.sc-menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.sc-menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--sc-ink); transition: transform .2s ease, opacity .2s ease; }
.sc-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sc-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.sc-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	:root { --sc-header-h: 64px; }
	.sc-menu-toggle { display: block; }
	.sc-header-cta { display: none; }
	.sc-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		padding: 8px 24px 24px;
		border-bottom: 1px solid var(--sc-line);
		box-shadow: 0 20px 30px rgba(20, 24, 30, .08);
	}
	.sc-nav.is-open { display: block; }
	.sc-menu { display: block; }
	.sc-menu li { border-bottom: 1px solid var(--sc-line); }
	.sc-menu a { padding: 14px 0; font-size: 16px; }
	.sc-menu a::after { display: none; }
	.sc-menu .sc-menu-cta { display: block; border-bottom: 0; padding-top: 16px; }
	.sc-menu .sc-menu-cta a { text-align: center; background: var(--sc-gold-bright); color: #fff; border-radius: 6px; }
}
@media (max-width: 782px) { .admin-bar .sc-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .sc-header { top: 0; } }

/* =========================================================================
   Footer (footer.php)
   ========================================================================= */
.sc-footer { position: relative; background: #12161b; color: rgba(255, 255, 255, .7); font-family: var(--sc-sans); padding-top: 72px; }
.sc-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--sc-gold-bright), var(--sc-gold-light) 50%, var(--sc-gold-bright)); }
.sc-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .15s ease; }
.sc-footer a:hover { color: #fff; }
.sc-footer-top { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sc-footer-intro { max-width: 520px; }
.sc-footer .sc-footer-brand { display: inline-block; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: .04em; margin-bottom: 14px; }
.sc-footer-brand span { color: var(--sc-gold-bright); }
.sc-footer-intro p { font-size: 15px; line-height: 1.7; margin: 0; }
.sc-footer .sc-footer-quote {
	display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 28px;
	min-width: 380px; padding: 26px 30px; border-radius: 14px;
	background: linear-gradient(135deg, rgba(228, 161, 38, .16), rgba(228, 161, 38, .04));
	border: 1px solid rgba(228, 161, 38, .35); color: #fff;
}
.sc-footer .sc-footer-quote:hover { border-color: var(--sc-gold-bright); background: linear-gradient(135deg, rgba(228, 161, 38, .24), rgba(228, 161, 38, .06)); }
.sc-footer-quote-label { grid-column: 1; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sc-gold-light); }
.sc-footer-quote-title { grid-column: 1; font-family: var(--sc-serif); font-size: 24px; line-height: 1.25; margin-top: 4px; }
.sc-footer-quote-arrow { grid-column: 2; grid-row: 1 / 3; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sc-gold-bright); color: #fff; font-size: 22px; transition: transform .2s ease; }
.sc-footer-quote:hover .sc-footer-quote-arrow { transform: translateX(4px); }
.sc-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 48px; padding: 48px 0 56px; }
.sc-footer .sc-footer-title { color: #fff; font-family: var(--sc-sans); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 20px; }
.sc-footer-col ul { list-style: none; margin: 0; padding: 0; }
.sc-footer-col li { margin: 0 0 11px; font-size: 15px; line-height: 1.5; }
.sc-footer-col:first-child ul { columns: 2; column-gap: 24px; }
.sc-footer-col:first-child li { break-inside: avoid; }
.sc-footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.sc-footer-contact svg { flex-shrink: 0; margin-top: 2px; color: var(--sc-gold-bright); }
.sc-footer-social { display: flex; gap: 16px; margin: 20px 0 0; font-size: 14px; font-weight: 700; }
.sc-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; }
.sc-footer-bottom .sc-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, .5); }
.sc-footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.sc-footer-bottom a { color: rgba(255, 255, 255, .55); }
.sc-footer .sc-to-top { color: var(--sc-gold-light); font-weight: 700; }
@media (max-width: 960px) {
	.sc-footer-top { flex-direction: column; align-items: flex-start; }
	.sc-footer .sc-footer-quote { min-width: 0; width: 100%; }
	.sc-footer-grid { grid-template-columns: 1fr 1fr; }
	.sc-footer-col:first-child { grid-column: 1 / -1; }
	.sc-footer-col:first-child ul { columns: 3; }
}
@media (max-width: 600px) {
	.sc-wrap { width: calc(100% - 32px); }
	.sc-footer { padding-top: 56px; }
	.sc-footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 44px; }
	.sc-footer-col:first-child ul { columns: 2; }
	.sc-footer-quote-title { font-size: 20px; }
	.sc-footer .sc-footer-quote { padding: 22px; }
	.sc-footer-bottom .sc-wrap { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   v10 components
   ========================================================================= */
/* Header: phone + services dropdown */
.sc-header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--sc-ink); text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; }
.sc-header-phone svg { color: var(--sc-gold-bright); }
.sc-header-phone:hover { color: var(--sc-gold); }
.sc-menu .menu-item-has-children { position: relative; }
.sc-menu .menu-item-has-children > a { padding-right: 16px; }
.sc-menu .menu-item-has-children > a::before { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.sc-menu .sub-menu {
	position: absolute; top: 100%; left: -18px; z-index: 50;
	min-width: 270px; margin: 0; padding: 10px; list-style: none;
	background: #fff; border: 1px solid var(--sc-line); border-radius: 12px; box-shadow: 0 20px 40px rgba(20, 24, 30, .12);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.sc-menu .menu-item-has-children:hover > .sub-menu,
.sc-menu .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sc-menu .sub-menu a { padding: 10px 14px; font-size: 15px; font-weight: 600; border-radius: 8px; }
.sc-menu .sub-menu a::after { display: none; }
.sc-menu .sub-menu a:hover, .sc-menu .sub-menu .current-menu-item > a { background: var(--sc-cream); color: var(--sc-gold); }
@media (max-width: 1240px) { .sc-header-phone span { display: none; } .sc-menu { gap: 24px; } }
@media (max-width: 960px) {
	.sc-header-phone { margin-left: auto; width: 44px; height: 44px; justify-content: center; border: 1px solid var(--sc-line); border-radius: 50%; }
	.sc-header-phone { order: 2; }
	.sc-menu-toggle { order: 3; margin-left: 0; }
	.sc-menu .menu-item-has-children > a::before { display: none; }
	.sc-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; }
	.sc-menu .sub-menu li { border-bottom: 0; }
	.sc-menu .sub-menu a { padding: 9px 0; font-size: 15px; color: var(--sc-muted); }
}

/* Breadcrumb, tags, chips, checks */
.sc-breadcrumb { margin: 0 0 22px; font-size: 14px; color: var(--sc-muted); }
.sc-breadcrumb a { color: var(--sc-ink); text-decoration: none; font-weight: 600; }
.sc-breadcrumb a:hover { color: var(--sc-gold); }
.sc-breadcrumb span { margin: 0 6px; color: var(--sc-gold-bright); }
.sc-tag { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sc-gold); }
.sc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
:where([data-sc="center"]) .sc-chips { justify-content: center; }
:where([data-sc="center"]) .sc-lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.sc-chips a { display: inline-block; padding: 9px 16px; border: 1px solid var(--sc-line); border-radius: 999px; background: #fff; color: var(--sc-ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .15s ease, color .15s ease; }
.sc-chips a:hover { border-color: var(--sc-gold-bright); color: var(--sc-gold); }
ul.sc-checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
ul.sc-checks li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 600; color: var(--sc-text); }
ul.sc-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--sc-gold-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* Ghost button (on dark backgrounds) */
.wp-block-button.sc-btn-ghost > a.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; padding: 15px 26px; border-radius: 6px;
	font-family: var(--sc-sans); font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none;
	background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35);
}
.wp-block-button.sc-btn-ghost > a.wp-block-button__link:hover { border-color: #fff; color: #fff; }

/* CTA panel */
[data-sc="cta-panel"]::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(228, 161, 38, .35), rgba(228, 161, 38, 0) 65%); pointer-events: none; }
[data-sc="cta-panel"]::after { content: "★"; position: absolute; right: 40px; bottom: -40px; font-size: 220px; line-height: 1; color: rgba(255, 255, 255, .03); pointer-events: none; }
[data-sc="cta-panel"] h2.sc-title { color: #fff; }
[data-sc="cta-panel"] .sc-kicker { color: var(--sc-gold-light); }
[data-sc="cta-panel"] .sc-body { color: rgba(255, 255, 255, .75); margin-top: 14px; }
[data-sc="cta-panel"] .wp-block-buttons.sc-actions { margin-top: 0; }

/* Dark hero (À propos) */
[data-sc="dark-hero"] h1.sc-title { color: #fff; }
[data-sc="dark-hero"] .sc-kicker { color: var(--sc-gold-light); }
[data-sc="dark-hero"] .sc-lead { color: rgba(255, 255, 255, .78); }
[data-sc="dark-hero"] .sc-breadcrumb, [data-sc="dark-hero"] .sc-breadcrumb a { color: rgba(255, 255, 255, .7); }
[data-sc="framed"] .wp-block-image { position: relative; z-index: 1; }
[data-sc="framed"] img { border-radius: 12px; }
[data-sc="framed"]::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 2px solid var(--sc-gold-bright); border-radius: 14px; z-index: 0; }

/* Steps + numbered cards */
.sc-step-num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 0 0 20px; border: 1.5px solid var(--sc-gold-bright); border-radius: 50%; color: var(--sc-gold); font-size: 14px; font-weight: 800; letter-spacing: .04em; }
[data-sc="step"] h3, [data-sc="solution"] h3, [data-sc="value-card"] h3 { font-family: var(--sc-serif); font-size: 22px; font-weight: 400; line-height: 1.25; color: var(--sc-ink); margin: 0 0 10px; }
[data-sc="step"] p:not(.sc-step-num), [data-sc="solution"] p:not(.sc-step-num), [data-sc="value-card"] p:not(.sc-step-num) { font-size: 15px; line-height: 1.6; color: var(--sc-muted); margin: 0; }
[data-sc="step"]::after { content: ""; position: absolute; top: 23px; left: 62px; right: 8px; height: 1px; background: linear-gradient(90deg, rgba(228, 161, 38, .5), rgba(228, 161, 38, 0)); }
[data-sc="step"]:last-child::after { display: none; }
[data-sc="center"] .sc-body { margin-left: auto; margin-right: auto; max-width: 620px; }

/* FAQ (core Details block) */
[data-sc="faq-list"] { border-top: 1px solid var(--sc-line); }
details.sc-faq { border-bottom: 1px solid var(--sc-line); padding: 0; margin: 0; }
details.sc-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--sc-ink); }
details.sc-faq summary::-webkit-details-marker { display: none; }
details.sc-faq summary::after { content: "+"; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sc-cream); color: var(--sc-gold); font-size: 22px; font-weight: 500; transition: transform .2s ease; }
details.sc-faq[open] summary::after { content: "–"; }
details.sc-faq summary:hover { color: var(--sc-gold); }
details.sc-faq p { margin: 0 0 24px; font-size: 16px; line-height: 1.7; color: var(--sc-muted); max-width: 640px; }

/* Stats band */
[data-sc="stats-band"] [data-sc="stat"] p { font-size: 15px; }
[data-sc="stats-band"] [data-sc="stat"] { text-align: left; }

/* Timeline (À propos) */
[data-sc="timeline"] { position: relative; }
[data-sc="timeline"]::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 48px; width: 2px; background: linear-gradient(180deg, var(--sc-gold-bright), rgba(228, 161, 38, .2)); }
[data-sc="timeline-item"]::before { content: ""; position: absolute; left: 3px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--sc-gold-bright); box-sizing: border-box; }
[data-sc="timeline-item"] h3 { font-family: var(--sc-serif); font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); font-weight: 400; line-height: 1.25; color: var(--sc-ink); margin: 0 0 10px; }
[data-sc="timeline-item"] p:not(.sc-tag) { font-size: 16px; line-height: 1.7; color: var(--sc-muted); margin: 0; }
@media (max-width: 767px) { [data-sc="framed"]::before { inset: 14px -8px -14px 14px; } [data-sc="framed"] { margin-bottom: 20px; margin-right: 8px; } }
@media (max-width: 767px) { [data-sc="timeline"]::before { left: 7px; } [data-sc="timeline-item"]::before { left: -1px; } }

/* Keywords + contact lists */
ul.sc-keywords { list-style: none; margin: 18px 0 32px; padding: 0; columns: 2; column-gap: 24px; }
ul.sc-keywords li { position: relative; padding-left: 18px; margin: 0 0 10px; font-size: 15px; color: var(--sc-text); break-inside: avoid; }
ul.sc-keywords li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--sc-gold-bright); }
ul.sc-contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
ul.sc-contact-list li { font-size: 17px; line-height: 1.5; color: var(--sc-text); }
ul.sc-contact-list strong { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sc-muted); margin-bottom: 2px; }
ul.sc-contact-list a { color: var(--sc-ink); font-weight: 700; text-decoration: none; }
ul.sc-contact-list a:hover { color: var(--sc-gold); }
[data-sc="info-card"] h3 + ul { margin-top: 18px; }
[data-sc="info-card"] ul + h3 { margin-top: 8px; }
@media (max-width: 600px) { ul.sc-keywords { columns: 1; } }

/* =========================================================================
   Mobile tweaks for content
   ========================================================================= */
@media (max-width: 1024px) {
	[data-sc="hero-media"]::before { background: linear-gradient(90deg, #faf7ef 0%, rgba(250, 247, 239, 0) 22%); }
}
@media (max-width: 767px) {
	[data-sc="hero-media"]::before { display: none; }
	.sc-lead { font-size: 17px; }
	.sc-body { font-size: 16px; }
	.wp-block-buttons.sc-actions { margin-top: 26px; }
	.sc-section-link { white-space: normal; }
	[data-sc="card-body"] h3 { font-size: 18px; }
	[data-sc="card-body"] .sc-card-desc { font-size: 14px; }
	[data-sc="project"] .sc-project-label { left: 12px; right: 12px; bottom: 10px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   Réalisations post type templates (archive-realisation.php / single-realisation.php)
   ========================================================================= */
.sc-page-hero { padding: 64px 0; background: var(--sc-cream); }
.sc-section { padding: 72px 0; }
.sc-breadcrumb { font-size: 14px; color: var(--sc-muted); margin-bottom: 16px; }
.sc-breadcrumb a { color: var(--sc-gold); text-decoration: none; }
.sc-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sc-gallery article { background: #fff; border: 1px solid var(--sc-line); border-radius: 8px; overflow: hidden; box-shadow: var(--sc-shadow); }
.sc-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sc-gallery article > div { padding: 18px 20px 22px; }
.sc-gallery h2 { font-family: var(--sc-serif); font-weight: 400; font-size: 22px; margin: 0 0 6px; }
.sc-gallery h2 a { color: var(--sc-ink); text-decoration: none; }
.sc-gallery p { font-size: 15px; color: var(--sc-muted); margin: 0; }
.sc-featured { border-radius: 10px; overflow: hidden; box-shadow: var(--sc-shadow); margin: 0 0 40px; }
.sc-featured img { display: block; width: 100%; }
.sc-entry { max-width: 780px; font-size: 17px; line-height: 1.75; }
.sc-btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 26px; border-radius: 6px; font-size: 15px; font-weight: 700; text-decoration: none; }
.sc-btn-primary-link { background: var(--sc-gold-bright); color: #fff; }
.sc-btn-primary-link:hover { background: #cf8f17; color: #fff; }
.sc-cta-band { background: var(--sc-dark); color: #fff; padding: 64px 0; }
.sc-cta-band .sc-wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.sc-cta-band h2.sc-title { color: #fff; }
.sc-cta-band p { color: rgba(255, 255, 255, .75); margin: 12px 0 0; }
@media (max-width: 960px) { .sc-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sc-gallery { grid-template-columns: 1fr; } .sc-section { padding: 56px 0; } }

/* Links inside body text */
.sc-body a, .sc-lead a { color: var(--sc-gold); text-decoration: underline; text-underline-offset: 3px; }

/* Homepage video */
.wp-block-video.sc-video { position: relative; margin: 0; }
.wp-block-video.sc-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--sc-dark); }
.sc-video-sound {
	position: absolute; right: 20px; bottom: 20px; z-index: 2;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
	background: rgba(15, 18, 22, .6); color: #fff; font-family: var(--sc-sans); font-size: 14px; font-weight: 700; cursor: pointer;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .15s ease, border-color .15s ease;
}
.sc-video-sound:hover { background: var(--sc-gold-bright); border-color: var(--sc-gold-bright); }
@media (max-width: 600px) { .sc-video-sound { right: 10px; bottom: 10px; padding: 8px 12px; font-size: 13px; } }

/* Communes (zone d'intervention) */
.sc-chips.sc-communes span { display: inline-block; padding: 9px 16px; border: 1px solid var(--sc-line); border-radius: 999px; background: #fff; color: var(--sc-ink); font-size: 14px; font-weight: 600; }
.sc-chips.sc-communes { justify-content: center; margin-top: 0; }

/* Logo in header */
.sc-brand .sc-logo { display: block; height: 58px; width: auto; }
@media (max-width: 960px) { .sc-brand .sc-logo { height: 46px; } }

/* Floating video (hero corner → docked bottom-right while scrolling) */
.sc-hero-video {
	position: absolute; right: 28px; bottom: 28px; z-index: 4;
	width: 300px; aspect-ratio: 16 / 9; overflow: visible;
	border-radius: 14px; background: var(--sc-dark);
	box-shadow: 0 0 0 3px #fff, 0 18px 40px rgba(10, 12, 16, .35);
	transition: box-shadow .25s ease, transform .25s ease;
}
.sc-hero-video[hidden] { display: none; }
.sc-hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.sc-hero-video:hover { transform: translateY(-3px); box-shadow: 0 0 0 3px #fff, 0 24px 50px rgba(10, 12, 16, .45); }
.sc-hero-video.is-docked {
	position: fixed; right: 24px; bottom: 24px; z-index: 9990; width: 280px;
	animation: sc-dock-in .35s ease both;
}
.admin-bar .sc-hero-video.is-docked { bottom: 24px; }
@keyframes sc-dock-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.sc-hero-video-open {
	position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start;
	padding: 10px; border: 0; border-radius: 14px; background: transparent; cursor: pointer;
}
.sc-hero-video-open:focus-visible { outline: 3px solid var(--sc-gold-bright); outline-offset: 3px; }
.sc-hero-video-pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px;
	background: rgba(15, 18, 22, .75); color: #fff; font-family: var(--sc-sans); font-size: 13px; font-weight: 700;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .15s ease;
}
.sc-hero-video-play { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--sc-gold-bright); transition: background .15s ease; }
.sc-hero-video-play::after { content: ""; position: absolute; left: 10px; top: 8px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #fff; }
.sc-hero-video-open:hover .sc-hero-video-pill, .sc-hero-video-open:focus-visible .sc-hero-video-pill { background: var(--sc-gold-bright); }
.sc-hero-video-open:hover .sc-hero-video-play, .sc-hero-video-open:focus-visible .sc-hero-video-play { background: #fff; }
.sc-hero-video-open:hover .sc-hero-video-play::after, .sc-hero-video-open:focus-visible .sc-hero-video-play::after { border-left-color: var(--sc-gold-bright); }
.sc-hero-video-close {
	position: absolute; top: -12px; right: -12px; z-index: 2; display: none;
	width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%;
	background: #fff; color: var(--sc-ink); font-size: 20px; line-height: 30px; text-align: center; cursor: pointer;
	box-shadow: 0 4px 12px rgba(10, 12, 16, .25);
}
.sc-hero-video.is-docked .sc-hero-video-close { display: block; }
.sc-hero-video-close:hover, .sc-hero-video-close:focus-visible { background: var(--sc-gold-bright); color: #fff; outline: none; }
@media (max-width: 1024px) { .sc-hero-video { width: 240px; right: 20px; bottom: 20px; } .sc-hero-video.is-docked { width: 240px; } }
@media (max-width: 767px) {
	.sc-hero-video { width: 168px; right: 12px; bottom: 12px; border-radius: 10px; box-shadow: 0 0 0 2px #fff, 0 12px 28px rgba(10, 12, 16, .35); }
	.sc-hero-video video, .sc-hero-video-open { border-radius: 10px; }
	.sc-hero-video.is-docked { width: 160px; right: 12px; bottom: 12px; }
	.sc-hero-video-label { display: none; }
	.sc-hero-video-pill { padding: 4px; }
	.sc-hero-video-open { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) { .sc-hero-video.is-docked { animation: none; } }

/* Video lightbox */
.sc-video-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10, 12, 16, .85); }
.sc-video-modal[hidden] { display: none; }
.sc-video-modal-inner { position: relative; width: min(1100px, 100%); }
.sc-video-modal video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; }
.sc-video-modal-close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--sc-ink); font-size: 26px; line-height: 1; cursor: pointer; }
body.sc-modal-open { overflow: hidden; }

/* =========================================================================
   Mobile hero — full-bleed photo, white text, icon features
   (theme-level so it also applies to an edited homepage)
   ========================================================================= */
@media (max-width: 767px) {
	[data-sc="hero"] { position: relative; background-color: #15191f; }
	[data-sc="hero"] > .gb-element { display: block; position: relative; min-height: 0; }
	[data-sc="hero"] [data-sc="hero-media"] { position: absolute; inset: 0; min-height: 0; order: 0; }
	[data-sc="hero"] [data-sc="hero-media"]::before {
		display: block; z-index: 2;
		background: linear-gradient(180deg, rgba(12, 15, 19, .05) 0%, rgba(12, 15, 19, .25) 26%, rgba(12, 15, 19, .82) 48%, rgba(12, 15, 19, .94) 100%);
	}
	[data-sc="hero"] [data-sc="hero-copy"] {
		position: relative; z-index: 3; color: #fff;
		padding: 250px 16px 28px; min-height: 0;
	}
	[data-sc="hero"] [data-sc="hero-copy"] .sc-kicker { color: var(--sc-gold-light); font-size: 11px; letter-spacing: .12em; margin-bottom: 10px; }
	[data-sc="hero"] [data-sc="hero-copy"] h1.sc-title { color: #fff; font-size: clamp(2.2rem, 10vw, 2.8rem); line-height: 1.08; margin-bottom: 14px; }
	[data-sc="hero"] [data-sc="hero-copy"] .sc-lead { color: rgba(255, 255, 255, .88); font-size: 16px; line-height: 1.6; }
	[data-sc="hero"] .wp-block-buttons.sc-actions { flex-wrap: nowrap; gap: 10px; margin-top: 22px; }
	[data-sc="hero"] .wp-block-buttons.sc-actions > .wp-block-button { flex: 1 1 0; min-width: 0; }
	[data-sc="hero"] .wp-block-buttons.sc-actions .wp-block-button__link { width: 100%; padding: 14px 10px; font-size: 14px; white-space: nowrap; }
	[data-sc="hero"] .wp-block-button.sc-btn-secondary > a.wp-block-button__link { background: #fff; border-color: #fff; }
	[data-sc="hero"] [data-sc="hero-points"] {
		display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px;
	}
	[data-sc="hero"] [data-sc="hero-points"] p {
		display: flex; flex-direction: column; align-items: center; gap: 8px;
		text-align: center; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3;
	}
	[data-sc="hero"] [data-sc="hero-points"] p::before {
		content: ""; display: block; width: 28px; height: 28px; margin: 0;
		background-color: var(--sc-gold-bright);
		-webkit-mask: var(--sc-icon) center / contain no-repeat; mask: var(--sc-icon) center / contain no-repeat;
	}
	[data-sc="hero"] [data-sc="hero-points"] p:nth-child(1) { --sc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6 3h12l4 6-10 12L2 9z'/%3E%3Cpath d='M2 9h20M9 3l3 18 3-18'/%3E%3C/svg%3E"); }
	[data-sc="hero"] [data-sc="hero-points"] p:nth-child(2) { --sc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
	[data-sc="hero"] [data-sc="hero-points"] p:nth-child(3) { --sc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-2a8 8 0 0 1 16 0v2'/%3E%3Crect x='2' y='14' width='5' height='6' rx='1.5'/%3E%3Crect x='17' y='14' width='5' height='6' rx='1.5'/%3E%3Cpath d='M20 20a4 4 0 0 1-4 3h-3'/%3E%3C/svg%3E"); }
}

/* =========================================================================
   Blog ("Conseils")
   ========================================================================= */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sc-center { text-align: center; }
.sc-center .sc-lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.sc-center .sc-chips { justify-content: center; }
.sc-blog-hero { padding: 56px 0 64px; }
.sc-blog-hero h1.sc-title { max-width: 820px; margin-left: auto; margin-right: auto; }

.sc-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sc-post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sc-line); border-radius: 10px; overflow: hidden; box-shadow: var(--sc-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.sc-post-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20, 24, 30, .1); }
.sc-post-card-media { display: block; overflow: hidden; }
.sc-post-card-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s ease; }
.sc-post-card:hover .sc-post-card-media img { transform: scale(1.04); }
.sc-post-card-body { display: flex; flex-direction: column; flex-grow: 1; padding: 22px 24px 26px; }
.sc-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 12px; font-size: 13px; color: var(--sc-muted); }
.sc-post-meta .sc-tag { margin: 0; }
.sc-post-card-title { font-family: var(--sc-serif); font-size: 22px; font-weight: 400; line-height: 1.25; margin: 0 0 10px; }
.sc-post-card-title a { color: var(--sc-ink); text-decoration: none; }
.sc-post-card-title a:hover { color: var(--sc-gold); }
.sc-post-card-excerpt { font-size: 15px; line-height: 1.6; color: var(--sc-muted); margin: 0 0 18px; }
.sc-post-card-link { margin-top: auto; color: var(--sc-gold); font-size: 14px; font-weight: 700; text-decoration: none; }
.sc-post-card-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.navigation.pagination { margin-top: 48px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.navigation.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--sc-line); border-radius: 8px; background: #fff; color: var(--sc-ink); font-weight: 700; text-decoration: none; }
.navigation.pagination .page-numbers.current, .navigation.pagination a.page-numbers:hover { background: var(--sc-gold-bright); border-color: var(--sc-gold-bright); color: #fff; }

/* Single article */
.sc-article-header { background: var(--sc-cream); padding: 48px 0 0; }
.sc-article-narrow { max-width: 780px; }
.sc-article-header h1.sc-title { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem); }
.sc-article-header .sc-kicker a { color: inherit; text-decoration: none; }
.sc-article-header .sc-lead { max-width: none; }
.sc-article-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 22px 0 40px; font-size: 14px; color: var(--sc-muted); }
.sc-article-cover { max-width: 1000px; position: relative; margin-bottom: -80px; }
.sc-article-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; box-shadow: 0 20px 50px rgba(20, 24, 30, .14); }
.sc-article-content { padding-top: 128px; }
.sc-article-header:not(:has(.sc-article-cover)) + .sc-article-narrow .sc-article-content { padding-top: 48px; }
.sc-entry { font-size: 18px; line-height: 1.8; color: var(--sc-text); }
.sc-entry > * { margin-top: 0; margin-bottom: 24px; }
.sc-entry h2 { font-family: var(--sc-serif); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.2; color: var(--sc-ink); margin: 48px 0 16px; }
.sc-entry h3 { font-size: 20px; font-weight: 700; color: var(--sc-ink); margin: 32px 0 12px; }
.sc-entry a { color: var(--sc-gold); text-decoration: underline; text-underline-offset: 3px; }
.sc-entry ul, .sc-entry ol { padding-left: 0; list-style: none; }
.sc-entry ul li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.sc-entry ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--sc-gold-bright); }
.sc-entry ol { counter-reset: sc; }
.sc-entry ol li { position: relative; padding-left: 48px; margin-bottom: 16px; counter-increment: sc; }
.sc-entry ol li::before { content: counter(sc); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--sc-cream); border: 1.5px solid var(--sc-gold-bright); color: var(--sc-gold); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; line-height: 1; }
.sc-entry .sc-article-cta { margin-top: 40px; padding: 24px 28px; background: var(--sc-cream); border-left: 4px solid var(--sc-gold-bright); border-radius: 8px; font-size: 17px; }
.sc-article-service { display: flex; align-items: center; gap: 20px; margin: 40px 0 0; padding: 18px; background: #fff; border: 1px solid var(--sc-line); border-radius: 12px; box-shadow: var(--sc-shadow); }
.sc-article-service img { width: 160px; height: 120px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.sc-article-service .sc-tag { margin-bottom: 4px; }
.sc-article-service-title { font-family: var(--sc-serif); font-size: 22px; line-height: 1.25; color: var(--sc-ink); margin: 0 0 8px; }
.sc-article-service a { color: var(--sc-gold); font-weight: 700; text-decoration: none; }
.sc-article-tags { margin: 28px 0 0; }
.sc-related-posts { background: var(--sc-soft); margin-top: 72px; }
.sc-related-posts h2.sc-title { margin-bottom: 36px; }

/* Article CTA */
.sc-post-cta { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 56px 64px; border-radius: 16px; background: var(--sc-dark); color: #fff; }
.sc-post-cta::before { content: ""; position: absolute; width: 480px; height: 480px; right: -160px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(228, 161, 38, .35), rgba(228, 161, 38, 0) 65%); pointer-events: none; }
.sc-post-cta > * { position: relative; }
.sc-post-cta h2.sc-title { color: #fff; }
.sc-post-cta .sc-kicker { color: var(--sc-gold-light); }
.sc-post-cta p { color: rgba(255, 255, 255, .75); margin: 12px 0 0; }
.sc-post-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.sc-btn-ghost-link { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.sc-btn-ghost-link:hover { border-color: #fff; color: #fff; }

@media (max-width: 960px) {
	.sc-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sc-post-cta { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
}
@media (max-width: 600px) {
	.sc-post-grid { grid-template-columns: 1fr; gap: 20px; }
	.sc-article-header { padding-top: 24px; }
	.sc-article-cover { margin-bottom: -40px; }
	.sc-article-content { padding-top: 72px; }
	.sc-entry { font-size: 17px; }
	.sc-article-service { flex-direction: column; align-items: flex-start; }
	.sc-article-service img { width: 100%; height: 160px; }
	.sc-post-cta { padding: 32px 22px; }
}
@media (max-width: 767px) {
	.sc-hero-video-close { top: -10px; right: -4px; }
}

/* Mobile: hide the floating video, show a fixed "Demander un devis" button */
.sc-mobile-devis { display: none; }
@media (max-width: 767px) {
	.sc-hero-video { display: none !important; }
	.sc-mobile-devis {
		position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 9990;
		display: inline-flex; align-items: center; gap: 8px;
		padding: 14px 20px; border-radius: 999px;
		background: var(--sc-gold-bright); color: #fff; text-decoration: none;
		font-family: var(--sc-sans); font-size: 15px; font-weight: 800; line-height: 1;
		box-shadow: 0 10px 28px rgba(228, 161, 38, .45), 0 2px 6px rgba(20, 24, 30, .2);
		animation: sc-devis-in .4s ease .3s both;
	}
	.sc-mobile-devis:hover, .sc-mobile-devis:focus-visible { background: #cf8f17; color: #fff; }
	.sc-mobile-devis:focus-visible { outline: 3px solid var(--sc-ink); outline-offset: 3px; }
	body.sc-menu-open .sc-mobile-devis, body.sc-modal-open .sc-mobile-devis { display: none; }
	.sc-footer-bottom { padding-bottom: 88px; }
}
@keyframes sc-devis-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sc-mobile-devis { animation: none; } }

/* Article: key points + FAQ */
.sc-entry .sc-keypoints { margin: 8px 0 40px; padding: 24px 28px; background: #fff; border: 1px solid var(--sc-line); border-radius: 12px; box-shadow: var(--sc-shadow); }
.sc-entry .sc-keypoints-title { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sc-gold); }
.sc-entry .sc-keypoints ul { margin: 0; }
.sc-entry .sc-keypoints li { font-size: 16px; margin-bottom: 8px; }
.sc-entry .sc-keypoints li:last-child { margin-bottom: 0; }
.sc-entry .sc-article-faq { border-top: 1px solid var(--sc-line); margin-bottom: 32px; }
.sc-entry details.sc-faq summary { font-size: 17px; }
.sc-entry details.sc-faq p { font-size: 16px; }
