/* 
  ============================
    VARIABLES GLOBALES
  ============================
*/
:root {
  /* Couleurs principales */
  --color-dark: #222A35;
  --color-light: #f5f5f5;
  --color-primary: #495CA1;
  --color-primary-darker: #3f51b5;
  --color-secondary: #BE2E47;
  --color-text: #333;
  --color-gray: #666;
  --color-white: #fff;
  --color-black: #000;
  --color-blue: #003366;

  /* Dimensions */
  --side-panel-width: 80px;
  --max-content-width: 1200px;

  /* Autres */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
}

/* 
  ============================
    RÉINITIALISATION DE BASE
  ============================
*/

/* Importation des polices Google */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Réinitialisation de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", serif;
  font-style: normal;
}

h1, h2 {
  font-family: "Orbitron", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* 
  ============================
    PANNEAU LATÉRAL
  ============================
*/
.side-panel {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--side-panel-width);
  background-color: #2a2a2a;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
}
.side-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 50vh;
  transform: translateY(-50%);
}
.section-number {
  color: #666;
  font-size: 1.2rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  padding: 1rem 0;
}
.section-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  color: var(--color-white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
}

/* 
  ============================
    EN-TÊTE
  ============================
*/
.header {
  position: fixed;
  width: calc(100% - var(--side-panel-width));
  margin-left: var(--side-panel-width);
  background-color: #F7F7F7;
  padding: 1rem;
  z-index: 100;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-content-width);
  margin: 0 auto;
}
.logo {
  width: 120px;
  height: auto;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: rgb(59, 50, 50);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
.nav-links a:hover {
  color: var(--color-primary);
}

/* 
  ============================
    SECTION HERO
  ============================
*/
.hero {
  margin-left: var(--side-panel-width);
  width: calc(100% - var(--side-panel-width));
  height: 100vh;
  background-image: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('https://i.imgur.com/gX7nV4O.png');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  text-align: center;
  padding: 1rem;
  position: relative;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.5rem;
  opacity: 0.9;
}
.play-button {
  width: 80px;
  height: 80px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  cursor: pointer;
  transition: transform var(--transition-fast);
}
.play-button:hover {
  transform: scale(1.1);
}
.play-button::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid var(--color-white);
  margin-left: 5px;
}

