html {
  scroll-behavior: smooth !important;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

:root {
  --blue: #0A1B3D;
  --orange: #F19932;
  --white: #FFFFFF;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* === NAVBAR === */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.main-header.show {
  opacity: 1;
  transform: translateY(0);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0.1rem 1rem;
}

.nav-logo {
  font-weight: bold;
  font-size: 1.4rem;
  color: var(--blue);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  transition: all 0.3s ease-in-out;
}

.nav-links li a {
  text-decoration: none;
  font-weight: 500;
  color: var(--blue);
  padding: 0.3rem 0;
  position: relative;
  display: inline-block;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s ease-in-out;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* === RESPONSIVE MENU === */
.nav-toggle {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    z-index: 1001;
  }

  .nav-links.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-toggle {
    display: flex;
  }

  .navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

/* === OVERLAY === */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
  height: 100vh;
}

.nav-overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* === ANIMATION FADE-UP === */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}





/* === PREMIERE PAGE === */
.company-profile-cover {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-top: 70px;
}

/* Conteneur pour l'image de fond */
.background-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.background-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Formes et éléments */
.blue-shape {
  position: absolute;
  bottom: -23vh;
  right: -5vw; 
  width: 120vw;
  height: 60vh;
  background-color: var(--blue);
  border-bottom-right-radius: 50% 10%; 
  border-top-right-radius: 0; 
  border-top-left-radius: 50% 10%; 
  transform: rotate(15deg);
  z-index: 1;
    
  -webkit-mask-image: radial-gradient(
      circle 40vw at 56vw -10vh,
      transparent 0,
      transparent 47%,
      black 48%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: cover;
  -webkit-mask-composite: destination-out;
  
  mask-image: radial-gradient(
      circle 40vw at 56vw -10vh,
      transparent 0,
      transparent 47%,
      black 48%
  );
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;
  mask-composite: exclude;
}

.circle-container {
  position: absolute;
  top: 55vh;
  left: 45vw;
  transform: translate(-50%, -50%);
  width: clamp(150px, 25vw, 300px); /* Utilise clamp() pour une taille dynamique mais bornée */
  height: clamp(150px, 25vw, 300px);
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  border: 3.5vw solid rgba(255, 255, 255, 0.7);
}

.orange-circle-1 {
  position: absolute;
  top: 50vh;
  right: 5vw;
  width: clamp(15px, 8vw, 30px);
  height: clamp(15px, 8vw, 30px);
  background-color: var(--orange);
  border-radius: 50%;
  z-index: 3;
}

.orange-circle-2 {
  position: absolute;
  bottom: 12vh;
  right: 15vw;
  width: clamp(5px, 5vw, 10px);
  height: clamp(5px, 5vw, 10px);
  background-color: var(--orange);
  border-radius: 50%;
  z-index: 10;
}

.title-investiment {
  font-size: 26px;
}

.logo-icon {
  position: absolute;
  top: 0vh;
  left: 5vw;
  z-index: 5;
  width: 10vw;
  height: 15vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 30%;
  border-bottom-right-radius: 30%;
  background-color: white !important;
}

.content {
  position: absolute;
  bottom: 4vh;
  left: 2vw;
  z-index: 5;
  margin-left: 58px;
}

.title {
  font-size: 4vw;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: white;
  display: flex;
  flex-direction: column;
}

.title-profile {
  color: var(--orange);
  position: relative;
  margin-top: 5px;
}

.title-profile::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 15vw;
  height: 4px;
  background-color: var(--orange);
  border-radius: 2px;
}

.slogan {
  color: white;
  font-size: 1.5vw;
  margin-top: 15px;
  font-weight: 400;
}

