/* Site vitrine Djama (djama.io) : mêmes couleurs que l'application (violet du logo, orange des personnages). */

:root {
  --violet: #6c2bd9;
  --violet-dark: #5420b3;
  --violet-soft: #f1ebfd;
  --orange: #f2a541;
  --orange-soft: #fdf3e4;
  --ink: #16131f;
  --text: #2c2838;
  --muted: #6b6679;
  --line: #e9e6f0;
  --bg: #ffffff;
  --bg-alt: #f8f7fb;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(22, 19, 31, 0.04), 0 8px 24px rgba(22, 19, 31, 0.06);
  --shadow-lg: 0 24px 60px rgba(76, 29, 160, 0.18);
  --max: 1180px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Poppins', var(--font);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --violet-soft: #241a3a;
    --orange-soft: #2d2416;
    --ink: #f5f3fa;
    --text: #dcd8e6;
    --muted: #9c97ab;
    --line: #2a2636;
    --bg: #0f0d15;
    --bg-alt: #15121d;
    --card: #1a1724;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--violet);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 8px 20px rgba(108, 43, 217, 0.3);
}

.btn-primary:hover {
  background: var(--violet-dark);
}

.btn-light {
  background: #fff;
  color: var(--violet);
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: var(--card);
}

.btn-outline:hover {
  border-color: var(--violet);
  color: var(--violet);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- En-tête ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.header.scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--violet);
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 26px;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--ink);
  background: var(--bg-alt);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn {
  height: 42px;
  padding: 0 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav {
  display: none;
}

@media (max-width: 920px) {
  .nav,
  .header-actions .link-login {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions .btn-primary {
    height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .mobile-nav {
    display: grid;
    gap: 4px;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
    border-bottom: 1px solid transparent;
  }

  .mobile-nav.open {
    max-height: 420px;
    padding: 8px 20px 18px;
    border-bottom-color: var(--line);
  }

  .mobile-nav a {
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 500;
    color: var(--ink);
  }

  .mobile-nav a:hover {
    background: var(--bg-alt);
  }
}

/* ---------- Héros ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 88px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(108, 43, 217, 0.16), transparent 62%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  left: -220px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(242, 165, 65, 0.16), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--violet);
  display: grid;
  place-items: center;
}

.eyebrow-dot svg {
  width: 12px;
  height: 12px;
  color: #fff;
}

@media (prefers-color-scheme: dark) {
  .eyebrow {
    color: #c9b3f5;
  }
}

.hero h1 .accent,
.page-hero h1 .accent {
  color: var(--violet);
  position: relative;
  white-space: nowrap;
}

@media (prefers-color-scheme: dark) {
  .hero h1 .accent,
  .page-hero h1 .accent {
    color: #a67cf0;
  }
}

.hero h1 .accent::after,
.page-hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.22em;
  background: var(--orange);
  opacity: 0.45;
  border-radius: 4px;
  z-index: -1;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted);
  margin: 22px 0 32px;
  max-width: 560px;
}

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

.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust strong {
  color: var(--ink);
  font-weight: 600;
}

.pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pay span {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink);
}

/* Téléphone de démonstration (aperçu de l'application, dessiné en CSS) */

.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 300px;
  height: 610px;
  border-radius: 46px;
  padding: 12px;
  background: #121019;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b2735;
}

.phone-screen {
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #f4f5f7;
  color: #16131f;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  border-radius: 20px;
  background: #121019;
  z-index: 2;
}

.app-top {
  background: linear-gradient(135deg, #6c2bd9, #8b4df0);
  color: #fff;
  padding: 50px 18px 20px;
}

.app-top small {
  opacity: 0.85;
  font-size: 0.72rem;
}

.app-top b {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  margin-top: 2px;
}

.app-search {
  margin-top: 14px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 0.75rem;
  opacity: 0.95;
}

.app-chips {
  display: flex;
  gap: 6px;
  padding: 14px 14px 4px;
}

.app-chips span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  color: #6b6679;
}

.app-chips span:first-child {
  background: #6c2bd9;
  color: #fff;
}

.app-cards {
  padding: 10px 14px;
  display: grid;
  gap: 10px;
}

.app-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(22, 19, 31, 0.06);
}

.app-card-img {
  height: 92px;
  position: relative;
}

.app-card-img.c1 {
  background: linear-gradient(135deg, #6c2bd9, #c13584 70%, #f2a541);
}

.app-card-img.c2 {
  background: linear-gradient(135deg, #0ea5e9, #6c2bd9);
}

.app-card-img .tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #6c2bd9;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.app-card-body {
  padding: 10px 12px 12px;
}

.app-card-body b {
  font-size: 0.82rem;
  display: block;
}

.app-card-body small {
  color: #6b6679;
  font-size: 0.68rem;
}

.app-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.app-card-foot em {
  font-style: normal;
  font-weight: 700;
  color: #6c2bd9;
  font-size: 0.75rem;
}

.app-card-foot i {
  font-style: normal;
  background: #6c2bd9;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.app-tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 10px 6px 16px;
  background: #fff;
  border-top: 1px solid #ece9f2;
  font-size: 0.6rem;
  color: #9c97ab;
}

.app-tabbar span {
  display: grid;
  justify-items: center;
  gap: 3px;
}

.app-tabbar span::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #e4e0ec;
}

.app-tabbar span.on {
  color: #6c2bd9;
  font-weight: 700;
}

.app-tabbar span.on::before {
  background: #6c2bd9;
}

.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--ink);
}

