/* ============================================================
   STRAYDE.PHOTO — Styles globaux + vitrine
   ============================================================
   Charte : Nunito (titres) + Nunito Sans (corps)
   Palette : vert accent (#C7EA7D), dark (#231A3D), texte (#4a5e50)
   ============================================================ */

/* ----- Variables CSS ----- */
:root {
  --bg:      #ffffff;
  --bg-soft: #f4f7f5;
  --bg-mid:  #eaf1ec;
  --card:    #ffffff;
  --border:  rgba(0,0,0,0.08);
  --accent:  #C7EA7D;
  --accent2: #96be40; /* 5cc483 */ 
  --dark:    #231A3D;
  --heading: #231A3D;
  --text:    #4a5e50;
  --muted:   #8fa898;

  /* App uniquement */
  --photo-bg:    #0d1a10;
  --overlay:     rgba(26,43,32,0.85);
  --badge-sold:  #e8f5e9;
  --badge-new:   #fff8e1;
  --star:        #f59e0b;

  /* Espacement */
  --section-py: clamp(64px, 8vw, 120px);
  --container-px: clamp(20px, 4vw, 80px);
  --container-max: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 20px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.3s var(--ease);
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}


/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
}

/* Label de section (trait vert + texte uppercase) */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent2);
  border-radius: 2px;
}

/* Titres uppercase grands */
.title-upper {
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

/* Prix */
.price {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  color: var(--heading);
}


/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.container-narrow {
  max-width: 800px;
}

.container-wide {
  max-width: 1400px;
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.section-dark {
  background: var(--dark);
  color: #ffffff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: rgba(255,255,255,0.7);
}

.section-dark .section-label {
  color: var(--accent);
}

.section-dark .section-label::before {
  background: var(--accent);
}

.section-soft {
  background: var(--bg-soft);
}

.section-mid {
  background: var(--bg-mid);
}

/* Grilles utilitaires */
.grid {
  display: grid;
  gap: 24px;
}

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

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center { text-align: center; }
.text-muted  { color: var(--muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }


/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.4;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: #d4f08e;
  border-color: #d4f08e;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(199, 234, 125, 0.35);
}

.btn-secondary {
  background: var(--accent2);
  color: var(--dark);
  border: 2px solid var(--accent2);
}

.btn-secondary:hover {
  background: #a5d049;
  border-color: #a5d049;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--heading);
  border: 2px solid var(--border);
}

.btn-ghost-dark:hover {
  border-color: var(--accent2);
  color: var(--accent2);
  transform: translateY(-1px);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
}

.btn-icon:hover {
  background: rgba(199, 234, 125, 0.15);
  border-color: var(--accent);
  color: var(--accent2);
}

.btn-sm {
  font-size: 13px;
  padding: 8px 20px;
}

.btn-lg {
  font-size: 17px;
  padding: 16px 36px;
}

.btn-block {
  width: 100%;
}


/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.badge-accent {
  background: rgba(199, 234, 125, 0.2);
  color: var(--accent2);
}

.badge-dark {
  background: var(--dark);
  color: #ffffff;
}

.badge-muted {
  background: var(--bg-mid);
  color: var(--muted);
}

.badge-new {
  background: var(--badge-new);
  color: #b8860b;
}

.badge-sold {
  background: var(--badge-sold);
  color: var(--accent2);
}

.badge-white {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

.badge-sport {
  background: var(--accent);
  color: var(--dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
}

/* Badge animé (hero) */
.badge-pulse {
  position: relative;
  padding-left: 24px;
}

.badge-pulse::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent2);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50%      { opacity: 0.5; transform: translateY(-50%) scale(1.4); }
}


/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(92, 196, 131, 0.1);
}

.card:hover::before {
  opacity: 1;
}

.card-body {
  padding: 24px;
}

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.card-img-wrapper {
  overflow: hidden;
  position: relative;
}

/* Card événement */
.card-event .card-img-wrapper {
  aspect-ratio: 16/9;
}

.card-event .card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.card-event .event-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--heading);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-event .event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.card-event .event-meta svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  vertical-align: -2px;
  margin-right: 4px;
}

.card-event .event-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.card-event .event-stats strong {
  color: var(--heading);
  font-weight: 800;
}

/* Card album */
.card-album .card-img-wrapper {
  aspect-ratio: 4/3;
}

.card-album .album-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--heading);
  margin-bottom: 4px;
}

