:root {
  --cream: #f0e6da;
  --cream-2: #e7dac8;
  --ink: #1d1714;
  --ink-2: #2a201b;
  --muted: #6f655b;
  --red: #6e1714;
  --red-deep: #4a0e0c;
  --green: #2f5d48;
  --green-deep: #173327;
  --gold: #b8975a;
  --gold-light: #d9bf86;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --deco: "Poiret One", "Jost", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--ink); font-family: var(--serif); font-size: 20px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.wrap { width: min(1200px, 100% - 64px); margin-inline: auto; }
.eyebrow { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; }
.section-title { font-family: var(--deco); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: .02em; }
.lead { font-size: clamp(21px, 2vw, 25px); line-height: 1.45; max-width: 52ch; }
.muted { color: var(--muted); }
.small { font-family: var(--sans); font-size: 12px; letter-spacing: .04em; }
.note { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 28px; }
.dark .note { color: rgba(240,230,218,.55); }
section { padding: 120px 0; }
.dark { background: var(--ink); color: var(--cream); }
.dark .muted { color: rgba(240,230,218,.7); }
.red { background: var(--red); color: var(--cream); }
.green { background: var(--green-deep); color: var(--cream); }
.sand { background: var(--cream-2); }
.section-head { margin-bottom: 56px; }
.section-head .eyebrow { display: block; margin-bottom: 18px; color: var(--red); }
.dark .section-head .eyebrow, .red .section-head .eyebrow, .green .section-head .eyebrow { color: var(--gold-light); }
.section-head .lead { margin-top: 22px; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }

.checker { height: 22px; background: conic-gradient(var(--ink) 25%, var(--cream) 0 50%, var(--ink) 0 75%, var(--cream) 0) 0 0 / 44px 44px; border-block: 1px solid var(--gold); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--gold); margin: 0 auto 30px; }
.ornament::before, .ornament::after { content: ""; width: 60px; height: 1px; background: currentColor; }

