/* ============ Polices (hébergées localement, aucun appel vers Google) ============ */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/cormorant-garamond-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }

/* ============ Système de couleurs : doré du logo + gris chauds ============ */
:root {
  --bg: #FAF9F6;
  --bg-2: #F2F0EA;
  --white: #FFFFFF;
  --ink: #171717;
  --ink-2: #2C2C2C;
  --muted: #666260;
  --line: #E6E2D8;
  --line-2: #D5D0C3;
  --charcoal: #1E1E1E;
  --charcoal-2: #272727;
  --gold: #B8A058;
  --gold-2: #A68F48;
  --gold-dark: #7A6830;
  --gold-light: #EDE5C9;
  --gold-tint: #F7F3E8;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.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; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
h1, h2, .display { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(42px, 7vw, 92px); }
h2 { font-size: clamp(36px, 4.6vw, 62px); margin-bottom: 18px; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.lead { font-size: 17px; color: var(--muted); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section-head { margin-bottom: 44px; }
.section-head .lead { margin-top: 12px; }
.arc { display: block; width: 120px; height: 18px; margin: 10px 0 0; color: var(--gold); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 6px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s; white-space: nowrap; }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-2); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn:active { transform: translateY(1px); }

/* Grain discret sur les sections sombres */
.grain { position: relative; }
.grain::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .055; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ============ Navigation ============ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .35s, border-color .35s, color .35s; color: #fff; border-bottom: 1px solid transparent; }
.nav.scrolled, .nav.solid { background: rgba(250, 249, 246, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); border-color: var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.logo img { width: 44px; height: 44px; }
.logo small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; opacity: .7; }
.nav-links { display: none; gap: 30px; font-size: 14px; font-weight: 500; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: none; }
.nav-toggle { position: relative; z-index: 100; display: inline-flex; flex-direction: column; gap: 6px; padding: 10px; }
.nav-toggle span { width: 24px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] { color: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 80; background: var(--charcoal); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 90px 28px 40px; transform: translateY(-100%); transition: transform .5s cubic-bezier(.76, 0, .24, 1), visibility 0s .5s; visibility: hidden; }
.menu.open { transform: none; visibility: visible; transition: transform .5s cubic-bezier(.76, 0, .24, 1); }
.menu nav a { display: block; font-family: var(--serif); font-size: clamp(34px, 8vw, 54px); font-weight: 500; line-height: 1.2; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.menu nav a:hover { color: var(--gold); }
.menu-foot { margin-top: 30px; font-size: 14px; color: rgba(255,255,255,.65); display: grid; gap: 6px; }
.menu-foot a { color: #fff; }
.menu .btn { margin-top: 20px; width: 100%; }

/* ============ Hero (fond clair, photo encadrée) ============ */
.hero { position: relative; padding: 118px 0 64px; background: var(--bg); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); margin-bottom: 22px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-dark); }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 13.5px; color: var(--ink-2); }
.hero-proof li { display: flex; align-items: center; gap: 9px; }
.hero-proof li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex: none; }
.hero-card { position: relative; background: var(--charcoal); color: #fff; border-radius: var(--radius-lg); padding: 34px 30px 30px; min-height: 400px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(0,0,0,.45); }
.hero-card::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(184,160,88,.32), transparent 66%); pointer-events: none; }
.hero-card > * { position: relative; z-index: 1; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips span, .hero-chips a { font-size: 12.5px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.88); transition: border-color .25s, color .25s; }
.hero-chips a:hover { border-color: var(--gold); color: var(--gold); }
.fiche .hero-chips { margin-top: 18px; }
.hero-card-line { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.15; color: #fff; margin-top: 20px; }
.hero-card-line em { font-style: italic; font-weight: 500; color: var(--gold); }
/* Entrée du hero en CSS pur : fondu + léger mouvement vers le haut, sans dépendre d'un script */
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-anim { animation: heroIn .9s var(--ease) both; }
.hero-text > .hero-anim:nth-child(1) { animation-delay: .05s; }
.hero-text > .hero-anim:nth-child(2) { animation-delay: .13s; }
.hero-text > .hero-anim:nth-child(3) { animation-delay: .21s; }
.hero-text > .hero-anim:nth-child(4) { animation-delay: .29s; }
.hero-text > .hero-anim:nth-child(5) { animation-delay: .37s; }
.hero-photo.hero-anim { animation-delay: .25s; }

/* ============ Promesse ============ */
.promise { display: grid; gap: 36px; }
.promise h2 { font-size: clamp(36px, 4.2vw, 58px); }
.promise h2 em { font-style: italic; font-weight: 500; color: var(--gold-dark); }

/* ============ Services ============ */
.svc-grid { display: grid; gap: 18px; }
.svc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.svc:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -30px rgba(0,0,0,.3); border-color: var(--gold); }
.svc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.05); }
.svc-body { padding: 22px 24px 26px; }
.svc-num { font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: .1em; color: var(--gold-dark); margin-bottom: 8px; }
.svc h3 { margin-bottom: 8px; font-size: 19px; }
.svc p { font-size: 15px; color: var(--muted); }
.svc ul { margin-top: 14px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.svc li { padding-left: 16px; position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

/* ============ Avant / Après ============ */
.ba-wrap { display: grid; gap: 32px; }
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; touch-action: none; cursor: ew-resize; user-select: none; -webkit-user-select: none; background: #222; box-shadow: 0 40px 70px -40px rgba(0,0,0,.45); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='14' viewBox='0 0 26 14' fill='none' stroke='%23171717' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 1 2 7l6 6M18 1l6 6-6 6'/%3E%3C/svg%3E") center / 26px 14px no-repeat; transform: translate(-50%, -50%); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.ba-label { position: absolute; top: 16px; padding: 7px 12px; border-radius: 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: rgba(20,20,20,.75); color: #fff; pointer-events: none; }
.ba-label.avant { left: 16px; }
.ba-label.apres { right: 16px; background: var(--gold); color: var(--ink); }
.ba-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: rgba(20,20,20,.75); color: #fff; font-size: 12.5px; white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.ba.touched .ba-hint { opacity: 0; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-range:focus-visible ~ .ba-handle { outline: 2px solid #fff; }
.ba-caption { position: relative; padding-left: 38px; font-size: 14px; color: var(--muted); margin-top: 16px; }
.ba-caption::before { content: ""; position: absolute; left: 0; top: 11px; width: 24px; height: 1px; background: var(--gold); }
.ba-text .lead { margin-bottom: 26px; }
.ba-facts { display: grid; gap: 12px; }
.ba-facts li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ba-facts li span:first-child { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; padding-top: 3px; }

/* ============ Références ============ */
.ref { display: grid; gap: 40px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.ref:first-of-type { border-top: 0; padding-top: 10px; }
.ref-media { position: relative; margin-bottom: 30px; }
.ref-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); }
.ref-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ref:hover .ref-main img { transform: scale(1.03); }
.ref-inset { position: absolute; right: -8px; bottom: -30px; width: 40%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--bg); box-shadow: 0 24px 40px -22px rgba(0,0,0,.45); background: var(--bg-2); }
.ref-inset img { width: 100%; height: 100%; object-fit: cover; }
.ref-site { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin-bottom: 12px; }
.ref h3 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 44px); font-weight: 600; line-height: 1.08; margin-bottom: 16px; }
.ref p { color: var(--muted); font-size: 16px; margin-bottom: 18px; max-width: 52ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--gold-tint); color: var(--gold-dark); border: 1px solid var(--gold-light); }

