/* CGM Maçonnerie — feuille de style principale
   Reprend la maquette Claude Design (unités cqi du cadre remplacées par vw). */

:root {
  --cyan: #24A6E4;
  --cyan-hover: #58c0f0;
  --cyan-light: #7fd3f7;
  --graphite: #313131;
  --ink: #14161A;
  --on-cyan: #08131b;
  --text: #4a5054;
  --muted: #6d757a;
  --line: #E5E1DA;
  --fc: 'Barlow Condensed', sans-serif;
  --fb: Barlow, Helvetica, sans-serif;
  /* Diagonales et marges des sections */
  --diag: clamp(22px, 4vw, 64px);
  --hero-diag: clamp(20px, 4.2vw, 62px);
  --px: clamp(20px, 6vw, 90px);
  --py: clamp(44px, 7vw, 100px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #ffffff; font-family: var(--fb); color: var(--ink); overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #0d84c4; }
input, textarea, button, select { font-family: inherit; }
input:focus, textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #cfcac2; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@keyframes cgmUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes cgmIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cgmMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes cgmSlideIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes cgmDrop { 0% { transform: translateY(-260px) rotate(-7deg); opacity: 0; } 55% { opacity: 1; } 72% { transform: translateY(0) rotate(0deg); } 82% { transform: translateY(-9px) rotate(0deg); } 100% { transform: translateY(0) rotate(0deg); opacity: 1; } }
@keyframes cgmDust { 0% { transform: scaleX(.3); opacity: 0; } 40% { opacity: .5; } 100% { transform: scaleX(1.5); opacity: 0; } }
@keyframes cgmCurtain { 0% { transform: translateY(0); } 100% { transform: translateY(-102%); } }
@keyframes cgmLogoIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes cgmTrowel {
  0% { opacity: 0; transform: translate(46px, -34px) rotate(34deg); }
  22% { opacity: 1; transform: translate(20px, 0) rotate(14deg); }
  52% { opacity: 1; transform: translate(-34px, 3px) rotate(3deg); }
  78% { opacity: 1; transform: translate(12px, 0) rotate(12deg); }
  100% { opacity: 0; transform: translate(38px, -30px) rotate(30deg); }
}
@keyframes cgmJolt {
  0%, 100% { transform: translateY(0) scaleY(1); }
  10% { transform: translateY(4px) scaleY(.94); }
  16% { transform: translateY(0) scaleY(1); }
  32% { transform: translateY(3px) scaleY(.95); }
  38% { transform: translateY(0) scaleY(1); }
  52% { transform: translateY(3px) scaleY(.95); }
  58% { transform: translateY(0) scaleY(1); }
  70% { transform: translateY(2px) scaleY(.96); }
  76% { transform: translateY(0) scaleY(1); }
  86% { transform: translateY(2px) scaleY(.97); }
  92% { transform: translateY(0) scaleY(1); }
}
@keyframes cgmBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
@keyframes cgmSlide { 0% { opacity: 0; transform: scale(1.14); } 4% { opacity: 1; } 21% { opacity: 1; } 25% { opacity: 0; transform: scale(1); } 100% { opacity: 0; transform: scale(1.14); } }

/* ---------- Écran d'ouverture (une fois par session) ---------- */
.intro { position: fixed; inset: 0; z-index: 90; background: var(--graphite); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; overflow: hidden; animation: cgmCurtain .55s cubic-bezier(.7,0,.3,1) 1.75s both; }
.intro-stack { position: relative; display: flex; flex-direction: column-reverse; align-items: center; gap: 5px; }
.intro-trowel { position: absolute; top: -46px; left: 50%; width: 40px; height: auto; transform-origin: 80% 90%; animation: cgmTrowel .95s cubic-bezier(.4,0,.3,1) 1.05s both; }
.intro-logo { animation: cgmLogoIn .18s ease-out both; }
.intro-logo-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; animation: cgmJolt 1.1s ease-out .05s both; }
.intro-logo img { height: 52px; display: block; }
.intro-tag { font-family: var(--fc); text-transform: uppercase; letter-spacing: .26em; font-size: 12px; color: rgba(255,255,255,.5); }
.intro-dust { width: 262px; height: 6px; border-radius: 3px; background: var(--cyan); opacity: .85; margin-bottom: 12px; animation: cgmDust .45s ease-out .8s both; }
.intro-row { display: flex; gap: 5px; }
.block { width: 78px; height: 38px; border-radius: 2px; background: linear-gradient(160deg, #9c9990 0%, #7f7c74 100%); box-shadow: inset 0 -3px 0 rgba(0,0,0,.22); display: flex; align-items: center; justify-content: center; gap: 7px; animation: cgmDrop .3s cubic-bezier(.35,0,.5,1) var(--d) both; }
.block span { width: 20px; height: 19px; background: #5f5d57; border-radius: 1px; }
.block.light { background: linear-gradient(160deg, #a3a097 0%, #85827a 100%); }
.block.light span { background: #63615b; }
.brick { width: 55px; height: 24px; border-radius: 2px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); animation: cgmDrop .3s cubic-bezier(.35,0,.5,1) var(--d) both; }
.brick.b1 { background: linear-gradient(160deg, #B4573C 0%, #8E3F2A 100%); }
.brick.b2 { background: linear-gradient(160deg, #C0644A 0%, #96452F 100%); }
.brick.b3 { background: linear-gradient(160deg, #AB5138 0%, #873B26 100%); }
.brick.b4 { background: linear-gradient(160deg, #BC5F45 0%, #91422C 100%); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(49,49,49,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px clamp(16px, 4vw, 56px); min-width: 0; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: clamp(38px, 5vw, 54px); width: auto; display: block; }
.header-wide { display: flex; align-items: center; min-width: 0; gap: clamp(10px, 2vw, 26px); }
.main-nav { display: flex; align-items: center; flex-wrap: nowrap; min-width: 0; gap: clamp(7px, 1.15vw, 18px); }
.main-nav a { position: relative; font-family: var(--fc); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(11px, 1vw, 14px); color: rgba(255,255,255,.78); padding: 6px 9px; border-bottom: 2px solid transparent; border-radius: 3px 3px 0 0; background-image: linear-gradient(var(--cyan), var(--cyan)); background-repeat: no-repeat; background-position: center center; background-size: 0% 100%; transition: color .25s ease, border-color .25s ease, background-size .32s cubic-bezier(.4,0,.2,1); white-space: nowrap; }
.main-nav a.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.main-nav a:hover { color: #ffffff; border-color: var(--cyan); background-size: 100% 100%; }
.header-phones { display: flex; gap: 14px; padding-left: clamp(10px, 2vw, 24px); border-left: 1px solid rgba(255,255,255,.12); white-space: nowrap; flex-shrink: 0; }
.header-phones a { display: flex; align-items: center; gap: 9px; }
.header-phones svg { width: 17px; height: 17px; flex-shrink: 0; }
.phone-name { font-family: var(--fc); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #ffffff; }
.phone-num { font-size: 13px; color: var(--cyan); font-weight: 600; }
.mini-phone { display: none; align-items: center; white-space: nowrap; padding-left: clamp(8px, 1.4vw, 18px); border-left: 1px solid rgba(255,255,255,.12); font-size: 14px; font-weight: 600; color: var(--cyan); transition: color .2s ease; }
.mini-phone:hover { color: var(--cyan-light); }
.header-narrow { display: none; align-items: center; gap: 10px; }
.btn-call { display: flex; align-items: center; gap: 8px; background: var(--cyan); color: #0b1116; padding: 10px 14px; border-radius: 6px; font-family: var(--fc); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; min-height: 44px; }
.btn-call:hover { color: #0b1116; }
.burger { width: 46px; height: 46px; border-radius: 6px; border: 1px solid rgba(255,255,255,.18); background: transparent; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; transition: border-color .25s ease, background .25s ease; }
.burger:active { background: rgba(36,166,228,.18); }
.burger span { width: 20px; height: 2px; background: #fff; display: block; transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .2s ease; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { padding: 8px clamp(16px, 4vw, 40px) 22px; flex-direction: column; gap: 2px; animation: cgmIn .25s ease both; border-top: 1px solid rgba(255,255,255,.08); display: none; }
.menu-open .mobile-menu { display: flex; }
.mobile-menu a { font-family: var(--fc); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 17px; color: rgba(255,255,255,.78); padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); min-height: 44px; animation: cgmSlideIn .45s cubic-bezier(.2,.8,.2,1) both; transition: color .2s ease, padding-left .25s ease; }
.mobile-menu a.active { color: var(--cyan); }
.mobile-menu a:hover { color: var(--cyan); padding-left: 8px; }

@media (min-width: 1010px) and (max-width: 1319.98px) {
  .header-phones { display: none; }
  .mini-phone { display: inline-flex; }
}
@media (max-width: 1009.98px) {
  .header-phones { display: none; }
}
@media (max-width: 859.98px) {
  .header-wide { display: none; }
  .header-narrow { display: flex; }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 6px; font-family: var(--fc); font-weight: 700; text-transform: uppercase; letter-spacing: .09em; min-height: 46px; border: none; cursor: pointer; font-size: 16px; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease, color .25s ease; }
.btn-cyan { background: var(--cyan); color: var(--on-cyan); }
.btn-cyan:hover { background: var(--cyan-hover); color: var(--on-cyan); }
.btn-cyan.lift:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(36,166,228,.3); }
.btn-dark { background: var(--graphite); color: #fff; }
.btn-dark:hover { background: var(--cyan); color: var(--on-cyan); }
.btn-lg { padding: 15px 26px; min-height: 48px; }

/* ---------- Typo commune ---------- */
.eyebrow { font-family: var(--fc); text-transform: uppercase; letter-spacing: .2em; font-size: 13px; color: var(--cyan); font-weight: 600; }
.h2 { font-family: var(--fc); font-weight: 700; text-transform: uppercase; color: var(--ink); font-size: clamp(26px, 4vw, 44px); line-height: 1.05; margin: 12px 0 0; }
.on-dark .h2, .h2.light { color: #fff; }
.prose p { color: var(--text); font-size: clamp(15px, 1.55vw, 17px); line-height: 1.72; margin: 14px 0 0; }
.prose p:first-of-type { margin-top: 20px; }
.on-dark .prose p { color: rgba(255,255,255,.72); }
.row-between { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; justify-content: space-between; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; }
.photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; display: block; }

/* ---------- Sections en diagonale ---------- */
.diag { position: relative; margin-top: calc(-1 * var(--diag)); clip-path: polygon(0 var(--diag), 100% 0, 100% 100%, 0 100%); padding: calc(var(--py) + var(--diag)) var(--px) var(--py); }
.wall { background-color: #ffffff; background-image: url('../assets/brick-wall.png'); background-repeat: repeat; background-size: 330px auto; }
.dark { background: var(--graphite); }
.py-sub { --py: clamp(34px, 6vw, 90px); }

/* Révélation au scroll (activée seulement si JS) */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Hero accueil ---------- */
.hero { position: relative; min-height: clamp(430px, 62vw, 640px); display: flex; align-items: flex-end; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--hero-diag)), 0 100%); background: #0e1013; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: cgmSlide 28s linear infinite both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,16,19,.72) 0%, rgba(14,16,19,.45) 40%, rgba(14,16,19,1) 100%); }
.hero-content { position: relative; padding: clamp(28px, 6vw, 90px); max-width: 900px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(36,166,228,.16); border: 1px solid rgba(36,166,228,.5); color: var(--cyan-light); padding: 7px 14px; border-radius: 999px; font-family: var(--fc); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; animation: cgmUp .8s ease both .1s; }
.hero h1 { font-family: var(--fc); font-weight: 700; text-transform: uppercase; color: #fff; font-size: clamp(30px, 6.4vw, 70px); line-height: .96; letter-spacing: -.01em; margin: 18px 0 0; text-wrap: balance; animation: cgmUp .9s ease both .2s; }
.hero p { color: rgba(255,255,255,.82); font-size: clamp(15px, 1.7vw, 20px); line-height: 1.55; max-width: 620px; margin: 20px 0 0; animation: cgmUp .9s ease both .35s; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: cgmUp .9s ease both .5s; }
.hero-ctas .btn { font-size: clamp(14px, 1.5vw, 17px); }
.hero-ctas .btn-cyan { box-shadow: 0 12px 30px rgba(36,166,228,.32); }
.hero-ctas .btn-cyan:hover { transform: translateY(-2px); }
.btn-outline { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.scroll-hint { position: absolute; right: clamp(18px, 4vw, 60px); bottom: clamp(62px, 9vw, 118px); width: 22px; height: 34px; border: 1px solid rgba(255,255,255,.4); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-hint span { width: 3px; height: 8px; background: var(--cyan); border-radius: 2px; animation: cgmBounce 1.8s ease-in-out infinite; }

/* Bandeau défilant en biais : transition hero → présentation */
.ribbon-wrap { position: relative; z-index: 3; overflow: hidden; margin-top: calc(-1 * (clamp(14px, 2.6vw, 40px) + 2.5vw)); padding: clamp(14px, 2.6vw, 40px) 0; }
.ribbon { background: var(--cyan); overflow: hidden; padding: 11px 0; width: 112%; margin-left: -6%; transform: rotate(-2.4deg); }
.ribbon-track { display: flex; width: max-content; animation: cgmMarquee 26s linear infinite; }
.ribbon-group { display: flex; gap: 40px; padding-right: 40px; font-family: var(--fc); font-weight: 600; text-transform: uppercase; letter-spacing: .18em; font-size: 14px; color: var(--on-cyan); white-space: nowrap; }

.presentation { z-index: 1; margin-top: calc(-1 * (clamp(14px, 2.6vw, 40px) + clamp(11px, 2.1vw, 32px))); clip-path: polygon(0 var(--hero-diag), 100% 0, 100% 100%, 0 100%); }
.presentation h2 { font-size: clamp(24px, 3.6vw, 42px); line-height: 1.04; text-wrap: balance; }
.years-badge { position: absolute; left: 0; bottom: -22px; background: var(--graphite); color: #fff; padding: 18px 22px; border-radius: 10px; border-left: 3px solid var(--cyan); }
.years-badge strong { display: block; font-family: var(--fc); font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; line-height: 1; }
.years-badge span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9aa3a9; }

/* Cartes services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 18px; margin-top: 36px; }
.svc-card { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20,22,26,.14); border-color: var(--cyan); }
.svc-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.svc-card div { padding: 18px; }
.svc-card h3 { font-family: var(--fc); font-weight: 700; text-transform: uppercase; font-size: clamp(17px, 2vw, 22px); color: var(--ink); margin: 0; }
.more { margin-top: 10px; font-family: var(--fc); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--cyan); font-weight: 600; }

/* Garanties */
.guarantees { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 34px; }
.guarantee { background: #fff; border-radius: 12px; padding: 26px; border-top: 3px solid var(--cyan); transition: transform .3s ease; }
.guarantee:hover { transform: translateY(-5px); }
.guarantee .num { font-family: var(--fc); font-size: 13px; letter-spacing: .18em; color: #b9b2a8; }
.guarantee h3 { font-family: var(--fc); font-weight: 700; text-transform: uppercase; font-size: clamp(19px, 2.2vw, 24px); color: var(--ink); margin: 10px 0 0; }
.guarantee p { color: var(--text); font-size: 16px; line-height: 1.65; margin: 10px 0 0; }

/* ---------- Tunnel de leads ---------- */
.funnel { background: linear-gradient(180deg, #313131 0%, #262626 100%); }
.funnel-intro { color: rgba(255,255,255,.66); font-size: clamp(15px, 1.5vw, 17px); margin: 10px 0 0; max-width: 560px; }
.funnel-step-label { font-family: var(--fc); text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); font-size: 13px; }
.progress { height: 4px; background: rgba(255,255,255,.12); border-radius: 4px; margin-top: 22px; overflow: hidden; }
.progress div { height: 100%; background: var(--cyan); border-radius: 4px; width: 0; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.funnel-box { margin-top: 30px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: clamp(20px, 3.4vw, 40px); }
.fstep { animation: cgmUp .4s ease both; }
.fstep h3, .fdone h3 { font-family: var(--fc); font-weight: 700; text-transform: uppercase; color: #fff; font-size: clamp(19px, 2.4vw, 27px); margin: 0; }
.fstep h3.mt { margin-top: 32px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.choice { cursor: pointer; text-align: left; padding: 18px; border-radius: 10px; min-height: 62px; font-size: 16px; transition: all .25s ease; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.86); }
.chip { cursor: pointer; padding: 13px 18px; border-radius: 999px; min-height: 46px; font-size: 15px; transition: all .25s ease; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.86); }
.choice[aria-pressed="true"], .chip[aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--on-cyan); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 20px; }
.field { display: block; }
.field span { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 7px; }
.field input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; font-size: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cyan); flex-shrink: 0; }
.fdone { animation: cgmUp .5s ease both; text-align: center; padding: clamp(10px, 3vw, 30px) 0; }
.fdone .check { width: 58px; height: 58px; border-radius: 50%; background: var(--cyan); margin: 0 auto; display: flex; align-items: center; justify-content: center; color: var(--on-cyan); font-size: 28px; font-weight: 600; }
.fdone h3 { font-size: clamp(22px, 3vw, 32px); margin-top: 20px; }
.fdone p { color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.65; margin: 12px auto 0; max-width: 520px; }
.fdone .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.fdone .ctas a { padding: 14px 22px; border-radius: 6px; font-family: var(--fc); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; min-height: 46px; display: inline-flex; align-items: center; }
.fdone .ctas a.primary { background: var(--cyan); color: var(--on-cyan); }
.fdone .ctas a.secondary { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.restart { margin-top: 22px; background: none; border: none; color: rgba(255,255,255,.45); font-size: 14px; text-decoration: underline; cursor: pointer; }
.fnav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.fnav-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fback { background: none; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.8); padding: 13px 20px; border-radius: 6px; min-height: 46px; cursor: pointer; font-family: var(--fc); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.fback:hover { border-color: var(--cyan); color: #fff; }
.fhint { color: rgba(255,255,255,.4); font-size: 13px; }
.fnext { background: rgba(255,255,255,.12); color: rgba(255,255,255,.35); border: none; padding: 14px 28px; border-radius: 6px; min-height: 48px; cursor: not-allowed; font-family: var(--fc); font-weight: 700; text-transform: uppercase; letter-spacing: .09em; font-size: 16px; transition: all .25s ease; }
.fnext.ready { background: var(--cyan); color: var(--on-cyan); cursor: pointer; }

/* ---------- Tuiles réalisations ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 32px; }
.tile { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
a.tile:hover img { transform: scale(1.06); }
.tile figcaption, .tile .cap { position: absolute; inset: auto 0 0 0; padding: 14px 16px; background: linear-gradient(180deg, rgba(14,16,19,0) 0%, rgba(14,16,19,.85) 100%); color: #fff; font-family: var(--fc); text-transform: uppercase; letter-spacing: .1em; font-size: 15px; }
figure.tile { margin: 0; }

/* Avis */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; margin-top: 32px; }
.review { background: #ffffff; border-radius: 12px; padding: 26px; margin: 0; }
.review .stars { color: var(--cyan); letter-spacing: .25em; font-size: 15px; }
.review p { color: #22262B; font-size: 17px; line-height: 1.6; margin: 14px 0 0; }
.review footer { margin-top: 16px; font-family: var(--fc); text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--muted); }

/* ---------- Pages internes ---------- */
.page { animation: cgmIn .4s ease both; }
.page[data-page="home"] { animation: none; }
.page-head { background: var(--graphite); padding: clamp(34px, 6vw, 80px) var(--px); }
.page-head .kicker { font-family: var(--fc); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--cyan); }
.page-head h1 { font-family: var(--fc); font-weight: 700; text-transform: uppercase; color: #fff; font-size: clamp(32px, 5.4vw, 62px); margin: 14px 0 0; }
.page-head p { color: rgba(255,255,255,.62); font-size: clamp(15px, 1.5vw, 17px); margin: 10px 0 0; max-width: 640px; }
.page-body h2 { font-family: var(--fc); font-weight: 700; text-transform: uppercase; color: var(--ink); font-size: clamp(22px, 3.2vw, 36px); line-height: 1.06; margin: 0; }
.page-body .prose p { font-size: 17px; }
.page-body .btn { margin-top: 24px; }

/* Galerie avant / après */
.compare { position: relative; margin-top: 22px; border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: #E7E3DC; user-select: none; -webkit-user-select: none; --split: 55%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .before { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare .tag { position: absolute; top: 16px; padding: 7px 13px; border-radius: 999px; font-family: var(--fc); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.compare .tag-before { left: 16px; background: rgba(14,16,19,.72); color: #fff; }
.compare .tag-after { right: 16px; background: var(--cyan); color: var(--on-cyan); font-weight: 600; }
.compare .divider { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; box-shadow: 0 0 18px rgba(0,0,0,.45); left: var(--split); transform: translateX(-50%); pointer-events: none; }
.compare .knob { position: absolute; top: 50%; left: var(--split); transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--cyan); font-size: 15px; pointer-events: none; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

/* Contact */
.contact-form { background: #fff; border-radius: 14px; padding: clamp(20px, 3vw, 34px); }
.contact-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.cfield { display: block; }
.cfield span { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #8b9196; margin-bottom: 7px; }
.cfield input, .cfield textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 8px; border: 1px solid #E1DDD6; background: #FAF9F7; font-size: 16px; }
.cfield textarea { resize: vertical; }
.contact-form .consent { color: var(--muted); margin-top: 16px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: #fff; border-radius: 12px; padding: 22px; display: block; border-left: 3px solid var(--cyan); }
.contact-card .name { font-family: var(--fc); text-transform: uppercase; letter-spacing: .1em; font-size: 15px; color: var(--ink); }
.contact-card .num { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; color: var(--cyan); }
.contact-card .addr { font-size: 16px; color: var(--muted); }
.map { flex: 1; min-height: 260px; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(45deg, #E7E3DC 0 12px, #EFEBE4 12px 24px); }
.map iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; }

/* Facebook */
.fb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 30px; align-items: start; }
.fb-frame { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; box-shadow: 0 16px 36px rgba(20,22,26,.08); }
.fb-frame iframe { width: 100%; height: 760px; border: none; display: block; border-radius: 6px; overflow: hidden; }
.btn-fb { background: #1877F2; color: #fff; padding: 13px 20px; letter-spacing: .08em; }
.btn-fb:hover { background: #0f5ec0; color: #fff; }
.fb-text h3 { font-family: var(--fc); font-weight: 700; text-transform: uppercase; color: var(--ink); font-size: clamp(20px, 2.6vw, 28px); margin: 0; }
.fb-text > p { color: var(--text); font-size: 16px; line-height: 1.7; margin: 14px 0 0; }
.fb-points { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; padding: 0; list-style: none; }
.fb-points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--text); font-size: 15px; line-height: 1.65; }
.fb-points li::before { content: "→"; color: var(--cyan); font-size: 18px; line-height: 1.4; }

/* ---------- Footer ---------- */
.site-footer { --py: clamp(34px, 5vw, 70px); padding-bottom: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(24px, 4vw, 50px); }
.footer-grid h3 { font-family: var(--fc); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 19px; margin: 0 0 14px; }
.footer-brand img { height: 50px; display: block; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: 16px; margin: 16px 0 0; }
.footer-cta { margin-top: 18px; margin-bottom: 16px; padding: 13px 22px; }
.footer-cta:hover { transform: translateY(-2px); }
.footer-fb { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: #fff; margin-top: 16px; font-family: var(--fc); font-weight: 700; }
.footer-fb:hover { background: var(--cyan); color: var(--on-cyan); }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: 16px; }
.footer-links a:hover { color: var(--cyan); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact a { display: block; }
.footer-contact .n { font-family: var(--fc); text-transform: uppercase; letter-spacing: .08em; color: #fff; font-size: 15px; }
.footer-contact .v { color: var(--cyan); font-size: 16px; font-weight: 600; }
.footer-contact .a { color: rgba(255,255,255,.6); font-size: 16px; }
.footer-seo { margin-top: clamp(26px, 4vw, 46px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.footer-seo h3 { font-family: var(--fc); font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,.75); font-size: 15px; letter-spacing: .12em; margin: 0 0 10px; }
.footer-seo p { color: rgba(255,255,255,.42); font-size: 14px; line-height: 1.7; margin: 0; }
.footer-bottom { margin-top: 22px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; color: rgba(255,255,255,.4); font-size: 14px; }
.footer-bottom .legal { display: flex; gap: 8px; }
.footer-bottom .legal a { color: rgba(255,255,255,.55); }

/* Barre d'action mobile */
.mobile-bar { position: sticky; bottom: 0; z-index: 45; display: none; gap: 10px; padding: 10px; background: rgba(49,49,49,.96); border-top: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 6px; font-family: var(--fc); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.mobile-bar .call { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.mobile-bar .quote { flex: 1.4; background: var(--cyan); color: var(--on-cyan); }
@media (max-width: 859.98px) {
  .mobile-bar { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-slide { animation: none; opacity: 0; }
  .hero-slide:first-of-type { opacity: 1; }
  .ribbon-track { animation: none; }
}
