/* ============================================
   SPP – Design System "Modern Dark"
   ============================================ */

:root {
  /* Palette existante */
  --primary: #00d26a;
  --primary-dark: #00a653;
  --bg-dark: #050505;
  --bg-card: #121212;
  --bg-input: #1a1a1a;
  --text-main: #ffffff;
  --text-muted: #a1a1aa;

  /* --- NOUVEAU : LA TOUCHE DORÉE --- */
  --gold: #d4af37; /* Or métallique classique */
  /* Dégradé de texte Luxe (Blanc vers Or) */
  --gold-gradient: linear-gradient(180deg, #ffffff 50%, #d4af37 100%);

  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 12px;
  --radius: 16px;
  --container: 1100px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Scrollbar personnalisée (match Design System) --- */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) rgba(255, 255, 255, 0.06);
}

/* Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  margin: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 10px rgba(0, 210, 106, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00e673, var(--primary));
  background-clip: padding-box;
  box-shadow: 0 0 15px rgba(0, 210, 106, 0.5);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Curseur personnalisé : petit rond vert (souris uniquement) */
@media (pointer: fine) {
  body {
    cursor: none;
  }

  .custom-cursor {
    position: fixed;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px var(--primary);
    transition:
      transform 0.08s ease-out,
      width 0.2s,
      height 0.2s,
      border 0.2s,
      box-shadow 0.2s;
  }

  /* --- Mode pointer (sur liens, boutons, éléments cliquables) --- */
  /* Variante 1 : Rond qui grossit + anneau (actuelle) */
  .custom-cursor.is-pointer {
    width: 32px;
    height: 32px;
    border: 2px solid var(--primary);
    background: rgba(0, 210, 106, 0.2);
    box-shadow:
      0 0 20px var(--primary),
      inset 0 0 12px rgba(0, 210, 106, 0.2);
  }

  /* Autres idées (décommenter pour tester) :
  Variante 2 : Carré arrondi
  .custom-cursor.is-pointer { width: 24px; height: 24px; border-radius: 6px; }
  Variante 3 : Cercle plein qui pulse (scale)
  .custom-cursor.is-pointer { width: 24px; height: 24px; animation: cursor-pulse 1s ease infinite; }
  @keyframes cursor-pulse { 50% { transform: translate(-50%, -50%) scale(1.2); } }
  Variante 4 : Petit doigt (via pseudo ::after en forme de rectangle incliné)
  */
  .custom-cursor.is-hidden {
    opacity: 0;
    transition: opacity 0.2s;
  }
}

/* ============================================
   PRELOADER (Écran de chargement Premium)
   ============================================ */

/* L'écran noir plein écran qui couvre tout */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000; /* Noir profond */
  z-index: 99999; /* Au-dessus de TOUT, même le header */
  display: flex;
  justify-content: center;
  align-items: center;

  /* Transition pour l'effet "rideau qui se lève" */
  /* cubic-bezier donne un effet de démarrage lent et d'accélération rapide très pro */
  transition: transform 1.2s cubic-bezier(0.8, 0, 0.2, 1);
}

/* Classe ajoutée en JS pour faire disparaître le preloader vers le haut */
.preloader.finish {
  transform: translateY(-100%);
}

.preloader-content {
  text-align: center;
  position: relative;
}

/* Style du Logo dans le preloader */
.preloader-logo {
  display: block;
  margin: 0 auto 2rem;
  max-width: 55px;
  height: auto;
  opacity: 0;
  border-radius: 10px;
  /* Petite animation d'apparition du logo */
  animation: fadeUpLogo 0.8s ease-out forwards 0.3s;
  box-shadow: 0 0 10px rgba(0, 210, 106, 0.3);
}