/* ============ Galerie ============ */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; grid-auto-flow: dense; }
.gal a { position: relative; display: block; overflow: hidden; border-radius: 10px; background: var(--bg-2); aspect-ratio: 1; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal a:hover img { transform: scale(1.06); }
.gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; font-size: 12.5px; line-height: 1.35; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.72)); transition: opacity .3s; }
.gal-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* ============ Site occupé + méthode (sombre) ============ */
.dark { background: var(--charcoal); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--gold); }
.dark .lead { color: rgba(255,255,255,.72); }
.occ { display: grid; gap: 44px; }
.occ-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.occ-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.occ-media img:nth-child(2) { margin-top: 44px; }
.occ-media figcaption { grid-column: 1 / -1; font-size: 13px; color: rgba(255,255,255,.55); }
.occ-list { display: grid; gap: 24px; margin-top: 30px; }
.occ-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.occ-item svg { color: var(--gold); margin-top: 2px; }
.occ-item h3 { margin-bottom: 5px; font-size: 17px; }
.occ-item p { font-size: 15px; color: rgba(255,255,255,.7); }
.steps { display: grid; gap: 22px; margin-top: 80px; padding-top: 60px; border-top: 1px solid rgba(255,255,255,.12); }
.steps-head { grid-column: 1 / -1; margin-bottom: 8px; }
.steps-head h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 6px; }
.step .num { font-family: var(--serif); font-size: 46px; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: rgba(255,255,255,.68); }

