/* ==========================================================================
   ASSOCIATION ROULÈR - DESIGN SYSTEM (Lumineux & Solidaire)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@600;700;800&display=swap');

/* --- Variables & Reset --- */
:root {
  /* Couleurs principales (Lumineuses et rassurantes) */
  --bg-main: #F8FAFC;         /* Fond gris très clair */
  --surface: #FFFFFF;         /* Blanc pur pour les cartes */
  --surface-alt: #F1F5F9;     /* Gris perle pour les zones secondaires */
  
  /* Textes */
  --text-primary: #0F172A;    /* Bleu nuit très foncé (plus doux que le noir) */
  --text-secondary: #475569;  /* Gris ardoise pour la lecture */
  
  /* Couleurs d'action (Confiance et Solidarité) */
  --accent-color: #2563EB;    /* Bleu institutionnel "Confiance" */
  --accent-hover: #1D4ED8;
  --accent-light: #DBEAFE;    /* Bleu très clair pour les badges */
  
  /* Typographie */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  
  /* Formes et Ombres (Douceur) */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.05);
  
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Suppression du bruit photographique (inutile sur fond clair) */
.noise-overlay {
  display: none;
}

/* --- Header & Nav --- */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 1.2rem 2rem;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-color);
  text-decoration: none;
  letter-spacing: -0.05em;
}

.main-nav {
  display: flex;
  gap: 3rem;
}

.main-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s var(--ease-out);
}

.main-nav a:hover {
  color: var(--accent-color);
}

/* --- Boutons (Rassurants et Arrondis) --- */
.btn-neon {
  /* On garde le nom de la classe HTML, mais on change le style */
  display: inline-flex;
  padding: 0.75rem 1.75rem;
  background: var(--accent-color);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.3s var(--ease-out);
}

.btn-neon:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--text-primary);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: all 0.3s var(--ease-out);
}

.btn-primary:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--surface) 100%);
}

.aurora-bg {
  position: absolute;
  top: 50%; left: 80%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  filter: blur(60px);
  z-index: 0;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  z-index: 1;
  padding-top: 6rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.text-hollow {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent-color);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* --- Scrolling Ticker (Marquee) --- */
.scrolling-ticker {
  background: var(--accent-light);
  color: var(--accent-color);
  padding: 1.25rem 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}

.ticker-content {
  display: flex;
  gap: 3rem;
  animation: scrollText 20s linear infinite;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

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

/* --- Shop Section --- */
.shop-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.section-heading {
  margin-bottom: 4rem;
  text-align: center;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.1);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 350px;
  background: var(--surface-alt);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-img {
  transform: scale(1.03);
}

.badge-discount {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  background: var(--accent-color);
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.product-info {
  padding: 2.5rem 2rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
}

.product-meta h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.product-meta .ref {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.product-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-main);
  border-radius: var(--radius-md);
}

.price-block {
  display: flex;
  flex-direction: column;
}

.price-block .label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.price-block .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-block.accent .price {
  color: var(--accent-color);
  font-size: 1.4rem;
}

.btn-cart {
  width: 100%;
  padding: 1rem;
  background: var(--surface);
  color: var(--text-primary);
  border: 2px solid var(--border-color, #E2E8F0);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s var(--ease-out);
}

.btn-cart:hover {
  background: var(--accent-color);
  color: #FFFFFF;
  border-color: var(--accent-color);
}

/* --- Footer --- */
.site-footer {
  margin-top: 6rem;
  background: var(--text-primary);
  color: #FFFFFF;
}

.footer-massive-cta {
  padding: 8rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-massive-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}

.btn-neon.large {
  font-size: 1.1rem;
  padding: 1.2rem 3rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-bottom .brand-logo {
  color: #FFFFFF;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.copyright {
  color: #64748B;
  font-size: 0.9rem;
}
