/* ============================================================
   MONDIAL PEINTURE 34 — GLOBAL STYLESHEET
   Premium Luxury Design System 2026
   ============================================================ */

/* ──────────────────────────────────────────────────────────
   01. FONTS & ROOT VARIABLES
   ────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Jost:wght@200;300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&family=Roboto:ital,wght@0,100..900;1,100..900&family=Syne:wght@400..800&display=swap');




:root {
  /* Brand Colors */
  --noir:        #0a0a0a;
  --noir-deep:   #050505;
  --bleu:        #003cff;
  --or-light:    #f1d235;
  --or-dark:     #9b7a3e;
  --blanc:       #f9f6f1;
  --blanc-pur:   #ffffff;
  --gris-clair:  #f2ede6;
  --gris-moyen:  #d4cfc8;
  --gris-fonce:  #3a3530;
  --gris-texte:  #6b6560;






  /* Typography */

  --font-display: 'syne', sans-serif;
  --font-corps: 'poppins', sans-serif;
  --font-titre: 'syne', Georgia, serif;


  /* Sizes */
  --nav-h:        90px;
  --nav-h-scroll: 65px;
  --radius:       2px;
  --radius-md:    6px;

  /* Transitions */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --duration:     0.6s;
}

/* ──────────────────────────────────────────────────────────
   02. RESET & BASE
   ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-corps);
  font-weight: 300;
  color: var(--gris-fonce);
  background: var(--blanc-pur);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-corps); }


/* ──────────────────────────────────────────────────────────
   03. NAVIGATION — IDENTIQUE SUR TOUTES LES PAGES (injecté via JS)
   ────────────────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 4vw;
  transition: height 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
  justify-content: space-between;
  margin-bottom: 30px;
}



.logo-img {
  width: 200px; /* Force la taille pour le test */
  height: auto;
  display: block;
  padding-top: 50px;
  padding-bottom: 20px;
  padding-right: 20px;
}


#main-nav.scrolled {
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201,169,110,0.15);
}

#main-nav.transparent {
  background: transparent;
}

#main-nav.solid {
  background: #f2ede6;
  backdrop-filter: blur(20px);
  
}


.nav-logo-tagline {
  font-family: var(--font-corps);
  font-weight: 400;
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  color: var(--gris-fonce);
  text-transform: uppercase;
  margin-top: 3px;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav-links a {
  font-family: var(--font-corps);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #676665c7;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gris-clair);
  transition: width 0.4s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gris-fonce);
  padding: 10px;
  font-family: var(--font-corps);
  font-weight: 800;
  border-radius: 3px;
 
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}


.nav-cta {
  margin-left: 1.5rem;
  padding: 10px 24px;
  border: 1px solid var(--gris-fonce);
  color: var(--gris-fonce);
  font-family: var(--font-corps);
  font-weight: 400;
  font-size: 0.68rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease) !important;
}

.nav-cta:hover {
  border: 1px solid var(--blanc-pur);
  padding: 10px 24px !important;
 
  font-size: 1rem !important;
  
}

.nav-cta::after { display: none !important; }

/* Hamburger — dans la nav, toujours au-dessus du menu mobile via z-index de #main-nav */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1; /* hérite du contexte de #main-nav qui est à z-index:1100 */
  background: transparent;
  border: none;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gris-fonce);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
  transform-origin: center center;
}

/*
  Calcul exact : gap=5px, height=2px
  Distance centre-à-centre entre span1 et span2 = 5 + 2 = 7px
*/
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu — z-index inférieur à #main-nav (1100) pour que le burger reste visible */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--blanc-pur);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gris-fonce);
  letter-spacing: 0.08em;
  transition: color 0.3s;
}

.nav-mobile a:hover { 
  color: var(--blanc-pur);
  background: var(--gris-fonce);
  padding: 10px 24px;


 }

.nav-mobile-gold {
  width: 40px;
  height: 1px;
  background: var(--gris-fonce);
  margin: 0.5rem 0;
}

/* ──────────────────────────────────────────────────────────
   04. FOOTER — IDENTIQUE SUR TOUTES LES PAGES (injecté via JS)
   ────────────────────────────────────────────────────────── */
#main-footer {
  background: var(--gris-moyen);
  color: var(--gris-moyen);
  padding: 80px 4vw 0;
  position: relative;
  overflow: hidden;
}

#main-footer::before {
  content: 'MP';
  position: absolute;
  bottom: -20px; right: 3vw;
  font-family: var(--font-display);
  font-size: 18rem;
  font-weight: 700;
  color: rgba(201,169,110,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(201,169,110,0.12);
}

.footer-image {
 width: 200px;
 height: 150px;
}

.footer-brand-tag {
  font-family: var(--font-corps);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: var(--gris-fonce);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-brand-desc {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--gris-fonce);
  max-width: 280px;
  margin-bottom: 28px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,169,110,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--gris-fonce);
  font-size: 0.75rem;
  transition: background 0.3s, border-color 0.3s;
  text-decoration: none;
}

