/* =========================================
   CHECKPOINT — Site vitrine
   Charte : Brand #675CFF | Accent #FFFE75 | Noir #02001A
   ========================================= */

/* ---------- RESET & BASE ---------- */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --brand: #675CFF;
  --brand-dark: #4F45CC;
  --brand-light: #8B82FF;
  --accent: #FFFE75;
  --accent-dark: #E8E55C;
  --black: #02001A;
  --white: #FFFFFF;
  --gray-50: #F8F8FA;
  --gray-100: #F0F0F4;
  --gray-200: #E1E1E8;
  --gray-400: #9A9AA8;
  --gray-600: #5E5E6C;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --radius-pill: 999px;

  --max-width: 1280px;
  --gutter: clamp(20px, 4vw, 48px);

  --shadow-soft: 0 4px 24px rgba(2, 0, 26, 0.06);
  --shadow-medium: 0 12px 40px rgba(2, 0, 26, 0.10);
  --shadow-brand: 0 16px 48px rgba(103, 92, 255, 0.28);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.35s var(--ease-out);
}

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

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

body {
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

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

section {
  padding: clamp(32px, 5vw, 56px) 0;
}

/* Premières et dernières sections avec un peu plus d'air */
.hero {
  padding-top: 100px;
  padding-bottom: 32px;
}

/* ---------- TYPO ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(48px, 9vw, 120px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(36px, 5.5vw, 64px);
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--brand);
}

.lead {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--gray-600);
  line-height: 1.5;
  max-width: 60ch;
}

.highlight {
  background: var(--accent);
  padding: 0 8px;
  border-radius: 4px;
  display: inline-block;
}

/* ---------- BOUTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

.btn-accent {
  background: var(--accent);
  color: var(--black);
  font-weight: 700;
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 254, 117, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

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

.btn-ghost-white:hover {
  background: var(--white);
  color: var(--brand);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  border-bottom-color: var(--gray-200);
  padding: 12px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  height: 40px;
  transition: transform var(--transition);
}

.nav-logo:hover {
  transform: scale(1.03);
}

.nav-logo img {
  height: 100%;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav-menu a:hover {
  background: var(--gray-100);
}

.nav-menu a.active {
  color: var(--brand);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-cta .btn {
  padding: 12px 22px;
  font-size: 14px;
}

/* Burger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 50%;
  background: var(--gray-100);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- HERO ---------- */
.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: linear-gradient(135deg, var(--brand-dark) 0%, #2a2438 100%);
  isolation: isolate;
}

.hero-content {
  padding: clamp(40px, 6vw, 80px);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

.hero-bg {
  position: relative;
  overflow: hidden;
}

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

.hero-bg::before {
  /* Soft gradient sur le côté gauche de l'image pour fusionner avec le texte */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(42, 36, 56, 0.5) 0%, transparent 25%);
  z-index: 1;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeUp 0.9s var(--ease-out) both;
}

.hero-content .tagline {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.95);
  animation: fadeUp 0.9s var(--ease-out) 0.15s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeUp 0.9s var(--ease-out) 0.3s both;
}

/* ---------- SECTION CONCEPT (violet) ---------- */
.concept-card {
  background: var(--brand);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.concept-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--brand-light) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.concept-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.concept-dots {
  display: flex;
  gap: 6px;
}

.concept-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.concept-header h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin: 0;
  text-align: center;
}

.concept-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.concept-text p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
}

.concept-text .btn {
  margin-top: 16px;
}

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

.concept-visual img {
  max-height: 480px;
  width: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.4));
  animation: floatY 6s ease-in-out infinite;
}

/* Phone Mockup (concept section) */
.phone-mockup {
  width: 280px;
  height: 560px;
  background: #1a1a1a;
  border-radius: 44px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 0 0 2px #2a2a2a,
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 10px 30px rgba(0, 0, 0, 0.4);
  animation: floatY 6s ease-in-out infinite;
  transform: rotate(-3deg);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #1a1a1a;
  border-radius: 14px;
  z-index: 2;
}

.phone-screen {
  background: var(--brand);
  border-radius: 32px;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
  font-size: 11px;
  color: var(--white);
  font-weight: 600;
  z-index: 3;
}

.phone-map {
  flex: 1;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,117,0.15) 0%, transparent 30%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.08) 0%, transparent 30%),
    linear-gradient(135deg, #7e72ff 0%, #5d52e0 100%);
  position: relative;
  margin: 0 16px;
  border-radius: 16px;
  overflow: hidden;
}

.phone-map::before {
  /* Stylized map lines */
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,0.1) 49%, rgba(255,255,255,0.1) 51%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255,255,255,0.1) 49%, rgba(255,255,255,0.1) 51%, transparent 51%);
  background-size: 40px 40px, 40px 40px;
  opacity: 0.4;
}

