:root {
  --bg: #0F1B2D;
  --bg-panel: #16273D;
  --bg-darker: #0A121F;
  --bg-darkest: #070C14;
  --text: #F3ECE1;
  --text-muted: #DCE3EC;
  --text-mute-2: #9FB0C3;
  --text-mute-3: #A9B8C9;
  --gold: #C9A227;
  --gold-dark: #9C7A1E;
  --gold-light: #E8C468;
  --wood-a: #6B4A34;
  --wood-b: #5A3D2A;
  --serif: 'Playfair Display', serif;
  --sans: 'Public Sans', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}

a { color: var(--gold); }
a:hover { color: var(--gold-dark); }

.placeholder {
  background: repeating-linear-gradient(135deg, var(--wood-a), var(--wood-a) 14px, var(--wood-b) 14px, var(--wood-b) 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-family: 'Courier New', monospace;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.5px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 48px);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.3px;
}
.logo:hover { color: var(--text); }

.main-nav {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.main-nav a:hover { color: var(--gold); }

.btn-gold {
  background: var(--gold);
  color: var(--bg) !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}
.btn-gold:hover { background: var(--gold-dark); }

.btn-outline {
  background: transparent;
  color: var(--text) !important;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--text);
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold) !important; }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(420px, 58vw, 640px);
}

.hero-photo {
  position: absolute;
  inset: 0;
  align-items: flex-start;
  padding-top: 32px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 23, 18, 0.15) 0%, rgba(28, 23, 18, 0.65) 100%);
}

.hero-content {
  position: relative;
  min-height: clamp(420px, 58vw, 640px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(24px, 5vw, 64px);
  max-width: 720px;
}

.hero-content h1 {
  font-family: var(--serif);
  color: var(--text);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.1;
}

.hero-content p {
  color: #E7DCCB;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.5;
  margin: 0 0 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-actions a { text-decoration: none; }

/* Savoir-faire */
.savoir-faire {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 48px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.savoir-faire-photo {
  flex: 1 1 380px;
  min-width: 280px;
  aspect-ratio: 4 / 3;
  padding: 16px;
  border-radius: 2px;
}

.savoir-faire-text {
  flex: 1 1 380px;
  min-width: 280px;
}

.savoir-faire-text h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--text);
}

.savoir-faire-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.link-gold {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

/* Featured */
.featured {
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 48px);
  background: var(--bg-panel);
}

.featured-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.featured-inner h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  margin: 0 0 32px;
  color: var(--text);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.product-card {
  text-decoration: none;
  color: var(--text);
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.08);
}

.product-card-image {
  aspect-ratio: 1 / 1;
  padding: 12px;
}

.product-card-body {
  padding: 16px 18px 20px;
}

.product-card-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.product-card-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.product-card-price {
  font-size: 15px;
  color: var(--text-mute-2);
}

/* Quick links */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.quick-link {
  text-decoration: none;
  background: var(--bg);
  color: var(--text);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-link-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.quick-link-desc {
  font-size: 14px;
  color: var(--text-mute-2);
}

/* Footer */
.site-footer {
  background: var(--bg-darker);
  color: var(--text);
  padding: 56px clamp(20px, 5vw, 48px) 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-about { max-width: 320px; }

.footer-logo {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-about p {
  color: var(--text-mute-3);
  font-size: 14px;
  line-height: 1.6;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--gold-light);
}

.footer-col a {
  display: block;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 6px;
  font-size: 14px;
}

.footer-muted {
  color: var(--text-mute-3);
  font-size: 14px;
  line-height: 1.8;
}

.footer-bottom {
  background: var(--bg-darkest);
  color: #5A6B80;
  text-align: center;
  padding: 16px;
  font-size: 12px;
}

/* Page hero (sous-pages) */
.page-hero {
  padding: clamp(48px, 8vw, 72px) clamp(20px, 5vw, 48px) clamp(32px, 5vw, 48px);
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

.page-hero p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  max-width: 620px;
}

/* Devis */
.devis-section {
  padding: 0 clamp(20px, 5vw, 48px) clamp(64px, 8vw, 96px);
}

.devis-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}

.devis-info {
  flex: 1 1 320px;
  min-width: 280px;
  background: var(--bg-panel);
  border-radius: 4px;
  padding: 32px;
}

.devis-info h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--text);
}

.devis-steps {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.devis-steps li { margin-bottom: 10px; }
.devis-steps strong { color: var(--gold-light); }

.reassurance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-mute-2);
}

.reassurance-list li {
  padding-left: 22px;
  position: relative;
}

.reassurance-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

.devis-form {
  flex: 2 1 480px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-fieldset {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-fieldset[hidden] { display: none; }

.form-fieldset legend {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-light);
  padding: 0 6px;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-row .form-group { flex: 1 1 200px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute-3);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-darker);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; }

.form-hint {
  font-size: 12px;
  color: var(--text-mute-2);
  margin: 0;
  line-height: 1.5;
}

.devis-form button[type="submit"] {
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

.contact-details { margin-bottom: 24px; }
.contact-details a { color: var(--text-mute-2); text-decoration: none; }
.contact-details a:hover { color: var(--gold); }
.contact-hours-heading { margin-top: 8px; }

/* Catalogue */
.catalogue-section {
  padding: 0 clamp(20px, 5vw, 48px) clamp(64px, 8vw, 96px);
}

.catalogue-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.catalogue-filters {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 96px;
}

.filter-heading {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}

.filter-reset {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--sans);
}

.catalogue-results {
  flex: 1 1 480px;
  min-width: 280px;
}

.catalogue-count {
  font-size: 14px;
  color: var(--text-mute-2);
  margin: 0 0 20px;
}

.catalogue-empty {
  color: var(--text-mute-2);
  font-size: 15px;
}

/* Produit */
.produit-section {
  padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 48px) clamp(64px, 8vw, 96px);
}

.produit-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.produit-image {
  flex: 1 1 380px;
  min-width: 280px;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
}

.produit-body {
  flex: 1 1 380px;
  min-width: 280px;
}

.produit-body h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  margin: 4px 0 4px;
  color: var(--text);
}

.produit-brand {
  color: var(--text-mute-2);
  font-size: 14px;
  margin: 0 0 16px;
}

.produit-price {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-light);
  margin: 0 0 20px;
}

.produit-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.produit-specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.produit-specs th,
.produit-specs td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.produit-specs th {
  color: var(--text-mute-3);
  font-weight: 600;
  width: 40%;
}

.produit-specs td { color: var(--text); }

.produit-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.produit-actions a { text-decoration: none; }
