/* ========== RESET & BASE ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #04050c;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(135deg, #03040a, #080b16 45%, #010208);
  background-attachment: fixed;
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Soft color blobs behind the main content */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 6% 12%, rgba(255, 255, 255, 0.07), transparent 30%),
    radial-gradient(circle at 95% 28%, rgba(255, 255, 255, 0.05), transparent 40%),
    radial-gradient(circle at 70% 95%, rgba(255, 255, 255, 0.04), transparent 35%);
  pointer-events: none;
}

/* ========== HEADER ========== */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding-top: 16px;
  pointer-events: none;
}

.header-inner {
  pointer-events: auto;
  background-color: #0e1120;
  border-radius: 999px;
  border: 1px solid #bbb4b7;
  padding: 10px 24px;
  max-width: 1100px;
  width: calc(100% - 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

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

/* ========== NAVIGATION DESKTOP ========== */

.main-nav {
  flex: 1;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
  position: relative;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  opacity: 0.75;
  transform: translateY(-1px);
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* point rouge à côté de la page active */
.nav-link.active+.nav-dot {
  background-color: #d82527;
  transform: scale(1.1);
}

/* ========== BOUTON DEVIS (DESKTOP) ========== */

.btn-devis {
  background-color: #d82527;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.btn-devis:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(216, 37, 39, 0.35);
  background-color: #f23032;
}

.btn-devis-active {
  box-shadow: 0 0 0 2px rgba(216, 37, 39, 0.6);
}

.btn-devis:focus,
.btn-devis:active {
  outline: none;
}

/* Bouton Devis en version mobile (dans le menu déroulant) */
.nav-item-devis {
  margin-top: 8px;
}

.nav-link-devis {
  display: inline-block;
  background-color: #d82527;
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
}

/* ========== BOUTON BURGER ========== */

.nav-toggle {
  display: none;
  /* visible seulement sur mobile */
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  -webkit-appearance: none;
  appearance: none;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: #ffffff;
  margin: 3px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* animation burger -> croix */
.nav-toggle.nav-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.nav-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.nav-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========== HERO VIDEO (ACCUEIL) ========== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 540px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(5, 6, 12, 0.5),
      rgba(5, 6, 12, 0.9));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  padding: 120px 24px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 18px;
}

.hero-text {
  max-width: 550px;
  font-size: 0.98rem;
  opacity: 0.9;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ========== BOUTONS GÉNÉRIQUES ========== */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

.btn-primary {
  background-color: #d82527;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(216, 37, 39, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(216, 37, 39, 0.5);
  background-color: #f23032;
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

/* ========== PAGE CONTENT GÉNÉRAL ========== */

.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 80px;
}

.page-content p {
  text-align: left;
}

/* Justifier uniquement le texte de "À propos de Spriet Production" sur la page d'accueil */
.page-accueil .page-content>.section:first-of-type p {
  text-align: justify;
}

.section {
  padding: 40px 0;
}

.section-light {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), rgba(15, 19, 43, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  margin: 32px 0;
  padding: 40px 24px;
  box-shadow: 0 20px 40px rgba(3, 6, 17, 0.5);
}

.section-inner {
  max-width: 100%;
}

h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.lead {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 650px;
}

/* Layout colonnes */

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 68px;
  margin-top: 32px;
}

.card-highlight {
  background: rgba(14, 17, 32, 0.9);
  border-radius: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(187, 180, 183, 0.4);
}

/* Variante de card-highlight pour la carte avec image (page d'accueil) */
.card-highlight-illustration {
  background: transparent;
  /* plus de fond sombre */
  border: none;
  /* plus de bordure autour */
  padding: 0;
  /* plus de gros padding */
  display: flex;
  justify-content: center;
}

/* Image à côté du bloc "À propos" */
.card-highlight-illustration img.about-image {
  display: block;
  width: 80%;
  max-width: 380px;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
}


/* Réduire le padding de la carte quand elle ne contient qu'une image */
.card-highlight:has(img.about-image) {
  padding: 10px;
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #d82527;
}

/* ========== MA PRESTATION – PAGE MARIAGES ========== */

/* On garde juste un peu de respiration verticale */
.section-prestation-mariage {
  padding-top: 40px;
  padding-bottom: 40px;
  background: transparent;
}

.section-prestation-mariage .section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.section-prestation-mariage .lead {
  max-width: 650px;
  margin-bottom: 24px;
}

.prestation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.prestation-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(187, 180, 183, 0.35);
  background: rgba(14, 17, 32, 0.95);
  display: flex;
  flex-direction: column;
  padding-top: 32px;
}


/* Légère variation de couleur par carte, en écho à ta maquette */
.prestation-card--step1 {
  background: linear-gradient(160deg, rgba(251, 183, 120, 0.18), rgba(14, 17, 32, 0.98));
}

.prestation-card--step2 {
  background: linear-gradient(160deg, rgba(255, 160, 180, 0.18), rgba(14, 17, 32, 0.98));
}

.prestation-card--step3,
.prestation-card--step4 {
  background: linear-gradient(160deg, rgba(255, 180, 210, 0.18), rgba(14, 17, 32, 0.98));
}

/* Pastille “Jour J”, “Post-production”, etc. */
.prestation-pill {
  position: absolute;
  top: 10px;
  left: 18px;

  /* plus de fond ni de capsule */
  background: none;
  border-radius: 0;
  padding: 0;

  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.75;
  color: #e6d9ff;
  /* texte légèrement coloré, dans le ton du site */

  display: inline-block;
}



/* Image de chaque étape */
.prestation-media {
  padding: 12px 16px 0;
  /* espace entre l'image et les bords de la carte */
}

.prestation-media img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  /* coins arrondis */
}

