/* ======================================================
   GLOBAL RESET & TYPOGRAPHY
====================================================== */

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

body {
  margin: 0;
  background: #f6f7f8;
  color: #1f1f1f;
  font-family: "Roboto Condensed", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}


/* ======================================================
   GLOBAL LAYOUT
====================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 20px;
  position:center;
}

/* ======================================================
   HEADINGS
====================================================== */

/* ======================================================
   HEADINGS – GLOBAL (CENTERED)
====================================================== */

h1,
h2,
h3,
h4,
h5 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  margin-top: 0;
  text-align: center; /* ✅ CENTRAGE GLOBAL */
}

h1 { font-size: 42px; }
h2 { font-size: 34px; margin-bottom: 20px; }
h3 { font-size: 22px; }
/* ======================================================
   HERO (PHOTObooth & PAGES)
====================================================== */

.hero {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.hero img {
  display: block;
  margin: 0 auto 32px;
  max-width: 480px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.12);
}

.hero p {
  font-size: 18px;
  max-width: 760px;
  margin: 0 auto 32px;
  color: #555;
}

/* ======================================================
   CTA (GLOBAL)
====================================================== */

.cta,
.mw-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, #d14c7b, #f0a45d);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cta:hover,
.mw-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.cta.center {
  display: flex;
  margin: 48px auto 0;
}

/* ======================================================
   GALLERY – PHOTObooth
====================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

/* ======================================================
   PACKAGES – PHOTObooth
====================================================== */

.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.package {
  background: #ffffff;
  padding: 36px 30px;
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.package.popular {
  border: 2px solid #f0a45d;
  transform: translateY(-6px);
}

.package .price {
  font-size: 30px;
  font-weight: 700;
  margin: 12px 0;
}

.package .highlight {
  font-size: 14px;
  font-weight: 600;
  color: #f0a45d;
}

.package ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}

.package li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.package li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f0a45d;
  font-size: 22px;
}

/* ======================================================
   FORMS (GLOBAL)
====================================================== */

form {
  max-width: 700px;
  margin: 40px auto 0;
  display: grid;
  gap: 16px;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  font-family: inherit;
}

textarea {
  min-height: 140px;
}

button[type="submit"] {
  align-self: center;
  padding: 14px 36px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #d14c7b, #f0a45d);
  cursor: pointer;
}

/* ======================================================
   MEDIA WALL – ISOLATED (UNCHANGED VISUAL)
====================================================== */

#mediawall-only {
  background: #ffffff;
  color: #1c1c1c;
  font-family: "Roboto Condensed", sans-serif;
}

#mediawall-only .mw-hero {
  text-align: center;
  padding: 80px 20px 60px;
}

#mediawall-only p {
  max-width: 760px;
  margin: 0 auto 20px;
  font-size: 16px;
}
/* ======================================================
   RESET
====================================================== */

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

body {
  margin: 0;
  font-family: "Roboto Condensed", sans-serif;
  background: #ffffff;
  color: #1f1f1f;
}

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

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 44px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #1f1f1f;
  font-weight: 500;
}

.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d14c7b, #f0a45d);
  color: #fff !important;
}

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

.mw-hero {
  text-align: center;
  padding: 80px 20px 40px;
}

.mw-hero h1 {
  font-size: 40px;
  margin-bottom: 12px;
}

.mw-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: #555;
}

/* ======================================================
   MEDIA WALL GALLERY — OPTION 1 MASONRY (OPTIMIZED)
====================================================== */

#mediawall-only {
  padding-bottom: 60px;
}

#mediawall-only .mw-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;

  /* Masonry columns layout */
  column-count: 4;
  column-gap: 12px;
}

#mediawall-only .mw-gallery img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
  border-radius: 4px;

  /* Force 4:4 aspect ratio (better for portraits) */
  aspect-ratio: 4 / 4;
  object-fit: cover;

  /* Prevent images from breaking across columns */
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;

  transition: transform 0.3s ease;
}

#mediawall-only .mw-gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ======================================================
   RESPONSIVE — TABLET
====================================================== */

@media (max-width: 1024px) {
  #mediawall-only .mw-gallery {
    column-count: 3;
    column-gap: 10px;
    padding: 0 16px;
  }

  #mediawall-only .mw-gallery img {
    margin-bottom: 10px;
  }
}

/* ======================================================
   RESPONSIVE — MOBILE (5 COLUMNS + RATIO 1:1)
====================================================== */

@media (max-width: 768px) {
  #mediawall-only {
    padding: 20px 0 40px;
  }

  #mediawall-only .mw-gallery {
    column-count: 5;
    column-gap: 5px;
    padding: 0 12px;
  }

  #mediawall-only .mw-gallery img {
    margin-bottom: 5px;
    /* Change to 1:1 aspect ratio for mobile */
    aspect-ratio: 1 / 1;
  }
}

/* ======================================================
   RESPONSIVE — SMALL PHONES
====================================================== */

@media (max-width: 480px) {
  #mediawall-only .mw-gallery {
    column-gap: 4px;
    padding: 0 8px;
  }

  #mediawall-only .mw-gallery img {
    margin-bottom: 4px;
  }
}
/* ======================================================
   FOOTER
====================================================== */

.footer {
  text-align: center;
  padding: 48px 20px;
  color: #777;
}
/* ======================================================
   FOOTER
====================================================== */

.footer {
  background: #ffffff;
  padding: 64px 20px;
  text-align: center;
}

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

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  .container { padding: 48px 16px; }

  #mediawall-only .mw-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ======================================================
   SECTION VISUAL – PREMIUM IMAGE BLOCK
