/* Le Wood Gang — feuille de style du site.
   Identité papier/noyer, la même que le fil client de l'appli. Un seul thème, assumé :
   le logo est sur fond blanc. Mise en page : sections pleine largeur, contenu sur 1120px. */
:root {
  --papier: #f5f2ee;
  --carte: #ffffff;
  --filet: #ddd6cc;
  --noyer: #2b2b2b;
  --encre: #454545;
  --bois: #b78c5a;
  --bois-fonce: #8a6436;
  --bois-doux: #efe5d8;
  --discret: #6f675d;
  --sur-noyer: #e4ddd3;
  --sur-noyer-doux: #cfc6ba;
  --filet-noyer: #4a4540;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --texte: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--papier); color: var(--encre); font-family: var(--texte); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
/* Sans cette règle, un « display » posé sur un élément (les vignettes de la galerie)
   l'emporte sur l'attribut hidden : les filtres masquaient sans rien cacher. */
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--bois); outline-offset: 3px; }
.evitement { position: absolute; left: -9999px; top: 0; background: var(--noyer); color: #fff; padding: 10px 16px; z-index: 20; }
.evitement:focus { left: 16px; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); color: var(--noyer); line-height: 1.1; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0; }
.surtitre { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--bois-fonce); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.tete-section { display: grid; gap: 12px; max-width: 680px; margin-bottom: 40px; }

