/* -----------------------------
   CSS GLOBAL - RESET ET BASE
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

/* -----------------------------
   NAVIGATION / HEADER
------------------------------ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #222;
}

/* -----------------------------
   SECTIONS GÉNÉRIQUES
------------------------------ */
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

section h2 {
  font-size: 2rem;
  color: #4facfe;
  margin-bottom: 1rem;
  border-bottom: 2px solid #4facfe;
  display: inline-block;
}

/* -----------------------------
   SECTION ACCUEIL / HERO
------------------------------ */
.hero {
  background: url('../img/hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
  background-attachment: fixed;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta {
  background: #00f2fe;
  color: #000;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s;
}

.cta:hover {
  background: #4facfe;
  color: white;
}

/* -----------------------------
   SECTION À PROPOS
------------------------------ */
.about ul {
  list-style: none;
  margin-top: 1rem;
}

.about li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.about li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: green;
}

/* -----------------------------
   SECTION SERVICES
------------------------------ */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* -----------------------------
   SECTION GALERIE
------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  margin-top: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* -----------------------------
   SECTION TÉMOIGNAGES
------------------------------ */
.testimonials #temoignages-container {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial {
  background: linear-gradient(135deg, #a8edea, #fed6e3);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial h4 {
  margin-bottom: 5px;
  color: #2c3e50;
}

/* -----------------------------
   SECTION CONTACT
------------------------------ */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 1rem;
}

.contact input,
.contact textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  resize: vertical;
}

.contact button {
  background: #4facfe;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover {
  background: #00f2fe;
  color: black;
}

.infos-contact {
  margin-top: 2rem;
  font-size: 0.95rem;
}

/* -----------------------------
   PIED DE PAGE
------------------------------ */
footer {
  background: #2d3436;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

/* -----------------------------
   RESPONSIVE - MOBILE
------------------------------ */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
/* ============================
   📸 Galerie Responsive ALLNTIC
   ============================ */

#galerie {
  padding: 60px 20px;
  background: #f0f2f5;
  text-align: center;
}

#galerie h2 {
  margin-bottom: 30px;
  font-size: 28px;
  color: #1a73e8;
}

.galerie-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  max-width: 1100px;
  margin: 0 auto;
}

.galerie-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.galerie-item:hover {
  transform: scale(1.02);
}

.galerie-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
  .nav-links {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .nav-links li {
    width: 100%;
    padding: 8px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  section h2 {
    font-size: 1.5rem;
  }
}


/* ============================
   💬 Témoignages Clients
   ============================ */

#temoignages {
  padding: 60px 20px;
  background: #ffffff;
  text-align: center;
}

#temoignages h2 {
  margin-bottom: 30px;
  font-size: 28px;
  color: #1a73e8;
}

.temoignages-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.temoignage {
  background: #f4f6f9;
  padding: 20px;
  border-left: 4px solid #1a73e8;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.temoignage p {
  font-style: italic;
}

.temoignage .auteur {
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

/* ===============================
   🍔 Menu Burger Responsive
   =============================== */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #1a73e8;
  color: white;
}

.navbar .logo {
  font-size: 22px;
  font-weight: bold;
}

.navbar .nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.navbar .nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.burger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #1a73e8;
    flex-direction: column;
    display: none;
    padding: 10px 0;
  }

  .nav-links.show {
    display: flex;
  }

  .burger {
    display: block;
  }
}