@keyframes fadeUpLogo {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Conteneur de la barre (le rail gris) */
.loading-bar-container {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInBar 0.5s ease-out forwards 0.8s;
}

@keyframes fadeInBar {
  to {
    opacity: 1;
  }
}

/* La barre qui se remplit (Vert vers Or) */
.loading-bar {
  height: 100%;
  width: 0%; /* Commence vide */
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 4px;
  /* Animation de remplissage */
  animation: fillBar 2s ease-in-out forwards 1s;
}

@keyframes fillBar {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* --- Petit bonus : Effet sur le contenu principal quand il apparaît --- */

/* Quand le preloader est actif, on fige le corps du site */
body.is-loading {
  overflow: hidden;
}

/* On prépare le contenu principal à être animé */
main {
  transition:
    transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 1.5s ease-out;
  /* État initial (légèrement zoomé et transparent) */
}

body.is-loading main {
  transform: scale(1.05);
  opacity: 0;
}

/* État final (normal) quand la classe is-loading est retirée */
body:not(.is-loading) main {
  transform: scale(1);
  opacity: 1;
}

/* --- Particules (fond) --- */
.particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

main {
  position: relative;
  z-index: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* --- Typographie --- */
h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  border-radius: 50px; /* Pill shape */
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #000000;
  font-weight: 500;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 210, 106, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-full {
  width: 100%;
}
/*
  .btn-arrow {
    display: inline-flex;
    color: var(--primary);
  }

 <.btn-arrow:hover {
    color: var(--primary-dark);
  } 
*/

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  /* Démarre remonté (caché), descend quand le preloader est fini */
  transform: translateY(-100%);
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* Glassmorphism Header */
  background: rgba(5, 5, 5, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Quand le preloader est fini, le header descend */
.header.header-visible {
  transform: translateY(0);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 55px;
  width: auto;
  display: block;
  border-radius: 10px;
}

.logo:hover img {
  animation: shockwave 0.8s ease-out infinite;
}

@keyframes shockwave {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 210, 106, 0.7);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(0, 210, 106, 0);
  }
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.logo-text .dot {
  color: var(--primary);
}

.nav-list {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-dark);
  transition: width 0.3s ease;
}

.nav-list a:hover {
  color: #fff;
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-cta {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  color: var(--primary-dark) !important;
}

.nav-cta:hover::after {
  display: none;
}

/* --- Burger --- */
.burger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

/* Effet de lueur verte en fond */
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 210, 106, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.bold-description {
  font-weight: 700;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 10px;
}

.hero-title .hero-logo-inline {
  display: inline-block;
  height: 0.95em;
  width: auto;
  vertical-align: -0.15em;
  -webkit-text-fill-color: unset;
  background: none;
}

.hero-title .hero-keyword {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
  background: none;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Sections Communes (Titres Premium) --- */
.section {
  padding: 7rem 0; /* Plus d'espace vertical pour faire "Luxe" */
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* Le Titre */
.section-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;

  /* --- MODIFICATION ICI : Dégradé Blanc vers Doré --- */
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.5));
}

/* Mot clé en vert dans les titres de section */
.section-title .section-keyword {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
  background: none;
  font-weight: 800;
}

/* Le petit trait vert lumineux sous le titre */
.section-title::after {
  content: "";
  display: block;
  width: 80px; /* Largeur du trait */
  height: 2px; /* Épaisseur */
  background: var(--primary);
  margin: 1rem auto 0; /* Centré */
  border-radius: 4px;
  box-shadow: 0 0 15px var(--primary); /* Lueur néon verte */
}

/* La Description */
.section-intro {
  color: #d4d4d8; /* Gris beaucoup plus clair (presque blanc) pour la lisibilité */
  font-size: 1.25rem; /* Un peu plus gros */
  line-height: 1.7;
  font-weight: 400;
  opacity: 0.9;
}

/* --- Cards (Glass Style) --- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
/* --- Mise à jour Icon Box (SVG) --- */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  border-radius: 12px; /* Coins légèrement arrondis */

  /* Fond subtil vert */
  background: rgba(0, 210, 106, 0.08);
  /* Bordure très fine */
  border: 1px solid rgba(0, 210, 106, 0.15);

  /* Couleur de l'icone */
  color: var(--primary);
  transition: var(--transition);
}

/* Style de l'image SVG à l'intérieur */
.icon-box svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5px; /* Trait fin et élégant */
}

.glass-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 5px var(--gold);
  transform: scale(1.05);
}

