/* ==========================================================================
   Les Couvreurs de Rueil — feuille de style
   Toutes les couleurs et polices sont centralisées dans :root.
   ========================================================================== */

:root {
  /* Rouge de la marque (bâche et véhicules) décliné en tons profonds */
  --red-950: #1d0604;
  --red-900: #2c0806;
  --red-800: #5c120c;
  --red-700: #8f1b14;
  --red-600: #c4261d;
  --red-500: #dc3a2f;
  --red-50: #fcefec;

  /* Bleu marine (seconde couleur de la marque) */
  --navy-900: #13213f;
  --navy-700: #26406f;

  /* Accent doré, utilisé sur fond sombre */
  --gold: #ecc796;
  --gold-soft: #f6e2c5;

  /* Neutres */
  --cream: #fffcf8;
  --sand: #f6f1ea;
  --sand-2: #ece5da;
  --line: #e8e0d4;
  --ink: #17181c;
  --ink-2: #444852;
  --muted: #6e7380;
  --white: #fff;

  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgba(29, 6, 4, .05), 0 6px 18px rgba(29, 6, 4, .05);
  --shadow: 0 26px 60px -26px rgba(29, 6, 4, .45);
  --container: 1200px;
  --header-h: 78px;

  --hero-bg:
    radial-gradient(900px 520px at 88% 0%, rgba(236, 199, 150, .16), transparent 62%),
    linear-gradient(115deg, var(--red-950) 0%, #4a0e09 48%, #95201a 100%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; color: var(--navy-900); }
h1, h2 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.012em; }
h2 { font-size: clamp(1.95rem, 1.25rem + 2.3vw, 3.2rem); }
h3 { font-size: 1.15rem; font-weight: 750; letter-spacing: -.005em; }
strong { font-weight: 750; }
ul, ol { padding-left: 1.2em; }
::selection { background: var(--red-600); color: #fff; }

:focus-visible { outline: 3px solid var(--red-500); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--gold); }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { max-width: 860px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--red-600); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Bandeau supérieur ---------- */
.topbar { background: var(--red-950); color: #ead9cf; font-size: 13px; }
.topbar ul { list-style: none; margin: 0; padding: 9px 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 34px; }
.topbar strong { color: #fff; }
.topbar li { display: inline-flex; align-items: center; gap: 8px; }
.topbar li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .7; margin-right: 2px; }
@media (max-width: 760px) {
  .topbar .hide-sm { display: none; }
  .topbar ul { gap: 4px 18px; }
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 248, .95);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(29, 6, 4, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 48px; height: 48px; flex: none; filter: drop-shadow(0 6px 12px rgba(196, 38, 29, .25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 23px; color: var(--navy-900); letter-spacing: -.015em; }
.brand-sub { display: flex; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--red-600); margin-top: 6px; }
.brand-sub::after { content: ""; flex: 1; height: 2px; min-width: 28px; background: repeating-linear-gradient(90deg, var(--red-600) 0 6px, transparent 6px 9px); opacity: .55; }

.nav { display: flex; align-items: center; gap: 14px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 13px; border-radius: 11px;
  font: 700 14.5px/1.2 var(--font-sans); color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer; transition: color .15s, background-color .15s;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link.is-active, .has-sub.open > .nav-link { color: var(--red-600); background: var(--red-50); }
.nav-link .chev { width: 15px; height: 15px; color: var(--red-600); transition: transform .2s; }
.has-sub { position: relative; }
.has-sub:hover .chev, .has-sub.open .chev { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 10px); left: -12px; min-width: 330px;
  list-style: none; margin: 0; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s;
}
.submenu::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  text-decoration: none; font-weight: 650; font-size: 14.5px; color: var(--ink);
}
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--sand); color: var(--red-700); }
.submenu .sub-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--red-50); color: var(--red-600); display: grid; place-items: center; flex: none; }
.submenu .sub-ico .ico { width: 18px; height: 18px; }
.submenu .all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; color: var(--red-600); font-weight: 800; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--navy-900); align-items: center; justify-content: center; cursor: pointer;
}
.burger .ico { width: 24px; height: 24px; }
.burger .ico-close { display: none; }
.burger[aria-expanded="true"] .ico-open { display: none; }
.burger[aria-expanded="true"] .ico-close { display: block; }

