:root {
  --bleu: #1A3A8A;
  --magenta: #E6007E;
  --blanc: #fff;
  --gris-noir: #0c0c14;
  --gris-sombre: #1a1a2e;
  --gris-moyen: #2a2a3e;
  --gris-clair: #f9f9f9;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --card-radius: 32px;
  --button-radius: 50px;
  --transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--gris-noir);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
}

header.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header nav {
  display: flex;
  gap: 1.5rem;
  background: rgba(51, 50, 50, 0.423);
  padding: 0.5rem 1.5rem;
  border-radius: var(--button-radius);
  border: 1px solid rgba(228, 227, 227, 0.498);
}

.header nav a {
  color: var(--text-secondary);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  padding: 0.3rem 0.8rem;
  line-height: 1.5;
}

.header nav a:hover,
.header nav a:focus {
  color: var(--blanc);
}

.header nav a.active {
  color: var(--magenta);
  font-weight: 700;
}

.logo {
  height: 40px;
  width: auto;
}

/* Showreel containers */
#preloader {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  z-index: 9999;
  overflow: hidden;
}

.showreel-text {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  position: absolute;
  top: 0; left: 0;
  color: white;
  animation-fill-mode: forwards;
}

.showreel-bg1 {
  background-color: var(--bleu);
  animation: showreelFadeOut 2.5s ease forwards;
  animation-delay: 0.5s;
  z-index: 2;
}

.showreel-bg1 h1 {
  font-weight: 700;
  font-size: 3.5rem;
  text-align: center;
}

.showreel-bg1 span {
  font-style: italic;
  font-weight: 900;
  color: var(--magenta);
}

.showreel-bg2 {
  background-color: var(--blanc);
  color: var(--magenta);
  animation: showreelFadeIn 2.5s ease forwards;
  animation-delay: 2.7s;
  z-index: 1;
}

.showreel-bg2 h2 {
  font-weight: 900;
  font-size: 2.8rem;
  text-align: center;
  font-style: normal;
}

.showreel-bg2 span {
  font-weight: 900;
}

@keyframes showreelFadeOut {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes showreelFadeIn {
  0% {
    opacity: 0;
    visibility: visible;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}


/* Header styles already defined above */

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 20px;
  cursor: pointer;
}
.burger span {
  height: 3px;
  background: var(--bleu);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.burger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Responsive menu mobile */
@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 60px;
    right: -100%;
    background: var(--blanc);
    height: calc(100% - 60px);
    width: 250px;
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1.5rem;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
  }
  nav.open {
    right: 0;
  }
  .burger {
    display: flex;
  }

  /* reduce hero text for smaller screens */
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }

  /* stack cards vertically */
  .cards {
    flex-direction: column;
    align-items: center;
  }

  /* carousel height smaller */
  .carousel-inner {
    height: 300px;
  }

  .btn {
    padding: 0.6rem 1.5rem;
  }
}

/* Hero */
/* Header color variants based on section */
header[data-section="home"] { background: rgba(26, 58, 138, 0.9); color: #fff; }
header[data-section="services"] { background: var(--blanc); color: var(--bleu); }
header[data-section="properties"] { background: var(--gris-clair); color: var(--bleu); }
header[data-section="localisation"] { background: var(--bleu); color: #fff; }
header[data-section="projets"] { background: rgba(26,58,138,0.9); color: #fff; }
header[data-section="apropos"] { background: var(--bleu); color: #fff; }

}

.card {
  flex: 1 1 300px;
  max-width: 360px;
  background: var(--blanc);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}




/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Global Components & Sections */
section {
  padding: 100px 5%;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: var(--button-radius);
  background: var(--magenta);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn:hover {
  background: var(--blanc);
  color: var(--gris-noir);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

/* Services Grid Overhaul */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: var(--gris-sombre);
  border-radius: var(--card-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  background: var(--gris-moyen);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.service-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  opacity: 0.8;
  transition: var(--transition);
}

.service-card:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.services-content {
  padding: 3rem;
  text-align: left;
}

.services-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.services-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Titles */
h2 {
  font-size: 4rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: -0.03em;
  color: #fff;
}

/* Cards */
.cards {
  max-width: 1100px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 2rem;
  padding: 0 1rem;
}
.card {
  background: var(--blanc);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(26,58,138,0.1);
  padding: 1rem;
  color: var(--bleu);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}
.card.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 10px 30px rgba(230,0,126,0.3);
  transform: translateY(-10px);
  outline: none;
}
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin-bottom: 1rem;
}
.card h3 {
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--bleu);
}
.card p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #444;
}

/* Animations au scroll */
.fade-in,
.slide-in-left,
.slide-in-right,
.pinel-box {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.slide-in-left {
  transform: translateX(-30px);
}
.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.slide-in-right {
  transform: translateX(30px);
}
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Hero Section Main */
.hero-section-main {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(12, 12, 20, 0.7) 0%, rgba(12, 12, 20, 0.4) 50%, rgba(12, 12, 20, 0.8) 100%);
  z-index: 1;
}

.hero-content-main {
  position: relative;
  z-index: 2;
}

.hero-section-main h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-section-main p {
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
}

/* Section A propos style Apple TV+ */
.apropos-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  padding: 10rem 1rem;
  overflow: hidden;
  text-align: center;
}