/* Effet au survol de la carte */
.glass-card:hover .icon-box {
  background: var(--primary); /* Le fond devient vert plein */
  color: #000; /* L'icone devient noire */
  box-shadow: 0 0 15px rgba(0, 210, 106, 0.4); /* Petite lueur */
  transform: scale(1.05);
}
/* Why Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.why-grid h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.why-grid p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-card-wide {
    grid-column: span 2;
  }
}
.service-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--bg-card), #0f0f0f);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 5px var(--gold);
  transform: scale(1.05);
}
.service-card:hover .icon-box {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 210, 106, 0.4);
  transform: scale(1.05);
}
.service-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}
.service-card h3 {
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--text-muted);
}

/* ============================================
   GALERIE ACCORDÉON (Pour 3 images)
   ============================================ */

/* ============================================
   GALERIE ACCORDÉON (Avec Grille & Watermark)
   ============================================ */

/* ============================================
   GALERIE AVEC QUADRILLAGE "SPOTLIGHT"
   ============================================ */

.section-gallery {
  position: relative;
  background-color: var(--bg-dark);
  padding-bottom: 8rem;
  overflow: hidden;
}

/* LE QUADRILLAGE (Dans un pseudo-élément pour le masquer) */
.section-gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* 1. Le dessin de la grille (lignes fines grises) */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px; /* Taille des carreaux */
  background-position: center center;

  /* 2. LE MASQUE CIRCULAIRE (La magie est ici) */
  /* On dit : "Visible au centre (black), Transparent sur les bords" */
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 0%,
    transparent 70%
  );
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);

  z-index: 0;
  pointer-events: none;
}

/* On s'assure que le contenu (Titres + Images) passe DEVANT la grille */
.section-gallery .container {
  position: relative;
  z-index: 1;
}

/* On s'assure que le contenu passe DEVANT le texte géant */
.section-gallery .container {
  position: relative;
  z-index: 1;
}

/* ... (Garde le reste du CSS de .expand-gallery, .expand-card etc. inchangé en dessous) ... */

/* Conteneur principal */
.expand-gallery {
  display: flex;
  height: 500px; /* Hauteur imposante pour faire "Architecture" */
  width: 100%;
  gap: 1rem;
  margin-top: 2rem;
}

/* La Carte (Panneau) */
.expand-card {
  position: relative;
  height: 100%;
  flex: 1; /* Par défaut, tout le monde a la taille 1 */
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.7s cubic-bezier(0.25, 0.8, 0.25, 1); /* Animation fluide "Apple" */
  border: 1px solid var(--glass-border);
}

/* L'image de fond */
.expand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: brightness(0.6) grayscale(20%); /* Un peu sombre par défaut */
}

/* --- L'INTERACTION MAGIQUE --- */

/* Quand on survole une carte, elle grandit (flex: 3) */
.expand-card:hover {
  flex: 3; /* Elle prend 3x plus de place que les autres */
  border-color: var(--gold);
}

/* On ré-éclaire l'image au survol */
.expand-card:hover img {
  transform: scale(1.1); /* Zoom lent */
  filter: brightness(0.9) grayscale(0%);
}

/* Contenu (Texte en bas) */
.expand-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.expand-card:hover .expand-content {
  opacity: 1;
}

/* Numéro (01, 02...) */
.expand-icon {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  transform: translateY(0);
  transition: transform 0.5s;
}

/* Texte (Titre + Desc) */
.expand-text {
  opacity: 0; /* Caché quand la carte est petite */
  transform: translateY(20px);
  transition: all 0.5s ease;
  /* On force le texte à ne pas se casser quand c'est petit */
  white-space: nowrap;
}

.expand-text h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.expand-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- APPARITION DU TEXTE --- */
/* Le texte n'apparaît QUE quand la carte est survolée (agrandie) */
.expand-card:hover .expand-text {
  opacity: 1;
  transform: translateY(0);
  white-space: normal; /* Autorise le retour à la ligne une fois grand */
}

.expand-card:hover .expand-icon {
  transform: translateY(-5px);
  color: var(--gold); /* Le numéro passe au doré */
}

/* --- VERSION MOBILE --- */
@media (max-width: 900px) {
  .expand-gallery {
    flex-direction: column; /* On empile verticalement */
    height: auto;
    gap: 1.5rem;
  }

  .expand-card {
    width: 100%;
    height: 300px; /* Hauteur fixe par carte */
    flex: none !important; /* On désactive l'effet accordéon sur mobile */
  }

  /* Sur mobile, on affiche tout le temps le texte */
  .expand-text {
    opacity: 1;
    transform: translateY(0);
    white-space: normal;
  }

  .expand-card img {
    filter: brightness(0.7);
  }
}