.mobile-panel {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--cream); border-top: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(29, 6, 4, .45);
  max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  padding: 18px 20px 26px; display: none;
}
.mobile-panel.open { display: block; }
.mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-panel > ul > li > a { display: block; padding: 14px 4px; font-weight: 750; font-size: 17px; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-panel .m-label { display: block; padding: 18px 4px 6px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red-600); }
.mobile-panel .m-services { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 10px; }
.mobile-panel .m-services a { display: block; padding: 11px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14.5px; font-weight: 650; text-decoration: none; line-height: 1.3; }
.mobile-panel .btn { width: 100%; margin-top: 18px; }
@media (max-width: 480px) { .mobile-panel .m-services { grid-template-columns: 1fr; } }

@media (max-width: 1120px) {
  .nav-list { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 20px; }
  .brand-sub { font-size: 9.5px; letter-spacing: .22em; }
  .nav .header-call { display: none; }
}
body.menu-open { overflow: hidden; }

/* Barre d'administration WordPress (utilisateurs connectés) */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media screen and (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--pill); border: 2px solid transparent;
  font: 800 15.5px/1.2 var(--font-sans); text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s, background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.btn-red { background: var(--red-600); color: #fff; box-shadow: 0 14px 28px -14px rgba(196, 38, 29, .9); }
.btn-red:hover { background: var(--red-700); }
.btn-light { background: #fff; color: var(--red-800); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .55); }
.btn-light:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(255, 255, 255, .42); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: var(--red-600); color: var(--red-700); background: transparent; }
.btn-outline:hover { background: var(--red-600); color: #fff; }
.btn-dark { background: var(--red-800); color: #fff; box-shadow: 0 14px 28px -14px rgba(92, 18, 12, .9); }
.btn-dark:hover { background: var(--red-900); }
.btn-sm { padding: 11px 19px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* ---------- Typographie utilitaire ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-size: 12px; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; color: var(--red-600);
}
.eyebrow.line::before { content: ""; width: 38px; height: 1.5px; background: currentColor; opacity: .85; }
.on-dark .eyebrow { color: var(--gold); }
.lead { font-size: 1.08rem; color: var(--ink-2); }
.on-dark .lead { color: rgba(255, 255, 255, .8); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.accent { color: var(--red-600); }
.on-dark .accent { color: var(--gold); }
mark.todo { background: #fff1a8; color: #5a4600; padding: 1px 6px; border-radius: 6px; font-weight: 700; }

/* ---------- Héros (accueil) ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--hero-bg); }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/motif-tuiles.svg") repeat; background-size: 44px 44px; opacity: .045;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; padding: 92px 0 100px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 1.35rem + 3.7vw, 4.3rem); line-height: 1.04; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--gold); }
@media (min-width: 360px) { .hero h1 em, .page-hero h1 em, .nw { white-space: nowrap; } }
@media (max-width: 600px) {
  .hero h1 { font-size: 2.15rem; }
  .page-hero h1 { font-size: 2rem; }
}
.hero .lead { max-width: 610px; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 36px; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 640px; list-style: none; margin: 0; padding: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-points strong { display: block; color: #fff; font-size: 15px; }
.hero-points span { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .64); line-height: 1.45; margin-top: 2px; }

.hero-media { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.25;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8); border: 1px solid rgba(255, 255, 255, .14); background: var(--red-900);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-badge {
  position: absolute; display: flex; align-items: center; gap: 13px;
  background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 20px 14px 14px; box-shadow: var(--shadow);
}
.float-badge .b-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--red-50); color: var(--red-600); flex: none; }
.float-badge strong { display: block; font-size: 15px; line-height: 1.25; color: var(--navy-900); }
.float-badge span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.float-badge.b-left { left: -34px; bottom: 38px; }
.float-badge.b-right { right: -22px; top: 30px; }
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 64px 0 72px; }
  .hero-media { max-width: 560px; }
  .float-badge.b-left { left: 14px; }
  .float-badge.b-right { right: 14px; }
}
@media (max-width: 600px) {
  .hero-grid { padding: 46px 0 56px; }
  .hero-points { grid-template-columns: 1fr; gap: 14px; }
  .hero-actions .btn { width: 100%; }
  .float-badge { padding: 10px 14px 10px 10px; border-radius: 14px; }
  .float-badge .b-ico { width: 36px; height: 36px; }
  .float-badge.b-right { top: 14px; }
  .float-badge.b-left { bottom: 16px; }
}

/* ---------- Héros des pages intérieures ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--hero-bg); }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 60px 0 72px; }
.page-hero.compact .page-hero-grid { grid-template-columns: 1fr; padding: 56px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.35rem + 2.8vw, 3.75rem); line-height: 1.06; margin-bottom: 20px; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero .lead { max-width: 640px; }
.page-hero .hero-actions { margin: 28px 0 0; }
.page-hero .hero-photo { aspect-ratio: 4 / 3.2; }
.breadcrumb { margin-bottom: 22px; font-size: 13.5px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: rgba(255, 255, 255, .6); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .55; }
.breadcrumb a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
@media (max-width: 960px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 44px 0 56px; }
  .page-hero .hero-media { max-width: 560px; }
}

/* ---------- Bande de confiance ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); }
.trust li { background: #fff; padding: 24px 14px; text-align: center; }
.trust b { display: block; font-family: var(--font-serif); font-size: 27px; line-height: 1.1; color: var(--red-600); margin-bottom: 4px; }
.trust span { font-size: 13.5px; font-weight: 750; color: var(--ink-2); }
@media (max-width: 900px) and (min-width: 561px) {
  .trust ul { grid-template-columns: repeat(6, 1fr); }
  .trust li { grid-column: span 2; }
  .trust li:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 560px) {
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li { padding: 18px 10px; }
  .trust li:last-child { grid-column: 1 / -1; }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.section-soft { background: var(--sand); }
.section-dark { background: var(--red-950); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; margin-bottom: 46px; }
.section-head > div { max-width: 780px; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lead { margin: 0; max-width: 660px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center > div { margin-inline: auto; }
@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .section-sm { padding: 54px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 34px; }
}

/* ---------- Cartes services ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1100px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-4, .cards-3 { grid-template-columns: 1fr; } }

.service-card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--sand-2); }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .media img { transform: scale(1.06); }
.service-card .body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.service-card h3 { font-size: 1.14rem; margin-bottom: 8px; }
.service-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin-bottom: 18px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 14.5px; color: var(--red-700); }
.more .ico { width: 17px; height: 17px; stroke-width: 2.3; transition: transform .2s; }
.service-card:hover .more .ico, a.more:hover .ico { transform: translateX(4px); }

/* ---------- Garantie / Pourquoi nous ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 46px; box-shadow: var(--shadow-sm); }
.panel h2 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.85rem); }
.panel-guarantee { display: grid; grid-template-columns: 150px 1fr; gap: 34px; align-items: start; }
.badge-decennale { width: 150px; height: auto; filter: drop-shadow(0 18px 24px rgba(19, 33, 63, .25)); }
.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); line-height: 1.5; }
.checklist li::before {
  content: ""; flex: none; width: 23px; height: 23px; margin-top: 0; border-radius: 50%;
  background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4261d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.on-dark .checklist li { color: rgba(255, 255, 255, .85); }
.on-dark .checklist li::before { background-color: rgba(236, 199, 150, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ecc796' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
@media (max-width: 1000px) { .duo { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .panel { padding: 30px 24px; }
  .panel-guarantee { grid-template-columns: 1fr; gap: 22px; }
  .badge-decennale { width: 120px; }
}

/* ---------- Bandeau matériaux (défilant) ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0 16px 0 0; }
.marquee li {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 16px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--pill);
  font-family: var(--font-serif); font-size: 19px; font-weight: 700; color: var(--navy-900);
}
.marquee li .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red-600); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee ul { flex-wrap: wrap; }
  .marquee ul[aria-hidden="true"] { display: none; }
}

/* ---------- Implantation / zone ---------- */
.agency-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 26px; align-items: stretch; }
.card-dark {
  position: relative; overflow: hidden; color: #fff; border-radius: var(--r-lg); padding: 42px;
  background: linear-gradient(155deg, var(--red-800), var(--red-950)); box-shadow: var(--shadow);
}
.card-dark::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(236, 199, 150, .18), transparent 70%); }
.card-dark .tag { display: inline-block; font-size: 11.5px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.card-dark h3 { color: #fff; font-family: var(--font-serif); font-size: 1.9rem; margin-bottom: 18px; }
.card-dark address { font-style: normal; color: rgba(255, 255, 255, .82); line-height: 1.6; }
.card-dark .big-phone { display: inline-block; margin: 20px 0 6px; font-size: 26px; font-weight: 850; color: #fff; text-decoration: none; letter-spacing: .01em; }
.card-dark .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.zone-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 42px; box-shadow: var(--shadow-sm); }
.zone-card h3 { font-family: var(--font-serif); font-size: 1.7rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 22px 0 0; padding: 0; }
.chips li { padding: 9px 17px; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); font-size: 14px; font-weight: 750; color: var(--ink); box-shadow: var(--shadow-sm); }
.chips li.main { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.section-soft .chips li:not(.main) { background: #fff; }
@media (max-width: 960px) { .agency-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .card-dark, .zone-card { padding: 30px 24px; } }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 20px; background: var(--sand-2); }
.gallery figure.big { grid-column: span 2; grid-row: span 2; }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery a { display: block; height: 100%; cursor: zoom-in; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  padding: 9px 13px; border-radius: 12px; background: rgba(29, 6, 4, .74); color: #fff;
  font-size: 13px; font-weight: 700; line-height: 1.35;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s;
}
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; transform: none; }
.gallery.portrait { grid-auto-rows: 300px; }
@media (hover: none) { .gallery figcaption { opacity: 1; transform: none; } }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; } .gallery.portrait { grid-auto-rows: 260px; } }
@media (max-width: 480px) { .gallery { grid-auto-rows: 170px; gap: 10px; } .gallery.portrait { grid-auto-rows: 220px; } }

/* Visionneuse photo */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(14, 3, 2, .88); }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; margin: 0 auto; border-radius: 14px; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; font-weight: 600; }
.lightbox button { position: fixed; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; }