/* 
  ============================
    BLOC "ABOUT US"
  ============================
*/
.about-us {
  display: flex;
  min-height: 100vh;
  background-color: #fff;
  position: relative;
  margin-left: var(--side-panel-width);
  width: calc(100% - var(--side-panel-width));
  padding-top: 100px; /* Pour ne pas passer sous l’en-tête fixe */
}
.image-side {
  flex: 1;
  overflow: hidden;
}
.image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.content-side {
  flex: 1;
  padding: 4rem;
  background-color: var(--color-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-side h2 {
  color: var(--color-blue);
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}
.text-content p {
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-align: left;
}
.slogan {
  background-color: var(--color-primary-darker);
  color: var(--color-white);
  padding: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-top: auto;
}

/* 
  ============================
    PRÉSENCE INTERNATIONALE
  ============================
*/
.international-presence {
  margin-left: var(--side-panel-width);
  width: calc(100% - var(--side-panel-width));
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}
.metrics-side {
  flex: 1;
  max-width: 600px;
  padding: 20px;
}
.metrics-side h2 {
  color: #495CA1;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}
.metrics-side p {
  color: var(--color-text);
  line-height: 2;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.metrics-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.metrics-row {
  display: flex;
  gap: 1rem;
}
.metric {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  flex: 1;
  background-color: var(--color-light);
}
.metric .number {
  font-size: 1.8rem;
  font-weight: bold;
  color: #495CA1;
  margin-bottom: 0.5rem;
}
.metric .label {
  font-size: 0.9rem;
  color: var(--color-gray);
  text-decoration: underline;
}
.metric.blue {
  background-color: #495CA1;
  color: var(--color-white);
}
.metric.blue .number,
.metric.blue .label {
  color: var(--color-white);
}
.metric.dark {
  background-color: #333;
}
.metric.dark .number,
.metric.dark .label {
  color: var(--color-white);
}
.map-side {
  flex: 1;
  position: relative;
}
.map-side img {
  width: 100%;
  height: auto;
  display: block;
}

/* 
  ============================
    PROJETS
  ============================
*/
.projects-section {
  margin-left: var(--side-panel-width);
  width: calc(100% - var(--side-panel-width));
  min-height: 100vh;
  background-color: var(--color-white);
  padding: 4rem;
}
.projects-title {
  color: var(--color-primary);
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 4rem;
  position: relative;
}
.projects-title::after {
  content: '';
  position: absolute;
  top: -20px;
  right: 0;
  width: 70%;
  height: 2px;
  background-color: var(--color-primary);
}
.project-grid {
  display: grid;
  grid-gap: 4rem;
}
.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.project-card:nth-child(even) {
  direction: rtl;
}
.project-card:nth-child(even) .project-info {
  direction: ltr;
}
.project-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.project-info {
  padding: 2rem;
}
.project-number {
  color: var(--color-gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.project-name {
  font-size: 2rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.project-location {
  color: var(--color-gray);
  font-size: 1rem;
  text-transform: uppercase;
}

/* 
  ============================
    CLIENTS
  ============================
*/
.clients-section {
  margin-left: var(--side-panel-width);
  width: calc(100% - var(--side-panel-width));
  padding: 4rem;
  background-color: var(--color-white);
}
.clients-header {
  display: flex;
  justify-content: flex-end;
  position: relative;
  margin-bottom: 6rem;
}
.clients-title {
  color: var(--color-primary);
  font-size: 3.5rem;
  font-weight: bold;
  text-align: right;
  max-width: 500px;
}
.clients-header::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 70%;
  height: 2px;
  background-color: var(--color-primary);
}
.clients-carousel {
  position: relative;
  padding: 0 4rem;
}
.clients-logos {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  scroll-behavior: smooth;
  /* Masquer la barre de défilement */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}
.clients-logos::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}
.client-logo {
  height: 80px;
  transition: filter var(--transition-fast);
}
.client-logo:hover {
  /* Personnalisez l'effet au survol si besoin */
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  padding: 1rem;
}
.carousel-prev {
  left: 0;
}
.carousel-next {
  right: 0;
}

/* 
  ============================
    SECTION TÉLÉCHARGER (BROCHURE)
  ============================
*/
.download-section {
  margin-left: var(--side-panel-width);
  width: calc(100% - var(--side-panel-width));
  min-height: 60vh;
  background-color: var(--color-dark);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}
.download-content {
  color: var(--color-white);
}
.download-question {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}
.download-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.download-subtitle {
  font-size: 1.1rem;
  opacity: 0.7;
  margin-bottom: 2rem;
}
.download-buttons {
  display: flex;
  gap: 1rem;
}
.download-btn {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: background-color var(--transition-fast);
  border: none;
  cursor: pointer;
}
.download-btn:hover {
  background-color: #876f4d; /* nuance plus foncée */
}
.brochure-image {
  width: 100%;
  max-width: 500px;
  transform: perspective(1000px) rotateY(-15deg);
}

/* 
  ============================
    SECTION CAPITAL HUMAIN
  ============================
*/
.human-capital-section {
  margin-left: var(--side-panel-width);
  width: calc(100% - var(--side-panel-width));
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.capital-title-container {
  background-color: var(--color-dark);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.capital-title {
  font-size: 4rem;
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-white);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.capital-subtitle {
  color: var(--color-secondary);
  font-size: 1.2rem;
}
.capital-content {
  background-color: #f5f5f5;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.capital-content p {
  color: var(--color-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.content-list {
  list-style: none;
}
.content-list li {
  color: var(--color-gray);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}
.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
}
.section-line {
  width: 100%;
  height: 1px;
  background-color: #ddd;
  margin: 3rem 0;
}

/* 
  ============================
    SECTION ACTUALITÉS
  ============================
*/
.news-section {
  margin-left: var(--side-panel-width);
  width: calc(100% - var(--side-panel-width));
  padding: 4rem;
  background-color: var(--color-white);
}
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  position: relative;
}
.news-title {
  color: var(--color-primary);
  font-size: 3.5rem;
  font-weight: bold;
}
.news-header::after {
  content: '';
  position: absolute;
  top: -20px;
  right: 0;
  width: 70%;
  height: 2px;
  background-color: var(--color-primary);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.news-card {
  background: var(--color-white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform var(--transition-fast);
}
.news-card:hover {
  transform: translateY(-5px);
}
.news-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}
.news-content {
  padding: 1.5rem;
}
.news-date {
  color: var(--color-gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.news-card-title {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.news-excerpt {
  color: var(--color-gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.read-more-link {
  color: var(--color-primary);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: bold;
}
.view-all-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 1rem 2rem;
  background-color: var(--color-secondary);
  color: var(--color-white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: background-color var(--transition-fast);
}
.view-all-btn:hover {
  background-color: #876f4d;
}

/* 
  ============================
    SECTION RESSOURCES
  ============================
*/
.resources-section {
  margin-left: var(--side-panel-width);
  width: calc(100% - var(--side-panel-width));
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.resource-card {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
.resource-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}
.resource-card:hover .resource-bg {
  transform: scale(1.1);
}
.resource-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-white);
  z-index: 2;
}
.resource-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.resource-title {
  font-size: 1.5rem;
  font-weight: bold;
}

/* 
  ============================
    PIED DE PAGE
  ============================
*/
.footer {
  margin-left: var(--side-panel-width);
  width: calc(100% - var(--side-panel-width));
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 4rem;
}
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
}
.footer-logo {
  width: 200px;
  margin-bottom: 1rem;
}
.footer-description {
  color: #999;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-icon {
  color: var(--color-white);
  font-size: 1.5rem;
  text-decoration: none;
}
.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #999;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--color-white);
}
.contact-info {
  color: #999;
  line-height: 1.6;
}
.contact-email {
  color: var(--color-white);
  text-decoration: none;
}

/* 
  ============================
    MEDIA QUERIES
  ============================
*/

/* <= 1024px */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .about-us {
    flex-direction: column;
    padding-top: 60px;
  }
  .image-side {
    height: 300px;
  }
  .content-wrapper {
    flex-direction: column;
  }
  .map-side {
    max-width: 600px;
    margin: 0 auto;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .resources-section {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* <= 768px */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .title {
    font-size: 2.5rem;
  }
  .stats-right {
    padding: 2rem;
  }
  .stat-number {
    font-size: 3rem;
  }
  .about-us {
    flex-direction: column;
  }
  .content-side h2 {
    font-size: 2rem;
  }
  .slogan {
    font-size: 1.25rem;
    padding: 1.5rem;
  }
  .download-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .download-buttons {
    justify-content: center;
  }
  .brochure-image {
    transform: none;
    margin: 0 auto;
  }
  .download-title {
    font-size: 2rem;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-title {
    font-size: 2.5rem;
  }
  .project-card {
    grid-template-columns: 1fr;
  }
  .projects-title::after {
    width: 50%;
  }
  .human-capital-section {
    grid-template-columns: 1fr;
  }
  .capital-title {
    font-size: 2.5rem;
  }

  .clients-logos {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    scroll-behavior: smooth;
  }

  .client-logo {
    width: 150px; 
    height: auto; 
    object-fit: contain; 
    filter: grayscale(100%); 
    transition: filter 0.3s ease;
  }
  .clients-title {
    font-size: 2.5rem;
  }
}

.hero {
  position: relative; 
  width: 94%;
  height: 100vh;
  overflow: hidden; 
}

#myVideo {
  position: absolute; 
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  object-fit: cover; 
  z-index: 1; 
}

.play-button {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem; 
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Triangle “lecture” */
.play-button::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid white;
  margin-left: 5px;
}

.play-button:hover {
  transform: scale(1.1);
}

/* SECTION PRINCIPALE (VALEURS) */
.values-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* Conteneur pour les 5 diamants */
.diamonds-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.diamond {
  width: 120px;
  height: 120px;
  background-color: gray;
  position: absolute;
  transform: rotate(45deg);
  display: flex;
  justify-content: center;
  align-items: center;
}
.diamond-content {
  transform: rotate(-45deg);
  text-align: center;
  color: #fff;
}
.diamond-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.diamond-title {
  font-weight: bold;
}

/* Diamant central */
.diamond-center {
  top: 50%;
  left: 50%;
  margin-left: -60px;
  margin-top: -60px;
  background-color: #9e9e9e; 
  z-index: 2;
}

/* Diamant Challenge (en haut à gauche) */
.diamond-challenge {
  top: 20%;
  left: 50%;
  margin-left: -180px; 
  background-color: #b3af38;
}

/* Diamant Innovation (en haut à droite) */
.diamond-innovation {
  top: 20%;
  left: 50%;
  margin-left: 60px; 
  background-color: #3d50a0;
}

/* Diamant Membership (en bas à gauche) */
.diamond-membership {
  top: 50%;
  left: 50%;
  margin-left: -180px;
  margin-top: 120px;
  background-color: #a4152b;
}

/* Diamant Improvement (en bas à droite) */
.diamond-improvement {
  top: 50%;
  left: 50%;
  margin-left: 60px;
  margin-top: 120px;
  background-color: #4b8d3a;
}

/* Textes latéraux */
.values-texts {
  flex: 1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.text-block {
  width: 45%;
  min-width: 280px;
}
.value-text {
  margin-bottom: 2rem;
}
.value-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.value-text p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}
@media (max-width: 960px) {
  .diamonds-container {
    margin-bottom: 2rem;
  }
  .text-block {
    width: 100%;
  }
  .diamond {
    width: 90px;
    height: 90px;
  }
  .diamond-center {
    margin-left: -45px;
    margin-top: -45px;
  }
}

/* ==============
   Valeurs (2e version stylisée)
=============== */
:root {
  --diamond-size: 120px;
  --diamond-spacing: 140px;
  --challenge-color: #b3af38;
  --innovation-color: #3d50a0;
  --membership-color: #a4152b;
  --improvement-color: #4b8d3a;
  --center-color: #9e9e9e;
  --text-color: #2a2a2a;
  --transition-time: 0.3s;
}

.values-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: minmax(400px, 1fr) minmax(300px, 2fr);
  gap: 4rem;
}
.diamonds-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}
.diamond {
  width: var(--diamond-size);
  height: var(--diamond-size);
  position: absolute;
  transform: rotate(45deg);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-time) ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.diamond:hover {
  transform: rotate(45deg) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.diamond-content {
  transform: rotate(-45deg);
  text-align: center;
  color: #fff;
  width: 100%;
  padding: 0.5rem;
}
.diamond-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.diamond-title {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}
.diamond-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  background-color: var(--center-color);
  z-index: 2;
}
.diamond-challenge {
  top: calc(50% - var(--diamond-spacing));
  left: calc(50% - var(--diamond-spacing));
  background-color: var(--challenge-color);
}
.diamond-innovation {
  top: calc(50% - var(--diamond-spacing));
  left: calc(50% + var(--diamond-spacing) - var(--diamond-size));
  background-color: var(--innovation-color);
}
.diamond-membership {
  top: calc(50% + var(--diamond-spacing) - var(--diamond-size));
  left: calc(50% - var(--diamond-spacing));
  background-color: var(--membership-color);
}
.diamond-improvement {
  top: calc(50% + var(--diamond-spacing) - var(--diamond-size));
  left: calc(50% + var(--diamond-spacing) - var(--diamond-size));
  background-color: var(--improvement-color);
}
.values-texts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-content: center;
}
.value-text {
  margin-bottom: 2.5rem;
  opacity: 0.9;
  transition: opacity var(--transition-time) ease;
}
.value-text:hover {
  opacity: 1;
}
.value-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}
.value-text h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: currentColor;
  transition: width var(--transition-time) ease;
}
.value-text:hover h3::after {
  width: 60px;
}
.challenge-text h3 { color: var(--challenge-color); }
.innovation-text h3 { color: var(--innovation-color); }
.membership-text h3 { color: var(--membership-color); }
.improvement-text h3 { color: var(--improvement-color); }

@media (max-width: 1024px) {
  .values-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .values-texts {
    padding: 0 1rem;
  }
}
@media (max-width: 768px) {
  :root {
    --diamond-size: 100px;
    --diamond-spacing: 120px;
  }
  .diamonds-container {
    width: 340px;
    height: 340px;
  }
  .values-texts {
    grid-template-columns: 1fr;
  }
  .value-text {
    margin-bottom: 2rem;
  }
}
@media (max-width: 480px) {
  :root {
    --diamond-size: 80px;
    --diamond-spacing: 100px;
  }
  .diamonds-container {
    width: 280px;
    height: 280px;
  }
  .diamond-icon {
    font-size: 1.5rem;
  }
  .diamond-title {
    font-size: 0.8rem;
  }
}

/* 
  ============================
    SECTION : NOS VISIONS
  ============================
*/
.visions-section {
  margin-left: var(--side-panel-width);
  width: calc(100% - var(--side-panel-width));
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 2rem;
  background: #fff url('https://i.imgur.com/Hd4J8bG.png') no-repeat right bottom;
  background-size: cover;
  position: relative;
}
.visions-title {
  grid-column: 1 / span 2;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-dark);
  text-transform: uppercase;
}
.vision-strategique {
  padding: 1rem;
}
.vision-strategique h3 {
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.strategique-item h4 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.strategique-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1.5rem;
}
.vision-culturelle {
  color: #1a1a1a;
  padding: 1rem 2rem;
  border-radius: 4px;
}
.vision-culturelle h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.culturelle-item {
  margin-bottom: 1.5rem;
}
.culturelle-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
@media (max-width: 768px) {
  .visions-section {
    grid-template-columns: 1fr;
    background-position: center center;
  }
  .visions-title {
    font-size: 2rem;
    text-align: center;
  }
  .vision-strategique, .vision-culturelle {
    padding: 1rem;
  }
}
.inter {
  background: #fff url('https://i.imgur.com/FVqWi2Z.png') no-repeat right bottom;
  background-size: cover;
}

/* 
  ============================
    SECTION BLOG
  ============================
*/
.blog-section {
  margin-left: var(--side-panel-width);
  width: calc(100% - var(--side-panel-width));
  min-height: 100vh;
  background-color: var(--color-light);
  padding: 4rem 2rem;
}
.blog-title {
  color: var(--color-primary);
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  text-transform: uppercase;
  position: relative;
}
.blog-title::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 50%;
  height: 2px;
  background-color: var(--color-primary);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--color-white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform var(--transition-fast);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
}
.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.blog-date {
  color: var(--color-gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.blog-card-title {
  font-size: 1.4rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.blog-excerpt {
  color: var(--color-gray);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.read-more {
  color: var(--color-secondary);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: bold;
  align-self: flex-start;
  transition: color var(--transition-fast);
}
.read-more:hover {
  color: var(--color-primary);
}
.blog-pagination {
  margin-top: 2rem;
  text-align: center;
}
.pagination-btn {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 1rem 2rem;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: background-color var(--transition-fast);
}
.pagination-btn:hover {
  background-color: var(--color-primary-darker);
}

/* 
  ============================
    BLOC VISION-BOX
  ============================
*/
.vision-box {
  width: 366px;
  height: 100px;
  margin: 10px;
  background-color: #495CA1; 
  position: relative; 
  border-radius: 4px;
  overflow: hidden;
}
.vision-box::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-color: #DCE1E9;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.vision-box p {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #fff;
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.icon {
  position: absolute;
  top: 30%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 2;
}
.icon i {
  font-size: 2rem; 
  color: #003366;
}

/* 
  ============================
    MODAL : CARRIÈRE
  ============================
*/
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  background-color: #fff;
  padding: 2rem;
  position: relative;
  max-width: 500px;
  width: 90%;
}
.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.cv-email {
  color: var(--color-secondary);
  text-decoration: none;
}
.cv-email:hover {
  text-decoration: underline;
}


/* --- Modal Overlay (fondo semitransparente) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none;             /* Oculto por defecto */
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.modal-overlay.active {
  display: flex;             /* Se muestra cuando tenga la clase .active */
}

/* --- Contenido del modal --- */
.modal-content {
  background-color: #fff;
  padding: 2rem;
  position: relative;
  max-width: 500px;
  width: 90%;
  border-radius: 4px; /* opcional */
}

/* --- Botón cerrar (X) --- */
.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Estilo para el enlace del email --- */
.cv-email {
  color: #BE2E47;        /* color secundario o el que gustes */
  text-decoration: none;
}
.cv-email:hover {
  text-decoration: underline;
}
/* CONTENEDOR DEL HEADER */
.header {
  width: 100%;
  background-color: #F7F7F7;
  padding: 1rem;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* NAV: estilo general */
.nav {
  max-width: 1200px;       /* Ajusta a gusto */
  margin: 0 auto;
  display: flex;
  align-items: center;      /* Centra verticalmente */
  justify-content: space-between;
}

/* LOGO */
.logo img {
  width: 120px;
  height: auto;
}

/* -------- HAMBURGUESA -------- */

/* Por defecto, la hamburguesa está oculta en escritorio */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Las 3 barritas */
.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #333;
  transition: all 0.3s ease;
}

/* -------- ENLACES DEL MENÚ -------- */
.nav-links {
  display: flex;       /* en escritorio se muestran en fila */
  gap: 2rem;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #495CA1;  /* tu color principal */
}

/* ---------- MEDIA QUERY para móvil/tamaño reducido ---------- */
@media (max-width: 768px) {
  /* Mostramos la hamburguesa y ocultamos los enlaces en principio */
  .hamburger {
    display: block;      /* Ahora sí se ve la hamburguesa */
  }

  .nav-links {
    position: absolute;  /* posicionamos los enlaces */
    top: 70px;           /* un poco abajo del nav */
    right: 0;
    background-color: #F7F7F7;
    flex-direction: column;
    width: 200px;        /* ancho de menú lateral */
    padding: 1rem;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;       /* oculto por defecto en mobile */
  }

  /* Clase .show para desplegar el menú */
  .nav-links.show {
    display: flex;       /* al togglear esta clase, se muestran */
  }
}
.visions-section {
  display: grid;          /* Usamos CSS Grid */
  grid-template-columns: 1fr 1fr; 
  gap: 2rem;
  padding: 2rem;
  background-color: #fff; /* O el que gustes */
}

/* Título que abarca ambas columnas */
.visions-title {
  grid-column: 1 / span 2;  /* Para que ocupe todo el ancho */
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #222A35; /* o var(--color-dark) */
}

/* Estilo de la columna IZQUIERDA */
.vision-strategique {
  background-color: #f5f5f5;
  padding: 1rem;
  border-radius: 4px;
}

/* Estilo de la columna DERECHA */
.vision-culturelle {
  padding: 1rem;
  border-radius: 4px;
}

/* Títulos dentro de cada columna */
.vision-strategique h3,
.vision-culturelle h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #BE2E47;  /* por ejemplo */
  text-transform: uppercase;
}

/* Ítems en la visión estratégica */
.strategique-item {
  margin-bottom: 1.5rem;
}
.strategique-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: bold;
}
.strategique-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* Cajitas de la vision-culturelle */
.vision-box {
  position: relative;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: #495CA1;
  color: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.vision-box::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background-color: #DCE1E9;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.vision-box p {
  position: relative;
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.icon {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 2;
}
.icon i {
  font-size: 2rem;
  color: #003366;
}

/* ============ RESPONDEN A PANTALLAS MÓVILES ============ */
@media (max-width: 768px) {
  /* Pasamos a 1 columna */
  .visions-section {
    grid-template-columns: 1fr;
  }
  /* El título ya ocupa todo, así que no hace falta grid-column */
  .visions-title {
    text-align: center; /* Opcional */
    margin-bottom: 2rem;
  }
}
html {
  scroll-behavior: smooth;
}