/* ==========================================================================
   Jogoo Fashion & Style v2.0 - Main Stylesheet
   ========================================================================== */

:root {
  --navy: #0B2545;
  --navy-deep: #061633;
  --ice: #FBF7F2;
  --cream: #F5EFE6;
  --red: #C8202F;
  --red-deep: #A0001C;
  --stone: #8DA9C4;
  --frost: #E8E0D4;
  --gold: #C5A572;
  --display: 'Bebas Neue', sans-serif;
  --body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--ice);
  color: var(--navy);
  font-family: var(--body);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy); }
button { font-family: inherit; }

/* TOP STRIP */
.top-strip {
  background: var(--navy);
  color: var(--ice);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.top-strip .dot { color: var(--red); margin: 0 0.4rem; }

/* NAV */
.jogoo-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: rgba(251, 247, 242, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--frost);
}
.nav-logo .custom-logo, .nav-logo img {
  height: 38px !important;
  width: auto !important;
  max-width: 180px;
}
.nav-logo-text {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.nav-menu-desktop { display: none; }
.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--navy);
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--red); }
.nav-cta {
  background: var(--red);
  color: var(--ice);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.nav-cta:active { transform: scale(0.96); }
.nav-cta:hover { background: var(--red-deep); color: var(--ice); }

/* HERO */
.hero {
  position: relative;
  padding: 2rem 1rem 3rem;
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 1rem;
}
.hero-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--red);
}
.hero h1, h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 11vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  color: var(--navy);
  font-weight: 400;
}
h1 .accent, .section-title .accent, .why-title .accent { color: var(--red); }
.hero-sub {
  font-size: 1rem;
  color: rgba(11, 37, 69, 0.75);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.btn-primary, .btn-secondary, .btn-whatsapp {
  padding: 1rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  transition: all 0.3s;
  width: 100%;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--red); color: var(--ice); border-color: var(--red); }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--ice); }
.btn-primary:active { transform: scale(0.98); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--ice); }
.btn-secondary:active { transform: scale(0.98); }
.btn-whatsapp { background: #25D366; color: white; border-color: #25D366; }
.btn-whatsapp:hover { background: #1da851; border-color: #1da851; color: white; }
.btn-whatsapp:active { transform: scale(0.98); }

.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--cream) 0%, var(--frost) 100%);
  box-shadow: 0 20px 50px rgba(11, 37, 69, 0.15);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 37, 69, 0.4) 0%, transparent 50%);
}
.hero-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem; text-align: center;
  color: rgba(11,37,69,0.5); font-size: 0.9rem;
}
.hero-badge {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: rgba(251, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.65rem 0.9rem;
  border-radius: 4px;
  border-left: 3px solid var(--red);
  z-index: 2;
}
.hero-badge-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(11,37,69,0.65);
  margin-bottom: 0.15rem;
}
.hero-badge-name {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--navy);
}

@media (min-width: 768px) {
  .hero {
    padding: 4rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  .hero-cta-group { flex-direction: row; }
  .btn-primary, .btn-secondary, .btn-whatsapp { width: auto; }
  .jogoo-nav { padding: 1rem 2rem; }
  .nav-logo .custom-logo, .nav-logo img { height: 44px !important; }
  .nav-menu-desktop { display: block; }
}

/* MARQUEE */
.marquee {
  background: var(--navy);
  color: var(--ice);
  padding: 0.9rem 0;
  overflow: hidden;
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}
.marquee-track {
  display: flex;
  gap: 2rem;
  animation: jogoo-scroll 25s linear infinite;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}
.marquee-item { display: flex; align-items: center; gap: 2rem; }
.marquee-dot { color: var(--red); font-size: 0.85rem; transform: translateY(-2px); }
@keyframes jogoo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTIONS */
.section {
  padding: 3.5rem 1rem;
  max-width: 1300px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .section { padding: 5rem 2rem; }
}
.section-header {
  margin-bottom: 2rem;
  text-align: center;
}
.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  width: 20px; height: 1px;
  background: var(--red);
}
.section-title, h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 7vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--navy);
  font-weight: 400;
}
.section-sub {
  margin-top: 0.75rem;
  color: rgba(11,37,69,0.7);
  font-size: 0.95rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* CATEGORIES (3 grandes cartes) */
.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/5;
  text-decoration: none;
  background: var(--cream);
  border: 1px solid var(--frost);
  transition: transform 0.4s, box-shadow 0.4s;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(11,37,69,0.2);
}