.footer-social-icon:hover {
  background: var(--gris-clair);
  color: var(--gris-fonce);
  border-color: var(--gris-fonce);
}

.footer-col-title {
  font-family: var(--font-corps);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gris-fonce);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201,169,110,0.2);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--gris-fonce);
  transition: color 0.3s, padding-left 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '—';
  font-size: 0.6rem;
  color: var(--blanc-pur);
  opacity: 0;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  color: var(--blanc-pur);
  padding-left: 6px;
}

.footer-links a:hover::before { opacity: 1; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.footer-contact-icon {
  color: var(--bleu);
  font-size: 0.8rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-text {
  font-size: 0.82rem;
  color: rgba(212,207,200,0.65);
  line-height: 1.6;
}

.footer-contact-text strong {
  display: block;
  color: var(--blanc-pur);
  font-weight: 400;
}

.footer-certif {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid rgba(201,169,110,0.15);
  background: rgba(201,169,110,0.04);
}

.footer-certif-badge {
  width: 70px; height: 70px;
  background: var(--gris-clair);
  display: flex; align-items: center; justify-content: center;
  color: var(--gris-fonce);
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-corps);
  border: 1px solid var(--gris-fonce);
}

.footer-certif-text {
  font-size: 0.72rem;
  color: rgba(212,207,200,0.7);
  line-height: 1.5;
}

.footer-certif-text strong {
  color: var(--gris-fonce);
  font-weight: 500;
  display: block;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--gris-clair);
  letter-spacing: 0.05em;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  font-size: 0.72rem;
  color: rgba(212,207,200,0.4);
  transition: color 0.3s;
}

.footer-legal-links a:hover { color: var(--bleu); }

/* ──────────────────────────────────────────────────────────
   05. HERO SECTION (Accueil)
   ────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column; /* On passe en colonne pour mieux contrôler l'empilement */
  justify-content: flex-end; /* On garde l'esprit "bas de page" */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--noir-deep);
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
 
  transform: scale(1.06);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.7) 100%
  );
}

.hero-bg-pattern {
  position: absolute;
  inset: 1;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(201,169,110,0.02) 80px,
      rgba(255, 255, 255, 0.02) 81px
    );
     
}


/* L'ajustement CRUCIAL du contenu */
.hero-content {

  position: relative;
  z-index: 2;
  padding: 0 4vw 0px; /* On ajoute du padding en bas pour décoller du bord */
  max-width: 900px;
  width: 100%;
  
  /* LA CORRECTION : On force une marge haute minimum */
  /* Cela empêche le titre de remonter dans la zone de la nav */
  margin-top: calc(var(--nav-h) + 60px); 
  margin-bottom: 50px;
}


.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}



.hero-eyebrow-text {
  font-family: var(--font-corps);
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--bleu);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--gris-fonce);
  margin-bottom: 28px;
}

.hero-title em {
  font-style:normal;
  color: var(--gris-fonce);
}

.hero-subtitle {
  font-family: var(--font-corps);
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--gris-texte);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 48px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border: var(--bleu);
  color: var(--gris-fonce);
  font-family: var(--font-corps);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gris-clair);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary:hover { box-shadow: 0 20px 60px rgba(201,169,110,0.25); }
.btn-primary span { position: relative; z-index: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 34px;
  border: 1px solid var(--gris-fonce);
  color: var(--gris-fonce);
  font-family: var(--font-corps);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: border-color 0.35s, background 0.35s, color 0.35s;
}

.btn-secondary:hover {
  border-color: var(--gris-moyen);
  background:rgba(201,169,110,0.25) ;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 4vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(249,246,241,0.4);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--bleu), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ──────────────────────────────────────────────────────────
   06. SECTION COMMONS
   ────────────────────────────────────────────────────────── */
.section {
  padding: 120px 4vw;
}

.section-dark {
  background: var(--blanc-pur);
  color: var(--gris-fonce);
}

.section-cream {
  background: var(--blanc-pur);
}

.section-white {
  background: var(--blanc-pur);
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.section-eyebrow-line {
  width: 32px; height: 1px;
  background: var(--gris-fonce);
}

.section-eyebrow-text {
  font-family: var(--font-corps);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gris-fonce);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-title em { font-style: italic; color: var(--gris-fonce); }

.section-title-dark {
  color: var(--gris-fonce);
}

.section-subtitle {
  font-family: var(--font-corps);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gris-texte);
  max-width: 580px;
}

.section-subtitle-light {
  color: rgba(212,207,200,0.7);
}

/* Divider */
.gold-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0;
}

.gold-divider-line { flex: 1; height: 1px; background: var(--gris-moyen); }
.gold-divider-diamond {
  width: 8px; height: 8px;
  background: var(--gris-clair);
  transform: rotate(45deg);
}

