:root {
  --bg: #14110e;            /* charbon */
  --bg-2: #1c1813;
  --surface: #211c16;
  --surface-2: #2a241c;
  --ink: #f3ede4;
  --muted: #b7ab99;
  --line: #3a3128;
  --wood: #c2833f;          /* bois ambré */
  --wood-2: #9c6326;
  --brass: #d9b25f;         /* laiton */
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0,0,0,.45);
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(20,17,14,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 13px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-logo { height: 40px; width: auto; }
.brand-text { font-size: 1.02rem; letter-spacing: -.01em; color: var(--ink); }
.brand-text strong { color: var(--wood); }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { background: linear-gradient(145deg, var(--wood), var(--wood-2)); color: #1a1208 !important; padding: 9px 17px; border-radius: 999px; font-weight: 700; box-shadow: 0 8px 22px rgba(194,131,63,.35); }
.nav-cta:hover { filter: brightness(1.06); }
.nav-burger { display: none; background: none; border: 0; font-size: 1.7rem; color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; background: url("assets/projects/proj_01.jpg") center/cover no-repeat; transform: scale(1.04); }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(15,12,9,.92) 0%, rgba(15,12,9,.72) 42%, rgba(15,12,9,.30) 100%); }
.hero-content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; width: 100%; }
.hero-logo { width: 200px; max-width: 56%; height: auto; margin-bottom: 22px; filter: drop-shadow(0 6px 22px rgba(0,0,0,.55)); }
.hero-eyebrow { color: var(--brass); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 16px; }
.hero-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(3rem, 7vw, 5.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.hero-title span { color: var(--wood); }
.hero-sub { margin: 20px 0 32px; font-size: 1.18rem; color: #e7ddcf; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--muted); font-size: 1.6rem; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 14px 24px; border-radius: 999px; cursor: pointer; border: 0; font-size: 1rem; transition: transform .15s ease, box-shadow .2s ease, filter .2s ease; }
.btn-primary { background: linear-gradient(145deg, var(--wood), var(--wood-2)); color: #1a1208; box-shadow: 0 12px 30px rgba(194,131,63,.4); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--ink); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--wood); color: var(--wood); }

/* ---------- Sections ---------- */
.section { padding: 88px 22px; }
.section-dark { background: var(--bg-2); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.eyebrow { color: var(--wood); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -.01em; text-align: center; }
.section-lead { text-align: center; color: var(--muted); margin: 14px auto 44px; max-width: 620px; font-size: 1.06rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--wood); box-shadow: var(--shadow); }
.card-ico { font-size: 1.9rem; }
.card h3 { margin: 12px 0 8px; font-size: 1.18rem; color: var(--ink); }
.card p { color: var(--muted); font-size: .97rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 10px 28px rgba(0,0,0,.3); }
.gallery img { width: 100%; height: 260px; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { padding: 12px 14px; font-size: .92rem; color: var(--muted); }

/* ---------- Two col ---------- */
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.col-text .section-title { text-align: left; }
.col-text p { color: var(--muted); margin: 14px 0; }
.facts { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-weight: 500; color: var(--ink); }
.col-media { display: grid; gap: 16px; }
.about-logo { width: 240px; max-width: 70%; margin: 0 auto 4px; filter: drop-shadow(0 8px 22px rgba(0,0,0,.4)); }
.col-media img.sign { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; margin-top: 10px; }
.contact-info { display: grid; gap: 16px; align-content: start; }
.info-row { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.info-row span { font-size: 1.4rem; }
.info-row a:hover { color: var(--wood); }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; color: var(--muted); }
.contact-form input, .contact-form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); color: var(--ink); resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--wood); border-color: var(--wood); }
.form-status { font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #76c89a; }
.form-status.err { color: #e08a82; }

/* ---------- Footer ---------- */
.footer { background: #0e0c09; color: var(--muted); padding: 26px 22px; border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .92rem; }
.footer-brand { color: var(--ink); font-weight: 700; }
.footer-brand strong { color: var(--wood); }
.footer-credit { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.footer-credit a { color: var(--wood); }
.footer-credit a:hover { text-decoration: underline; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .cards, .gallery { grid-template-columns: repeat(2, 1fr); }
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 0; transform: translateY(-130%); transition: transform .25s ease; box-shadow: var(--shadow); }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 22px; width: 100%; }
  .nav-burger { display: block; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 540px) {
  .cards, .gallery { grid-template-columns: 1fr; }
  .hero { min-height: 86vh; }
}