.category-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.category-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.category-card:hover .category-image img {
  transform: scale(1.06);
}
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 37, 69, 0.85) 0%, rgba(11, 37, 69, 0.2) 50%, transparent 100%);
}

.category-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ice);
}
.category-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.category-name {
  font-family: var(--display);
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: var(--ice);
}
.category-desc {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--red);
  color: var(--ice);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: gap 0.3s, background 0.3s;
  align-self: flex-start;
}
.category-card:hover .category-link {
  gap: 0.85rem;
  background: var(--red-deep);
}

/* PRODUITS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.product {
  background: white;
  border: 1px solid var(--frost);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.product:active { transform: scale(0.98); }
.product:hover { box-shadow: 0 12px 30px rgba(11,37,69,0.1); transform: translateY(-3px); }

.product-image {
  aspect-ratio: 1/1.15;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product:hover .product-image img { transform: scale(1.05); }
.product-tag {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  background: var(--red);
  color: var(--ice);
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
}
.product-tag.dark { background: var(--navy); }
.product-info { padding: 0.9rem 0.85rem 1rem; }
.product-brand {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 0.3rem;
}
.product-name {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}
.product-cat {
  font-size: 0.78rem;
  color: rgba(11,37,69,0.6);
}
@media (min-width: 768px) {
  .product-name { font-size: 1.4rem; }
  .product-info { padding: 1.25rem; }
}

.center-cta {
  text-align: center;
  margin-top: 2rem;
}
.center-cta .btn-secondary {
  display: inline-flex;
  width: auto;
}

/* POURQUOI VENIR */
.why-visit {
  background: var(--navy);
  color: var(--ice);
}
.why-visit .section-title { color: var(--ice); }
.why-visit .section-sub { color: rgba(251,247,242,0.7); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 600px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card {
  background: rgba(251,247,242,0.05);
  border: 1px solid rgba(251,247,242,0.12);
  border-radius: 6px;
  padding: 1.5rem 1.25rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.why-card:hover {
  background: rgba(251,247,242,0.08);
  border-color: var(--red);
  transform: translateY(-4px);
}
.why-icon {
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ice);
  margin-bottom: 1rem;
}
.why-title {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  color: var(--ice);
}
.why-text {
  font-size: 0.85rem;
  color: rgba(251,247,242,0.7);
  line-height: 1.6;
}

/* VISITE / CONTACT */
.visit {
  padding: 3.5rem 1rem;
  max-width: 1300px;
  margin: 0 auto;
}
@media (min-width: 768px) { .visit { padding: 5rem 2rem; } }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .visit-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
}
.visit-info {
  background: var(--cream);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--frost);
}
@media (min-width: 768px) { .visit-info { padding: 2.5rem; } }
.visit-info-block {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--frost);
}
.visit-info-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.visit-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.visit-value {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.5;
}
.visit-value strong { font-weight: 700; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.92rem;
}
.hours-list .day { color: rgba(11,37,69,0.7); }
.hours-list .time { font-weight: 600; color: var(--navy); }
.hours-list .closed { color: var(--red); }
.visit-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}
.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.action-btn:active { transform: scale(0.98); }
.action-call { background: var(--navy); color: var(--ice); }
.action-call:hover { background: var(--navy-deep); color: var(--ice); }
.action-whatsapp { background: #25D366; color: white; }
.action-whatsapp:hover { background: #1da851; color: white; }
.action-map { background: transparent; color: var(--navy); border-color: var(--navy); }
.action-map:hover { background: var(--navy); color: var(--ice); }
.visit-map {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--frost);
  box-shadow: 0 12px 30px rgba(11,37,69,0.1);
  min-height: 320px;
}
.visit-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder {
  padding: 2rem;
  text-align: center;
  color: #999;
  background: #f8f8f8;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== SINGLE PRODUIT - SLIDER ===== */
.single-product {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
@media (min-width: 768px) {
  .single-product { padding: 4rem 2rem; }
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .product-detail {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.product-slider {
  position: relative;
}
.slider-main {
  position: relative;
  aspect-ratio: 1/1.15;
  background: var(--cream);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--frost);
}
.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.slider-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}
.slider-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #aaa;
  font-style: italic;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(251, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--frost);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  z-index: 5;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 15px rgba(11, 37, 69, 0.1);
}
.slider-arrow:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.slider-arrow:active { transform: translateY(-50%) scale(0.9); }
.slider-prev { left: 0.75rem; }
.slider-next { right: 0.75rem; }

.slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 5;
  background: rgba(251, 247, 242, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(11, 37, 69, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.slider-dot.active {
  background: var(--red);
  transform: scale(1.3);
}

.slider-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}
.slider-thumbs::-webkit-scrollbar { height: 4px; }
.slider-thumbs::-webkit-scrollbar-thumb { background: var(--frost); border-radius: 999px; }
.slider-thumb {
  flex-shrink: 0;
  width: 70px;
  height: 80px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--cream);
  overflow: hidden;
  padding: 0;
  transition: border-color 0.2s, transform 0.2s;
}
.slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-thumb.active {
  border-color: var(--red);
}
.slider-thumb:hover { transform: translateY(-2px); }

.product-slider .product-tag {
  z-index: 6;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.7rem;
}

/* Infos détail produit */
.product-detail-info {
  padding: 0;
}
.product-detail-cat-pills {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.cat-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  background: var(--cream);
  color: var(--navy);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.cat-pill:hover {
  background: var(--navy);
  color: var(--ice);
}
.product-detail-brand {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 0.6rem;
}
.product-detail-name {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.product-detail-cat {
  font-size: 0.95rem;
  color: rgba(11, 37, 69, 0.65);
  margin-bottom: 1.5rem;
}
.product-detail-description {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(11, 37, 69, 0.85);
  margin-bottom: 1.5rem;
}
.product-detail-description p { margin-bottom: 1rem; }
.product-detail-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: rgba(76, 175, 80, 0.1);
  color: #2e7d32;
  border-radius: 4px;
  border-left: 3px solid #4caf50;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.product-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 600px) {
  .product-detail-actions { flex-direction: row; }
  .product-detail-actions .btn-primary,
  .product-detail-actions .btn-whatsapp { flex: 1; }
}
.product-detail-visit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.product-detail-visit-link:hover { color: var(--red); }
.product-detail-visit-link:hover svg { transform: translateX(2px); }
.product-detail-visit-link svg { transition: transform 0.2s; }

/* Similar */
.similar-products { background: var(--cream); }

/* ===== CATEGORY ARCHIVE =====
   Note : le style final de .category-hero est défini plus bas (section v2.1)
   pour éviter les conflits. On ne garde ici que les règles non liées au fond. */

/* Pagination */
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 3rem;
}
.pagination .page-numbers {
  padding: 0.6rem 1rem;
  background: white;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--frost);
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.2s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--navy);
  color: var(--ice);
  border-color: var(--navy);
}

