/**
 * Pure Home Theme - Main Stylesheet
 * Styles correspondant exactement au design Adobe XD
 */

/* ============================================
   GOOGLE FONTS - MONTSERRAT
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ============================================
   RESET & BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
  color: #000000;
  margin: 0;
  padding: 0;
}

/* Tous les éléments textuels utilisent Montserrat */
h1, h2, h3, h4, h5, h6,
p, span, div, a, li, ul, ol,
td, th, label,
input, textarea, select, button,
strong, em, b, i, u, small, big,
blockquote, cite, code, pre,
table, thead, tbody, tfoot, tr,
section, article, aside, nav, header, footer, main {
  font-family: 'Montserrat', sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

img.lightboxable,
img[data-lightbox-src] {
  cursor: zoom-in;
}

[data-lightbox-open] {
  cursor: pointer;
}

a {
  transition: color 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

/* ============================================
   ANIMATIONS D'APPARITION
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation pour les blocs au scroll (sera activée par JavaScript si nécessaire) */
.animate-on-scroll {
  opacity: 0 !important;
  transform: translateY(30px) !important;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out !important;
}

.animate-on-scroll.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Désactiver toutes les animations automatiques si animate-on-scroll est présent */
.animate-on-scroll {
  animation: none !important; /* Désactiver toutes les animations automatiques */
}

/* Désactiver les animations au scroll sur mobile (depuis version 145) */
@media (max-width: 768px) {
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  .animate-on-scroll.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Animations d'apparition automatiques pour les blocs principaux - DÉSACTIVÉES si animate-on-scroll */
.hero-section:not(.animate-on-scroll) {
  animation: fadeIn 0.6s ease-out;
}

.hero-title:not(.animate-on-scroll) {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-subtitle:not(.animate-on-scroll) {
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

/* Sections et blocs - DÉSACTIVÉES si animate-on-scroll */
.testimonials-container:not(.animate-on-scroll),
.projets-container:not(.animate-on-scroll),
.realisations-container:not(.animate-on-scroll),
.projet-content-wrapper:not(.animate-on-scroll),
.projet-header:not(.animate-on-scroll),
.projet-gallery:not(.animate-on-scroll),
.projet-project-section:not(.animate-on-scroll),
.projet-contact:not(.animate-on-scroll),
.team-container:not(.animate-on-scroll),
.page-header:not(.animate-on-scroll),
.cta-section:not(.animate-on-scroll) {
  animation: fadeInUp 0.6s ease-out;
}

/* Grilles et listes - DÉSACTIVÉES si animate-on-scroll */
.testimonials-grid:not(.animate-on-scroll),
.projets-grid:not(.animate-on-scroll),
.realisations-grid:not(.animate-on-scroll),
.team-grid:not(.animate-on-scroll) {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Cartes et items - DÉSACTIVÉES si animate-on-scroll */
.testimonial-card:not(.animate-on-scroll),
.projet-card:not(.animate-on-scroll),
.realisation-item:not(.animate-on-scroll),
.team-member:not(.animate-on-scroll) {
  animation: fadeInUp 0.6s ease-out both;
}

/* Délais pour les items dans les grilles */
.testimonial-card:nth-child(1),
.projet-card:nth-child(1),
.realisation-item:nth-child(1),
.team-member:nth-child(1) {
  animation-delay: 0.1s;
}

.testimonial-card:nth-child(2),
.projet-card:nth-child(2),
.realisation-item:nth-child(2),
.team-member:nth-child(2) {
  animation-delay: 0.2s;
}

.testimonial-card:nth-child(3),
.projet-card:nth-child(3),
.realisation-item:nth-child(3),
.team-member:nth-child(3) {
  animation-delay: 0.3s;
}

.testimonial-card:nth-child(4),
.projet-card:nth-child(4),
.realisation-item:nth-child(4),
.team-member:nth-child(4) {
  animation-delay: 0.4s;
}

.testimonial-card:nth-child(5),
.projet-card:nth-child(5),
.realisation-item:nth-child(5),
.team-member:nth-child(5) {
  animation-delay: 0.5s;
}

.testimonial-card:nth-child(6),
.projet-card:nth-child(6),
.realisation-item:nth-child(6),
.team-member:nth-child(6) {
  animation-delay: 0.6s;
}

/* Blocs de contenu */
.projet-project-content:not(.animate-on-scroll),
.projet-section-content:not(.animate-on-scroll),
.testimonial-quote:not(.animate-on-scroll),
.projet-name:not(.animate-on-scroll),
.projet-price:not(.animate-on-scroll) {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Caractéristiques et listes - DÉSACTIVÉES si animate-on-scroll */
.projet-characteristics-list:not(.animate-on-scroll),
.projet-features-box:not(.animate-on-scroll) {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.projet-characteristics-list li:not(.animate-on-scroll) {
  animation: fadeInUp 0.6s ease-out both;
}

.projet-characteristics-list li:nth-child(1) {
  animation-delay: 0.1s;
}

.projet-characteristics-list li:nth-child(2) {
  animation-delay: 0.15s;
}

.projet-characteristics-list li:nth-child(3) {
  animation-delay: 0.2s;
}

.projet-characteristics-list li:nth-child(4) {
  animation-delay: 0.25s;
}

.projet-characteristics-list li:nth-child(5) {
  animation-delay: 0.3s;
}

.projet-characteristics-list li:nth-child(6) {
  animation-delay: 0.35s;
}

.projet-characteristics-list li:nth-child(7) {
  animation-delay: 0.4s;
}

.projet-characteristics-list li:nth-child(8) {
  animation-delay: 0.45s;
}

.projet-characteristics-list li:nth-child(9) {
  animation-delay: 0.5s;
}

.projet-characteristics-list li:nth-child(10) {
  animation-delay: 0.55s;
}

/* Images */
.projet-gallery,
.realisation-main-image:not(.animate-on-scroll),
.realisation-secondary-image:not(.animate-on-scroll),
.realisation-gallery-item:not(.animate-on-scroll) {
  animation: fadeIn 0.6s ease-out;
}

/* Titres de sections - DÉSACTIVÉES si animate-on-scroll */
.projet-section-title:not(.animate-on-scroll),
.projet-project-title:not(.animate-on-scroll),
.projet-contact-title:not(.animate-on-scroll),
.page-title:not(.animate-on-scroll),
.page-description:not(.animate-on-scroll) {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100; /* Z-index le plus haut pour la navigation - toujours au-dessus */
  background: #000000;
  padding: 1.5rem 0;
  height: 76px;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: 148rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 5%;
  padding-right: 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-left: auto;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1;
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center; /* Centrer le logo */
}

.site-logo img,
.site-logo svg,
.logo-svg {
  height: auto;
  max-height: 3.45rem; /* Agrandi de 15% (3rem * 1.15) */
  width: 100%;
  display: block;
  transition: width 0.6s ease;
  margin: 0 auto; /* Centrer le logo */
}

.site-logo:hover img,
.site-logo:hover svg,
.site-logo:hover .logo-svg {
  width: 95%; /* 100% à 95% au hover */
}

/* Animation des carrés gris du logo au survol */
@keyframes logo-squares-fade {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0;
  }
}

/* Animation uniquement au survol du logo - pour SVG inline */
.site-logo:hover svg g[opacity="0.6"] {
  animation: logo-squares-fade 6s ease-in-out infinite;
  transition: opacity 1s ease;
}

.site-logo:hover svg g[opacity="0.6"] rect {
  animation: logo-squares-fade 6s ease-in-out infinite;
  transition: opacity 1s ease;
}

/* Animation décalée pour chaque carré gris pour un effet en cascade */
.site-logo:hover svg g[id="Groupe_20712"],
.site-logo:hover svg g[data-name="Groupe_20712"] {
  animation: logo-squares-fade 6s ease-in-out infinite;
  animation-delay: 0s;
  transition: opacity 1s ease;
}

.site-logo:hover svg g[id="Groupe_20715"],
.site-logo:hover svg g[data-name="Groupe_20715"] {
  animation: logo-squares-fade 6s ease-in-out infinite;
  animation-delay: 0.5s;
  transition: opacity 1s ease;
}

.site-logo:hover svg g[id="Groupe_20718"],
.site-logo:hover svg g[data-name="Groupe_20718"] {
  animation: logo-squares-fade 6s ease-in-out infinite;
  animation-delay: 1s;
  transition: opacity 1s ease;
}

.site-logo:hover svg g[id="Groupe_20721"],
.site-logo:hover svg g[data-name="Groupe_20721"] {
  animation: logo-squares-fade 6s ease-in-out infinite;
  animation-delay: 1.5s;
  transition: opacity 1s ease;
}

.logo-content {
  display: flex;
  flex-direction: column;
}

.logo-line {
  height: 1px;
  width: 3rem;
  background: #ffffff;
  margin-bottom: 0.25rem;
}

.logo-text {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
}


.main-menu {
  display: flex !important;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: row !important;
  flex-wrap: nowrap;
}

.main-menu li {
  margin: 0;
  display: inline-block;
  list-style: none;
}

.main-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
}

.main-menu a:hover {
  color: #d1d5db;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 1;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.social-icon img {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.social-icon:hover {
  opacity: 0.7;
}

/* Navigation blanche sur les pages non-accueil */
body:not(.home):not(.page-template-front-page) .site-header {
  background: #ffffff;
}

body:not(.home):not(.page-template-front-page) .main-menu a {
  color: #000000;
}

body:not(.home):not(.page-template-front-page) .main-menu a:hover {
  color: #666666;
}

body:not(.home):not(.page-template-front-page) .social-icon {
  color: #000000;
}

body:not(.home):not(.page-template-front-page) .social-icon img {
  filter: brightness(0);
}

body:not(.home):not(.page-template-front-page) .logo-line {
  background: #000000;
}

body:not(.home):not(.page-template-front-page) .logo-text {
  color: #000000;
}

body:not(.home):not(.page-template-front-page) .mobile-menu-toggle {
  color: #000000;
}

body:not(.home):not(.page-template-front-page) .mobile-menu-toggle svg {
  stroke: #000000;
}

.mobile-menu-toggle {
  display: none;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle svg {
  width: 2.484rem; /* Augmenté de 15% (2.16rem * 1.15) */
  height: 2.484rem; /* Augmenté de 15% (2.16rem * 1.15) */
}

/* ============================================
   MOBILE MENU MODAL
   ============================================ */
.mobile-menu-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95); /* Opacity 0.95 */
  z-index: 1;
}

.mobile-menu-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  background: transparent; /* Supprimé le fond noir */
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10;
}

.mobile-menu-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu-nav {
  margin-top: 2rem;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu-list li {
  margin: 0;
}

.mobile-menu-list a {
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  transition: opacity 0.3s ease;
}

.mobile-menu-list a:hover {
  opacity: 0.7;
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
}

.mobile-menu-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: #ffffff;
  flex-shrink: 0;
}

.mobile-menu-contact-item a,
.mobile-menu-contact-item span {
  color: #ffffff;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
}

.mobile-menu-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.mobile-menu-social-icon {
  display: inline-block;
}

.mobile-menu-social-icon img {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu-legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-legal a {
  color: #ffffff;
  font-size: 12px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.mobile-menu-legal a:hover {
  opacity: 1;
}

.mobile-menu-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 100px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
  width: 100%;
}

.mobile-menu-button:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

body.has-no-scroll {
  overflow: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  width: 100%;
  height: 95vh; /* Desktop : 95vh */
  min-height: 89vh;
  margin-top: 76px;
  padding: 0;
  z-index: 40; /* En dessous de la navigation (100) mais au-dessus des autres sections */
  background: #ffffff;
  overflow: hidden; /* S'assure que l'overlay et le contenu restent dans le container de l'image */
}

/* Fond noir 70vh - commence au point 0 du body (compense le margin-top de 76px) */
.hero-black-background {
  position: absolute;
  top: -76px; /* Compense le margin-top: 76px de .hero-section pour commencer au point 0 du body */
  left: 0;
  right: 0;
  height: 70vh;
  background: #000000;
  z-index: 0;
}

/* Image hero superposée sur le fond noir - 80vh, z-index 10 */
.hero-background {
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 80vh;
  will-change: transform;
  z-index: 10;
  overflow: hidden;
  border-radius: 16px;
}

.hero-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  will-change: width; /* Pour la parallaxe width */
  display: block;
  transition: width 0.1s ease-out; /* Pour la parallaxe width */
}

/* Overlay léger dans l'image (de bas en haut) - sous le texte */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1; /* Sous le texte (z-index 10) mais au-dessus de l'image */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0) 100%);
  border-radius: 16px;
  pointer-events: none;
  overflow: hidden;
}

/* Subtitle positionné sur l'image */
.hero-subtitle-container {
  position: absolute;
  z-index: 10; /* Au-dessus de tout dans le hero */
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  top: 0;
  left: 5%;
  right: 5%;
  height: 80vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18rem;
  padding-left: 0;
  padding-right: 0;
  pointer-events: none;
}

.hero-subtitle {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 100%;
}

.hero-subtitle p {
  color: #ffffff;
  font-size: 40px !important;
  line-height: 1.4;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  text-align: center !important;
  margin: 0;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Ombre portée plus large */
  white-space: normal;
}

.hero-subtitle-line.hero-subtitle-bold {
  font-weight: 600;
}

.hero-subtitle p strong {
  font-weight: 700;
}

/* Title positionné sur l'image - bas des lettres au bas de l'image */
.hero-title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) !important; /* Prioritaire pour le centrage */
  z-index: 10; /* Au-dessus de tout dans le hero */
  pointer-events: none;
  width: 100%;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
  height: 86vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
  transition: transform 0.1s ease-out; /* Pour la parallaxe */
  will-change: transform;
}

