:root {
  --deep-blue: #123B4A;
  --sand: #F5EBDC;
  --warm-white: #FFFCF6;
  --terracotta: #D87C5A;
  --success: #2E8B57;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--warm-white);
  color: var(--deep-blue);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ===================== */
/* NAVBAR */
/* ===================== */

.navbar {
  position: fixed;
  top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;

  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease;
}

.navbar.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-container {
  background: rgba(255,255,255,0.85);
  padding: 15px 40px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  display: flex;
  gap: 40px;
  align-items: center;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;	
}

.nav-container ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-container a {
  text-decoration: none;
  color: var(--deep-blue);
  font-weight: 500;
  transition: 0.3s;
}

.nav-container a:hover {
  opacity: 0.6;
}

/* ===================== */
/* HERO */
/* ===================== */

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.15);
  animation: zoom 20s ease-in-out infinite alternate;
}

@keyframes zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.6));
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero-overlay h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 600;
  max-width: 800px;
}

.hero-overlay p {
  margin-top: 20px;
  font-weight: 300;
  font-size: 1.1rem;
}

/* ===================== */
/* SECTIONS */
/* ===================== */

.section {
  padding: 140px 10%;
  text-align: center;
}

.section.light {
  background: var(--sand);
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.3rem;
  margin-bottom: 40px;
}

/* ===================== */
/* CARDS */
/* ===================== */

.cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 60px;
  border-radius: 30px;
  width: 500px;
  box-shadow: 0 40px 40px rgba(0,0,0,0.08);
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-10px);
}

.price {
  background: var(--terracotta);
  color: white;
}

/* ===================== */
/* LOGOS */
/* ===================== */

.logos img {
  width: 140px;
  margin: 30px;
  opacity: 0.6;
  transition: 0.3s;
}

.logos img:hover {
  opacity: 1;
}

/* ===================== */
/* FORMULAIRE PREMIUM */
/* ===================== */

#contact {
  background: linear-gradient(180deg, var(--warm-white), var(--sand));
}

.contact-wrapper {
  max-width: 900px;
  margin: auto;
  padding: 80px 60px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 40px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

/* Texture solaire subtile */
.contact-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 200, 150, 0.25), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(200, 220, 255, 0.2), transparent 40%);
  z-index: 0;
}

.contact-wrapper h2 {
  position: relative;
  z-index: 1;
}

.contact-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 40px;
}

/* Champs */

.contact-form input,
.contact-form textarea {
  padding: 20px 25px;
  border-radius: 25px;
  border: none;
  background: rgba(255,255,255,0.8);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: 0.3s ease;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--terracotta);
  background: white;
}

/* Bouton premium */

#submit-btn {
  padding: 18px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, var(--deep-blue), #1d5568);
  color: white;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

#submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(18, 59, 74, 0.4);
}

/* État succès */

#submit-btn.success {
  background: linear-gradient(135deg, var(--success), #3aa76d);
}

#form-message {
  text-align: center;
  margin-top: 10px;
  font-weight: 500;
}

/* ===================== */
/* ANIMATION REVEAL */
/* ===================== */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media(max-width: 900px){

  .nav-container ul {
    display: none;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .cards {
    gap: 20px;
  }

}

#submit-btn {
  position: relative;
  padding: 18px 40px;
  border-radius: 40px;
  border: none;
  background: var(--deep-blue);
  color: white;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* Texte */
.btn-text {
  transition: opacity 0.3s ease;
}

/* Check */
.checkmark {
  position: absolute;
  right: 30px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s ease;
  font-weight: bold;
}

/* État succès */
#submit-btn.success {
  background: var(--success);
}

#submit-btn.success .btn-text {
  opacity: 0;
}

#submit-btn.success .checkmark {
  opacity: 1;
  transform: scale(1.2);
}

/* ===================== */
/* BOUTON CONTACT PRIX */
/* ===================== */

.price-amount {
  font-size: 1.2rem;
  margin: 15px 0 25px;
  font-weight: 600;
}

.contact-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 40px;
  background: white;
  color: var(--terracotta);
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
}

.price .contact-btn {
  background: white;
  color: var(--deep-blue);
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===================== */
/* PRESTATIONS RECTANGLES */
/* ===================== */

.service-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 60px;
}

.service-item {
  background: white;
  padding: 50px 60px;
  border-radius: 35px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
  transition: 0.4s ease;
  text-align: left;
}

.service-item:hover {
  transform: translateY(-6px);
}

.service-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.service-text p {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 700px;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

