
:root {
  --bg: #f4efe7;
  --paper: #fffdf9;
  --paper-alt: #fbf7f1;
  --slate: #18232b;
  --slate-soft: #22313b;
  --text: #243039;
  --muted: #66757f;
  --gold: #c79a55;
  --gold-dark: #9a7338;
  --line: #e7ddd0;
  --shadow: 0 22px 60px rgba(19, 26, 33, .14);
  --radius: 24px;
  --max: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 400 16px/1.6 Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 44px), var(--max)); margin: 0 auto; }
.section { padding: 102px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-dark); text-transform: uppercase; font-size: .78rem; font-weight: 900; letter-spacing: .16em;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: currentColor; opacity: .7; }
.section-title {
  margin: 15px 0 15px;
  color: var(--slate);
  font: 700 clamp(2rem, 4vw, 3.45rem)/1.04 Georgia, "Times New Roman", serif;
  letter-spacing: -.02em;
}
.section-lead { max-width: 780px; color: var(--muted); font-size: 1.03rem; }

.topbar {
  position: relative; z-index: 12; color: rgba(255,255,255,.88);
  background: #10161b; border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container, .nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar .container { min-height: 44px; font-size: .84rem; }
.topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar a:hover { color: var(--gold); }

.header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(13px);
  background: rgba(20, 27, 33, .88);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav { min-height: 82px; }
.logo { width: 290px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: #fff; font-size: .95rem; font-weight: 650; opacity: .94; }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  padding: 13px 20px; border-radius: 999px; color: #131b21 !important; background: var(--gold); font-weight: 800 !important;
  box-shadow: 0 10px 25px rgba(199,154,85,.28);
}
.menu-toggle {
  display: none; border: 1px solid rgba(255,255,255,.16); background: transparent; color: #fff;
  width: 44px; height: 44px; border-radius: 10px; font-size: 1.25rem;
}

.hero {
  position: relative;
  min-height: 92svh;
  color: #fff;
  background: linear-gradient(115deg, rgba(13,19,24,.78), rgba(13,19,24,.58)), url('assets/images/hero-maison-renovee.webp') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(199,154,85,.22), transparent 34%), linear-gradient(180deg, transparent 0%, rgba(7,10,12,.28) 60%, rgba(7,10,12,.55) 100%);
  pointer-events: none;
}
.hero .container { position: relative; padding: 112px 0 120px; min-height: inherit; display: grid; align-items: end; }
.hero-content { max-width: 760px; }
.hero h1 {
  margin: 16px 0 18px; font: 700 clamp(3.4rem, 9vw, 6.5rem)/.94 Georgia, "Times New Roman", serif; letter-spacing: -.045em;
}
.hero h1 span { color: var(--gold); }
.hero p { max-width: 690px; color: rgba(255,255,255,.84); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 800; transition: .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #11161a; background: linear-gradient(135deg, #d8ae66, var(--gold)); box-shadow: 0 16px 30px rgba(199,154,85,.30);
}
.btn-outline {
  color: #fff; border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.08);
}
.hero-card {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; max-width: 760px;
  margin-top: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px;
  background: rgba(255,255,255,.08); backdrop-filter: blur(14px); overflow: hidden;
}
.hero-stat { padding: 22px 24px; display: grid; gap: 6px; border-right: 1px solid rgba(255,255,255,.13); }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong { font-size: 1.02rem; font-weight: 800; }
.hero-stat span { color: rgba(255,255,255,.72); font-size: .88rem; }

.intro-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center; }
.intro-visual { position: relative; padding: 0 35px 35px 0; }
.intro-main {
  width: 100%; height: 620px; object-fit: cover; border-radius: 76px 6px 6px 6px; box-shadow: var(--shadow);
}
.intro-small {
  position: absolute; right: 0; bottom: 0; width: 41%; height: 235px; object-fit: cover;
  border-radius: 30px 6px 6px 6px; border: 8px solid var(--paper); box-shadow: var(--shadow);
}
.gold-card {
  position: absolute; left: -24px; bottom: 38px; padding: 16px 20px; display: grid; gap: 4px; border-radius: 18px;
  color: #fff; background: linear-gradient(135deg, var(--gold-dark), var(--gold)); box-shadow: var(--shadow);
}
.gold-card span:first-child { text-transform: uppercase; font-size: .68rem; font-weight: 900; letter-spacing: .18em; }
.gold-card span:last-child { font: 700 1.35rem Georgia, serif; }
.text-stack p { color: var(--muted); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 18px; margin: 27px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 23px; color: var(--slate); font-weight: 750; font-size: .91rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 900; }

.services { background: #192229; color: #fff; position: relative; overflow: hidden; }
.services::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 10%, rgba(199,154,85,.16), transparent 35%); pointer-events: none; }
.services .container { position: relative; }
.services .section-lead { color: rgba(255,255,255,.65); }
.services-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.service { min-height: 255px; padding: 28px; border-radius: 18px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); transition: .25s; }
.service:hover { transform: translateY(-7px); border-color: rgba(199,154,85,.62); background: rgba(255,255,255,.08); }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(199,154,85,.15); color: var(--gold); font-size: 1.5rem; }
.service h3 { font: 700 1.32rem Georgia, serif; margin: 20px 0 8px; }
.service p { color: rgba(255,255,255,.66); font-size: .93rem; margin: 0; }