.card-album .album-meta {
  font-size: 13px;
  color: var(--muted);
}

/* Card fonctionnalité */
.card-feature {
  padding: 32px;
  text-align: left;
}

.card-feature .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(199, 234, 125, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.card-feature h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card-feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Card profil */
.card-profile {
  text-align: center;
  padding: 32px;
}

.card-profile .profile-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.card-profile h3 {
  margin-bottom: 8px;
}

.card-profile .link-arrow {
  margin-top: 16px;
}

/* Card témoignage */
.card-testimonial {
  padding: 32px;
  position: relative;
}

.card-testimonial .quote-mark {
  font-family: 'Nunito', sans-serif;
  font-size: 64px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.5;
}

.card-testimonial blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}

.card-testimonial .testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-testimonial .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--accent2);
}

.card-testimonial .author-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--heading);
}

.card-testimonial .author-role {
  font-size: 12px;
  color: var(--muted);
}


/* ============================================================
   LIENS
   ============================================================ */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent2);
  transition: gap var(--transition);
}

.link-arrow::after {
  content: '\2192';
  transition: transform var(--transition);
}

.link-arrow:hover {
  gap: 10px;
}

.link-arrow:hover::after {
  transform: translateX(2px);
}

.link-muted {
  color: var(--muted);
  font-size: 14px;
  transition: color var(--transition);
}

.link-muted:hover {
  color: var(--accent2);
}


/* ============================================================
   NAVIGATION — Vitrine (nav-marketing)
   ============================================================ */
.nav-marketing {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav-marketing.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* Logo */
.logo {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--heading);
  letter-spacing: -0.03em;
}

.logo img{
  max-width: 200px;
}

.logo span {
  color: var(--accent2);
}

.logo:hover {
  color: var(--heading);
}

/* Liens nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--heading);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent2);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Actions nav */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Panier nav */
.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.cart-link:hover {
  background: var(--bg-soft);
}

