/* ============================================================
   BLOOM EVENTS 76 — Décoration événementielle
   Thème : noir profond · or champagne · ivoire
   ============================================================ */

:root {
  --noir: #0b0a08;
  --noir-2: #131109;
  --noir-3: #1b1810;
  --or: #b89552;
  --or-clair: #d9c08a;
  --or-pale: rgba(184, 149, 82, 0.35);
  --ivoire: #f4efe6;
  --gris: #a89f8f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", sans-serif;
  --transition: 0.35s cubic-bezier(0.25, 0.6, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--noir);
  color: var(--ivoire);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--or-clair); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--ivoire); }

::selection { background: var(--or); color: var(--noir); }

/* ---------- Typographie ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ivoire);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.7rem); color: var(--or-clair); }

.surtitre {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.1rem;
}

/* Ornement ligne · point · ligne (rappel du logo) */
.ornement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 1.6rem auto;
  width: min(260px, 60%);
}
.ornement::before, .ornement::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or));
}
.ornement::after { background: linear-gradient(90deg, var(--or), transparent); }
.ornement span {
  width: 5px; height: 5px;
  background: var(--or);
  border-radius: 50%;
  flex-shrink: 0;
}

.texte-or { color: var(--or-clair); }

/* ---------- Layout ---------- */

.conteneur { width: min(1160px, 92%); margin: 0 auto; }

section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }

.centre { text-align: center; }

/* ---------- Header ---------- */

.entete {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0.9rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
/* Fond du header sur un pseudo-élément : un backdrop-filter posé directement
   sur .entete en ferait le bloc conteneur du menu mobile en position fixed */
.entete::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 10, 8, 0.92);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}
.entete.solide::before { opacity: 1; }
.entete.solide {
  box-shadow: 0 1px 0 var(--or-pale);
  padding: 0.5rem 0;
}
.entete .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.marque {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.marque img {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid var(--or-pale);
  transition: transform var(--transition);
}
.marque:hover img { transform: rotate(8deg); }
.marque-nom {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivoire);
  line-height: 1.2;
}
.marque-nom small {
  display: block;
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: var(--or);
}

.nav-principale {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}
.nav-principale a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivoire);
  position: relative;
  padding: 0.4rem 0;
}
.nav-principale a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--or);
  transition: width var(--transition), left var(--transition);
}
.nav-principale a:hover::after,
.nav-principale a.actif::after { width: 100%; left: 0; }
.nav-principale a.actif { color: var(--or-clair); }

.btn-nav {
  border: 1px solid var(--or);
  padding: 0.55rem 1.4rem !important;
  color: var(--or-clair) !important;
}
.btn-nav:hover { background: var(--or); color: var(--noir) !important; }
.btn-nav::after { display: none; }

/* Burger mobile */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
  z-index: 110;
}
.burger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--ivoire);
  margin: 6px auto;
  transition: transform var(--transition), opacity var(--transition);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 0 4rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/arche-mariage-fleurie-rouen.jpeg") center 30% / cover no-repeat;
  animation: heroZoom 18s ease-out forwards;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(11,10,8,0.55) 0%, rgba(11,10,8,0.88) 100%),
    linear-gradient(180deg, rgba(11,10,8,0.65), rgba(11,10,8,0.5) 50%, var(--noir));
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-contenu { width: min(880px, 92%); }
.hero h1 { margin-bottom: 0.5rem; }
.hero h1 em {
  font-style: italic;
  color: var(--or-clair);
}
.hero p.accroche {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ivoire);
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto 2.4rem;
}

