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

body {
  font-family: "Poppins", sans-serif;
  color: #1a1a1a;
  scroll-behavior: smooth;
  background-color: #fff;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  overflow: hidden;
}


/* === CONTENU NAVBAR === */
.nav-content {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 2; /* pour être au-dessus des oiseaux */
}

/* === LOGO + NOM === */
.logo-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-name {
  font-family: "Montserrat", "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #000; /* noir foncé */
  cursor: default;
}

.logo {
  height: 55px;
}

/* === LIENS === */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 700;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #005fcc;
}

/* === BOUTON CONTACT === */
.contact-btn {
  background: linear-gradient(120deg, #0078ff, #00c6ff);
  color: #fff;
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
}

.contact-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(120deg, #005fcc, #00a4ff);
}

/* === HERO SECTION (texte à gauche, image à droite sur desktop) === */
.hero {
  background-color: #d6ebff;
  padding: 6rem 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

/* Texte à gauche */
.hero-text {
  flex: 1 1 500px;
  color: #000;
  text-align: left;
}

.hero-text h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #000;
}

.hero-text .cta-btn.big {
  font-size: 1rem;
  padding: 1rem 2rem;
}

/* Image à droite (desktop) */
.hero-image {
  flex: 1 1 450px;
  text-align: right;
  position: relative;
}

.hero-image img {
  width: 90%;
  max-width: 480px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  opacity: 0.9;
  /*filter: brightness(0.95) blur(1px);*/
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.hero-image img:hover {
  opacity: 0.85;
  filter: brightness(1) blur(0);
  transform: scale(1.02);
}

/* === VERSION MOBILE === */
@media (max-width: 900px) {
  .hero {
    padding: 8rem 1rem 4rem;
    background: url("back.png") center/cover no-repeat;
    color: #fff;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* fondu sombre sur mobile */
    z-index: 1;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-text {
    text-align: center;
    color: #fff;
    z-index: 2;
  }

  .hero-text h1,
  .hero-text p {
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  }

  .hero-image {
    display: none; /* on cache l’image à droite, car elle est déjà en fond */
  }
}
/* === BOUTON CTA GÉNÉRAL === */
.cta-btn {
  background: linear-gradient(120deg, #0078ff, #00c6ff);
  color: white;
  padding: 1rem 2.2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.cta-btn:hover {
  background: linear-gradient(120deg, #005fcc, #00a4ff);
  transform: translateY(-3px) scale(1.03);
}

/* === SECTEURS === */
.secteurs {
  text-align: center;
  padding: 5rem 2rem;
  background: #f8f8f8;
}

.secteurs h2 {
  font-size: 2.2rem;
  color: #0078ff;
  margin-bottom: 3rem;
}

.secteur-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.secteur-card {
  background: white;
  border-radius: 12px;
  width: 320px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.secteur-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.secteur-card h3 {
  padding: 1.2rem;
  font-size: 1.2rem;
  color: #1a1a1a;
}

.secteur-card p {
  font-size: 0.95rem;
  color: #333;
  padding: 0 1rem 1.5rem 1rem;
  line-height: 1.5;
  text-align: justify;
}

.secteur-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* === À PROPOS – STYLE PREMIUM === */
.about-section {
  background: #d6ebff;
  padding: 5rem 2rem;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
}

/* Texte principal */
.about-info {
  flex: 1 1 600px;
}

.about-info h2 {
  font-size: 2rem;
  color: #000;
  margin-bottom: 1.5rem;
}

.about-info .intro {
  font-size: 1.1rem;
  color: #000;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: justify;
}

/* Boîtes d'infos décorées */
.info-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-box {
  display: flex;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.info-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.info-icon {
  font-size: 1.8rem;
  margin-right: 1rem;
}

.info-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #000;
}

.info-text p {
  color: #000;
  font-size: 1rem;
  line-height: 1.6;
}

/* Liens contact */
.tel, .mail {
  color: #005fcc;
  font-weight: 600;
  text-decoration: none;
}

.tel:hover, .mail:hover {
  text-decoration: underline;
}

/* === VALEURS - Style bulle conversationnelle === */
.about-values {
  position: relative;
  flex: 1 1 420px;
  background: #ffffff;
  padding: 2rem 2.5rem;
  border-radius: 25px 25px 25px 8px; /* coins arrondis façon bulle */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  align-self: flex-start;
  transform: translateX(30px); /* léger retrait à droite */
  font-family: "Poppins", sans-serif;
}

/* Petite flèche de bulle */
.about-values::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 25px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 15px solid #ffffff;
  filter: drop-shadow(-2px 2px 2px rgba(0, 0, 0, 0.05));
}

.about-values h3 {
  font-size: 1.5rem;
  color: #000;
  margin-bottom: 1rem;
  text-align: left;
  font-weight: 700;
}

.about-values ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-values li {
  position: relative;
  font-size: 1.05rem;
  color: #000;
  padding: 0.8rem 0.8rem 0.8rem 2rem;
  margin-bottom: 0.6rem;
  background: rgba(0, 120, 255, 0.08);
  border-radius: 12px;
  transition: 0.3s ease;
}

/* Check stylisé (plus moderne que ✔️) */
.about-values li::before {
 
  position: absolute;
  left: 10px;
  color: #0078ff;
  font-weight: bold;
}

/* Effet au survol */
.about-values li:hover {
  background: rgba(0, 120, 255, 0.15);
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 900px) {
  .about-values {
    transform: none;
    margin: 0 auto;
    text-align: center;
  }

  .about-values::before {
    display: none;
  }

  .about-values li {
    text-align: left;
  }
}


/* === Avis clients (inchangés) === */
.about-reviews {
  margin-top: 3.5rem;
  text-align: center;
}

.about-reviews h3 {
  font-size: 1.7rem;
  color: #000;
  margin-bottom: 2rem;
}

.reviews-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  width: 320px;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.client-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0078ff;
}

.review-content {
  text-align: left;
}

.review-content p {
  font-style: italic;
  color: #000;
  margin-bottom: 0.5rem;
}

.review-content h4 {
  font-size: 0.9rem;
  color: #333;
}

.stars {
  color: #f7b731;
  font-size: 1.1rem;
}

/* === Responsive === */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
  }

  .about-values {
    order: -1;
    text-align: center;
  }

  .review-card {
    flex-direction: column;
    text-align: center;
  }
}



/* === CTA SECTION === */
.cta-section {
  text-align: center;
  background: linear-gradient(120deg, #0078ff, #00c6ff);
  color: white;
  padding: 4rem 2rem;
}

.cta-section h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* === FORMULAIRE DEVIS === */
.form-section {
  background: #fff;
  padding: 5rem 2rem;
  text-align: center;
}

.form-section h2 {
  font-size: 2rem;
  color: #0078ff;
  margin-bottom: 2rem;
}

.devis-form {
  max-width: 600px;
  margin: auto;
  background: #f8f8f8;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1a1a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0078ff;
  outline: none;
}

.confirmation-msg {
  margin-top: 2rem;
  background-color: #e7f3ff;
  color: #004085;
  border: 1px solid #b8daff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

/* === FOOTER === */
/* === FOOTER === */
.footer {
  background: #d6ebff;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 10; /* reste au-dessus de tout */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 11;
}

.footer-left p {
  color: #000;
  margin: 0.3rem 0;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #333;
}

/* Icônes */
.footer-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: none; /* on supprime tout effet de gris ou flou */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 15;
}

.footer-icon img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 120, 255, 0.4);
}
.footer-icon img {
  background: #b8daff;
  border-radius: 50%;
  padding: 4px;
}

/* Responsive */
@media (max-width: 800px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}


/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 900px) {
  .nav-content {
    flex-direction: column;
    align-items: center;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .hero {
    height: auto;
    padding: 6rem 1rem 4rem 1rem;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .secteur-card {
    width: 100%;
  }

  .devis-form {
    width: 90%;
    padding: 1.5rem;
  }
}

/* === CTA RESPONSIVE FIX === */
@media (max-width: 768px) {
  .cta-btn,
  .cta-btn.big {
    display: inline-block;
    width: 100%;
    max-width: 90%;
    font-size: 1rem;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
    padding: 0.9rem 1.2rem;
  }

  .cta-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* === EXTRA SMALL DEVICES (smartphones -400px) === */
@media (max-width: 400px) {
  .cta-btn,
  .cta-btn.big {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    word-break: break-word;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .cta-section h2 {
    font-size: 1.2rem;
  }
}

