:root {
  --ink: #1f2326;
  --muted: #5d6468;
  --bg: #faf8f5;
  --alt: #f1ece5;
  --line: #e2dbd1;
  --gold: #c9a22c;        /* or du logo */
  --gold-light: #ddb94a;
  --accent: #8a6d14;      /* or foncé, lisible sur fond clair */
  --black: #0b0b0b;       /* noir du logo */
  --dark: #141414;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 35, 38, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .8em;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  padding: .9em 1.6em;
  border-radius: 999px;
  border: 2px solid var(--gold);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--small { padding: .55em 1.1em; font-size: .9rem; color: var(--black) !important; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--black);
  color: #fff;
  border-bottom: 1px solid #222;
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 50px; width: auto; }
.logo--footer img { height: 70px; }

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--gold); }

.lang { display: flex; border: 1px solid #333; border-radius: 999px; padding: 3px; background: #1a1a1a; }
.lang button {
  border: 0; background: none; font: inherit; font-size: .82rem; font-weight: 600;
  padding: .3em .75em; border-radius: 999px; cursor: pointer; color: #aaa;
}
.lang button.is-active { background: var(--gold); color: var(--black); }

.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 8px; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: .25s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0; }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 14ch; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 44px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 40px; flex-wrap: wrap; }
.hero__facts strong { display: block; font-family: "Playfair Display", serif; font-size: 1.8rem; }
.hero__facts span { color: var(--muted); font-size: .9rem; }
.hero__img { position: relative; margin: 0; }
.hero__img::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--gold); border-radius: var(--radius);
}
.hero__img img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 75%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--alt); }
.section--dark { background: var(--black); color: #eef0f1; }
.section--dark .eyebrow { color: var(--gold); }
.section--dark .section__lead { color: #a9b0b4; }
.section__lead { color: var(--muted); max-width: 60ch; margin-bottom: 40px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--black);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }

/* Products */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.product { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.product h3 { margin: 18px 20px 4px; }
.product p { margin: 0 20px 20px; color: var(--muted); font-size: .95rem; }
.swatch { height: 170px; }
.swatch--porcelain {
  background:
    repeating-linear-gradient(0deg, transparent 0 58px, #fff 58px 60px),
    repeating-linear-gradient(90deg, transparent 0 58px, #fff 58px 60px),
    linear-gradient(135deg, #9a9a96, #c7c5bf);
}
.swatch--wall {
  background:
    repeating-linear-gradient(0deg, transparent 0 28px, #dfe5e6 28px 30px),
    repeating-linear-gradient(90deg, transparent 0 88px, #dfe5e6 88px 90px),
    linear-gradient(160deg, #fdfdfb, #e9efef);
}
.swatch--mosaic {
  background:
    repeating-linear-gradient(0deg, transparent 0 16px, #f4f1ea 16px 18px),
    repeating-linear-gradient(90deg, transparent 0 16px, #f4f1ea 16px 18px),
    conic-gradient(from 45deg at 30% 40%, #3e6d74, #5b9aa0, #2f5156, #7bb2b0, #3e6d74);
}
.swatch--stone {
  background:
    radial-gradient(ellipse at 20% 30%, #ffffff88 0 10%, transparent 30%),
    linear-gradient(115deg, transparent 40%, #b8aa9555 42%, transparent 46%),
    linear-gradient(160deg, #efe8dc, #d8cbb6 60%, #c9b89e);
}
.swatch--wood {
  background:
    repeating-linear-gradient(0deg, transparent 0 40px, #6b4a33 40px 42px),
    repeating-linear-gradient(90deg, #a77a56 0 4px, #b48965 4px 9px, #9d7050 9px 12px);
}
.swatch--photo { background-size: cover; background-position: center; }
.swatch--xl {
  background:
    linear-gradient(90deg, transparent 49.6%, #3a3f42 49.6% 50.4%, transparent 50.4%),
    linear-gradient(140deg, #4a5054, #2a2f32 70%);
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: s; }
.steps li { border-top: 2px solid var(--gold); padding-top: 18px; }
.steps span { font-family: "Playfair Display", serif; font-size: 2rem; color: var(--gold); }
.steps p { color: var(--muted); margin: 0; }

/* Gallery */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
.g { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: #1c1c1c; }
.g--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g a { display: block; height: 100%; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g:hover img { transform: scale(1.04); }
.g figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; pointer-events: none;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: .85rem; font-weight: 500;
}

/* Avant / Après */
.ba { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 14px; margin-top: 56px; align-items: stretch; }
.ba__text { align-self: center; padding-right: 20px; }
.ba__text p:not(.eyebrow) { color: #a9b0b4; }
.ba__text h3 { font-family: "Playfair Display", serif; font-size: 1.6rem; }
.ba__img { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.ba__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.ba__img figcaption {
  position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.7); color: #fff;
  font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; padding: .35em .8em; border-radius: 999px;
}
.ba__img figcaption.is-after { background: var(--gold); color: var(--black); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 82vh; border-radius: 8px; }
.lightbox figcaption { color: #ddd; margin-top: 10px; font-size: .95rem; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; padding: 10px 16px; }
.lightbox button:hover { color: var(--gold); }
.lightbox__close { top: 10px; right: 14px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }

/* About */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.about p { color: var(--muted); }
.checks { list-style: none; padding: 32px; margin: 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.checks li { padding: 12px 0 12px 36px; position: relative; border-bottom: 1px solid var(--line); font-weight: 500; }
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 22px; height: 22px; border-radius: 6px;
  background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a22c' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact > div > p { color: var(--muted); }
.contact__info { list-style: none; padding: 0; margin: 30px 0 0; }
.contact__info li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact__info b { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact__info a { text-decoration: none; font-weight: 500; }
.contact__info a:hover { color: var(--accent); }

.form { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; }
.form input, .form select, .form textarea {
  font: inherit; padding: .75em .9em; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.form .btn { justify-self: start; }
.form__status { margin: 0; font-weight: 500; }
.form__status.ok { color: #2e7d4f; }
.form__status.err { color: #b3261e; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { background: var(--black); border-top: 3px solid var(--gold); color: #c3c8cb; padding: 60px 0 24px; font-size: .92rem; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .logo { margin-bottom: 12px; }
.footer__bottom { border-top: 1px solid #2a2a2a; margin-top: 40px; padding-top: 20px; font-size: .82rem; color: #8b9295; }

/* Responsive */
@media (max-width: 900px) {
  .logo img { height: 42px; }
  .burger { display: block; order: 3; }
  .lang { margin-left: auto; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--black); border-bottom: 1px solid #222; padding: 8px 16px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #222; }
  .nav a.btn { margin-top: 14px; text-align: center; border-bottom: 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__img { max-width: 440px; margin-right: 24px; }
  .ba { grid-template-columns: 1fr 1fr; }
  .ba__text { grid-column: 1 / -1; }
  .about, .contact, .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .g figcaption { font-size: .75rem; }
  .ba { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
}
