/* ===== BASE ===== */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #000;
  color: #fff;
}

a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.65;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.5);
}

.hero h1 {
  font-size: 4rem;
  letter-spacing: 5px;
  text-align: center;
}

/* Copyright sur la vidéo */
.hero-copyright {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
  pointer-events: none;
}

/* ===== BOUTON ===== */
.centredubutton {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

#button1 {
  padding: 14px 40px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
}

#button1:hover {
  opacity: 0.7;
}

/* ===== SECTIONS ===== */
.section {
  padding: 120px 10%;
  text-align: center;
}

.intro p {
  max-width: 700px;
  margin: auto;
  line-height: 1.8;
}

/* ===== PROJETS ===== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project {
  position: relative;
  overflow: hidden;
}

.project img,
.project video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.project span {
  position: absolute;
  bottom: 20px;
  left: 20px;
  opacity: 0;
  transition: 0.5s;
}

.project:hover img,
.project:hover video {
  transform: scale(1.1);
}

.project:hover span {
  opacity: 1;
}

/* ===== CONTACT ===== */
form {
  max-width: 500px;
  margin: auto;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  background: #111;
  border: none;
  color: #fff;
}

/* Réseaux sociaux */
.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 1.2rem;
  letter-spacing: 1px;
  background: transparent;
  transition: 0.3s ease;
}

.socials a:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

/* ===== FOOTER ===== */
footer {
  padding: 30px;
  text-align: center;
}