/* ================= VARIABLES ================= */
:root{
  --black:#0b0b0b;
  --card:#1a1a1a;
  --gray:#222;
  --gray-hover:#2c2c2c;
  --yellow:#fefb06;
  --text:#ffffff;
  --text-soft:#cfcfcf;
}

/* ================= BASE ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
}

html, body{
  width:100%;
  overflow-x:hidden;
}

body{
  background:var(--black);
  color:var(--text);
}

/* ================= HEADER ================= */
.site-header{
  background:#000;
  border-bottom:2px solid var(--yellow);
  position:sticky;
  top:0;
  z-index:1000;
}

.header-inner{
  max-width:1200px;
  margin:auto;
  padding:14px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:relative;
}

.brand{
  color:var(--yellow);
  font-weight:700;
}

/* ================= MENU ================= */
#mainMenu{
  display:flex;
  align-items:center;
}

#mainMenu a{
  color:var(--yellow);
  text-decoration:none;
  margin-left:12px;
  padding:8px 16px;
  border-radius:8px;
  font-weight:600;
}

#mainMenu a.active{
  background:var(--yellow);
  color:#000;
}

/* Burger */
.burger{
  display:none;
  border:1px solid var(--yellow);
  background:none;
  color:var(--yellow);
  font-size:22px;
  padding:6px 12px;
  border-radius:6px;
  cursor:pointer;
}

/* ================= BANNIÈRE ================= */
.banner{
  width:100%;
  height:450px;
  background:url("/brn/assets/img/banner.png") center/cover no-repeat;
}

@media(max-width:768px){
  .banner{
    height:220px;
    background-size:contain;
    background-position:center top;
    background-color:#000;
  }
}

/* ================= SECTIONS ================= */
.section{
  max-width:1200px;
  margin:60px auto;
  padding:20px;
}

.section h2{
  text-align:center;
  color:var(--yellow);
  margin-bottom:40px;
}

/* ================= CARTES SERVICES PRO ================= */
.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.card{
  background:var(--card);
  border-radius:14px;
  padding:18px 20px;
  border-left:4px solid var(--yellow);
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  text-align:center;

  position:relative;
  overflow:hidden;

  display:flex;
  align-items:center;
  justify-content:center;
  min-height:70px;

  box-shadow:0 6px 18px rgba(0,0,0,.6);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

/* Barre jaune animée */
.card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:4px;
  height:100%;
  background:var(--yellow);
  opacity:.6;
  transition:width .25s ease, opacity .25s ease;
}

.card:hover{
  transform:translateY(-6px);
  background:var(--gray-hover);
  box-shadow:0 14px 30px rgba(0,0,0,.85);
}

.card:hover::before{
  width:100%;
  opacity:.08;
}

/* Responsive cartes */
@media(max-width:768px){
  .cards{ grid-template-columns:repeat(2,1fr); }
}

@media(max-width:480px){
  .cards{ grid-template-columns:1fr; }
}