/* ──────────────────────────────────────────────────────────
   07. STATS / CHIFFRES CLÉS
   ────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--gris-moyen);
  border: 1px solid var(--gris-moyen);
}

.stat-card {
  background: var(--blanc-pur);
  padding: 50px 30px;
  text-align: center;
  transition: background 0.35s;
}

.stat-card:hover { 
  background: var(--gris-clair);
  
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gris-texte);
  line-height: 1;
  display: block;
}

.stat-number:hover{ 
  color: var(--gris-fonce);
}

.stat-label {
  font-family: var(--font-corps);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gris-texte);
  margin-top: 12px;
  transition: color 0.35s;
}

.stat-card:hover .stat-label { color: var(--gris-fonce);  }

/* ──────────────────────────────────────────────────────────
   08. SERVICES GRID
   ────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px; 
  background: var(--blanc-pur);
  margin-top: 64px;
}

.service-card {
  background: var(--blanc-pur);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.45s var(--ease);
  cursor: pointer;
  border: 1px solid var(--gris-moyen);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gris-clair);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.service-card:hover { background: var(--gris-clair); }
.service-card:hover::before { transform: scaleX(1); }

.service-card-icon {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--bleu);
  transition: transform 0.4s var(--ease);
}

.service-card:hover .service-card-icon { transform: translateY(-4px); }


.service-card:hover .service-card-num { color: rgba(201, 169, 110, 0.024); }

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gris-texte);
  margin-bottom: 14px;
  transition: color 0.4s;
}

.service-card:hover .service-card-title { color: var(--gris-fonce);font-size: 1.6rem; }

.service-card-desc {
  font-family: var(--font-corps);
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--gris-texte);
  line-height: 1.75;
  transition: color 0.4s;
}

.service-card:hover .service-card-desc { color: var(--gris-fonce); }

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gris-fonce);
  font-weight: 400;
  transition: gap 0.3s;
}

.service-card:hover .service-card-link { gap: 14px; }

/* ──────────────────────────────────────────────────────────
   09. GALLERY / RÉALISATIONS
   ────────────────────────────────────────────────────────── */
.gallery-masonry {
  columns: 3;
  column-gap: 3px;
  margin-top: 64px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 3px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.7s var(--ease);
  filter: brightness(0.9);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-label {
  font-family: var(--font-corps);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blanc-pur);
}

/* Gallery Filter Tabs */
.gallery-filters {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  padding: 10px 22px;
  font-family: var(--font-corps);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gris-fonce);
  border: 1px solid var(--gris-moyen);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: var(--gris-clair);
  color: var(--gris-fonce);
  border-color: var(--gris-fonce);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid rgba(201,169,110,0.2);
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  color: var(--bleu);
  font-size: 1.5rem;
  cursor: pointer;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,169,110,0.3);
  transition: background 0.3s;
}

.lightbox-close:hover { background: rgba(201,169,110,0.1); }

/* ──────────────────────────────────────────────────────────
   10. AVIS / TÉMOIGNAGES
   ────────────────────────────────────────────────────────── */
.reviews-slider {
  position: relative;
  overflow: hidden;
  margin-top: 64px;
}

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.7s var(--ease);
}

.review-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--blanc-pur);
  border: 1px solid var(--gris-moyen);
  padding: 44px 36px;
  position: relative;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; left: 28px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--bleu);
  opacity: 0.3;
  line-height: 1;
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--or-light);
  font-size: 0.85rem;
}

.review-text {
  font-family: var(--font-corps);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--gris-fonce);
  margin-bottom: 28px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gris-clair);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--noir);
  font-weight: 600;
  flex-shrink: 0;
}

.review-author-name {
  font-family: var(--font-corps);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--noir);
}

.review-author-detail {
  font-size: 0.72rem;
  color: var(--gris-texte);
  margin-top: 2px;
}

.reviews-nav {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.reviews-nav-btn {
  width: 48px; height: 48px;
  border: 1px solid var(--gris-moyen);
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--gris-fonce);
  font-size: 1rem;
  transition: all 0.3s;
}

.reviews-nav-btn:hover {
  border-color: var(--bleu);
  color: var(--bleu);
}

/* ──────────────────────────────────────────────────────────
   11. FORMULAIRE DEVIS
   ────────────────────────────────────────────────────────── */
.devis-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.devis-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.devis-form .form-group-full { grid-column: 1 / -1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-corps);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gris-texte);
}

.form-input,
.form-select,
.form-textarea {
  padding: 14px 16px;
  border: 1px solid var(--gris-moyen);
  background: transparent;
  font-family: var(--font-corps);
  font-size: 0.88rem;
  color: var(--gris-fonce);
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--bleu);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9a96e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  grid-column: 1 / -1;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--gris-moyen);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.3s;
}

.form-checkbox input[type="checkbox"]:checked {
  background: var(--gris-clair);
  border-color: var(--gris-clair);
}

.form-checkbox input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--noir);
  font-size: 0.7rem;
  font-weight: 600;
}

.form-checkbox-label {
  font-size: 0.82rem;
  color: var(--gris-texte);
}

