/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #0B5ED7;
  --primary-dark: #084298;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --success: #10B981;
  --dark: #0F172A;
  --gray: #64748B;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ===== BANNIÈRE PROMO ===== */
.promo-banner {
  background: linear-gradient(90deg, #0B5ED7, #1D4ED8, #0B5ED7);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
  height: 42px;
  display: flex;
  align-items: center;
}

.promo-banner__track {
  display: flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.promo-banner__track span {
  padding-right: 80px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {

  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
}

.logo__icon {
  font-size: 1.5rem;
}

.logo__text span {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray);
  transition: color var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== SECTION PRODUIT ===== */
.product {
  padding: 50px 0 70px;
  background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);
}

.product__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Galerie */
.gallery {
  position: sticky;
  top: 100px;
}

.gallery__main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.gallery__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.thumb {
  flex: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: border-color var(--transition), transform var(--transition);
  aspect-ratio: 1;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover,
.thumb.active {
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Infos produit */
.product__tag {
  display: inline-block;
  background: #DBEAFE;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.product__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.product__subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.product__price-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.product__price {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.product__price-old {
  font-size: 1.2rem;
  color: var(--gray);
  text-decoration: line-through;
}

.product__discount {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.product__desc {
  color: var(--gray);
  margin-bottom: 24px;
  font-size: 1rem;
}

/* Promo card animée */
.promo-card {
  display: flex;
  gap: 14px;
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border: 1px solid #F59E0B;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 28px;
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.promo-card__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.promo-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: #92400E;
}

.promo-card__text {
  font-size: 0.9rem;
  color: #78350F;
  line-height: 1.5;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
  }
}

/* Bouton Acheter */
.btn-buy {
  width: 100%;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), #1D4ED8);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 25px rgba(11, 94, 215, 0.35);
  letter-spacing: 0.3px;
}

.btn-buy:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(11, 94, 215, 0.45);
}

.btn-buy:active {
  transform: translateY(0);
}

.product__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--gray);
  font-weight: 500;
}

.trust-item span {
  color: var(--success);
  font-weight: 700;
}

/* ===== AVANTAGES ===== */
.advantages {
  padding: 70px 0;
  background: var(--light);
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.adv-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.adv-card__icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.adv-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.adv-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ===== AUTRES PRODUITS ===== */
.others {
  padding: 70px 0 80px;
}

.others__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card__img-wrap {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card__img-wrap img {
  transform: scale(1.06);
}

.card__body {
  padding: 22px;
}

.card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card__text {
  font-size: 0.92rem;
  color: var(--gray);
  margin-bottom: 16px;
}

.card__link {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.card__link:hover {
  color: var(--primary-dark);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: #CBD5E1;
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1E293B;
}

.logo--footer {
  color: white;
  margin-bottom: 14px;
}

.footer__desc {
  font-size: 0.92rem;
  margin-bottom: 18px;
  max-width: 280px;
}

.footer__free {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1E293B;
  color: #FCD34D;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 16px;
  border-radius: 50px;
}

.footer__col h4 {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer__col a,
.footer__col p {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: white;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__note {
  color: #94A3B8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .product__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .gallery {
    position: static;
  }

  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .others__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 112px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 99;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .burger {
    display: flex;
  }

  .burger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .others__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .product__price {
    font-size: 1.7rem;
  }

  .btn-buy {
    height: 56px;
    font-size: 1.05rem;
  }

  .gallery__thumbs {
    gap: 8px;
  }
}

/* ===== POPUP COMMANDE ===== */
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.order-modal.open {
  opacity: 1;
  visibility: visible;
}

.order-modal__dialog {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.32s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.order-modal.open .order-modal__dialog {
  transform: translateY(0) scale(1);
}

.order-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.order-modal__close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.order-modal__header {
  background: linear-gradient(135deg, #0B5ED7, #1D4ED8);
  color: #fff;
  padding: 28px 24px 22px;
  text-align: center;
}

.order-modal__header-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 16px;
  letter-spacing: 0.2px;
}

.order-modal__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.order-modal__wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.order-modal__wa:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.order-modal__wa svg {
  flex-shrink: 0;
}

.order-modal__body {
  padding: 28px 24px 30px;
}

.order-modal__label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.order-modal__input {
  width: 100%;
  height: 52px;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 0 16px;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -moz-appearance: textfield;
}

.order-modal__input::-webkit-outer-spin-button,
.order-modal__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.order-modal__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.15);
}

.order-modal__price-box {
  margin: 20px 0 26px;
  padding: 16px 18px;
  background: #F0F7FF;
  border-radius: 14px;
  border: 1px solid #DBEAFE;
}

.order-modal__unit {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 6px;
}

.order-modal__total {
  font-size: 1.15rem;
  color: var(--dark);
}

.order-modal__total strong {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: var(--primary);
  font-size: 1.35rem;
}

.order-modal__confirm {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
  letter-spacing: 0.2px;
}

.order-modal__confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.order-modal__confirm:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  .order-modal {
    padding: 12px;
  }

  .order-modal__dialog {
    border-radius: 24px;
  }

  .order-modal__header {
    padding: 24px 18px 18px;
  }

  .order-modal__body {
    padding: 22px 18px 24px;
  }
}