.hero-title h1 {
  color: #ffffff;
  font-size: 180px !important;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  padding-bottom: 0;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  text-align: center !important;
  width: 100%;
  margin: 0;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* .hero-spacing retiré */

/* ============================================
   TEXT + IMAGE SECTIONS
   ============================================ */
.text-image-section {
  padding: 0 0;
  position: relative;
  z-index: 1; /* En dessous du hero (z-index 40) */
}

.text-image-section-white {
  background: #ffffff;
}

.text-image-section-black {
  background: #000000;
}

.text-image-container {
  /* Pas de max-width */
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.text-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0px;
}

.text-image-grid-padding {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding-bottom: 10rem;
  gap: 0px;
}

.text-image-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.text-image-img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  display: block;
}

/* Image à gauche : border-radius uniquement à droite */
.text-image-grid .text-image-image:first-child .text-image-img {
  border-radius: 0 16px 16px 0;
}

/* Image à droite : border-radius uniquement à gauche */
.text-image-grid .text-image-image:last-child .text-image-img {
  border-radius: 16px 0 0 16px;
}

/* Section "Concevoir..." - arrondis sur l'image */
.text-image-section-white .text-image-image .text-image-img {
  border-radius: 16px;
}

/* Section "Pensée pour..." - arrondis sur l'image */
.text-image-section-black .text-image-image .text-image-img {
  border-radius: 16px;
}

.text-image-placeholder {
  width: 100%;
  height: 500px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Placeholder à gauche : border-radius uniquement à droite */
.text-image-grid .text-image-image:first-child .text-image-placeholder {
  border-radius: 0 16px 16px 0;
}

/* Placeholder à droite : border-radius uniquement à gauche */
.text-image-grid .text-image-image:last-child .text-image-placeholder {
  border-radius: 16px 0 0 16px;
}

.text-image-section-white .text-image-placeholder {
  background: #e5e7eb;
  color: #9ca3af;
}

.text-image-section-black .text-image-placeholder {
  background: #374151;
  color: #9ca3af;
}

.text-image-content {
  padding: 10rem 14rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 1600px) {
  .text-image-content {
    padding: 10rem;
  }
}

/* Variantes texte pour la page Biens à vendre (réutilise la grille Réalisations) */
.realisation-text {
  padding: 0 12rem;          /* mêmes marges horizontales que .realisation-testimonial */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.realisation-subtitle {
  font-size: 16px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  color: #000000;
}

.realisation-pre-description {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif;
  color: #4b5563;
}

.text-image-content h2 {
  font-size: 36px;
  font-weight: 400; /* Regular */
  margin-bottom: 1.5rem;
  line-height: 48px;
  font-family: 'Montserrat', sans-serif;
}

.text-image-section-white .text-image-content h2 {
  color: #000000;
}

.text-image-section-black .text-image-content h2 {
  color: #ffffff;
}

.text-image-content p {
  font-size: 15px;
  font-weight: 400; /* Regular */
  line-height: 24px;
  font-family: 'Montserrat', sans-serif;
}

.text-image-section-white .text-image-content p {
  color: #000000;
}

.text-image-section-black .text-image-content p {
  color: #ffffff;
}

.text-image-content p + p {
  margin-top: 1rem;
}

/* Bouton de téléchargement dans la section "Pensée pour..." */
.download-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  transition: all 0.6s ease;
  width: auto;
  white-space: nowrap;
}

.download-button:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.9);
}

