/* =========================================================
   BASE
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
  background: #e1bfa0;
  color: #1f1f1f;
}

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

a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { opacity: 0.9; }

.container { width: min(1100px, 92vw); margin-inline: auto; }

.section { padding: 64px 0; }
.section-alt { background: #fdf5e4; }

.section-head { margin-bottom: 24px; max-width: 70ch; }
.muted { color: #5a5a5a; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #1f1f1f;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus { left: 12px; }

/* =========================================================
   TYPO
   ========================================================= */
h1, h2, h3 {
  font-family: "Fraunces", ui-serif, Georgia, serif;
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: 18px; }

.lead { font-size: 1.05rem; max-width: 65ch; margin: 0 0 18px; }

.eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a5a5a;
  margin: 0 0 10px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid #2b2b2b20;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #2b2b2b; color: #fff; border-color: #2b2b2b; }
.btn-ghost { background: transparent; color: #1f1f1f; }
.btn-block { width: 100%; }

/* =========================================================
   HEADER + MENU HORIZONTAL
   - header-inner = flex row
   - brand (logo + texte) à gauche
   - nav à droite
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #2b2b2b14;
}

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

/* =========================================================
   BRAND : logo en haut, phrase en dessous
   ========================================================= */
.brand {
  display: flex;
  flex-direction: column;   /* empile verticalement */
  align-items: center;      /* centre logo + texte */
  text-align: center;
  text-decoration: none;
  min-width: 260px;         /* empêche le menu de bouger */
  gap: 6px;                 /* espace entre logo et phrase */
}


/* Taille du logo (modifiez ici si besoin) */
.brand-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;

  /* intégration (pastille) */
  padding: 8px;
  background: #e1bfa0;  /* <-- IL MANQUAIT LE # */
  border-radius: 14px;

  flex-shrink: 0;
}

.brand-text { display: block; margin-top: 2px; }
.brand-text {
  display: block;       /* plus simple que grid */
  margin-top: 2px;
}
.brand-name { font-weight: 800; letter-spacing: -0.01em; }
.brand-tagline { font-size: 0.9rem; color: #5a5a5a; }

/* ===== Menu horizontal ===== */
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-weight: 600;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 12px;
}

.nav a:not(.btn):hover { background: #2b2b2b0d; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 56px 0 40px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 12px;
}

.hero-bullets { padding-left: 18px; margin: 8px 0 0; color: #3a3a3a; }

.hero-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #2b2b2b1a;
  background: #fff;
  box-shadow: 0 10px 30px #0000000a;
}

/* Image hero : c'est ici que vous gérez le cadrage */
/* Image hero : c’est ici que vous gérez le cadrage */
.hero-media img {
  width: 100%;
  aspect-ratio: 3 / 4;          /* optionnel : mieux pour meuble vertical */
  object-fit: cover;            /* remplit sans blanc */
  object-position: center;      /* <-- centre l’image */
}

.hero-media figcaption {
  padding: 12px 14px;
  font-size: 0.92rem;
  color: #5a5a5a;
}

/* =========================================================
   LAYOUTS
   ========================================================= */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: start;
}

.media-box img {
  border-radius: 18px;
  border: 1px solid #2b2b2b1a;
  background: #fff;
  box-shadow: 0 10px 30px #0000000a;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.card {
  background: #fff;
  border: 1px solid #2b2b2b1a;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 26px #00000008;
}

.list { margin: 12px 0 0; padding-left: 18px; color: #3a3a3a; }

.quote p { margin: 0 0 10px; }
.quote-meta { font-weight: 600; color: #5a5a5a; }

/* =========================================================
   PROCESS
   ========================================================= */
.process {
  margin-top: 26px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #2b2b2b1a;
  background: #ffffffcc;
}
.steps { margin: 10px 0 0; padding-left: 18px; }

/* =========================================================
   PRICING
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.price-card {
  background: #fff;
  border: 1px solid #2b2b2b1a;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 26px #00000008;
}

.price { font-size: 1.05rem; margin: 6px 0 8px; }

.featured { border-color: #2b2b2b30; transform: translateY(-4px); }

.badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: #2b2b2b;
  color: #fff;
  margin: 0 0 10px;
}

.note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #ffffffcc;
  border: 1px solid #2b2b2b1a;
}

/* =========================================================
   GALERIE
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.gallery-item {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #2b2b2b1a;
  box-shadow: 0 10px 26px #00000008;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 10px 12px;
  color: #5a5a5a;
  font-size: 0.92rem;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; gap: 10px; margin-top: 18px; max-width: 80ch; }

details {
  background: #fff;
  border: 1px solid #2b2b2b1a;
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 10px 26px #00000008;
}

summary { cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
details p { margin: 10px 0 0; color: #3a3a3a; }

/* =========================================================
   FORM
   ========================================================= */
.form-card {
  background: #fff;
  border: 1px solid #2b2b2b1a;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 26px #00000008;
}

.field { display: grid; gap: 6px; margin-bottom: 12px; }

label { font-weight: 600; font-size: 0.95rem; }

input, select, textarea {
  border-radius: 14px;
  border: 1px solid #2b2b2b24;
  padding: 11px 12px;
  font: inherit;
  background: #fbfaf7;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid #2b2b2b;
  outline-offset: 2px;
}

.checkbox { grid-template-columns: 18px 1fr; align-items: start; }
.checkbox input { margin-top: 4px; }

.form-note { margin: 10px 0 0; }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid #2b2b2b14; padding: 28px 0 20px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.footer-brand {
  font-family: "Fraunces", ui-serif, Georgia, serif;
  font-weight: 600;
  margin: 0 0 6px;
}

.footer-title { font-weight: 700; margin: 0 0 10px; }

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.footer-bottom {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #2b2b2b14;
}

.zone { max-width: 90ch; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .cards, .pricing-grid, .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .cards, .pricing-grid, .gallery { grid-template-columns: 1fr; }

  /* Sur mobile : on simplifie le menu (on garde le bouton devis) */
  .nav a:not(.btn) { display: none; }

  /* Logo un peu plus petit */
  .brand-logo { width: 40px; height: 40px; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}