*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #1a1008;
  --bg-2: #2d1a0c;
  --card: rgba(42, 24, 12, 0.94);
  --border: rgba(255, 200, 120, 0.12);
  --border-hover: rgba(255, 159, 26, 0.55);
  --text: #fff8e7;
  --muted: #c4a574;
  --accent: #ff8f00;
  --accent-light: #ffc107;
  --accent-glow: rgba(255, 143, 0, 0.4);
  --purple: #e85d04;
  --gold: #ffbe0b;
  --gem: #00d4a8;
  --radius: 18px;
  --radius-sm: 12px;
}

[hidden] {
  display: none !important;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(255, 140, 0, 0.28), transparent),
    radial-gradient(ellipse 50% 45% at 100% 80%, rgba(255, 193, 7, 0.14), transparent),
    radial-gradient(ellipse 45% 40% at 0% 60%, rgba(232, 93, 4, 0.12), transparent),
    linear-gradient(165deg, #1a1008 0%, #2d1a0c 45%, #1a0f06 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 180, 80, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 180, 80, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-glow);
  top: -200px;
  right: -150px;
}

.glow-2 {
  width: 450px;
  height: 450px;
  background: rgba(255, 159, 26, 0.2);
  bottom: 10%;
  left: -120px;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.text-accent { color: var(--accent-light); }

/* Header */
.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(26, 16, 8, 0.88);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
}

.logo-icon { font-size: 1.4rem; }
.logo-text span { color: var(--accent-light); }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.badge {
  background: rgba(255, 143, 0, 0.12);
  color: var(--accent-light);
  border: 1px solid rgba(255, 143, 0, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* Stats bar */
.stats-bar {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.stat-gem-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Main layout */
.page-main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.hero-panel {
  padding-top: 16px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 143, 0, 0.18);
  color: #ffd080;
  border: 1px solid rgba(255, 159, 26, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 420px;
}

.trust-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.recent-feed {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.recent-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  animation: slideIn 0.4s ease;
}

.recent-item span:first-child {
  color: var(--text);
  font-weight: 500;
}

.recent-item span:last-child {
  color: var(--accent-light);
  font-weight: 700;
  font-size: 0.8rem;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Flow panel */
.flow-panel {
  position: sticky;
  top: 24px;
}

.stepper {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.step-item span {
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.3s;
}

.step-item.active .step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 16px var(--accent-glow);
}

.step-item.done .step-num {
  background: rgba(255, 143, 0, 0.2);
  border-color: var(--accent);
  color: var(--accent-light);
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 4px;
  margin-bottom: 20px;
  transition: background 0.3s;
}

.step-line.done { background: var(--accent); }

.card {
  display: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(24px);
  animation: fadeUp 0.35s ease;
}

.card.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.card-icon {
  font-size: 2rem;
  line-height: 1;
}

.card-header h2,
.card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.card-sub {
  color: var(--muted);
  font-size: 0.88rem;
}

.subtitle {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.55;
}

.subtitle strong { color: var(--text); }

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--muted);
}

.input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.input-prefix {
  padding: 0 12px 0 16px;
  color: var(--muted);
  font-weight: 600;
}

input[type="text"],
input[type="tel"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  padding: 15px 16px 15px 0;
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"]:-webkit-autofill,
input[type="tel"]:-webkit-autofill,
input[type="text"]:-webkit-autofill:hover,
input[type="tel"]:-webkit-autofill:hover,
input[type="text"]:-webkit-autofill:focus,
input[type="tel"]:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(16, 16, 28, 1) inset;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  transition: background-color 9999s ease-out;
}

.input-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 8px 0 20px;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 12px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.carrier-hint {
  margin-bottom: 20px;
}

.carrier-orange { color: #FF7900; font-weight: 600; }
.carrier-bouygues { color: #009DCC; font-weight: 600; }
.carrier-sfr { color: #E2001A; font-weight: 600; }

.phone-operator {
  font-size: 0.8rem;
  margin: -12px 0 16px;
  font-weight: 500;
}

.phone-operator.valid { color: var(--accent-light); }
.phone-operator.error { color: #f87171; }

.sms-disclaimer {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
  background: rgba(255, 143, 0, 0.08);
  border: 1px solid rgba(255, 143, 0, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
}

.sms-disclaimer-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.sms-disclaimer strong {
  color: var(--text);
}

.code-input-wrap input {
  width: 100%;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.code-input-wrap input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.verify-status {
  font-size: 0.85rem;
  margin: -8px 0 16px;
  font-weight: 500;
}

.verify-status.pending { color: var(--gold); }
.verify-status.success { color: var(--accent-light); }
.verify-status.error { color: #f87171; }

.btn-primary,
.btn-secondary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #ff8f00, #e85d04);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--accent-glow);
}

.btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover { background: rgba(255,255,255,0.08); }

/* Loader */
#step-loading { text-align: center; }

.loader-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 8px auto 20px;
}

.loader {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.06);
  border-top-color: var(--accent);
  animation: spin 0.75s linear infinite;
}

.loader-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: var(--purple);
  animation: spin 1.2s linear infinite reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }

.progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 20px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff8f00, #ffc107);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.loading-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 16px;
}

.loading-hint--auto {
  color: var(--accent-light);
}

#step-loading.loading--auto .progress-fill {
  transition: width 0.25s ease;
}

#step-loading.loading--auto .loader {
  border-top-color: var(--accent-light);
}

/* Profile card */
.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 143, 0, 0.06);
  border: 1px solid rgba(255, 143, 0, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.profile-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--muted);
  border: 2px solid var(--border);
}

