:root {
  --ink: #1F2937;
  --ink-2: #374151;
  --muted: #6B7280;
  --muted-2: #9CA3AF;
  --line: #E5E0D6;
  --line-2: #EFE9DC;
  --bg: #F3ECF4;
  --bg-2: #f9f5fa;
  --card: #FFFFFF;
  --pink: #B85B92;
  --pink-soft: #FDF2F8;
  --pink-deep: #831843;
  --blue: #6D8CDF;
  --blue-soft: #EEF2FF;
  --blue-deep: #4338CA;
  --sage: #689E78;
  --sage-soft: #ECF4EE;
  --sage-deep: #3F6B4D;
  --gold: #C9A96E;
  --gold-soft: #F5EFE0;
  --shadow-sm: 0 1px 2px rgba(31,41,55,0.04);
  --shadow: 0 2px 8px rgba(31,41,55,0.06), 0 8px 24px rgba(31,41,55,0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "ss01";
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ─────────────  HEADER  ───────────── */
.header {
  position: relative;
  background: linear-gradient(45deg, #B85B92 0%, #6D8CDF 100%);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/arabesque.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 22px 24px 62px;
  position: relative;
  z-index: 1;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
}
.nav-brand img {
  width: 42px;
  height: auto;
  display: block;
}
.nav-brand .since {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.8;
  margin-top: 2px;
}
.nav-link {
  font-size: 0.85rem;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  font-weight: 500;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}
.hero-meta-seal {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--pink-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.72rem;
}
.hero-title {
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 800px;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 580px;
  opacity: 0.94;
  line-height: 1.55;
}

/* ─────────────  Scan error banner (slug introuvable) ───────────── */
.scan-error-banner {
  max-width: 1140px;
  margin: 16px auto 0;
  padding: 12px 20px;
  background: #FEF3F2;
  border: 1px solid #FECDCA;
  color: #B42318;
  border-radius: 10px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.scan-error-banner[hidden] { display: none !important; }
.scan-error-banner svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ─────────────  Certificate card overlap  ───────────── */
.cert-zone {
  max-width: 1140px;
  margin: -56px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}
.cert-card {
  background: var(--card);
  border-radius: 12px;
  padding: 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--pink) 0%, var(--blue) 100%);
}
.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 36px;
  border-bottom: 1px solid var(--line-2);
  flex-wrap: wrap;
  gap: 12px;
}
.cert-title-row { display: flex; align-items: center; gap: 14px; }
.cert-seal {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--sage);
}
.cert-seal svg { width: 26px; height: 26px; }
.cert-title-text { display: flex; flex-direction: column; }
.cert-title {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}
.cert-subtitle {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}
.cert-ref {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.cert-ref strong { color: var(--ink); font-weight: 600; }

.cert-body {
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: start;
}
.cert-body-left h2 {
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.cert-body-left .addr { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }

.cert-table { width: 100%; border-collapse: collapse; }
.cert-table tr { border-bottom: 1px solid var(--line-2); }
.cert-table tr:last-child { border-bottom: none; }
.cert-table td {
  padding: 13px 0;
  vertical-align: top;
  font-size: 0.92rem;
}
.cert-table td:first-child {
  color: var(--muted);
  width: 200px;
  font-size: 0.85rem;
  font-weight: 500;
}
.cert-table td:last-child {
  font-weight: 600;
  color: var(--ink);
}
.cert-table .mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.88rem; }

.cert-mark {
  background: var(--pink-soft);
  border: 2px dashed #FBCFE8;
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  margin-top: 0;
}
.cert-mark-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--pink-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.cert-mark-code {
  font-weight: 800;
  font-size: 3.4rem;
  letter-spacing: -0.02em;
  color: var(--pink-deep);
  line-height: 1;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  margin-bottom: 14px;
}
.cert-mark-meta {
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 820px) {
  .cert-body { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .cert-header { padding: 20px 24px; }
  .cert-table td:first-child { width: 130px; }
}

/* ─────────────  Sections  ───────────── */
.section { max-width: 1140px; margin: 0 auto; padding: 88px 24px; }
.section-bg { background: var(--bg-2); max-width: none; padding: 88px 0; }
.section-bg .section-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
/* Variant : bloc full-width sur la teinte plus foncée (--bg = #F3ECF4) */
.section-bg.section-bg-dark { background: var(--bg); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.kicker::before {
  content: '';
  width: 26px;
  height: 1.5px;
  background: var(--pink);
}
.kicker.blue { color: var(--blue-deep); }
.kicker.blue::before { background: var(--blue-deep); }
.kicker.sage { color: var(--sage-deep); }
.kicker.sage::before { background: var(--sage-deep); }

.section-head { max-width: 740px; margin-bottom: 48px; }
.section-title {
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.section-lede { font-size: 1.05rem; color: var(--muted); max-width: 600px; line-height: 1.65; }

/* ─────────────  Seals row (trust)  ───────────── */
.seals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.seal {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.seal:hover { transform: translateY(-3px); border-color: var(--gold); }
.seal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border: 2px solid var(--gold);
}
.seal:nth-child(1) .seal-icon { background: var(--pink-soft); color: var(--pink-deep); border-color: var(--pink); }
.seal:nth-child(2) .seal-icon { background: var(--blue-soft); color: var(--blue-deep); border-color: var(--blue); }
.seal:nth-child(3) .seal-icon { background: var(--sage-soft); color: var(--sage-deep); border-color: var(--sage); }
.seal:nth-child(4) .seal-icon { background: var(--gold-soft); color: var(--gold); border-color: var(--gold); }
.seal-icon svg { width: 26px; height: 26px; }
.seal-title {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.seal-meta { font-size: 0.78rem; color: var(--muted); }

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

/* ─────────────  Weekly intro (titre + lede sur fond plat) ───────────── */
.weekly-intro { padding-bottom: 32px; }

/* ─────────────  Weekly hero (full-bleed bg image + carousel transparent) ───────────── */
.weekly-hero {
  position: relative;
  padding: 96px 24px;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
}
.weekly-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('/assets/avs-traceability-bg-scaled.jpg');
  background-size: cover;
  background-position: center 35%;
}
.weekly-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(15,25,45,0.55) 0%, rgba(37,150,190,0.45) 100%);
}

.weekly-carousel {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}

/* Card transparente — pas de fond blanc, pas d'ombre */
.weekly-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  color: #fff;
}
.weekly-content { transition: opacity 180ms ease; }
.weekly-card.switching .weekly-content { opacity: 0; }

/* Nav buttons aux extrémités du hero, centrés verticalement */
.weekly-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  z-index: 5;
}
.weekly-nav-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.32);
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-50%) scale(1.06);
}
.weekly-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.weekly-nav-btn svg { width: 20px; height: 20px; }
.weekly-nav-btn[data-dir="prev"] { left: 24px; }
.weekly-nav-btn[data-dir="next"] { right: 24px; }