/* Variante inversée pour la section "Pensée pour votre quotidien" (fond noir) */
.text-image-section-black .download-button {
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.2);
  width: fit-content;
  align-self: flex-start;
}

.text-image-section-black .download-button:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* ============================================
   IMAGE LIGHTBOX (photos en grand)
   ============================================ */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.image-lightbox.is-open {
  display: block;
}

.image-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.image-lightbox__content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  pointer-events: none; /* permet de fermer en cliquant sur toute la zone sombre (overlay) */
}

.image-lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.6s ease;
  pointer-events: auto;
}

.image-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}

.image-lightbox .image-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  /* Les SVG de flèches incluent déjà un cercle: on enlève le fond/bordure du bouton */
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: all 0.6s ease;
  pointer-events: auto;
}

.image-lightbox__nav-icon {
  width: 52px;
  height: 52px;
  display: block;
}

.image-lightbox__nav:hover {
  opacity: 0.9;
}

.image-lightbox__prev {
  left: 2rem;
}

.image-lightbox__next {
  right: 2rem;
}

.lightbox-only-items,
img.lightbox-only {
  display: none !important;
}

.image-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .image-lightbox__content {
    padding: 1rem;
  }
  .image-lightbox__close {
    top: 1rem;
    right: 1rem;
  }
  .image-lightbox .image-lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 0;
  }
  .image-lightbox__nav-icon {
    width: 44px;
    height: 44px;
  }
  .image-lightbox__prev {
    left: 1rem;
  }
  .image-lightbox__next {
    right: 1rem;
  }
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.stats-section {
  background: #ffffff;
  padding: 4rem 0;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.stats-container {
  max-width: 134rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Barre de séparation gris très léger */
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(0, 0, 0, 0.1); /* Gris très léger */
}

.stat-number {
  font-size: 62px;
  font-weight: 500; /* Medium */
  margin-bottom: 0.75rem;
  color: #000000;
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
}

.stat-label {
  font-size: 14px;
  font-weight: 500; /* Medium */
  text-transform: uppercase;
  letter-spacing: 0.1em; /* 100/1000 = 0.1em */
  color: #000000;
  font-family: 'Montserrat', sans-serif;
}

.stat-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.stat-icons a {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.stat-icons a:hover {
  opacity: 0.7;
}

.stat-icons img,
.stat-icons svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  filter: brightness(0); /* Force les logos en noir pur */
}

/* Barre de séparation gris très léger */
.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(0, 0, 0, 0.1); /* Gris très léger */
}

/* ============================================
   IMAGE OVERLAY SECTION
   ============================================ */
.image-overlay-section {
  position: relative;
  width: 100%;
  height: auto;       /* Hauteur pilotée par l'image, plus fiable au resize */
  min-height: 0;
  overflow: hidden;
  margin-bottom: 0;
}

.image-overlay-background {
  position: relative; /* Laisse l'image donner sa hauteur à la section */
  z-index: 0;
}

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

.image-overlay-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
}

.image-overlay-dark {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 250px;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.image-overlay-text-scroll-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 3rem 0;
  overflow: hidden;
}

.image-overlay-text-scroll {
  white-space: nowrap;
  display: inline-block;
  font-size: 84px;
  font-weight: 300; /* Light */
  color: #ffffff;
  opacity: 0.3; /* Opacité 30% */
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-family: 'Montserrat', sans-serif;
  will-change: transform;
  cursor: grab; /* Curseur pour indiquer qu'on peut glisser */
}

.image-overlay-text-scroll:active {
  cursor: grabbing; /* Curseur pendant le glissement */
}

.image-overlay-text-scroll span {
  display: inline-block;
  margin-right: 0rem;
  white-space: nowrap; /* Empêcher les espaces indésirables */
}

/* ============================================
   TESTIMONIALS PAGE - v106
   ============================================ */
.testimonials-container {
  max-width: 134rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 0;
  padding-bottom: 6rem;
}

.testimonials-grid {
  column-count: 3;
  column-gap: 2rem;
  margin-top: 4rem;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    column-count: 2;
  }
}

.testimonial-card {
  background: #f5f5f5; /* Fond gris clair */
  border-radius: 16px; /* Arrondis */
  padding: 3rem;
  display: inline-flex;
  flex-direction: column;
  position: relative; /* Pour positionner le logo d'avis */
  transition: opacity 0.6s ease;
  width: 100%;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 2rem;
}

/* Si l'article est un lien, appliquer les styles appropriés */
a.testimonial-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.6s ease;
}

a.testimonial-card:hover {
  opacity: 0.8; /* Réduction de 20% d'opacité */
}

.testimonial-card-clickable {
  cursor: pointer;
  transition: opacity 0.6s ease;
}

.testimonial-card-clickable:hover {
  opacity: 0.8; /* Réduction de 20% d'opacité */
}

.testimonial-quote-icon {
  width: 100%;
  margin-bottom: 1.5rem;
  color: #d1d5db; /* Gris clair pour l'icône */
  display: flex;
  align-items: flex-start;
}

.testimonial-quote-icon svg {
  width: 30px; /* 50% plus petit (60px / 2) */
  height: auto;
  fill: #d1d5db;
  color: #d1d5db;
}

.testimonial-quote-fallback {
  font-size: 30px; /* 50% plus petit (60px / 2) */
  line-height: 1;
  color: #d1d5db;
  font-weight: 300;
}