/* STICKY MOBILE CTA */
.mobile-sticky {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ice);
  border-top: 1px solid var(--frost);
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  display: flex;
  gap: 0.5rem;
  z-index: 90;
  box-shadow: 0 -10px 30px rgba(11,37,69,0.08);
}
.mobile-sticky a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mobile-sticky a:active { transform: scale(0.97); }
.mobile-sticky .call { background: var(--navy); color: var(--ice); }
.mobile-sticky .wa { background: #25D366; color: white; }
.mobile-sticky .map { background: var(--red); color: var(--ice); }
body { padding-bottom: 80px; }
@media (min-width: 900px) {
  .mobile-sticky { display: none; }
  body { padding-bottom: 0; }
}

/* FOOTER */
.jogoo-footer {
  background: var(--navy-deep);
  color: var(--ice);
  padding: 3rem 1rem 1.5rem;
}
@media (min-width: 768px) { .jogoo-footer { padding: 4rem 2rem 1.5rem; } }
.footer-inner { max-width: 1300px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
}
.footer-brand img {
  height: 60px;
  width: auto;
  background: var(--ice);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.footer-brand-text {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--ice);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.footer-brand p {
  color: rgba(251,247,242,0.65);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 360px;
}
.footer-col h4 {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  color: var(--ice);
  font-weight: 400;
}
.footer-col p, .footer-col a {
  color: rgba(251,247,242,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.8;
  display: block;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--red); }
.social-row { display: flex; gap: 0.6rem; margin-top: 0.75rem; }
.social-row a {
  width: 38px; height: 38px;
  background: rgba(251,247,242,0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ice);
  transition: background 0.2s;
  padding: 0;
}
.social-row a:hover { background: var(--red); color: white; }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(251,247,242,0.1);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(251,247,242,0.5);
}

/* Animations */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Pages internes / single */
.jogoo-page .page-title, .jogoo-single .entry-header h1 {
  margin-bottom: 1.5rem;
}
.jogoo-page .entry-content, .jogoo-single .entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 720px;
}
.jogoo-page .entry-content p, .jogoo-single .entry-content p {
  margin-bottom: 1.2rem;
}
.entry-thumb { margin-bottom: 2rem; }
.entry-meta { color: rgba(11,37,69,0.6); font-size: 0.9rem; }

