/* =====================================================
   TAISHAN PARKOUR FRANCE — Styles partagés
   DA : urbaine, brutaliste, béton + bleu cobalt
   ===================================================== */

:root {
  --black: #0a0a0a;
  --concrete-900: #141414;
  --concrete-800: #1c1c1c;
  --concrete-700: #2a2a2a;
  --concrete-500: #4a4a4a;
  --concrete-300: #888888;
  --concrete-100: #d4d4d4;
  --bone: #f4f1ec;
  --white: #ffffff;
  --blue: #0047E1;
  --blue-dark: #0036b5;
  --blue-light: #1B5FFF;
  --yellow-tape: #ffd400;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--bone);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; padding-top: 140px; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  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.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--blue); color: var(--white); }

h1, h2, h3, h4, h5 {
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}

.mono { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
}
.brand-logo {
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand:hover .brand-logo { transform: scale(1.05); }
.brand-logo img {
  display: block;
  height: 120px;
  width: auto;
  /* Logo déjà blanc transparent — léger glow bleu pour signature */
  filter: drop-shadow(0 0 16px rgba(27, 95, 255, 0.35));
}
.brand-text { line-height: 1; }
.brand-text small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--concrete-300);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 400;
}
.nav-inner { padding: 8px 32px; }
@media (max-width: 700px) {
  .brand-logo img { height: 60px; }
  .brand-text { display: none; }
  .nav-inner { padding: 8px 18px; }
}
@media (max-width: 700px) {
  main { padding-top: 90px; }
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--concrete-100);
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-light); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--blue);
}
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 18px;
  font-weight: 700;
  border: 2px solid var(--blue);
  transition: all 0.2s;
  position: relative;
}
.nav-cta:hover {
  background: transparent;
  color: var(--blue-light) !important;
}
.cart-badge {
  display: none;
  position: absolute;
  top: -10px; right: -10px;
  background: var(--white);
  color: var(--blue);
  width: 22px; height: 22px;
  border-radius: 50%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--black);
}
.cart-badge.show { display: flex; }
.burger { display: none; background: none; border: none; color: var(--bone); cursor: pointer; font-size: 1.5rem; }

@media (max-width: 980px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--concrete-900); flex-direction: column; padding: 20px; border-bottom: 2px solid var(--blue); align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  .burger { display: block; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--concrete-500);
}
.btn-ghost:hover {
  border-color: var(--bone);
  background: var(--bone);
  color: var(--black);
}
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ===== HERO ===== */
.page-hero {
  position: relative;
  padding: 100px 32px 80px;
  background: linear-gradient(135deg, var(--black) 0%, var(--concrete-900) 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--concrete-700);
}
.page-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 8vw, 7rem);
  color: var(--white);
  margin: 24px 0;
  max-width: 1100px;
}
.page-hero h1 .blue { color: var(--blue-light); }
.page-hero h1 .outline { -webkit-text-stroke: 2px var(--bone); color: transparent; }
.page-hero p {
  max-width: 660px;
  font-size: 1.1rem;
  color: var(--concrete-100);
  margin-bottom: 32px;
}
.page-hero-img {
  position: absolute;
  right: -10%; top: 0; bottom: 0;
  width: 55%;
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 50%);
  mask-image: linear-gradient(90deg, transparent 0%, black 50%);
}
@media (max-width: 900px) {
  .page-hero-img { display: none; }
}

.page-hero .crumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.page-hero .crumb::before { content: ''; width: 40px; height: 1px; background: var(--blue-light); }