.testimonial-quote {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
  margin: 0 0 2rem 0;
  font-family: 'Montserrat', sans-serif;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.testimonial-author-photo-container {
  flex-shrink: 0;
  overflow: hidden; /* Pour contenir l'image avec parallaxe scale */
  border-radius: 50%;
}

.testimonial-author-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.testimonial-icon-container {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.testimonial-icon-container svg {
  width: 24px;
  height: 24px;
  display: block;
  filter: brightness(0); /* Logo en noir */
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  text-align: left;
}

.testimonial-author-name {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: flex-start;
}

.testimonial-rating svg {
  width: auto;
  height: 9.463px;
  display: block;
  fill: #fbbf24; /* Couleur jaune pour les étoiles */
  color: #fbbf24;
}

.testimonial-star {
  color: #fbbf24;
  font-size: 16px;
  line-height: 1;
}

.no-testimonials {
  text-align: center;
  padding: 4rem 2rem;
  color: #666;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
}

/* ============================================
   PROJETS À VENDRE - Archive
   ============================================ */
.projets-container {
  max-width: 134rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 0;
  padding-bottom: 6rem;
}

.projets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.projet-card {
  background: #f5f5f5; /* Fond gris */
  border-radius: 16px;
  overflow: hidden;
  transition: opacity 0.5s ease;
}

.projet-card:hover {
  /* Virer translate, garder seulement zoom avec smooth transition */
  opacity: 0.95 !important;
}

.projet-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.projet-image {
  width: 100%;
  height: 300px;
  overflow: hidden; /* Pour contenir l'image avec parallaxe */
  position: relative;
}

.projet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.projet-card:hover .projet-img {
  transform: scale(1.03) !important; /* Zoom léger au hover */
  transition: transform 0.6s ease !important; /* Smooth transition */
}

/* Flèche projet (Biens à vendre) */
.projet-arrow svg {
  width: 16px;
  height: auto;
  margin-left: 0.75rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
  opacity: 0.8;
}

.projet-card:hover .projet-arrow svg {
  transform: translateX(4px);
  opacity: 1;
}

.projet-image-placeholder {
  width: 100%;
  height: 300px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
}

.projet-info {
  padding: 2rem;
}

.projet-name {
  font-size: 18px;
  font-weight: 500;
  color: #000000;
  margin: 0 0 0.5rem 0;
  font-family: 'Montserrat', sans-serif;
}

.projet-price {
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

.no-projets {
  text-align: center;
  padding: 4rem 2rem;
  color: #666;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
}

/* ============================================
   PROJET SINGLE - Page dédiée
   ============================================ */
.projet-single {
  background: #ffffff;
}

.projet-header {
  padding: 4rem 0;
  background: #ffffff;
}

.projet-header-container {
  max-width: 134rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.projet-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
}

.projet-header-left {
  flex: 1;
}

.projet-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 400;
  color: #000000;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.projet-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  margin-bottom: 0;
  font-family: 'Montserrat', sans-serif;
}

.projet-features-box {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  min-width: 300px;
  overflow: hidden;
}

.projet-feature-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.projet-feature-item:last-child {
  border-bottom: none;
}

.projet-feature-item span {
  text-align: left;
  flex: 1;
}

.projet-feature-icon {
  height: auto;
  flex-shrink: 0;
  display: block;
}

.projet-feature-icon-house {
  width: 28px;
}

.projet-feature-icon-bed {
  width: 33px;
}

.projet-feature-icon-expand,
.projet-feature-icon-meters {
  width: 24px;
}

/* Galerie de projets avec Glide.js */
.projet-gallery {
  position: relative;
  width: 100%;
  margin-bottom: 8rem;
  padding-left: 2rem;
  padding-right: 0;
}

.projet-gallery .glide__track {
  /* width: 90%; */
  /* margin-left: auto; */
  /* margin-right: 0; */
  overflow: hidden; /* Empêche l'image de dépasser */
}

.projet-gallery .glide__slides {
  margin: 0;
  padding: 0;
  list-style: none;
}

.projet-gallery .glide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animation plus fluide */
}

/* Image centrale (focus) - reste dans son container */
.projet-gallery .glide__slide--active .projet-gallery-slide {
  opacity: 1;
  transform: scale(1); /* Taille normale, reste dans le container */
  transform-origin: center center; /* Centrée horizontalement et verticalement */
}

/* Images de gauche et droite */
.projet-gallery .glide__slide:not(.glide__slide--active) .projet-gallery-slide {
  opacity: 0.7;
  transform: scale(1); /* Taille normale (déjà 30% plus grande via aspect-ratio) */
}

.projet-gallery-slide {
  width: 100%;
  aspect-ratio: 16 / 13.5; /* Hauteur augmentée pour des photos plus grandes */
  overflow: hidden; /* Cache le débordement de l'image à l'intérieur */
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Animation plus fluide */
  position: relative; /* Pour contenir l'image avec parallaxe */
}

.projet-gallery-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.2s ease-out;
  /* Pas de scale par défaut - uniquement au hover si nécessaire */
}

/* Flèche de navigation */
.projet-gallery .glide__arrows {
  position: absolute;
  top: 50%;
  right: calc(4% + 2rem);
  transform: translateY(-50%);
  z-index: 20;
}

/* Retirer les styles par défaut de Glide.js sur les flèches */
.projet-gallery .glide__arrow {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.projet-gallery-next {
  position: relative;
  background: transparent;
  border: none;
  width: 90px;
  height: 90px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.3s ease;
  opacity: 1;
}

.projet-gallery-next:hover {
  opacity: 0.7;
}

.projet-gallery-arrow {
  width: 90px;
  height: 90px;
  display: block;
  pointer-events: none;
}

/* Modale galerie en quasi full screen */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.gallery-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* 90% noir */
  cursor: pointer;
}

.gallery-modal-content {
  position: relative;
  width: 95%;
  height: 95%;
  max-width: 100vw;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.gallery-modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.gallery-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
}

.gallery-modal-glide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.projet-name {
  display: inline-flex;
  align-items: center;
}

.gallery-modal-glide .glide__track {
  width: 100%;
  height: 100%;
}

.gallery-modal-glide .glide__slides {
  height: 100%;
}

.gallery-modal-glide .glide__slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.gallery-modal-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-modal-glide .glide__arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10001;
  pointer-events: none;
}

.gallery-modal-glide .glide__arrow {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  padding: 0;
  pointer-events: all;
}

.gallery-modal-glide .glide__arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
}

.gallery-modal-glide .glide__arrow--left {
  left: 1rem;
}

.gallery-modal-glide .glide__arrow--right {
  right: 1rem;
}

.gallery-modal-glide .glide__arrow svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

/* Section "Le projet" dans la colonne gauche */
.projet-project-section {
  background: #f5f5f5;
  padding: 7rem 7rem;
  border-radius: 16px;
  margin-bottom: 3rem;
}

.projet-project-title {
  font-size: 24px;
  font-weight: 400;
  color: #000000;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}

.projet-project-content {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
}

.projet-project-content p {
  margin-bottom: 1rem;
}

.projet-content-wrapper {
  max-width: 134rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 6rem;
}

.projet-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.projet-content-left,
.projet-content-right {
  display: flex;
  flex-direction: column;
}

.projet-section-title {
  font-size: 24px;
  font-weight: 400;
  color: #000000;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}

.projet-section-content {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 3rem;
  font-family: 'Montserrat', sans-serif;
}

.projet-section-content p {
  margin-bottom: 1rem;
}

.projet-contact {
  margin-top: 3rem;
}

.projet-contact-title {
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}

.projet-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.projet-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
}

.projet-contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #000000;
  fill: currentColor;
}

.projet-contact-item a {
  color: #000000;
  text-decoration: none;
}

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

.projet-characteristics-list {
  list-style: none;
  padding: 2rem 3rem;
  margin: 0;
}

.projet-characteristics-content ul {
  list-style: none;
  padding: 2rem 3rem;
  margin: 0;
}

.projet-characteristics-list li {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #000000;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  font-family: 'Montserrat', sans-serif;
}

.projet-characteristics-content li {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #000000;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  font-family: 'Montserrat', sans-serif;
}

.projet-characteristics-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #d1d5db;
  font-size: 26px;
  line-height: 0.55;
  transform: translateY(0.1em);
}

.projet-characteristics-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #d1d5db;
  font-size: 26px;
  line-height: 0.55;
  transform: translateY(0.1em);
}

/* ============================================
   PAGE CONTACT
   ============================================ */
.contact-page-section {
  padding: 4rem 0 15rem;
  background: #ffffff;
  animation: fadeInUp 0.6s ease-out;
}

