@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&display=swap');

:root {
  --primary: #0098FF;
  --primary-dark: #0052FF;
  --primary-light: #EBF5FF;
  --accent-green: #10B981;
  --accent-green-light: #ECFDF5;
  --accent-green-border: #A7F3D0;
  --accent-red: #EF4444;
  --accent-red-light: #FEF2F2;
  --accent-red-border: #FECACA;
  --gem-jade: #10B981;
  --gem-rubis: #E11D48;
  --gem-saphir: #2563EB;
  --bg-dark: #0B111E;
  --card-dark: #162032;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --border-color: #E2E8F0;
  --border-hover: #CBD5E1;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-primary: 0 8px 24px rgba(0, 152, 255, 0.25);
  --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-xl: 40px;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Base Layout Helpers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

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

.section-header {
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #BFDBFE;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 1rem;
}

.section-tag.alert {
  background: var(--accent-green-light);
  color: #047857;
  border-color: var(--accent-green-border);
}

.section-header h2 {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Header & Nav */
header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 24px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 1.4rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.2s, transform 0.2s;
  padding: 0.25rem 0.2rem;
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--primary-dark);
  font-weight: 700;
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white !important;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-xl);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.24);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 82, 255, 0.35);
}

.btn-outline {
  background: white;
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-xl);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 4.5rem 0 4rem;
  background: radial-gradient(circle at 80% 20%, rgba(0, 152, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
              #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--accent-green-light);
  color: #065F46;
  border: 1px solid var(--accent-green-border);
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero h1 {
  font-size: 3.1rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.18;
  letter-spacing: -0.8px;
  margin-bottom: 1.4rem;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
}

.trust-divider {
  width: 1px;
  height: 16px;
  background: var(--border-color);
}

/* Hero Visual Stack */
.visual-stack {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.hero-photo-wrapper {
  position: relative;
  width: 72%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
}

.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-overlay-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(11, 17, 30, 0.85);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.4rem 0.85rem;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-phone-mockup {
  position: absolute;
  right: -55px;
  bottom: -28px;
  width: 48%;
  max-width: 225px;
  z-index: 10;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.28));
}

.mockup-frame {
  background: #1E293B;
  border: 7px solid #0F172A;
  border-radius: 44px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.mockup-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 5px;
  background: #0B111E;
  border-radius: 10px;
  z-index: 5;
}

.mockup-screen {
  width: 100%;
  height: auto;
  display: block;
}

/* Section 2 : Philosophie */
.philosophy-section {
  background: #FFFFFF;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.philosophy-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image-box {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #F1F5F9;
}

.card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.philosophy-card:hover .card-cover-img {
  transform: scale(1.04);
}

.card-content {
  padding: 1.8rem;
}

.card-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.7rem;
  border-radius: 18px;
  margin-bottom: 0.8rem;
}

.card-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

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

.signature-quote {
  background: linear-gradient(135deg, #0B111E 0%, #162032 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.quote-symbol {
  font-size: 5rem;
  line-height: 1;
  color: rgba(0, 152, 255, 0.25);
  font-family: Georgia, serif;
  margin-bottom: -1rem;
}

.quote-text {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.5;
  max-width: 820px;
  margin: 0 auto 1.2rem;
  letter-spacing: -0.3px;
}

.quote-author {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section 3 : Charte de Transparence (Face-à-Face) */
.charter-section {
  background: #F8FAFC;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.charter-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto;
}

.charter-comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.charter-col {
  border-radius: var(--radius-md);
  padding: 1.6rem 1.8rem;
  border: 1px solid;
  transition: transform 0.2s;
}

.charter-col:hover {
  transform: translateY(-2px);
}

.charter-col.red-flag {
  background: #FFFBFB;
  border-color: var(--accent-red-border);
}

.charter-col.green-guarantee {
  background: #FFFFFF;
  border-color: #BBF7D0;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.06);
}

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

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

.red-flag .flag-header h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent-red);
  font-weight: 800;
}

.green-guarantee .flag-header h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #059669;
  font-weight: 800;
}

.flag-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.flag-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

.link-external {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dotted var(--primary);
}

.link-external:hover {
  color: var(--primary);
  border-bottom-style: solid;
}

/* Section 4 : Sécurité & Sérénité */
.security-section {
  background: #FFFFFF;
}

.security-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.security-text h2 {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.security-text .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
}

.security-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pillar-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.2rem;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.pillar-item:hover {
  border-color: var(--primary);
  background: #F0F7FF;
  transform: translateX(4px);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.pillar-item:hover .pillar-icon {
  border-color: var(--primary);
  transform: scale(1.06);
}

.pillar-img-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.pillar-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.pillar-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.security-card-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
}

