/* =========================================================
   BRICO OUEST RAJ — Feuille de style
   Direction artistique : Orange & Gris foncé
   ========================================================= */

:root {
  /* Palette principale */
  --orange: #F07019;
  --orange-clair: #FF8C3A;
  --orange-fonce: #C4550E;
  --gris-fonce: #232629;
  --gris-fonce-2: #2E3237;
  --gris-moyen: #4A4F55;
  --gris-clair: #E8E6E3;
  --gris-tres-clair: #F5F3F1;
  --blanc: #FFFFFF;
  --texte: #232629;
  --texte-doux: #5A6068;

  /* Typographie */
  --police-titre: "Helvetica Neue", "Arial Black", Arial, sans-serif;
  --police-texte: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Divers */
  --rayon: 10px;
  --ombre: 0 4px 20px rgba(35, 38, 41, 0.10);
  --ombre-forte: 0 10px 34px rgba(35, 38, 41, 0.18);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --largeur-max: 1180px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--police-texte);
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

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

a { color: var(--orange-fonce); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }

.conteneur { max-width: var(--largeur-max); margin: 0 auto; padding: 0 24px; }

/* Accessibilité : lien d'évitement */
.skip-lien {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange); color: #fff; padding: 12px 20px; z-index: 999;
}
.skip-lien:focus { left: 0; color: #fff; }

/* =========================================================
   BANDEAU INFO (au-dessus du menu)
   ========================================================= */
.bandeau-info {
  background: var(--gris-fonce);
  color: var(--gris-clair);
  font-size: 0.86rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.bandeau-info .conteneur {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.bandeau-info a { color: var(--gris-clair); display: inline-flex; align-items: center; gap: 7px; }
.bandeau-info a:hover { color: var(--orange-clair); }
.bandeau-info .info-groupe { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.bandeau-info svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Lien Facebook dans le bandeau */
.lien-fb-bandeau { display: inline-flex; align-items: center; gap: 7px; }
.lien-fb-bandeau svg { width: 15px; height: 15px; fill: currentColor; }
.lien-fb-bandeau:hover { color: #4A9BFF; }

/* Bouton Facebook dans le pied de page */
.bouton-facebook {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1877F2;
  color: #fff !important;
  padding: 11px 18px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
}
.bouton-facebook:hover { background: #0F5FC4; color: #fff !important; transform: translateY(-2px); }
.bouton-facebook svg { width: 19px; height: 19px; fill: currentColor; flex-shrink: 0; }

/* =========================================================
   EN-TÊTE / NAVIGATION
   ========================================================= */
header.entete {
  background: var(--blanc);
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(35,38,41,0.07);
}

header.entete .conteneur {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

/* --- Logo texte stylisé --- */
.logo { display: flex; align-items: center; gap: 12px; }

.logo-marque {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--police-titre);
}

.logo-marque .ligne-1 {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--gris-fonce);
  text-transform: uppercase;
}

.logo-marque .ligne-1 .accent { color: var(--orange); }

.logo-marque .ligne-2 {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--texte-doux);
  text-transform: uppercase;
  margin-top: 5px;
}

.logo-icone {
  width: 44px; height: 44px;
  background: var(--orange);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icone svg { width: 26px; height: 26px; }

/* --- Menu --- */
nav.menu ul { list-style: none; display: flex; gap: 4px; align-items: center; }

nav.menu a {
  color: var(--gris-fonce);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 10px 14px;
  border-radius: 6px;
  display: block;
  transition: all var(--transition);
}

nav.menu a:hover { background: var(--gris-tres-clair); color: var(--orange-fonce); }

nav.menu a.actif { background: var(--orange); color: #fff; }
nav.menu a.actif:hover { background: var(--orange-fonce); color: #fff; }

/* Bouton menu mobile */
.burger {
  display: none;
  background: var(--gris-fonce);
  border: none;
  width: 46px; height: 42px;
  border-radius: 7px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.burger span { display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px; transition: var(--transition); }
.burger.ouvert span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.ouvert span:nth-child(2) { opacity: 0; }
.burger.ouvert span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   BOUTONS
   ========================================================= */
.bouton {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--orange);
  color: #fff;
  padding: 14px 28px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(240, 112, 25, 0.32);
}
.bouton:hover { background: var(--orange-fonce); color: #fff; transform: translateY(-2px); box-shadow: 0 7px 20px rgba(240,112,25,0.4); }
.bouton svg { width: 19px; height: 19px; }

.bouton-secondaire {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
  box-shadow: none;
}
.bouton-secondaire:hover { background: rgba(255,255,255,0.14); border-color: #fff; color: #fff; transform: translateY(-2px); box-shadow: none; }

.bouton-fonce { background: var(--gris-fonce); box-shadow: 0 4px 14px rgba(35,38,41,0.25); }
.bouton-fonce:hover { background: #000; box-shadow: 0 7px 20px rgba(35,38,41,0.32); }

/* =========================================================
   HERO / BANNIÈRE
   ========================================================= */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(35,38,41,0.94) 0%, rgba(35,38,41,0.80) 55%, rgba(196,85,14,0.85) 100%),
    var(--gris-fonce);
  color: #fff;
  padding: 92px 0 100px;
  overflow: hidden;
}

/* Motif géométrique de fond */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 22px);
  pointer-events: none;
}

.hero .conteneur { position: relative; z-index: 2; }

.hero-etiquette {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,112,25,0.22);
  border: 1px solid rgba(240,112,25,0.5);
  color: var(--orange-clair);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-etiquette svg { width: 15px; height: 15px; }

.hero h1 {
  font-family: var(--police-titre);
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 820px;
}
.hero h1 .accent { color: var(--orange-clair); }

.hero p.chapo {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  max-width: 660px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 34px;
}

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

/* Bandeau de points forts sous le hero */
.hero-atouts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.14);
  margin-top: 56px;
  border-radius: var(--rayon);
  overflow: hidden;
}
.hero-atouts div {
  background: rgba(35,38,41,0.72);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-atouts svg { width: 30px; height: 30px; color: var(--orange-clair); flex-shrink: 0; }
.hero-atouts strong { display: block; font-size: 0.97rem; color: #fff; }
.hero-atouts span { font-size: 0.85rem; color: rgba(255,255,255,0.68); }

/* =========================================================
   SECTIONS
   ========================================================= */
section { padding: 76px 0; }
section.gris { background: var(--gris-tres-clair); }
section.fonce { background: var(--gris-fonce); color: #fff; }
section.fonce h2, section.fonce h3 { color: #fff; }
section.fonce p { color: rgba(255,255,255,0.8); }

.section-entete { max-width: 760px; margin-bottom: 46px; }
.section-entete.centre { margin-left: auto; margin-right: auto; text-align: center; }

.sur-titre {
  display: block;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h2 {
  font-family: var(--police-titre);
  font-size: clamp(1.7rem, 3.6vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--gris-fonce);
  margin-bottom: 16px;
}
h2 .accent { color: var(--orange); }

h3 {
  font-family: var(--police-titre);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--gris-fonce);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

h4 { font-size: 1.02rem; font-weight: 700; color: var(--gris-fonce); margin-bottom: 8px; }

section p + p { margin-top: 14px; }

/* =========================================================
   CARTES CATÉGORIES
   ========================================================= */
.grille-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.carte-categorie {
  background: #fff;
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gris-clair);
}
.carte-categorie:hover { transform: translateY(-5px); box-shadow: var(--ombre-forte); border-color: var(--orange); }

.carte-visuel {
  height: 168px;
  background: var(--gris-fonce);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.carte-visuel svg { width: 100%; height: 100%; }

.carte-corps { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.carte-corps p { color: var(--texte-doux); font-size: 0.96rem; flex-grow: 1; }

.carte-liste { list-style: none; margin-top: 14px; }
.carte-liste li {
  font-size: 0.9rem;
  color: var(--texte-doux);
  padding-left: 20px;
  position: relative;
  margin-bottom: 5px;
}
.carte-liste li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 2px;
}

.carte-lien {
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--orange-fonce);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.carte-lien svg { width: 16px; height: 16px; transition: transform var(--transition); }
.carte-categorie:hover .carte-lien svg { transform: translateX(4px); }

/* =========================================================
   BLOCS INFO / ATOUTS
   ========================================================= */
.grille-atouts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.atout { text-align: left; }
.atout-icone {
  width: 58px; height: 58px;
  background: rgba(240,112,25,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.atout-icone svg { width: 30px; height: 30px; color: var(--orange); }
.atout p { color: var(--texte-doux); font-size: 0.95rem; }

section.fonce .atout-icone { background: rgba(240,112,25,0.2); }

/* =========================================================
   TABLEAUX (produits, horaires)
   ========================================================= */
.tableau-enveloppe { overflow-x: auto; border-radius: var(--rayon); box-shadow: var(--ombre); }

table { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.95rem; }

thead th {
  background: var(--gris-fonce);
  color: #fff;
  text-align: left;
  padding: 15px 20px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody td { padding: 14px 20px; border-bottom: 1px solid var(--gris-clair); vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--gris-tres-clair); }
tbody tr:hover { background: rgba(240,112,25,0.06); }
tbody td:first-child { font-weight: 700; color: var(--gris-fonce); white-space: nowrap; }

/* Tableau horaires compact */
.horaires-liste { list-style: none; }
.horaires-liste li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--gris-clair);
  font-size: 0.96rem;
}
.horaires-liste li:last-child { border-bottom: none; }
.horaires-liste .jour { font-weight: 700; color: var(--gris-fonce); }
.horaires-liste .heures { color: var(--texte-doux); text-align: right; }
.horaires-liste .ferme { color: #C0392B; font-weight: 600; }
section.fonce .horaires-liste li { border-bottom-color: rgba(255,255,255,0.15); }
section.fonce .horaires-liste .jour { color: #fff; }
section.fonce .horaires-liste .heures { color: rgba(255,255,255,0.75); }

/* =========================================================
   BLOC CONTACT / COORDONNÉES
   ========================================================= */
.grille-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 44px;
  align-items: start;
}

.bloc-info {
  background: #fff;
  border-radius: var(--rayon);
  padding: 30px;
  box-shadow: var(--ombre);
  border-left: 5px solid var(--orange);
}

.coord-liste { list-style: none; }
.coord-liste li { display: flex; gap: 15px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--gris-clair); }
.coord-liste li:last-child { border-bottom: none; }
.coord-liste svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.coord-liste strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--texte-doux); margin-bottom: 3px; }
.coord-liste span, .coord-liste a { font-size: 1.02rem; color: var(--gris-fonce); font-weight: 600; }
.coord-liste a:hover { color: var(--orange); }

/* =========================================================
   FORMULAIRE
   ========================================================= */
form.formulaire { background: #fff; border-radius: var(--rayon); padding: 32px; box-shadow: var(--ombre); }

.champ { margin-bottom: 20px; }
.champ label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 7px; color: var(--gris-fonce); }

input, select, textarea {
  width: 100%;
  padding: 13px 15px;
  border: 2px solid var(--gris-clair);
  border-radius: 7px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--texte);
  background: var(--blanc);
  transition: border-color var(--transition);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); }
textarea { resize: vertical; min-height: 130px; }

.champ-note { font-size: 0.84rem; color: var(--texte-doux); margin-top: 6px; }

/* =========================================================
   ZONE DE LIVRAISON
   ========================================================= */
.grille-communes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.commune {
  background: #fff;
  border: 1px solid var(--gris-clair);
  border-radius: 7px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.94rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
}
.commune:hover { border-color: var(--orange); background: rgba(240,112,25,0.05); }
.commune svg { width: 17px; height: 17px; color: var(--orange); flex-shrink: 0; }
section.fonce .commune { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: #fff; }

/* Étapes numérotées */
.etapes { counter-reset: etape; display: grid; gap: 22px; margin-top: 30px; }
.etape {
  position: relative;
  padding-left: 68px;
  counter-increment: etape;
}
.etape::before {
  content: counter(etape);
  position: absolute;
  left: 0; top: 0;
  width: 46px; height: 46px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  font-family: var(--police-titre);
}
.etape p { color: var(--texte-doux); font-size: 0.96rem; }
section.fonce .etape p { color: rgba(255,255,255,0.78); }

/* =========================================================
   APPEL À L'ACTION
   ========================================================= */
.cta {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-fonce) 100%);
  color: #fff;
  text-align: center;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 20px);
}
.cta .conteneur { position: relative; z-index: 2; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { max-width: 620px; margin: 0 auto 30px; color: rgba(255,255,255,0.94); font-size: 1.06rem; }
.cta .bouton { background: #fff; color: var(--orange-fonce); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.cta .bouton:hover { background: var(--gris-fonce); color: #fff; }
.cta .bouton-secondaire { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.cta .bouton-secondaire:hover { background: rgba(255,255,255,0.15); color: #fff; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   PLAN D'ACCÈS
   ========================================================= */
.plan-acces iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  filter: grayscale(18%);
}

/* =========================================================
   FIL D'ARIANE
   ========================================================= */
.fil-ariane { background: var(--gris-tres-clair); padding: 14px 0; font-size: 0.87rem; border-bottom: 1px solid var(--gris-clair); }
.fil-ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.fil-ariane li { display: flex; align-items: center; gap: 9px; color: var(--texte-doux); }
.fil-ariane li:not(:last-child)::after { content: "›"; color: var(--gris-moyen); }
.fil-ariane a { color: var(--texte-doux); font-weight: 600; }
.fil-ariane a:hover { color: var(--orange); }
.fil-ariane li[aria-current] { color: var(--gris-fonce); font-weight: 700; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
footer.pied {
  background: var(--gris-fonce);
  color: rgba(255,255,255,0.72);
  padding: 60px 0 0;
  font-size: 0.94rem;
}

.pied-grille {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

footer.pied h4 {
  color: #fff;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  margin-bottom: 18px;
  font-weight: 800;
}

footer.pied ul { list-style: none; }
footer.pied li { margin-bottom: 9px; }
footer.pied a { color: rgba(255,255,255,0.72); }
footer.pied a:hover { color: var(--orange-clair); }

.pied-logo .logo-marque .ligne-1 { color: #fff; }
.pied-logo .logo-marque .ligne-2 { color: rgba(255,255,255,0.5); }
.pied-desc { margin-top: 18px; max-width: 320px; font-size: 0.92rem; line-height: 1.7; }

.pied-bas {
  border-top: 1px solid rgba(255,255,255,0.11);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .pied-grille { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .burger { display: flex; }

  nav.menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--blanc);
    border-bottom: 3px solid var(--orange);
    box-shadow: 0 12px 24px rgba(0,0,0,0.14);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  nav.menu.ouvert { max-height: 460px; }
  nav.menu ul { flex-direction: column; gap: 0; padding: 10px 24px 20px; align-items: stretch; }
  nav.menu a { padding: 13px 14px; border-radius: 6px; }

  section { padding: 56px 0; }
  .hero { padding: 62px 0 70px; }
  .bandeau-info .info-groupe { gap: 16px; }
  .bandeau-info { font-size: 0.79rem; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .conteneur { padding: 0 18px; }
  .pied-grille { grid-template-columns: 1fr; }
  .hero-actions .bouton, .cta-actions .bouton { width: 100%; justify-content: center; }
  .bandeau-info .conteneur { justify-content: center; text-align: center; }
  form.formulaire, .bloc-info { padding: 22px; }
  .logo-marque .ligne-1 { font-size: 1.28rem; }

  /* ===== Bandeau masqué sur mobile =====
     Le téléphone, l'email, Facebook et l'adresse restent accessibles
     dans le pied de page, sur la page contact et dans les données
     structurées lues par Google. */
  .bandeau-info { display: none; }
}

/* ===== Impression ===== */
@media print {
  .bandeau-info, nav.menu, .burger, .cta, .plan-acces { display: none; }
  body { font-size: 12pt; }
  .hero { background: none; color: #000; padding: 20px 0; }
  .hero h1, .hero p { color: #000; }
}