/* ============ Zone ============ */
.zone { display: grid; gap: 36px; align-items: center; }
.zone-map { background: var(--charcoal); border-radius: var(--radius-lg); padding: 32px; color: #fff; position: relative; overflow: hidden; }
.zone-map::after { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 18px 18px; pointer-events: none; }
.zone-map > * { position: relative; z-index: 1; }
.zone-map .pin { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.zone-map h3 { color: #fff; font-family: var(--serif); font-size: 32px; margin-bottom: 8px; }
.zone-map p { color: rgba(255,255,255,.7); font-size: 15px; }
.zone-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.zone-tags span { font-size: 13px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.zone-text p { color: var(--muted); margin-bottom: 14px; }

/* ============ FAQ ============ */
.faq { max-width: 800px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.2; color: var(--ink); }
.faq-q svg { flex: none; transition: transform .3s; color: var(--gold-dark); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 0 22px; color: var(--muted); font-size: 15.5px; max-width: 68ch; }

/* ============ Contact ============ */
.contact { display: grid; gap: 40px; }
.contact-info { display: grid; gap: 20px; align-content: start; }
.contact-line { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; font-size: 15.5px; }
.contact-line svg { color: var(--gold-dark); margin-top: 3px; }
.contact-line strong { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 3px; }
.contact-line a:hover { color: var(--gold-dark); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-light); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .6; cursor: wait; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { font-size: 14px; color: var(--gold-dark); font-weight: 500; min-height: 20px; }

/* ============ Pied de page ============ */
.footer { background: var(--charcoal); color: rgba(255,255,255,.7); padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; gap: 32px; margin-bottom: 44px; }
.footer-logo { width: 150px; }
.footer p { max-width: 34ch; margin-top: 16px; }
.footer h4 { color: #fff; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { display: grid; gap: 9px; }
.footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal button { color: inherit; font-size: 13px; }
.footer-legal button:hover { color: var(--gold); }

/* ============ Barre d'appel mobile ============ */
.mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .35s var(--ease); }
.mcta.show { transform: none; }
.mcta a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; background: var(--white); font-weight: 600; font-size: 15px; color: var(--ink); }
.mcta a.gold { background: var(--gold); }
body.has-banner .mcta { display: none; }

/* ============ Bandeau cookies ============ */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.4); display: none; max-width: 470px; }
.cookie.show { display: block; }
.cookie h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 8px; }
.cookie p { font-size: 14px; color: var(--muted); }
.cookie p a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cookie-actions .btn { padding: 12px 16px; font-size: 14px; }
.cookie-more { grid-column: 1 / -1; text-align: center; font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.cookie-more:hover { color: var(--ink); }

/* ============ Fenêtres (mentions, confidentialité, cookies, galerie) ============ */
dialog { border: 0; padding: 0; background: transparent; max-width: min(780px, calc(100% - 32px)); width: 100%; color: var(--ink); }
dialog::backdrop { background: rgba(12,12,12,.66); backdrop-filter: blur(4px); }
.dlg { background: var(--bg); border-radius: var(--radius-lg); max-height: 86vh; overflow: auto; padding: 36px 30px 40px; position: relative; }
.dlg-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--ink); }
.dlg-close:hover { background: var(--gold-light); }
.dlg h2 { font-size: 36px; margin-bottom: 6px; padding-right: 40px; }
.dlg .updated { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.dlg h3 { font-family: var(--serif); font-size: 25px; font-weight: 600; margin: 28px 0 8px; }
.dlg p, .dlg li { font-size: 15px; color: var(--ink-2); margin-bottom: 10px; line-height: 1.6; }
.dlg ul { padding-left: 18px; }
.dlg ul li { list-style: disc; margin-bottom: 6px; }
.dlg a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.todo { background: #FFF3B0; color: #5A4A00; padding: 1px 6px; border-radius: 4px; font-weight: 500; }
.consent-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.consent-row:last-of-type { border-bottom: 1px solid var(--line); }
.consent-row strong { display: block; font-size: 15px; }
.consent-row span { font-size: 13.5px; color: var(--muted); }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--line-2); transition: background .25s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .25s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + i { background: var(--gold); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:disabled + i { background: var(--gold-light); }
.switch input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.lightbox { max-width: min(1200px, calc(100% - 24px)); }
.lb { position: relative; display: grid; gap: 12px; justify-items: center; }
.lb img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 10px; background: #111; }
.lb-cap { color: #fff; font-size: 14px; text-align: center; display: flex; gap: 16px; align-items: center; }
.lb-cap span { color: rgba(255,255,255,.55); }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.lb-btn:hover { background: var(--gold); color: var(--ink); }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-close { position: absolute; top: -4px; right: 8px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lb-close:hover { background: var(--gold); color: var(--ink); }

/* ============ 768px ============ */
@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .section { padding: 108px 0; }
  .hero { padding: 150px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
  .section-head > div:first-child { flex: 1; }
  .section-head .lead { margin-top: 0; max-width: 46ch; }
  .promise { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-wrap { grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
  .ref { grid-template-columns: 1.1fr 1fr; gap: 60px; }
  .ref.alt .ref-media { order: 2; }
  .ref-media { margin-bottom: 0; }
  .gal { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; }
  .gal a { aspect-ratio: auto; }
  .gal a.big { grid-column: span 2; grid-row: span 2; }
  .gal a.wide { grid-column: span 2; }
  .gal figcaption { opacity: 0; }
  .gal a:hover figcaption, .gal a:focus-visible figcaption { opacity: 1; }
  .occ { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .zone { grid-template-columns: 1fr 1fr; gap: 56px; }
  .contact { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .cookie { left: 24px; right: auto; bottom: 24px; }
  .mcta { display: none; }
  .dlg { padding: 44px 48px 48px; }
}

/* ============ 1024px : navigation complète ============ */
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; padding: 12px 20px; font-size: 14px; }
  .nav-toggle, .menu { display: none !important; }
}

/* ============ 1440px ============ */
@media (min-width: 1440px) {
  .container { padding: 0 40px; max-width: 1280px; }
  .section { padding: 128px 0; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .gal { grid-auto-rows: 220px; gap: 12px; }
  .ref { gap: 88px; }
  .promise { gap: 96px; }
  .hero { padding: 172px 0 110px; }
  .hero-grid { gap: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-anim { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ============ Site multi-pages : cartes métiers et pages métier ============ */
a.svc { color: inherit; }
.svc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--gold-dark); }
.svc-link::after { content: "\2192"; transition: transform .3s; }
.svc:hover .svc-link::after { transform: translateX(4px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold-dark); }
.page-hero { padding-top: 112px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); }
.fiche { min-height: 0; justify-content: flex-start; }
.fiche-title { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.fiche-list { display: grid; }
.fiche-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.fiche-list strong { color: var(--gold); font-weight: 600; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; padding-top: 2px; }
.fiche-list span { color: rgba(255,255,255,.85); line-height: 1.45; }
.fiche .hero-card-line { margin-top: 22px; font-size: 22px; }
.prest { display: grid; gap: 14px; }
.prest li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 44px; position: relative; }
.prest li::before { content: ""; position: absolute; left: 20px; top: 27px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.prest strong { display: block; font-size: 16px; margin-bottom: 4px; }
.prest span { font-size: 14.5px; color: var(--muted); }
.pts { display: grid; gap: 22px; }
.pt .num { font-family: var(--serif); font-size: 42px; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.pt h3 { font-size: 17px; margin-bottom: 6px; }
.pt p { font-size: 14.5px; color: rgba(255,255,255,.7); }
.metiers { display: grid; gap: 12px; }
.metier { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; transition: border-color .25s, transform .3s; }
.metier:hover { border-color: var(--gold); transform: translateY(-3px); }
.metier strong { display: block; font-size: 16px; }
.metier span { font-size: 13px; color: var(--muted); }
.cta-band { padding: 72px 0; }
.cta-inner { display: grid; gap: 26px; align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 768px) {
  .prest { grid-template-columns: 1fr 1fr; }
  .pts { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .metiers { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { grid-template-columns: 1fr auto; gap: 48px; }
  .cta-band { padding: 96px 0; }
}
@media (min-width: 1200px) { .pts { grid-template-columns: repeat(4, 1fr); } }

/* ============ Animation du hero : le bâtiment se construit (lecture unique au premier affichage) ============ */
.hero-live { justify-content: flex-start; min-height: 0; padding-top: 26px; }
.live { position: relative; margin: 0 0 14px; }
.live svg { width: 100%; height: auto; display: block; }
.stages { position: absolute; left: 0; right: 0; bottom: 2px; display: grid; justify-items: center; pointer-events: none; }
.stages span { grid-area: 1 / 1; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; opacity: 0; }
.stages span:last-child, .stages span.on { opacity: 1; }
/* États finaux par défaut (sans script, ou animations réduites) */
.lv-cover { fill: #1E1E1E; transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); }
.lv-roof { stroke-dasharray: 300; stroke-dashoffset: 0; }
.lv-blocks, .lv-sweep { opacity: 0; }
.lv-sweep { transform-box: fill-box; }
/* Lecture unique quand le panneau entre à l'écran */
.hero-live.play .lv-cover { animation: lvCover 9s linear 1 both; }
.hero-live.play .lv-outline { animation: lvOutline 9s linear 1 both; }
.hero-live.play .lv-roof { animation: lvRoof 9s linear 1 both; }
.hero-live.play .lv-roof-fill { animation: lvRoofFill 9s linear 1 both; }
.hero-live.play .lv-win { animation: lvWin 9s linear 1 both; }
.hero-live.play .lv-door { animation: lvDoor 9s linear 1 both; }
.hero-live.play .lv-blocks { animation: lvBlocksK 9s linear 1 both; }
.hero-live.play .lv-render { animation: lvRender 9s linear 1 both; }
.hero-live.play .lv-sweep { animation: lvSweep 9s linear 1 both; }
.hero-live.play .stages span:nth-child(1) { animation: lvStage1 9s linear 1 both; }
.hero-live.play .stages span:nth-child(2) { animation: lvStage2 9s linear 1 both; }
.hero-live.play .stages span:nth-child(3) { animation: lvStage3 9s linear 1 both; }
.hero-live.play .stages span:nth-child(4) { animation: lvStage4 9s linear 1 both; }
@keyframes lvCover { 0%, 4% { transform: scaleY(1); } 33%, 100% { transform: scaleY(0); } }
@keyframes lvOutline { 0%, 28% { opacity: 0; } 35%, 100% { opacity: 1; } }
@keyframes lvRoof { 0%, 31% { stroke-dashoffset: 300; } 56%, 100% { stroke-dashoffset: 0; } }
@keyframes lvRoofFill { 0%, 54% { opacity: 0; } 60%, 100% { opacity: 1; } }
@keyframes lvWin { 0%, 60% { opacity: 0; } 67%, 100% { opacity: 1; } }
@keyframes lvDoor { 0%, 65% { opacity: 0; } 72%, 100% { opacity: 1; } }
@keyframes lvBlocksK { 0%, 76% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes lvRender { 0%, 76% { opacity: 0; } 90%, 100% { opacity: 1; } }
@keyframes lvSweep { 0%, 74% { opacity: 0; transform: translateX(0); } 76% { opacity: 1; transform: translateX(0); } 90% { opacity: 1; transform: translateX(217px); } 92%, 100% { opacity: 0; transform: translateX(217px); } }
@keyframes lvStage1 { 0%, 3% { opacity: 0; } 8%, 28% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes lvStage2 { 0%, 32% { opacity: 0; } 38%, 56% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes lvStage3 { 0%, 60% { opacity: 0; } 66%, 72% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes lvStage4 { 0%, 75% { opacity: 0; } 82%, 100% { opacity: 1; } }

/* ============ Animations des pages métiers (lecture unique) ============ */
.an { width: 100%; height: auto; display: block; }
.an .gnd, .an .rail, .an .edge, .an .raf, .an .stud, .an .tape, .an .prop, .an .scaf { stroke: #B8A058; fill: none; stroke-linecap: round; }
.an .gnd { stroke: rgba(184,160,88,.45); }
.an-mac .b, .an-dem .b { fill: rgba(184,160,88,.16); stroke: #B8A058; stroke-width: 1; transform-box: fill-box; }
.an-dem .b { opacity: 0; }
.an-dem .rub { fill: rgba(184,160,88,.35); }
.an-pla .rail { stroke-width: 2; }
.an-pla .stud { stroke-width: 2; stroke-dasharray: 200; }
.an-pla .board { fill: rgba(184,160,88,.14); stroke: #B8A058; stroke-width: 1; transform-box: fill-box; }
.an-pla .tape { stroke: rgba(255,255,255,.7); stroke-width: 3; }
.an-sol .tile { fill: rgba(184,160,88,.16); stroke: #B8A058; stroke-width: 1; transform-box: fill-box; transform-origin: 50% 50%; }
.an-toi .edge { stroke-width: 2.5; stroke-dasharray: 460; }
.an-toi .raf { stroke-width: 1.2; stroke: rgba(184,160,88,.6); }
.an-toi .tile { fill: rgba(184,160,88,.22); stroke: #B8A058; stroke-width: 1; }
.an-fac .wall { fill: rgba(255,255,255,.035); stroke: #B8A058; stroke-width: 1.5; }
.an-fac .scaf { stroke-width: 1.5; stroke-dasharray: 200; }
.an-fac .render { fill: rgba(184,160,88,.14); transform-box: fill-box; transform-origin: 0 50%; }
.an-fac .sweep { fill: #B8A058; opacity: 0; transform-box: fill-box; }
.an-fac .win { fill: rgba(184,160,88,.2); stroke: #B8A058; stroke-width: 1.2; }
.an-ren .wall { fill: rgba(184,160,88,.12); stroke: #B8A058; stroke-width: 1.5; }
.an-ren .hole { fill: #1E1E1E; }
.an-ren .prop { stroke-width: 3; opacity: 0; }
.an-ren .beam { fill: rgba(184,160,88,.35); stroke: #B8A058; stroke-width: 1.5; transform-box: fill-box; }
.play .an-mac .b { animation: anBlkIn 6s linear 1 both; animation-delay: calc(var(--d) * .1s); }
@keyframes anBlkIn { 0%, 3% { opacity: 0; transform: translateY(6px); } 10%, 100% { opacity: 1; transform: none; } }
.play .an-dem .b { animation: anBlkOut 6s linear 1 both; animation-delay: calc(var(--d) * .08s); }
@keyframes anBlkOut { 0%, 15% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; transform: translateY(10px); } }
.play .an-dem .rub { animation: anRub 6s linear 1 both; animation-delay: calc(var(--d) * .25s); }
@keyframes anRub { 0%, 25% { opacity: 0; } 35%, 100% { opacity: 1; } }
.play .an-pla .stud { animation: anStud 6s linear 1 both; animation-delay: calc(var(--d) * .12s); }
@keyframes anStud { 0%, 2% { stroke-dashoffset: 200; } 16%, 100% { stroke-dashoffset: 0; } }
.play .an-pla .board { animation: anBoard 6s linear 1 both; animation-delay: calc(var(--d) * .3s); }
@keyframes anBoard { 0%, 24% { opacity: 0; transform: translateX(26px); } 34%, 100% { opacity: 1; transform: none; } }
.play .an-pla .tape { animation: anTape 6s linear 1 both; animation-delay: calc(var(--d) * .2s); }
@keyframes anTape { 0%, 66% { opacity: 0; } 74%, 100% { opacity: 1; } }
.play .an-sol .tile { animation: anTile 6s linear 1 both; animation-delay: calc(var(--d) * .16s); }
@keyframes anTile { 0%, 3% { opacity: 0; transform: scale(.85); } 10%, 100% { opacity: 1; transform: none; } }
.play .an-toi .edge { animation: anEdge 6s linear 1 both; }
@keyframes anEdge { 0% { stroke-dashoffset: 460; } 18%, 100% { stroke-dashoffset: 0; } }
.play .an-toi .raf { animation: anRaf 6s linear 1 both; animation-delay: calc(var(--d) * .1s); }
@keyframes anRaf { 0%, 12% { opacity: 0; } 20%, 100% { opacity: 1; } }
.play .an-toi .tile { animation: anTileT 6s linear 1 both; animation-delay: calc(var(--d) * .035s); }
@keyframes anTileT { 0%, 24% { opacity: 0; } 30%, 100% { opacity: 1; } }
.play .an-fac .scaf { animation: anScaf 6s linear 1 both; animation-delay: calc(var(--d) * .1s); }
@keyframes anScaf { 0% { stroke-dashoffset: 200; } 16%, 100% { stroke-dashoffset: 0; } }
.play .an-fac .render { animation: anRender 6s linear 1 both; }
@keyframes anRender { 0%, 28% { transform: scaleX(0); } 76%, 100% { transform: scaleX(1); } }
.play .an-fac .sweep { animation: anSweepF 6s linear 1 both; }
@keyframes anSweepF { 0%, 26% { opacity: 0; transform: translateX(0); } 29% { opacity: 1; transform: translateX(0); } 76% { opacity: 1; transform: translateX(194px); } 79%, 100% { opacity: 0; transform: translateX(194px); } }
.play .an-fac .win { animation: anWinF 6s linear 1 both; animation-delay: calc(var(--d) * .08s); }
@keyframes anWinF { 0%, 78% { opacity: 0; } 86%, 100% { opacity: 1; } }
.play .an-ren .prop { animation: anProp 6s linear 1 both; animation-delay: calc(var(--d) * .2s); }
@keyframes anProp { 0%, 10% { opacity: 0; } 18%, 80% { opacity: 1; } 90%, 100% { opacity: 0; } }
.play .an-ren .beam { animation: anBeam 6s linear 1 both; }
@keyframes anBeam { 0%, 34% { opacity: 0; transform: translateY(-70px); } 40% { opacity: 1; transform: translateY(-70px); } 58%, 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .live *, .stages span { animation: none !important; } }