.security-image {
  width: 100%;
  height: auto;
  display: block;
}

.security-floating-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.chip-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chip-img-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.chip-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.chip-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Section 5 : Pierres Précieuses */
.gems-section {
  background: radial-gradient(circle at top, #F0F7FF 0%, #F8FAFC 70%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.gem-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.8rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.gem-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gem-visual {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.gem-image {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s ease;
}

.gem-card:hover .gem-image {
  transform: scale(1.1) rotate(2deg);
}

.gem-badge {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.3rem 0.8rem;
  border-radius: 18px;
  margin-bottom: 1rem;
}

.jade-card .gem-badge {
  background: var(--accent-green-light);
  color: #065F46;
}

.rubis-card .gem-badge {
  background: #FFE4E6;
  color: #9F1239;
}

.saphir-card .gem-badge {
  background: #EFF6FF;
  color: #1E40AF;
}

.gem-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.gem-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.gem-perks {
  list-style: none;
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gem-perks li {
  font-size: 0.88rem;
  color: #334155;
  font-weight: 500;
}

/* Hover glow borders on gem cards */
.jade-card:hover { border-color: var(--gem-jade); }
.rubis-card:hover { border-color: var(--gem-rubis); }
.saphir-card:hover { border-color: var(--gem-saphir); }

.gem-status {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #F1F5F9;
  padding: 0.25rem 0.75rem;
  border-radius: 24px;
}

/* Section 6 : Fonctionnalités Détaillées Pas à Pas */
.app-gallery-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.features-detail-container {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  max-width: 1040px;
  margin: 0 auto;
}

.feature-step-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.feature-step-row.reverse {
  grid-template-columns: 1fr 280px;
}

.feature-step-row.reverse .step-screen-wrapper {
  order: 2;
}

.feature-step-row.reverse .step-content {
  order: 1;
}

.step-screen-wrapper {
  display: flex;
  justify-content: center;
}

.step-screen-wrapper .screen-frame {
  width: 100%;
  max-width: 250px;
  background: #0F172A;
  border: 7px solid #1E293B;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  margin-bottom: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-screen-wrapper:hover .screen-frame {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.frame-camera {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  background: #020617;
  border-radius: 10px;
  z-index: 5;
}

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

.step-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.25rem 0.75rem;
  border-radius: 18px;
  margin-bottom: 0.85rem;
}

.step-content h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.step-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.step-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #334155;
}

.point-bullet {
  display: inline-block;
  width: 15px;
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  flex-shrink: 0;
  margin-top: 0.42rem;
  box-shadow: 0 2px 5px rgba(0, 82, 255, 0.25);
  transition: width 0.2s ease, transform 0.2s ease;
}

.step-points li:hover .point-bullet {
  width: 20px;
  transform: scaleY(1.1);
}

.point-icon {
  display: none;
}

.step-points li strong {
  display: block;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.step-points li span {
  color: var(--text-muted);
  font-size: 0.92rem;
}


/* Section 7 : Téléchargement */
.download-section {
  background: #F8FAFC;
}

.download-card {
  background: linear-gradient(135deg, #0B111E 0%, #162032 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 2.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(11, 17, 30, 0.25);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 152, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.badge-white {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 24px;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.download-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  width: 100%;
}

.download-left h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  text-align: center;
}

.download-left p {
  color: #94A3B8;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 660px;
}

.download-buttons-grid {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 1.8rem;
}

.btn-apk {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.8rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 290px;
  text-align: left;
}

.btn-apk-standard {
  background: #FFFFFF;
  color: #0B111E !important;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
  border: 2px solid #FFFFFF;
}

.btn-apk-standard:hover {
  transform: translateY(-3px);
  background: #F8FAFC;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.28);
}

.btn-apk-lite {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF !important;
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-apk-lite:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-apk-icon {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-apk-standard .btn-apk-icon {
  background: rgba(0, 82, 255, 0.12);
  color: #0052FF;
}

.btn-apk-lite .btn-apk-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #38BDF8;
}

.btn-apk-text strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.3;
}

.btn-apk-text small {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.8;
  margin-top: 2px;
}

.download-guide-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 660px;
  margin-bottom: 1.6rem;
  text-align: left;
}

.guide-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.download-guide-box p {
  color: #CBD5E1 !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  margin-bottom: 0 !important;
  text-align: left !important;
}

.download-guide-box strong {
  color: #FFFFFF;
}

.download-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}