.hero-boutons {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Reveal du hero */
.hero-contenu > * { opacity: 0; transform: translateY(24px); animation: reveal 0.9s cubic-bezier(0.2,0.7,0.3,1) forwards; }
.hero-contenu > *:nth-child(1) { animation-delay: 0.15s; }
.hero-contenu > *:nth-child(2) { animation-delay: 0.3s; }
.hero-contenu > *:nth-child(3) { animation-delay: 0.45s; }
.hero-contenu > *:nth-child(4) { animation-delay: 0.6s; }
.hero-contenu > *:nth-child(5) { animation-delay: 0.75s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

.hero-defile {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 56px;
  background: linear-gradient(var(--or), transparent);
  overflow: hidden;
}
.hero-defile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ivoire);
  transform: translateY(-100%);
  animation: defile 2.2s ease-in-out infinite;
}
@keyframes defile { 60% { transform: translateY(100%); } 100% { transform: translateY(100%); } }

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border: 1px solid var(--or);
  color: var(--or-clair);
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color var(--transition);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.6, 0.3, 1);
  z-index: -1;
}
.btn:hover { color: var(--noir); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.btn-plein {
  background: var(--or);
  color: var(--noir);
}
.btn-plein::before { background: var(--or-clair); transform: scaleX(1); z-index: -1; }
.btn-plein:hover { color: var(--noir); }

/* ---------- Sections alternées ---------- */

.section-sombre { background: var(--noir-2); }

/* fine bordure or en haut de section sombre */
.section-sombre::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(400px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or-pale), transparent);
}

/* ---------- Présentation (accueil) ---------- */

.presentation-grille {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.presentation-grille .photo-cadre { order: 2; }

.photo-cadre {
  position: relative;
  padding: 0;
}
.photo-cadre img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.92);
}
.photo-cadre::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--or-pale);
  z-index: -1;
  transition: inset var(--transition);
}
.photo-cadre:hover::after { inset: 8px -8px -8px 8px; }

.liste-evenements {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.liste-evenements li {
  list-style: none;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--or-pale);
  border-radius: 99px;
  color: var(--gris);
  transition: border-color var(--transition), color var(--transition);
}
.liste-evenements li:hover { border-color: var(--or); color: var(--or-clair); }

/* ---------- Cartes prestations ---------- */

.cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  margin-top: 3.2rem;
}

.carte {
  background: var(--noir-3);
  border: 1px solid rgba(184, 149, 82, 0.18);
  padding: 2.6rem 2.2rem;
  text-align: left;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}
.carte:hover { transform: translateY(-6px); border-color: var(--or); }
.carte::before {
  content: "";
  position: absolute;
  top: 0; left: 2.2rem;
  width: 44px; height: 2px;
  background: var(--or);
}
.carte h3 { margin-bottom: 1rem; }
.carte ul { list-style: none; margin-top: 0.6rem; }
.carte ul li {
  padding: 0.32rem 0 0.32rem 1.5rem;
  position: relative;
  color: var(--gris);
  font-size: 0.98rem;
}
.carte ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.95em;
  width: 14px; height: 1px;
  background: var(--or);
}

/* ---------- Galerie ---------- */

.galerie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.galerie figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
}
.galerie figure:nth-child(2),
.galerie figure:nth-child(5) { transform: translateY(1.6rem); }
.galerie img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1), filter 0.8s;
  filter: saturate(0.9);
}
.galerie figure:hover img { transform: scale(1.06); filter: saturate(1.05); }
.galerie figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.2rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivoire);
  background: linear-gradient(transparent, rgba(11,10,8,0.85));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.galerie figure:hover figcaption { opacity: 1; transform: none; }

/* ---------- Zone d'intervention ---------- */

.zone-bloc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  margin-top: 2.8rem;
}
.zone-item {
  border: 1px solid rgba(184, 149, 82, 0.18);
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: border-color var(--transition);
}
.zone-item:hover { border-color: var(--or); }
.zone-item .pictogramme {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--or);
  display: block;
  margin-bottom: 0.6rem;
}

/* ---------- Bandeau CTA ---------- */

.cta-bandeau {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(184,149,82,0.16), transparent 60%),
    var(--noir-2);
}
.cta-bandeau h2 { max-width: 720px; margin: 0 auto 1rem; }
.cta-bandeau p { color: var(--gris); max-width: 560px; margin: 0 auto 2.2rem; }

/* ---------- Page intérieure : hero court ---------- */

.hero-page {
  padding: 10rem 0 4.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -30%, rgba(184,149,82,0.14), transparent 65%),
    var(--noir);
}

/* ---------- Prestations détaillées ---------- */

.prestation-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.prestation-detail.inverse .photo-cadre { order: -1; }
.prestation-detail .photo-cadre { position: sticky; top: 110px; }