/* ===== SECTIONS ===== */
section { position: relative; z-index: 2; }
.section {
  padding: 100px 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 24px;
}
.section-tag::before { content: ''; width: 40px; height: 1px; background: var(--blue-light); }
.section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 32px;
  max-width: 900px;
}
.section-intro {
  font-size: 1.1rem;
  color: var(--concrete-100);
  max-width: 720px;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ===== PRODUCT CARD ===== */
.product-cat {
  padding: 60px 0;
  border-top: 1px solid var(--concrete-700);
}
.product-cat:first-of-type { border-top: 2px solid var(--blue); }
.product-cat-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
  align-items: end;
}
@media (max-width: 900px) { .product-cat-head { grid-template-columns: 1fr; gap: 16px; } }
.product-cat-head h3 {
  font-size: 2.4rem;
  color: var(--white);
}
.product-cat-head p {
  color: var(--concrete-100);
  font-size: 0.95rem;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--concrete-700);
  border: 1px solid var(--concrete-700);
}
.product-grid > * { min-width: 0; }
@media (max-width: 500px) {
  .product-grid { grid-template-columns: 1fr; }
}
.product {
  background: var(--concrete-900);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
  position: relative;
}
.product:hover { background: var(--concrete-800); }
/* .product-img : technique universelle padding-top (pas d'aspect-ratio, plus fiable Android) */
.product-img {
  width: 100%;
  height: 0;
  padding-top: 75%; /* 4:3 */
  background: var(--black);
  margin-bottom: 16px;
  border: 1px solid var(--concrete-700);
  overflow: hidden;
  position: relative;
}
.product-img picture, .product-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.product-img picture, .product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product h4 {
  font-size: 1.1rem;
  color: var(--white);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
  margin-bottom: 6px;
}
.product .specs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--concrete-300);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}
.product .price {
  font-family: 'Anton', sans-serif;
  color: var(--blue-light);
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.product .price small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--concrete-300);
  margin-left: 4px;
}
.product .price.devis {
  font-size: 0.9rem;
  color: var(--concrete-300);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.add-quote {
  width: 100%;
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--concrete-500);
  padding: 12px 16px;
  font-family: 'Anton', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.add-quote:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.add-quote.added {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.add-quote::before { content: '+'; font-size: 1.2rem; line-height: 0; }
.add-quote.added::before { content: '✓'; font-size: 0.9rem; }

/* ===== KITS ===== */
.kits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.kits-grid > * { min-width: 0; }
@media (max-width: 1100px) { .kits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kits-grid { grid-template-columns: 1fr; } }
.kit {
  background: var(--concrete-900);
  border: 1px solid var(--concrete-700);
  padding: 28px 22px;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
/* Kit carousel — padding-top universel */
.kit-carousel {
  margin: -28px -22px 18px;
  width: auto;
  height: 0;
  padding-top: 75%; /* 4:3 */
  background: var(--black);
  border-bottom: 1px solid var(--concrete-700);
  position: relative;
  overflow: hidden;
}
.kit.pro .kit-carousel { border-bottom-color: rgba(255,255,255,0.2); }
.kit-carousel-track { position: absolute; inset: 0; }
.kit-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
}
.kit-slide.active { opacity: 1; z-index: 1; }
.kit-slide picture, .kit-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kit-slide-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 18px 12px 10px;
  text-align: center;
  pointer-events: none;
}
.kit-carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: none;
  color: var(--white);
  width: 32px; height: 44px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s;
  font-family: 'Anton', sans-serif;
  line-height: 1;
}
.kit-carousel-btn:hover { background: var(--blue); }
.kit-carousel-btn.prev { left: 0; }
.kit-carousel-btn.next { right: 0; }
.kit-carousel-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
  z-index: 3;
}
.kit-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.kit-dot.active { background: var(--white); transform: scale(1.3); }

/* Kit PRO : améliorer contraste bouton */
.kit.pro .kit-content,
.kit.pro .kit-content strong,
.kit.pro .kit-content > * { color: var(--white) !important; }
.kit.pro .kit-price,
.kit.pro .kit-price small { color: var(--white) !important; }
.kit.pro .add-quote {
  background: var(--white);
  color: var(--blue) !important;
  border-color: var(--white);
  font-weight: 700;
}
.kit.pro .add-quote::before { color: var(--blue); }
.kit.pro .add-quote:hover { background: var(--black); color: var(--white) !important; border-color: var(--black); }
.kit.pro .add-quote:hover::before { color: var(--white); }
.kit:hover { border-color: var(--blue); transform: translateY(-4px); }
.kit.pro {
  background: var(--blue);
  border-color: var(--blue);
}
.kit.pro:hover { background: var(--blue-dark); }
.kit.pro * { color: var(--white) !important; }
.kit-tier {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--blue-light);
  margin-bottom: 8px;
}
.kit-name {
  font-family: 'Anton', sans-serif;
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.kit-tag {
  font-size: 0.85rem;
  color: var(--concrete-300);
  margin-bottom: 20px;
  min-height: 36px;
}
.kit-content {
  font-size: 0.85rem;
  color: var(--concrete-100);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.7;
}
.kit-content strong {
  color: var(--white);
  display: block;
  margin-bottom: 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.kit-price {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  color: var(--blue-light);
  border-top: 1px solid var(--concrete-700);
  padding-top: 14px;
  margin-bottom: 14px;
}
.kit-price small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--concrete-300);
  display: block;
  margin-top: 4px;
}
.kit.pro .kit-price { border-top-color: rgba(255,255,255,0.2); }
.kit .add-quote {
  font-size: 0.75rem;
  padding: 10px 12px;
}
.kit.pro .add-quote {
  background: var(--white);
  color: var(--blue) !important;
  border-color: var(--white);
}
.kit.pro .add-quote:hover { background: var(--black); color: var(--white) !important; border-color: var(--black); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--blue);
  color: var(--white);
  padding: 16px 24px;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  z-index: 1000;
  transform: translateX(calc(100% + 50px));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  max-width: 320px;
}
.toast.show { transform: translateX(0); }
.toast small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; opacity: 0.8; margin-top: 4px; letter-spacing: 0.15em; }

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  border-top: 1px solid var(--concrete-700);
  padding: 60px 32px 30px;
  position: relative;
  z-index: 2;
  margin-top: 80px;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr; gap: 30px; } }