/* --- Process Section (Correction Anti-Banding) --- */
.section-process {
  /* On garde un fond noir uni ou très sombre, le bruit fera le reste */
  background: radial-gradient(circle at center, #0f0f0f 0%, #050505 30%);
  background-color: #050505;
  position: relative;
  overflow: hidden;
  padding: 10rem 0;

  /* On supprime l'ancien masque qui causait les traits */
  mask-image: none;
  -webkit-mask-image: none;
}

/* Grille des étapes (3 colonnes + flèches) */
.process-steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 4rem;
  position: relative;
}

/* Carte Étape */
.step-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: 200ms !important;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 210, 106, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Vague "Holé" infinie sur les 3 étapes */
.process-steps-grid .step-card {
  animation: wave-ole 2.4s ease-in-out infinite;
}
.process-steps-grid .step-card:nth-child(1) {
  animation-delay: 0s;
}
.process-steps-grid .step-card:nth-child(3) {
  animation-delay: 0.8s;
}
.process-steps-grid .step-card:nth-child(5) {
  animation-delay: 1.6s;
}

@keyframes wave-ole {
  0%,
  100% {
    transform: translateY(-8px);
  }
  33% {
    transform: translateY(0);
  }
  66% {
    transform: translateY(0);
  }
}

/* Sur téléphone : pas d'animation monter/descendre */
@media (max-width: 768px) {
  .process-steps-grid .step-card {
    animation: none;
  }
}

/* Numéro en gros (Watermark style) */
.step-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.4; /* Un peu plus visible */
  position: absolute;
  top: 10px;
  right: 20px;

  /* --- MODIFICATION ICI : Dégradé Doré --- */
  background: linear-gradient(to bottom, var(--gold), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Icône centrale de l'étape */
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: #000;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 210, 106, 0.4);
}

.step-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Flèche entre les étapes */
.step-connector {
  font-size: 2rem;
  color: var(--gold);
  margin-top: 5rem; /* Aligné avec le milieu des cartes */
  font-weight: 500;
}

/* Bannière de Garantie (Bas de section) */
.guarantee-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  /* Fond doré très léger */
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0.1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  /* Bordure dorée */
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  max-width: 100%;
  margin: 0 auto;
}

.guarantee-icon {
  color: var(--gold); /* Icône en or */
  display: flex;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.guarantee-text {
  display: flex;
  flex-direction: column;
}

.guarantee-text strong {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.guarantee-text span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Mobile Responsiveness pour le Process --- */
@media (max-width: 768px) {
  .process-steps-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .step-connector {
    display: none; /* On cache les flèches horizontales sur mobile */
  }

  /* On ajoute une petite ligne verticale entre les cartes sur mobile */
  .step-card::after {
    content: "";
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2rem;
    background: var(--glass-border);
  }

  .step-card:last-child::after {
    display: none;
  }

  .guarantee-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
}

/* --- Spécifique Services --- */

/* Sur les grands écrans : carte "Sur Mesure" 2 colonnes + dégradé + bouton Demander */
@media (min-width: 768px) {
  .service-card-wide {
    grid-column: span 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(
      90deg,
      var(--bg-card) 0%,
      rgba(0, 210, 105, 0.048) 100%
    );
  }

  .service-content-wide {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .service-content-wide .icon-box {
    margin-bottom: 1rem;
  }
}

.btn-arrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
  align-self: flex-end;
}

.btn-arrow:hover {
  background: rgba(0, 210, 106, 0.15);
  transform: translateX(5px);
}

/* --- Testimonials (Design Premium) --- */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
  overflow: hidden; /* Pour couper la guillemet qui dépasse */
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Guillemet géante en fond (Décoration) */
.quote-bg {
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: serif; /* Police différente pour la guillemet */
  font-size: 8rem;
  line-height: 1;
  color: #fff;
  opacity: 0.05; /* Très discret */
  pointer-events: none;
}

/* En-tête de la carte (Avatar + Nom + Etoiles) */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Rond des initiales */
.avatar-circle {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, #006b38 100%);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.1rem;
  box-shadow: 0 0 10px rgba(0, 210, 106, 0.3);
}

.client-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}

.client-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
}

