﻿/*
Theme Name: PCCollaboratrice - 2025
Author: Gaétan Côté
Author URI: http://infonetgc.ca
Description: Nouveau thème pour le site PC Collaboratrice
Version: 1.2
License: Usage privé
*/

/* ========== Base Styles ========== */
html, body {
  margin: 0;
  font-family: "Open Sans", "Raleway", "Roboto", "Montserrat", sans-serif;
}

/* ========== Header Section (Logo, Titre, Adresse) ========== */
#Entete {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 4rem 0 4rem;
  margin: 0 auto 2rem;
  flex-wrap: nowrap;
  gap: 2rem;
  max-width: 1200px;
}

.logoCie {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

#TitreMantra {
  flex: 2;
  text-align: center;
}

#TitreMantra h1{
  font-size: 2.2rem;
  color:#004551;
}

.adress {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.Mantra {
  color: crimson;
}

/* ========== Sticky Logo When Scrolling ========== */
.logoStickyWrapper {
  display: none;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0.5rem;
  left: 2rem;
  z-index: 1100;
  transition: opacity 0.4s ease;
}

.logoStickyWrapper.visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.logoSticky {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  background: white;
  padding: 0.3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  object-fit: contain;
}

#menuTriggerSentinel {
  height: 1px;
}
Gaétan
/* ========== Typography ========== */
h1, h2, h3, h4, h5 {
  font-family: "Raleway";
  margin-bottom: 2rem;
  color: #0C6169;
}

h1{
  font-size:2rem;
  font-weight: 400;
  color:#000;
}

.SimiliButtonNoir {
  display:inline-block;
  text-align: pretty;
  word-wrap: break-word;
  background-color: #12110F;
  text-decoration: none;
  color: #f1f1f1;
  padding: 0.5rem 0.8rem;
  border-radius: 0.7rem;
  box-shadow: 0 3px 10px #0C6169;
}

/* ========== Navigation ========== */
.main-nav {
  width: 100%;
  align-items: center;
  height: 3.65rem;
  background: #0C6169;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.nav-list {
  display: flex;
  justify-content: flex-end;
  /*gap: 20px;*/
  list-style: none;
  margin: 0 auto;
  flex-wrap: wrap;
  max-width: 1200px;
  height: 3.65rem;
  box-sizing: border-box;
}

.nav-list li {
  display: flex;
  align-items: center;
}

.nav-list li a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 20px 0 40px;
  height: 100%;
  color: white;
  text-decoration: none;
  box-sizing: border-box;
  overflow: hidden;
  transition: color 0.3s;
  z-index: 1;
}

/* 👇 Arrière-plan animé de gauche à droite */
.nav-list li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  /*background: rgba(255, 255, 255, 0.3);*/
  transition: width 0.4s ease;
  z-index: 0;
}

/* 👇 Image à gauche du lien */
.nav-list li a::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-40%);
  width: 3.5rem;
  height: 3.5rem;
  background-image: url('images/pcCollab2.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

/* 👇 Texte du lien enveloppé dans un <span> */
.nav-list li a span {
  position: relative;
  z-index: 2; /* au-dessus du fond */
}

/* 👇 Soulignement animé sous le texte */
.nav-list li a span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: white;
  transition: width 0.4s ease;
}

/* 👇 Hover : active tous les effets */
.nav-list li a:hover::before {
  width: 100%;
}

.nav-list li a:hover::after {
  opacity: 1;
}

.nav-list li a:hover span::after {
  width: 100%;
}
/*
.nav-list li.current-menu-item a {
  background-color: #FAF8F8; 
  color: #242634;           
  font-weight: bold;
  box-shadow: inset 0 -2px 0 #0C6169;
  z-index: 2;
}*/

.nav-list li.current-menu-item a::before {
  width: 100%;
  background-color: #004551;
}

.nav-list li.current-menu-item a span::after {
  width: 100%;
}

.nav-list li.current-menu-item a::after {
  opacity: 1;
}


/* ========== Sections ========== */
#Services, #Temoignage {
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  padding: 1rem 0 4rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.NosService {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 0 auto;
  max-width: 1200px;
}

.Service {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  width: 280px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.Service:hover {
  transform: translateY(-10px);
}

.roundImg {
  background-color: #0C6169;
  border-radius: 50%;
  border: 3px solid black;
  height: 8rem;
  width: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.imgService {
  height: 6.5rem;
  width: auto;
}

.Service h3 {
  color: #000;
  margin: 0.5rem 0;
  text-transform: uppercase;
}

.Service p {
  color: #242634;
  font-size: 1rem;
  line-height: 1.4;
}

/* ========== Temoignage Section ========== */
#Temoignage {
  background: #FAF8F8;
  padding: 3rem 1rem;
  display: flex;
  justify-content: center;
}

.TemoignageCtn {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  gap: 4rem;
  max-width: 1200px;
}

.TexteTemoignage, .ImgTemoignage {
  flex: 1;
}

.TexteTemoignage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: justify;
  color: #000;
}

.TexteTemoignage h1 {
  margin: 1rem 0;
}

.TexteTemoignage p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.ImgTemoignage {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.ImgTemoignage img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* ========== Réalisation =========*/

#Realisation {
    background-color: #F1F1F1;
    padding: 3rem 1rem;
    text-align: center;
}

.RealisationCtn {
  flex: 1 1 0%;
  min-width: 300px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}


.RealisationCtn h1 {
    margin-bottom: 2.5rem;
}

/* ========== Carrousel ========== */
.carrousel {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.carrousel-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.carrousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.carrousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carrousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
  display: block;
}


button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(12, 97, 105, 0.7);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 2;
}

button.prev:hover, button.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

button.prev { left: 0; }
button.next { right: 0; }

