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

html {
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* =========================
   HEADER / NAV (COMMUN)
========================= */
header {
  padding: 20px 50px;
  font-weight: 500;
  font-style: italic;
  font-size: larger;
  text-align: center;
  position: relative;
  z-index: 10;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

nav a {
  display: inline-block;
  padding: 6px 10px;
}

/* =========================
   FOOTER
========================= */
footer {
  padding: 20px 50px;
  background-color: aliceblue;
  font-weight: 500;
  font-size: larger;
  text-align: center;
  margin-top: 30px;
}

/* =========================
   LOGO / PLATINE
========================= */
.platine {
  text-align: center;
  position: relative;
  z-index: 1;
}

.platine img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* =========================
   HERO (COMMUN)
========================= */
.hero {
  padding-top: 20px;
  padding-bottom: 0;
}

.hero header {
  padding-top: 0;
  padding-bottom: 0;
}

.hero .platine {
  margin-top: 10px;
}

/* =========================
   ACCUEIL : TEXTE
========================= */
.texte {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
  font-size: 1.2rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.btn-contact {
  display: inline-block;
  background: rgb(70, 67, 219);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 1.1rem;
  margin-top: 20px;
}

/* =========================
   MAIN (COMMUN)
========================= */
main {
  margin: 0 auto 40px;
  padding: 0 20px;
  max-width: 1100px;
}

/* =========================
   TITRES DE PAGE
========================= */
.page-title {
  text-align: center;
  margin: 20px 0;
}

/* =========================
   PRESTATIONS
========================= */
.page-prestations {
  max-width: 1100px;
  margin: 20px auto 40px;
  padding: 0 20px;
}

.bloc-prestation {
  margin-bottom: 40px;
  color: rgb(79, 40, 251);
}

.bloc-prestation h1 {
  background: rgba(84, 85, 82, 0.95);
  color: white;
  border-radius: 50px;
  padding: 15px 20px;
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.bloc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  min-width: 0;
}

.bloc.reverse { flex-direction: row-reverse; }

.image-prestation { flex: 0 0 auto; }

.image-prestation img {
  display: block;
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 10px;
}

.tarifs {
  flex: 1 1 360px;
  text-align: center;
  min-width: 0;
}

.tarifs h2 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.cta1 {
  background: linear-gradient(135deg, #6d28d9, #9333ea);
  color: #ffffff;
  transition: all 0.3s ease;
}

.cta1:hover {
  background: linear-gradient(135deg, #5b21b6, #7e22ce);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.4);
}

.cta {
  background: #0f172a;          /* bleu nuit profond */
  color: #ffffff;
  border: 2px solid #1e293b;
  transition: all 0.3s ease;
}

.cta:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.cta2 {
  background: #000000;
  color: #d4af37;     /* doré */
  border: 2px solid #d4af37;
  transition: all 0.3s ease;
}

.cta2:hover {
  background: #d4af37;
  color: #000000;
  transform: translateY(-2px);
}

/* OPTIONS */
.options { margin-top: 20px; text-align: center; }

.options h2 {
  background: rgba(84, 85, 82, 0.95);
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 10px;
}

/* =========================
   GALERIE (corrigée : vignettes non énormes)
========================= */
.grid-galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  padding: 20px;

}

.grid-galerie a {
  display: block;
  overflow: hidden;     /* cache le dépassement */
  border-radius: 10px;  /* optionnel */
}

.grid-galerie img {
  width: 100%;
  height: 240px;        /* <-- taille des vignettes */
  object-fit: cover;    /* recadrage propre */
  display: block;
}

/* petit zoom au survol (optionnel) */
.grid-galerie a:hover img {
  transform: scale(1.03);
  transition: transform 0.2s ease;
}

/* =========================
   CONTACT (base)
========================= */
.formulaire {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.formulaire div {
  margin-top: 15px;
  text-align: left;
}

.formulaire label {
  display: block;
  margin-bottom: 5px;
}

.formulaire input,
.formulaire textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font: inherit;
}

.cta-mail {
  display: inline-block;
  background: rgb(70, 67, 219);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 1.1rem;
  margin-top: 20px;
}

/* =========================
   RESPONSIVE
========================= */
@media screen and (max-width: 996px) {
  header { padding: 10px 20px; }

  .texte {
    font-size: 1rem;
    padding: 20px 15px;
  }

  .bloc, .bloc.reverse {
    flex-direction: column;
    align-items: center;
  }

  .image-prestation img {
    max-width: 420px;
  }

  .grid-galerie {
    padding: 10px;
    border-width: 8px;
  }

  .grid-galerie img {
    height: 200px; /* vignettes plus petites sur mobile */
  }
}

/* =========================
   MENU AUTOUR DU LOGO (>=768px)
   Utilisé sur index.html, presta, galerie si hero--home
========================= */
@media screen and (min-width: 768px) {
  .hero--home {
    display: grid;
    grid-template-columns: auto 1000px auto;
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: center;
    gap: 40px 60px;
  }

  .hero--home header {
    grid-column: 1 / span 3;
    grid-row: 1;
    padding: 0;
  }

  .hero--home nav {
    display: grid;
    grid-template-columns: 1fr 1000px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: center;
    gap: 18px 0;
  }

  .hero--home nav a:nth-child(1) { grid-column: 1; grid-row: 1; justify-self: end; }
  .hero--home nav a:nth-child(2) { grid-column: 1; grid-row: 2; justify-self: end; }
  .hero--home nav a:nth-child(3) { grid-column: 3; grid-row: 1; justify-self: start; }
  .hero--home nav a:nth-child(4) { grid-column: 3; grid-row: 2; justify-self: start; }

  .hero--home .platine { grid-column: 2; grid-row: 1; }

  .hero--home .platine img {
    width: 1000px;
    max-width: none;
  }

  .hero--home .texte {
    grid-column: 1 / span 3;
    grid-row: 2;
    text-align: center;
    margin-top: 30px;
  }
}

/* ===== PRESTATIONS : TEXTE EN NOIR (corrige le bleu) ===== */
.bloc-prestation {
  color: #111; /* noir élégant */
}

/* Garde le titre de section en violet/bleu si tu veux, sinon change aussi */
.bloc-prestation h1 {
  color: #fff; /* déjà blanc sur fond sombre */
}

/* Paragraphes plus lisibles */
.tarifs p {
  color: #111;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ===== BOUTONS : BASE COMMUNE (cta, cta1, cta2) ===== */
.cta, .cta1, .cta2 {
  display: inline-block;
  margin: 10px 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* ===== CTA (Noir / Or) ===== */
.cta {
  background: #000000;
  color: #d4af37;
  border-color: #d4af37;
}

.cta:hover {
  background: #d4af37;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

/* ===== CTA1 (Noir / Blanc) : sobre pour les formules anniversaire ===== */
.cta1 {
  background: #111827;      /* noir bleuté pro */
  color: #ffffff;
  border-color: #111827;
}

.cta1:hover {
  background: #0b1220;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

/* ===== CTA2 (Premium + Or plus marqué) ===== */
.cta2 {
  background: #000000;
  color: #ffd166;          /* or plus lumineux */
  border-color: #ffd166;
}

.cta2:hover {
  background: #ffd166;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}