.stars {
  color: var(--gold); /* Utilise la variable or exacte */
  font-size: 1.1rem;
  letter-spacing: 2px;
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4)); /* Lueur dorée */
}

.quote-bg {
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: serif;
  font-size: 8rem;
  line-height: 1;

  /* --- MODIFICATION ICI --- */
  color: var(--gold);
  opacity: 0.1; /* Très subtil en fond */
  pointer-events: none;
}

/* Le texte de l'avis */
.card-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* Mobile */
@media (max-width: 600px) {
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .testimonial-card {
    padding: 2rem;
  }
}

/* --- Contact Section (Refonte) --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.contact-title .section-keyword {
  color: var(--primary);
  font-weight: 800;
}

.contact-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.contact-desc strong {
  color: #fff;
  font-weight: 600;
}

.contact-map-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-map-link:hover {
  color: var(--primary);
}

.contact-map-link strong {
  color: inherit;
}

/* Cartes Contact (Tel, Mail, Loc) */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

/* Effet interactif sauf pour la localisation */
.contact-item:not(.no-hover):hover {
  background: rgba(0, 210, 106, 0.1);
  border-color: var(--primary);
  transform: translateX(10px);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--bg-dark);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--primary);
}

.contact-item:not(.no-hover):hover .contact-icon {
  background: var(--primary);
  color: #000;
}

.label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.value {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
}

/* Formulaire */
.glass-form {
  background: linear-gradient(
    145deg,
    rgba(20, 20, 20, 0.8),
    rgba(0, 0, 0, 0.9)
  );
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #fff;
}

.form-title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 25%;
  background: rgba(0, 210, 106, 0.15);
  color: var(--primary);
}

.form-title .section-keyword {
  color: var(--primary);
  font-weight: 800;
}

.btn-primary .section-keyword {
  color: #004d26;
  font-weight: 700;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.required-star {
  color: var(--primary);
  font-weight: 700;
}

.form-required-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: #fff;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 210, 106, 0.05);
  box-shadow: 0 0 0 4px rgba(0, 210, 106, 0.1);
}

/* --- Footer Refonte --- */
.footer {
  background: #000;
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 2rem;
  margin-top: 0;
  position: relative;
}