/* =========================================================
   v2.1 — Accessibilité, breadcrumb, menu mobile
   ========================================================= */

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999999;
    padding: 12px 20px;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}
.skip-link:focus {
    left: 0;
    outline: 3px solid var(--red);
    outline-offset: 2px;
}
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    background: var(--navy);
    clip: auto !important;
    -webkit-clip-path: none;
    clip-path: none;
    color: #fff;
    display: block;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Burger mobile menu */
.nav-burger {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    transition: all 0.3s;
    border-radius: 2px;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid rgba(11,37,69,0.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    z-index: 99;
}
.nav-mobile.is-open {
    display: block;
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.nav-mobile-inner {
    padding: 1rem 1.25rem 1.5rem;
}
.nav-mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}
.nav-mobile-menu li {
    border-bottom: 1px solid rgba(11,37,69,0.06);
}
.nav-mobile-menu li:last-child { border-bottom: 0; }
.nav-mobile-menu a {
    display: block;
    padding: 14px 4px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}
.nav-mobile-menu a:hover,
.nav-mobile-menu a:focus {
    color: var(--red);
}
.nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.nav-mobile-cta:hover { background: #a01a25; }

@media (max-width: 768px) {
    .nav-menu-desktop { display: none; }
    .nav-cta { display: none; }
    .nav-burger { display: flex; }
}
@media (min-width: 769px) {
    .nav-mobile { display: none !important; }
}

/* Breadcrumb */
.container-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
}
.breadcrumb {
    font-size: 13px;
    color: rgba(11,37,69,0.6);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.breadcrumb a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: var(--red);
}
.breadcrumb .sep {
    color: rgba(11,37,69,0.3);
    font-weight: 400;
}
.breadcrumb [aria-current="page"] {
    color: rgba(11,37,69,0.6);
    font-weight: 500;
}

/* Category hero with breadcrumb (v2.4 - fix textes invisibles) */
.category-hero {
    background: linear-gradient(135deg, var(--ice) 0%, #fff 100%);
    padding: 3rem 1.5rem 2.5rem;
    border-bottom: 1px solid var(--frost);
}
@media (min-width: 768px) {
    .category-hero { padding: 4.5rem 2rem 3rem; }
}
.category-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.category-hero-inner .breadcrumb {
    justify-content: center;
    margin-bottom: 1.5rem;
}
.category-hero-inner .section-eyebrow,
.category-hero-inner .section-title,
.category-hero-inner .section-sub {
    text-align: center;
}
/* Couleurs adaptées au fond clair */
.category-hero .section-eyebrow { color: var(--red); }
.category-hero .section-title {
    color: var(--navy);
    margin-bottom: 0.75rem;
}
.category-hero .section-sub {
    color: rgba(11, 37, 69, 0.75);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.6;
}

/* 404 page */
.page-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
}
.page-404-inner {
    max-width: 600px;
}
.page-404-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(6rem, 18vw, 10rem);
    line-height: 1;
    color: var(--red);
    margin: 0 0 1rem;
    letter-spacing: 4px;
}
.page-404-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: var(--navy);
    margin: 0 0 1rem;
    letter-spacing: 2px;
}
.page-404-text {
    color: rgba(11,37,69,0.7);
    margin-bottom: 2rem;
    font-size: 16px;
}
.page-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Search */
.search-form-wrap {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
}
.jogoo-search-form {
    display: flex;
    gap: 8px;
}
.jogoo-search-form input[type="search"] {
    flex: 1;
    padding: 12px 18px;
    border: 1.5px solid rgba(11,37,69,0.15);
    border-radius: 999px;
    font-size: 15px;
    font-family: inherit;
    color: var(--navy);
    background: #fff;
}
.jogoo-search-form input[type="search"]:focus {
    border-color: var(--red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(200,32,47,0.1);
}
.jogoo-search-form button {
    background: var(--red);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
}
.jogoo-search-form button:hover { background: #a01a25; }

/* Pagination */
.navigation.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}
.nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    background: #fff;
    border: 1.5px solid rgba(11,37,69,0.1);
    transition: all 0.2s;
}
.page-numbers:hover {
    border-color: var(--red);
    color: var(--red);
}
.page-numbers.current {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

/* Focus visible — global a11y */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex="0"]:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Footer address style */
.jogoo-footer address {
    font-style: normal;
    line-height: 1.6;
}
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu a {
    display: block;
    padding: 6px 0;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
}
.footer-menu a:hover { color: #fff; }

/* =========================================================
   v2.3 — Mobile fixes pour la fiche produit
   ========================================================= */

/* Empêcher tout débordement horizontal global sur petits écrans */
html, body { overflow-x: hidden; }

/* Description produit : casser les mots/URLs trop longs et éviter le débordement
   des images insérées dans la description */
.product-detail-description {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.product-detail-description img,
.product-detail-description video,
.product-detail-description iframe {
    max-width: 100%;
    height: auto;
}
.product-detail-description table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}
/* Si malgré le filtre PHP un H1 traîne dans la description, le rétrograder
   visuellement à la taille d'un H2 (un seul H1 visible sur la page) */
.product-detail-description h1 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin: 1.4rem 0 0.6rem;
}
.product-detail-description h2 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 1.4rem 0 0.6rem;
}
.product-detail-description h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 1.2rem 0 0.5rem;
}