/* Ajustements pour les petits écrans */
@media (max-width: 768px) {
  .content {
    margin-left: 0;
  }
  
  .logo-icon {
    width: 30vw;
  }

  .title-profile::after {
    width: 33vw;
  }

  .company-profile-cover {
    height: 100vh;
  }

  .title { 
    font-size: 2.2em; 
    margin-left: 45px;
  }
  
  .slogan { 
    font-size: 1em; 
    margin-left: 45px;
  }
  
  .background-image-container {
    height: 100%;
  }

  .circle-container {
    top: 122vw;
    width: 150px;
    height: 150px;
    border: 18px solid rgba(255, 255, 255, 0.7);
  }

  .logo-icon {
    width: 25vw;
    height: 11vh;
  }

  .blue-shape {
    -webkit-mask-image: radial-gradient(
        circle 40vw at 56vw -10vh,
        transparent 0,
        transparent 47%,
        black 48%
    );
  
    mask-image: radial-gradient(
        circle 52vw at 43.5vw 0vh,
        transparent 0,
        transparent 47%,
        black 48%
    );
  }

  .background-image-container {
    height: 100%; /* Prend toute la hauteur du parent */
    display: flex;
    justify-content: center; /* Centre horizontalement */
  }

  .background-image-container img {
    height: 100% !important;     /* Image prend toute la hauteur */
    width: auto !important;      /* Conserve les proportions originales */
    object-fit: contain !important; /* Pas obligatoire ici, mais garde sécurité */
  }

}

@media (orientation: landscape) and (max-width: 900px) {
  .background-image-container {
    top: 0;
    height: 100%;
  }
}


.company-profile-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(15px, 4vw, 40px); /* padding responsive */
  position: relative;
  overflow: hidden;
  background-color: #fff;
}


.main-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.text-section {
  flex: 1;
  max-width: 50%;
}

.main-title {
  font-size: 2.5em;
  font-weight: bold;
  line-height: 1.1;
  color: #ff8c00;
  margin: 0;
}

.main-title .highlight {
  color: #333;
}

.text-block {
  text-align: justify;
}

.text-block p {
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.bottom-image-container {
  margin-top: 40px;
  width: 75%;
}

.bottom-image-container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.image-section {
  flex: 1;
  position: relative;
  width: 40%;
  height: 500px; /* Adjust as needed */
  overflow: hidden;
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Specific styling for the shape */
.image-section::before {
  content: "";
  position: absolute;
  top: -65px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: #fff;
  border-radius: 56%;
  transform: translate(25%, 30%);
  z-index: 3;
}

@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
    padding-left: 9vw;
    padding-right: 9vw;
    gap: 0px;
  }

  .main-title {
    font-size: 1.9rem;
  }

  .text-section,
  .image-section {
    max-width: 100%;
    width: 100%;
  }

  .image-section {
    display: none;
  }

  .bottom-image-container {
    margin-top: 20px;
    width: 90%;
  }
}

/* Page three */

.content-main-layout {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.content-left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section-heading-vision,
.section-heading-mission {
    font-size: 40px;
    line-height: 1.1;
    font-weight: bold;
    color: #ff8c00;
    margin-bottom: 10px;
}

.section-text-vision,
.section-text-mission {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    max-width: 500px;
}

.section-values {
    margin-top: 50px;
}

.values-header-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.values-icon-lightbulb {
    font-size: 24px;
}

.values-heading-title {
    font-size: 20px;
    font-weight: bold;
    color: #555;
}

.values-content-layout {
    display: flex;
    align-items: center;
    gap: 20px;
}

.values-list-bullet {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.8;
}

.values-separator-line {
    width: 2px;
    height: 80px;
    background-color: #ff8c00;
}

.values-text-paragraph {
    margin: 0;
    font-style: italic;
    color: #555;
}

.content-right-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 50%;
}

.circular-image-main {
    width: 500px;
    height: 500px;
    background-image: url("../images/f2d207647e504e9c19bfdcbb7275318e3d0bc44cc3715b8c9e6d2beb1dc5e220.jpeg");
    background-position: 70% 30%;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}


.circular-image-main::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: 10px;
    width: 60px;
    height: 60px;
    background-color: #333;
    border-radius: 50%;
}

/* --- Responsive design for mobile --- */
@media (max-width: 768px) {
  .content-main-layout {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .content-left-section {
    margin-left: 20px;
    margin-right: 20px;
  }

  .content-right-section {
    max-width: 100%;
    order: -1;
  }

  .circular-image-main {
    width: 350px;
    height: 350px;
    background-position: 70% 50%;
  }

  .circular-image-main::after {
      left: 20px;
      bottom: 20px;
      width: 40px;
      height: 40px;
  }

  .section-values {
    margin-top: 0px;
  }
}




:root {
    --blue: #0A1B3D;
    --orange: #F19932;
    --white: #FFFFFF;
    --gray-text: #555555;
    --light-gray: #F0F0F0;
    --dark-text: #333333;
}

.page-container {
    background-color: var(--white);
    padding: 0;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    max-width: 1070px;
}

.service-section {
  display: flex;
  align-items: flex-start;
  gap: 70px;
  margin-bottom: 60px;
}


.services-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--dark-text);
    margin-bottom: 50px;
}