.sous-listes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
  margin-top: 1.8rem;
}
.sous-liste {
  border-top: 1px solid var(--or-pale);
  padding-top: 1rem;
}
.sous-liste h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--or-clair);
  margin-bottom: 0.6rem;
}
.sous-liste ul { list-style: none; }
.sous-liste li {
  color: var(--gris);
  font-size: 0.96rem;
  padding: 0.22rem 0;
}

/* ---------- Contact ---------- */

.contact-grille {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.info-contact { list-style: none; margin-top: 2rem; }
.info-contact li {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(184, 149, 82, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.info-contact .etiquette {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--or);
}
.info-contact a, .info-contact span.valeur {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ivoire);
}
.info-contact a:hover { color: var(--or-clair); }

/* Formulaire */

.formulaire {
  background: var(--noir-3);
  border: 1px solid rgba(184, 149, 82, 0.18);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.champ { margin-bottom: 1.5rem; }
.champ-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
label {
  display: block;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--or-clair);
  margin-bottom: 0.5rem;
}
label .obligatoire { color: var(--or); }
input, select, textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(184, 149, 82, 0.35);
  padding: 0.7rem 0.1rem;
  color: var(--ivoire);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  transition: border-color var(--transition);
  border-radius: 0;
}
select { appearance: none; cursor: pointer; }
select option { background: var(--noir-2); color: var(--ivoire); }
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--or-clair);
}
input::placeholder, textarea::placeholder { color: rgba(168, 159, 143, 0.55); }

/* champ anti-spam invisible */
.champ-nectar { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.note-form { font-size: 0.85rem; color: var(--gris); margin-top: 1.2rem; }

.alerte {
  padding: 1rem 1.3rem;
  border: 1px solid var(--or);
  background: rgba(184, 149, 82, 0.08);
  margin-bottom: 1.6rem;
  font-size: 0.95rem;
}
.alerte.erreur { border-color: #b85252; background: rgba(184, 82, 82, 0.08); }

/* ---------- Footer ---------- */

.pied {
  background: var(--noir-2);
  border-top: 1px solid rgba(184, 149, 82, 0.2);
  padding: 4rem 0 2rem;
}
.pied-grille {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.pied h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.1rem;
}
.pied ul { list-style: none; }
.pied li { padding: 0.28rem 0; }
.pied p, .pied li, .pied a { color: var(--gris); font-size: 0.95rem; }
.pied a:hover { color: var(--or-clair); }
.pied-logo img {
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 1px solid var(--or-pale);
  margin-bottom: 1rem;
}
.pied-bas {
  border-top: 1px solid rgba(184, 149, 82, 0.12);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: var(--gris);
}

/* ---------- Révélation au scroll ---------- */

.revele {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.revele.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revele { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .presentation-grille,
  .prestation-detail,
  .contact-grille { grid-template-columns: 1fr; }
  .presentation-grille .photo-cadre { order: 0; max-width: 480px; }
  .prestation-detail .photo-cadre { position: static; max-width: 480px; }
  .prestation-detail.inverse .photo-cadre { order: 0; }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .galerie figure:nth-child(2), .galerie figure:nth-child(5) { transform: none; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }

  .burger { display: block; }
  .nav-principale {
    position: fixed;
    inset: 0;
    background: rgba(11, 10, 8, 0.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 105;
  }
  .nav-principale.ouverte { opacity: 1; visibility: visible; }
  .nav-principale a { font-size: 1.05rem; }

  .marque img { width: 46px; height: 46px; }
  .marque-nom { font-size: 1.05rem; }

  .champ-double { grid-template-columns: 1fr; gap: 0; }
  .champ-double .champ { margin-bottom: 1.5rem; }

  .galerie { grid-template-columns: 1fr; gap: 0.8rem; }
  .galerie figure { aspect-ratio: 4 / 3; }
  .galerie figcaption { opacity: 1; transform: none; }

  .pied-grille { grid-template-columns: 1fr; gap: 2rem; }
  .pied-bas { flex-direction: column; text-align: center; }

  .hero-boutons .btn { width: 100%; text-align: center; }
}
