/* ============================================================================
   STYLE-3.CSS — VERSION RESTRUCTURÉE (dédupliquée le 11/09/2026)
   ----------------------------------------------------------------------------
   Ce fichier a été nettoyé automatiquement puis vérifié à la main : pour
   chaque sélecteur redéfini plusieurs fois dans l'ancien fichier (parfois
   3 à 6 fois avec des !important qui s'annulaient entre eux), seule la
   valeur FINALE réellement appliquée à l'écran a été conservée. Le rendu
   visuel doit donc être identique à l'ancien fichier — mais fais quand
   même une vérification visuelle rapide du site avant de remplacer
   l'ancien fichier en production.

   3 points repérés pendant le nettoyage, à vérifier / corriger toi-même :
   1) .intro h2 { color: white } et .order-page h1/.order-page p { color:#000 }
      ne s'appliquaient déjà plus dans l'ancien fichier : les règles
      globales h1,h2,h3,p { color:#fdfdfd !important } plus bas les
      écrasaient. Je les ai laissées (au cas où c'était voulu autrement)
      mais elles sont mortes tant que le !important global existe.
   2) .gallery-btn et .process-btn avaient "font-size: 1.2;" (sans unité) :
      valeur invalide, ignorée par le navigateur — ces deux boutons
      n'avaient donc en réalité AUCUNE taille de texte définie (ils
      héritaient de la taille par défaut). Je leur ai mis 1rem, comme les
      4 autres boutons de la même famille (commander/hero/order/intro-btn),
      pour que les 6 boutons soient enfin cohérents. Vérifie que la taille
      te convient visuellement.
   3) .command-btn (sans "er") n'est utilisé nulle part ailleurs dans ce
      fichier — probablement une classe orpheline. Je l'ai gardée par
      prudence (peut-être utilisée dans le PHP) mais vérifie si elle sert
      encore.
   ============================================================================ */

/* ============================================================
   1. RESET & BASE
   ============================================================ */
:root {
  --gold: #daa520; /* couleur Or signature */
  --space-section: 60px;
  --space-section-mobile: 40px;
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden; /* empêche le défilement horizontal sur mobile */
  margin: 0;
  padding: 0;
}