.highlight-orange {
    color: var(--orange) !important;
}

/* --- Styles de base (inchangés) --- */
.service-section {
  display: flex;
  align-items: flex-start;
  gap: 70px;
  margin-bottom: 60px;
  flex-direction: row;
}

.service-section .service-image-container {
  flex-shrink: 0;
  width: 250px;
  height: 250px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.service-image-container .service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-details {
  flex-grow: 1;
}

.service-details .service-heading {
  font-size: 28px;
  font-weight: bold;
  color: var(--orange);
  margin-bottom: 20px;
  position: relative;
}

/* --- Secteur Minier --- */
.mining-sector .service-image-container {
  border-bottom-left-radius: 80px;
}

.mining-sector .service-heading::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 28%;
  height: 4px;
  background-color: var(--dark-text);
  border-radius: 2px;
}

/* --- Secteur Informatique --- */
.informatique-sector {
  flex-direction: row-reverse;
  margin-top: 100px;
}

.informatique-sector .service-image-container {
  border-top-right-radius: 80px;
}

.informatique-sector .service-heading::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 26%;
  height: 4px;
  background-color: var(--dark-text);
  border-radius: 2px;
}

/* --- Secteur Commerce --- */
.commerce-sector {
  margin-top: 60px;
}

.commerce-sector .service-image-container {
  border-bottom-left-radius: 80px;
}

.commerce-sector .service-heading::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 49%;
  height: 4px;
  background-color: var(--dark-text);
  border-radius: 2px;
}

/* --- Secteur Pétrole & Énergie --- */
.petrol-energy-section .service-image-container {
  border-top-right-radius: 80px;
}

.petrol-energy-section .service-heading::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 33%;
  height: 4px;
  background-color: var(--dark-text);
  border-radius: 2px;
}

/* --- Secteur Immobilier --- */

.immobilier-section .service-image-container {
  border-bottom-left-radius: 80px;
}

.immobilier-section .service-heading::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 21%;
  height: 4px;
  background-color: var(--dark-text);
  border-radius: 2px;
}

/* --- Secteur Aluminium & Design --- */
.aluminium-section .service-image-container {
  border-top-right-radius: 80px;
}

.aluminium-section .service-heading::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 66%;
  height: 4px;
  background-color: var(--dark-text);
  border-radius: 2px;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details li {
    font-size: 16px;
    color: var(--gray-text);
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.service-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-size: 20px;
    line-height: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .services-content {
        padding: 0 20px;
    }

    .services-title {
        font-size: 32px;
        margin-bottom: 0px;
        margin-top: 60px;
    }

    .service-section {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .service-section .service-image-container {
        width: 100%;
        height: 200px;
        border-radius: 10px;
    }

    .informatique-sector {
        flex-direction: column;
        margin-top: 40px;
    }

    .service-details {
        margin-top: 20px;
        margin-bottom: 0px;
    }

    .service-details ul {
        text-align: left;
    }

    .service-details li {
        margin-left: auto;
        margin-right: auto;
    }

    .service-heading::after {
        left: 50% !important;
        transform: translateX(-50%);
    }

    .service-section.mining-sector .service-image-container,
    .service-section.informatique-sector .service-image-container,
    .service-section.commerce-sector .service-image-container {
        border-radius: 10px;
    }
}




/* Prestations */

.prestations-content {
    padding: 40px;
    padding-left: 0px;
    padding-right: 0px;
    position: relative;
    overflow: hidden;
}

.prestations-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--dark-text);
    line-height: 1.1;
    margin-bottom: 50px;
}


.top-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.prestations-list-container {
    flex-basis: 50%;
}

.prestations-list, .nos-plus-list, .pourquoi-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prestations-list li, .nos-plus-list li, .pourquoi-list li {
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.prestations-list li::before, .nos-plus-list li::before, .pourquoi-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--dark-text);
    font-size: 16px;
    line-height: 1;
}

.image-with-section {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nos-plus-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.nos-plus-list li::before {
    color: var(--dark-text);
}

.bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-top: 60px;
}

