
:root {
  --bg: #050608;
  --bg-card: rgba(8, 8, 10, 0.9);
  --bg-elevated: rgba(12, 12, 16, 0.96);
  --accent: #c58b4e;
  --accent-soft: rgba(197, 139, 78, 0.15);
  --accent-strong: #e9b06b;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --text: #f8f8f8;
  --muted: #a5a5a5;
  --danger: #ff4d4f;

  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.7);

  --max-width: 1120px;
}

/* Reset simple */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  background-image: url('/assets/wood-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  margin: 0;
  padding: 0;
}

body {
  background-image: url('/assets/wood-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(197, 139, 78, 0.22), transparent 60%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.9), #000),
    #000;
  background-attachment: fixed;
}

/* Fond bois en overlay subtil */
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25; /* Option B : très léger */
  mix-blend-mode: soft-light;
  background-image: url('/assets/wood-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -3;
}

/* Logo géant en filigrane */
.page-logo-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(55vw, 55vh);
  opacity: 0.08;
  filter: grayscale(100%) contrast(120%);
  z-index: -2;
}

/* Overlay sombre pour tout le contenu */
.page-overlay {
  min-height: 100vh;
  backdrop-filter: blur(10px);
}

/* Layout global */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.96),
    rgba(0, 0, 0, 0.82)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: contain;
  background: #111;
  padding: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-title {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

/* Bouton header */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0b0704;
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.85);
  filter: saturate(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* HERO */
.hero {
  padding: 60px 0 46px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(12px);
  margin-bottom: 18px;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-kicker-dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #fff, var(--accent));
  box-shadow: 0 0 20px rgba(197, 139, 78, 0.55);
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 14px;
}

.hero-title span.accent {
  background: linear-gradient(120deg, var(--accent-strong), #fff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.5;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.badge {
  font-size: 0.78rem;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.8);
  color: var(--muted);
}

.badge-strong {
  background: var(--accent-soft);
  border-color: rgba(197, 139, 78, 0.7);
  color: var(--accent-strong);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-note-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-strong);
}

/* Carte hero droite */
.hero-card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(197, 139, 78, 0.15), transparent),
    var(--bg-card);
  padding: 20px 20px 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  font-size: 0.8rem;
}

.hero-card-item {
  padding: 10px;
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-card-item span.label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-card-item span.value {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Sections génériques */
.section {
  padding: 26px 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.section-title {
  font-size: 1.4rem;
  margin: 0;
}

.section-description {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 40rem;
}

/* Grilles */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* Cartes */
.card {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 16px 16px 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.card-ghost {
  background: rgba(8, 8, 10, 0.75);
  box-shadow: none;
}

.card-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 10px;
}

.card-title {
  font-size: 0.98rem;
  margin: 0 0 6px;
}

.card-text {
  font-size: 0.86rem;
  color: var(--muted);
}

/* Zone d'intervention */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 5, 5, 0.7);
}

/* Réalisations mini */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.25s ease-out, filter 0.25s ease-out;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
  opacity: 0.8;
  transition: opacity 0.25s ease-out;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.12);
}

.gallery-item:hover::after {
  opacity: 0.3;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-radius: 14px;
  background: rgba(10, 10, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-size: 0.9rem;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 6px 0 4px;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Contact */
.contact {
  padding-bottom: 40px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: start;
}

.contact-infos {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.contact-value a {
  color: var(--accent-strong);
  text-decoration: none;
}

.contact-value a:hover {
  text-decoration: underline;
}

/* Formulaire */
.form-card {
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-bottom: 10px;
}

.form-grid-full {
  grid-column: 1 / -1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

label {
  font-size: 0.8rem;
  color: var(--muted);
}

input,
textarea,
select {
  font: inherit;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 5, 5, 0.85);
  padding: 9px 10px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(200, 200, 200, 0.4);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(233, 176, 107, 0.5);
  background: rgba(5, 5, 5, 0.95);
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.form-required {
  color: var(--muted);
  font-size: 0.78rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 14px 20px 18px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Responsif */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header-inner {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-cta {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-2,
  .gallery-preview {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 34px;
  }

  .section {
    padding: 22px 0;
  }

  .site-header-inner {
    justify-content: center;
  }

  .header-cta {
    justify-content: center;
  }
}
