/* ========================================
   STYLES GLOBAUX - Site BTP Immobilier CI
   ======================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* === VARIABLES CSS === */
:root {
  --bleu-fonce: #1E3A8A;
  --bleu-claire: rgb(123, 140, 188);
  --or: rgb(228, 179, 19);
  --vert: #34bc67;
  --orange: #da8a27;
  --orange-fonce: rgb(212, 82, 42);
  --marron: #847062;
  --gris-clair: #F5F5F5;
  --blanc: #FFFFFF;
  --noir: rgb(73, 73, 73);
  --texte-gris: #333333;
  --texte-leger: #666666;
  --ombre: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Poppins';
  color: var(--texte-gris);
  line-height: 1.6;
  background-color: var(--blanc);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* === HEADER === */
header {
  background-color: var(--blanc);
  box-shadow: 0 2px 10px var(--ombre);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
}

.logo span {
  color: var(--or);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--texte-leger);
  font-weight: 500;
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--orange);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--orange);
  transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.contact-nav {
  background-color: var(--orange);
  transition: var(--transition);
  border-radius: 0.5rem;
  color: var(--blanc);
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 1.5rem;

}

.contact-nav:hover {
  background-color: var(--blanc);
  transition: var(--transition);
  border: 1px solid var(--orange-fonce);
  color: var(--texte-leger);
}


/* Menu burger pour mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--bleu-orange);
  transition: var(--transition);
}

/* === BANNIÈRE HERO === */
/* .hero {
  background: linear-gradient(rgba(59, 76, 124, 0.8), rgba(30, 58, 138, 0.8)),
              url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1600') center/cover;
  color: var(--blanc);
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  text-align: center;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background-color: var(--or);
  color: var(--blanc);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #C4A037;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
} 

.hero-btn{
  display: flex;
  gap: 4rem;
  justify-content: center;
}

.btn-hero .prim1{
  background-color: var(--orange);
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  color: var(--blanc);
}


.btn-hero .prim2{
  border: 1px solid var(--blanc);
  color: var(--blanc);
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  cursor: pointer;
  margin-left: 2rem;
}

.btn-hero .prim1:hover{
    background-color: var(--blanc);
    border: 1px solid var(--orange);
    color: var(--texte-leger);
}


.btn-hero .prim2:hover{
  background-color: var(--blanc);
  color: var(--bleu-fonce);
} */


/* === SECTIONS GÉNÉRALES === */
.section {
  padding: 5rem 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--noir);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-title .title1 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--orange);
  margin-bottom: 1rem;
}

.section-title .title2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--marron);
  margin-bottom: 1rem;
}

.section-title .title3 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--orange);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--texte-leger);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === GRILLE DE SERVICES === */
.services-grid,
.projets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card,
.projet-card {
  background-color: var(--blanc);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--ombre);
  transition: var(--transition);
}

.service-card:hover,
.projet-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card img,
.projet-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-content,
.projet-content {
  padding: 2rem;
}

.btn-svce {
  color: var(--orange-fonce)
}

.btn-svce i {
  margin-left: 0.5rem;
  color: var(--orange-fonce)
}

.service-content h3,
.projet-content h3 {
  color: var(--noir);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.service-content p,
.projet-content p {
  color: var(--texte-leger);
  line-height: 1.8;
}

/* === SECTION À PROPOS === */
.about-section {
  background-color: var(--gris-clair);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  color: var(--bleu-fonce);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--texte-leger);
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--ombre);
}

/* === AVANTAGES === */
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.avantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: var(--blanc);
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--ombre);
  transition: var(--transition);
}

.avantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.avantage-icon {
  font-size: 1rem;
  color: var(--or);
  margin-bottom: 1rem;
}

.avantage-icon img {
  width: 4rem;
}

.avantage-item h3 {
  color: var(--bleu-fonce);
  margin-bottom: 1rem;
}

/* === CHIFFRES CLÉS === */
.stats-section {
  background: linear-gradient(135deg, var(--bleu-fonce), #2C5AA0);
  color: var(--blanc);
  padding: 4rem 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--or);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* === TÉMOIGNAGES === */
.temoignages-section {
  background-color: var(--gris-clair);
}

.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.temoignage-card {
  background-color: var(--blanc);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--ombre);
  position: relative;
}

.temoignage-card::before {
  content: '"';
  font-size: 5rem;
  color: var(--or);
  position: absolute;
  top: -10px;
  left: 20px;
  opacity: 0.3;
}

.temoignage-text {
  font-style: italic;
  color: var(--texte-leger);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.temoignage-auteur {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auteur-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--or);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--marron);
}

.auteur-info h4 {
  color: var(--bleu-fonce);
  font-size: 1rem;
}

.auteur-info p {
  color: var(--texte-leger);
  font-size: 0.9rem;
}