/* Meta row inside card (texte blanc) */
.weekly-meta {
  text-align: center;
  margin-bottom: 12px;
}
.weekly-meta-week { font-weight: 700; font-size: 1.1rem; color: #fff; letter-spacing: -0.005em; }
.weekly-meta-dates { font-size: 0.88rem; color: rgba(255,255,255,0.8); margin-top: 4px; }

/* Codes : primary 2.5x larger than secondary */
.weekly-codes {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 28px;
  align-items: center;
  margin: 32px 0 28px;
}
.weekly-code-cell { text-align: center; }
.weekly-code-cell.hidden { visibility: hidden; }
.weekly-code-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  margin-bottom: 14px;
}
.weekly-shape {
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
}
.weekly-shape > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  overflow: visible;
}
.weekly-shape-text {
  position: relative;
  z-index: 1;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.28);
}
.weekly-shape-name {
  margin-top: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}

.weekly-code-cell.primary .weekly-shape { width: 220px; height: 220px; }
.weekly-code-cell.primary .weekly-shape-text { font-size: 2.6rem; }
.weekly-code-cell.primary .weekly-shape-name { font-size: 0.92rem; margin-top: 14px; }

.weekly-code-cell.secondary .weekly-shape { width: 92px; height: 92px; }
.weekly-code-cell.secondary .weekly-shape-text { font-size: 1.05rem; }
.weekly-code-cell.secondary .weekly-code-label { font-size: 0.65rem; }

.weekly-color-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.22);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.weekly-color-icon {
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}
.weekly-color-swatch {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.weekly-color-line strong { color: #fff; font-weight: 600; }
.weekly-color-hex {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

.weekly-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.weekly-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s;
}
.weekly-dot:hover { background: rgba(255,255,255,0.6); }
.weekly-dot.active {
  background: #fff;
  width: 22px;
  border-radius: 4px;
}

.weekly-empty {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  padding: 32px 24px;
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.3);
  border-radius: 12px;
}
.weekly-empty[hidden] { display: none !important; }

@media (max-width: 720px) {
  .weekly-hero { padding: 72px 16px; }
  .weekly-nav-btn { width: 42px; height: 42px; }
  .weekly-nav-btn svg { width: 16px; height: 16px; }
  .weekly-nav-btn[data-dir="prev"] { left: 12px; }
  .weekly-nav-btn[data-dir="next"] { right: 12px; }
  .weekly-card { padding: 0 28px; }
}
@media (max-width: 540px) {
  .weekly-codes {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
  }
  .weekly-code-cell.primary .weekly-shape { width: 160px; height: 160px; }
  .weekly-code-cell.primary .weekly-shape-text { font-size: 1.9rem; }
  .weekly-code-cell.secondary .weekly-shape { width: 78px; height: 78px; }
  .weekly-color-line { font-size: 0.85rem; }
  .weekly-card { padding: 0 16px; }
}

/* ─────────────  Process timeline (horizontal)  ───────────── */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.process::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--pink);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 auto 14px;
}
.process-step:nth-child(2) .process-num { border-color: var(--blue); color: var(--blue-deep); }
.process-step:nth-child(3) .process-num { border-color: var(--sage); color: var(--sage-deep); }
.process-step:nth-child(4) .process-num { border-color: var(--gold); color: var(--gold); }
.process-step:nth-child(5) .process-num { border-color: var(--ink); color: var(--ink); }
.process-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.process-meta { font-size: 0.78rem; color: var(--muted); }