.content-left {
    flex-basis: 50%;
}

.pourquoi-title {
    font-size: 25px;
    font-weight: bold;
    color: var(--white);
    background-color: var(--orange);
    padding: 5px 10px;
    display: inline-block;
    border-radius: 8px;
    margin-bottom: 20px;
}

.content-right {
    flex-basis: 50%;
    display: flex;
    justify-content: flex-end;
}

.image-block {
    width: 80%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .page-header {
        padding: 15px 20px;
    }

    .prestations-content {
        padding: 20px;
    }

    .prestations-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .top-section, .bottom-section {
        flex-direction: column;
        gap: 20px;
    }

    .prestations-list-container, .image-with-section, .content-left, .content-right {
        flex-basis: 100%;
    }

    .image-with-section {
        flex-direction: column-reverse;
    }

    .image-container, .image-block {
        width: 100%;
        height: 180px;
    }

    .pourquoi-title {
        font-size: 18px;
        text-align: center;
        width: fit-content;
        margin: 0 auto 5px;
        margin-bottom: 20px;
    }

    .prestations-list li, .nos-plus-list li, .pourquoi-list li {
        font-size: 16px;
    }


    .nos-plus-section, .content-left, .pourquoi-list {
        text-align: left;
    }
}




/* Achievements */

.achievements-content {
    padding: 40px;
}

.achievements-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--dark-text);
    margin-bottom: 50px;
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.realisation-item {
    background-color: var(--white);
}

.realisation-number {
    font-size: 72px;
    font-weight: 300;
    color: var(--orange);
    margin: 0;
    line-height: 1;
}

.realisation-text {
    font-size: 16px;
    color: var(--gray-text);
    margin-top: 10px;
    line-height: 1.6;
}

.full-width {
    grid-column: 1 / -1;
}

.team-section {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    position: relative;
}

.team-details {
    flex-basis: 50%;
    z-index: 10;
}

.team-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
    background-color: var(--orange);
    padding: 10px 20px;
    display: inline-block;
    border-radius: 5px;
    margin-bottom: 20px;
}

.team-text {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.team-image-container {
    position: absolute;
    bottom: -100px;
    right: 0;
    z-index: 1;
    width: 370px;
    height: 370px;
    overflow: hidden;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}


.team-image-container::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: 10px;
    width: 60px;
    height: 60px;
    background-color: #333;
    border-radius: 50%;
}

/* Mobile styles */
@media (max-width: 768px) {
    .page-header {
      padding: 15px 20px;
    }

    .achievements-content {
      padding: 20px;
    }

    .achievements-title {
      font-size: 32px;
      text-align: center;
      margin-bottom: 30px;
    }

    .realisations-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .realisation-item {
      text-align: center;
      padding-right: 40px;
      padding-left: 40px;
    }

    .realisation-number {
      font-size: 60px;
    }

    .realisation-text {
        font-size: 14px;
    }

    .team-section {
        flex-direction: column-reverse;
        align-items: center;
        gap: 0;
        padding-left: 40px;
        padding-right: 40px;
        margin-top: 40px;
    }

    .team-details {
        flex-basis: 100%;
        text-align: start;
        margin-bottom: 20px;
    }

    .team-title {
      font-size: 18px;
      text-align: start;
      margin: 0 auto 5px;
      margin-bottom: 20px;
      padding: 5px 10px;
    }

    .team-text {
        font-size: 14px;
    }

    .team-image-container {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        order: -1;
    }
}




/*  Footer  */