====================================================== */

.section-visual {
  display: block;
  max-width: 1100px;
  width: 100%;
  margin: 48px auto 64px;
  border-radius: 20px;

  /* Qualité visuelle */
  object-fit: cover;

  /* Effet premium subtil */
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.12),
    0 6px 14px rgba(0, 0, 0, 0.08);

  /* Transition douce (hover desktop only) */
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover léger (desktop) */
@media (hover: hover) {
  .section-visual:hover {
    transform: translateY(-4px);
    box-shadow:
      0 28px 60px rgba(0, 0, 0, 0.16),
      0 10px 22px rgba(0, 0, 0, 0.12);
  }
}

/* Responsive tuning */
@media (max-width: 768px) {
  .section-visual {
    margin: 32px auto 48px;
    border-radius: 14px;
  }
}
/* ======================================================
   SECTION VISUAL – SERVICES & INDEX ONLY
   ====================================================== */

.section-visual {
  display: block;
  width: 100%;
  max-width: 1100px;

  margin: 48px auto 64px;

  border-radius: 18px;

  /* Rendu premium */
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.08);

  object-fit: cover;

  /* Performance & UX */
  background-color: #f0f0f0;
}

/* ======================================================
   RESPONSIVE – SECTION VISUAL
   ====================================================== */

@media (max-width: 1024px) {
  .section-visual {
    max-width: 100%;
    margin: 40px auto 56px;
    border-radius: 14px;
  }
}

@media (max-width: 768px) {
  .section-visual {
    margin: 32px auto 48px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .section-visual {
    margin: 28px auto 40px;
    border-radius: 10px;
  }
}/* ======================================================
   SECTION VISUAL – INSIDE PACKAGE (SERVICES)
   ====================================================== */

.package .section-visual {
  display: block;
  max-width: 85%;
  height: auto;

  margin: 24px auto 28px;
  border-radius: 14px;

  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.10),
    0 2px 6px rgba(0, 0, 0, 0.06);
}
/* ======================================================
   IMAGE WRAPPER – INSIDE PACKAGE (NO CROP)
====================================================== */

.visual-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;

  max-width: 100%;
  height: 220px;          /* 🔥 contrôle VISUEL */
  margin: 20px auto;

  overflow: hidden;      /* sécurité */
}

/* Image elle-même */
.package .section-visual {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;

  object-fit: contain;   /* ⚠️ PAS de crop */
  border-radius: 14px;

  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.10),
    0 2px 6px rgba(0, 0, 0, 0.06);
}

/* ======================================================
   MOBILE – ENCORE PLUS COMPACT
====================================================== */

@media (max-width: 480px) {
  .visual-wrapper {
    height: 140px;        /* 🔥 image VRAIMENT plus petite */
    margin: 14px auto;
  }
}

/* ======================================================
   MAIN NAVIGATION
====================================================== */

.main-header {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.nav-logo img {
  height: 44px;
  width: auto;
}

/* NAV LINKS */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: #1f1f1f;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #f0a45d;
}

/* CTA */
.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d14c7b, #f0a45d);
  color: #fff !important;
  font-weight: 600;
}

.nav-cta:hover {
  opacity: 0.9;
}

/* ======================================================
   RESPONSIVE – MOBILE
====================================================== */

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 14px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
}
/* ======================================================
   STICKY HEADER
====================================================== */

.main-header {
  position: sticky;
  top: 0;
  z-index: 9999;

  background: #ffffff;

  /* Transition douce */
  transition: box-shadow 0.25s ease;
}

/* Effet visuel au scroll (toujours actif sans JS) */
.main-header {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
/* ======================================================
   PREVENT CONTENT OVERLAP
====================================================== */

body {
  scroll-padding-top: 90px;
}

/* =========================
   HONEYPOT – ANTI SPAM
   ========================= */

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  overflow: hidden;
}/* ======================================================
   TESTIMONIALS SLIDER – STABLE VERSION
====================================================== */

.testimonials {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  animation: testimonialSlide 24s infinite ease-in-out;
}

.testimonial {
  min-width: 100%;
  padding: 36px 32px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(0,0,0,0.08);
  text-align: center;
}

.testimonial p {
  font-size: 17px;
  max-width: 700px;
  margin: 0 auto 16px;
}

.testimonial .author {
  font-weight: 600;
  color: #f0a45d;
}

/* Animation fluide, lente, sans écran blanc */
@keyframes testimonialSlide {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(0); }

  33%  { transform: translateX(-100%); }
  53%  { transform: translateX(-100%); }

  66%  { transform: translateX(-200%); }
  86%  { transform: translateX(-200%); }

  100% { transform: translateX(0); }
}

/* Mobile */
@media (max-width: 768px) {
  .testimonial {
    padding: 28px 20px;
  }
}

/* ======================================================
   TRUSTED BRANDS LOGOS
====================================================== */

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  align-items: center;
  justify-items: center;
  margin-top: 48px;
}

/* Logos */
.logos-grid img {
  max-width: 140px;
  max-height: 80px;
  width: auto;
  height: auto;

  object-fit: contain;          /* ✅ JAMAIS DE CROP */
  background: #ffffff;          /* ✅ masque la grille PNG */
  padding: 10px;                /* respiration */

  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

/* =========================
   MOBILE — ULTRA COMPACT
========================= */

@media (max-width: 480px) {
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .logos-grid img {
    max-width: 80px;     /* 🔥 BEAUCOUP PLUS PETIT */
    max-height: 48px;
    padding: 6px;
    box-shadow: none;    /* plus clean mobile */
  }
}