.map-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.map-pin.pin-1 { top: 20%; left: 30%; background: #FF6B6B; }
.map-pin.pin-2 { top: 35%; left: 60%; background: var(--accent); }
.map-pin.pin-3 { top: 55%; left: 40%; background: #4ECDC4; }
.map-pin.pin-4 { top: 70%; left: 70%; background: #FFA94D; }
.map-pin.pin-5 { top: 45%; left: 20%; background: var(--accent); }

.phone-card {
  background: var(--white);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 24px 20px 28px;
  margin-top: 12px;
  position: relative;
}

.phone-mascot {
  position: absolute;
  top: -36px;
  left: 16px;
  width: 56px;
  height: 56px;
}

.phone-text {
  margin-top: 4px;
}

.phone-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.2;
}

.phone-title .highlight {
  font-size: 14px;
}

.phone-desc {
  font-size: 11px;
  color: var(--gray-600);
  line-height: 1.45;
  margin-bottom: 14px;
}

.phone-btn {
  background: var(--brand);
  color: var(--white);
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 12px;
  border: none;
  cursor: pointer;
}

/* ---------- SECTION HEADER (titres de section) ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 24px;
  flex-wrap: wrap;
}

.section-head h2 {
  color: var(--brand);
  margin: 0;
}

.section-head .brand-tag {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand);
  text-transform: uppercase;
}

/* ---------- ÉQUIPE ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--gray-100);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  cursor: pointer;
}

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

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.team-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 20px 20px;
  background: linear-gradient(to top, rgba(2, 0, 26, 0.92) 0%, rgba(2, 0, 26, 0.7) 50%, transparent 100%);
  color: var(--white);
}

.team-card-name {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.team-card-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  line-height: 1.4;
}

/* ---------- PARTENAIRES ---------- */
.partners-card {
  background: var(--brand);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.partner-tile {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.partner-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.partner-logo {
  background: var(--black);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.partner-logo-text {
  color: var(--white);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.partner-logo-text .dot-orange {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: #FF5C1A;
  display: inline-block;
  margin-left: 4px;
}

.partner-logo-text .slash {
  color: var(--white);
  transform: skewX(-15deg);
  display: inline-block;
}

.partner-info {
  padding: 28px;
}

.partner-info h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.partner-info p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-600);
}

/* ---------- B2B SECTION ---------- */
.b2b-section {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-xl);
  margin: 0 var(--gutter);
  padding: clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}

.b2b-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 60%);
  opacity: 0.4;
}

.b2b-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.b2b-text .eyebrow {
  color: var(--accent);
}

.b2b-text .eyebrow::before {
  background: var(--brand);
  border-color: var(--accent);
}

.b2b-text h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.b2b-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  margin-bottom: 24px;
}

.b2b-features {
  list-style: none;
  margin: 28px 0;
}

.b2b-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
}

.b2b-features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.b2b-price-card {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-brand);
  position: relative;
  overflow: hidden;
}

.b2b-price-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 254, 117, 0.15) 0%, transparent 50%);
  animation: rotate 20s linear infinite;
}

.b2b-price-card-content {
  position: relative;
  z-index: 1;
}

.b2b-price-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--black);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.b2b-price-amount {
  font-size: clamp(64px, 9vw, 96px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
}

.b2b-price-amount sup {
  font-size: 0.4em;
  font-weight: 700;
  vertical-align: super;
  margin-right: 4px;
}

.b2b-price-period {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.b2b-price-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 20px;
}

/* ---------- QR / TÉLÉCHARGEMENT ---------- */
.qr-section {
  background: var(--brand);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.qr-section::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  opacity: 0.2;
}

.qr-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.qr-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.qr-code-wrapper {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
}

.qr-code-wrapper img,
.qr-code-wrapper canvas {
  width: 220px;
  height: 220px;
  display: block;
}

.qr-code-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--gray-200);
  margin-top: 32px;
}

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

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray-600);
  max-width: 32ch;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--brand);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--gray-600);
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--gray-400);
}

/* ---------- INNER PAGE (Histoire, Équipe, etc) ---------- */
.page-hero {
  padding-top: 120px;
  padding-bottom: 24px;
}

.page-hero-content {
  max-width: 800px;
}

.page-hero h1 {
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.0;
  margin-bottom: 24px;
}

.page-hero .lead {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--gray-600);
}

/* Histoire — timeline */
.story-section {
  padding: 32px 0;
}

.story-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--gray-200);
}

.story-block:first-child {
  border-top: none;
  padding-top: 16px;
}

.story-marker {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.story-marker-num {
  display: block;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.story-content h3 {
  margin-bottom: 20px;
  color: var(--black);
}

.story-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.story-content p strong {
  color: var(--black);
}

/* Équipe — page détaillée */
.team-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.team-detail {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  transition: var(--transition);
}

.team-detail:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.team-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

.team-detail-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-detail-info h3 {
  font-size: 24px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.team-detail-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.team-detail-bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-600);
}

/* Partenaires — page détaillée */
.partner-detail {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

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

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

.partner-detail-visual {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  min-height: 380px;
}

.partner-detail-info {
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner-detail-info h3 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.partner-detail-info p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 16px;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

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

/* Reveal animation — only active when JS adds .js-ready class to <html> */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: var(--shadow-medium);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease-out);
    border-top: 1px solid var(--gray-200);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-menu a {
    width: 100%;
    padding: 14px 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta .btn:not(.btn-primary) {
    display: none;
  }

  .concept-grid,
  .b2b-grid,
  .qr-section,
  .team-detail,
  .partner-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-bg {
    min-height: 320px;
  }

  .hero-bg::before {
    background: linear-gradient(0deg, rgba(2, 0, 26, 0.6) 0%, transparent 60%);
  }

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

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

  .team-page-grid {
    grid-template-columns: 1fr;
  }

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

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

  .story-block {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .b2b-section {
    margin: 0 12px;
  }
}

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

  .hero-content {
    padding: 32px 24px;
  }

  .qr-code-wrapper img,
  .qr-code-wrapper canvas {
    width: 180px;
    height: 180px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 0;
  }
}
