/*
==================================================
CSS GENERAL
==================================================
*/
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

html, body {
  height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Raleway', 'Inter', Arial, sans-serif;
  min-height: 100vh;
}

/* Taille réduite pour le logo dans le header */
.logo-small {
  width: 90px;
  height: auto;
  max-width: 100%;
  display: block;
  transition: width 0.2s, max-width 0.2s;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
@media (max-width: 600px) {.logo-small { width: 80px; max-width: 80vw; padding: 2vw;}}
@media (min-width: 601px) and (max-width: 900px) {.logo-small { width: 95px; max-width: 90vw; padding: 1.5vw;}}
@media (min-width: 901px) and (max-width: 1200px) {.logo-small { width: 105px; max-width: 100vw; padding: 1.5vw;}}
@media (min-width: 1201px) {.logo-small { width: 120px; max-width: 100vw; padding: 1.5vw; }}

.text-important {
  font-family: 'Caveat', cursive !important;
  line-height: 1.1;
  margin-top: 0.5rem;
  color: #3065AC;
}

/*
==================================================
HEADER
==================================================
*/

nav.header-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 8vh;
  max-height: auto;
  padding: 0 2rem;
  box-sizing: border-box;
  gap: 1.5rem;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

/* Forçage ultime de la transparence du header en haut de page */
body.header-initial header {
  background: transparent !important;
  box-shadow: none !important;
  transition: background 0.3s, box-shadow 0.3s !important;
}

/* Header visible (scroll vers le haut) */
.header-visible {
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07) !important;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

/* Header caché (scroll vers le bas) */
.header-hidden {
  transform: translateY(-100%);
}

/* Style principal pour le bouton header "Prendre rendez-vous" */
.header-btn {
  background: #3065AC;
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  border: none;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(37,99,235,0.10);
  transition: background 0.2s;
  width: auto;
  min-width: 0;
  box-sizing: border-box;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.header-btn:hover {
  background: #1740B0;
  text-decoration: none;
  color: #fff;
}
.header-btn[data-show-phone]:after {
  /* plus utilisé, remplacé par changement de texte JS */
  display: none;
}
.header-btn .icon-xs {
  width: 1.3em;
  height: 1.3em;
  min-width: 16px;
  min-height: 16px;
  max-width: 20px;
  max-height: 20px;
  vertical-align: middle;
  
}
@media (max-width: 600px) {
  .header-btn .icon-xs {
    width: 0.85em;
    height: 0.85em;
    min-width: 12px;
    min-height: 12px;
    max-width: 14px;
    max-height: 14px;
  }
  .header-btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }
}
@media (min-width: 1201px) and (max-width: 1399px) {
  .header-btn { font-size: 1.25rem;  padding: 0.65rem 1.5rem; }
}
@media (min-width: 1400px) {
  .header-btn { font-size: 1.25rem;  padding: 0.65rem 1.5rem; }
}


/*
==================================================
  SECTION : ACCUEIL
==================================================
*/

.section-accueil, #section-accueil {
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  overflow: hidden;
}

.section-accueil {
  min-height: 100vh;
  height: 100vh;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
}