.cart-link svg {
  width: 20px;
  height: 20px;
  color: var(--heading);
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent2);
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-badge.visible {
  display: flex;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Menu mobile */
.nav-mobile {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  z-index: 999;
  padding: 32px var(--container-px);
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--heading);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.nav-mobile a:hover {
  color: var(--accent2);
}

.nav-mobile .btn {
  margin-top: 20px;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: #ffffff;
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand .tagline {
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer-hosting {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(35, 26, 61, 0.85) 0%,
    rgba(35, 26, 61, 0.6) 50%,
    rgba(35, 26, 61, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: var(--section-py) 0;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 20px;
}

.hero .hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stats flottantes hero */
.hero-stats {
  position: absolute;
  bottom: 48px;
  right: var(--container-px);
  z-index: 1;
  display: flex;
  gap: 32px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  padding: 20px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-value {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: #ffffff;
  line-height: 1.2;
}

.hero-stat .stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero compact (pages app et intérieures) */
.hero-compact {
  background: var(--dark);
  padding: 150px 0 150px;
}

.hero-compact h1 {
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.hero-compact .hero-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

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

.breadcrumb .separator {
  font-size: 10px;
  opacity: 0.4;
}


/* ============================================================
   MARQUEE DEFILANT
   ============================================================ */
.marquee {
  overflow: hidden;
  background: var(--dark);
  padding: 18px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 40s linear infinite;
}

.marquee-item {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(14px, 2vw, 18px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.2);
  padding: 0 24px;
  flex-shrink: 0;
}

.marquee-item .dot {
  color: var(--accent);
  margin: 0 8px;
}

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


/* ============================================================
   SECTION CHIFFRES
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.stat-block .stat-number {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--accent);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-block .stat-text {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}


/* ============================================================
   SECTION CONFIANCE (logos clients)
   ============================================================ */
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.trust-logos span {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  opacity: 0.5;
}

.trust-logos .trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.4;
}


/* ============================================================
   SECTION COMMENT CA MARCHE (étapes)
   ============================================================ */
.steps-grid {
  display: grid;
  gap: 64px;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.step:nth-child(even) {
  direction: rtl;
}

.step:nth-child(even) > * {
  direction: ltr;
}

.step-number {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 80px;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 8px;
}

.step-content h3 {
  margin-bottom: 12px;
}

.step-content p {
  color: var(--muted);
  font-size: 15px;
}

.step-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-mid);
}

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


/* ============================================================
   SECTION DETECTION DOSSARD (IA)
   ============================================================ */
.bib-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.bib-visual {
  background: var(--photo-bg);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Grille CSS verte animée */
.bib-visual .scan-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(199, 234, 125, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 234, 125, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bib-visual .scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scanLine 3s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes scanLine {
  0%, 100% { top: 10%; }
  50%      { top: 90%; }
}

.bib-number-display {
  position: relative;
  z-index: 2;
  text-align: center;
}

.bib-number-display .bib-value {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 5rem);
  color: #ffffff;
  border: 3px solid var(--accent);
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 16px;
  position: relative;
}

.bib-number-display .bib-detected-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--accent2);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.bib-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.bib-chip {
  background: rgba(199, 234, 125, 0.12);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
}

.bib-info h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.bib-info p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  font-size: 15px;
}


/* ============================================================
   SECTION SECURITE
   ============================================================ */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.security-block {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.security-block .security-icon {
  flex-shrink: 0;
  font-size: 28px;
  line-height: 1;
}

.security-block h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.security-block p {
  font-size: 13px;
  color: var(--muted);
}

/* Variante fond dark */
.section-dark .security-block {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}

.section-dark .security-block h4 {
  color: #ffffff;
}

.section-dark .security-block p {
  color: rgba(255,255,255,0.5);
}


/* ============================================================
   SECTION CTA FINAL
   ============================================================ */
.cta-final {
  text-align: center;
  padding: var(--section-py) 0;
}

.cta-final h2 {
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-final p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  font-size: 15px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition);
  color: var(--muted);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent2);
  color: var(--accent2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}


/* ============================================================
   FORMULAIRES (globaux)
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--heading);
  margin-bottom: 6px;
}

.form-input,
.form-control,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--heading);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-control:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(92, 196, 131, 0.12);
}

.form-input::placeholder,
.form-control::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.form-error {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
}

/* Checkbox / Radio — compatible Bootstrap form-check */
.form-check {
  font-size: 14px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent2);
  border-color: var(--border);
}

.form-check-input:checked {
  background-color: var(--accent2);
  border-color: var(--accent2);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(92, 196, 131, 0.12);
  border-color: var(--accent);
}

.form-check-label {
  cursor: pointer;
}

/* Radio pills (sélecteur sujet contact) */
.radio-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-pill {
  display: block;
}

.radio-pill input {
  display: none;
}

.radio-pill label {
  display: inline-flex;
  padding: 8px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}

.radio-pill input:checked + label {
  border-color: var(--accent2);
  background: rgba(92, 196, 131, 0.08);
  color: var(--accent2);
}

.radio-pill label:hover {
  border-color: var(--accent);
}


/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.pagination a:hover {
  border-color: var(--accent2);
  color: var(--accent2);
}

.pagination .active {
  background: var(--accent2);
  color: #ffffff;
  border-color: var(--accent2);
}

.pagination .dots {
  border: none;
  color: var(--muted);
}

.pagination .prev,
.pagination .next {
  width: auto;
  padding: 0 16px;
  gap: 6px;
}


/* ============================================================
   BARRE DE RECHERCHE (filtres événements)
   ============================================================ */
.search-bar {
  background: var(--bg-soft);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 80px;
  z-index: 100;
}

.search-bar .search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-bar .search-input-wrapper {
  flex: 1;
  min-width: 240px;
  position: relative;
}

.search-bar .search-input-wrapper svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.search-bar .search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition);
}

.search-bar .search-input:focus {
  border-color: var(--accent);
}

.search-bar .filter-select {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  min-width: 140px;
  outline: none;
  cursor: pointer;
}

.search-bar .filter-select:focus {
  border-color: var(--accent);
}

.search-bar .result-count {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}


/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }


/* ============================================================
   PAGE 404
   ============================================================ */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dark);
  padding: 32px;
}

.page-404 .error-code {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(120px, 20vw, 200px);
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  position: absolute;
  user-select: none;
}

.page-404 .error-content {
  position: relative;
  z-index: 1;
}

.page-404 h1 {
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.page-404 p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}


/* ============================================================
   PAGE LEGAL (sommaire sticky)
   ============================================================ */
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 96px;
}

.legal-sidebar a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--muted);
  border-left: 2px solid var(--border);
  transition: all var(--transition);
}

.legal-sidebar a:hover,
.legal-sidebar a.active {
  color: var(--accent2);
  border-color: var(--accent2);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent2);
}