/* Fiche produit — fixes pour téléphone */
@media (max-width: 767px) {
    .single-product { padding: 1.25rem 1rem 2.5rem; }

    /* Slider : zone d'image plus haute = produit plus visible.
       Le ratio précédent (1/1.15) faisait un cadre étroit sur grand mobile */
    .slider-main { aspect-ratio: 3/4; border-radius: 6px; }

    /* Flèches : décollées des bords, dessus de la photo, plus accessibles au tap */
    .slider-arrow {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.92);
    }
    .slider-prev { left: 0.5rem; }
    .slider-next { right: 0.5rem; }

    /* Dots : meilleur contraste sur fond clair */
    .slider-dots { bottom: 0.6rem; padding: 0.4rem 0.65rem; }

    /* Thumbs : tap target plus large, alignement propre */
    .slider-thumbs { gap: 0.4rem; }
    .slider-thumb { width: 58px; height: 70px; }

    /* Titre produit : taille mieux adaptée aux petits écrans */
    .product-detail-name {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    /* Boutons appel / WhatsApp : pleine largeur, haut tap target */
    .product-detail-actions {
        gap: 0.6rem;
    }
    .product-detail-actions .btn-primary,
    .product-detail-actions .btn-whatsapp {
        width: 100%;
        min-height: 48px;
        justify-content: center;
        font-size: 0.95rem;
    }

    /* Breadcrumb : scroll horizontal propre si très long */
    .container-breadcrumb {
        padding: 1rem 1rem 0;
    }
    .breadcrumb {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .breadcrumb::-webkit-scrollbar { display: none; }

    /* Pills catégorie : éviter qu'elles dépassent */
    .product-detail-cat-pills {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    /* Produits similaires : 2 colonnes sur mobile au lieu de 1 */
    .similar-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* Très petits écrans (< 380 px : iPhone SE etc.) */
@media (max-width: 380px) {
    .slider-thumb { width: 52px; height: 62px; }
    .product-detail-name { font-size: 1.6rem; }
    .similar-products .products-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   v2.5 — Bouton "Voir plus" (load more AJAX)
   ========================================================= */
.jogoo-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0 1rem;
    padding: 0 1rem;
}

.jogoo-load-more-btn {
    --lm-color: var(--navy);
    --lm-bg: transparent;
    appearance: none;
    border: 1.5px solid var(--lm-color);
    background: var(--lm-bg);
    color: var(--lm-color);
    font-family: var(--body);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.95rem 2rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease, border-color 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-width: 220px;
    min-height: 48px;
    position: relative;
}

.jogoo-load-more-btn:hover:not(:disabled) {
    background: var(--lm-color);
    color: var(--ice);
}

.jogoo-load-more-btn:active:not(:disabled) {
    transform: translateY(1px);
}

.jogoo-load-more-btn:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

.jogoo-load-more-btn:disabled {
    cursor: progress;
    opacity: 0.85;
}

.jogoo-load-more-loading {
    display: none;
    width: 16px;
    height: 16px;
    animation: jogooLmSpin 0.8s linear infinite;
}

.jogoo-load-more-btn.is-loading .jogoo-load-more-label {
    opacity: 0.4;
}

.jogoo-load-more-btn.is-loading .jogoo-load-more-loading {
    display: inline-flex;
}

@keyframes jogooLmSpin {
    to { transform: rotate(360deg); }
}

.jogoo-load-more-error {
    text-align: center;
    color: var(--red);
    font-size: 0.85rem;
    margin: 0.75rem 0 0;
    font-weight: 500;
}

.jogoo-load-more-done {
    text-align: center;
    color: rgba(11, 37, 69, 0.55);
    font-size: 0.85rem;
    font-style: italic;
    margin: 2rem 0;
    padding: 0 1rem;
}

/* Le wrapper du bouton ne doit pas casser le grid des produits */
.products-grid + .jogoo-load-more-wrap {
    margin-top: 2.5rem;
}

/* Mobile : bouton plus large pour être facile à toucher */
@media (max-width: 600px) {
    .jogoo-load-more-btn {
        width: 100%;
        max-width: 360px;
        padding: 1rem 1.5rem;
        font-size: 0.88rem;
    }
}

/* =========================================================
   v2.5 — Effet typewriter sur le titre hero
   ========================================================= */

/* Texte masqué visuellement mais accessible pour les screen readers / SEO */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.hero-title {
    /* Réserve l'espace pour éviter le CLS (Cumulative Layout Shift)
       quand le texte est court ou vide pendant l'animation.
       On prend la hauteur maximale entre les phrases.
       3 lignes sur mobile (où le titre est gros), 2 sur desktop. */
    min-height: calc(3 * 1em * 0.95);
    position: relative;
}

@media (min-width: 768px) {
    .hero-title {
        min-height: calc(2 * 1em * 0.95);
    }
}

@media (min-width: 1200px) {
    .hero-title {
        /* Sur très grand écran le titre tient sur 1 ligne, on garde 2 par sécurité */
        min-height: calc(2 * 1em * 0.95);
    }
}

.hero-title-visible {
    display: inline;
    word-break: break-word;
}

/* Curseur clignotant — fin, élégant, en rouge */
.hero-title-caret {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: var(--red);
    margin-left: 6px;
    vertical-align: text-bottom;
    transform: translateY(-3px);
    animation: jogooCaretBlink 0.9s infinite step-end;
    border-radius: 1px;
}

@keyframes jogooCaretBlink {
    0%, 50%   { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

/* Désactiver le clignotement pendant la frappe (curseur visible en continu) */
.hero-title.is-typing .hero-title-caret {
    animation: none;
    opacity: 1;
}

/* Pas d'animation pour les utilisateurs qui préfèrent réduire les mouvements */
@media (prefers-reduced-motion: reduce) {
    .hero-title-caret {
        display: none;
    }
}

/* Sur très grand écran, élargir un peu le curseur */
@media (min-width: 1024px) {
    .hero-title-caret {
        width: 4px;
        margin-left: 8px;
    }
}