.accueil-center {
  text-align: center;
  padding: 0 1rem;
}
.accueil-btns {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.2rem;
}
.accueil-btns .header-btn {
  padding: 0.35rem 0.7rem;
  font-size: 0.98rem;
  width: auto;
}
.accueil-btn-contact {
  background: none;
  color: #3065AC;
  border: none;
  border-bottom: 2px dotted #3065AC;
  border-radius: 0;
  box-shadow: none;
  padding: 0.5rem 0.9rem 0.3rem 0.9rem;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.accueil-btn-contact:hover {
  color: #1740B0;
  border-bottom-color: #1740B0;
}

@media (max-width: 700px) {
  .section-accueil { padding: 0 0.5rem; }
  .accueil-center { padding: 0 0.5rem; }
  .accueil-title { font-size: 1.6rem; margin-top: 5rem; }
  .accueil-text { font-size: 1rem; margin: 1.2rem 0; }
  .accueil-btns { flex-direction: column; gap: 0.7rem; }
  .accueil-title .text-important { font-size: 3rem; }
}

@media (min-width: 701px) and (max-width: 1200px) {
  .accueil-title { font-size: 2.2rem; margin-bottom: 1.5rem; margin-top: 4rem; }
  .accueil-text { font-size: 1rem; }
  .accueil-title .text-important { font-size: 3rem; }
  .accueil-center { padding: 0 1.5rem; }
}

@media (min-width: 1201px) and (max-width: 1399px) {
  .accueil-title { font-size: 2.5rem; margin-top: 4rem; margin-bottom: 2rem; }
  .accueil-text { font-size: 1rem; }
  .accueil-title .text-important { font-size: 4rem; }
  .accueil-center { padding: 0 2.5rem; }
}

@media (min-width: 1400px) {
  .section-accueil { min-height: 100vh; height: 100vh; padding: 0 8vw; box-sizing: border-box; overflow: hidden; }
  .accueil-center { max-width: 1200px; padding: 0 4rem; }
  .accueil-title { font-size: 4rem; margin-top: 6rem; margin-bottom: 2.5rem; }
  .accueil-text { font-size: 1.5rem; margin: 3rem 0; }
  .accueil-title .text-important { font-size: 5.5rem; }
  .accueil-btns { gap: 1.5rem; }
  .accueil-btns .header-btn { font-size: 1.25rem; padding: 0.65rem 1.5rem; }
}

/*
==================================================
  SECTION : À PROPOS
==================================================
*/
@media (max-width: 700px) {
  .apropos-center { padding: 0 1.5rem; max-width: 98vw; }
  .apropos-title { font-size: 2.5rem; }
  .apropos-bio { width: 75vw; max-width: 800px; }
  .apropos-bio-quote { font-size: 1rem; }
  .apropos-block-title { font-size: 1.5rem; margin-bottom: 1rem; }
  .apropos-cible { font-size: 1rem; }
  .apropos-list { font-size: 1rem; }
  .apropos-block { min-height: 250px; max-height: 250px; height: 250px; width: 250px; min-width: 250px; max-width: 250px; padding: 1.7rem 1.7rem; }    
  .apropos-header { display: flex; flex-direction: column; align-items: center; }
  .apropos-img { float: none !important; margin: 2.5rem auto 0 auto !important; display: block !important; position: static !important; }
  .apropos-blocks { justify-content: center; gap: 5rem; }
}

@media (min-width: 700px) and (max-width: 949px) {
  .apropos-center { padding: 0 1.5rem; max-width: 98vw; }
  .apropos-title { font-size: 2.5rem; }
  .apropos-bio { width: 75vw; max-width: 800px; }
  .apropos-bio-quote { font-size: 1rem; }
  .apropos-block-title { font-size: 1.5rem; margin-bottom: 1rem; }
  .apropos-cible { font-size: 1rem; }
  .apropos-list { font-size: 1rem; }
  .apropos-block { min-height: 250px; max-height: 250px; height: 250px; width: 250px; min-width: 250px; max-width: 250px; padding: 1.7rem 1.7rem; }    
  .apropos-blocks { justify-content: center; gap: 5rem; }
}
@media (min-width: 950px) and (max-width: 1200px) {
  .apropos-center { padding: 0 2vw; max-width: 900px; }
  .apropos-title { font-size: 2.5rem; }
  .apropos-bio { width: 75vw; max-width: 800px; }
  .apropos-bio-quote { font-size: 1rem; }
  .apropos-block-title { font-size: 2rem; }
  .apropos-list { font-size: 1rem; }
  .apropos-block { min-height: 270px; max-height: 270px; height: 270px; width: 270px; min-width: 270px; max-width: 270px; padding: 1.1rem 1.1rem; }
  .apropos-blocks { justify-content: right; gap: 5vw; }
}
@media (min-width: 1201px) and (max-width: 1399px) {
  .apropos-center { padding: 0 3vw; max-width: 1000px; }
  .apropos-title { font-size: 2.5rem; }
  .apropos-bio { width: 75vw; }
  .apropos-bio-quote { font-size: 1rem; }
  .apropos-block-title { font-size: 2.5rem; }
  .apropos-list { font-size: 1rem; }
  .apropos-block { min-height: 300px; max-height: 300px; height: 300px; width: 300px; min-width: 300px; max-width: 300px; padding: 1.7rem 1.7rem; }
  .apropos-blocks { justify-content: center; gap: 6rem; }
}

@media (min-width: 1400px) {
  .apropos-blocks { max-width: auto; }
  .apropos-center { padding: 0 8vw; max-width: 1200px; }
  .apropos-title { font-size: 4rem; }
  .apropos-bio { width: auto; }
  .apropos-bio-quote { font-size: 1.3rem; }
  .apropos-block-title { font-size: 2.5rem; }
  .apropos-list { font-size: 1.3rem; }
  .apropos-cible { font-size: 1.3rem; }
  .apropos-block { min-height: 350px; max-height: 350px; height: 350px; width: 350px; min-width: 350px; max-width: 350px; padding: 1.7rem 1.7rem; }
  .apropos-blocks { justify-content: center; gap: 6rem; }

}
.section-apropos {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  position: relative;
  overflow: hidden;
}


/* Decorative image at the same level as .apropos-bio-text */

.apropos-bio {
  position: relative;
  z-index: 1;
}

.section-apropos {
  position: relative;
}

  /* Image décorative à gauche de .apropos-blocks */
  .apropos-blocks {
    position: relative;
    z-index: 1;
  }
  .apropos-blocks::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -22vw;
    width: 20vw;
    height: 400px;
    background: url('/uploads/images/mabonnefemme.png') no-repeat left center;
    background-size: contain;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
    transform: translateY(-50%);
  }
  @media (min-width: 700px) and (max-width: 949px) {
    .apropos-blocks::before {
      width: 18vw;
      height: 300px;
      left: -13vw;
    }
  }
  @media (min-width: 950px) and (max-width: 1200px) {
    .apropos-blocks::before {
      width: 18vw;
      height: 300px;
      left: -13vw;
    }
  }
  @media (min-width: 1201px) and (max-width: 1399px) {
    .apropos-blocks::before {
      width: 18vw;
      height: 350px;
      left: -13vw;
    }
  }
  @media (min-width: 1401px) and (max-width: 2500px) {
    .apropos-blocks::before {
      width: 16vw;
      height: 400px;
      left: -8vw;
    }
  }
  @media (max-width: 949px) {
    .apropos-blocks::before {
      display: none !important;
    }
  }