.apropos-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../img/rehab.jpg'); /* Illustration de briques/construction */
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: grayscale(100%) brightness(0.5);
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  z-index: 1;
}

.apropos-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
}

.mini-logo {
  height: 150px;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1);
}

.montserrat-bold {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.montserrat-light {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.apropos-section h1 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.apropos-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-transform: none;
  animation: none; /* remove existing animations */
  color: rgba(255, 255, 255, 0.7);
}

.apropos-section h2::after {
  display: none; /* remove existing underline */
}

.apropos-section h3 {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.btn-stream {
  background-color: #fff;
  color: #000;
  border: none;
  padding: 0.8rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 2rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
}

.btn-stream:hover {
  transform: scale(1.05);
  background-color: #f0f0f0;
  color: #000;
}

/* Animations fade in up */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.2, 0, 0.2, 1), transform 1s cubic-bezier(0.2, 0, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1s; }

@media (max-width: 768px) {
  .apropos-section h1 {
    font-size: 2.5rem;
  }
  .apropos-section h2 {
    font-size: 1.8rem;
  }
  .montserrat-light {
    font-size: 1.1rem;
  }
}

/* Section rehab */
.rehab-section {
  position: relative;
  padding: 8rem 1rem;
  color: #fff;
  background: #0a0a0a; /* Dark background to separate from hero */
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
}

.rehab-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../img/rehab-bg.jpg'); /* Blueprint image */
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: grayscale(100%) brightness(0.7);
  z-index: 1;
}

.rehab-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.rehab-section h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--magenta);
}
.rehab-section p {
  margin: 0 auto 1.5rem;
  max-width: 700px;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}
.checklist {
  list-style: none;
  max-width: 500px;
  margin: 0 auto 2rem;
  padding-left: 0;
}
.checklist li {
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 30px;
  font-size: 1.1rem;
  animation: fadeInCheck 0.8s ease forwards;
  color: #fff;
}
.checklist li .checkmark {
  position: absolute;
  left: 0;
  color: var(--magenta);
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1;
}
@keyframes fadeInCheck {
  from {opacity: 0; transform: translateX(-20px);}
  to {opacity: 1; transform: translateX(0);}
}

/* Styled success steps */
.styled-steps-container {
  background: var(--);
  margin: 4rem auto;
  padding: 4rem 2rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.styled-success-steps {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

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

.step-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  color: var(--magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.step-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(230, 0, 126, 0.4));
}

.step-item:hover .step-icon {
  transform: scale(1.1);
}

.step-item h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
  letter-spacing: 0.05em;
  margin: 0;
  text-transform: uppercase;
}

/* Specific fade-in for steps with delay */
.step-item.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.step-item.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-item:nth-child(1) { transition-delay: 0.1s; }
.step-item:nth-child(2) { transition-delay: 0.3s; }
.step-item:nth-child(3) { transition-delay: 0.5s; }
.step-item:nth-child(4) { transition-delay: 0.7s; }

@media (max-width: 992px) {
  .styled-success-steps {
    flex-direction: column;
    gap: 3rem;
  }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 20px rgba(0, 200, 255, 0.3); }
  50% { box-shadow: 0 0 50px rgba(0, 200, 255, 0.6); }
  100% { box-shadow: 0 0 20px rgba(0, 200, 255, 0.3); }
}

.futuristic-svg {
  width: 100px;
  height: auto;
}

.grid-line {
  stroke: rgba(0, 229, 255, 0.1);
  stroke-width: 0.2;
}

.marker {
  fill: #00e5ff;
}

.marker-text {
  fill: #00e5ff;
  font-size: 3px;
  font-family: monospace;
  opacity: 0.6;
}

.dim-line {
  stroke: #00e5ff;
  stroke-width: 0.3;
  stroke-dasharray: 2 1;
  opacity: 0.4;
}

