/* ========================
   VARIABLES
======================== */
:root {
  --black: #0f172a;
  --dark: #020617;
  --blue: #1e3a8a;
  --blue-light: #3b82f6;
  --red: #dc2626;        /* rouge principal */
  --red-dark: #b91c1c;   /* hover */
  --light: #f8fafc;
  --grey: #94a3b8;
}

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

body {
  font-family: Arial, sans-serif;
  color: #222;
  line-height: 1.6;
}

/* ========================
   LAYOUT GLOBAL
======================== */
section,
.container {
  max-width: 1000px;
  margin: auto;
  padding: 60px 20px;
}

/* ========================
   NAV
======================== */
.nav {
  display: flex;
  justify-content:  flex-end;
  align-items: center;
  background: var(--black);
  padding: 18px 30px;
  color: white;
   border-bottom: 2px solid var(--red);
   
}

.logo {
  height: 50px;
}

.nav-right a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
}

.nav-right a:hover {
  color: var(--red);
  opacity: 0.7;
}
.brand {
  color: white;
  opacity: 0.7;
}

.btn-nav {
  background: white;
  color: var(--blue);
}


/* ========================
   BANNER
======================== */
.top-banner {
  background: transparent;
  text-align: center;
  position: relative;
  /* margin-bottom: -70px; */
  z-index: 5;
}

.banner-logo {
  max-width: 450px;
  width: 100%;
  /* margin-top: -25px; */
  pointer-events: none;
  position: relative;
   transform: translateY(40px); 
}

/* ========================
   TYPO
======================== */
h1 {
  text-align: center;
  margin-bottom: 20px;
    font-size: 36px;
  color: var(--black);
}

h2 {
  text-align: center;
  margin-bottom: 25px;
  color: var(--black);
  font-weight: 700;
}
h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--red);
  margin: 10px auto;
  border-radius: 2px;
}
p {
  margin-bottom: 10px;
}

/* ========================
   HERO
======================== */
.hero {
  background: linear-gradient(rgba(150, 173, 204, 0.5), rgba(11, 24, 43, 0.5)),
              url("garage.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
  color: white;
  padding: 50px 20px;
}

.hero-text {
  max-width: 650px;
  margin: 0 auto 25px;
}

.hero .btn {
  margin: 10px 8px;
}

.hero-trust {
  margin-top: 15px;
  font-size: 14px;
  opacity: 0.9;
}

/* ========================
   BUTTONS
======================== */
.btn {
  background: var(--red);
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
  font-weight: bold;
}

.btn:hover {
  background: var(--red-dark);
}

.btn.secondary {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
}

.btn.secondary:hover {
  background: var(--red);
  color: white;
}

/* ========================
   SERVICES
======================== */
.services {
  background: white;
  text-align: center;
}

.services-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--grey);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--red);
}
.service-card h3 {
  margin-bottom: 10px;
  color: var(--black);
}

/* ========================
   REVIEWS
======================== */
.reviews {
  text-align: center;
}

.reviews-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--grey);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.review-card {
   background: white;
  padding: 25px;
  border-radius: 10px;
}

.stars {
  color: #f5b50a;
  margin-bottom: 10px;
}

.author {
  font-weight: bold;
  color: var(--blue);
}

.reviews-cta {
  margin-top: 30px;
}

/* ========================
   CONTENT BLOCK (garage page)
======================== */
.content-block {
  background: transparent;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.content-block p,
.content-block ul {
  margin-top: 10px;
}
.section-white {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  margin: 30px auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
   text-align: center;
}
.section-white ul {
  display: inline-block;
  text-align: left;
  margin: 20px auto;
  padding-left: 20px;
}

.section-white ul li {
  margin-bottom: 8px;
}
/* ========================
   CONTACT
======================== */
.contact-intro {
  max-width: 600px;
  margin: 10px auto 30px;
  text-align: center;
  color: var(--grey);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
}

.contact-info {
   background: white;
  padding: 25px;
  border-radius: 10px;
}

.info-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-form .btn {
  width: 100%;
  margin-top: 20px;
}

.map {
  margin-top: 20px;
}

/* ========================
   FOOTER
======================== */
.footer {
  background: var(--dark);
  color: white;
  padding: 50px 20px 20px;
  margin-top: 40px;
}

.footer-container {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
  color: var(--red);
}

.footer-col p {
  margin-bottom: 8px;
  color: #cbd5f5;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer a:hover {
  color: var(--red);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #1e293b;
  font-size: 14px;
  color: #94a3b8;
}
/* ========================
   RESPONSIVE
======================== */
@media (max-width: 900px) {
  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .services-grid,
  .reviews-grid,
  .form-group {
    grid-template-columns: 1fr;
  }
}

.seo-section {
  text-align: center;
  background: white;
  padding: 60px 20px;
  border-radius: 10px;
}

/* CENTRAGE TEXTE PAGES CONTENU */
.text-page p {
  max-width: 700px;
  margin: 0 auto 15px;
  text-align: center;
}

.text-page ul {
  max-width: 600px;
  margin: 15px auto;
  text-align: left;
}

.content-block {
  text-align: center;
}

.content-block ul {
  display: inline-block;
  text-align: left;
  margin-top: 15px;
}

.content-block h2 {
  margin-bottom: 10px;
}

.content-block ul {
  margin-top: 5px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

body {
    background: #eef1f5;
}

section {
  background: white;
  margin: 20px auto;
  border-radius: 10px;
}

.service-card {
  border: 1px solid #e2e8f0;
  transition: 0.3s;
}

.nav-right a.active {
  color: var(--red);
  position: relative;
}

.nav-right a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