body {
  color: #daa520;
  font-family: "Cinzel", serif;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #1a1a1a !important;
  width: 100vw;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 40px 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

.container {
  max-width: 1100px;
  width: 95vw;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   2. TYPOGRAPHIE GÉNÉRALE (valeur finale après plusieurs passes
      "purification / luminosité" plus bas dans l'ancien fichier)
   ============================================================ */
h1,
h2,
h3 {
  font-family: "Cinzel", serif;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.3;
  color: #fdfdfd !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  background-image: none !important;
}

p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5Orem;
  line-height: 1.6;
  color: #fdfdfd !important;
  background-image: none !important;
}

span,
strong,
em {
  color: #fdfdfd !important;
  background-image: none !important;
}

/* Ces deux règles n'ont plus d'effet (voir note en tête de fichier) */
.intro h2 {
  color: white;
}
.order-page h1,
.order-page p {
  color: #000000;
}

/* ============================================================
   3. HERO — L'Accueil
   ============================================================ */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  margin: 0;
  background: url("../images/hai-me-con.jpg") center/cover no-repeat;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: 1.3rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #ffffff;
}

.hero-trust {
  margin-top: 30px;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-trust p {
  font-size: 0.9rem;
}

/* ============================================================
   4. TITRES & SOUS-TITRES DE SECTIONS
   ============================================================ */
.intro-title,
.gallery-title,
.category-title,
.order-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}

.testimonials-title {
  font-size: 1.4rem;
  margin-bottom: 40px;
  text-align: center !important;
  width: 100%;
  display: block;
}

.category-subtitle,
.order-subtitle {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
  color: #f9f4f4;
}

.intro-text {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
  color: #e0e0e0 !important;
}
.intro-text p {
  color: rgba(245, 245, 245, 0.897);
}

.gallery-subtitle {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
  font-weight: 600;
  color: #e0e0e0 !important;
}

.process-text h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.mot-cle p {
  font-size: 1.2rem;
  font-weight: bold;
  border: 1px solid #d4af37;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  color: #262424;
}

/* ============================================================
   5. BOUTONS
   ============================================================ */
/* --- Nav (CTA header) --- */
.nav .cta {
  color: #ffffff;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 8px 22px;
  font-family: "Tenor Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  display: inline-block;
}

.nav .cta:hover {
  background-color: #d4af37;
  color: #1a1a1a;
  border-color: #d4af37;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* --- Base commune (boutons "verre dépoli", style final retenu) --- */
.commander-btn,
.hero-btn,
.order-btn,
.intro-btn,
.gallery-btn,
.process-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  color: #fdfdfd !important;
  border: 1px solid #fdfdfd !important;
  border-radius: 5px !important;
  padding: 14px 35px !important;
  font-family: "Cinzel", serif !important;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin-top: 30px;
  text-decoration: none;
}

/* Spécificités qui n'ont pas été écrasées par la suite */
.hero-btn,
.order-btn,
.gallery-btn {
  width: 100%;
  max-width: 300px;
}

.commander-btn {
  display: inline-block; /* écrase le inline-flex de la base */
  margin-top: 60px; /* espace doublé, jamais réécrasé depuis */
}

.gallery-btn,
.process-btn {
  background: rgba(255, 255, 255, 0.03) !important; /* léger effet verre, jamais unifié avec les autres */
  border-color: rgba(218, 165, 32, 0.4) !important;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #000;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #daa520;
  letter-spacing: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: 1.2rem;
  margin-top: 30px;
  gap: 12px;
}

.command-btn {
  font-size: 1.1rem;
  letter-spacing: 1.6px;
}

.button-area {
  margin-top: 80px;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* --- Hover : valeur finale retenue --- */
.gallery-btn:hover,
.order-btn:hover,
.intro-btn:hover,
.category-btn:hover,
.process-btn:hover {
  background-color: #daa520;
  color: #1a1a1a;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  transform: scale(1.02);
}

.commander-btn:hover {
  background: #fdfdfd !important;
  color: #1a1a1a !important;
  border: 1px solid #daa520 !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-btn:hover {
  background: #fdfdfd !important;
  color: #1a1a1a !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
}

/* ============================================================
   6. GRILLES & IMAGES — Galerie / Catégories / Process
   ============================================================ */
.gallery-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 40px auto;
}

.process-container {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1100px;
  margin: auto;
}

.gallery-grid img,
.category-card img,
.process-image img,
.animal img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

.gallery-grid img,
.category-card img {
  aspect-ratio: 1/1;
}

.gallery-grid img:hover,
.category-card:hover,
.animal img:hover {
  transform: translateY(-8px) scale(1.02);
  cursor: pointer;
  filter: brightness(1.1);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.category-card {
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.category-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  text-align: center;
  text-decoration: none !important;
}

.category-card p {
  font-size: 1rem;
  color: #e0e0e0 !important;
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   7. LIGHTBOX
   ============================================================ */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border: 8px solid white;
  border-radius: 8px;
  animation: zoomIn 0.3s ease;
  box-shadow:
    0 0 25px rgba(0, 0, 0, 0.5),
    0 4px 15px #d4af37;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #d4af37;
  font-size: 50px;
  cursor: pointer;
}

/* ============================================================
   8. TÉMOIGNAGES
   ============================================================ */
.testimonials-grid {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 30px !important;
  max-width: 1100px;
  margin: 40px auto !important;
  text-align: center !important;
}

.testimonial {
  flex: 1 !important;
  padding: 25px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.testimonial p {
  font-style: italic;
  font-weight: 500;
  margin-bottom: 15px;
  color: #fdfdfd !important;
  font-size: 1.1rem;
  line-height: 1.7;
}

.testimonial span,
.testimonial strong {
  color: #fdfdfd !important;
  display: block;
  margin-top: 15px;
  font-family: "Cinzel", serif;
  font-style: normal;
  font-weight: bold;
  letter-spacing: 1px;
}

.testimonial em {
  color: #daa520 !important;
  font-family: "Cinzel", serif;
  font-style: normal;
  letter-spacing: 1px;
}

/* ============================================================
   9. ÉTAPES DE COMMANDE (order-steps / step)
   ============================================================ */
.order-steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto;
}

.order-steps h3 {
  color: #fdfdfd !important;
}

.step {
  flex: 1;
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(5px);
  color: #f5f5f5 !important;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  text-align: center;
  text-decoration: none !important;
  color: #fdfdfd !important;
  font-family: "Cinzel", serif !important;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.step p {
  font-size: 1rem;
  text-align: center;
  line-height: 1.5;
  color: #fdfdfd !important;
}

.step-number {
  font-size: 1.6rem;
  font-weight: bold;
  color: #d4af37;
  margin-bottom: 10px;
}

/* ============================================================
   10. FORMULAIRE & PAGE DE COMMANDE
   ============================================================ */
.order-page {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px 25px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  color: #000000;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-form input,
.order-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.order-form textarea {
  height: 150px;
}

.order-form input:focus,
.order-form textarea:focus {
  border-color: #d4af37;
  outline: none;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}

.order-form button {
  background: #111;
  color: #fff;
  padding: 16px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

/* ============================================================
   11. PAGE MEMORY — Sanctuaire, Strip photo, Focus
   ============================================================ */
.memory-sanctuary {
  background-color: #1a1a1a !important;
  border: none !important;
  outline: none !important;
  margin-top: -1px !important;
  padding-bottom: 10px;
}

.memory-info {
  padding: 15px;
  background: white;
  border-radius: 0 0 12px 12px;
  margin-top: -12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.memory-info h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 5px;
}

.memory-strip {
  background-color: #2b2b2b;
  padding: 15px 0;
  border-bottom: 2px solid #daa520;
  margin-bottom: 0px;
}

.strip-wrapper {
  display: flex !important;
  justify-content: flex-start !important;
  padding-left: 50px;
  padding-right: 50px;
  gap: 15px;
  overflow-x: auto;
  width: 100%;
  scrollbar-width: none; /* Firefox */
}
.strip-wrapper::-webkit-scrollbar {
  display: none; /* Chrome / Safari */
}

.memory-thumb {
  width: 240px;
  height: 160px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s ease;
}

.memory-thumb:hover,
.memory-thumb.active {
  border-color: #daa520;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.container-relative {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.strip-nav {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strip-nav:hover {
  color: #daa520;
  background: rgba(0, 0, 0, 0.8);
}

.strip-nav.prev {
  left: 10px;
}
.strip-nav.next {
  right: 10px;
}

.focus-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.focus-content h2 {
  font-size: 2.2rem;
  color: #1a1a1a;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.focus-content p {
  font-size: 1.4rem;
  color: #555;
  margin-bottom: 15px;
  font-style: italic;
}

.focus-image img {
  max-height: 65vh;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.focus-grid {
  background: #1a1a1a;
  border: 2px solid #daa520;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.memory-focus {
  background-color: #1a1a1a !important;
  background-image: linear-gradient(
    135deg,
    #1a1a1a 25%,
    #222 25%,
    #222 50%,
    #1a1a1a 50%,
    #1a1a1a 75%,
    #222 75%,
    #222 100%
  );
  background-size: 400px 400px;
  border: none !important;
  outline: none !important;
  margin-top: -1px !important;
  padding: 60px 0;
  color: white;
}

#portrait-desc {
  color: #ffffff;
}

#portrait-title {
  font-family: "Cinzel", serif;
  letter-spacing: 4px;
  color: #1a1a1a;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

/* ============================================================
   12. ENGAGEMENT ARTISTE (bandeau "marbre noir")
   ============================================================ */
.artist-commitment {
  background-color: #1a1a1a !important;
  border: none !important;
  border-top: 1px solid #eee;
  outline: none !important;
  margin-top: -1px !important;
  padding: 30px;
  text-align: center;
  color: #daa520;
}

.artist-commitment:hover .poetry-line {
  color: #000;
  transition: 0.5s;
}

.commitment-content .poetry-line {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 15px;
}

.commitment-content .shipping-line {
  font-family: "Cinzel", serif;
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: #daa520;
  text-transform: uppercase;
}

/* ============================================================
   13. DIVERS — Masonry, header, grille libre
   ============================================================ */
.grid {
  margin: 0 auto;
}

.gallery-item-a {
  float: left;
  width: 300px;
  margin-bottom: 15px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

/* ============================================================
   14. RESPONSIVE — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  .gallery-grid,
  .category-grid,
  .process-container,
  .testimonials-grid,
  .order-steps,
  .focus-grid,
  .memory-showcase {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 0 15px !important;
  }

  .gallery-grid img,
  .category-card img,
  .portrait-frame,
  .focus-image {
    max-width: 290px !important;
    width: 100% !important;
  }

  .memory-thumb {
    width: 55px !important;
    height: 55px !important;
  }
}
