/* ==============================================
   CSS principal - Tarzan Live
   Version nettoyée et responsive - 2026
   ============================================== */

/* === VARIABLES (root) === */
:root {
  --vert: #afe022;
  --noir: #000000;
  --blanc: #ffffff;
  --gris-tres-clair: #f9fafb;
  --gris-clair: #f1f3f5;
  --gris-moyen: #d1d5db;
  --gris-fonce: #4b5563;
  --texte-principal: #111827;
  --texte-secondaire: #374151;
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--gris-tres-clair);
  color: var(--texte-principal);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--noir);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

/* === HEADER - fond blanc fixe === */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 5%;
}

.logo img {
  height: 64px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--texte-principal);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--vert);
}

.btn-primary {
  background: var(--vert);
  color: #000;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.3s;
}

.hamburger {
  display: none;
  font-size: 2.2rem;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
}

/* === HERO (index + mariages) === */
.hero,
.hero-mariages {
  height: 90vh;
  min-height: 680px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.hero {
  background-image: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.78)),
                    url('../images/photo-index.jpg');
}

.hero-mariages {
  background-image: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.78)),
                    url('../images/mariages.jpeg');
}

.hero-content h1 {
  font-size: clamp(3.8rem, 8vw, 7rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.7);
}

.hero-content p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.2rem;
  border: 2px solid white;
  background: transparent;
  color: white;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.btn-hero:hover {
  background: var(--vert);
  color: #000;
  border-color: var(--vert);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(175,224,34,0.38);
}

/* Shine effect */
.btn-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left 0.7s ease;
}

.btn-hero:hover::before {
  left: 100%;
}

/* Bouton contour noir + texte noir + fond transparent (négatif de "Nous contacter") */
.btn-outline-black {
  display: inline-block;
  padding: 1.1rem 2.6rem;              /* un peu réduit par rapport au précédent */
  font-size: 1.25rem;                   /* taille légèrement plus petite */
  font-weight: 600;
  color: #000000 !important;            /* texte noir */
  background: transparent;              /* fond transparent */
  border: 2px solid #000000;            /* contour noir */
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  cursor: pointer;
}

/* Hover : passe au vert Tarzan avec texte noir */
.btn-outline-black:hover {
  background: var(--vert);              /* #afe022 */
  color: #000000 !important;
  border-color: var(--vert);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(175,224,34,0.35);
}

/* Effet shine (lumière qui glisse au hover) */
.btn-outline-black::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.7s ease;
}

.btn-outline-black:hover::before {
  left: 100%;
}



/* === WHY SECTION === */


.why-section {
  margin-top: -6rem;
  position: relative;
  z-index: 10;
}

.why-section-wrapper {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 4rem 2.5rem 3rem;
  margin: 0 auto;
    max-width: 1100px;
  border: 1px solid rgba(175,224,34,0.1);
}

.why-section-wrapper .big-title {
  font-size: 3.4rem;
  margin: 0 0 2rem;
margin-top: -3rem;
  text-align: center;
  color: var(--vert);
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.why-cards .card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.why-cards .card:hover {
  transform: translateY(-10px);
}

.why-cards .card-icon.small {
  font-size: 2rem;
  color: var(--vert);
  background: rgba(175,224,34,0.1);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.why-cards .card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.why-cards .card p {
  font-size: 1rem;
  opacity: 0.85;
}

/* === PRICING GRID (mariages) === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin: 0 auto 3rem;
  max-width: 1600px;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.pricing-content {
  padding: 1.8rem 1.2rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pricing-content h3 {
  font-size: 2rem;
  color: var(--vert);
}

.pricing-content h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.pricing-content .btn-primary.btn-small {
  font-size: 0.88rem;
  padding: 0.65rem 1.4rem;
  white-space: nowrap;
  min-width: 140px;
  max-width: 180px;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
}

/* === MEDLEY PHOTOS === */
.medley-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 220px;
  gap: 1.2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.medley-card {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  background: white;
  transition: transform 0.35s ease;
}

.medley-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(175,224,34,0.25);
}

.medley-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === RESPONSIVE MOBILE === */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    font-size: 2.2rem;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #202528;
    padding: 1.5rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    z-index: 1000;
  }

.nav-links a {
    color: white !important;        /* texte blanc dans le menu déroulant */
    font-size: 1.2rem;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--vert) !important;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 1rem 0;
    text-align: center;
  }

  .btn-primary {
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    min-width: 160px;
    white-space: nowrap;
  }

  .hero h1,
  .hero-mariages h1 {
    font-size: 2.6rem;
    line-height: 1.1;
  }

  .why-cards,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .medley-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  /* Titre "Pourquoi Tarzan Live ?" */
  .why-section .big-title {
    font-size: 3rem !important;       /* plus petit que sur desktop */
    line-height: 1.1 !important;        /* évite les coupures */
    margin-bottom: 1.5rem !important;   /* espace réduit en dessous */
  }

  /* Si tu as d'autres gros titres (ex : hero h1, "À vous de choisir !", etc.) */
  .hero h1,
  .hero-mariages h1 {
    font-size: 2.4rem !important;
    line-height: 1.1 !important;
  }

  h2 {
    font-size: 2rem !important;         /* tous les h2 plus petits sur mobile */
  }

  h3 {
    font-size: 1.4rem !important;
  }

}

#formulaire-contact {
  scroll-margin-top: 120px; /* ajuste selon la hauteur de ton header */

}

/* === FIN DU FICHIER - tout est maintenant propre et organisé === */