/* ============================================================
   ALERTES BOOTSTRAP — Override thème Strayde
   ============================================================ */
.alert {
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
}

.alert-success {
  background: var(--accent);
  color: var(--dark);
}

.alert-danger {
  background: #ff4d4f;
  color: #fff;
}

.alert-warning {
  background: #fff3cd;
  color: var(--dark);
}

.alert-info {
  background: #d1ecf1;
  color: var(--dark);
}


/* ============================================================
   CONNEXION / AUTH
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  padding: 32px;
}

.auth-card {
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  width: 100%;
  max-width: 440px;
  padding: 40px;
}

.auth-card .logo {
  text-align: center;
  display: block;
  margin-bottom: 32px;
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
  background: none;
  border: none;
}

.auth-tab.active {
  color: var(--heading);
}

.auth-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.auth-separator {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  font-size: 13px;
  color: var(--muted);
}

.auth-separator::before,
.auth-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-sso {
  width: 100%;
  padding: 12px 24px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition);
}

.btn-sso:hover {
  border-color: var(--accent2);
  background: rgba(92, 196, 131, 0.04);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
}


/* ============================================================
   WORKFLOW / ETAPES VERTICALES
   ============================================================ */
.workflow-steps {
  position: relative;
  padding-left: 40px;
}

.workflow-steps::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.workflow-step {
  position: relative;
  padding-bottom: 40px;
}

.workflow-step:last-child {
  padding-bottom: 0;
}

.workflow-step .step-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 13px;
  color: var(--dark);
  z-index: 1;
}

.workflow-step h4 {
  margin-bottom: 6px;
}

.workflow-step p {
  font-size: 14px;
  color: var(--muted);
}


/* ============================================================
   TABLEAU (revenus, etc.)
   ============================================================ */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: left;
  padding: 14px 20px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.table tr:last-child td {
  border-bottom: none;
}

.table .text-right { text-align: right; }

.table .text-green {
  color: var(--accent2);
  font-weight: 700;
}


/* ============================================================
   DOULEURS → BENEFICES (page organisateurs)
   ============================================================ */
.pain-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
}

.pain-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.pain-icon.bad {
  background: #fde8e8;
  color: #e74c3c;
}

.pain-icon.good {
  background: #e8f5e9;
  color: var(--accent2);
}

.pain-text {
  font-size: 15px;
  line-height: 1.5;
}


/* ============================================================
   PAGE EQUIPE (à propos)
   ============================================================ */
.team-card {
  text-align: center;
  padding: 32px;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: var(--accent2);
}

.team-card h4 { margin-bottom: 4px; }

.team-card .team-role {
  font-size: 13px;
  color: var(--accent2);
  font-weight: 700;
}

.team-card.hiring {
  border: 2px dashed var(--border);
  background: var(--bg-soft);
}

.team-card.hiring .team-avatar {
  background: rgba(199, 234, 125, 0.15);
  font-size: 32px;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}

.contact-info-card .info-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.contact-info-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--muted);
}

/* Message succès formulaire */
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  animation: fadeIn 0.4s var(--ease);
}

.form-success.visible {
  display: block;
}

.form-success .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(92, 196, 131, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
  color: var(--accent2);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   RESPONSIVE — max 900px
   ============================================================ */
@media (max-width: 900px) {
  /* Hero compact */
  .hero-compact { padding: 100px 0 80px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Grilles */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Hero */
  .hero { min-height: 80vh; }
  .hero-stats {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 32px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Étapes */
  .step {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step:nth-child(even) {
    direction: ltr;
  }

  /* Bib demo */
  .bib-demo {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Security */
  .security-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  /* Legal */
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: relative;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .legal-sidebar a {
    border-left: none;
    border-bottom: 2px solid var(--border);
    padding: 6px 12px;
    font-size: 13px;
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-compact { padding: 60px 0 48px; }

  :root {
    --section-py: 48px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .marquee-item {
    padding: 0 16px;
  }

  .auth-card {
    padding: 28px 20px;
  }
}


/* ============================================================
   ANIMATIONS UTILITAIRES
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes checkDraw {
  to { stroke-dashoffset: 0; }
}

/* Confirmation checkmark */
.check-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.check-circle .circle {
  fill: none;
  stroke: var(--accent2);
  stroke-width: 3;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: checkDraw 0.8s ease forwards;
}

.check-circle .check {
  fill: none;
  stroke: var(--accent2);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: checkDraw 0.5s ease 0.4s forwards;
}