.contact-page {
    width: 100vw;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.top-slogan {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 10vh;
    height: 35vh;
}

.top-slogan p {
    font-size: 40px;
    font-weight: bold;
    color: var(--dark-text);
    line-height: 1.3;
}

.contact-section {
    background-color: var(--blue);
    color: var(--white);
    padding: 130px 80px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.contact-header {
    margin-bottom: 40px;
}

.contact-title {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
    line-height: 1;
}

.orange-underline {
    width: 120px;
    height: 4px;
    background-color: var(--orange);
    margin-top: 10px;
}

.contact-details {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.qr-code-container {
    width: 100px;
    height: 100px;
}

.qr-code {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-info {
    font-size: 18px;
    line-height: 1.8;
}

.contact-item {
    margin: 0;
    font-weight: 300;
}

.contact-label {
    font-weight: bold;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .page-container {
        height: auto;
    }
    
    .top-slogan {
        padding: 50px 20px;
        height: auto;
    }

    .top-slogan p {
        font-size: 28px;
    }
    
    .contact-section {
        padding: 40px 5px;
    }
    
    .contact-header {
        margin-bottom: 30px;
    }
    
    .contact-title {
        font-size: 30px;
    }
    
    .orange-underline {
        margin: 10px auto 0;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info {
        font-size: 16px;
    }
    
    .contact-item {
        margin-bottom: 10px;
    }
}


.hero-carousel {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hc-wrapper {
  --slide-duration: 4000ms; /* durée entre slides (fallback si data-interval absent) */
  --fade-duration: 900ms;   /* durée du fondu */
  position: relative;
  width: 100%;
  height: 100vh; /* adapte si nécessaire (ex: 60vh ou 500px) */
  overflow: hidden;
  display: block;
  z-index: 0; /* reste en arrière si besoin */
  background: #000; /* placeholder pendant le chargement */
}

/* conteneur des images (position absolute pour empiler) */
.hc-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

/* chaque image empilée */
.hc-slide {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity var(--fade-duration) ease-in-out;
  will-change: opacity, transform;
  pointer-events: none;
}

/* image visible */
.hc-slide.hc-active {
  opacity: 1;
  pointer-events: auto;
}

/* boutons prev/next (discrets, non intrusifs) */
.hc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,27,61,0.6); /* utilise ta couleur --blue */
  border: none;
  color: var(--white, #fff);
  padding: 0.6rem 0.75rem;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  z-index: 100000000000  !important;
  backdrop-filter: blur(4px);
}
.hc-prev { left: 1rem; }
.hc-next { right: 1rem; }

/* indicateurs (pastilles) */
.hc-indicators {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.hc-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  padding: 0;
  cursor: pointer;
}
.hc-indicators button[aria-current="true"] {
  background: var(--orange, #F19932);
  box-shadow: 0 0 0 4px rgba(241,153,50,0.12);
}

/* accessibilité keyboard focus */
.hc-btn:focus, .hc-indicators button:focus {
  outline: 2px solid rgba(255,255,255,0.85);
  outline-offset: 3px;
}

/* pause au hover (option visuelle) */
.hc-wrapper:hover .hc-btn {
  opacity: 1;
}

/* responsive : hauteur réduite sur petits écrans */
@media (max-width: 768px) {
  .hc-wrapper { height: 80vh; }
  .hc-btn { padding: 0.45rem 0.6rem; font-size: 0.95rem; }

}


/* léger dézoom des images */
.hc-slide {
  transform: scale(1.1); /* on part légèrement zoomé */
  transition: opacity var(--fade-duration) ease-in-out,
              transform 2s ease-in-out;
}

/* image visible -> on dézoome un peu */
.hc-slide.hc-active {
  opacity: 1;
  transform: scale(1);
}


/* Conteneur principal */
.em-container {
  display: flex;
  align-items: flex-start; /* ou center si tu veux centrer verticalement */
  justify-content: center;
  gap: 30px; /* espace entre les enfants */
  flex-wrap: wrap; /* permet aux enfants de passer à la ligne sur mobile */
}

/* Premier enfant - diaporama */
.em-carousel {
  flex: 0 0 68%; /* 68% largeur sur grand écran */
  height: 550px;
}

/* Deuxième enfant - grille des réalisations */
.em-realisations {
  flex: 1; /* prend le reste de l’espace */
}


/* RESPONSIVE - sur mobile */
@media (max-width: 768px) {
  .em-carousel,
  .em-realisations {
    flex: 0 0 100%; /* chaque bloc prend toute la largeur */
    margin-right: 0;
    margin-bottom: 20px; /* espace entre les blocs */
  }

  .em-carousel {
    box-sizing: border-box !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    height: 400px !important;
    background: white !important;
  }

  .hc-prev { left: 1.5rem; }
  .hc-next { right: 1.5rem; }
}

.contact-info {
  display: grid;
  gap: 14px;
  color: white;
}

.contact-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 12px;
}

.contact-icon {
  text-align: center;
  padding-top: 4px;
  font-size: 16px;
  line-height: 1.4;
}

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

.contact-content a:hover {
  text-decoration: underline;
}