/* ---------- Nav ---------- */
.nav { position: absolute; inset: 0 0 auto; z-index: 20; padding: 24px 0; color: var(--cream); }
.nav.solid { position: sticky; top: 0; background: rgba(29,23,20,.96); backdrop-filter: blur(6px); padding: 16px 0; border-bottom: 1px solid rgba(184,151,90,.3); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--deco); font-size: 22px; letter-spacing: .3em; text-decoration: none; white-space: nowrap; }
.nav ul { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav ul a { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; opacity: .82; transition: opacity .2s, color .2s; }
.nav ul a:hover, .nav ul a[aria-current="page"] { opacity: 1; color: var(--gold-light); }
.nav .pill { border: 1px solid var(--gold); padding: 9px 16px; opacity: 1; }
.nav .pill:hover { background: var(--gold); color: var(--red-deep) !important; }
.burger { display: none; background: none; border: 0; color: inherit; cursor: pointer; width: 40px; height: 40px; }
.burger span { display: block; width: 24px; height: 1px; background: currentColor; margin: 6px auto; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; color: var(--cream); background: var(--red-deep); overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,10,8,.85) 0%, rgba(29,10,8,.35) 70%, rgba(29,10,8,.15)); }
.page-hero .wrap { position: relative; z-index: 1; padding: 190px 0 110px; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { font-family: var(--deco); font-weight: 400; font-size: clamp(48px, 7vw, 96px); line-height: 1; margin: 22px 0 26px; }
.page-hero .lead { color: var(--cream-2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 28px; border: 1px solid var(--gold); background: transparent; color: inherit; font-family: var(--sans); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s; }
.btn:hover { background: var(--gold); color: var(--red-deep); }
.btn.solid { background: var(--gold); color: var(--red-deep); }
.btn.solid:hover { background: var(--gold-light); }
.btn.dark-btn { border-color: var(--ink); }
.btn.dark-btn:hover { background: var(--ink); color: var(--cream); }

/* ---------- Grids & cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { border-top: 1px solid var(--gold); padding-top: 18px; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; color: var(--red); }
.dark .stat b, .red .stat b, .green .stat b { color: var(--gold-light); }
.stat span { display: block; font-family: var(--sans); font-size: 14px; line-height: 1.45; margin-top: 12px; color: var(--muted); }
.dark .stat span, .red .stat span, .green .stat span { color: rgba(240,230,218,.75); }

.photo { position: relative; overflow: hidden; background: var(--ink-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.photo:hover img { transform: scale(1.03); }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: var(--cream); font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.arch-img { border-radius: 999px 999px 0 0; }

/* Gallery mosaic */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; gap: 10px; }
.gallery .photo { cursor: zoom-in; }
.gallery .g-a { grid-column: span 4; grid-row: span 2; }
.gallery .g-b { grid-column: span 2; grid-row: span 2; }
.gallery .g-c { grid-column: span 2; grid-row: span 2; }
.gallery .g-d { grid-column: span 3; grid-row: span 2; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,10,8,.94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox p { color: var(--cream); font-family: var(--sans); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; text-align: center; margin-top: 18px; }
.lightbox .close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: var(--cream); font-size: 34px; cursor: pointer; line-height: 1; }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; }
.table th { text-align: left; font-weight: 500; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); padding: 12px 10px; border-bottom: 1px solid var(--red); }
.dark .table th { color: var(--gold); border-color: var(--gold); }
.table td { padding: 13px 10px; border-bottom: 1px solid rgba(184,151,90,.45); vertical-align: top; }
.table td.num, .table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table tr.total td { background: var(--red); color: var(--cream); font-weight: 500; border: 0; }
.table tr.hl td { font-weight: 500; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label, .field legend { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 9px; color: var(--muted); }
.dark .field label, .dark .field legend, .red .field label, .red .field legend, .green .field label, .green .field legend { color: var(--gold-light); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid currentColor; padding: 10px 2px; color: inherit; font-family: var(--serif); font-size: 20px; outline: none; border-radius: 0; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
fieldset.field { border: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { margin: 0; text-transform: none; letter-spacing: 0; font-family: var(--serif); font-size: 18px; color: inherit !important; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-block; padding: 8px 16px; border: 1px solid rgba(184,151,90,.7); cursor: pointer; transition: background .2s, color .2s; }
.choices input:checked + span { background: var(--gold); color: var(--red-deep); border-color: var(--gold); }
.choices input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-family: var(--sans); font-size: 13px; line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-style: italic; min-height: 1.5em; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: #e08070; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Inline feedback strip (bottom of pages) */
.quick-feedback { background: var(--green-deep); color: var(--cream); padding: 90px 0; }
.quick-feedback .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.quick-feedback .eyebrow { color: var(--gold-light); }
.quick-feedback h2 { font-family: var(--deco); font-weight: 400; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; margin: 16px 0 18px; }
.quick-feedback p { color: var(--cream-2); }

/* Ce que nous sommes / ne sommes pas */
  .compare { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
  .compare > div { border-top: 2px solid var(--gold); padding-top: 40px; }
  .compare > div.yes { border-color: var(--green); }
  .compare .eyebrow { color: var(--muted); }
  .compare .yes .eyebrow { color: var(--green); }
  .compare ul { list-style: none; margin-top: 24px; }
  .compare li { font-size: clamp(25px, 2.5vw, 33px); line-height: 1.75; }
  .compare .no li { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(184,151,90,.7); text-decoration-thickness: 1px; }
@media (max-width: 960px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--cream-2); padding: 70px 0 50px; }
footer .wrap { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
footer .logo { font-size: 30px; color: var(--cream); display: block; margin-bottom: 8px; }
footer small, footer a { font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .7; text-decoration: none; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a:hover { opacity: 1; color: var(--gold-light); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .burger { display: block; }
  .nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: rgba(29,23,20,.98); padding: 12px 32px 24px; }
  .nav.open ul { display: flex; }
  .nav ul li { width: 100%; }
  .nav ul a { display: block; padding: 14px 0; font-size: 12px; }
  .nav .pill { display: inline-block; margin-top: 10px; }
  .nav { background: transparent; }
  .nav.open { background: rgba(29,23,20,.98); }
}
@media (max-width: 960px) {
  .grid-2, .grid-3, .quick-feedback .wrap { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery .g-a, .gallery .g-d { grid-column: span 2; }
  .gallery .g-b, .gallery .g-c { grid-column: span 1; }
}
@media (max-width: 600px) {
  body { font-size: 18px; }
  .wrap { width: calc(100% - 32px); }
  section { padding: 84px 0; }
  .grid-4, .form .row { grid-template-columns: 1fr; }
  .page-hero .wrap { padding: 150px 0 80px; }
  .nav ul { padding: 12px 16px 24px; }
  .lightbox { padding: 16px; }
}
