* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #050505;
  color: white;
  overflow-x: hidden;
}

/* ANIMATIONS */
body.fade-in {
  animation: pageFadeIn 0.8s ease;
}

body.fade-out {
  animation: pageFadeOut 0.5s ease forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(15px);
  }
}

nav a.active {
  opacity: 0.4;
}

/* HERO */
.hero-page {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 150px 40px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("ND (1).png") center/cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.section-label {
  display: inline-block;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  margin-bottom: 20px;
}

.hero-text p {
  max-width: 650px;
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* CONTACT SECTION */
.contact-section {
  padding: 80px 40px 100px;
  background: #050505;
}

.contact-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.contact-left,
.contact-right {
  width: 100%;
}

/* BOXES */
.contact-form-box,
.contact-info-box {
  background: rgba(255,255,255,0.03);
  border-radius: 24px;
  padding: 35px;
}

.contact-form-box {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.contact-form-area h2,
.contact-info-box h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.form-message {
  margin-bottom: 20px;
  color: lightgreen;
}

/* FORMULAIRE */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  color: white;
  font-size: 16px;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
  padding: 14px 24px;
  background: white;
  color: black;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
}

.contact-form button:hover {
  transform: translateY(-3px);
}

/* FLOU UNIQUEMENT SUR LA PARTIE GAUCHE */
.blurred {
  filter: blur(6px);
  pointer-events: none;
  opacity: 0.6;
}

/* OVERLAY UNIQUEMENT SUR LE FORMULAIRE */
.contact-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.65);
  border-radius: 24px;
  z-index: 10;
  text-align: center;
  padding: 30px;
}

.contact-overlay h2 {
  color: white;
  margin-bottom: 10px;
}

.contact-overlay p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  max-width: 420px;
  line-height: 1.6;
}

/* BOUTONS OVERLAY */
.contact-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-buttons a {
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
}

.contact-buttons a:first-child {
  background: white;
  color: black;
}

.contact-buttons a:last-child {
  border: 1px solid white;
  color: white;
}

/* INFOS CONTACT */
.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card {
  background: rgba(255,255,255,0.03);
  border-radius: 18px;
  padding: 22px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.contact-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.05);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item img {
  width: 100px;
  height: 100px;
  padding: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  object-fit: contain;
}

.contact-item h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.contact-item p {
  color: #aaa;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: black;
  color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .hero-page,
  .contact-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-page {
    padding-top: 170px;
  }

  .contact-form-box,
  .contact-info-box {
    padding: 24px;
  }

  .contact-form-box {
    min-height: 480px;
  }
}