.apropos-bio-quote{
  font-family: 'Playfair Display', 'Libre Caslon Text', Times, serif;
}
.apropos-photo {
  width: 220px;
  height: 220px;
  margin: 4rem auto 2rem auto;
  display: block;
}
.apropos-img {
  float: right;
  width: 220px;
  height: 220px;
  margin: 4rem 0 1rem 2rem;
  border-radius: 50%;
  display: block;
  background: #d3d3d36c url('/uploads/images/photo-catherine.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.apropos-img::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #3065AC;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.apropos-img::after {
  content: "";
  position: absolute;
  top: 10%; left: 10%;
  width: 80%; height: 80%;
  background: url('/asset/images/CatRivComm.svg') center/contain no-repeat;
  filter: invert(1) brightness(1000%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.apropos-img:hover::before,
.apropos-img:hover::after {
  opacity: 1;
}
.apropos-img:hover {
  background-color: #3065AC;
}
.apropos-title {  
  font-family: 'Caveat', cursive !important;
  font-weight: 700;
  line-height: 1.1;
  margin: 5rem 0 2rem 0;
  color: #3065AC;
  text-align: center;
}
.apropos-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.apropos-bio {
  gap: 0.5rem;
  font-size: 0.98rem;
  overflow: hidden;
  margin: 0 auto;
  text-align: center;
}
.apropos-bio-quote {
  font-style: italic;
  margin-top: 0.8rem;
  font-weight: 400;
  text-align: justify;
  hyphens: auto;
  line-height: 1.6;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
}
.apropos-blocks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
  max-width: auto;
  margin-bottom: 4rem;
}
.apropos-block {
  background: none;
  border-radius: 1rem;
  border: solid 1px #3065AC;
  box-shadow: 0 4px 24px 0 rgba(99,102,241,0.13), 0 1.5px 6px rgba(0,0,0,0.10);
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.22s cubic-bezier(.4,1.3,.6,1);
}
.apropos-block:hover {
  transform: scale(1.06);
  z-index: 2;
}
.apropos-block-title {
  font-weight: 700;
}
.apropos-list {
  list-style: disc;
  padding-left: 1.1em;
  margin: 0;
}



/*
==================================================
  SECTION : OFFRES
==================================================
*/

.section-offres {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3065AC;
  color: #fff;
  overflow: hidden;
  box-sizing: border-box;
}
.offres-center {
  position: relative;
  z-index: 1;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}
.offre-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  width: 100%;
  align-items: stretch;
}
.offre-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.offre-img-col {
  display: flex;
  justify-content: center;
  margin-top: 0;
}
.section-title {
  font-family: 'Caveat', cursive !important;
  text-align: center;
  margin-top: 8rem;
  margin-bottom: 5rem; 
}
.offres-title-1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}
.offres-title-3 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin: 3rem 0 3rem 0;
  text-align: center;
}
.offre-title {
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  min-height: 4.5rem;
}
.offre-title.text-important {
  justify-content: center;
  color: #facc15;
  font-weight: 700;
  font-size: 2.5rem;
}
.offre-img-small-1 {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.offre-img-small-2 {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.offre-img-small-1,
.offre-img-small-2 {
  filter: grayscale(100%);
}
.offres-cta {
  font-size: 1.2rem;
  text-align: justify;
  hyphens: auto; 
  margin: 0 auto 3rem auto;
  color: #fff;
}
.offres-cta {
  margin: 0 auto 8rem auto;
}
.offre-desc {
  font-size: 1.2rem;
  text-align: justify;
  hyphens: auto;
  margin-top: 1.2rem;
  color: #fff;
  padding-left: 1.2rem;
}
.offre-desc strong {
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #fff;
}
.offre-desc ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.etape-numero {
  font-family: 'Inter', Arial, sans-serif;
  color: #ffffff;
  border: solid 1px;
  border-color: #ffffff;
  font-weight: bold;
  border-radius: 50%;
  width: 2em;
  height: 2em;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 2em;
  margin-right: 0.7em;
  font-size: 1.2em;
}
.etape-titre {
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: 600;
}
.offres-conclusion {
  text-align: center;
  color: #fff;
  margin: 5rem auto;
  font-weight: 700;
  max-width: 700px;
  font-family: 'Caveat', cursive !important;
}
#vanta-offres {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
  /* Responsive breakpoints fusionnés */
@media (max-width: 700px) {
  .offre-content-col { padding: 0 8vw; }
  .section-title { font-size: 2.5rem; }
  .offres-title-1 { margin: -4rem 0 2.5rem 1rem; margin-left: 1rem; }
  .offres-title-2 { margin: 2.5rem 0 2.5rem 1rem; margin-left: 1rem; }
  .offres-cta { font-size: 1.2rem; padding: 0 8vw ; justify-content: center; }
  .offre-img-small { max-width: 100%; }
  .offre-row { display: flex; flex-direction: column; gap: 1rem; }
  .offre-row:first-child .offre-content-col { order: 1; }
  .offre-row:first-child .offre-img-col { order: 2; }
  .offres-conclusion { font-size: 1.5rem; }
  .etape-numero { font-size: 1.5rem; width: 1.5em; height: 1.5em; line-height: 1.5em; }
  .etape-titre { font-size: 1.5rem; }
}
@media (max-width: 900px) {
  .offre-content-col { padding: 6vw 8vw; }
  .offres-center { padding: 0; }
  .offres-conclusion { margin: 2.5rem 1rem 3.5rem 1rem; }
  .offre-img-small { max-width: 100%; }
}
@media (min-width: 701px) and (max-width: 1200px) {
  .offre-content-col { padding: 4vw 8vw; }
  .section-title { font-size: 3.3rem; }
  .offres-title-1 { margin: -3rem 0 3rem 0; }
  .offres-title-2 { font-size: 2.3rem; margin: 2.5rem 0 2.5rem 1rem; margin-left: 1rem; }
  .offre-desc { font-size: 1.5rem; }
  .offres-cta { font-size: 1.5rem; padding: 0 8vw ; justify-content: center; }
  .offre-img-col { display: flex; align-items: center; justify-content: center; height: 100%; }
  .offre-img-small { width: 100%; height: auto; object-fit: contain; }
  .offre-title.text-important { font-size: 3.2rem; margin: 1.5rem 0; }
  .offre-row { gap: 1.5rem; }
  .offres-conclusion { font-size: 1.7rem; }
}
@media (min-width: 701px) and (max-width: 1200px), (max-width: 900px) {
  .offre-row { display: flex; flex-direction: column; gap: 1rem; }
  .offre-row:first-child .offre-content-col { order: 1; }
  .offre-row:first-child .offre-img-col { order: 2; }
}
@media (min-width: 1201px) and (max-width: 1399px) {
  .section-offres { padding-left: 6vw; padding-right: 6vw; }
  .offres-cta { font-size: 1.5rem; padding: 0 8vw ; margin: 0 auto 4rem auto; justify-content: center; }
  .offre-cta-1 { font-size: 1.5rem; margin-left: auto; margin-right: auto; justify-content: center; }
  .offre-cta-2 { font-size: 1.5rem; margin: 2rem 0 8rem 1rem; justify-content: center; }
  .section-title { font-size: 3rem; }
  .offres-title { font-size: 2.3rem; margin: 2rem 0 2rem 0; }
  .offres-title-2 { font-size: 2.3rem; margin: 2.5rem 0 2.5rem 0; margin-left: 1rem; }
  .offre-title.text-important { font-size: 2.5rem; margin: 1.5rem 0; }
  .offre-img-small-1 { width: 100%; height: auto; padding-top: 3rem; }
  .offre-img-small-2 { width: 100%; height: auto; padding-bottom: 3rem; }
  .offre-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; width: 100%; align-items: stretch; padding: 0 1vw; }
  .offres-conclusion { font-size: 2rem; }
}
@media (min-width: 1400px) {
  .section-offres { padding-left: 8vw; padding-right: 8vw; }
  .section-title { font-size: 3.4rem; }
  .offres-title { font-size: 2.5rem; margin: 1.5rem 0 2.5rem 0; }
  .offres-title-2 { font-size: 2.5rem; margin: 2.5rem 0 2.5rem 0; margin-left: 1rem; }
  .offres-title.text-important { font-size: 3.5rem; margin: 8rem 0 2.5rem 0; }
  .offre-desc { font-size: 1.5rem; margin-left: auto; margin-right: auto; justify-content: center; }
  .offres-cta { font-size: 1.5rem; margin: 0 auto 4rem auto; justify-content: center; }
  .offre-cta-1 { font-size: 1.5rem; margin-left: auto; margin-right: auto; justify-content: center; }
  .offre-cta-2 { font-size: 1.5rem; margin: 2rem 0 8rem 1rem; justify-content: center; }
  .offre-title.text-important { font-size: 4rem; margin: 2.5rem 0; max-width: 700px; margin-left: auto; margin-right: auto; }
  .offre-img-small-1 { width: 100%; height: auto; padding-top: 5rem;}
  .offre-img-small-2 { width: 100%; height: auto; padding-bottom: 5rem;}
  .offre-row { gap: 4rem; margin: 4rem 0; }
  .offres-conclusion { font-size: 2rem; }
}



/*
==================================================
  SECTION : REALISATIONS - AVIS CLIENTS
==================================================
*/

.avis-carousel-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2.5rem 0 3.5rem 0;
  width: 100%;
  max-width: 100vw;
  min-height: 320px;
}
.avis-carousel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  width: 95vw;
  max-width: 80vw;
  min-height: 120px;
  margin: 0 auto;
}
.avis-card {
  padding: 2.2rem;
  margin: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: none;
  box-shadow: none;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.3s, transform 0.18s cubic-bezier(.4,1.3,.6,1);
  min-height: 220px;
}
.avis-card.active {
  display: flex !important;
  opacity: 1;
}
/* Déplacement du nom de l'avis quand le bloc est expanded */
.avis-card.expanded .avis-nom {
  margin-top: 3rem;
  transition: margin-top 0.3s;
}
.avis-card.expanded {
  justify-content: space-between;
}
.avis-toggle-link {
  display: block;
  margin-bottom: 1rem;
  text-decoration: underline;
  color: #2B2928;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  text-align: right;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.18s;
}
.avis-toggle-link:hover, .avis-toggle-link:focus {
  color: #ef4444;
  outline: none;
}
/* Couleur au clic (active), puis retour à la couleur de base */
.avis-toggle-link:active {
  color: #b91c1c;
}
.avis-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2.2rem 0 1.2rem 0;
}
.avis-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e0e7ff;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  outline: none;
  box-shadow: 0 1px 3px rgba(99,102,241,0.08);
  display: inline-block;
}
.avis-dot.active {
  background: #ef4444;
  transform: scale(1.18);
}
.avis-dot:focus {
  outline: 2px solid #ef4444;
}
.avis-content {
  color: #22223b;
  font-style: italic;
  margin-bottom: 1.2rem;
  text-align: justify;
  hyphens: auto;
  position: relative;
}
.avis-content::before {
  content: "\201C";
  font-size: 2.2em;
  color: #2B2928;
  font-family: serif;
  position: absolute;
  left: -0.7em;
  top: -0.3em;
  line-height: 1;
  font-weight: bold;
}
.avis-content::after {
  content: "\201D";
  font-size: 2em;
  color: #2B2928;
  font-family: serif;
  position: absolute;
  right: -0.7em;
  bottom: -0.2em;
  line-height: 1;
  font-weight: bold;
}
.avis-card:hover .avis-content::before,
.avis-card:hover .avis-content::after {
  color: #da3c3c;
}
.avis-nom {
  font-weight: 700;
  font-size: 1.05rem;
  color: #111;
  text-align: center;
  margin: 2rem 0 1.2rem 0;
}
@media (max-width: 500px) {.avis-carousel, .avis-card { max-width: 95vw; }.avis-card { padding: 1.2rem 0.7rem 1rem 0.7rem; }}
@media (max-width: 700px) { .avis-carousel { grid-template-columns: 1fr; gap: 1.2rem; width: 80vw; max-width: 80vw; } .avis-carousel-arrow { margin: 1.2rem 0.5rem 0 0.5rem; width: 2rem; height: 2rem; font-size: 1.1rem; } .avis-card { margin: 0 0.7rem; padding: 1.2rem 0.7rem 1rem 0.7rem; } .realisations-title { margin-left: 1rem; margin-right: 1rem; }.realisations-title .text-important { font-size: 3.3rem; } .avis-content { font-size: 1rem; } .avis-nom { font-size: 1rem; }}
@media (min-width: 901px) and (max-width: 1200px) { .avis-carousel { grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 900px; width: 100%; } .realisations-title { font-size: 2.2rem; } .realisations-title .text-important { font-size: 3.3rem; } .avis-content { font-size: 1rem; } .avis-nom { font-size: 1rem; }}
@media (min-width: 1201px) and (max-width: 1399px) { .avis-carousel { grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: 1200px; width: 100%; } .realisations-title { font-size: 2.3rem; } .realisations-title .text-important { font-size: 3.3rem; } .avis-content { font-size: 1.25rem; } .avis-nom { font-size: 1.25rem; }}
@media (min-width: 1400px) { .avis-carousel { grid-template-columns: 1fr 1fr; gap: 5rem; max-width: 1200px; width: 100%; } .realisations-title { font-size: 3rem; } .realisations-title .text-important { font-size: 5rem; } .avis-content { font-size: 1.45rem; } .avis-nom { font-size: 1.35rem;  }}


