/* ---------- RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.4;
  scroll-behavior: smooth;
}
h1, h2, h3, h4, .display {
  font-weight: 600;
  letter-spacing: -0.02em;
}
.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.section-title:after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 15px;
  width: 140px;
  height: 2px;
  background: #000;
}
.text-center .section-title:after {
  left: 50%;
  transform: translateX(-50%);
}

/* Layout */
.container-custom {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}
section {
  padding: 7rem 0;
  border: 1px solid #dedede;
  box-shadow: 0px 0px 2px rgba(150,150,150,0.4);
}
section .text-center .text-muted{
  margin-top: 35px !important;
  margin-bottom: 25px !important;
}
.bg-light-custom {
  background-color: #f8f8f8;
}

/* ---------- NAVIGATION ---------- */
.navbar {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  transition: all 0.2s;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: #000;
}

.nav-link {
  font-weight: 500;
  color: #2c2c2c;
  margin: 0 0.3rem;
  transition: 0.2s;
  position: relative;
}
.nav-link:hover {
  color: #000;
}

/* ---------- HERO PARALLAX VIDEO (1000px) ---------- */
.hero {
  position: relative;
  height: 1000px;
  overflow: hidden;
  background: url(img/header.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
  margin-top: 80px;
}
.hero-content h1 {
  font-size: 4.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.hero-content p {
  font-size: 1.2rem;
  max-width: 650px;
  margin-bottom: 3rem;
  opacity: 0.9;
}
.btn-primary-custom {
  background: #fff;
  color: #000;
  border: none;
  padding: 1rem 5rem;
  font-weight: 600;
  transition: 0.2s;
  text-decoration: none;
  border: 1px #fff solid;
}

.btn-primary-custom:hover {
  background: #ffffff00;
  border: 1px #fff solid;
  color: #fff;
}
.btn-outline-custom {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  padding: 1rem 5rem;
  font-weight: 500;
  transition: 0.2s;
  text-decoration: none;
}
.btn-outline-custom:hover {
  background: #fff;
  color: #000;
    border: 1px #fff solid;
}
.video-credit {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 3;
  background: rgba(0,0,0,0.5);
  padding: 4px 12px;
  font-size: 0.7rem;
  color: white;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.row span{
  margin-top:5px;
  margin-bottom:10px;
}

#presentation span,#objectif span{
  margin-top: 25px!important;
  margin-bottom: 5px!important;
  margin-left: 3px;
}

#presentation h2,#objectif h2{
  margin-bottom: 30px!important;
}

#presentation p,#objectif p{
  margin-top: 2px;
}

#presentation img,#objectif img{
  border: 1px solid #ededed;
  box-shadow: 0px 1px 1px rgba(200,200,200,0.3);
}


/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.service-card {
  background: #fff;
  padding: 3rem;
  border: 1px solid #cdcdcd;
  box-shadow: 1px 1px 5px rgba(150,150,150,0.4);
  transition: 0.7s!important;
  text-align: center;
}
.service-card:hover {
  border-color: #222;
  box-shadow: 0 20px 30px -15px rgba(0,0,0,0.05);
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  color: #000;
}

.service-card h3{
  margin-bottom: 1em;
}

.service-card p{
  padding: 1.5rem 0.5rem;
  border-top: 2px solid #aaa;
}

/* ---------- PROJETS ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.project-card {
  background: #fff;
  transition: 0.25s;
  text-align: center;
  border: 1px solid #cdcdcd;
  box-shadow: 1px 1px 5px rgba(150,150,150,0.4);
  transition: 0.7s!important;
}
.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.project-info {
  padding: 3rem 2rem;
}
.project-info h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.project-info p{
  padding-top: 1.5rem;
  border-top:2px solid #aaa ;
}

/* ---------- TÉMOIGNAGES ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #fff;
  padding: 3rem;
  border: 1px solid #cdcdcd;
  box-shadow: 1px 1px 5px rgba(150,150,150,0.4);
  text-align: center;
  transition: 0.7s!important;
}

.testimonial-card:hover {
  border: 1px solid #222;
}

.stars {
  margin-bottom: 1rem;
  color: #222;
}

.testimonial-card p {
  margin-top: 25px !important;
}

/* ---------- FORMULAIRE RGPD ---------- */

.contact-form {
  background: #fff;
  border: 1px solid #cdcdcd;
  box-shadow: 1px 1px 5px rgba(150,150,150,0.4);
  padding: 4rem;
}

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

.form-control-custom {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  background: #fff;
  font-family: inherit;
}
.form-control-custom:focus {
  outline: none;
  border-color: #000;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
}
.btn-dark-custom {
  background: #000;
  border: none;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  color: #fff;
  width: 100%;
  transition: 0.2s;
}
.btn-dark-custom:hover {
  background: #2c2c2c;
}

/* ---------- FOOTER ---------- */
footer {
  background: #f5f5f5;
  padding: 3rem 0;
  border-top: 1px solid #e2e2e2;
}

/* ---------- ANIMATION FADE-UP ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .projects-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content h1 { font-size: 3.5rem; }
}
@media (max-width: 768px) {
  
  .container{
    padding: 0.2rem 1rem !important;
  }
  
  .container-custom{
     padding: 0rem 1rem;
  }

  #objectif span{
      margin-top: 50px!important;
  }

  .projects-grid, .testimonials-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    height: 800px; 
  }
  .section-title { 
    font-size: 2.2rem; 
  }

  .hero-content { 
    margin-top: 20px;
  }

  .hero-content h1 { 
    font-size: 2.5rem; 
  }

  .hero-content div{ 
    width: 100%;
  }

  .contact-form {
    padding: 4rem 2rem;
    width:100%;
  }

  .btn-primary-custom,.btn-outline-custom{
    display: block!important; 
    padding: 15px;
    width:100%;  
  }
  
  .btn-outline-custom{
      margin-top: 20px;
  }
  
}
