/* ===== BS AUTO PNEU – Couleurs : noir, rouge, blanc ===== */
:root {
  --rouge: #e10600;
  --rouge-fonce: #a80400;
  --noir: #0a0a0a;
  --gris-fonce: #141414;
  --carte: #1c1c1c;
  --texte: #c9c9c9;
  --titre: "Barlow Condensed", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--noir);
  color: white;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.rouge { color: var(--rouge); }
.centre { text-align: center; }

h1, h2, h3, h4 {
  font-family: var(--titre);
  text-transform: uppercase;
  line-height: 1.1;
}

h2 { font-size: 46px; font-style: italic; margin-bottom: 20px; }

/* ===== BOUTONS ===== */
.btn {
  display: inline-block;
  background: var(--rouge);
  color: white;
  font-family: var(--titre);
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 2px solid var(--rouge);
  border-radius: 4px;
  transition: 0.3s;
}
.btn:hover { background: var(--rouge-fonce); border-color: var(--rouge-fonce); transform: translateY(-3px); }
.btn-contour { background: transparent; border-color: white; }
.btn-contour:hover { background: white; color: black; border-color: white; }
.btn-blanc { background: white; color: var(--rouge); border-color: white; }
.btn-blanc:hover { background: black; color: white; border-color: black; }
.btn-petit { padding: 8px 18px; font-size: 16px; }

/* ===== EN-TÊTE ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 3px solid var(--rouge);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 60px; height: 60px; border-radius: 50%; }
.brand span { font-family: var(--titre); font-size: 28px; font-weight: 800; font-style: italic; }

nav { display: flex; align-items: center; gap: 30px; }
nav a:not(.btn) {
  font-family: var(--titre);
  font-size: 19px;
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.3s;
}
nav a:not(.btn):hover, nav a.actif { color: var(--rouge); }

#menu, .burger { display: none; }

/* ===== ACCUEIL ===== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 5%;
  background: linear-gradient(90deg, rgba(0,0,0,0.95) 30%, rgba(0,0,0,0.4)), url("images/garage.jpg") center/cover;
}

.hero-texte { max-width: 650px; }
.hero h1 { font-size: 64px; font-style: italic; margin: 20px 0; }
.hero p { font-size: 18px; color: var(--texte); margin-bottom: 35px; }
.boutons { display: flex; gap: 15px; flex-wrap: wrap; }

.badge {
  background: var(--rouge);
  font-family: var(--titre);
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 3px;
}

/* Bannière des autres pages */
.banniere {
  padding: 110px 5%;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url("images/garage.jpg") center/cover;
  border-bottom: 4px solid var(--rouge);
}
.banniere h1 { font-size: 64px; font-style: italic; }
.banniere p { color: var(--texte); font-size: 18px; }

/* ===== BANDEAU ROUGE ===== */
.bandeau {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  background: var(--rouge);
  padding: 20px;
  font-family: var(--titre);
  font-size: 26px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
}

/* ===== SECTIONS ===== */
.section { padding: 100px 5%; }
.section-sombre { background: var(--gris-fonce); }
.section p { color: var(--texte); margin-bottom: 18px; }

.sur-titre {
  color: var(--rouge) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 10px !important;
}

.deux-colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.photo-cadre img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 15px 15px 0 var(--rouge);
}

/* ===== CARTES ===== */
.grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 40px auto;
}

.carte, .atout {
  background: var(--carte);
  padding: 35px 28px;
  border-radius: 6px;
  border-bottom: 4px solid var(--rouge);
  transition: 0.3s;
}
.carte:hover, .atout:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(225, 6, 0, 0.2); }

.carte i, .atout i { font-size: 38px; color: var(--rouge); margin-bottom: 18px; }
.carte h3, .atout h3 { font-size: 25px; margin-bottom: 10px; }
.carte p, .atout p { font-size: 15px; margin: 0; }
.atout { text-align: center; background: transparent; border: 1px solid #2a2a2a; border-bottom: 4px solid var(--rouge); }

.liste { list-style: none; margin: 25px 0; }
.liste li { margin-bottom: 12px; font-weight: 500; }
.liste i { color: var(--rouge); margin-right: 10px; }

/* ===== APPEL À L'ACTION ===== */
.cta {
  text-align: center;
  padding: 80px 5%;
  background: linear-gradient(135deg, var(--rouge), var(--rouge-fonce));
}
.cta p { font-size: 18px; margin-bottom: 30px; }

/* ===== CONTACT ===== */
.info {
  display: flex;
  gap: 18px;
  background: var(--carte);
  border-left: 4px solid var(--rouge);
  padding: 18px 22px;
  margin-bottom: 15px;
  border-radius: 4px;
}
.info i { font-size: 24px; color: var(--rouge); margin-top: 4px; }
.info h3 { font-size: 21px; }
.info p { margin: 0; }
.info a:hover { color: var(--rouge); }

.carte-map { width: 100%; height: 100%; min-height: 450px; border: 3px solid var(--rouge); border-radius: 6px; }

/* ===== PIED DE PAGE ===== */
.footer { background: #050505; border-top: 4px solid var(--rouge); padding: 60px 5% 20px; }
.footer-grille {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}
.footer-logo { width: 90px; border-radius: 50%; margin-bottom: 15px; }
.footer h4 { font-size: 22px; margin-bottom: 15px; color: var(--rouge); }
.footer p, .footer a { color: #999; display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--rouge); }
.footer i { color: var(--rouge); margin-right: 8px; }
.copyright { text-align: center; border-top: 1px solid #222; margin-top: 40px; padding-top: 20px; font-size: 14px; }

/* ===== VERSION TÉLÉPHONE ===== */
@media (max-width: 900px) {
  .burger { display: block; font-size: 28px; cursor: pointer; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    padding: 25px;
    background: black;
    border-bottom: 3px solid var(--rouge);
  }
  #menu:checked ~ nav { display: flex; }

  .hero h1, .banniere h1 { font-size: 42px; }
  h2 { font-size: 36px; }
  .deux-colonnes, .footer-grille { grid-template-columns: 1fr; }
  .photo-cadre img { height: 350px; }
  .bandeau { gap: 25px; font-size: 21px; }
}