.footer-brand {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
  line-height: 0.9;
}
.footer-brand .blue { color: var(--blue-light); }
.footer-tagline {
  color: var(--concrete-300);
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 380px;
}
.footer-contact {
  color: var(--concrete-100);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.8;
}
.footer-contact a { color: var(--blue-light); }
.footer-col h5 {
  color: var(--white);
  font-size: 0.8rem;
  margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--concrete-300);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--blue-light); }
/* Réseau Taishan */
.footer-network {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--concrete-700);
  border-bottom: 1px solid var(--concrete-700);
}
@media (max-width: 900px) {
  .footer-network { grid-template-columns: 1fr; gap: 12px; }
}
.footer-network-label {
  font-family: 'Anton', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  white-space: nowrap;
}
.footer-network-label::before { content: '◢ '; }
.footer-network a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  background: var(--concrete-900);
  border: 1px solid var(--concrete-700);
  border-left: 3px solid var(--blue);
  transition: border-color 0.2s, background 0.2s;
}
.footer-network a:hover {
  border-left-color: var(--blue-light);
  background: var(--concrete-800);
}
.footer-network a strong {
  color: var(--white);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: 0;
}
.footer-network a small {
  color: var(--concrete-300);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.footer-bottom {
  border-top: 1px solid var(--concrete-700);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--concrete-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-hera { color: var(--concrete-300); }
.footer-hera strong { color: var(--bone); font-family: 'Anton', sans-serif; letter-spacing: 0.05em; }
.footer-hera a { color: var(--blue-light); }

/* ===== REVEAL ===== (désactivé pour fiabilité Android Chrome — contenu toujours visible) */
.reveal { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ===== Skip link (accessibilité clavier) ===== */
.skip-link {
  position: absolute;
  top: -100px; left: 0;
  background: var(--blue);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1001;
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.1em;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; outline: 3px solid var(--white); }

/* ===== Mini cart sticky bar (mobile principalement) ===== */
.mini-cart {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  background: var(--blue);
  color: var(--white);
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  z-index: 95;
  text-decoration: none;
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.95rem;
  box-shadow: 0 12px 40px -8px rgba(0, 71, 225, 0.6);
  transform: translateY(100px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mini-cart.show { display: flex; transform: translateY(0); }
.mini-cart-count {
  background: var(--white);
  color: var(--blue);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
}
.mini-cart-text { flex: 1; }
.mini-cart-arrow { font-size: 1.2rem; transition: transform 0.2s; }
.mini-cart:hover { background: var(--blue-dark); }
.mini-cart:hover .mini-cart-arrow { transform: translateX(4px); }
@media (min-width: 980px) {
  /* Sur desktop, la nav-cta avec badge fait déjà le job — on cache le mini-cart */
  .mini-cart { display: none !important; }
}

/* ===== Spinner (form devis loading) ===== */
.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -2px;
  margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.loading { opacity: 0.7; cursor: wait; }

/* Image produit — fond noir simple, pas de skeleton (compatibilité Android Chrome) */
.product-img { position: relative; background: var(--black); }
.product-img picture, .product-img img { position: relative; z-index: 1; }

/* ===== POLISH ===== */
/* Scrollbar dark cohérente avec le thème */
* { scrollbar-width: thin; scrollbar-color: var(--concrete-700) var(--black); }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: var(--black); }
*::-webkit-scrollbar-thumb { background: var(--concrete-700); border: 2px solid var(--black); border-radius: 0; }
*::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* Focus states accessibles partout */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

/* Hover sur produits : glow bleu subtil */
.product { transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
.product:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -12px rgba(0, 71, 225, 0.3);
}

/* Hover sur les images produits */
.product-img picture, .product-img img { transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1); }
.product:hover .product-img img { transform: scale(1.04); }

/* Hover sur les cards catégorie home */
.cat-card { transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease; border-left: 3px solid transparent; }
.cat-card:hover { border-left-color: var(--blue); transform: translateX(4px); }

/* Liens nav : underline animation */
.nav-links a:not(.nav-cta) { background-image: linear-gradient(var(--blue-light), var(--blue-light)); background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.3s ease, color 0.2s ease; }
.nav-links a:not(.nav-cta):hover { background-size: 100% 2px; }

/* Animation tape (home hero) — léger sway */
@keyframes tape-sway { 0%, 100% { transform: rotate(8deg) translateX(0); } 50% { transform: rotate(8deg) translateX(-8px); } }
.home-hero-tape { animation: tape-sway 8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .home-hero-tape { animation: none; } }

/* Boutons devis : glow on hover */
.btn-primary { box-shadow: 0 4px 0 var(--blue-dark); transition: all 0.2s ease, box-shadow 0.2s ease; }
.btn-primary:hover { box-shadow: 0 2px 0 var(--blue-dark); transform: translateY(2px); }
.btn-primary:active { box-shadow: 0 0 0 var(--blue-dark); transform: translateY(4px); }

/* ============= MOBILE RESPONSIVE COMPLET ============= */

/* Tablette (max 980) */
@media (max-width: 980px) {
  .section { padding: 70px 24px; }
  .page-hero { padding: 80px 24px 60px; }
  .product-cat-head { gap: 16px; }
  /* Bande jaune cachée dès la tablette pour libérer le hero */
  .home-hero-tape { display: none !important; }
}

/* Mobile (max 700) */
@media (max-width: 700px) {
  /* Sections */
  .section { padding: 50px 18px; }
  .page-hero { padding: 60px 18px 40px; }
  .page-hero h1 { margin: 16px 0; }
  .page-hero p { font-size: 1rem; }
  .section-title { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .section-intro { font-size: 0.95rem; }

  /* Boutons : passe en pleine largeur */
  .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 0.9rem; }
  .home-hero-actions, .page-hero p + div { flex-direction: column; align-items: stretch; gap: 10px; }
  .home-hero-actions { width: 100%; }

  /* Home hero */
  .home-hero { padding: 30px 18px 30px; min-height: auto; }
  .home-hero h1 { font-size: clamp(2.4rem, 12vw, 4rem) !important; line-height: 0.92; margin-bottom: 14px !important; }
  .home-hero-sub { font-size: 0.95rem; margin-bottom: 22px; }
  /* Bande jaune CATALOGUE 2025 : cachée sur mobile/tablette (illisible car écrase le H1) */
  .home-hero-tape { display: none !important; }

  /* Stats intro */
  .home-stats-intro { flex-direction: row; gap: 12px; padding-bottom: 12px; }
  .home-stats-logo img { height: 40px !important; }
  .home-stats-intro-text { font-size: 1.1rem !important; }
  .home-stats-intro-text::after { width: 18px; margin-left: 8px; }

  /* Catégories produit cards */
  .product-cat { padding: 36px 0; }
  .product-cat-head h3 { font-size: 1.7rem; }
  .product { padding: 16px; }
  .product h4 { font-size: 1rem; }
  .product .specs { font-size: 0.65rem; }

  /* Kits */
  .kit { padding: 22px 18px; }
  .kit-name { font-size: 1.8rem; }
  .kit-content { font-size: 0.8rem; }

  /* Promise / Hera blocks */
  .promise { padding: 32px 22px !important; margin-top: 32px !important; }
  .hera-block { padding: 32px 22px !important; }
  .hera-block::before { font-size: 14rem !important; }

  /* About */
  .about-grid { gap: 28px; }
  .pillar { padding: 18px; }

  /* Tag Zone : la vidéo Shorts limite la hauteur sur mobile pour pas qu'elle écrase tout */
  .tagzone-video-cell .video-frame {
    aspect-ratio: 9/16;
    max-height: 70vh;
  }

  /* Footer */
  footer { padding: 40px 18px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }

  /* Devis form */
  .devis-wrap { padding: 40px 18px; }
  .form-section { padding: 28px 20px; }
  .form-section::before { right: 0; top: 0; font-size: 0.65rem; padding: 4px 10px; }
}

/* Petit mobile (iPhone SE / Galaxy S, max 380) */
@media (max-width: 380px) {
  .section { padding: 36px 14px; }
  .home-hero { padding: 24px 14px; }
  .home-hero h1 { font-size: 2.1rem !important; }
  .home-hero-sub { font-size: 0.88rem; }
  .home-hero-tape { display: none; }
  .home-stats-intro-text { font-size: 1rem !important; }
  .stat { padding: 16px 14px; }
  .stat-num { font-size: 2rem; }
  .section-title { font-size: 1.5rem; }
  .product-cat-head h3 { font-size: 1.5rem; }
  .kit-name { font-size: 1.6rem; }
  .nav-inner { padding: 6px 12px; }
  .brand-logo img { height: 48px !important; }
  .nav-cta { padding: 8px 12px; font-size: 0.7rem; }

}
/* Empêche le débordement horizontal sans bloquer le scroll vertical (universel Android/iOS) */
html, body { overflow-x: hidden; max-width: 100%; }

/* Évite débordement général */
img, picture, video, iframe { max-width: 100%; }
.product-img, .kit-carousel { max-width: 100%; }

/* Print : si quelqu'un imprime un devis */
@media print {
  .nav, footer, .add-quote, .nav-cta, .btn { display: none !important; }
  body { background: white; color: black; }
  * { background: white !important; color: black !important; }
}