/* En-tête */
header.barre { position: sticky; top: 0; z-index: 10; background: var(--carte); border-bottom: 1px solid var(--filet); }
.barre .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.logo img { height: 46px; width: auto; }
nav.menu { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
nav.menu a { text-decoration: none; color: var(--encre); }
nav.menu a:hover { color: var(--bois-fonce); }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 4px; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--texte); }
.bouton.plein { background: var(--bois-fonce); color: #fff; }
.bouton.plein:hover { background: var(--noyer); }
.bouton.contour { border-color: currentColor; color: inherit; background: transparent; }
.barre .bouton { min-height: 42px; padding: 8px 16px; font-size: 15px; }
@media (max-width: 820px) { nav.menu { display: none; } }
@media (max-width: 420px) { .barre .bouton { font-size: 14px; padding: 8px 12px; } .logo img { height: 38px; } }

/* Accroche */
.accroche { position: relative; background: var(--noyer) url("atelier.jpg") center right / cover no-repeat; color: #fff; }
.accroche::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,16,0.15) 0%, rgba(20,18,16,0.55) 45%, rgba(20,18,16,0.88) 100%); }
.accroche .wrap { position: relative; display: grid; justify-items: end; padding-block: clamp(72px, 12vw, 150px); }
.accroche .contenu { max-width: 560px; display: grid; gap: 22px; }
.accroche h1 { color: #fff; font-size: clamp(40px, 6.4vw, 72px); font-weight: 800; letter-spacing: -0.02em; }
.accroche h1 em { font-style: normal; color: var(--bois); }
/* Le métier dans le titre principal : c'est ce que les clients tapent sur Google
   (« menuisier Lille »). Discret à l'écran, au-dessus du slogan. */
.h1-metier { display: block; margin-bottom: 14px; font-family: var(--texte); font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bois); }
.accroche p.chapo { font-size: 19px; color: #ece6de; }
.accroche .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.accroche .bouton.plein { background: var(--bois); color: var(--noyer); }
.accroche .bouton.plein:hover { background: #fff; }
.accroche .bouton.contour { color: #fff; }
.preuves { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #d9d1c6; }
.preuves strong { color: #fff; }
@media (max-width: 700px) { .accroche .wrap { justify-items: start; } .accroche::before { background: rgba(20,18,16,0.72); } }

/* Ce qu'on fait */
.deux { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.domaine { background: var(--carte); border: 1px solid var(--filet); padding: 32px; display: grid; gap: 14px; align-content: start; }
.domaine ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.domaine .sous-titre { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--discret); margin-top: 4px; }
.domaine li { background: var(--papier); border: 1px solid var(--filet); border-radius: 999px; padding: 4px 14px; font-size: 15px; }

/* Méthode */
.methode { background: var(--noyer); color: var(--sur-noyer); }
.methode h2, .methode h3 { color: #fff; }
.methode .surtitre { color: var(--bois); }
.methode .tete-section p { color: var(--sur-noyer-doux); }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--filet-noyer); }
.etapes li { padding: 26px 22px 28px 0; border-bottom: 1px solid var(--filet-noyer); display: grid; gap: 8px; align-content: start; min-width: 0; }
.etapes .num { font-family: var(--display); font-size: 40px; font-weight: 800; color: var(--bois); line-height: 1; }
.etapes p { font-size: 15.5px; color: var(--sur-noyer-doux); }
.bon-a-savoir { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.bon-a-savoir div { border-left: 3px solid var(--bois); padding: 4px 0 4px 18px; display: grid; gap: 4px; min-width: 0; }
.bon-a-savoir strong { color: #fff; font-size: 16px; }
.bon-a-savoir span { font-size: 15px; color: var(--sur-noyer-doux); }

/* Réalisations */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filtres button { font-family: var(--texte); font-size: 15px; font-weight: 500; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--filet); background: var(--carte); color: var(--encre); cursor: pointer; min-height: 40px; }
.filtres button[aria-pressed="true"] { background: var(--noyer); color: #fff; border-color: var(--noyer); }
/* Deux colonnes dès le téléphone : une photo par écran ferait défiler sans fin. */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); gap: 12px; }
@media (max-width: 480px) { .grille { gap: 8px; } .post .leg { font-size: 12.5px; } }
.post { position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; background: var(--bois-doux); display: block; text-decoration: none; }
.post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .post img { transition: none; } .post:hover img { transform: none; } }
.post .leg { position: absolute; inset: auto 0 0 0; padding: 28px 12px 10px; font-size: 13.5px; line-height: 1.35; color: #fff; background: linear-gradient(transparent, rgba(20,18,16,0.82)); }
.post.exemple { border: 1px dashed #c9bba8; background: repeating-linear-gradient(100deg, #e9dfd1 0 14px, #e3d6c5 14px 17px, #ece3d6 17px 34px); }
.post.exemple .leg { color: var(--encre); background: rgba(255,255,255,0.85); padding: 6px 10px; }
.vide { color: var(--discret); }
.suite { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.suite .bouton.contour { color: var(--noyer); }

/* Avis */
.avis-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.avis-tete .tete-section { margin-bottom: 0; }
.note { display: flex; align-items: baseline; gap: 12px; }
.note .chiffre { font-family: var(--display); font-size: 64px; font-weight: 800; color: var(--noyer); line-height: 1; }
.note .etoiles { color: var(--bois-fonce); font-size: 22px; letter-spacing: 2px; }
.note .source { font-size: 14px; color: var(--discret); display: block; }
.citations { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
blockquote { margin: 0; background: var(--carte); border: 1px solid var(--filet); padding: 26px; display: grid; gap: 14px; align-content: space-between; }
blockquote p { font-size: 16.5px; color: var(--noyer); }
blockquote footer { font-size: 14px; color: var(--discret); }
blockquote footer strong { color: var(--encre); }

/* Le Gang */
.gang { background: var(--carte); border-block: 1px solid var(--filet); }
.gang-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 820px) { .gang-grille { grid-template-columns: 1fr; gap: 32px; } }
.gang-texte { display: grid; gap: 16px; }
.equipe { display: grid; gap: 14px; margin-top: 8px; }
.membre { display: flex; gap: 14px; align-items: center; }
.membre .rond { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--bois-doux); border: 1px solid var(--bois); display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: var(--bois-fonce); }
.membre strong { display: block; color: var(--noyer); }
.membre span { font-size: 15px; }
.matieres-titre { margin-bottom: 16px; }
.matieres { margin: 0; border-top: 1px solid var(--filet); }
.matieres div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--filet); font-size: 15.5px; }
.matieres dt { font-weight: 600; color: var(--noyer); }
.matieres dd { margin: 0; }
@media (max-width: 480px) { .matieres div { grid-template-columns: 1fr; gap: 2px; } }

/* FAQ */
.faq { border-top: 1px solid var(--filet); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; color: var(--noyer); font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-family: var(--display); font-size: 28px; color: var(--bois-fonce); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; max-width: 680px; }

/* Contact */
.contact { background: var(--noyer); color: var(--sur-noyer); }
.contact h2, .contact h3 { color: #fff; }
.contact .surtitre { color: var(--bois); }
.contact-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 820px) { .contact-grille { grid-template-columns: 1fr; } }
.coord { display: grid; gap: 18px; align-content: start; }
.coord .ligne { display: grid; gap: 2px; }
.coord .lbl { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #a69d91; }
.coord .val { color: #fff; font-size: 18px; text-decoration: none; }
.villes { font-size: 15px; color: var(--sur-noyer-doux); }
.rdv { background: var(--carte); color: var(--encre); padding: 32px; display: grid; gap: 16px; align-content: start; }
.rdv h3 { color: var(--noyer); }
.rdv .bouton { justify-self: start; }
.rdv .petit { font-size: 14px; color: var(--discret); }

/* Pages de texte (mentions, confidentialité, 404) */
.page-texte { padding-block: clamp(48px, 7vw, 80px); }
.page-texte .wrap { max-width: 760px; display: grid; gap: 18px; }
.page-texte h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; }
.page-texte h2 { font-size: 22px; margin-top: 18px; }
.page-texte dl { margin: 0; display: grid; gap: 6px; }
.page-texte dt { font-weight: 600; color: var(--noyer); margin-top: 8px; }
.page-texte dd { margin: 0; }

footer.pied { background: #1f1e1d; color: #a69d91; font-size: 14px; }
footer.pied .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-block: 26px; }
footer.pied nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.pied a { text-decoration: none; }
footer.pied a:hover { color: #fff; }
