/* ==========================================================================
   YOURTRAIL LANDING PAGE - MODERN DARK GLASSMORPHISM STYLESHEET (V3)
   ========================================================================== */

/* --- DESIGN TOKENS & CUSTOM PROPERTIES --- */
:root {
  --color-bg: #070a0f;
  --color-bg-alt: #0b0f17;
  --color-surface: rgba(18, 24, 38, 0.65);
  --color-surface-hover: rgba(25, 33, 52, 0.85);
  --color-surface-bright: rgba(30, 41, 59, 0.7);
  
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(16, 185, 129, 0.35);
  --color-border-glow: rgba(16, 185, 129, 0.5);

  --primary: #10b981;
  --primary-light: #34d399;
  --primary-dark: #059669;
  --primary-glow: rgba(16, 185, 129, 0.3);
  
  --accent-orange: #f97316;
  --accent-amber: #f59e0b;
  --accent-blue: #3b82f6;

  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-sub: #6b7280;

  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --backdrop-blur: blur(20px);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

code {
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-light);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.9em;
}

/* --- BACKGROUND ANIMATED GLOW ORBS --- */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.4;
}

.bg-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.bg-glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-orange) 0%, transparent 70%);
  top: 40%;
  right: -200px;
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
  opacity: 0.2;
}

.bg-glow-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #0284c7 0%, transparent 70%);
  bottom: -100px;
  left: 20%;
  animation: floatOrb 15s ease-in-out infinite alternate;
  opacity: 0.25;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* --- LAYOUT CONTAINER --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- TYPOGRAPHY UTILITIES --- */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* --- GLASSMORPHISM CARD COMPONENTS --- */
.glass-card {
  background: var(--color-surface);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-border-hover);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px 0 var(--primary-glow);
  transform: translateY(-4px);
}

.glass-card-glowing {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(18, 24, 38, 0.85) 100%);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(16, 185, 129, 0.2);
}

/* --- BUTTONS & LANGUAGE SWITCHER --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--text-main);
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Language Switcher Button */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  color: var(--text-main);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-switch-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--primary-light);
  color: var(--primary-light);
}

.lang-switch-btn .flag-icon {
  font-size: 1rem;
}

/* Apple App Store Official Badge Button */
.btn-appstore {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.65rem 1.6rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.btn-appstore::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(30deg);
  transition: all 0.6s ease;
}

.btn-appstore:hover::after {
  left: 100%;
}

.btn-appstore:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.25);
}

.btn-appstore .icon-apple {
  width: 28px;
  height: 28px;
}

.btn-appstore .btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.btn-appstore .btn-text .subtext {
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text-muted);
}

.btn-appstore .btn-text .maintext {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.btn-lg {
  padding: 0.9rem 2.2rem;
}

.btn-lg .btn-text .maintext {
  font-size: 1.3rem;
}

/* --- HEADER & NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(7, 10, 15, 0.85);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--color-border);
  padding: 0.85rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.nav-app-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 15px var(--primary-glow);
  border: 1px solid rgba(16, 185, 129, 0.35);
  transition: transform var(--transition-fast);
}

.nav-logo:hover .nav-app-icon {
  transform: scale(1.06);
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: #ffffff;
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.icon-appstore {
  width: 18px;
  height: 18px;
}

/* Hamburger button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.hamburger-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --- HERO SECTION --- */
.hero-section {
  padding-top: 9rem;
  padding-bottom: 6rem;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.hero-subtitle strong {
  color: var(--primary-light);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-highlights {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* CLEAN HERO MOCKUP RENDER SHOWCASE */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.clean-hero-render {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 440px;
  width: 100%;
  position: relative;
}

.clean-phone-img {
  width: 100%;
  border-radius: 46px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 50px rgba(16, 185, 129, 0.3);
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.clean-hero-render:hover .clean-phone-img {
  transform: translateY(-8px) scale(1.02);
}

.render-badge-toggle {
  display: flex;
  background: rgba(18, 24, 38, 0.9);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--color-border);
  padding: 6px;
  border-radius: var(--radius-full);
  margin-top: 1.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  width: 100%;
}

.toggle-mockup-btn {
  flex: 1;
  padding: 0.6rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-title);
  background: transparent;
  color: var(--text-muted);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.toggle-mockup-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* --- SECTION NOTRE HISTOIRE (FOUNDER STORY) --- */
.story-section {
  padding: 6rem 0;
}

.story-card {
  padding: 3.5rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.story-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.story-text p {
  margin-bottom: 1.25rem;
}

.story-text strong {
  color: #ffffff;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 15px var(--primary-glow);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: #fff;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-sub);
}

.philosophy-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(11, 15, 23, 0.7);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.philo-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.philo-icon {
  font-size: 1.5rem;
}

.philo-item h4 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-light);
}

.philo-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- SECTION GUIDE GPX --- */
.gpx-guide-section {
  padding: 6rem 0;
  background: var(--color-bg-alt);
}

.gpx-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gpx-step-card {
  position: relative;
  text-align: left;
}

.step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.05);
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 1.25rem;
}

.gpx-step-card h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.gpx-step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- SECTION PRICING (2,99€ À VIE) --- */
.pricing-section {
  padding: 6rem 0;
}

.pricing-card {
  text-align: center;
  padding: 3.5rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--primary-light);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.pricing-title {
  font-family: var(--font-title);
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.pricing-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 2rem;
}

.price-display .currency {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-light);
}