.float b {
  display: block;
  font-size: 0.86rem;
}

.float small {
  color: var(--muted);
}

.float-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}

.float-icon svg {
  width: 20px;
  height: 20px;
}

.float-a {
  left: -8px;
  top: 120px;
}

.float-b {
  right: -12px;
  bottom: 110px;
}

@media (max-width: 1020px) {
  .float-a {
    left: 0;
  }

  .float-b {
    right: 0;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 40px 0 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .phone {
    width: 270px;
    height: 550px;
  }
}

@media (max-width: 520px) {
  .float {
    display: none;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 96px 0;
}

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

.section-head {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.kicker {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}

@media (prefers-color-scheme: dark) {
  .kicker {
    color: #a67cf0;
  }
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

@media (max-width: 700px) {
  .section {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }
}

/* Événements à venir (lus depuis l'API) */

.events-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.events-head .section-head {
  margin: 0;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.event {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.event-img {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--violet), var(--orange));
  position: relative;
}

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

.event-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: #16131f;
  border-radius: 12px;
  padding: 6px 10px;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.event-date b {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
}

.event-date small {
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--violet);
}

.event-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.event-cat {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--violet);
}

@media (prefers-color-scheme: dark) {
  .event-cat {
    color: #a67cf0;
  }
}

.event-body h3 {
  font-size: 1.05rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.event-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--ink);
}

.event-foot span:last-child {
  color: var(--violet);
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .events-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Cartes « Pour qui » et fonctionnalités */

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1020px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 620px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

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

.icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}

.icon svg {
  width: 26px;
  height: 26px;
}

.i-violet {
  background: var(--violet-soft);
  color: var(--violet);
}

.i-orange {
  background: var(--orange-soft);
  color: #d4801a;
}

.i-blue {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
}

.i-green {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

@media (prefers-color-scheme: dark) {
  .i-violet {
    color: #b38cf5;
  }
}

.more {
  margin-top: auto;
  padding-top: 6px;
  font-weight: 600;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (prefers-color-scheme: dark) {
  .more {
    color: #b38cf5;
  }
}

.more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

a.card:hover .more svg {
  transform: translateX(3px);
}

/* Étapes */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--violet);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 16px;
}

.step p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.95rem;
}

@media (max-width: 1020px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Bloc mis en avant (texte + liste) */

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

.split.reverse > :first-child {
  order: 2;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split.reverse > :first-child {
    order: 0;
  }
}

.checks {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checks li::before {
  content: '';
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 999px;
  background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c2bd9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.checks b {
  color: var(--ink);
}

.panel {
  border-radius: 26px;
  padding: 36px;
  background: linear-gradient(150deg, var(--violet), #8b4df0);
  color: #fff;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 14px;
}

.panel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.panel-row b {
  display: block;
  font-size: 0.98rem;
}

.panel-row small {
  opacity: 0.82;
}

.panel-row .float-icon {
  background: rgba(255, 255, 255, 0.18);
}

.panel-row .float-icon svg {
  color: #fff;
}

/* Télécharger l'application */

.download {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 64px;
  background: linear-gradient(135deg, #5420b3, #6c2bd9 55%, #8b4df0);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.download::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(242, 165, 65, 0.4), transparent 65%);
}

.download h2 {
  color: #fff;
}

.download p {
  opacity: 0.88;
  margin: 16px 0 28px;
  font-size: 1.08rem;
  max-width: 540px;
}

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

.store {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 20px 0 16px;
  border-radius: 14px;
  background: #0f0d15;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: default;
}

.store svg {
  width: 26px;
  height: 26px;
}

.store small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.75;
  line-height: 1.2;
}

.store b {
  display: block;
  font-size: 1.05rem;
  line-height: 1.2;
}

.store .soon {
  position: absolute;
  top: -10px;
  right: -8px;
  background: var(--orange);
  color: #2a1a03;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.download-alt {
  margin-top: 26px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.download-alt a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.download-visual .logo-big {
  width: 200px;
  height: 200px;
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  box-shadow: 0 30px 60px rgba(20, 6, 50, 0.35);
}

.download-visual .logo-big svg {
  width: 130px;
}

@media (max-width: 900px) {
  .download {
    grid-template-columns: 1fr;
    padding: 44px 28px;
    border-radius: 26px;
  }

  .download-visual {
    display: none;
  }
}

/* Questions fréquentes */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 22px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 1.2rem;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 0 20px;
  color: var(--muted);
}

/* Bandeau final */

.cta-band {
  text-align: center;
  padding: 80px 0;
}

.cta-band p {
  color: var(--muted);
  margin: 16px auto 30px;
  max-width: 560px;
  font-size: 1.08rem;
}

.cta-band .hero-cta {
  justify-content: center;
}

/* En-tête des pages secondaires */

.page-hero {
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  right: -200px;
  top: -260px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(108, 43, 217, 0.14), transparent 62%);
  pointer-events: none;
}

.page-hero .lead {
  margin-bottom: 30px;
}

/* ---------- Pied de page ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  background: var(--bg-alt);
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}

.footer p {
  color: var(--muted);
  margin-top: 14px;
  max-width: 320px;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer ul a {
  color: var(--muted);
}

.footer ul a:hover {
  color: var(--violet);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* Apparition douce au défilement (seulement si le JavaScript tourne : sans lui, tout reste visible) */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .event,
  .card {
    transition: none;
  }
}