@media (max-width: 760px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
}

/* ─────────────  Stats  ───────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.stat {
  background: var(--card);
  padding: 32px 24px;
  text-align: left;
}
.stat-num {
  font-weight: 700;
  font-size: clamp(2.2rem, 4.2vw, 3rem);
  line-height: 1;
  letter-spacing: -0.025em;
  display: block;
  color: var(--ink);
}
.stat-num .suffix { font-size: 0.55em; color: var(--muted); font-weight: 600; margin-left: 2px; }
.stat-label { margin-top: 12px; font-weight: 600; font-size: 0.95rem; }
.stat-meta { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

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

/* ─────────────  Quote / testimonial  ───────────── */
.quote-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 56px 56px;
  text-align: center;
  position: relative;
}
.quote-mark {
  font-size: 4rem;
  color: var(--pink);
  line-height: 0.6;
  margin-bottom: 12px;
  font-family: Georgia, serif;
  font-weight: 700;
}
.quote-text {
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  letter-spacing: -0.015em;
  max-width: 720px;
  margin: 0 auto 24px;
  color: var(--ink);
}
.quote-author {
  font-size: 0.9rem;
  color: var(--muted);
}
.quote-author strong { color: var(--ink); font-weight: 600; }

@media (max-width: 760px) { .quote-block { padding: 36px 24px; } }

/* ─────────────  Logos row  ───────────── */
.logos-row {
  margin-top: 36px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
  opacity: 0.6;
}
.logo-item {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--muted);
  letter-spacing: -0.02em;
}

/* ─────────────  CTA  ───────────── */
.cta-section {
  background: linear-gradient(135deg, #1F1B3A 0%, #322458 100%);
  color: #fff;
  border-radius: 16px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/arabesque.png');
  background-size: 320px;
  opacity: 0.06;
  mix-blend-mode: screen;
}
.cta-section h3 {
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
}
.cta-section p { color: rgba(255,255,255,0.82); margin-bottom: 24px; max-width: 460px; position: relative; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.cta-btn span { font-size: 0.65rem; opacity: 0.6; display: block; line-height: 1.1; font-weight: 500; }
.cta-btn strong { font-size: 0.95rem; display: block; font-weight: 600; }

.cta-stamp {
  position: relative;
  width: 200px;
  height: 200px;
  border: 3px double rgba(255,255,255,0.5);
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.cta-stamp::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
}
.cta-stamp-top {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cta-stamp-mid {
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.025em;
  line-height: 1;
}
.cta-stamp-bot {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  margin-top: 6px;
  opacity: 0.85;
}

@media (max-width: 820px) {
  .cta-section { grid-template-columns: 1fr; padding: 36px 28px; }
  .cta-stamp { width: 160px; height: 160px; }
  .cta-stamp-mid { font-size: 1.8rem; }
}

/* ─────────────  Footer  ───────────── */
.footer {
  background: linear-gradient(180deg, #4A2E4F 0%, #2E1F35 100%);
  color: rgba(255,255,255,0.85);
  padding: 64px 24px 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/arabesque.png');
  background-size: 380px;
  opacity: 0.04;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  position: relative;
}
.footer-col h4 {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FCA5C5;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-app .app-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-app p { font-size: 0.85rem; opacity: 0.75; line-height: 1.55; margin-bottom: 14px; }
.footer-app .stores { display: flex; gap: 10px; font-size: 0.8rem; }
.footer-app .stores a { color: #FCA5C5; text-decoration: none; font-weight: 500; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.footer-links a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-contact p { font-size: 0.85rem; line-height: 1.7; opacity: 0.85; }
.footer-contact a { color: #FCA5C5; text-decoration: none; }
.footer-social { display: grid; grid-template-columns: repeat(3, 42px); gap: 10px; }
.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--pink); transform: translateY(-2px); }
.footer-bottom {
  max-width: 1140px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  opacity: 0.65;
  text-align: center;
  position: relative;
}
.footer-bottom a { color: rgba(255,255,255,0.85); }

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

/* ─────────────  Reveal  ───────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }
