/* ?? INDEX.CSS — Version optimisée avec commentaires pédagogiques (en gris) */

:root {
  --main-blue: #0A3563;
  --light-bg: #ffffff;
}

/* -------------------------------------------------- */
/* ?? BASE */
/* -------------------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  margin: 1;
  font-family: Segoe UI;
  background-color: var(--light-bg);
  color: #000;
}


/* -------------------------------------------------- */
/* ?? STRUCTURE PRINCIPALE – 3 COLONNES */
/* -------------------------------------------------- */
.presentation-wrapper {
  display: flex;                /* disposition en ligne */
  justify-content: center;      /* centre horizontalement */
  align-items: flex-start;      /* aligne en haut */
  flex-wrap: nowrap;
  gap: 8px;                    /* espace entre colonnes */
  padding: 40px 20px;
  max-width: 1200px;
  margin: 20auto;
  background-color: #fff;
}

/* ?? ASTUCE (gris) : pour rapprocher ou éloigner les colonnes en responsive,
   modifiez "gap" ou "padding" dans les media queries */

/* -------------------------------------------------- */
/* ?? COLONNES */
/* -------------------------------------------------- */
.column {
  flex: 1;
  max-width: 400px;     /* largeur max d'une colonne */
  min-width: 400px;      /* largeur mini avant retour ligne */
  text-align: center;
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.column2 {
  flex: 1;
  max-width: 80px;     /* largeur max d'une colonne */
  min-width: 80px;      /* largeur mini avant retour ligne */
  text-align: center;
  background: white;
  border-radius: 8px;
  padding: 0px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
/* -------------------------------------------------- */
/* ??? PHOTO */
/* -------------------------------------------------- */
.photo {
  flex: 1 1 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.photo img {
  width: 180px;
  height: auto;
  border-radius: 50%;
  display: block;
  margin: 0 auto 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);


animation: fadeZoom 1.2s ease forwards;
  opacity: 0;
}
.portrait-photo img {
    width: 350px;
    max-width: 100%;
    border-radius: 12px;
}

/* Animation apparition photo */
@keyframes fadeZoom {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

/* ----------------------------------------------------
   TEXTE
   ---------------------------------------------------- */
.portrait-text {
  flex: 2 1 650px;
  text-align: justify;
}

.portrait-text h1 {
  color: var(--main-blue);
  font-size: 1.7em;
  margin-bottom: 10px;
}

.portrait-text p {
  margin-bottom: 16px;
 
}


.texte-gauche {
texte-align: left;
}
/* ?? ASTUCE (gris) : pour changer la taille de la photo sur mobile,
   ajustez "width" dans les media queries plus bas */


/* -------------------------------------------------- */
/* ?? TITRES & TEXTES */
/* -------------------------------------------------- */
h2 {
  color: #003366;
  font-size: 1.5em;
  margin: 0 0 10px;
  font-family: 'Roboto', Arial, sans-serif;
}

.consulting-text p {
  color: #444;
  line-height: 1.5;
}

/* -------------------------------------------------- */
/* ?? CLIENTS */
/* -------------------------------------------------- */
.clients-text ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 240px;
  text-align: left;
}

.clients-text li { margin-bottom: 8px; }
.clients-text a { color: #000; text-decoration: none; }
.clients-text a:hover { color: var(--main-blue); font-weight: 600; }

/* -------------------------------------------------- */
/* ?? CTA */
/* -------------------------------------------------- */
.cta { margin-top: 18px; }

.cta a {
  background-color: var(--main-blue);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

.cta a:hover {
 background-color:  var(--main-blue);
  color: #fff;
}
/* -------------------------------------------------- */

/* ??? GALERIE IMAGES */
/* -------------------------------------------------- */
.gallery {
  text-align: center;
  margin: 0;
  padding: 0;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  gap: 10px;
  justify-items: center;
  align-items: center;
  padding-top: 6px;
}

.image-grid img {
  width: 100%;
  max-width: 120px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: zoom-in;
}

.image-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  
}


.gallery2 {
  text-align: center;
  margin: 0;
  padding: 0;
}
.image-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  justify-items: center;
  align-items: center;
  padding-top: 10px;
}
.image-grid2 img {
  width: 100%;
  max-width: 250px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: zoom-in;
}
.image-grid2 img:hover {
  transform: scale(1);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */

footer {
  text-align: center;
  background-color: var(--main-blue);
  color: #fff;
  padding: 20px 10px;
  font-size: 0.9em;
  line-height: 1.4;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Logo centré dans le footer */
.footer-logo {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 15px;
}

.footer-logo img {
  width: 100px;
  height: auto;
  border-radius: 12%;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

}

/* Mention légale alignée à gauche */
.texte-gauche {
  text-align: center;
  margin-top: 10px;
}

/* Compteur visiteurs */
.visitor-counter {
  margin-top: 10px;
  font-size: 0.9em;
  color: #d4ebff;
}





/* -------------------------------------------------- */
/* ?? LIGHTBOX – Version minimaliste */
/* -------------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 18px;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  object-fit: contain;
}


.close {
  position: fixed;
  top: 6px;
  right: 8px;
  font-size: 42px;
  background: transparent;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 100000;
}

.close:hover { color: #ddd; }
/* -------------------------------------------------- */
/* ?? COMPTEUR VISITEURS */
/* -------------------------------------------------- */
.visitor-counter {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 10px;
  border: 2px solid #0078d7;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
  margin-top: 14px;
  text-align: center;
}

/* -------------------------------------------------- */
/* ?? RESPONSIVE */
/* -------------------------------------------------- */

/* Grand tablette */
@media (max-width: 1100px) {
  .presentation-wrapper { gap: 18px; padding: 30px 4%; }
  .column { max-width: 60%; min-width: 300px; }
  .image-grid img { max-width: 200px; }
  
}

/* Tablette et petit laptop */
@media (max-width: 900px) {
  .presentation-wrapper {
    flex-direction: column;  /* colonnes empilées */
    align-items: center;
    padding: 28px 4%;
  }
  .column {
    width: 100%;
    max-width: 700px;
  }
}.main-nav {
    flex-wrap: wrap;
   no flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

/* Mobile moyen */
@media (max-width: 700px) {
  .image-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
  }
  .image-grid img { max-width: 110px; }
  .photo img { width: 180px; }
  h2 { font-size: 1.3em; }
  
  
  
 /* Mobile moyen */
@media (max-width: 700px) { 
  .logo img {
  align-items: center;
  display: inline-block;
   }
}

/* Mobile petit */
@media (max-width: 480px) {
  .presentation-wrapper { padding: 24px 4%; }
  .column { width: 100%; }
  
}

/* Très petit mobile */
@media (max-width: 320px) {
  .image-grid img { max-width: 100px; }
  .photo img { width: 140px; }
}