.wire-path {
  fill: none;
  stroke: #00e5ff;
  stroke-width: 0.8;
  filter: drop-shadow(0 0 2px #00e5ff);
}

@keyframes draw-wire {
  to { stroke-dashoffset: 0; }
}

.scan-line {
  display: none;
}

.glow-text {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: #00e5ff;
  text-shadow: 0 0 8px #00e5ff;
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: 700;
}

/* Add some random stars inside with CSS */
.stars-group::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    radial-gradient(1px 1px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 50% 10%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 80% 40%, #00e5ff, transparent),
    radial-gradient(1px 1px at 10% 80%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 90% 90%, #00e5ff, transparent);
}

@keyframes stars-twinkle {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .success-steps {
    flex-direction: column;
    gap: 3rem;
  }
  .success-line-svg {
    display: none;
  }
}



/* Projects Swiper (Apple TV+ style) */
.projects-swiper-section {
  padding: 8rem 0;
  background: var(--gris-noir);
  overflow: hidden;
}

.projects-swiper {
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 5rem;
  overflow: visible !important; /* To see side slides */
}

.swiper-slide {
  width: 80% !important; /* Slide width on desktop */
  max-width: 1000px;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
  transform: scale(0.9);
  opacity: 0.4;
}

.swiper-slide-active {
  transform: scale(1);
  opacity: 1;
}

.project-slide-content {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7; /* Cinematic aspect ratio */
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.project-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.swiper-slide-active .project-bg-img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 4rem;
  transition: opacity 0.6s ease;
}

.project-info {
  max-width: 600px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.swiper-slide-active .project-info {
  transform: translateY(0);
  opacity: 1;
}

.project-mini-logo {
  height: 30px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.project-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.project-meta {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.project-meta strong {
  color: var(--magenta);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}

/* Swiper UI adjustments */
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.3;
}

.swiper-pagination-bullet-active {
  background: var(--magenta);
  opacity: 1;
}

.swiper-button-next, .swiper-button-prev {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: var(--transition);
}

.swiper-button-next::after, .swiper-button-prev::after {
  font-size: 1.2rem;
  font-weight: bold;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .swiper-slide {
    width: 90% !important;
  }
  .project-slide-content {
    aspect-ratio: 4 / 3;
  }
  .project-overlay {
    padding: 2rem;
  }
  .project-title {
    font-size: 2rem;
  }
  .project-meta {
    font-size: 1rem;
  }
  .swiper-button-next, .swiper-button-prev {
    display: none;
  }
}

/* Pinel Section Overhaul */
.pinel-grid-custom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .pinel-grid-custom {
    grid-template-columns: 1fr;
  }
}

.pinel-item {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  height: 500px;
  background-size: cover;
  background-position: center;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
}

.pinel-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.pinel-overlay {
  background: linear-gradient(to top, rgba(12,12,20, 0.95) 0%, transparent 100%);
  padding: 3rem;
  width: 100%;
  transition: var(--transition);
}

.pinel-overlay h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.pinel-overlay p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
  padding: 100px 5%;
  text-align: center;
  background: var(--gris-sombre);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.cta-section p {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  color: #fff;
}

/* Modal Contact */
.modal-content {
  background: var(--gris-sombre);
  border-radius: var(--card-radius);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}

.modal-header {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 2rem;
}

.modal-body {
  padding: 3rem;
}

.form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  padding: 1rem;
}

.form-control:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--magenta);
  color: #fff;
  box-shadow: none;
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.8rem;
}

/* Map Section */
.map-section {
  padding: 0;
  background: var(--gris-noir);
}

.map-container {
  width: 100%;
  height: 450px;
  filter: grayscale(1) invert(0.9) contrast(1.2); /* Dark theme map */
  opacity: 0.8;
  transition: var(--transition);
}

.map-container:hover {
  filter: grayscale(0.5) invert(0);
  opacity: 1;
}

/* Footer Nav */
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--magenta);
}

/* Footer Overhaul */
.footer {
  background: var(--gris-noir);
  padding: 100px 5% 50px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  max-width: 800px;
  margin: 0 auto 4rem;
}

.footer-content p {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-content a {
  color: var(--magenta);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

.footer-content a:hover {
  color: #fff;
}

.footer-bottom {
  color: var(--text-secondary);
  font-size: 0.95rem;
  opacity: 0.5;
}

@media (max-width: 768px) {
  header.header {
    padding: 0 1.5rem;
  }
  
  .header nav {
    display: none; /* Mobile menu should be burger-based */
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .services-grid, .pinel-grid-custom {
    grid-template-columns: 1fr;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

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

.testimonial-card {
  background: var(--gris-sombre);
  border-radius: var(--card-radius);
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  background: var(--gris-moyen);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.testimonial-content p {
  font-size: 1.2rem;
  font-style: italic;
  color: #fff;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.testimonial-author strong {
  font-size: 1.1rem;
  color: var(--magenta);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

/* FAQ Section */
.faq-section {
  padding: 100px 5%;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: var(--gris-sombre);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

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

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
  padding: 0 2rem 2rem;
  max-height: 1000px;
  transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
  margin-bottom: 0;
  font-size: 1.05rem;
}