.price-display .amount {
  font-family: var(--font-title);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 30px var(--primary-glow);
}

.price-display .period {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 0.5rem;
}

.pricing-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
  text-align: left;
}

.p-feat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.p-feat svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- SECTION 1: FEATURES GRID --- */
.features-section {
  padding: 6rem 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.card-icon-badge {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
}

.glass-card h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}

.glass-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.feature-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Canvas elevation profile */
.elevation-canvas-container {
  background: rgba(11, 15, 23, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.canvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.canvas-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
}

canvas#elevationCanvas {
  width: 100%;
  height: 180px;
  display: block;
  cursor: crosshair;
}

.canvas-footer-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-top: 0.5rem;
}

.hover-info {
  color: var(--primary-light);
  font-weight: 600;
}

/* Clean Widget Showcase Box */
.clean-widget-box {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.clean-widget-img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
}

/* Bivouac Advice Widget Card */
.bivouac-widget-preview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.bivouac-card {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  padding: 1rem;
}

.bivouac-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.bivouac-status-icon {
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.bivouac-title-wrap {
  display: flex;
  flex-direction: column;
}

.bivouac-status-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-light);
}

.bivouac-location {
  font-size: 0.75rem;
  color: var(--text-sub);
}

.bivouac-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.bivouac-card.advice-hydration {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.3);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hydration-icon {
  font-size: 1.2rem;
}

.hydration-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hydration-text strong {
  color: #38bdf8;
}

/* --- SECTION APPLE WATCH (REAL WATCH SCREENSHOTS GRID) --- */
.watch-section {
  padding: 6rem 0;
  background: var(--color-bg-alt);
}

.watch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.watch-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.watch-frame {
  width: 220px;
  height: 270px;
  background: #000;
  border-radius: 36px;
  border: 4px solid #333942;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.2);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-bounce);
}

.watch-card:hover .watch-frame {
  transform: translateY(-8px) scale(1.04);
  border-color: var(--primary);
}

.watch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watch-card h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.watch-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- SECTION 2: GALLERY / SCREENSHOTS SLIDER --- */
.gallery-section {
  padding: 6rem 0;
  position: relative;
}

.gallery-slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.gallery-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  opacity: 0.4;
  transform: scale(0.9);
  transition: all 0.5s ease;
}

.gallery-slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-phone-mockup {
  width: 270px;
  height: 550px;
  background: #111;
  border-radius: 44px;
  border: 4px solid #2a2f38;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(16, 185, 129, 0.2);
  overflow: hidden;
  margin-bottom: 2rem;
}

.slide-phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  text-align: center;
  max-width: 450px;
}

.slide-caption h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.slide-caption p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.slider-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 24, 38, 0.9);
  border: 1px solid var(--color-border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.slider-btn.prev-btn { left: 10px; }
.slider-btn.next-btn { right: 10px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dots .dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 10px;
}

/* --- SECTION 3: WHY YOURTRAIL --- */
.why-section {
  padding: 6rem 0;
  background: var(--color-bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  text-align: left;
}

.why-icon {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
}

/* --- CTA BANNER SECTION --- */
.cta-section {
  padding: 6rem 0;
}

.cta-card {
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
}

.cta-content {
  max-width: 650px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cta-subnote {
  font-size: 0.8rem;
  color: var(--text-sub);
}

/* --- FOOTER --- */
.footer {
  background: #040609;
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-desc {
  color: var(--text-sub);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 340px;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-sub);
}

.mobile-menu-cta {
  display: none;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-ctas, .hero-highlights {
    justify-content: center;
  }

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

  .gpx-steps-grid {
    grid-template-columns: 1fr;
  }

  .pricing-features-list {
    grid-template-columns: 1fr;
  }

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

  .feature-wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-logo {
    font-size: 1.25rem;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .nav-app-icon {
    width: 32px;
    height: 32px;
  }

  /* Sur mobile, masquer le bouton vert du header pour laisser la place au logo, au switch de langue et au menu burger */
  .nav-actions .btn-primary {
    display: none;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .lang-switch-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
  }

  .hero-section {
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .badge-pill {
    font-size: 0.78rem;
    padding: 0.35rem 0.8rem;
    text-align: center;
  }

  .clean-hero-render {
    max-width: 90%;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .nav-menu {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(7, 10, 15, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  }

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

  .mobile-menu-cta {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .hamburger-btn {
    display: flex;
  }

  .hamburger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .slider-btn {
    width: 36px;
    height: 36px;
  }

  .story-card {
    padding: 2rem 1.25rem;
  }

  .pricing-card {
    padding: 2.5rem 1.25rem;
  }

  .price-display .amount {
    font-size: 3.8rem;
  }
}