/* Texte de la carte */
.prestation-body {
  padding: 16px 18px 20px;
}

.prestation-body h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.section-prestation-mariage .prestation-card {
  text-align: left;
}

/* On garde tes puces rouges existantes (.checklist) */
.section-prestation-mariage .checklist li {
  font-size: 0.95rem;
}

/* ========== MES RÉALISATIONS – PAGE MARIAGES ========== */

.section-realisations-mariage .section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

.section-realisations-mariage .lead {
  max-width: 650px;
  margin-bottom: 24px;
}

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Conteneur responsive 16:9 pour les iframes */
.video-embed-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 */
  border-radius: 24px;
  overflow: hidden;
  background-color: #000;
}

/* L’iframe occupe tout l’espace du wrapper */
.video-embed-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Titres & meta sous les vidéos */
.video-card h3 {
  margin: 10px 0 2px;
  font-size: 1rem;
}

.video-meta {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ========== MA PRESTATION – PAGE MARIAGES - FIN ========== */

/* Features */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.feature-card {
  background-color: rgba(5, 6, 12, 0.9);
  border-radius: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(187, 180, 183, 0.3);
  font-size: 0.95rem;
}

/* CTA "Parlons de votre mariage" */
.section-mariage-cta .section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  /* marges à gauche / droite */
}

/* Bloc CTA */

.cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #d82527, #81161e);
  margin-top: 24px;
}

.cta-block h2,
.cta-block p {
  margin: 0 0 6px;
}

.cta-block p {
  opacity: 0.9;
}


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

.page-entreprises .section-entreprises-hero {
  position: relative;
  width: 100%;
  overflow: hidden;

  background-image:
    linear-gradient(to bottom, rgba(5, 6, 12, 0.25), rgba(5, 6, 12, 0.9)),
    url("../assets/img/bg-entreprise.webp");
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;

  color: #ffffff;

  min-height: 100vh;
  display: flex;
  align-items: center;

}

/* Contenu centré dans le hero */
.page-entreprises .section-entreprises-hero .section-inner {
  position: relative;
  z-index: 1;

  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.page-entreprises .page-content {
  max-width: none;
  margin: 0;
  padding: 0 0 80px;
  /* on garde juste du padding en bas */
}

/* Mes réalisations – page Entreprises */
.section-realisations-entreprises .section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

/* CTA "On en discute ?" – page Entreprises */
.section-entreprises-cta .section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

/* ========== EVENEMENTS ========== */

/* Mes réalisations – page Événements */
.section-realisations-evenements .section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

/* CTA "On en discute ?" – page Événements */
.section-evenements-cta .section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

/* ========== FORMULAIRE DEVIS ========== */

.devis-form {
  margin-top: 28px;
  background-color: rgba(14, 17, 32, 0.95);
  border-radius: 24px;
  padding: 24px 22px;
  border: 1px solid rgba(187, 180, 183, 0.5);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group-full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.9rem;
  opacity: 0.9;
}

input,
select,
textarea {
  border-radius: 12px;
  border: 1px solid #2a2e45;
  background-color: #05060c;
  color: #ffffff;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #d82527;
  box-shadow: 0 0 0 1px rgba(216, 37, 39, 0.6);
  background-color: #05060c;
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 10px;
  margin-bottom: 18px;
}

/* CTA contact direct sur la page devis */
/* CTA contact direct sur la page devis */
.devis-direct-contact {
  margin-top: 32px;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.devis-direct-contact .devis-contact-text h2 {
  margin-bottom: 8px;
}

.devis-direct-contact .devis-contact-text p {
  margin: 0;
  max-width: 420px;
}

/* Grille des moyens de contact (CTA devis uniquement) */
.devis-direct-contact .contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.devis-direct-contact .contact-item {
  padding: 10px 14px;
  border-radius: 999px;
  background-color: rgba(5, 6, 12, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;

  flex: 0 0 auto;
  /* la bulle suit la taille de son contenu */
  max-width: 100%;
  /* évite de dépasser en très petit écran */
}

.devis-direct-contact .contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  /* plus de rond, plus de fond */
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
}

.devis-direct-contact .contact-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

/* Liens style "footer" mais seulement dans ce bloc */
.devis-direct-contact .contact-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
}

.devis-direct-contact .contact-value:hover {
  text-decoration: underline;
}

/* Sur mobile */
@media (max-width: 600px) {
  .devis-direct-contact {
    gap: 16px;
  }

  .devis-direct-contact .contact-item {
    border-radius: 16px;
  }
}

/* L'email prend plus de largeur dans la grille */


/* ========== FOOTER ========== */

.main-footer {
  border-top: 1px solid rgba(187, 180, 183, 0.25);
  padding: 26px 24px 26px;
  background-color: #05060c;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  font-size: 0.9rem;
}

.footer-bottom {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  opacity: 0.7;
}

.main-footer a {
  color: #ffffff;
  text-decoration: none;
}

.main-footer a:hover {
  text-decoration: underline;
}

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
}