/*
==================================================
  SECTION : REALISATIONS
==================================================
*/


.realisations-title {
  text-align: center;
  margin-top: 5rem;
  font-size: 2.3rem;
}
.realisations-title .text-important {
  font-size: 4rem;
  color: #da3c3c;
}
    

.realisations-grid {
  display: flex;
  gap: 2.5rem;
  justify-content: space-evenly;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100vw;
  margin-top: 3rem;
  margin-bottom: 5rem;
}

.logo-xs {
  height: 90px !important;
  width: 160px !important;
  max-width: 160px;
  max-height: 90px;
  min-width: 120px;
  min-height: 60px;
  object-fit: contain;
  margin: 0 2rem;
  display: block;
  font-size: 1rem;
    .offre-img-between { display: none !important; }
}

.section-realisations {
  min-height: 800px;
  display: flex;
  flex-direction: column;
    .offre-img-between { display: none !important; }
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.caveat-font, h2 .caveat-font {
  font-family: 'Caveat', cursive !important;
  color: #ef4444;
  line-height: 1.1;
  display: inline-block;
}
.logos-marquee {
    .offre-img-between { display: none !important; }
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100vw;
  max-width: 100vw;
  min-width: 100vw;
  position: relative;
  height: 130px;
  padding: 0.5rem 0 0.5rem 0;
  margin-bottom: 0.5rem;
  scrollbar-width: none; /* Firefox */

    .offre-img-between { display: none !important; }
}

/* Animation défilement infini pour les logos */
.logos-marquee-track {
  display: flex;
  align-items: center;
  animation: marquee-scroll 40s linear infinite;
  will-change: transform;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.logos-marquee::-webkit-scrollbar {
  display: none;
}


/*
==========================
   SECTION : BLOG 
==========================
*/


/* Blog Section Styles - Simplified & SEO Best Practices */
.section-blog {
  min-height: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  background: #065f46 url('/asset/images/Toulouse-pont.webp') no-repeat center center;
  background-size: cover;
  position: relative;
  transition: min-height 0.3s;
}
.section-blog-content {
  position: relative;
  z-index: 2;
}
.section-blog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 41, 59, 0.4);
  pointer-events: none;
  z-index: 1;
}
.section-blog a {
  text-decoration: none;
}
.blog-center {
  text-align: left;
  padding: 0 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.blog-actus-title {
  font-weight: 700;
  color: #fff;
  margin: 5rem 0;
  text-align: center;
}
.blog-actus-title .actus-highlight {
  color: #facc15;
  font-family: 'Caveat', cursive !important;
  font-weight: 700;
}
/* Centrage parfait des 3 articles en grille */
.blog-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2.5rem;
  margin: 2.5rem auto;
  max-width: 1200px;
  justify-content: center;
  align-items: stretch;
  transition: min-height 0.3s;
  place-items: center;
}
/* Flèches pagination blog */
.blog-pagination-wrapper {
  display: flex;
  gap: 39vw;
  margin: 2rem 0 1.5rem 0;
}
.blog-arrow {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.8rem;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  padding: 0.2em 0.5em;
  line-height: 1;
  user-select: none;
}
.blog-arrow-large {
  font-size: 4rem;
  font-weight: bold;
}
.blog-arrow:disabled,
.blog-arrow[style*="display: none"] {
  opacity: 0.3;
  pointer-events: none;
}
.blog-arrow:hover {
  color: #facc15;
  transform: scale(1.15);
}
.blog-article-img {
  width: 100%;
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  object-fit: cover;
  border-radius: 0.4rem 0.4rem 0 0;
}
@media (max-width: 900px) {
  .blog-article-img {
    max-height: 8rem;
  }
}
@media (max-width: 600px) {
  .blog-article-img {
    min-height: 12.5rem;
  }
}
.blog-article {
  transition: transform 0.22s cubic-bezier(.4,1.3,.6,1);
  width: 100%;
  max-width: 350px;
  height: 560px;
  min-height: 560px;
  max-height: 560px;
  background: rgba(55,65,81,0.6);
  border: 2px solid #fff;
  border-radius: 0.5rem;
  text-decoration: none;
  margin: 0 auto;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}