.dots {
    text-align: center;
    position: absolute;
    bottom: 0rem;
    width: 100%;
    z-index: 3;
}

.dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #0C6169;
}

/* ========== Notre équipe ========== */

/* ======= SECTION ÉQUIPE ======= */
#Equipe {
  background-color: #FAF8F8;
  padding: 4rem 2rem;
  text-align: center;
}

.EquipeCtn {
  max-width: 1200px;
  margin: 0 auto;
}

.MembresEquipe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.Membre {
  width: 220px;
  background: #fff;
  /*background-color: #0c61690f;*/
  padding: 1.5rem;
  border-radius: 1rem;  
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* cohérent */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.Membre:hover {
  /* transform: translateY(-5px);*/
  box-shadow: 0 4px 10px rgba(12, 97, 105, 0.3);
  /*box-shadow: 2px 7px 10px rgba(0, 0, 0, 0.1); */
}

.PhotoMembre {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid #0C6169;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* même style que logoSticky */
  margin-bottom: 1rem;
}

.PhotoMembre img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.Membre h3 {
  margin: 0.5rem 0 0.2rem;
  color: #0C6169;
  font-size: 1.2rem;
}

.Membre h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
  font-weight: bold;
}

.Membre p {
  text-align: center;
  font-style: italic;
  font-size: 0.95rem;
  color: #242634;
  margin-top: 0.5rem;
  line-height: 1.4;
}

#Page{
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  width: fill-available;
  gap: 4rem;
  max-width: 1200px;
  margin-left:auto;
  margin-right: auto;
  margin-top:0;
  margin-bottom: 0;
}

/* === FOOTER DU SITE === */

/* ---------- FOOTER ---------- */
#Footer {
  background-color: #242634;
  color: #FAF8F8;
  padding: 3rem 2rem 2rem;
  font-family: 'Open Sans', sans-serif;
}

.FooterCtn {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.Coordonnees {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}


.ligneContact {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #FAF8F8;
  font-size: 1rem;
}

.ligneContact img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Force les liens à adopter la couleur blanche dans les coordonnées */
.ligneContact a {
  color: #FAF8F8;
  text-decoration: none;
}

.ligneContact a:hover {
  text-decoration: underline;
}

.Horaire {
  flex: 1;
  min-width: 250px;
}

.Horaire h4, .Coordonnees h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #ffffff;
}

.Horaire ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.Horaire li {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.BasFooter {
  margin-top: 5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #ffffff;
}

/* Responsive pour petits écrans */
@media (max-width: 576px) {
  .FooterCtn {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .Horaire li {
    justify-content: center;
    gap: 1rem;
  }
}


/* === MEDIA QUERY MOBILE === */
@media (max-width: 576px) {
  .Membre {
    width: 90%;
  }
  .MembresEquipe {
  flex-direction: column;
  align-items: center;
}

}


/* ========== Liens personnalisés ========== */
.LienEvidence {
  position: relative;
  color: #004551;
  text-decoration: none;
  font-weight: bold;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}

.LienEvidence::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #004551;
  transition: width 0.4s ease;
}

.LienEvidence:hover {
  color: #000;
}

.LienEvidence:hover::after {
  width: 100%;
}

/* ========== MEDIA QUERIES ========== */

/* --- @media tablette : max-width 992px --- */
@media (max-width: 992px) {
  .logoSticky {
    height: 4rem;
    width: 4rem;
  }
  .main-nav {
    height: 3.65rem;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
  }
  .nav-list {
    gap: 12px;
    margin-top: 0;    
  height: 3.65rem;
  box-sizing: border-box;
  }
  .nav-list li a {
    font-size: 0.9rem;
  }
  .nav-list li a::before {
    width: 3rem;
    left:-5px
  }
  #Entete {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  .logoCie, .adress, #TitreMantra {
    flex: none;
    width: 100%;
    max-width: 400px;
  }
  .logoCie img {
    margin: 0 auto;
  }
  .adress {
    align-items: center;
    text-align: center;
  }
  .TemoignageCtn {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .TexteTemoignage {
    align-items: center;
    text-align: center;
  }
  .ImgTemoignage {
    justify-content: center;
  }
}

/* --- @media mobile : max-width 576px --- */
@media (max-width: 576px) {
  body {
    font-size: 1rem;
    line-height: 1.6;
  }

  .logoStickyWrapper {
    top: 0.5rem;
    right: 2rem;
  }

  .logoSticky {
    height: 2.5em;
    width: 4rem;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #0C6169;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .hamburger {
    display: block;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    margin: 0;
    padding: 0;
  }

  .nav-list {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #0C6169;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-list li a {
    display: block;
    padding: 1rem;
    color: white;
    width: 100%;
  }

  #Entete {
    margin-top: 4.5rem;
  }

  .logoCie img {
    width: 70vw;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }

  .adress {
    display: none;
  }

  .Service {
    width: 80%;
  }

  .carrousel {
    height: 60vh;
  }

  h1, h2, h3 {
    font-size: 1.5rem;
  }

  .SimiliButtonNoir {
    margin-top: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 0.7rem 1.2rem;
  }

  .TexteTemoignage p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .imgService {
    height: 4rem;
  }

  /* Bloc Temoignage spécifique */
  .BlockTemoignage {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }

  .BlockTemoignage .TexteTemoignage {
    order: 1;
    width: 100% !important;
    max-width: 500px;
  }

  .BlockTemoignage .ImgTemoignage {
    order: 2;
    width: 100% !important;
    max-width: 500px;
  }

  .BlockTemoignage .ImgTemoignage img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
  }

  .BlockTemoignage .TexteTemoignage .SimiliButtonNoir {
    order: 3;
    align-self: center;
    margin-top: 1rem;
  }

  .coordonnees-titre{
    text-align: center;
  }
}