/* === FORMULAIRE DE CONTACT === */
.contact-section {
  background-color: var(--gris-clair);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  background-color: var(--blanc);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--ombre);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--texte-leger);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #E5E5E5;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--or);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* === INFORMATIONS DE CONTACT === */
.contact-info {
  padding: 2rem;
}

.info-item {
  display: grid;
  grid-template-columns: 2;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--blanc);
  border-radius: 10px;
  box-shadow: 0 3px 10px var(--ombre);
}

.info-icon {
  font-size: 2rem;
  color: var(--or);
}

.info-details h3 {
  color: var(--bleu-fonce);
  margin-bottom: 0.5rem;
}

.info-details p {
  color: var(--texte-leger);
}

.map-container {
  margin-top: 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--ombre);
  height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* === FOOTER === */
footer {
  background-color: var(--noir);
  color: var(--blanc);
  padding: 3rem 2rem 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--blanc);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer_icon {
  display: flex;
  align-items: center;
}

.footer_icon p {
  padding-left: 0.5rem;
}



.footer-section p,
.footer-section a {
  color: var(--blanc);
  line-height: 2;
  display: block;
}

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

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  border: 1px solid var(--orange);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}


/* start section faq */
.accordion-section {
  display: flex;
  justify-content: center;
  padding: 2rem;
  background-color: #fae9da;
  margin-top: 6rem;
}

.accordion-container {
  display: flex;
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2rem;
  gap: 2rem;
}

.accordion-image img {
  width: 100%;
  max-width: 70rem;
  height: auto;
  border-radius: 10px;
}

.accordion-content {
  flex: 1;
  margin-top: 6rem;
}

.accordion-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--noir);
}


.accordion-content h1 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.accordion-item {
  margin-bottom: 0.8rem;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */

}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
  transition: border 0.3s ease;
}

/* .accordion-header:hover {
  border: 1px solid #E40046;
}
 */
.accordion-header h3 {
  font-size: 1rem;
  margin: 0;
  color: #444;
}

.accordion-icon {
  font-size: 1.5rem;
  color: #ff8674;
  transition: transform 0.3s ease;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.3s ease-in-out, padding 0 0.3s ease-in-out;
}

.accordion-body p {
  margin: 1rem 0;
  font-size: 1.5rem;
  line-height: 2.5rem;
}

.accordion-item.active .accordion-body {
  max-height: 200px;
  padding: 1rem 1rem;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-item.active {
  border: 1px solid #ff8674;
}

/* end section faq */


/* start section membres */

.team-section {
  padding: 2rem 0 0 0;
  /*     background-color: #fbfbfb; */
  margin: 0 auto;
}

.team-section_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.team-section_text h3 {
  font-size: 3rem;
  margin-top: 2rem;
  color: var(--orange);
}

.team-section_text h1 {
  font-size: 1.5rem;
  margin-top: 2rem;
  color: var(--texte-gris);
}

.team-section_text p {
  font-size: 1rem;
  margin-top: 1.5rem;
  line-height: 1.8;
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
}

.team-grid {
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 1.5rem;
  max-width: 1200px;
  justify-content: center;
}

.team-card {
  background-color: #fff3f1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1rem;
  width: 100%;
}

.team-card img {
  width: 100%;
  max-height: 40rem;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  border-radius: 10px 10px 0 0;
}

.team-card h3 {
  font-size: 1rem;
  margin: 0.5rem 0;
  color: #333;
}

.team-card p {
  font-size: 0.8rem;
  color: var(--texte-gris);
  margin-bottom: 0.5rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.social-icons i {
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
}

.social-icons i:hover {
  color: var(--orange-fonce);
}

/* end section membres */

/* === BOUTON WHATSAPP FLOTTANT === */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: var(--transition);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
}

.whatsapp-float svg {
  fill: white;
  width: 35px;
  height: 35px;
}

/* Bouton flottant Scroll to Top */
.scroll-top-btn {
  position: fixed;
  bottom: 90px;
  /* au-dessus du bouton WhatsApp */
  right: 20px;
  background-color: #0c70f2;
  /* ou la couleur de ta charte */
  color: white;
  border: none;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: none;
  /* caché par défaut */
  z-index: 999;
  transition: 0.3s ease;
}

.scroll-top-btn:hover {
  transform: scale(1.1);
  background-color: #0959c5;
}

.scroll-top-btn svg {
  width: 24px;
  height: 24px;
}


/* === RESPONSIVE === */

/* Header mobile */
@media (max-width: 768px) {
  nav#mainNav {
    position: absolute;
    top: 70px;
    /* sous le header */
    left: 0;
    right: 0;
    background-color: var(--blanc);
    box-shadow: 0 5px 10px var(--ombre);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
  }

  nav#mainNav.active {
    max-height: 500px;
    /* ajustable selon le nombre de liens */
  }

  nav a.active {
    color: var(--orange);
  }

  nav a.active::after {
    width: 100%;
  }


  nav#mainNav ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

  nav#mainNav li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gris-clair);
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--orange);
    border-radius: 2px;
  }

  .contact-nav {
    display: none;
    /* optionnel, on peut l’afficher dans le menu si besoin */
  }
}