.form-rgpd {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--gris-texte);
  line-height: 1.6;
}

.form-submit {
  grid-column: 1 / -1;
}

.form-submit .btn-primary {
  width: 100%;
  justify-content: center;
}

/* Devis sidebar info */
.devis-info-card {
  background: var(--gris-clair);
  padding: 50px 40px;
  position: sticky;
  top: 110px;
}

.devis-info-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--gris-fonce);
  margin-bottom: 32px;
  line-height: 1.3;
}

.devis-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.devis-info-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,169,110,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--bleu);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.devis-info-text strong {
  display: block;
  color: var(--gris-fonce);
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.devis-info-text span {
  color:var(--gris-texte);
  font-size: 0.8rem;
}

/* ──────────────────────────────────────────────────────────
   12. PAGE HERO (pages intérieures)
   ────────────────────────────────────────────────────────── */
.page-hero {
  padding-top: 300px;
  padding-bottom: 80px;

  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 120px,
    rgba(201,169,110,0.018) 120px,
    rgba(201,169,110,0.018) 121px
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 4vw 0;
}

.page-hero-breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gris-moyen);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.page-hero-breadcrumb a { color: var(--gris-fonce); }
.page-hero-breadcrumb span { color: var(--gris-fonce); margin: 0 8px; }


.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--gris-fonce);
  line-height: 1.1;
}

.page-hero-title em { font-style: italic; color: var(--gris-fonce); }



/* ──────────────────────────────────────────────────────────
   13. PARTENAIRES / LOGOS
   ────────────────────────────────────────────────────────── */
.clients-strip {
  background: var(--gris-clair);
  padding: 60px 4vw;
  border-top: 1px solid var(--gris-moyen);
  border-bottom: 1px solid var(--gris-moyen);
}

.clients-title {
  text-align: center;
  font-family: var(--font-corps);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--bleu);
  margin-bottom: 36px;
}

.clients-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4vw;
  flex-wrap: wrap;
}

.client-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 300;
  color: var(--gris-texte);
  letter-spacing: 0.08em;
  padding: 14px 28px;
  border: 1px solid var(--gris-moyen);
  text-transform: uppercase;
  font-size: 0.72rem;
  transition: border-color 0.3s, color 0.3s;
  text-align: center;
}

.client-logo:hover { border-color: var(--bleu); color: var(--or-dark); }

/* ──────────────────────────────────────────────────────────
   14. À PROPOS / QUI SOMMES-NOUS
   ────────────────────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}

.about-img-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: var(--gris-clair);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.about-img-badge-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--noir);
  line-height: 1;
}

.about-img-badge-text {
  font-family: var(--font-corps);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--noir);
  margin-top: 6px;
  line-height: 1.4;
}

.about-img-accent {
  position: absolute;
  top: 30px;
  left: -20px;
  width: 80%;
  height: 3px;
  background: var(--gris-clair);
}

.about-text p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--gris-texte);
  margin-bottom: 20px;
}

.about-values {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-value {
  padding: 20px;
  border-left: 2px solid var(--gris-fonce);
  background: var(--gris-clair);
}

.about-value-title {
  font-family: var(--font-corps);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--noir);
  margin-bottom: 8px;
}

.about-value-text {
  font-size: 0.8rem;
  color: var(--gris-texte);
  line-height: 1.65;
}

/* ──────────────────────────────────────────────────────────
   15. COOKIE BANNER
   ────────────────────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(201,169,110,0.2);
  padding: 28px 4vw;
  transform: translateY(100%);
  transition: transform 0.6s var(--ease);
}

#cookie-banner.show { transform: translateY(0); }

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 0.82rem;
  color: rgba(212,207,200,0.7);
  line-height: 1.6;
  min-width: 280px;
}

.cookie-text a { color: var(--bleu); text-decoration: underline; }

.cookie-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn-accept {
  padding: 10px 24px;
  background: var(--gris-clair);
  color: var(--noir);
  font-family: var(--font-corps);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

.cookie-btn-accept:hover { background: var(--or-light); }

.cookie-btn-decline {
  padding: 10px 24px;
  background: transparent;
  color: rgba(212,207,200,0.5);
  font-family: var(--font-corps);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(212,207,200,0.15);
  transition: border-color 0.3s, color 0.3s;
}

.cookie-btn-decline:hover {
  border-color: rgba(212,207,200,0.4);
  color: rgba(212,207,200,0.8);
}

/* ──────────────────────────────────────────────────────────
   16. ANIMATIONS SCROLL (Intersection Observer)
   ────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ──────────────────────────────────────────────────────────
   17. PAGES LÉGALES
   ────────────────────────────────────────────────────────── */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 4vw 120px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--noir);
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gris-moyen);
}

.legal-content h3 {
  font-family: var(--font-corps);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris-fonce);
  margin: 28px 0 10px;
}

.legal-content p, .legal-content li {
  font-size: 0.9rem;
  color: var(--gris-texte);
  line-height: 1.85;
  margin-bottom: 12px;
}