/* ================= BOUTONS ================= */
.services-actions{
  margin-top:40px;
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.btn{
  background:var(--gray);
  color:var(--yellow);
  padding:14px 32px;
  border-radius:10px;
  border:1px solid var(--yellow);
  text-decoration:none;
  font-weight:700;
}

.btn-primary{
  background:var(--yellow);
  color:#000;
}

/* ================= FOOTER PRO ================= */
.site-footer{
  background:#000;
  border-top:2px solid var(--yellow);
  padding:50px 20px;
}

.footer-box{
  max-width:1200px;
  margin:auto;
  background:#1f1f1f;
  border-radius:16px;
  padding:35px 40px;
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:40px;
}

.footer-col h4{
  color:var(--yellow);
  margin-bottom:14px;
}

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

.footer-contact{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.footer-contact a{
  color:var(--text);
  text-decoration:none;
}

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

/* Social splash */
.footer-socials{
  display:flex;
  gap:18px;
}

.footer-socials img{
  width:46px;
  height:46px;
  transition:transform .25s ease, filter .25s ease;
}

.footer-socials a:hover img{
  transform:scale(1.15);
  filter:brightness(1.15);
}

/* Footer mobile */
@media(max-width:768px){
  .footer-box{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-contact,
  .footer-socials{
    justify-content:center;
  }
}

/* ================= MENU MOBILE ================= */
@media(max-width:768px){

  .burger{ display:block; }

  #mainMenu{
    display:none;
    position:absolute;
    top:60px;
    left:0;
    right:0;
    background:#000;
    border-top:2px solid var(--yellow);
    flex-direction:column;
    text-align:center;
    z-index:999;
  }

  #mainMenu.open{ display:flex; }

  #mainMenu a{
    padding:14px;
    margin:0;
    border-radius:0;
  }
}

/* ================= PAGE SERVICES ================= */

.service-intro{
  max-width:800px;
  margin:0 auto 50px;
  text-align:center;
  color:var(--text-soft);
  font-size:16px;
  line-height:1.7;
}

/* ===== HORAIRES ===== */
.hours-box{
  max-width:600px;
  margin:70px auto 40px;
  background:#1c1c1c;
  padding:30px;
  border-radius:14px;
  border-left:4px solid var(--yellow);
}

.hours-box h3{
  color:var(--yellow);
  text-align:center;
  margin-bottom:20px;
}

.hours-table{
  width:100%;
  border-collapse:collapse;
  font-size:15px;
}

.hours-table td{
  padding:8px 0;
}

.hours-table td:last-child{
  text-align:right;
}

.hours-table .closed td:last-child{
  color:var(--yellow);
  font-weight:700;
}

/* ===== CTA SOCIAL ===== */
.social-cta{
  text-align:center;
  margin-top:30px;
}

.social-cta p{
  color:var(--text-soft);
  margin-bottom:12px;
}

/* ================= HORAIRES ================= */
.hours-box{
  max-width:600px;
  margin:70px auto 40px;
  background:#1c1c1c;
  padding:30px;
  border-radius:14px;
  border-left:4px solid var(--yellow);
}

.hours-box h3{
  color:var(--yellow);
  text-align:center;
  margin-bottom:20px;
}

.hours-table{
  width:100%;
  border-collapse:collapse;
  color:var(--text);
  font-size:14px;
}

.hours-table td{
  padding:8px 0;
}

.hours-table td:last-child{
  text-align:right;
}

.hours-table tr.closed td{
  color:var(--yellow);
  font-weight:700;
}

/* ================= FACEBOOK CTA (PAGE SERVICES) ================= */

.social-cta{
  text-align:center;
  margin:50px auto 0;
}

.social-cta p{
  color:var(--text-soft);
  margin-bottom:14px;
}

.facebook-box{
  display:inline-flex;
  align-items:center;
  gap:14px;

  background:#1c1c1c;
  padding:14px 22px;
  border-radius:14px;

  border:1px solid var(--yellow);
  text-decoration:none;

  color:var(--text);
  font-weight:600;

  transition:transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.facebook-box img{
  width:38px;
  height:38px;
}

.facebook-box:hover{
  background:#222;
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(0,0,0,.6);
}

/* ================= POURQUOI BRN ================= */

.why-brn{
  margin-top:80px;
  text-align:center;
}

.why-brn h3{
  color:var(--yellow);
  margin-bottom:40px;
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.why-card{
  background:var(--card);
  border-radius:14px;
  padding:24px 20px;
  border-left:4px solid var(--yellow);

  text-align:left;
  box-shadow:0 6px 18px rgba(0,0,0,.6);
  transition:transform .25s ease, box-shadow .25s ease;
}

.why-card:hover{
  transform:translateY(-6px);
  box-shadow:0 14px 30px rgba(0,0,0,.85);
}

.why-icon{
  color:var(--yellow);
  font-size:18px;
  display:inline-block;
  margin-bottom:10px;
}

.why-card strong{
  display:block;
  margin-bottom:6px;
}

.why-card p{
  color:var(--text-soft);
  font-size:14px;
  line-height:1.6;
}

/* Responsive */
@media(max-width:768px){
  .why-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:480px){
  .why-grid{
    grid-template-columns:1fr;
  }
}

/* ================= À PROPOS ================= */

.about-section{
  margin-top:40px;
}

.about-intro{
  max-width:800px;
  margin:0 auto 50px;
  text-align:center;
  color:var(--text-soft);
  font-size:16px;
  line-height:1.7;
}

.about-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:26px;
}

.about-card{
  background:var(--card);
  border-radius:14px;
  padding:26px 24px;
  border-left:4px solid var(--yellow);
  box-shadow:0 6px 18px rgba(0,0,0,.6);

  transition:transform .25s ease, box-shadow .25s ease;
}

.about-card:hover{
  transform:translateY(-6px);
  box-shadow:0 14px 30px rgba(0,0,0,.85);
}

.about-card h3{
  color:var(--yellow);
  margin-bottom:12px;
  font-size:18px;
}

.about-card p{
  color:var(--text-soft);
  line-height:1.6;
  font-size:15px;
}

/* Carte mise en avant */
.about-card.highlight{
  background:linear-gradient(135deg, #1c1c1c, #232323);
  border-left-width:6px;
}

/* Responsive */
@media(max-width:768px){
  .about-grid{
    grid-template-columns:1fr;
  }
}

/* ================= CONTACT ================= */

.contact-section{
  margin-top:40px;
}

.contact-intro{
  text-align:center;
  max-width:700px;
  margin:0 auto 50px;
  color:var(--text-soft);
  line-height:1.6;
}

/* Grille contact */
.contact-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
  margin-bottom:40px;
}

.contact-card{
  background:var(--card);
  border-radius:14px;
  padding:24px;
  border-left:4px solid var(--yellow);
  box-shadow:0 6px 18px rgba(0,0,0,.6);
  text-align:center;
}

.contact-card h3{
  color:var(--yellow);
  margin-bottom:10px;
}

.contact-card a{
  color:var(--text);
  text-decoration:none;
  font-weight:600;
}

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

/* Actions */
.contact-actions{
  display:flex;
  justify-content:center;
  gap:20px;
  margin-bottom:60px;
  flex-wrap:wrap;
}

/* Map */
.map-box{
  background:var(--card);
  border-radius:16px;
  padding:30px;
  border-left:4px solid var(--yellow);
  box-shadow:0 10px 30px rgba(0,0,0,.7);
}

.map-box h3{
  color:var(--yellow);
  text-align:center;
  margin-bottom:20px;
}

.map-box iframe{
  width:100%;
  height:350px;
  border:0;
  border-radius:12px;
}

.map-actions{
  text-align:center;
  margin-top:20px;
}

/* Responsive */
@media(max-width:768px){
  .contact-grid{
    grid-template-columns:1fr;
  }

  .map-box iframe{
    height:280px;
  }
}

/* ================= TABLEAU PIÈCES DÉTACHÉES ================= */

.pieces-table{
  max-width:700px;
  margin:0 auto;
  background:#1c1c1c;
  border-radius:14px;
  overflow:hidden;
  border-left:4px solid var(--yellow);
}

.pieces-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  padding:14px 20px;
  border-bottom:1px solid #2a2a2a;
  font-size:14px;
}

.pieces-row:last-child{
  border-bottom:none;
}

.pieces-row span:first-child{
  color:var(--yellow);
  font-weight:600;
}

.pieces-row span:last-child{
  text-align:right;
  color:var(--text-soft);
}

/* Mobile */
@media(max-width:600px){
  .pieces-row{
    grid-template-columns:1fr;
    gap:6px;
  }

  .pieces-row span:last-child{
    text-align:left;
  }
}

/* ================= TABLES PIECES ================= */

.table-box{
  max-width:900px;
  margin:30px auto;
  background:#1a1a1a;
  border-radius:16px;
  overflow:hidden;
  border-left:4px solid var(--yellow);
}

.table-row{
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:20px;
  padding:16px 20px;
  border-bottom:1px solid #2a2a2a;
}

.table-row:last-child{
  border-bottom:none;
}

.table-row span:first-child{
  color:var(--yellow);
  font-weight:600;
}

.table-row span:last-child{
  color:#ddd;
  font-size:0.95rem;
}

/* ================= BLOCS INFO ================= */

.highlight-block{
  background:#161616;
  border-radius:18px;
  padding:40px 30px;
  margin-top:60px;
  border:1px solid #222;
}

.check-list{
  list-style:none;
  padding:0;
  margin:20px 0;
}

.check-list li{
  padding-left:26px;
  margin:10px 0;
  position:relative;
}

.check-list li::before{
  content:"✔";
  position:absolute;
  left:0;
  color:var(--yellow);
}

.warning{
  margin-top:25px;
  padding:16px;
  background:#111;
  border-left:4px solid var(--yellow);
  border-radius:8px;
  font-size:0.95rem;
}

/* ===== TITRES DE SECTIONS ===== */
.section-title{
  text-align: center;
  color: var(--yellow);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 60px 0 30px;
  letter-spacing: 0.5px;
}

/* ===== BLOC COMMANDE ===== */
.highlight-block{
  margin-top: 90px;
  padding: 50px 60px;
  background: #1b1b1b;
  border-radius: 18px;
}


/* ===== TITRES DES BLOCS ===== */
.page-block h3{
  text-align: center;
  color: var(--yellow);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

/* ===== TABLES ===== */
.table-box{
  max-width: 900px;
  margin: 0 auto;
}
/* ===== HOVER TABLE ROW ===== */
.table-row{
  transition: background .25s ease, transform .25s ease;
}

.table-row:hover{
  background: var(--gray-hover);
  transform: translateX(6px);
}

/* ===== MOBILE PLUS AÉRÉ ===== */
@media(max-width:600px){

  .section{
    margin:40px auto;
    padding:15px;
  }

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

  .table-row{
    grid-template-columns:1fr;
    gap:8px;
  }

  .table-row span:last-child{
    text-align:left;
    font-size:0.95rem;
  }

  .highlight-block{
    padding:35px 22px;
    margin-top:70px;
  }

  .services-actions{
    gap:14px;
  }
}

/* ================= FOOTER LEGAL BUTTONS ================= */

.footer-legal{
  margin-top:24px;

  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;

  flex-wrap:wrap;
  width:100%;
}

.footer-legal a{
  background:#1c1c1c;
  color:var(--yellow);
  padding:10px 18px;
  border-radius:10px;
  border:1px solid var(--yellow);
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;

  transition:
    background .25s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.footer-legal a:hover{
  background:#2a2a2a;
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,0,0,.6);
}