.contact-page-container {
  max-width: 134rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.contact-page-title {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 400;
  color: #000000;
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Montserrat', sans-serif;
  text-transform: none;
}

.contact-page-description {
  font-size: 24px;
  font-weight: 400;
  color: #000000;
  text-align: center;
  margin-bottom: 4rem;
  font-family: 'Montserrat', sans-serif;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-message {
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
}

.contact-form-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.contact-form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form-field label {
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  color: #000000;
  background: #ffffff;
  transition: border-color 0.3s ease;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  outline: none;
  border-color: #000000;
}

.contact-form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-form-consent input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.contact-form-consent label {
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
  cursor: pointer;
}

.contact-form-privacy {
  font-size: 14px;
  font-weight: 400;
  color: #666666;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
}

.contact-form-privacy a {
  color: #000000;
  text-decoration: underline;
}

.contact-form-required {
  font-size: 14px;
  font-weight: 400;
  color: #666666;
  font-family: 'Montserrat', sans-serif;
}

.contact-form-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form-submit:hover {
  background: #333333;
}

.contact-store-image {
  width: 100%;
  margin-top: 0;
}

.contact-store-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.contact-store-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  will-change: transform;
}

/* Parallaxe pour les images */
.projet-gallery-img,
.realisation-img,
.projet-img,
.testimonial-author-photo,
.team-member-photo,
.hero-background-image,
.contact-store-img {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #000000;
  color: #ffffff;
  padding: 3rem 0;
}

.footer-container {
  max-width: 134rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 10% 35% 35% 10%;
  gap: 3rem;
  margin-bottom: 0;
  padding-bottom: 2rem;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-grid > div:last-child {
  overflow: hidden;
  word-wrap: break-word;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.footer-grid > div:first-child {
  justify-content: center;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  text-decoration: none;
}

.footer-logo svg {
  width: auto;
  height: 44px;
  display: block;
}

.footer-logo-content {
  display: flex;
  flex-direction: column;
}

.footer-logo-line {
  height: 1px;
  width: 3rem;
  background: #ffffff;
  margin-bottom: 0.25rem;
}

.footer-logo-text {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.footer-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  width: fit-content;
}

.footer-button:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
  width: 100%;
  text-align: left;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  text-align: left;
  width: 100%;
  justify-content: flex-start;
}

.footer-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  fill: #ffffff;
  color: #ffffff;
  flex-shrink: 0;
  display: block;
}

.footer-contact-item svg path {
  fill: #ffffff;
}

.footer-contact-item a,
.footer-contact-item span {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: #d1d5db;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.footer-social a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.footer-social a:hover {
  color: #d1d5db;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  width: 100%;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #d1d5db;
}

.footer-copyright {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

.footer-copyright-left {
  flex: 1;
}

.footer-copyright-left p {
  margin: 0;
}

.footer-copyright-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  justify-content: flex-end;
}

.footer-vaya-text {
  font-size: 0.875rem;
  color: #9ca3af;
  font-family: 'Montserrat', sans-serif;
}

.footer-vaya-logo-link {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.3s ease;
}

.footer-vaya-logo-link:hover {
  opacity: 0.7;
}

.footer-copyright-right svg {
  width: auto;
  height: 15px; /* 25% plus petit (20px * 0.75 = 15px) */
  display: block;
}

/* ============================================
   PAGES LÉGALES (template "Page légale")
   ============================================ */
.legal-container {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.legal-meta {
  margin-top: 1rem;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

.legal-content {
  color: #111827;
  font-size: 16px;
  line-height: 1.8;
}

.legal-content > *:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 1.25rem;
}

.legal-content h2 {
  font-size: 24px;
  line-height: 1.25;
  margin: 3rem 0 1rem;
  font-weight: 700;
  color: #000;
}

.legal-content h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 2.25rem 0 0.75rem;
  font-weight: 700;
  color: #000;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}

.legal-content li {
  margin: 0.4rem 0;
}

.legal-content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.legal-content a:hover {
  opacity: 0.75;
}

.legal-content hr {
  border: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 2.5rem 0;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 14px;
}

.legal-content th,
.legal-content td {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

@media (max-width: 768px) {
  .legal-container {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 1rem;
    padding-bottom: 4rem;
  }
  .legal-content {
    font-size: 15px;
  }
  .legal-content h2 {
    font-size: 20px;
    margin-top: 2.5rem;
  }
}

/* Responsive footer copyright */
@media (max-width: 768px) {
  .footer-copyright {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-copyright-left,
  .footer-copyright-right {
    justify-content: center;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: #ffffff;
  padding: 10rem 0;
  text-align: center;
  /* margin-bottom: 8rem; */
}

.cta-container {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.cta-title {
  color: #000000;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}

.cta-text {
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 2rem;
  font-family: 'Montserrat', sans-serif;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #000000;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.cta-button:hover {
  border-color: rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.05);
}

.cta-button.projet {
  width: 24rem;
  text-align: center;
}

/* ============================================
   VARIANTE PROJET VENDU
   ============================================ */

/* Tags (prix / projet vendu) */
.projet-tags {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  pointer-events: none;
}

/* Sur les cartes "projet" (archive) et dans l'en-tête projet, on aligne à gauche + marge sous les tags */
.projet-info .projet-tags,
.projet-header-left .projet-tags {
  align-items: flex-start;
  margin-bottom: 1rem;
}

/* Positionnement spécifique: page "Biens à vendre" (cartes `realisation-item`) */
.realisation-item .projet-tags {
  position: absolute;
  bottom: calc(50rem + 100px); /* 100px au-dessus du H2 (qui est à bottom: 50rem) */
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
}

/* Style commun des tags */
.projet-tag,
.projet-vendu-tag,
.projet-price-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(0, 0, 0, 0.4); /* Noir à 40% d'opacité */
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  pointer-events: none;
}

/* Projets vendus: ils restent en couleur.
   (La nuance de gris → couleur au scroll est gérée globalement par JS, comme pour les autres projets.) */

/* Bouton "Projet vendu" non cliquable */
.cta-button.projet.vendu-button {
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
  width: 24rem;
  text-align: center;
}

/* Empêcher le hover sur le bouton vendu */
.cta-button.projet.vendu-button:hover {
  border-color: rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.05);
  transform: none;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.site-main {
  padding-top: 12rem;
}

/* Pas de padding-top sur la page d'accueil */
body.home .site-main,
body.page-template-front-page .site-main {
  padding-top: 0;
}

/* ============================================
   PAGE RÉALISATIONS
   ============================================ */
.page-header {
  padding: 0rem 0 6rem 0;
  background: #ffffff;
  color: #000000;
  text-align: center;
  margin-bottom: 0;
}

  .page-header-container {
    max-width: 134rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 4rem;
    padding-right: 4rem;
  }

.page-title {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 2rem;
  color: #000000;
}

/* Supprimer text-transform pour toutes les pages sauf l'accueil */
body:not(.home):not(.page-template-front-page) .page-title {
  text-transform: none;
}

.page-description {
  font-size: 24px;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  color: #000000;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  padding: 0 1rem;
}

/* ============================================
   TEAM SECTION
   ============================================ */
/* ============================================
   SECTION ADMINISTRATEUR INTRODUCTIVE
   ============================================ */
.admin-intro-section {
  background-color: #000000;
  padding: 6rem 10rem;
  max-width: 134rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  border-radius: 20px;
}

.admin-intro-container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10rem;
  align-items: center;
}

.admin-intro-image {
  flex-shrink: 0;
}

.admin-photo {
  width: 300px;
  height: 300px;
  /* border-radius: 50%; */
  /* object-fit: cover; */
  /* display: block; */
  /* filter: grayscale(100%); */
}

.admin-photo-placeholder {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: #333333;
  display: block;
}

.admin-intro-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-quote-icon {
  color: #a5a5a5;
  margin-bottom: 0.5rem;
}

.admin-quote-icon svg {
  width: 36.647px;
  height: 23.381px;
  display: block;
}

.admin-paragraph {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
}

.admin-name {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  margin-top: 1rem;
}

.admin-function {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Montserrat', sans-serif;
  margin: 0.25rem 0 0 0; /* rapprocher de l'admin name */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-container {
  max-width: 134rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 6rem;
  padding-bottom: 15rem;
}

/* Texte sous le listing équipe (Page À propos) */
.about-after-team {
  padding: 0 0 10rem;
  background: #ffffff;
}

.about-after-team__container {
  max-width: 90rem;
  margin: 0 auto;
}

.about-after-team__content {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif;
  color: #000000;
}

.about-after-team__content p {
  margin: 0 0 1.5rem 0;
}

.about-after-team__content p:last-child {
  margin-bottom: 0;
}

.team-grid {
  display: grid;
  gap: 8rem;
  margin-top: 4rem;
}

/* 4 personnes : toutes sur la même ligne (4 colonnes) */
.team-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.team-grid-5,
.team-grid-6,
.team-grid-7,
.team-grid-8,
.team-grid-other {
  /* grid-template-columns défini ailleurs (legacy) */
  grid-template-columns: inherit;
}

/* 5 personnes : ligne de 3 puis ligne de 2 (centrées) */
/* Utiliser une grille de 6 colonnes pour pouvoir centrer 2 éléments sur la 2e ligne */
.team-grid-5 {
  grid-template-columns: repeat(6, 1fr);
}

/* Ligne 1 : 3 personnes (chacune occupe 2 colonnes) */
.team-grid-5 .team-member-item:nth-child(1) {
  grid-column: 1 / 3;
}

.team-grid-5 .team-member-item:nth-child(2) {
  grid-column: 3 / 5;
}

.team-grid-5 .team-member-item:nth-child(3) {
  grid-column: 5 / 7;
}

/* Ligne 2 : 2 personnes centrées (chacune occupe 2 colonnes, centrées) */
.team-grid-5 .team-member-item:nth-child(4) {
  grid-column: 2 / 4;
}

.team-grid-5 .team-member-item:nth-child(5) {
  grid-column: 4 / 6;
}

/* 6 personnes : ligne de 3 puis ligne de 3 */
.team-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

/* 7 personnes : ligne de 4 puis ligne de 3 (centrées) */
/* Utiliser une grille de 8 colonnes pour pouvoir centrer 3 éléments sur la 2e ligne */
.team-grid-7 {
  grid-template-columns: repeat(8, 1fr);
}

/* Ligne 1 : 4 personnes (chacune occupe 2 colonnes) */
.team-grid-7 .team-member-item:nth-child(1) {
  grid-column: 1 / 3;
}

.team-grid-7 .team-member-item:nth-child(2) {
  grid-column: 3 / 5;
}

.team-grid-7 .team-member-item:nth-child(3) {
  grid-column: 5 / 7;
}

.team-grid-7 .team-member-item:nth-child(4) {
  grid-column: 7 / 9;
}

/* Ligne 2 : 3 personnes centrées (chacune occupe 2 colonnes) */
.team-grid-7 .team-member-item:nth-child(5) {
  grid-column: 2 / 4;
}

.team-grid-7 .team-member-item:nth-child(6) {
  grid-column: 4 / 6;
}

.team-grid-7 .team-member-item:nth-child(7) {
  grid-column: 6 / 8;
}

/* 8 personnes : ligne de 4 puis ligne de 4 */
.team-grid-8 {
  grid-template-columns: repeat(4, 1fr);
}

/* Autres cas : par défaut 3 colonnes */
.team-grid-other {
  grid-template-columns: repeat(3, 1fr);
}

.team-member-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member-photo-container {
  width: 100%;
  max-width: 300px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.team-member-photo-placeholder {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  border-radius: 50%;
}

.team-member-name {
  font-size: 18px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  color: #000000;
  margin-bottom: 0.5rem;
  text-transform: none;
}

.team-member-function {
  font-size: 14px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.realisations-container {
  max-width: 134rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 0;
  padding-bottom: 10rem;
}

.realisations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6rem;
}

.realisation-item {
  margin-bottom: 0;
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.realisation-item:hover {
  transform: translateY(-4px) !important;
  opacity: 0.95 !important;
}

.realisation-title {
  position: absolute;
  bottom: 50rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(3rem, 6vw, 12rem);
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.02em;
  z-index: 10;
  text-shadow: 0 0px 20px rgba(0, 0, 0, 0.3);
  margin: 0;
  pointer-events: none;
  text-align: center;
  width: 100%;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.realisation-main-image {
  width: 100%;
  margin: 2rem 0;
  position: relative;
  overflow: hidden; /* Pour contenir l'image avec parallaxe */
  border-radius: 16px;
}

.realisation-main-image .realisation-img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
  min-height: 60vh;
  object-fit: cover;
  border-radius: 16px;
  transition: filter 0.6s ease;
}

.realisation-content {
  display: grid;
  gap: 0;
  margin-top: 0;
}

/* Avec témoignage */
.realisation-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  margin-top: 0;
}

.realisation-secondary-image {
  width: 100%;
  overflow: hidden; /* Pour contenir l'image avec parallaxe */
  border-radius: 16px;
  position: relative;
}

.realisation-secondary-image .realisation-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  min-height: 500px;
  border-radius: 16px;
  filter: grayscale(100%);
  transition: filter 0.6s ease;
}

.realisation-testimonial {
  padding: 0 4rem 0 8rem;
  display: block;
  position: relative;
}

.realisation-testimonial > svg:first-child {
  width: 36.647px;
  height: 23.381px;
  color: #a5a5a5;
  margin-bottom: 20px;
  display: block;
}

.testimonial-quote {
  font-size: 14px;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #000000;
  margin: 0 0 20px 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.testimonial-author-photo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  text-align: left;
}

.testimonial-author-name {
  font-size: 14px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  color: #000000;
}

.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: flex-start;
}

.testimonial-rating svg {
  width: auto;
  height: 9.463px;
  display: block;
  fill: #fbbf24; /* Couleur jaune pour les étoiles */
  color: #fbbf24;
}

/* Assurer la couleur sur les paths internes (SVG export Illustrator) */
.testimonial-rating svg * {
  fill: #fbbf24;
}

/* Sans témoignage */
.realisation-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 0;
  padding: 2rem;
}

.realisation-gallery-item {
  width: 100%;
  overflow: hidden; /* Pour contenir l'image avec parallaxe */
  border-radius: 16px;
  position: relative;
}

.realisation-gallery-item:last-child {
  padding-left: 2rem;
}

.realisation-gallery-item .realisation-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  min-height: 500px;
  border-radius: 16px;
  filter: grayscale(100%);
  transition: filter 0.6s ease;
}

/* Classe pour coloriser l'image au scroll */
.realisation-img.colorized {
  filter: grayscale(0%);
}

/* TEXT-IMAGE + IMAGE FULLSCREEN : même effet N&B -> couleur */
.text-image-img,
.image-overlay-img {
  filter: grayscale(100%);
  transition: filter 0.6s ease;
}

.text-image-img.colorized,
.image-overlay-img.colorized {
  filter: grayscale(0%);
}

.no-realisation {
  text-align: center;
  padding: 4rem 0;
  font-family: 'Montserrat', sans-serif;
  color: #666666;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .site-header {
    height: auto;
    padding: 1rem 0;
  }
  
  .header-container {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  /* HERO SECTION - Mobile */
  .hero-section {
    margin-top: 0;
    min-height: auto;
    height: 48vh;
  }
  
  .hero-black-background {
    height: 25vh;
    top: 0;
  }
  
  .hero-background {
    top: 38px;
    left: 2%;
    right: 2%;
    height: 40vh;
    border-radius: 12px;
  }
  
  .hero-background-image {
    border-radius: 12px;
  }
  
  .hero-overlay {
    left: 0;
    right: 0;
    border-radius: 12px;
  }
  
  .hero-subtitle-container {
    width: 82%;
    left: 2%;
    right: 2%;
    height: 45vh;
    padding-bottom: 6rem;
    padding-top: 0;
  }
  
  .hero-subtitle {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-subtitle p {
    font-size: 20px !important; /* Réduit de 24px */
    line-height: 1.3;
    margin-bottom: 2rem; /* Ajout d'espace entre subtitle et title */
  }
  
  .hero-title {
    margin-bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 48vh;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0;
    padding-bottom: 0.5rem;
  }
  
  .hero-title h1 {
    font-size: 48px !important; /* Réduit de 80px */
    padding-bottom: 1rem;
    padding-top: 1rem; /* Ajout d'espace en haut */
    text-align: center !important;
    white-space: normal; /* Permet le retour à la ligne */
    word-break: break-word;
  }
  
  /* TEXT-IMAGE SECTIONS - Mobile */
  .text-image-section {
    display: block !important; /* Forcer l'affichage */
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 0rem;
  }
  
  .text-image-content h2 {
    font-size: 30.6px !important; /* 15% plus petit (36px * 0.85) */
  }
  
  .text-image-grid {
    grid-template-columns: 1fr;
    gap: 0;
    display: grid !important; /* Forcer l'affichage */
  }
  
  /* Inverser l'ordre pour la section "Concevoir..." (text-image-section-white) */
  .text-image-section-white .text-image-grid {
    display: flex !important;
    flex-direction: column-reverse; /* Image en haut, texte en bas */
  }
  
  .text-image-section-white .text-image-image {
    order: 1; /* Image en premier (en haut) */
  }
  
  .text-image-section-white .text-image-content {
    order: 2; /* Texte en second (en bas) */
  }
  
  /* Inverser l'ordre pour la section "Pensée pour..." (text-image-section-black) */
  .text-image-section-black .text-image-grid-padding {
    display: flex !important;
    flex-direction: column; /* Image en premier, texte en bas */
  }
  
  .text-image-section-black .text-image-image {
    order: 1; /* Image en premier (en haut) */
  }
  
  .text-image-section-black .text-image-content {
    order: 2; /* Texte en second (en bas) */
  }
  
  .text-image-content {
    padding: 3rem 4rem; /* Réduit de 18rem */
    display: block !important; /* Forcer l'affichage */
  }
  
  .text-image-content h2 {
    font-size: 30.6px !important; /* 15% plus petit (36px * 0.85) */
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .text-image-content p {
    font-size: 14px; /* Réduit de 15px */
    line-height: 1.6;
  }
  
  .download-button {
    padding: 0.875rem 2rem;
    font-size: 11px;
    margin-top: 1.5rem;
  }
  
  .text-image-image {
    display: block !important; /* Forcer l'affichage */
  }
  
  /* Images : border-radius sur tous les côtés sur mobile */
  .text-image-grid .text-image-image:first-child .text-image-img,
  .text-image-grid .text-image-image:last-child .text-image-img {
    border-radius: 12px 12px 0 0; /* Arrondis en haut uniquement */
  }
  
  .text-image-grid .text-image-image:first-child .text-image-placeholder,
  .text-image-grid .text-image-image:last-child .text-image-placeholder {
    border-radius: 12px 12px 0 0;
  }
  
  .text-image-img {
    min-height: 300px; /* Réduit de 500px */
    display: block !important; /* Forcer l'affichage */
  }
  
  .text-image-placeholder {
    min-height: 300px;
    height: 300px;
    display: flex !important; /* Forcer l'affichage */
  }
  
  /* STATISTICS SECTION - Mobile */
  .stats-section {
    padding: 3rem 0; /* Réduit de 4rem */
    margin-top: 2rem; /* Réduit de 4rem */
    margin-bottom: 2rem; /* Réduit de 4rem */
  }
  
  .stats-container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
  
  .stat-item {
    padding: 1rem 0;
    position: relative;
  }
  
  /* Cacher toutes les bordures sur mobile */
  .stat-item::before,
  .stat-item::after {
    display: none !important;
  }
  
  .stat-number {
    font-size: 42px; /* Réduit de 62px */
    margin-bottom: 0.5rem;
  }
  
  .stat-label {
    font-size: 12px; /* Réduit de 14px */
  }
  
  .stat-icons {
    margin-top: 0.75rem;
  }
  
  .stat-icons img,
  .stat-icons svg {
    width: 1.25rem; /* Légèrement réduit */
    height: 1.25rem;
  }
  
  .image-overlay-background {
    border-radius: 0 !important; /* Pas d'arrondis en mobile */
  }
  
  .image-overlay-img {
    border-radius: 0 !important; /* Pas d'arrondis en mobile */
  }
  
  .image-overlay-dark {
    height: 150px; /* Réduit de 250px */
  }
  
  .image-overlay-text-scroll-container {
    padding: 1.5rem 0; /* Réduit de 3rem */
  }
  
  .image-overlay-text-scroll {
    font-size: 40px !important; /* Plus grand (32px * 1.25 = 40px) */
    padding-bottom: 1rem; /* Un peu plus haut */
  }
  
  .image-overlay-text-scroll-container {
    padding-bottom: 2rem; /* Ajusté pour remonter le texte */
  }
  
  .image-overlay-text-scroll span {
    margin-right: 2rem; /* Réduit de 4rem */
  }
  
  /* CTA SECTION - Mobile */
  .cta-section {
    padding: 4rem 0; /* Réduit de 10rem */
    margin-bottom: 4rem; /* Plus grand margin-bottom sous le CTA sur mobile */
  }
  
  .cta-container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
  
  .cta-title {
    font-size: 24px; /* Ajusté pour mobile */
    margin-bottom: 1rem;
  }
  
  .cta-text {
    font-size: 14px; /* Réduit de 16px */
    margin-bottom: 1.5rem;
  }
  
  .cta-button {
    padding: 0.875rem 2rem; /* Légèrement réduit */
    font-size: 11px; /* Légèrement réduit de 12px */
  }
  
  /* FOOTER - Mobile */
  .site-footer {
    padding: 2rem 0; /* Réduit de 3rem */
  }
  
  .footer-container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 1.5rem;
  }
  
  .footer-grid > div {
    align-items: center; /* Centré sur mobile */
    text-align: center;
  }
  
  .footer-grid > div:first-child {
    align-items: center;
  }

  /* Plus d'air autour du logo en mobile */
  .footer-logo {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .footer-button {
    padding: 0.875rem 2rem;
    font-size: 11px;
  }
  
  .footer-contact {
    gap: 0.5rem; /* Légèrement augmenté pour la lisibilité */
  }
  
  .footer-contact-item {
    justify-content: center;
  }
  
  .footer-contact-item svg {
    width: 1rem;
    height: 1rem;
  }
  
  .footer-contact-item a,
  .footer-contact-item span {
    font-size: 12px; /* Légèrement réduit */
  }
  
  .footer-social {
    justify-content: center;
    margin-bottom: 1rem;
  }
  
  .footer-links {
    align-items: center;
  }
  
  .social-icons {
    gap: 1rem;
  }
  
  /* SITE MAIN - Mobile */
  .site-main {
    padding-top: 8rem;
  }
  
  /* RÉALISATIONS - Mobile */
  .page-header {
    padding: 4rem 0;
  }
  
  .page-title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
  }
  
  .page-description {
    font-size: 16px;
    padding: 0 1rem;
  }
  
  /* TESTIMONIALS PAGE - Mobile */
  .testimonials-container {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 0;
    padding-bottom: 4rem;
  }
  
  .testimonials-grid {
    column-count: 1;
    column-gap: 0;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .testimonial-card {
    padding: 2rem;
    margin: 0;
  }
  
  .testimonial-quote-icon svg {
    width: 25px; /* 50% plus petit (50px / 2) */
  }
  
  .testimonial-quote-fallback {
    font-size: 25px; /* 50% plus petit (50px / 2) */
  }
  
  .testimonial-quote {
    font-size: 15px;
    margin-bottom: 1.5rem;
  }
  
  /* PROJETS À VENDRE - Mobile */
  .projets-container {
    padding-left: 4rem;
    padding-right: 4rem;
    padding-top: 0;
    padding-bottom: 4rem;
  }
  
  .projets-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .projet-image {
    height: 250px;
  }
  
  .projet-image-placeholder {
    height: 250px;
  }
  
  .projet-info {
    padding: 1.5rem;
  }
  
  .projet-name {
    font-size: 16px;
  }
  
  .projet-price {
    font-size: 14px;
  }
  
  /* PROJET SINGLE - Mobile */
  .projet-header {
    padding: 2rem 0;
  }
  
  .projet-header-container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
  
  .projet-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
  
  .projet-subtitle {
    font-size: 16px;
  }
  
  .projet-features-box {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .projet-gallery-main,
  .projet-gallery-secondary {
    max-height: 40vh;
  }
  
  .projet-gallery-img-main,
  .projet-gallery-img-secondary {
    max-height: 40vh;
  }
  
  .projet-gallery-arrow {
    width: 60px;
    height: 60px;
  }
  
  .projet-gallery-next {
    right: 1rem;
  }
  
  /* Modale galerie - Mobile */
  .gallery-modal-content {
    width: 100%;
    height: 100%;
    padding: 1rem;
  }
  
  .gallery-modal-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  .gallery-modal-slide {
    padding: 1rem;
  }
  
  .gallery-modal-glide .glide__arrow {
    width: 50px;
    height: 50px;
  }
  
  .gallery-modal-glide .glide__arrow--left {
    left: 0.5rem;
  }
  
  .gallery-modal-glide .glide__arrow--right {
    right: 0.5rem;
  }
  
  .gallery-modal-glide .glide__arrow svg {
    width: 20px;
    height: 20px;
  }
  
  /* PROJET SINGLE - Mobile - Réorganisation en 1 colonne */
  .projet-single {
    display: flex;
    flex-direction: column;
  }
  
  .projet-header {
    order: 1;
    padding: 2rem 0;
  }
  
  .projet-header-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .projet-header-left {
    order: 1;
  }
  
  .projet-title {
    order: 1;
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: 1rem;
  }
  
  .projet-subtitle {
    order: 2;
    font-size: 16px;
    margin-bottom: 2rem;
  }
  
  .projet-features-box {
    order: 3;
    min-width: auto;
    margin-top: 1rem;
  }
  
  .projet-gallery {
    order: 4;
    padding-left: 4rem;
    padding-right: 4rem;
    margin-bottom: 3rem;
  }
  
  .projet-content-wrapper {
    order: 5;
    padding-left: 4rem;
    padding-right: 4rem;
    padding-bottom: 2rem;
  }
  
  .projet-content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 0;
    display: flex;
    flex-direction: column;
  }
  
  .projet-content-left {
    order: 1;
    display: flex;
    flex-direction: column;
  }
  
  .projet-project-section {
    order: 1;
    padding: 3rem 4rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .projet-contact {
    order: 3;
    margin-top: 0;
  }
  
  .projet-content-right {
    order: 2;
  }
  
  .projet-section-title {
    font-size: 20px;
    margin-bottom: 1.5rem;
  }
  
  .projet-section-content {
    font-size: 15px;
  }
  
  .projet-characteristics-list {
    padding: 2rem 4rem;
  }
  
  .projet-characteristics-list li::before {
    top: 0;
    transform: translateY(0.1em); /* Alignement vertical avec le texte */
    font-size: 24px; /* Légèrement plus petit sur mobile */
    line-height: 0.55;
  }
  
  .realisations-container {
    padding-left: 4rem;
    padding-right: 4rem;
    padding-top: 0;
    padding-bottom: 2rem;
  }
  
  .realisations-grid {
    gap: 8rem;
  }
  
  .realisation-title {
    font-size: clamp(2rem, 10vw, 6rem);
    bottom: 104rem;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .realisation-main-image {
    margin: 1rem 0;
  }
  
  .realisation-main-image .realisation-img {
    min-height: 50vh;
  }
  
  .realisation-secondary {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .realisation-secondary-image .realisation-img {
    min-height: 300px;
  }
  
  .realisation-gallery {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0rem;
  }
  
  .realisation-gallery-item:last-child {
    padding-left: 0;
    padding-top: 1rem;
  }

  /* ADMIN INTRO SECTION - Mobile */
  .admin-intro-section {
    padding: 3rem 4rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

  .admin-intro-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .admin-intro-image {
    display: flex;
    justify-content: center;
  }

  .admin-photo {
    width: 150px;
    height: 150px;
  }

  .admin-intro-content {
    text-align: left;
  }

  /* TEAM SECTION - Mobile */
  .team-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem;
  }

  /* Forcer toutes les variantes de grille à 1 colonne en mobile */
  .team-grid-4,
  .team-grid-5,
  .team-grid-6,
  .team-grid-7,
  .team-grid-8,
  .team-grid-other {
    grid-template-columns: 1fr !important;
  }

  /* Réinitialiser tous les grid-column spécifiques en mobile */
  .team-grid-5 .team-member-item,
  .team-grid-7 .team-member-item {
    grid-column: auto !important;
  }
  
  /* PAGE CONTACT - Mobile */
  .contact-page-section {
    padding: 2rem 0;
  }
  
  .contact-page-container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
  
  .contact-page-title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
  }
  
  .contact-page-description {
    font-size: 16px;
    padding: 0 1rem;
    margin-bottom: 3rem;
  }
  
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-form {
    gap: 1rem;
  }
  
  .contact-form-field input,
  .contact-form-field select,
  .contact-form-field textarea {
    padding: 0.625rem;
    font-size: 14px;
  }
  
  .contact-form-submit {
    padding: 0.875rem 1.5rem;
    font-size: 14px;
  }

  .team-member-photo-container {
    max-width: 250px;
  }
  
  .realisation-gallery-item .realisation-img {
    min-height: 300px;
  }
  
  .realisation-testimonial {
    padding: 4rem 0rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .realisation-testimonial > svg:first-child {
    margin-bottom: 20px;
  }
  
  .testimonial-quote {
    margin-bottom: 20px;
  }

  .realisation-text {
    padding: 4rem 0rem; /* Même logique que .realisation-testimonial sur mobile */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .realisation-item .projet-tags {
    font-size: 11px;
    margin-bottom: 0;
    bottom: calc(104rem + 60px); /* 60px au-dessus du H2 sur mobile (H2 à bottom: 104rem) */
  }

  .projet-tag,
  .projet-vendu-tag,
  .projet-price-tag {
    font-size: 11px;
    padding: 0.4rem 0.8rem;
  }

  .cta-button.projet,
  .cta-button.projet.vendu-button {
    width: 100%; /* Pleine largeur sur mobile */
    max-width: 100%;
  }
  
  .realisation-single-secondary {
    grid-template-columns: 1fr;
  }
  
  .realisation-single-gallery {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6rem;
  }
  
  /* Ajustements tablette pour hero */
  .hero-title h1 {
    font-size: 120px !important; /* Réduit de 180px */
  }
  
  .hero-subtitle p {
    font-size: 32px !important; /* Réduit de 40px */
  }
  
  .text-image-content {
    padding: 12rem 3rem; /* Réduit de 18rem */
  }

  /* Mise en page tablette pour la page projet */
  .projet-single {
    display: flex;
    flex-direction: column;
  }

  .projet-header {
    padding: 3rem 0;
  }

  .projet-header-content {
    flex-direction: column;
    gap: 2.5rem;
  }

  .projet-features-box {
    min-width: auto;
    margin-top: 1.5rem;
  }

  .projet-content-wrapper {
    padding-left: 3rem;
    padding-right: 3rem;
    padding-bottom: 3rem;
  }

  .projet-content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
  }

  /* Styles tablette pour la page Biens à vendre */
  .realisation-text {
    padding: 0 6rem; /* Réduit de 12rem sur tablette */
  }

  .cta-button.projet,
  .cta-button.projet.vendu-button {
    width: 20rem; /* Légèrement réduit sur tablette */
  }

  /* IMAGE OVERLAY SECTION - Tablette (éviter le creux blanc) */
  .image-overlay-section {
    height: auto;          /* La hauteur suit celle de l'image */
    min-height: 0;
    background-color: #000; /* Sécurité visuelle si jamais quelque chose dépasse */
  }

  .image-overlay-background {
    position: relative;    /* L'image fixe la hauteur de la section */
  }

  .image-overlay-img {
    width: 100%;
    height: auto;          /* Respecte le ratio de l'image */
    display: block;
  }

  .image-overlay-dark,
  .image-overlay-text-scroll-container {
    bottom: 0;             /* Collés à la base de la section (et donc de l'image) */
  }

  /* ADMIN INTRO SECTION - Tablette */
  .admin-intro-section {
    padding: 4rem 6rem;
    margin-left: 2rem;
    margin-right: 2rem;
  }

  /* TEAM SECTION - Tablette */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }

  /* Réinitialiser les classes spécifiques pour tablette (2 colonnes) */
  .team-grid-4,
  .team-grid-5,
  .team-grid-6,
  .team-grid-7,
  .team-grid-8,
  .team-grid-other {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Réinitialiser les grid-column spécifiques pour tablette */
  .team-grid-5 .team-member-item,
  .team-grid-7 .team-member-item {
    grid-column: auto;
  }
}

/* ============================================
   LIGHTBOX CAHIER DES CHARGES
   ============================================ */
.cahier-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.cahier-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.cahier-lightbox-content {
  position: relative;
  max-width: 600px;
  width: 90%;
  margin: 5% auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 3rem;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10000;
  display: flex;
  flex-direction: column;
}

.cahier-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #000000;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.cahier-lightbox-close:hover {
  opacity: 0.6;
}

.cahier-lightbox-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 2rem 0;
  font-family: 'Montserrat', sans-serif;
  color: #000000;
}

.cahier-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: min-content; /* Permet au formulaire de prendre toute la hauteur nécessaire */
}

.cahier-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cahier-form-field label {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
}

.cahier-form-field input[type="text"],
.cahier-form-field input[type="tel"],
.cahier-form-field input[type="email"] {
  padding: 0.875rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s ease;
}

.cahier-form-field input[type="text"]:focus,
.cahier-form-field input[type="tel"]:focus,
.cahier-form-field input[type="email"]:focus {
  outline: none;
  border-color: #111827;
}

.cahier-form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.cahier-form-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cahier-form-checkbox span {
  font-size: 14px;
  color: #4b5563;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
}

.cahier-form-rgpd-info {
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
}

.cahier-form-rgpd-info p {
  font-size: 12px;
  color: #6b7280;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  margin: 0;
}

.cahier-form-rgpd-info a {
  color: #111827;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.cahier-form-rgpd-info a:hover {
  opacity: 0.7;
}

.cahier-form-submit {
  padding: 1rem 2rem;
  background: #111827;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 0.5rem;
}

.cahier-form-submit:hover {
  background: #374151;
  transform: translateY(-1px);
}

.cahier-form-submit:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .cahier-lightbox-content {
    width: calc(100% - 3rem);
    margin: 2rem 1.5rem;
    padding: 2rem 4rem;
    max-height: 95vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .cahier-lightbox-title {
    font-size: 20px;
    margin-bottom: 1.5rem;
  }

  .cahier-lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
  }
}