.profile-avatar[hidden],
.profile-placeholder[hidden] {
  display: none !important;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.profile-user {
  font-size: 0.82rem;
  color: var(--muted);
}

.profile-verified {
  font-size: 0.72rem;
  color: var(--accent-light);
  font-weight: 600;
  margin-top: 2px;
}

/* Confirmation profil Brawl Stars */
.confirm-profile-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px 24px;
  margin-bottom: 20px;
}

.confirm-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
}

.confirm-avatar,
.confirm-avatar-placeholder {
  position: absolute;
  inset: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
}

.confirm-avatar {
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.confirm-avatar-placeholder {
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 2rem;
  color: var(--muted);
  border: 3px solid var(--border);
}

.confirm-avatar[hidden],
.confirm-avatar-placeholder[hidden] {
  display: none !important;
}

.confirm-profile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.confirm-display-name {
  font-weight: 800;
  font-size: 1.15rem;
}

.confirm-username {
  font-size: 0.9rem;
  color: var(--muted);
}

.confirm-badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.confirm-badge--ok {
  color: var(--accent-light);
  background: rgba(255, 143, 0, 0.15);
  border: 1px solid rgba(255, 159, 26, 0.35);
}

.confirm-badge--warn {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.confirm-question {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.confirm-actions .btn-secondary {
  width: 100%;
}

/* Pass Brawl — option dans la grille */
.amount-option--pass {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 16px;
  text-align: left;
}

.amount-pass-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.amount-gem-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 6px;
  display: block;
  object-fit: contain;
}

.recent-gem-icon {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 2px;
  object-fit: contain;
}

.recent-amount {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--accent-light);
}

.amount-pass-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.amount-plus-text {
  text-align: left;
}

.amount-option--pass .amount-label {
  margin-top: 2px;
  text-align: left;
}

.amount-option--pass.selected {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

/* Amount grid */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.amount-option {
  background: rgba(255,255,255,0.03);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  color: inherit;
}

.amount-option:hover {
  border-color: var(--border-hover);
  background: rgba(255, 143, 0, 0.05);
}

.amount-option.selected {
  border-color: var(--accent);
  background: rgba(255, 143, 0, 0.1);
  box-shadow: 0 0 24px var(--accent-glow);
}

.amount-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-light);
}

.amount-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

.amount-popular {
  display: block;
  font-size: 0.65rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 6px;
}

.selected-preview {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
  padding: 10px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
}

.selected-preview strong {
  color: var(--accent-light);
  font-size: 1.1rem;
}

/* Success */
.success-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.success-check svg {
  width: 64px;
  height: 64px;
}

.success-check circle {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: stroke 0.6s ease forwards;
}

.success-check path {
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.4s 0.5s ease forwards;
}

@keyframes stroke {
  to { stroke-dashoffset: 0; }
}

#step-success { text-align: center; }
#step-success h2 { margin-bottom: 8px; }