.blog-article:hover {
  transform: scale(1.06);
  background: rgba(55,65,81,0.8);
}
.blog-article-more-btn {
  color: #fff;
  background: transparent;
  transition: color 0.2s;
  padding: 0 2rem 2rem 0;
  border: none;
}
.blog-article-more-btn:hover {
  text-decoration: underline;
  color: #facc15;
}
.blog-more-btn-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-left: 1.5rem;
  margin-top: auto;
  align-self: flex-end;
}
.blog-article-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  height: 100%;
}
.blog-article-content{
  padding: 0 2rem;
  flex: 1 1 auto;
  overflow: hidden;
}
.blog-article-title {
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0 0 0.7rem 0;
  color: #fff;
  text-align: left;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  text-overflow: ellipsis;
  max-height: 3.2em;
}
.blog-article-summary {
  font-size: 1rem;
  color: #fff;
  text-align: justify;
  hyphens: auto;
  padding: 1rem 0 1.5rem 0;
  text-overflow: ellipsis;
  max-height: 8.5em;
  white-space: normal;
}
.blog-article-summary.ellipsis {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  max-height: 4.5em;
  white-space: normal;
}

/* Responsive Breakpoints - Merged & Cleaned */
@media (max-width: 900px) {
  .section-blog { min-height: auto; height: auto; max-width: 100vw; overflow-x: hidden; box-sizing: border-box;}
  .blog-article-flex { flex-direction: column; gap: 1.2rem; height: auto; }
  .blog-article-img { width: 100%; max-width: 100%; }
  .blog-actus-title { font-size: 2.3rem; }
  .blog-article-title { font-size: 1.5rem; }
  .blog-article-summary { font-size: 1.25rem; }
  .blog-center { padding: 0 2rem; max-width: 100vw; box-sizing: border-box; }
  .blog-articles-grid { grid-template-columns: 1fr; gap: 2.5rem 2rem; max-width: 100vw; margin: 2.5rem auto; box-sizing: border-box;}
  .blog-actus-title .actus-highlight { font-size: 3.5rem; }}
