/* ===== BASE – IDENTITÉ CINÉPROD ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #0a0a0a09;
  color: #fff;
  overflow-x: hidden;
}

/* ===== FONT VIDEO ===== */
#myVideo {
position: fixed;
top: 0;
left: 0;
width: 100% !important;
height: 100%;
z-index: -1;
pointer-events: none;
height: 100vh;
width: 100%;
object-fit: fill;
}

/* ===== TYPOGRAPHIE ===== */
.font-montserrat {
  font-family: 'Montserrat', sans-serif;
}
.font-roboto {
  font-family: 'Roboto', sans-serif;
}

/* ===== SECTIONS COMMUNES ===== */
header,
section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0f5e;
  border-top: #adadad3a 1px solid;
  border-bottom: #222121f0 1px solid;
}

header h1,  header p {
  margin-bottom:10px!important;
}

header .tracking-widest{
  margin-bottom:50px!important;
}



header,
section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0f5e;
  border-top: #adadad3a 1px solid;
  border-bottom: #222121f0 1px solid;
}

#services,
#team,
#contact {
background: #050508f5;
border-top: #adadad4a 1px solid;
border-bottom: #adadad3c 1px solid;
padding: 150px 10px;
}

#portfolio,
#avis {
padding: 150px 10px;
}

#contact .items-start {
border-bottom: #adadad3c 1px solid;
}

/* ===== TITRES DE SECTION ===== */
.section-title {
  position: relative;
  display: inline-block;
  font-weight: 700;
  padding-bottom: 20px !important;
  font-size: 40px !important;
  border-bottom: linear-gradient(90deg, #f97316, #d4a853) solid 1px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, #f97316, #d4a853);
  border-radius: 2px;
}

.section-title-center{
  font-weight: 700;
  padding-bottom: 20px !important;
  font-size: 50px !important;
  border-bottom: linear-gradient(90deg, #f97316, #d4a853) solid 1px;
}
.section-title-center::after {
  content: '';
  position: absolute;
  bottom: 52px;
  left: 50%;
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, #f97316, #d4a853);
  border-radius: 2px;
  transform: translateX(-50%);
}

.section-title-center-avis::after {
  bottom: -4px;
}

/* ===== NAVIGATION ===== */
.navbar {
  transition: background 0.4s, box-shadow 0.4s;
}
.navbar-scrolled {
  background: rgba(10, 10, 10, 0.95) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(249, 115, 22, 0.3);
}
.nav-link {
  position: relative;
  color: #cbd5e1;
  transition: color 0.3s;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #f97316, #d4a853);
  transition: width 0.3s;
}
.nav-link:hover {
  color: #f97316;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link.active {
  color: #f97316;
}
.nav-link.active::after {
  width: 100%;
}

/* ===== CARTES ===== */
.card-cine {
  background: #1a1a1a;
  border-radius: 5px;
  padding: 3rem 4rem;
  border: 1px solid #2a2a2a;
  transition: 0.7s ease-in;
  text-align: center;
}
.card-cine:hover {
  transition: 0.7s ease-in;
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.15);
  border-color: #f97316;
}
.card-cine .icon-wrapper {
  width: 74px;
  height: 74px;
  background: rgba(249, 116, 22, 0.11);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 2rem;
  transition: transform 0.3s, background 0.3s;
  border: #f974169c 1px solid;
}
.card-cine h3 {
  margin: 1rem auto 2rem;
}
.card-cine p {
  padding-top: 2rem;
  padding-bottom: 1rem;
  border-top: #adadad2c 1px solid;
}
.card-cine:hover .icon-wrapper {
  transform: scale(1.05);
  background: rgba(249, 115, 22, 0.25);
}

/* ===== AVIS (spécifique) ===== */
.avis .star-container {
  padding-top: 0.5rem;
  padding-bottom: 2rem;
  border-bottom: #adadad3c 1px solid;
  margin-bottom: 1rem;
}
.avis p {
  border-color: transparent !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* ===== BOUTONS ===== */
.btn-primary {
  background: #f97316;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  display: inline-block;
  background: transparent;
  cursor: pointer;
}
.btn-outline:hover {
  background: #fff;
  color: #0a0a0a;
}

/* ===== PORTFOLIO ===== */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  cursor: pointer;
}
.portfolio-item img {
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 100%;
  height: 600px;
  object-fit: cover;
}
.portfolio-item:hover img {
  transform: scale(1.06);
}
.portfolio-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent 95%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.7s;
}
.portfolio-item:hover .overlay {
  opacity: 1;
}
.portfolio-item .overlay h3 {
  transform: translateY(20px);
  transition: transform 0.4s 0.1s;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px #fdfdfd6a solid;
  width: 100%;
}
.portfolio-item .overlay div {
  width: 80%;
}
.portfolio-item:hover .overlay h3 {
  transform: translateY(0);
}

/* ===== FORMULAIRE ===== */
.input-cine {
  background: #0a0a0a;
  border: 1px solid #334155;
  color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 6px;
}
.input-cine:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.1);
}

/* ===== STATS ===== */
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  color: #f97316;
}

/* ===== ÉTOILES ===== */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle var(--duration) infinite alternate;
  opacity: 0.3;
}

@keyframes twinkle {
  0% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(#f97316, #d4a853);
  border-radius: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  body {
    background: url("../images/header.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
  }
  
  section{
    padding:100px 5px!important;
  }
  .section-title,.section-title-center{
    font-size:40px!important;
  }
  .section-title-center-contact::after ,.section-title-center-services::after {
    bottom: 80px;
  }
  .tracking-widest {
     margin-top: 75px;
  }
  
  .btn-primary,.btn-outline{
    width:100%;
    display:block;
    margin-top:5px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  .card-cine {
    padding: 1.5rem 1rem;
  }
  
  #contactForm{
    padding:40px 20px 60px;
  }
  
  #myVideo {
  display: none;
  }
 
}