/* Liseré vert néon en haut du footer pour le style */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo {
  height: 55px;
  width: auto;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.footer-logo-link:hover .footer-logo {
  animation: shockwave 0.8s ease-out;
  transform: scale(1.05);
}

.footer-desc {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 350px;
}

.footer-col h4 {
  text-decoration: underline;
  text-underline-offset: 0.3rem;

  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-nav li,
.footer-contact-list li {
  margin-bottom: 0.75rem;
}

.footer-nav a,
.footer-contact-list a,
.footer-contact-list li {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-nav a:hover,
.footer-contact-list a:hover {
  color: var(--primary);
  padding-left: 5px; /* Petit décalage au survol */
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.legal-links a {
  color: inherit;
  margin-left: 1.5rem;
}

.legal-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-desc {
    margin: 1rem auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }

  .legal-links a {
    margin: 0 0.75rem;
  }
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s cubic-bezier(0.34, 1.2, 0.64, 1),
    transform 0.6s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Effet "Holééé" : les cadres se lèvent en cascade, un par un */
.why-grid > .reveal.active:nth-child(1),
.services-grid > .reveal.active:nth-child(1),
.process-steps-grid > .reveal.active:nth-child(1),
.testimonials-grid > .reveal.active:nth-child(1) {
  transition-delay: 0s;
}
.why-grid > .reveal.active:nth-child(2),
.services-grid > .reveal.active:nth-child(2),
.process-steps-grid > .reveal.active:nth-child(2),
.testimonials-grid > .reveal.active:nth-child(2) {
  transition-delay: 0.1s;
}
.why-grid > .reveal.active:nth-child(3),
.services-grid > .reveal.active:nth-child(3),
.process-steps-grid > .reveal.active:nth-child(3),
.testimonials-grid > .reveal.active:nth-child(3) {
  transition-delay: 0.2s;
}
.why-grid > .reveal.active:nth-child(4),
.services-grid > .reveal.active:nth-child(4),
.testimonials-grid > .reveal.active:nth-child(4) {
  transition-delay: 0.3s;
}
.why-grid > .reveal.active:nth-child(5),
.services-grid > .reveal.active:nth-child(5) {
  transition-delay: 0.4s;
}
.why-grid > .reveal.active:nth-child(6),
.services-grid > .reveal.active:nth-child(6) {
  transition-delay: 0.5s;
}
.services-grid > .reveal.active:nth-child(7) {
  transition-delay: 0.6s;
}
.services-grid > .reveal.active:nth-child(8) {
  transition-delay: 0.7s;
}
.process-steps-grid > .reveal.active:nth-child(4) {
  transition-delay: 0.3s;
}
.process-steps-grid > .reveal.active:nth-child(5) {
  transition-delay: 0.4s;
}

/* --- Pastille contact sticky --- */
.contact-pill {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  /* Arrivée stylée : part de la droite, scale + opacity */
  opacity: 0;
  transform: translateX(80px) scale(0.6);
  transition:
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.5s ease-out;
}

.contact-pill.pill-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.contact-pill-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 210, 106, 0.4);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-pill-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 210, 106, 0.5);
}

.contact-pill-trigger:active {
  transform: scale(0.95);
}

.contact-pill.open .contact-pill-trigger {
  background: var(--gold);
  color: #000;
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
}

.contact-pill-icon {
  width: 26px;
  height: 26px;
  transition: transform 0.25s ease;
}

.contact-pill-panel {
  position: absolute;
  bottom: calc(56px + 0.75rem);
  right: 0;
  width: 300px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition:
    max-height 0.35s ease,
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.contact-pill.open .contact-pill-panel {
  max-height: 320px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.contact-pill-panel-inner {
  padding: 1.25rem 1.5rem;
}

.contact-pill-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-pill-logo {
  height: 15px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.9;
}

.contact-pill-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.contact-pill-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.contact-pill-link:hover {
  color: var(--primary);
}

.contact-pill-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-pill-link-icon svg {
  width: 18px;
  height: 18px;
}

.contact-pill-zone {
  margin: 1rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.85rem;
  color: var(--primary-dark);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .burger {
    display: flex;
    z-index: 1001;
  }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-left: 1px solid var(--glass-border);
    padding: 5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  .nav.open {
    transform: translateX(0);
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    flex: 1;
    padding: 0;
    margin: 0;
  }
  .nav-list li {
    width: 100%;
  }
  .nav-list a {
    display: block;
    padding: 0.85rem 0.5rem;
    width: 100%;
  }
  .process-wrapper,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-links a {
    margin: 0 0.5rem;
  }
}

/* ============================================
   ANIMATIONS FORMULAIRE & NOTIFICATION
   ============================================ */

/* 1. Le bouton pendant le chargement */
.btn.loading {
  position: relative;
  color: transparent !important; /* On cache le texte "Envoyer" */
  pointer-events: none; /* On ne peut plus cliquer */
}

/* Le petit cercle qui tourne */
.btn.loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid #000; /* Couleur du trait */
  border-top-color: transparent; /* Pour faire l'effet de rotation */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* 2. La Notification (Toast) */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(18, 18, 18, 0.95); /* Fond sombre */
  backdrop-filter: blur(10px);
  border: 1px solid var(--primary); /* Bordure verte */
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 400px;
  z-index: 10000;

  /* Caché par défaut */
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Effet "Rebond" */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Quand la notif apparaît */
.toast.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.toast-icon {
  background: var(--primary);
  color: #000;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-content h4 {
  margin: 0 0 0.5rem 0;
  color: #fff;
  font-size: 1rem;
}

/* Le style du récapitulatif */
.toast-recap {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem;
  border-radius: 8px;
  margin-top: 5px;
}

.toast-recap strong {
  color: var(--primary);
}

/* --- Pages légales (Mentions, Confidentialité) --- */
.legal-page .preloader,
.legal-page .scroll-progress,
.legal-page .particles-canvas,
.legal-page .background-fx {
  display: none !important;
}

.legal-main {
  padding: 8rem 0 4rem;
  min-height: 70vh;
}

.legal-container {
  max-width: 720px;
  margin: 0 auto;
}

.legal-back {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-back:hover {
  color: var(--primary);
}

.legal-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

.legal-content {
  color: var(--text-main);
  line-height: 1.75;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

.legal-section p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.legal-section a {
  color: var(--primary);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

/* --- Modal lightbox pour les images --- */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.image-modal.open {
  opacity: 1;
  visibility: visible;
}

.image-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.image-modal-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  animation: modalZoomIn 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.image-modal-img-wrap {
  position: relative;
  cursor: none;
}

.image-modal-magnifier {
  position: fixed;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 0 20px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.15s ease,
    visibility 0.15s ease;
}

.image-modal-magnifier.visible {
  opacity: 1;
  visibility: visible;
}

body.modal-magnifier-active .custom-cursor {
  opacity: 0 !important;
}

.image-modal-img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.image-modal-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.image-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.image-modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.image-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition:
    background 0.2s,
    color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.image-modal-close:hover {
  background: var(--primary);
  color: #000;
}

@keyframes modalZoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   SECTION À PROPOS (About Us)
   ============================================ */

.section-about {
  position: relative;
  /* Pas de background ici = transparent, donc on voit les étoiles */
}

.about-grid {
  margin-top: -1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr; /* Plus de place pour le texte */
  }
}

.about-text-body {
  text-align: left;
}

/* Typographie du texte */
.about-text-body p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-text-body strong {
  color: #fff;
  font-weight: 600;
}

/* Logo inline dans le texte (ex: "Notre histoire") */
.inline-logo {
  display: inline-block;
  height: 1.1em;
  width: auto;
  vertical-align: middle;
  margin: 0 0.15em 0 0;
}

.highlight-p {
  font-size: 1.25rem !important;
  color: #fff !important;
  font-weight: 500;
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
}

.text-gold {
  color: var(--gold);
  font-weight: 600;
}

/* Citation finale style signature */
.about-quote {
  margin-top: 2rem;
  font-family: serif; /* Police différente pour le style */
  font-size: 1.12rem;
  color: #fff;
  font-style: italic;
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
}

/* Image Wrapper */
.about-image-wrapper {
  position: relative;
}

.about-image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  transform: rotate(2deg); /* Petite rotation stylée */
  transition: transform 0.5s ease;
}

.about-image-card:hover {
  transform: rotate(0deg) scale(1.02);
  border-color: var(--gold);
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(20%) contrast(1.1); /* Look premium */
}

/* Badge flottant sur l'image */
.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.badge-icon {
  color: var(--gold);
  font-size: 1.2rem;
}

/* Mobile responsive adjustments */
@media (max-width: 900px) {
  .about-image-card {
    transform: rotate(0deg);
    max-height: 300px;
  }
  .about-img {
    height: 300px;
    width: 100%;
    object-fit: cover;
  }
  .highlight-p {
    padding-left: 1rem;
    font-size: 1.1rem !important;
  }
}

/* ============================================
   FAQ SECTION (Accordéon)
   ============================================ */

.section-faq {
  position: relative;
  padding: 6rem 0;
}

.section-faq .noise-overlay {
  pointer-events: none;
}

.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  position: relative;
  border-left: 3px solid transparent;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

/* État ouvert (faq-open pour ne pas conflit avec .reveal.active) */
.faq-item.faq-open {
  border-left-color: var(--primary);
  border-color: rgba(0, 210, 106, 0.25);
  box-shadow: 0 8px 32px rgba(0, 210, 106, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.faq-question span:first-child {
  flex: 1;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-item.faq-open .faq-question {
  color: var(--primary);
}

/* Icône + qui devient × à l'ouverture — centrage via pseudo-élément */
.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  font-size: 0;
  padding: 0;
  color: var(--primary);
  background: rgba(0, 210, 106, 0.15);
  border-radius: 8px;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.faq-icon::before {
  content: "+";
  display: block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  font-size: 1.35rem;
  font-weight: 300;
  text-align: center;
  color: inherit;
  margin-bottom: 5px;
}

.faq-question:hover .faq-icon {
  background: rgba(0, 210, 106, 0.25);
}

.faq-item.faq-open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: #fff;
}

/* Réponse (cachée par défaut) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transition: opacity 0.7s ease 0.1s;
}

.faq-item.faq-open .faq-content {
  opacity: 1;
  border-top-color: rgba(0, 210, 106, 0.15);
}

.faq-content p {
  margin: 0;
  padding-top: 0.25rem;
}

.faq-content strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}