@media (max-width: 700px) {
  .section-blog { min-height: auto; height: auto; display: flex; flex-direction: column; align-items: center;}
  .blog-center { padding: 0 1.2rem; max-width: 95vw; box-sizing: border-box;}
  .blog-articles-grid { display: block !important; margin-left: auto; margin-right: auto; padding: 0; gap: 0;}
  .blog-article { max-width: 400px; margin-left: auto !important; margin-right: auto !important; display: none;}
  .blog-article:first-child { display: flex !important; justify-content: center; align-items: center;}
  .blog-article-flex { flex-direction: column; gap: 1.2rem; }
  .blog-actus-title .actus-highlight { font-size: 3.3rem; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .section-blog { min-height: 1200px; height: 1200px; }
  .blog-article-flex { flex-direction: column; gap: 1.2rem; }
  .blog-center { padding: 0 2rem; max-width: 900px; }
  .blog-articles-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2.5rem; max-width: 1100px; margin: 5rem auto;}
  .blog-actus-title .actus-highlight { font-size: 3.5rem; }
}
@media (min-width: 1201px) and (max-width: 1399px) {
  .section-blog { min-height: 1200px; height: 1200px; }
  .blog-article-flex { flex-direction: column; gap: 2rem; }
  .blog-center { padding: 0 3rem; max-width: 1100px; }
  .blog-articles-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2.5rem; max-width: 1200px; margin: 5rem auto;}
  .blog-article-more-btn { font-size: 0.9rem; }
  .blog-article { max-width: 350px; margin: 0 auto;}
  .blog-actus-title .actus-highlight { font-size: 3.5rem; }
}
@media (min-width: 1400px) {
  .section-blog { min-height: 1200px; height: 1200px; }
  .blog-article-flex { flex-direction: column; gap: 2rem; }
  .blog-center { padding: 0 6rem; max-width: 1400px; }
  .blog-articles-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem 3rem; max-width: 1400px; margin: 5rem auto;}
  .blog-actus-title { font-size: 3rem; }
  .blog-article-title { font-size: 2rem; }
  .blog-actus-title .actus-highlight { font-size: 5rem; }
  .blog-article-more-btn { font-size: 1.1rem; }
  .blog-article { max-width: 400px; margin: 0 auto;}
}

