/* ==========================================================================
   PAGES - Styles spécifiques à chaque page / section
   ========================================================================== */

/* ══════════════════════════════════════════════════════════════════════════
   HERO - Page d'accueil
   ══════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

/* Grille de points décorative */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Lueur rouge bas-gauche */
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 55%;
  height: 80%;
  border-radius: var(--r-full);
  background: radial-gradient(ellipse, rgba(255,51,56,0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Layout 2 colonnes */
.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: calc(var(--header-h) + var(--s2)) var(--s8) var(--s12);
  gap: var(--s10);
}

/* Logo décoratif fond hero */
.hero__deco {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  height: 90%;
  width: auto;
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ── Colonne gauche ─────────────────────────────────────────────────────── */
.hero__left {
  animation: fadeUp 0.6s var(--ease) both;
}

/* Ligne 1 : italique, légèrement plus petite */
.hero__title-line1 {
  font-style: italic;
  font-size: 0.82em;
  line-height: 1.15;
}

/* Ligne 2 : Dharma Gothic ExBold - plus grande que la ligne 1 */
.hero__title-line2 {
  font-family: 'DharmaGothicE', sans-serif;
  font-style: normal;
  font-size: 1.45em;
  line-height: 1;
}

.hero__title-dot {
  display: inline-block;
  height: 0.4em;
  width: auto;
  vertical-align: baseline;
  margin-left: 0.04em;
  position: relative;
  bottom: 0em;
}

.hero__title {
  font-family: 'Geist', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--s6);
  color: var(--white);
}

.hero__desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 440px;
}

/* ── Colonne droite ─────────────────────────────────────────────────────── */
.hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.6s 0.15s var(--ease) both;
}

/* Actions (gauche) */
.hero__actions {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-top: var(--s8);
}

/* Réseaux sociaux (gauche, sous les CTAs) */
.hero__socials {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s8);
}

.hero__socials-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-right: var(--s1);
}

.hero__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  transition: color var(--t-fast), border-color var(--t-fast);
}

.hero__social-link:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

/* ── Mockup téléphone ───────────────────────────────────────────────────── */
.hero__phone-wrap {
  position: relative;
  padding: var(--s6);
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@media (hover: hover) {
  .hero__phone-wrap:hover { transform: scale(1.14); }
}

/* Touch : toggle via JS */
.hero__phone-wrap.is-zoomed { transform: scale(1.14); }

/* Halo rouge derrière le téléphone */
.hero__phone-wrap::before {
  content: '';
  position: absolute;
  inset: -12%;
  background: radial-gradient(ellipse at center, rgba(255,51,56,0.22) 0%, transparent 65%);
  pointer-events: none;
}

.hero__phone {
  width: 232px;
  height: 472px;
  border-radius: 42px;
  /* Cadre du téléphone */
  background: #111;
  border: 2px solid rgba(255,255,255,0.14);
  overflow: hidden;
  position: relative;
  transform: rotate(4deg);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.6),
    0 32px 80px rgba(0,0,0,0.65),
    0 12px 32px rgba(255,51,56,0.14),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* Flottement subtil */
@media (prefers-reduced-motion: no-preference) {
  .hero__phone {
    animation: phoneFloat 7s ease-in-out infinite;
  }

  @keyframes phoneFloat {
    0%, 100% { transform: rotate(4deg) translateY(0); }
    50%      { transform: rotate(4deg) translateY(-12px); }
  }
}

/* Dynamic island */
.hero__phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 28px;
  background: #000;
  border-radius: 22px;
  z-index: 3;
}

/* Reflets latéraux du cadre */
.hero__phone::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.07) 0%,
    transparent 35%,
    transparent 65%,
    rgba(0,0,0,0.12) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Écran : screenshot de l'application */
.hero__phone-screen {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 1;
}

.hero__phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
}

/* Section statistiques réseaux sociaux */
.platform-stats {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  margin-top: var(--s10);
}

.platform-block {
  border: var(--border-dark);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--black-card);
}

