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

/* =========================
   BODY
========================= */
body {
  font-family: Arial, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* =========================
   TOP BAR
========================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;

  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  z-index: 1000;
}

.topbar img {
  display: block;
  height: 80px;
  width: auto;
}

/* =========================
   HERO (VIDEO)
========================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 100%;
  height: 100%;

  object-fit: cover;
  transform: translate(-50%, -50%);

  z-index: 0;
  pointer-events: none;
}

/* OVERLAY */
.hero::after {
  display: none;
}

/* =========================
   MOCKUP
========================= */
.mockup {
  position: absolute;
  top: 13%;
  left: 50%;
  transform: translateX(-50%);

  text-align: center;
  z-index: 3;

  text-decoration: none;
  color: #fff;
}

/* IMAGE LIVRE */
.mockup img {
  width: 180px;
  max-width: 60vw;

  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.8));
  transition: transform 0.3s ease;
}

.mockup:hover img {
  transform: scale(1.05);
}

/* TEXTE */
.mockup-info {
  margin-top: 10px;
}

/* TITRE */
.mockup-info .title {
  font-size: clamp(0.8rem, 3vw, 1rem);
  white-space: nowrap;
}

/* SOUS-TITRE */
.mockup-info .subtitle {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* PRIX */
.mockup-info .price {
  font-size: 0.9rem;
  opacity: 0.8;
}

.scroll-indicator {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);

  font-size: 1.5rem;
  opacity: 0.7;

  z-index: 3;

  animation: bounce 2s infinite;
}

/* Animation douce */
@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

  .topbar {
    height: 70px;
  }

  .topbar img {
    height: 60px;
  }

  .mockup {
    top: 20%;
  }

  .mockup img {
    width: 140px;
  }

  .mockup-info .title {
    font-size: clamp(0.7rem, 4vw, 0.9rem);
  }

  .mockup-info .subtitle,
  .mockup-info .price {
    font-size: 0.8rem;
  }
}


/* =========================

   GRAVURES

========================= */


.gravures-container {
  position: absolute;
  top: 55%;
  left: 0;
  width: 100%;

  transform: translateY(-50%);

  display: flex;
  gap: 30px;
  padding: 0 20px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
}


.gravures-container::-webkit-scrollbar {

  display: none;

}


/* CHAQUE GRAVURE */

.gravure {

  flex: 0 0 auto;

  scroll-snap-align: center;

  position: relative;

}


/* IMAGE */

.gravure img {

  width: 180px;

  height: auto;


  border-radius: 2px;


  box-shadow:

    0 20px 60px rgba(0,0,0,0.7),

    0 0 30px rgba(255,255,255,0.05);


  transition: all 0.4s ease;

}


/* HOVER (desktop uniquement) */

@media (hover: hover) {

  .gravure:hover img {

    transform: scale(1.08);

    box-shadow:

      0 30px 80px rgba(0,0,0,0.9),

      0 0 50px rgba(255,255,255,0.08);

  }

}


/* TEXTE PACK */

.gravure-label {

  position: absolute;

  bottom: -25px;

  left: 50%;

  transform: translateX(-50%);


  font-size: 0.7rem;

  color: rgba(255,255,255,0.7);

  text-align: center;

}


/* MOBILE */

@media (max-width: 768px) {

  .gravure img {

    width: 140px;

  }


  .gravures-container {

    bottom: 20px;

  }

}

.gravure {
  flex: 0 0 auto;
  scroll-snap-align: center;
  text-decoration: none;
  color: white;
}

.gravure-info {
  margin-top: 10px;
  text-align: center;
}

.titre {
  font-size: 0.9rem;
  font-weight: 500;
}

.desc {
  font-size: 0.75rem;
  opacity: 0.7;
}

.prix {
  font-size: 0.8rem;
  margin-top: 3px;
}

.auteur {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.auteur-image {
  display: block;
  width: 100%;
  height: auto;
}

.auteur-overlay {
  position: absolute;
  top: 27px;
  right: 20px;
  max-width: 220px;
  color: #1a1a1a;
  text-align: right;
  z-index: 2;
}

.bio {
  font-size: 14px;
  line-height: 1.45;
}

.signature {
  margin-top: 18px;
  text-align: right;
  font-style: italic;
}

.socials {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.socials img {
  width: 22px;
  opacity: 0.75;
}




/* ===== PAGE PRODUIT FINAL ===== */

body.product-page {
  background: radial-gradient(circle at 50% 35%, #3a3a3a 0%, #1a1a1a 40%, #000 75%);
}

/* STRUCTURE */
.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 15px 60px;
}

/* GALERIE */
.product-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 70px;
  position: relative;
}

/* GLOW DERRIÈRE LE PRODUIT */
.product-gallery::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);

  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 40%, transparent 70%);
  filter: blur(40px);

  z-index: 0;
}

/* IMAGE PRINCIPALE */
#main-image {
  width: 70%;
  max-width: 280px;
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.8);
  cursor: zoom-in;
  transition: 0.3s;
  position: relative;
  z-index: 1;
}

#main-image:hover {
  transform: scale(1.02);
}

#main-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

.product-gallery {
  text-align: center;
}


/* MINIATURES */
.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
}

.thumb {
  width: 55px;
  border-radius: 6px;
  opacity: 0.6;
  cursor: pointer;
  transition: 0.3s;
}

.thumb:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* INFOS PRODUIT */
.product-info {
  text-align: center;
  margin-top: 25px;
  max-width: 85%;
}

/* TITRE */
.product-info h1 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}

/* DESCRIPTION */
#product-description {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 12px;
}


/* DESCRIPTION MISE EN FORME*/

.book-desc p {
margin-bottom: 18px;
}

.book-specs {
margin: 26px 0 22px;
padding-left: 0;
display: flex;
flex-direction: column;
gap: 6px;
opacity: 0.92;
}

.book-specs span {
display: block;
}

.shipping-note {
margin-top: 22px;
font-size: 14px;
opacity: 0.75;
}

.amazon-note {
margin-top: 25px;
text-align: center;
font-size: 14px;
color: rgba(255,255,255,0.6);
letter-spacing: 0.5px;
}

.amazon-note a {
color: #ff9900;
text-decoration: none;
font-weight: 500;
}


/* PRIX (au-dessus du bouton) */
#product-price {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 15px;
}

/* BOUTON */
.btn-add {
  display: inline-block;
  position: relative;
  padding: 14px 34px;
  min-width: 220px;
  border: 1px solid rgba(220, 225, 235, 0.38);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 12%, rgba(20,20,24,0.88) 100%),
    linear-gradient(135deg, rgba(170,175,185,0.14) 0%, rgba(255,255,255,0.04) 35%, rgba(120,125,135,0.10) 100%);
  color: #f1f1f3;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  box-shadow:
    0 10px 26px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  overflow: hidden;
}

.btn-add::before {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 90%;
  height: 100%;
  background: linear-gradient(
    110deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.08) 35%,
    rgba(255,255,255,0.28) 50%,
    rgba(255,255,255,0.06) 65%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-22deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.btn-add:hover {
  transform: translateY(-1px);
  border-color: rgba(235,240,248,0.62);
  color: #ffffff;
  box-shadow:
    0 14px 34px rgba(0,0,0,0.40),
    0 0 20px rgba(215,220,230,0.10),
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -1px 0 rgba(255,255,255,0.08);
}

.btn-add:hover::before {
  left: 155%;
}

.btn-add:active {
  transform: translateY(0);
  box-shadow:
    0 8px 18px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.16);
}



/* STRUCTURE BADGES */
.product-extra {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 15px;
}

/* BADGES */
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  opacity: 0.75;
}

/* ICÔNES */
.badge img {
  width: 16px;
  height: auto;
  opacity: 0.85;
}

/* LIEN VERS AMAZON */
.amazon-note {
  margin-top: 25px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

.amazon-note a {
  color: #ff9900; /* couleur Amazon */
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.amazon-note a:hover {
  color: #ffb84d;
  text-shadow: 0 0 6px rgba(255, 153, 0, 0.5);
}

/* ESPACEMENT FIN */
.badge.top {
  margin-bottom: 5px;
}

.badge.bottom {
  margin-top: 5px;
}

/* LIEN AMAZON */
.badge.link {
  text-decoration: none;
  color: white;
}

.badge.link:hover {
  opacity: 1;
}

/* DESCRIPTION LONGUE */
.product-long-desc {
  margin-top: 40px;
  padding: 0 20px;
  max-width: 500px;
  text-align: left;
  line-height: 1.6;
  font-size: 14px;
  opacity: 0.85;
}

.product-long-desc h2 {
  font-size: 16px;
  margin-bottom: 10px;
}

.product-long-desc p {
  margin-bottom: 12px;
}

/* ===== STRUCTURE ===== */
.product {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== IMAGE ===== */
.product-gallery {
  width: 100%;
  text-align: center;
}

.product-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

/* ===== MINIATURES ===== */
.thumbnails {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.thumbnails img {
  width: 60px;
  height: auto;
  cursor: pointer;
  border-radius: 6px;
  opacity: 0.7;
  transition: 0.2s;
}

.thumbnails img:hover {
  opacity: 1;
}

/* ===== INFOS ===== */
.product-info {
  text-align: center;
  margin-top: 20px;
}

#product-title {
  font-size: 20px;
  margin-bottom: 10px;
}

#product-desc {
  opacity: 0.7;
  margin-bottom: 10px;
}

#product-price {
  font-size: 22px;
  margin-bottom: 20px;
}

/* ===== EXTRA ===== */
.product-extra {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.8;
}

.badge img {
  width: 20px;
}

.badge.link {
  text-decoration: none;
  color: white;
}

/* ===== DESCRIPTION ===== */
.product-description {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 20px;
}

.product-description h2 {
  margin-bottom: 15px;
}

.product-description p {
  line-height: 1.6;
}



/* ===== RELATED PRODUCTS (ZONE STYLÉE) ===== */

.related-products {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  padding: 25px 20px;
}

/* effet brume / lumière */
.related-products::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.03)
  );
  border-radius: 20px;
  z-index: 0;
}

/* contenu au-dessus du calque */
.related-products * {
  position: relative;
  z-index: 1;
}

/* titre */
.related-products h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: left;
}

/* grille 2x2 */
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* cartes */
.related-card {
  text-decoration: none;
  color: white;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* images */
.related-card img {
  width: 100%;
  display: block;
}

/* texte */
.related-info {
  padding: 10px;
  text-align: center;
}

.related-info h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.related-info p {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* hover subtil */
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255,255,255,0.08);
}