/* ---------- Avis ---------- */
.reviews-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 40px; box-shadow: var(--shadow-sm);
}
.reviews-logo { width: 74px; height: 74px; border-radius: 20px; background: var(--sand); display: grid; place-items: center; color: var(--red-600); }
.reviews-logo .ico { width: 34px; height: 34px; }
.reviews-card h3 { font-family: var(--font-serif); font-size: 1.55rem; margin-bottom: 6px; }
.reviews-card p { margin: 0; color: var(--ink-2); }
.stars { display: flex; gap: 3px; color: #e9a23b; margin-bottom: 8px; }
.stars .ico { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.reviews-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .reviews-card { grid-template-columns: 1fr; text-align: left; gap: 20px; padding: 30px 26px; } }

/* ---------- Texte SEO + encart ---------- */
.seo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 64px; align-items: start; }
.prose { color: var(--ink-2); font-size: 1.02rem; }
.prose h2 { font-size: clamp(1.85rem, 1.25rem + 1.9vw, 2.75rem); margin-bottom: .55em; }
.prose h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; margin: 1.6em 0 .55em; }
.prose a { color: var(--red-700); font-weight: 700; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose ul { margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.aside-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: linear-gradient(160deg, var(--red-800), var(--red-950)); color: #fff;
  border-radius: var(--r-lg); padding: 32px 30px; box-shadow: var(--shadow);
}
.aside-card .tag { font-size: 11.5px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.aside-card h3 { color: #fff; font-family: var(--font-serif); font-size: 1.7rem; margin: 10px 0 12px; }
.aside-card p { color: rgba(255, 255, 255, .75); font-size: 15px; }
.aside-card ul { list-style: none; margin: 18px 0 24px; padding: 0; }
.aside-card li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .13); color: #fff; text-decoration: none; font-weight: 650; font-size: 15px; }
.aside-card li a:hover { color: var(--gold); }
.aside-card li .ico { width: 17px; height: 17px; opacity: .7; }
@media (max-width: 1000px) { .seo-layout { grid-template-columns: 1fr; gap: 40px; } .aside-card { position: static; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: border-color .2s; }
.faq details[open] { border-color: rgba(196, 38, 29, .35); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 21px 64px 21px 24px; font-weight: 750; font-size: 16px; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4261d' stroke-width='2.6' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-2); }
.faq .answer p:last-child { margin: 0; }
@media (max-width: 960px) { .faq-layout { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Devis (section sombre) ---------- */
.devis {
  position: relative; color: #fff;
  background: radial-gradient(800px 500px at 0% 0%, rgba(196, 38, 29, .22), transparent 60%), var(--red-950);
}
.devis-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 30px; align-items: start; }
.devis-info { border-radius: var(--r-lg); padding: 42px; background: linear-gradient(160deg, var(--red-800), #3a0b08); border: 1px solid rgba(255, 255, 255, .07); }
.devis-info h2 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.85rem); }
.devis-info .lead { color: rgba(255, 255, 255, .78); }
.contact-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .c-ico { width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 255, 255, .08); color: var(--gold); display: grid; place-items: center; flex: none; }
.contact-list .c-ico .ico { width: 20px; height: 20px; }
.contact-list .label { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.contact-list .value { display: block; font-weight: 800; font-size: 17px; color: #fff; text-decoration: none; word-break: break-word; }
.contact-list a.value:hover { color: var(--gold); }
.form-card { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 38px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.form-card h3, .on-dark .form-card h3 { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 6px; color: var(--navy-900); }
.form-card .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 750; font-size: 13.5px; color: var(--navy-900); }
.field label .req { color: var(--red-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid #ddd5c8; border-radius: 13px; background: #fffefb;
  font: inherit; font-size: 15.5px; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background: #fffefb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4261d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.field textarea { min-height: 136px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-600); box-shadow: 0 0 0 4px rgba(196, 38, 29, .13); }
.field input::placeholder, .field textarea::placeholder { color: #a39c92; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.consent input { width: 19px; height: 19px; margin-top: 1px; accent-color: var(--red-600); flex: none; }
.consent a { color: var(--red-700); font-weight: 700; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 0; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 13px; font-weight: 650; font-size: 14.5px; line-height: 1.5; }
.form-status.ok { display: block; background: #eaf6ee; color: #14532d; }
.form-status.err { display: block; background: var(--red-50); color: var(--red-800); }
.form-status a { color: inherit; font-weight: 800; }
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 960px) { .devis-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .devis-info, .form-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
}

/* ---------- Pages services ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); background: var(--sand-2); }
.split-media.portrait { aspect-ratio: 4 / 4.6; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.85rem, 1.25rem + 1.9vw, 2.75rem); }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.reverse .split-media { order: 0; } .split-media { max-width: 640px; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .f-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--red-50); color: var(--red-600); margin-bottom: 18px; }
.feature .f-ico .ico { width: 24px; height: 24px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 14.8px; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.method { position: relative; overflow: hidden; color: #fff; background: var(--hero-bg); }
.method .container { position: relative; z-index: 1; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 26px 22px; border-radius: 20px; background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .12); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px; font-family: var(--font-serif); font-size: 32px; font-weight: 700; line-height: 1; color: var(--gold); }
.steps h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .72); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.photo-strip figure { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--sand-2); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr 1fr; } }

.cta-band {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 46px 50px; border-radius: var(--r-lg); color: #fff; background: linear-gradient(115deg, var(--red-700), var(--red-600));
  box-shadow: 0 30px 60px -30px rgba(196, 38, 29, .8);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("../img/motif-tuiles.svg") repeat; background-size: 44px 44px; opacity: .08; pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.35rem); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .86); max-width: 560px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .cta-band { padding: 32px 24px; } .cta-band .actions .btn { width: 100%; } }

.link-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.link-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 17px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--navy-900); transition: border-color .15s, color .15s; }
.link-pills a:hover { border-color: var(--red-600); color: var(--red-700); }

.other-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.other-services .feature { display: flex; gap: 20px; align-items: flex-start; }
.other-services .feature .f-ico { margin: 0; }
@media (max-width: 760px) { .other-services { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; display: block; }
.contact-card .f-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red-600); margin-bottom: 16px; }
.contact-card .label { display: block; font-size: 13px; color: var(--muted); font-weight: 650; }
.contact-card .value { display: block; font-weight: 800; color: var(--navy-900); font-size: 16.5px; word-break: break-word; }
a.contact-card:hover { border-color: var(--red-600); }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--sand-2); aspect-ratio: 16 / 6.5; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) { .map-frame { aspect-ratio: 4 / 3.4; } }

/* ---------- Contenu légal ---------- */
.legal { max-width: 860px; }
.legal h2 { font-size: 1.7rem; margin-top: 1.8em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal a { color: var(--red-700); font-weight: 700; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--red-950); color: #d8c7bf; font-size: 15px; padding-top: 76px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.1fr; gap: 44px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: var(--gold); }
.site-footer .brand-sub::after { background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 9px); }
.footer-about { margin-top: 20px; line-height: 1.65; color: #cdbab1; max-width: 340px; }
.site-footer h3 { font-family: var(--font-sans); font-size: 12.5px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin: 6px 0 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a { color: #d8c7bf; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-phone { display: inline-block; margin-top: 12px; font-size: 19px; font-weight: 850; color: #fff !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; margin-top: 60px; padding: 24px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #a8948b; }
.footer-bottom a { color: #c9b6ad; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } .site-footer { padding-top: 56px; } }

/* ---------- Barre d'appel mobile ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 252, 248, .97); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .mobile-cta .btn { padding: 13px 10px; font-size: 15px; }
  body { padding-bottom: 76px; }
}

/* ---------- Pages simples (merci, 404) ---------- */
.simple-page { min-height: 52vh; display: grid; place-items: center; text-align: center; padding: 90px 0; }
.simple-page .big-ico { width: 84px; height: 84px; border-radius: 26px; margin: 0 auto 26px; display: grid; place-items: center; background: var(--red-50); color: var(--red-600); }
.simple-page .big-ico .ico { width: 40px; height: 40px; }
.simple-page .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Impression ---------- */
@media print {
  .topbar, .site-header, .mobile-cta, .devis, .hero-actions, .cta-band { display: none !important; }
  body { background: #fff; }
}