.btn-primary-white {
  background: #FFFFFF;
  color: #0B111E !important;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  max-width: 380px;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

.btn-primary-white:hover {
  transform: translateY(-2px);
  background: #F8FAFC;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-primary-white strong {
  display: block;
  font-size: 1.1rem;
}

.btn-primary-white small {
  display: block;
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 500;
}

.store-preview-tag {
  color: #94A3B8;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
}

.technical-specs {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spec-row {
  font-size: 0.88rem;
  color: #CBD5E1;
}

.spec-row code {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85rem;
  color: #38BDF8;
}

.qr-code-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-code-visual {
  background: white;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.qr-label {
  font-size: 0.85rem;
  color: #94A3B8;
  max-width: 200px;
}

/* Section 8 : FAQ Accordéon */
.faq-section {
  background: #FFFFFF;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.6rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary-dark);
}

.faq-chevron {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(45deg);
  color: var(--primary-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
  max-height: 400px;
  transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
  padding: 0 1.6rem 1.4rem;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Section 9 : Footer */
footer {
  background: #0B111E;
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2rem;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 26px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-partner-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.footer-partner-badge span {
  display: block;
  color: #64748B;
  margin-bottom: 0.2rem;
}

.partner-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.partner-link:hover {
  text-decoration: underline;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links-list a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-contact-text {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.anti-phishing-warning {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #FCA5A5;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  line-height: 1.45;
}

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

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

.footer-sublinks {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.footer-sublinks a {
  color: #94A3B8;
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-sublinks a:hover {
  color: white;
}

/* =========================================================
   COMPATIBILITÉ PAGES LÉGALES (privacy.html & terms.html)
   ========================================================= */
.legal-container {
  max-width: 860px;
  margin: 3rem auto 6rem;
  padding: 0 1.5rem;
}

.legal-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}

.legal-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-body {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-section p,
.legal-section li {
  color: #334155;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.highlight-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 1.2rem 1.5rem;
  border-radius: 0 16px 16px 0;
  margin: 1.5rem 0;
}

.highlight-box p {
  margin-bottom: 0;
  color: var(--primary-dark);
  font-weight: 500;
}

.highlight-box.green {
  background: var(--accent-green-light);
  border-left-color: var(--accent-green);
}

.highlight-box.green p {
  color: #065F46;
}

/* =========================================================
   RESPONSIVE DESIGN (MOBILE-FIRST FRIENDLY)
   ========================================================= */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  .visual-stack {
    max-width: 480px;
    margin: 0 auto;
    justify-content: center;
  }

  .hero-phone-mockup {
    right: -15px;
    bottom: -20px;
  }

  .gems-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

  .app-screenshots-carousel {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  nav a {
    font-size: 1.1rem;
    width: 100%;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-subtext {
    font-size: 1.02rem;
  }

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

  .charter-comparison-row {
    grid-template-columns: 1fr;
  }

  .security-layout {
    grid-template-columns: 1fr;
  }

  .download-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    text-align: center;
  }

  .download-cta-group {
    align-items: center;
  }

  .btn-primary-white {
    width: 100%;
  }

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

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

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

  /* Corrections Mobile : Rangs d'étapes et fonctionnalités */
  .feature-step-row,
  .feature-step-row.reverse {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    text-align: center;
  }

  .feature-step-row.reverse .step-screen-wrapper,
  .feature-step-row .step-screen-wrapper {
    order: 1;
    margin: 0 auto;
  }

  .feature-step-row.reverse .step-content,
  .feature-step-row .step-content {
    order: 2;
    text-align: center;
  }

  .step-content .step-num {
    margin: 0 auto 0.75rem auto;
  }

  .features-detail-container {
    gap: 3.5rem;
  }

  /* Pierres précieuses sur mobile */
  .gems-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 380px;
    margin: 0 auto;
  }

  /* Mockup Hero */
  .visual-stack {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
  }

  .hero-phone-mockup {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 1.5rem auto 0;
    max-width: 250px;
  }
}

/* Écrans Smartphones (<= 480px) */
@media (max-width: 480px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .nav-container {
    padding: 0.8rem 1rem;
  }

  .brand-logo-img {
    height: 38px;
  }

  .hero {
    padding: 3rem 1rem 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.25;
  }

  .hero-subtext {
    font-size: 0.96rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .hero-trust-bar {
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.5rem;
  }

  .section-container {
    padding: 0 1rem;
  }

  .section-header h2 {
    font-size: 1.65rem;
    line-height: 1.3;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .app-screenshots-carousel {
    grid-template-columns: 1fr;
    max-width: 260px;
    margin: 0 auto;
    gap: 1.5rem;
  }

  .download-card {
    padding: 1.5rem 1rem;
    border-radius: 20px;
  }

  .download-card h2 {
    font-size: 1.6rem;
  }

  .download-badge-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-download-apk {
    width: 100%;
    justify-content: center;
  }

  .security-card,
  .gem-card,
  .philosophy-card {
    padding: 1.4rem 1.1rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 1rem 1.2rem;
  }
}
