/* ===========================================================
   Hier et Demain — Ébénisterie
   Feuille de style principale
   =========================================================== */

:root {
  --burgundy: #6d2233;
  --burgundy-dark: #4a1522;
  --burgundy-light: #8a3347;
  --cream: #faf6ee;
  --cream-alt: #f1e9d8;
  --wood: #3d2f22;
  --wood-light: #6b5643;
  --gold: #a3813f;
  --black: #211a14;
  --border: rgba(61, 47, 34, 0.12);

  --font-head: "Playfair Display", "Georgia", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--wood);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--burgundy-dark);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--burgundy);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.8em;
  font-weight: 500;
}

/* ---------- Bandeau / header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.9rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 0.6rem 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--wood);
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  height: 46px;
  width: 46px;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--burgundy-dark);
  line-height: 1.1;
}

.brand-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
}

.main-nav a {
  color: var(--wood);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.main-nav a:hover {
  color: var(--burgundy);
  text-decoration: none;
}

.nav-toggle {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
}

.hero img {
  width: 100%;
  height: 78vh;
  min-height: 420px;
  max-height: 720px;
  object-fit: cover;
}

/* ---------- Sections générales ---------- */

section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--cream-alt);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split.reverse .split-text {
  order: 1;
}

.split-media img {
  border-radius: 4px;
  box-shadow: 0 18px 40px -20px rgba(33, 26, 20, 0.45);
}

.split-text .divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 0.4em 0 1.4em;
}

.lede {
  font-size: 1.05rem;
}

strong {
  font-weight: 600;
  color: var(--burgundy-dark);
}

/* ---------- Intro (page top text under hero) ---------- */

.intro {
  text-align: center;
  padding: 4rem 0 1rem;
}

.intro p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--wood-light);
  font-family: var(--font-head);
  font-style: italic;
}

/* ---------- Savoir-faire ---------- */

.savoir-faire {
  text-align: center;
}

.savoir-faire .container {
  max-width: 820px;
}

.savoir-faire .divider {
  margin: 0.4em auto 1.6em;
}

.savoir-faire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  text-align: left;
}

.savoir-faire-grid .card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.8rem 1.6rem;
}

.savoir-faire-grid .card h4 {
  font-family: var(--font-head);
  color: var(--burgundy-dark);
  font-size: 1.05rem;
  margin: 0 0 0.5em;
}

.savoir-faire-grid .card p {
  font-size: 0.95rem;
  color: var(--wood-light);
  margin: 0;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-photo img {
  border-radius: 4px;
  box-shadow: 0 18px 40px -20px rgba(33, 26, 20, 0.45);
}

.contact-hours {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--wood-light);
  margin-bottom: 1.6rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.contact-list > li {
  display: flex;
  gap: 0.9rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.contact-list > li:first-child {
  padding-top: 0;
}

.contact-list > li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-list .label {
  min-width: 84px;
  flex-shrink: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-top: 0.35em;
}

.contact-list .value {
  color: var(--wood);
  flex: 1;
  min-width: 0;
}

.access-row {
  align-items: flex-start;
}

.access-list {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
}

.access-list li {
  display: grid;
  grid-template-columns: 22px 78px 32px 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.4rem 0;
  font-size: 0.95rem;
}

.access-list .badge-spacer {
  width: 32px;
}

.access-list li:first-child {
  padding-top: 0;
}

.transit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gold);
}

.transit-icon svg {
  width: 100%;
  height: 100%;
}

.access-list .mode {
  min-width: 78px;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--wood);
}

.access-list .dest {
  color: var(--wood-light);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 0.4rem;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.badge-metro13 {
  background: #98d4e2;
  color: #0f3a44;
}

.badge-t3a {
  background: #6fcf97;
  color: #0f3a24;
}

.badge-bus58 {
  background: #4caf6d;
  color: #fff;
}

.badge-bus59 {
  background: #f2a93b;
  color: #4a2c00;
}

.map-embed {
  margin-top: 3.5rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px -24px rgba(33, 26, 20, 0.4);
}

.map-embed iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ---------- Footer / mentions légales ---------- */

.site-footer {
  background: var(--black);
  color: #cfc4b6;
  padding: 3.5rem 0 2rem;
  font-size: 0.85rem;
}

.footer-brand {
  font-family: var(--font-head);
  color: #f2ead9;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-legal {
  max-width: 760px;
  color: #a89a89;
  line-height: 1.8;
}

.footer-legal strong {
  color: #cfc4b6;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8a7c6c;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split.reverse .split-media,
  .split.reverse .split-text {
    order: initial;
  }

  .savoir-faire-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3.5rem 0;
  }

  .hero img {
    height: 52vh;
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .header-inner {
    justify-content: center;
    text-align: center;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 0.4rem 1.2rem;
    font-size: 0.85rem;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