/*
==================================================
POP-UP BLOG
==================================================/
/* Correction pop-up blog : centrage, fond flou, curseur normal sur le flou */
.blog-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(6px);
  z-index: 9999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  cursor: default; /* curseur normal sur le flou */
}
.blog-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  max-width: 500px;
  width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  position: relative;
  animation: modalIn 0.3s;
  cursor: auto;
}

#blog-modal-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  border-radius: 12px;
  object-fit: cover;
}

#blog-modal-title {
  margin-left: 2rem;
  margin-right: 2rem;
}

.blog-modal-text {
  margin-left: 2rem;
  margin-right: 2rem;
  margin-bottom: 2rem;
}

@keyframes modalIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.blog-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #64748b;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10;
}
.blog-modal-close:hover {
  color: #facc15;
}

/* Désactive le scroll du site quand le pop-up est ouvert */
body.modal-open {
  overflow: hidden !important;
}

/* S'assure que le pop-up est au-dessus de tout */
.blog-modal {
  z-index: 9999 !important;
}

/* Responsive pour l'image du pop-up blog */
@media (max-width: 900px) { #blog-modal-image { max-width: 70vw; max-height: 30vw; } .blog-modal-content { font-size: 1.2rem; }}
@media (max-width: 700px) { #blog-modal-image { max-width: 90vw; max-height: 45vw; } .blog-modal-content { margin-left: 2vw; margin-right: 2vw; width: auto; max-width: 80vw; font-size: 1.2rem; }}
@media (min-width: 901px) and (max-width: 1200px) { .blog-modal-content { max-width: 55vw; width: 95vw; font-size: 1.2rem; } #blog-modal-image { max-width: 50vw; max-height: 20vw;}}
@media (min-width: 1201px) and (max-width: 1399px) { .blog-modal-content { max-width: 45vw; width: 95vw; font-size: 1.2rem; } #blog-modal-image { max-width: 35vw; max-height: 12vw;}}
@media (min-width: 1400px) { .blog-modal-content { max-width: 50vw; width: 90vw; font-size: 1.4rem;} #blog-modal-image { max-width: 25vw; max-height: 9vw; }}

/*
==================================================
  FOOTER
==================================================
*/
.footer-section {
  background: #f3f4f6;
  padding: 3.5rem 0 3.5rem 0;
  border-top: 1px solid #e5e7eb;
  width: 100%;
  box-sizing: border-box;
}
/* Grand écran : 3 colonnes classiques */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
  justify-items: center;
}
.footer-row-1, .footer-row-2 {
  display: contents;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.footer-title {
  font-weight: 700;
  color: #3065AC;
  margin-bottom: 0.7rem;
}
.footer-btn {
  margin-top: 0.7rem;
  width: auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2rem;
  font-weight: 400;
  background: #3065AC;
  color: #fff;
  border: none;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(37,99,235,0.10);
  transition: background 0.2s;
  white-space: nowrap;
  text-overflow: ellipsis;
  gap: 0.5em;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-links a {
  color: #22223b;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-links a:hover {
  color: #3065AC;
}
.footer-contact-item {
  color: #22223b;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.footer-contact-item a {
  color: #3065AC;
  text-decoration: underline;
  font-weight: 600;
}
.footer-contact-item a:hover {
  color: #1740B0;
}

@media (max-width: 700px) { .footer-row-1 { grid-template-columns: 1fr; gap: 2.2rem;} .footer-row-2 { margin-top: 2.2rem; justify-content: center; } .footer-title { font-size: 1.1rem; } .footer-links { font-size: 1rem; } .footer-contact-item { font-size: 1rem; } }
@media (max-width: 950px) { .footer-grid { display: block; max-width: 700px; } .footer-row-1 { display: grid; padding: 0 1rem; grid-template-columns: 1fr 1fr; gap: 2.2rem; text-align: center; } .footer-row-2 { display: flex; margin-top: 2.2rem; justify-content: center; } .footer-col { align-items: center;} .footer-btn { font-size: 1rem; margin-left: auto; margin-right: auto; }}
@media (min-width: 901px) and (max-width: 1200px) { .footer-title { font-size: 1.35rem; } .footer-btn { font-size: 1.18rem; padding: 0.5rem 1.5rem; } .footer-links { font-size: 1.12rem; } .footer-contact-item { font-size: 1.12rem; } }
@media (min-width: 1201px) and (max-width: 1399px) { .footer-title { font-size: 1.5rem; } .footer-links { font-size: 1.18rem; } .footer-contact-item { font-size: 1.18rem; } }
@media (min-width: 1400px) { .footer-title { font-size: 1.7rem; } .footer-btn { font-size: 1.25rem; padding: 0.6rem 2rem; } .footer-links { font-size: 1.25rem; } .footer-contact-item { font-size: 1.25rem; } }

/*
==================================================
  SECTION : MENTIONS LEGALES
==================================================
*/

/* Mise en forme pages Mentions légales & Politique de confidentialité */
.mentions-legales-center {
  max-width: 800px;
  margin: 4rem auto 4rem auto;
  border-radius: 1.2rem;
  padding: 2.5rem 2rem;
  color: #22223b;
  font-size: 1.08rem;
}
.mentions-legales-center h1 {
  font-size: 2.2rem;
  color: #000000;
  margin-bottom: 2rem;
  text-align: center;
}
.mentions-legales-center h2 {
  font-size: 1.3rem;
  color: #3065AC;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}
.mentions-legales-center ul {
  margin-left: 1.2em;
  margin-bottom: 1.2em;
}
.mentions-legales-center li {
  margin-bottom: 0.5em;
}
.mentions-legales-center p {
  margin-bottom: 1.2em;
}
@media (max-width: 700px) {
  .mentions-legales-center {
    padding: 1.2rem 1.2rem;
    font-size: 1rem;
  }
  .mentions-legales-center h1 {
    font-size: 1.3rem;
  }
  .mentions-legales-center h2 {
    font-size: 1.05rem;
  }
}

/*
==================================================
  SECTION : LOGIN
==================================================
*/

/* Centrage uniquement pour la page login */
.login-page-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
}

.login-card {
    
  max-width: 640px;
  background: #fff;
  padding: 2rem 2rem 1.5rem 2rem;
  overflow: hidden;
}

.login-title {
  margin-top: 4rem;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #22223b;
  letter-spacing: 0.01em;
}

.login-subtitle {
    margin: 2rem;
    text-align: center;
    font-size: 1.25rem;
    color: #22223b;
    letter-spacing: 0.01em;
}

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

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #22223b;
    margin-bottom: 1rem;
    margin-top: rem; 
  }

/* Pour aligner "Mot de passe oublié ?" sur la même ligne */
.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 0.5rem;
  border: 1px solid #cbd5e1;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  color: #22223b;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus {
  border-color: #1740B0;
}

.form-link {
  font-size: 0.95rem;
  color: #3065AC;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.form-link:hover {
  color: #1740B0;
}

.form-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  border-radius: 0.5rem;
  background: #3065AC;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border: none;
  box-shadow: 0 1px 4px rgba(99,102,241,0.10);
  cursor: pointer;
  transition: background 0.2s;
}
.form-btn:hover {
  background: #1740B0;
}