.timeline {
  text-align: left;
  margin: 24px 0;
  padding: 0 8px;
}

.timeline-item {
  display: flex;
  gap: 14px;
  padding-bottom: 20px;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item.done::before { background: var(--accent); }

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 4px;
}

.timeline-item.done .timeline-dot,
.timeline-item.active .timeline-dot {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.timeline-item strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.timeline-item span {
  font-size: 0.78rem;
  color: var(--muted);
}

.success-details {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.85rem;
}

.detail-row + .detail-row {
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 10px;
}

.tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.tag-pending {
  background: rgba(251, 191, 36, 0.12);
  color: var(--gold);
}

.mono {
  font-family: 'Courier New', monospace;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Info section */
.info-section,
.faq-section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.info-section h3,
.faq-section h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.info-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.info-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 400;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  padding: 0 20px 16px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Avis défilants */
.reviews-section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 48px;
}

.reviews-section h3 {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

.reviews-marquee {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reviews-row {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.reviews-track {
  display: flex;
  width: max-content;
}

.reviews-track-inner {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}

.reviews-row--ltr .reviews-track {
  animation: marquee-ltr 55s linear infinite;
}

.reviews-row--rtl .reviews-track {
  animation: marquee-ltr 50s linear infinite reverse;
}

.reviews-row:hover .reviews-track {
  animation-play-state: paused;
}

@keyframes marquee-ltr {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.review-card {
  flex-shrink: 0;
  width: 300px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.review-stars {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.review-text {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.review-user {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-light);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 12px 0 6px;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(122, 122, 148, 0.6);
}

/* Cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 16px;
  animation: cookieSlideUp 0.45s ease;
}

.cookie-banner[hidden] {
  display: none;
}

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-banner-inner {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(14, 14, 26, 0.97);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 143, 0, 0.08);
  backdrop-filter: blur(20px);
}

.cookie-banner-main {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.cookie-emoji {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.cookie-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.cookie-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 640px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn-cookie {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.btn-cookie:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.07);
}

.btn-cookie-primary {
  background: linear-gradient(135deg, var(--accent), #00945c);
  border-color: transparent;
  color: #fff;
}

.btn-cookie-primary:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  border-color: transparent;
}

.btn-cookie-link {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-left: 8px;
  padding-right: 8px;
}

.btn-cookie-link:hover {
  color: var(--accent-light);
  background: transparent;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal[hidden] {
  display: none;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.cookie-modal-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  animation: cookieModalIn 0.3s ease;
}

@keyframes cookieModalIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.cookie-modal-header h4 {
  flex: 1;
  font-size: 1.05rem;
}

.cookie-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.cookie-modal-intro {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.cookie-options {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.cookie-option strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.cookie-option span {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.cookie-option--locked {
  opacity: 0.85;
}

.cookie-toggle {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-light);
  white-space: nowrap;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch-slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-switch-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.cookie-switch input:checked + .cookie-switch-slider {
  background: var(--accent);
}

.cookie-switch input:checked + .cookie-switch-slider::before {
  transform: translateX(20px);
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-cookie-link {
  font: inherit;
  font-size: inherit;
  color: var(--muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-cookie-link:hover {
  color: var(--accent-light);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1a1a2e;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  z-index: 100;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast.error {
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.toast.success {
  border-color: rgba(255, 143, 0, 0.45);
  color: var(--accent-light);
}

/* Responsive */
@media (max-width: 900px) {
  .page-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-panel { text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .trust-row { justify-content: center; }
  .flow-panel { position: static; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-inner { padding: 14px 16px; }
  .badge { display: none; }
  .stats-bar { gap: 20px; padding: 16px; }
  .stat-value { font-size: 1.15rem; }
  .page-main { padding: 12px 16px 32px; }
  .card { padding: 24px 20px; }
  .step-item span { font-size: 0.58rem; }
  .step-num { width: 24px; height: 24px; font-size: 0.68rem; }
  .cookie-banner { padding: 12px; }
  .cookie-banner-main { flex-direction: column; gap: 10px; }
  .cookie-actions { flex-direction: column; align-items: stretch; }
  .btn-cookie { width: 100%; text-align: center; }
  .btn-cookie-link { width: auto; align-self: center; }
}