.featured { background: #fff; }
.feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: center; }
.feature-grid img { width: 100%; height: 560px; object-fit: cover; border-radius: 62px 4px 4px 4px; box-shadow: var(--shadow); }
.feature-list { display: grid; gap: 18px; margin-top: 30px; }
.feature-item { padding: 19px 20px; border-left: 3px solid var(--gold); background: #fbf9f5; }
.feature-item h3 { margin: 0 0 5px; font-size: 1rem; }
.feature-item p { margin: 0; color: var(--muted); font-size: .92rem; }

.before-after { background: #f7f1e8; }
.ba-grid { display: grid; gap: 24px; margin-top: 38px; }
.ba-card {
  background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
}
.ba-images { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ba-image { position: relative; min-height: 330px; overflow: hidden; background: #d8d0c2; }
.ba-image.portrait { min-height: 520px; }
.ba-image img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.ba-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2; padding: 8px 12px; border-radius: 999px;
  color: #fff; background: rgba(14, 19, 24, .84); font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
}
.ba-badge.after { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }
.ba-content { padding: 26px 28px 30px; }
.ba-content h3 { margin: 0 0 10px; font: 700 1.54rem/1.1 Georgia, serif; color: var(--slate); }
.ba-content p { margin: 0; color: var(--muted); }

.realisations { background: #eee8de; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin-top: 38px; }
.gallery figure { margin: 0; overflow: hidden; min-height: 245px; position: relative; background: #d4cec4; cursor: zoom-in; border-radius: 6px; }
.gallery figure:nth-child(1), .gallery figure:nth-child(6) { grid-column: span 7; }
.gallery figure:nth-child(2), .gallery figure:nth-child(5) { grid-column: span 5; }
.gallery figure:nth-child(3), .gallery figure:nth-child(4), .gallery figure:nth-child(n+7) { grid-column: span 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: .45s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 15px; color: #fff; font-size: .85rem; font-weight: 800; background: linear-gradient(transparent, rgba(0,0,0,.78)); transform: translateY(100%); transition: .25s; }
.gallery figure:hover figcaption { transform: none; }

.cta { padding: 80px 0; color: #fff; background: linear-gradient(115deg, rgba(20,27,33,.94), rgba(20,27,33,.80)), url('assets/images/apres-faitage.webp') center/cover fixed; }
.cta-inner { display: flex; gap: 30px; align-items: center; justify-content: space-between; }
.cta h2 { margin: 0; max-width: 820px; font: 700 clamp(2rem, 4vw, 3.2rem)/1.04 Georgia, serif; }

.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: stretch; }
.contact-panel { color: #fff; background: var(--slate); padding: 42px; border-radius: 26px; box-shadow: var(--shadow); }
.contact-panel h2 { margin: 10px 0 22px; font: 700 2.4rem/1.02 Georgia, serif; }
.contact-panel p { color: rgba(255,255,255,.7); }
.contact-details { display: grid; gap: 16px; margin-top: 30px; }
.contact-line { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; }
.contact-line i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(199,154,85,.18); color: var(--gold); font-style: normal; }
.contact-line span { color: rgba(255,255,255,.68); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; display: block; }
.contact-line a, .contact-line strong { color: #fff; font-size: .96rem; font-weight: 750; }
.form { background: #fbf9f5; padding: 38px; border: 1px solid var(--line); border-radius: 26px; }
.form h3 { margin: 0 0 20px; font: 700 1.75rem Georgia, serif; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; color: #50606b; }
input, textarea { width: 100%; padding: 13px 14px; border: 1px solid #d9d4cc; border-radius: 10px; background: #fff; outline: none; transition: .2s; }
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,154,85,.16); }
textarea { resize: vertical; min-height: 132px; }
.form-note { color: var(--muted); font-size: .78rem; margin: 12px 0 0; }

.footer { background: #10161b; color: rgba(255,255,255,.67); padding: 37px 0 27px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer img { width: 265px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 20px; font-size: .76rem; }
.call-float { position: fixed; bottom: 18px; right: 18px; z-index: 40; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; color: #111; background: var(--gold); box-shadow: 0 12px 35px rgba(0,0,0,.26); font-size: 1.45rem; }

.lightbox { position: fixed; inset: 0; background: rgba(5,8,10,.92); z-index: 90; display: none; place-items: center; padding: 30px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1100px, 96vw); max-height: 88vh; object-fit: contain; box-shadow: 0 20px 70px rgba(0,0,0,.5); }
.lightbox button { position: fixed; top: 18px; right: 22px; border: 0; background: transparent; color: #fff; font-size: 2.2rem; cursor: pointer; }

@media (max-width: 1120px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 940px) {
  .topbar { display: none; }
  .nav { min-height: 74px; }
  .menu-toggle { display: block; }
  .nav-links { position: fixed; inset: 74px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #151d23; padding: 10px 20px 22px; border-top: 1px solid rgba(255,255,255,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .intro-grid, .feature-grid, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .intro-main { height: 480px; }
  .feature-grid img { height: 450px; }
  .cta-inner, .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .ba-image, .ba-image.portrait { min-height: 300px; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 77px 0; }
  .hero { min-height: 700px; }
  .hero .container { padding: 88px 0 105px; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 4.5rem); }
  .hero-card { grid-template-columns: 1fr; }
  .hero-stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero-stat:last-child { border-bottom: 0; }
  .intro-visual { padding: 0 20px 28px 0; }
  .intro-main { height: 390px; }
  .intro-small { height: 155px; border-width: 7px; }
  .gold-card { left: -8px; bottom: 14px; padding: 13px 16px; }
  .checks, .services-grid, .form-grid, .ba-images { grid-template-columns: 1fr; }
  .gallery figure, .gallery figure:nth-child(n) { grid-column: span 12; min-height: 250px; }
  .feature-grid img { height: 360px; border-radius: 36px 4px 4px 4px; }
  .contact-panel, .form { padding: 25px; border-radius: 18px; }
  .cta { background-attachment: scroll; }
  .ba-image, .ba-image.portrait { min-height: 240px; }
  .ba-content { padding: 22px 20px 24px; }
}