.legal-content ul { padding-left: 20px; }
.legal-content li { list-style: disc; }

/* ──────────────────────────────────────────────────────────
   18. BACK TO TOP
   ────────────────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px; height: 48px;
  background: var(--);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s;
  border: 1px solid var(--gris-fonce);
  color: var(--gris-fonce);
  font-size: 1rem;
}

#back-to-top.show { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--gris-clair); }

/* ──────────────────────────────────────────────────────────
   19. RESPONSIVE
   ────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > *:last-child { display: none; }
  .gallery-masonry { columns: 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --nav-h: 70px; }

  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero-title { font-size: 40px; }
  .section { padding: 80px 4vw; }
  .section-title { font-size: clamp(1.8rem, 5vw, 2.8rem); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:last-child { display: block; }

  .services-grid { grid-template-columns: 2fr; }
  .about-layout { grid-template-columns: 1fr; gap: 60px; }
  .about-img-badge { right: 0; }

  .devis-layout { grid-template-columns: 1fr; }
  .devis-form { grid-template-columns: 1fr; }
  .devis-form .form-group-full { grid-column: 1; }
  .form-checkbox-group { grid-template-columns: 1fr; }

  .review-card { flex: 0 0 calc(80%); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
 

  .section-white > div[style*="grid-template-columns:1fr 1fr"],
  .section-cream > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Annule tous les order inline sur les deux colonnes */
  .section-white > div[style*="grid-template-columns:1fr 1fr"] > div {
    order: unset !important;
  }

  /* Les divs qui contiennent directement une img passent en premier */
  .section-white > div[style*="grid-template-columns:1fr 1fr"] > div:has(img) {
    order: -1 !important;
  }

  .section-white img[style*="height:500px"] {
    height: 260px !important;
  }


  
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .gallery-masonry { columns: 1; }
  .hero-btns { flex-direction: column; }
  .about-values { grid-template-columns: 1fr; }
  .review-card { flex: 0 0 100%; }
  .cookie-inner { flex-direction: column; gap: 20px; }
  .logo-img {justify-content: center;}
  
}

/* ──────────────────────────────────────────────────────────
   19. RESPONSIVE — CORRECTIONS FINALES
   ────────────────────────────────────────────────────────── */

/* Tablette et Mobile (Général) */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; } /* On force l'apparition ici */
  
  /* On garde le comportement standard pour tablette si besoin */
  #main-nav { justify-content: space-between; } 
}

/* Format Mobile spécifique (Logo centré) */
@media (max-width: 600px) {
  #main-nav {
    flex-direction: column !important; /* Empilement vertical */
    align-items: center !important;
    height: auto !important;
    padding: 15px 0 !important;
  }

  .logo-img {
    margin: 0 auto 10px auto !important;
    padding: 0 !important;
    width: 140px !important; /* Taille ajustée pour petit écran */
  }

  /* Centrage du lien qui entoure le logo */
  #main-nav > a:first-child {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .nav-burger {
    margin: 0 auto !important; /* Centre le burger sous le logo */
  }

  /* On pousse le contenu du site pour ne pas qu'il soit caché par la nav */
  .hero, .page-hero {
    padding-top: 180px !important; 
  }
}

/* ====================POUR TEST CHEVAUCHEMENT NAV ET HERO================
========================================================================*/



/* Simple et robuste : nav fixe + padding sur le hero */
#main-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1100; }
.hero      { padding-top: var(--nav-h); }   /* remplace la complexité de la grille */




/* ──────────────────────────────────────────────────────────
   20. QUI SOMMES-NOUS — RESPONSIVE SECTIONS INLINE
   ────────────────────────────────────────────────────────── */

/* --- NOS VALEURS (4 colonnes inline) --- */
@media (max-width: 900px) {
  .section-dark > div[style*="grid-template-columns:repeat(4,1fr)"],
  .section-dark > div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2px !important;
  }
}