.footer-contact-icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 20px;
  line-height: 1.6;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.page-content hr {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin: 36px 0;
}


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

/* Desktop uniquement : on cache le bouton Devis du menu mobile */
@media (min-width: 901px) {
  .nav-item-devis {
    display: none;
  }

  .btn-devis {
    margin-right: -12px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    gap: 12px;
    padding: 6px 16px;
    max-width: 100%;
  }

  /* affiche le burger sur mobile */
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  /* panneau du menu mobile */
  .main-nav {
    position: absolute;
    top: 70px;
    right: 16px;
    left: 16px;
    background-color: #0e1120;
    border-radius: 20px;
    border: 1px solid #bbb4b7;
    padding: 12px 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);

    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    visibility: hidden;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .main-nav.nav-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .nav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .nav-link {
    display: inline-block;
    padding: 8px 0;
    text-align: center;
    width: auto;
  }

  .nav-dot {
    display: inline-block;
    margin-left: 6px;
  }

  /* cacher le gros bouton Devis desktop sur mobile */
  .btn-devis {
    display: none;
  }

  /* bouton Devis dans le menu mobile : plein largeur */
  .nav-item-devis {
    width: 100%;
    display: block;
    margin-top: 8px;
  }

  .nav-link-devis {
    display: block;
    width: 100%;
    text-align: center;
  }

  .hero-content {
    padding: 120px 18px 50px;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }

  .cta-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .logo-img {
    height: 34px;
  }

  .nav-link {
    font-size: 1rem;
  }

  .page-content {
    padding: 130px 16px 60px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .section-light {
    margin: 24px 0;
    padding: 30px 16px;
  }

  .cta-block {
    padding: 20px 16px;
  }

  .page-mariages .hero-mariages {
    background-position: 75% center;
    /* tu joues avec ce pourcentage */
  }
}

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

.page-mariages .page-content {
  max-width: none;
  /* plein écran pour cette page */
  padding: 0 0 80px;
  /* on garde juste un padding bas */
}

.page-mariages .section-mariages-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  /* grande hauteur pour voir un max de l'image */
  background-image:
    linear-gradient(to bottom, rgba(5, 6, 12, 0.25), rgba(5, 6, 12, 0.85)),
    url("../assets/img/bg_mariage.webp");
  background-size: cover;
  /* garde les proportions, couvre tout en largeur */
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;

  display: flex;
  align-items: center;
  /* centre verticalement le texte */
}

.page-mariages .section-mariages-hero .section-inner {
  max-width: 1100px;
  /* pour ne pas que le texte parte sur 3 km */
  margin: 0 auto;
  padding: 80px 24px;
}

/* ========== HERO ÉVÉNEMENTS ========== */

/* Pleine largeur pour la page Événements */
.page-evenements .page-content {
  max-width: none;
  margin: 0;
  padding: 0 0 80px;
  /* un peu d'air en bas */
}

/* Hero avec image de fond */
.page-evenements .section-evenements-hero {
  position: relative;
  width: 100%;
  /* overflow: hidden;  <-- on enlève */

  background-image:
    linear-gradient(to bottom, rgba(5, 6, 12, 0.25), rgba(5, 6, 12, 0.9)),
    url("../assets/img/bg-evenements.webp");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;

  color: #ffffff;

  /* plus de height fixe */
  min-height: 100vh;
  /* prend au moins la hauteur écran, mais peut grandir si le texte est long */
  display: flex;
  align-items: center;
}


/* Contenu centré dans le hero */
.page-evenements .section-evenements-hero .section-inner {
  position: relative;
  z-index: 1;

  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 24px 60px;
  /* 90 en haut, 60 en bas */
}


.page-evenements .section-evenements-hero h2 {
  margin-top: 50px;
  margin-bottom: 12px;
}


@media (max-width: 768px) {

  .page-mariages .section-mariages-hero,
  .page-mariages .hero-mariages {
    background-position: 20% center !important;
  }

  .page-entreprises .section-entreprises-hero {
    /* on casse le 100vh pour éviter les bugs mobiles */
    height: auto;
    min-height: 99vh;

    /* on décale l'image sur la droite (comme tu as fait pour Mariages) */
    background-position: 40% center;
  }

  .page-evenements .section-evenements-hero {
    background-image:
      linear-gradient(to bottom, rgba(5, 6, 12, 0.25), rgba(5, 6, 12, 0.9)),
      url("../assets/img/bg-event-mobile.webp");
    background-position: center;
  }
}