.platform-block__header {
  background: rgba(255,255,255,0.04);
  padding: var(--s3) var(--s5);
  display: flex;
  align-items: center;
  gap: var(--s3);
  border-bottom: var(--border-dark);
  font-weight: 700;
  color: var(--white);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.platform-block__header [data-lucide],
.platform-block__header svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.platform-block__period {
  margin-left: auto;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.platform-block__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.platform-block__stat {
  background: var(--black-card);
  padding: var(--s4) var(--s5);
}

.platform-block__stat-value {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.platform-block__stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Packages partenariat */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
  margin-top: var(--s10);
}

.pkg-card {
  background: var(--black-card);
  border: var(--border-dark);
  border-radius: var(--r-2xl);
  padding: var(--s8);
  display: flex;
  flex-direction: column;
  gap: var(--s6);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base);
}

.pkg-card:hover {
  border-color: rgba(255,51,56,0.3);
  transform: translateY(-4px);
}

.pkg-card--featured {
  border-color: rgba(255,51,56,0.35);
  background: linear-gradient(155deg, #1c0000 0%, #111111 100%);
}

.pkg-card__badge {
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  background: var(--gradient-red);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
}

.pkg-card__platform {
  display: flex;
  align-items: center;
  gap: var(--s3);
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pkg-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  flex: 1;
}

.pkg-card__feature {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
}

.pkg-card__feature::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: var(--r-full);
  flex-shrink: 0;
  margin-top: 7px;
}

.pkg-card__feature-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.pkg-card__feature-text strong {
  color: var(--white);
  font-weight: 600;
  display: block;
}

.pkg-card__price {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: var(--s5);
}

.pkg-card__price-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--s2);
}

.pkg-card__price-value {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pkg-card__price-value small {
  font-size: var(--text-base);
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0;
  margin-left: var(--s1);
}


/* ══════════════════════════════════════════════════════════════════════════
   COMMUNITY CARDS
   ══════════════════════════════════════════════════════════════════════════ */
.community-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--r-xl);
  padding: var(--s8);
  transition: border-color var(--t-base), transform var(--t-base);
}

.community-card:hover {
  border-color: rgba(255,51,56,0.25);
  transform: translateY(-4px);
}

.community-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(255,51,56,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s5);
  transition: background var(--t-base);
}

.community-card:hover .community-card__icon {
  background: rgba(255,51,56,0.2);
}

.community-card__icon [data-lucide] { width: 22px; height: 22px; color: var(--red); }

.community-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--s3);
  letter-spacing: -0.01em;
}

.community-card__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════════════
   PARTENAIRES - bande défilante
   ══════════════════════════════════════════════════════════════════════════ */
.partners-band {
  margin-top: var(--s16);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: var(--s10);
}

.partners-band__label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--s8);
}

.partners-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s12);
  flex-wrap: wrap;
}

.partners-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s4) var(--s6);
}

.partners-item img {
  height: 56px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity var(--t-fast);
}

.partners-item img:hover { opacity: 1; }

.partner-invert {
  filter: brightness(0) invert(1);
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION STATS (bande rouge)
   ══════════════════════════════════════════════════════════════════════════ */
.stats-band {
  background: var(--gradient-red);
  padding-block: var(--s16);
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.stats-band .grid--4 { position: relative; }

/* Séparateurs verticaux entre stats */
.stats-band .stat-block + .stat-block {
  border-left: 1px solid rgba(255,255,255,0.14);
}

/* ══════════════════════════════════════════════════════════════════════════
   PAGE HERO (pages secondaires)
   ══════════════════════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--gradient-hero);
  color: var(--white);
  padding-block: var(--s24) var(--s20);
  position: relative;
  overflow: hidden;
}

/* Grille de points */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Lueur rouge */
.page-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  border-radius: var(--r-full);
  background: radial-gradient(ellipse, rgba(255,51,56,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero__bg-logo {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  height: 220%;
  opacity: 0.03;
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--s5);
  padding: 0.3rem 0.875rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.04);
}

.page-hero__label::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: var(--r-full);
  background: var(--red);
  flex-shrink: 0;
}

.page-hero__title {
  font-size: clamp(2.2rem, 5.5vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 780px;
  animation: fadeUp 0.6s var(--ease) both;
}

.page-hero__desc {
  margin-top: var(--s6);
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.75;
  animation: fadeUp 0.6s 0.1s var(--ease) both;
}

/* ══════════════════════════════════════════════════════════════════════════
   ORGANIGRAMME
   ══════════════════════════════════════════════════════════════════════════ */
.org-group {
  margin-bottom: var(--s16);
}

.org-group:last-child { margin-bottom: 0; }

.org-group__title {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--s10);
  display: flex;
  align-items: center;
  gap: var(--s4);
}

.org-group__title::before,
.org-group__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.org-group__members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s6);
}

/* ══════════════════════════════════════════════════════════════════════════
   PAGE APPLICATION - App showcase
   ══════════════════════════════════════════════════════════════════════════ */
.app-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s20);
  align-items: center;
}

.app-showcase--reverse .app-showcase__mockup { order: -1; }

.app-showcase__mockup {
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--gradient-card);
  border: var(--border-dark);
  aspect-ratio: 9/18;
  max-width: 280px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: var(--text-sm);
  box-shadow: 0 32px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
}

/* Reflet sur l'écran du mockup */
.app-showcase__mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  pointer-events: none;
}