@media (max-width: 600px) {
  .section-dark > div[style*="grid-template-columns:repeat(4,1fr)"],
  .section-dark > div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* --- COMMENT NOUS TRAVAILLONS (grilles 5 colonnes avec flèches) --- */
@media (max-width: 900px) {

  /* On masque les colonnes "flèche" (les divs vides intercalées) */
  .section-cream > div[style*="grid-template-columns:repeat(5,1fr)"] > div:nth-child(even),
  .section-cream > div[style*="grid-template-columns: repeat(5, 1fr)"] > div:nth-child(even) {
    display: none !important;
  }

  /* Lignes supérieure et inférieure du processus en 3 colonnes → 1 colonne */
  .section-cream > div[style*="grid-template-columns:repeat(5,1fr)"],
  .section-cream > div[style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* Étapes de la 2e ligne (étapes 4 et 5) — supprimer le séparateur interne */
  .section-cream > div[style*="grid-template-columns:repeat(5,1fr)"] > div > div[style*="height:1px"],
  .section-cream > div[style*="grid-template-columns: repeat(5, 1fr)"] > div > div[style*="height:1px"] {
    display: none !important;
  }

  /* Uniformiser le padding de toutes les étapes */
  .section-cream > div[style*="grid-template-columns:repeat(5,1fr)"] > div,
  .section-cream > div[style*="grid-template-columns: repeat(5, 1fr)"] > div {
    padding: 32px 24px !important;
  }
}

/* ──────────────────────────────────────────────────────────
   21. MOBILE — CENTRAGE GLOBAL (max-width: 600px)
   Règles chirurgicales : on cible uniquement les classes
   connues. Pas de sélecteurs génériques qui cassent d'autres
   éléments. Footer : seuls tagline + bouton devis centrés.
   ────────────────────────────────────────────────────────── */
@media (max-width: 600px) {

  /* ══════════════════════════════════════════════════════
     HERO
  ══════════════════════════════════════════════════════ */
  .hero {
    align-items: center;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 6vw;
    margin-top: calc(var(--nav-h) + 40px);
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-title,
  .hero-subtitle {
    text-align: center;
    max-width: 100%;
  }

  .hero-btns {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* ══════════════════════════════════════════════════════
     SECTIONS — titres, sous-titres, eyebrows
  ══════════════════════════════════════════════════════ */
  .section {
    padding: 60px 5vw;
  }

  .section-eyebrow {
    justify-content: center;
  }

  /* On masque le tiret décoratif : le texte seul suffit */
  .section-eyebrow-line {
    display: none;
  }

  .section-title,
  .section-subtitle {
    text-align: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* ══════════════════════════════════════════════════════
     STATS
  ══════════════════════════════════════════════════════ */
  .stat-card {
    text-align: center;
  }

  /* ══════════════════════════════════════════════════════
     SERVICES
  ══════════════════════════════════════════════════════ */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .service-card-link {
    justify-content: center;

  }

  /* ══════════════════════════════════════════════════════
     GALERIE
  ══════════════════════════════════════════════════════ */
  .gallery-filters {
    justify-content: center;
  }

  /* ══════════════════════════════════════════════════════
     AVIS / TÉMOIGNAGES
     — carte, étoiles dans la carte, auteur
     — section entête : note globale, étoiles, compteur
     — barre de navigation : flèches + lien Google
  ══════════════════════════════════════════════════════ */

  /* Conteneur de la note globale (4.9 + étoiles + "Basé sur…") */
  .reviews-slider {
    text-align: center;
    justify-content: center;
  }

  /* Étoiles et texte AVANT le slider : ils sont généralement
     dans un div frère de .reviews-slider à l'intérieur de .section */
  .section .reviews-slider ~ *,
  .section > *:has(.reviews-slider) ~ * {
    text-align: center;
  }

  /* Carte avis */
  .review-card {
    text-align: center;
  }

  /* Étoiles à l'intérieur d'une carte */
  .review-stars {
    justify-content: center;
  }

  /* Ligne auteur + avatar */
  .review-author {
    justify-content: center;
  }

  /* Barre nav : flèches + lien Google — on force flex centré */
  .reviews-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    margin-top: 40px;
  }

  /* Le lien "LES AVIS SUR GOOGLE →" est un <a> dans .reviews-nav */
  .reviews-nav > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  /* ══════════════════════════════════════════════════════
     FORMULAIRE DEVIS
  ══════════════════════════════════════════════════════ */
  .devis-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .devis-form {
    grid-template-columns: 1fr;
  }

  .devis-form .form-group-full {
    grid-column: 1;
  }

  .form-checkbox-group {
    grid-template-columns: 1fr;
  }

  .devis-info-card {
    text-align: center;
  }

  .devis-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Les labels de formulaire restent à gauche pour la lisibilité */
  .form-label {
    text-align: left;
  }

  /* ══════════════════════════════════════════════════════
     PAGE HERO (pages intérieures)
  ══════════════════════════════════════════════════════ */
  .page-hero-content {
    text-align: center;
    padding: 40px 5vw 0;
  }

  .page-hero-breadcrumb {
    text-align: center;
  }

  .page-hero-title {
    text-align: center;
  }

  /* ══════════════════════════════════════════════════════
     À PROPOS / QUI SOMMES-NOUS
  ══════════════════════════════════════════════════════ */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-text p {
    text-align: center;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .about-value {
    text-align: center;
    border-left: none;
    border-top: 2px solid var(--gris-fonce);
  }

  .about-img-badge {
    right: 0;
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
  }

  /* ══════════════════════════════════════════════════════
     CLIENTS / LOGOS PARTENAIRES
  ══════════════════════════════════════════════════════ */
  .clients-logos {
    justify-content: center;
    gap: 12px;
  }

  /* ══════════════════════════════════════════════════════
     PAGES LÉGALES
  ══════════════════════════════════════════════════════ */
  .legal-content h2,
  .legal-content h3 {
    text-align: center;
  }

  .legal-content p,
  .legal-content li {
    text-align: left;
  }

  .legal-content ul {
    padding-left: 0;
    list-style-position: inside;
  }

  /* ══════════════════════════════════════════════════════
     COOKIE BANNER
  ══════════════════════════════════════════════════════ */
  .cookie-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .cookie-btns {
    justify-content: center;
  }

  /* ══════════════════════════════════════════════════════
     FOOTER — centrage ciblé uniquement sur :
       • "ARTISAN PEINTRE · HÉRAULT · DEPUIS 2011" (.nav-logo-tagline)
       • Le bouton "Demander un devis" (.nav-cta dans le footer)
       Tout le reste du footer reste inchangé.
  ══════════════════════════════════════════════════════ */

  /* Tagline sous le logo dans le footer */
  #main-footer .nav-logo-tagline {
    display: block;
    text-align: center;
    width: 100%;
  }

  /* Bouton "Demander un devis" dans le footer */
  #main-footer .nav-cta {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Image logo dans le footer */
  #main-footer .footer-image {
    display: block;
    margin: 0 auto;
  }

  /* Réseaux sociaux du footer */
  #main-footer .footer-socials {
    justify-content: center;
  }

  /* ══════════════════════════════════════════════════════
     TEXTES COURANTS — paragraphes, sous-titres, petits textes
     dans toutes les sections (hors footer)
  ══════════════════════════════════════════════════════ */

  /* Paragraphes dans les sections */
  .section p,
  .section-white p,
  .section-cream p,
  .section-dark p {
    text-align: center;
  }

  /* Cas inline style="padding:...vw" — cibler les <p> enfants directs */
  body > section p,
  main p {
    text-align: center;
  }

  /* Blocs avec texte direct (intro, processus, valeurs...) */
  .section-title + p,
  .section-subtitle,
  h2 + p,
  h3 + p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Titres h2 / h3 dans les sections — pour ceux écrits en inline style */
  .section h2,
  .section h3,
  section h2,
  section h3 {
    text-align: center;
  }

  /* ══════════════════════════════════════════════════════
     BOUTONS CTA — centrage de TOUS les boutons sur mobile
     (hors footer géré ci-dessus)
  ══════════════════════════════════════════════════════ */

  /* Wrapper flex de boutons côte à côte → colonne centrée */
  .section > div[style*="display:flex"],
  .section > div[style*="display: flex"],
  section > div[style*="display:flex"],
  section > div[style*="display: flex"] {
    justify-content: center;
  }

  /* Bouton btn-primary isolé (hors hero-btns déjà géré) */
  .btn-primary:not(.hero-btns .btn-primary) {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  /* Bouton btn-secondary isolé */
  .btn-secondary {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  /* Conteneur flex de boutons (ex: devis + réalisations côte à côte) */
  div[style*="gap:20px"] .btn-primary,
  div[style*="gap: 20px"] .btn-primary,
  div[style*="gap:20px"] .btn-secondary,
  div[style*="gap: 20px"] .btn-secondary,
  div[style*="gap:32px"] .btn-primary,
  div[style*="gap: 32px"] .btn-primary,
  div[style*="gap:32px"] .btn-secondary,
  div[style*="gap: 32px"] .btn-secondary {
    display: inline-flex; /* on reset ici car le parent gère le centrage */
    margin-left: 0;
    margin-right: 0;
  }

  /* Wrapper de boutons multiples → flex colonne centré */
  div[style*="display:flex"][style*="gap"],
  div[style*="display: flex"][style*="gap"] {
    flex-direction: column;
    align-items: center;
  }

  /* Exception : ne pas toucher la nav, le cookie banner et les icônes sociales */
  #main-nav div[style*="display:flex"],
  .cookie-inner div[style*="display:flex"],
  .footer-socials {
    flex-direction: unset;
  }

  /* Bouton du formulaire devis (pleine largeur sur mobile) */
  .form-submit .btn-primary,
  .form-submit button {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
  }

  /* ══════════════════════════════════════════════════════
     BOUTON CTA DANS LE FOOTER — centrage complet
  ══════════════════════════════════════════════════════ */

  #main-footer .btn-primary,
  #main-footer .btn-secondary,
  #main-footer a[class*="btn"] {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  /* Zone CTA footer (si wrappée dans un div flex) */
  #main-footer div[style*="display:flex"],
  #main-footer div[style*="display: flex"] {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  /* ══════════════════════════════════════════════════════
     PAGES INTÉRIEURES — éléments non couverts
  ══════════════════════════════════════════════════════ */

  /* Badges de certification (qui-sommes-nous, présentation) */
  div[style*="display:flex"][style*="flex-wrap:wrap"],
  div[style*="display: flex"][style*="flex-wrap: wrap"] {
    justify-content: center;
  }

  /* Étoiles (rating-summary temoignages) */
  .rating-summary {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Grille clients professionnels (trust-logos) */
  .trust-logos {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Processus (qui-sommes-nous) — les étapes 4 et 5 dans la 2e ligne */
  .section-cream > div[style*="grid-template-columns:repeat(5,1fr)"] > div,
  .section-cream > div[style*="grid-template-columns: repeat(5, 1fr)"] > div {
    text-align: center;
  }

  /* Texte intro réalisations, temoignages */
  .reveal p,
  .reveal-left p,
  .reveal-right p {
    text-align: center;
  }

  /* Blocs de texte dans about-text (qui-sommes-nous) */
  .about-text {
    text-align: center;
  }

  /* Éléments de contact direct dans la sidebar devis */
  .devis-info-card a,
  .devis-info-card div {
    text-align: center;
  }

  /* ══════════════════════════════════════════════════════
     PAGE RÉFÉRENCES — corrections spécifiques
  ══════════════════════════════════════════════════════ */

  /* Rating summary : grille 1fr 3fr → colonne empilée */
  .section-cream > div[style*="grid-template-columns:1fr 3fr"],
  .section-cream > div[style*="grid-template-columns: 1fr 3fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Grille 3 colonnes avis → 1 colonne */
  .section-white > div[style*="grid-template-columns:repeat(3,1fr)"],
  .section-white > div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Grille 3 colonnes clients types (section-dark) → 1 colonne */
  .section-dark > div[style*="grid-template-columns:repeat(3,1fr)"],
  .section-dark > div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Cartes clients types : centrer le texte */
  .section-dark > div[style*="grid-template-columns"] > div {
    text-align: center;
  }

  /* Barres de note : préserver le flex horizontal (ne pas empiler) */
  div[style*="flex-direction:column"] > div[style*="align-items:center"][style*="gap:16px"],
  div[style*="flex-direction: column"] > div[style*="align-items: center"][style*="gap: 16px"] {
    flex-direction: row !important;
  }

  /* Bloc note "4.9" : pleine largeur et centré */
  .section-cream div[style*="text-align:center"][style*="padding:50px"],
  .section-cream div[style*="text-align: center"][style*="padding: 50px"] {
    margin: 0 auto;
    width: 100%;
  }

  /* Bouton "Laisser un avis" dans le bloc note */
  .section-cream a[style*="display:inline-flex"],
  .section-cream a[style*="display: inline-flex"] {
    margin: 0 auto;
    display: flex !important;
    justify-content: center;
    width: fit-content;
  }

  /* CTA final (section sans classe .section, style text-align:center inline) */
  section[style*="text-align:center"] .btn-primary,
  section[style*="text-align: center"] .btn-primary {
    display: inline-flex !important;
    margin: 12px auto 0;
  }

  /* h2 du CTA final (section sans classe .section) */
  section[style*="text-align:center"] h2,
  section[style*="text-align: center"] h2,
  section[style*="padding:100px"] h2,
  section[style*="padding: 100px"] h2 {
    text-align: center;
  }

  /* Texte descriptif dans le bloc "Satisfaction client" */
  .section-cream > div > div > p {
    text-align: center;
  }

  /* h3 dans les cartes clients types (section-dark) */
  .section-dark > div[style*="grid-template-columns"] > div h3 {
    text-align: center;
  }

  /* Eyebrow centré dans la section "Témoignages" (section-white sans justify:center) */
  .section-white .section-eyebrow {
    justify-content: center;
  }

  /* section-title dans section-dark centré */
  .section-dark .section-title {
    text-align: center;
  }

  /* Bouton Google "Voir tous nos avis" : div wrapper text-align:center déjà inline,
     on s'assure que le btn-primary s'affiche bien en inline-flex centré */
  .section-white > div[style*="text-align:center"] .btn-primary,
  .section-white > div[style*="text-align: center"] .btn-primary {
    display: inline-flex !important;
  }

  /* ══════════════════════════════════════════════════════
     FOOTER — colonne brand : tag, description, certif
  ══════════════════════════════════════════════════════ */
  #main-footer .footer-brand-tag {
    text-align: center;
  }

  #main-footer .footer-brand-desc {
    text-align: center;
    max-width: 100%;
  }

  #main-footer .footer-certif {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* ══════════════════════════════════════════════════════
     WRAPPERS flex space-between (titre à gauche + bouton à droite)
     → empilé et centré sur mobile
     Ex : section réalisations, services, avis clients (index.html)
  ══════════════════════════════════════════════════════ */
  div[style*="justify-content:space-between"],
  div[style*="justify-content: space-between"] {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }

  div[style*="justify-content:space-between"] .section-eyebrow,
  div[style*="justify-content: space-between"] .section-eyebrow {
    justify-content: center;
  }

  div[style*="justify-content:space-between"] .section-title,
  div[style*="justify-content: space-between"] .section-title {
    text-align: center;
  }

  div[style*="justify-content:space-between"] .btn-primary,
  div[style*="justify-content: space-between"] .btn-primary {
    display: inline-flex !important;
    margin: 0 auto;
  }

}