/* Hero mobile */


/* Hero Desktop */
.hero {
  background: linear-gradient(rgba(59, 76, 124, 0.8), rgba(30, 58, 138, 0.8)),
    url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1600') center/cover;
  color: var(--blanc);
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 700px;
}

/* Hero Buttons */
.btn-hero {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  /* pour que ça se mette à la ligne sur mobile */
}

.btn-hero a {
  display: inline-block;
  text-align: center;
}

/* Boutons primaires */
.btn-hero .prim1 {
  background-color: var(--orange);
  color: var(--blanc);
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-hero .prim2 {
  border: 1px solid var(--blanc);
  color: var(--blanc);
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-hero .prim1:hover {
  background-color: var(--blanc);
  border: 1px solid var(--orange);
  color: var(--texte-leger);
}

.btn-hero .prim2:hover {
  background-color: var(--blanc);
  color: var(--bleu-fonce);
}

/* ===== HERO RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 1.5rem;
  }

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

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

  .btn-hero {
    gap: 1rem;
  }

  .btn-hero .prim1,
  .btn-hero .prim2 {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 1rem;
  }

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

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

  .btn-hero {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-hero .prim1,
  .btn-hero .prim2 {
    width: 100%;
    padding: 0.8rem 0;
    font-size: 0.95rem;
  }
}


/* Grilles mobile */
@media (max-width: 1024px) {
  .services-grid,
  .projets-grid {
    grid-template-columns: 1fr;
  }

  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* Stats mobile */
.stats-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-number {
  font-size: 2rem;
}

/* Sections */
.section-title {
  font-size: 2rem;
}

.section {
  padding: 3rem 1rem;
}

.whatsapp-float {
  width: 50px;
  height: 50px;
  bottom: 20px;
  right: 20px;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 480px) {
  .hero {
    padding: 5rem 1rem;
  }

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

  .btn-primary {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .mission h2 {
    margin: 0;
    padding: 0;
  }

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

/* === ANIMATIONS === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

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

.mt-3 {
  margin-top: 3rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.bg-light {
  background-color: var(--gris-clair);
}

.all_projet {
  margin-top: 3rem;
  text-align: center;
}


/* === PREMIUM ANIMATIONS === */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-premium {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
  }

  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 15px rgba(249, 115, 22, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}

@keyframes entrance-scale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse-premium {
  animation: pulse-premium 2s infinite;
}


/* === 3D & PERSPECTIVE UTILITIES === */
.perspective-1000 {
  perspective: 1000px;
}

.preserve-3d {
  transform-style: preserve-3d;
}

.backface-hidden {
  backface-visibility: hidden;
}

/* === REVEAL ANIMATIONS 3D === */
.reveal {
  opacity: 0;
  transform: translateY(50px) rotateX(-10deg);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

/* Interactive 3D Real Hover */
.hover-3d-real {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s ease;
  transform-style: preserve-3d;
}

.hover-3d-real:hover {
  transform: translateY(-12px) rotateX(10deg) rotateY(-5deg);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 10px 10px rgba(0, 0, 0, 0.05);
}

.hover-3d-real:hover .depth-1 {
  transform: translateZ(20px);
}

.hover-3d-real:hover .depth-2 {
  transform: translateZ(40px);
}

/* Delay Utilities */
.delay-100 {
  transition-delay: 100ms !important;
  animation-delay: 100ms !important;
}

.delay-200 {
  transition-delay: 200ms !important;
  animation-delay: 200ms !important;
}

.delay-300 {
  transition-delay: 300ms !important;
  animation-delay: 300ms !important;
}

.delay-400 {
  transition-delay: 400ms !important;
  animation-delay: 400ms !important;
}

.delay-500 {
  transition-delay: 500ms !important;
  animation-delay: 500ms !important;
}

/* Interactive Hover */
.hover-premium {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hover-premium:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* === LANGUAGE SELECTOR DROPDOWN === */
.lang-selector-container {
  position: relative;
  display: inline-block;
  z-index: 1001;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  min-width: 160px;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1002;
  overflow: hidden;
  margin-top: 8px;
}

.lang-selector-container:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-option {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  padding: 12px 20px;
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
}

.lang-option:hover {
  background: rgba(249, 115, 22, 0.06);
  color: #f97316;
}

.lang-option.active {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

.lang-flag {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}