.app-showcase__features {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

/* ══════════════════════════════════════════════════════════════════════════
   PAGE CONTACT - Layout
   ══════════════════════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: var(--s20);
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--s8);
  position: sticky;
  top: calc(var(--header-h) + var(--s8));
}

.contact-info__item {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-lg);
  background: rgba(255,51,56,0.07);
  border: var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
  transition: background var(--t-fast), transform var(--t-fast);
}

.contact-info__item:hover .contact-info__icon {
  background: rgba(255,51,56,0.13);
  transform: scale(1.06);
}

.contact-info__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: var(--s1);
}

.contact-info__value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-800);
}

/* Formulaire encadré */
.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s5);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-full);
  padding: var(--s2) var(--s4);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.contact-email-link:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--r-2xl);
  border: var(--border-light);
  padding: var(--s10) var(--s10);
  box-shadow: var(--shadow-sm);
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION CTA global (réutilisable)
   ══════════════════════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--black-soft);
  color: var(--white);
  padding-block: var(--s24);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  border-radius: var(--r-full);
  background: radial-gradient(ellipse, rgba(255,51,56,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__title {
  font-size: clamp(1.75rem, 4vw, var(--text-4xl));
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--s4);
  position: relative;
}

.cta-section__desc {
  font-size: var(--text-lg);
  color: var(--white-dim);
  max-width: 480px;
  margin: 0 auto var(--s10);
  line-height: 1.7;
  position: relative;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s4);
  position: relative;
}

/* ══════════════════════════════════════════════════════════════════════════
   SÉPARATEUR DE SECTION décoratif
   ══════════════════════════════════════════════════════════════════════════ */
.section-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
  padding-block: var(--s4);
}

.section-sep__dot {
  width: 5px;
  height: 5px;
  border-radius: var(--r-full);
  background: var(--gray-300);
}

.section-sep__dot--red { background: var(--red); }

/* ══════════════════════════════════════════════════════════════════════════
   BOUTONS STORE (téléchargement app)
   ══════════════════════════════════════════════════════════════════════════ */
.store-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s5);
  margin-top: var(--s12);
}

.store-actions__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
}

.store-actions__btns {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
  color: var(--white);
  transition: background var(--t-fast), border-color var(--t-fast);
  min-width: 180px;
}

.store-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}

.store-btn svg { flex-shrink: 0; opacity: 0.85; }

.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
}

.store-btn span:last-child {
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.store-btn--lg {
  padding: 1rem 1.75rem;
  min-width: 210px;
  border-radius: var(--r-2xl);
}
.store-btn--lg svg { width: 26px; height: 26px; }

/* ── Modal téléchargement ─────────────────────────────────────────────── */
.dl-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.dl-modal.is-open { pointer-events: auto; }

.dl-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.dl-modal.is-open .dl-modal__backdrop { opacity: 1; }

.dl-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
  background: #141418;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-2xl);
  padding: var(--s10) var(--s12);
  width: min(480px, calc(100vw - var(--s8)));
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.34,1.4,0.64,1), opacity 0.22s ease;
}
.dl-modal.is-open .dl-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.dl-modal__close {
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.dl-modal__close:hover { background: rgba(255,255,255,0.13); color: var(--white); }

.dl-modal__logo { margin-bottom: var(--s2); }

.dl-modal__title {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0;
}

.dl-modal__sub {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  margin: 0 0 var(--s4);
}

.dl-modal__btns {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  width: 100%;
}

/* ══════════════════════════════════════════════════════════════════════════
   FORMULAIRE DE CONTACT (fond sombre)
   ══════════════════════════════════════════════════════════════════════════ */
.section--gray .contact-form-wrapper,
.section--dark .contact-form-wrapper,
.section--darker .contact-form-wrapper {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-2xl);
  padding: var(--s10);
}

.section--gray .form-label,
.section--dark .form-label,
.section--darker .form-label {
  color: rgba(255,255,255,0.75);
}

.section--gray .form-input,
.section--gray .form-textarea,
.section--gray .form-select,
.section--dark .form-input,
.section--dark .form-textarea,
.section--dark .form-select,
.section--darker .form-input,
.section--darker .form-textarea,
.section--darker .form-select {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: var(--white);
}

.section--gray .form-input::placeholder,
.section--gray .form-textarea::placeholder,
.section--dark .form-input::placeholder,
.section--dark .form-textarea::placeholder,
.section--darker .form-input::placeholder,
.section--darker .form-textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.section--gray .form-input:hover,
.section--gray .form-textarea:hover,
.section--gray .form-select:hover {
  border-color: rgba(255,255,255,0.2);
}

.section--gray .form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-color: rgba(255,255,255,0.05);
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.section--gray .form-select option,
.section--dark .form-select option,
.section--darker .form-select option {
  background: #1a1d26;
  color: var(--white);
}
