/* ==========================================================================
   Swaptairis — feuille de style principale
   Identité : fintech français, thème clair, outremer #2338C2, profils
   base + geo-adapted (motifs de marché + repères parisiens discrets).
   Typo : Space Grotesk (display) + Inter (texte), auto-hébergées.
   ========================================================================== */

/* ---------- Polices ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-var.woff2') format('woff2');
}

/* ---------- Jetons de design ---------- */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eef0f8;
  --border: #dfe3f0;
  --border-soft: #e8ebf5;
  --text: #131a33;
  --text-muted: #4d5675;

  --accent: #2338c2;
  --accent-hover: #1a2c9c;
  --accent-tint: #eaeefa;
  --accent-soft: #9fb0f2;
  --on-accent: #ffffff;

  --ok: #177a48;
  --ok-tint: #e6f4ec;
  --bad: #b3261e;
  --bad-tint: #fbeae9;
  --flag-red: #e1000f;

  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(19, 26, 51, 0.07), 0 2px 6px rgba(19, 26, 51, 0.05);
  --shadow-md: 0 1px 2px rgba(19, 26, 51, 0.06), 0 8px 24px rgba(19, 26, 51, 0.09);
  --shadow-lg: 0 2px 4px rgba(19, 26, 51, 0.07), 0 18px 44px rgba(19, 26, 51, 0.13);

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

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

body {
  margin: 0;
  font: 400 16px/1.65 var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe, video, canvas { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.14;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  overflow-wrap: break-word;
}
h1 { font-size: clamp(1.9rem, 1.25rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
h3 { font-size: clamp(1.12rem, 1rem + 0.5vw, 1.3rem); }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }

ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: 0.4em; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 300;
  background: var(--surface);
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  transition: top 0.15s var(--ease);
}
.skip-link:focus { top: 12px; text-decoration: none; }

.icon { width: 24px; height: 24px; flex-shrink: 0; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 15px; height: 15px; }
.icon--lg { width: 30px; height: 30px; }

/* ---------- Primitives de mise en page ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section { padding: clamp(44px, 6vw, 84px) 0; position: relative; }
.section--tint { background: var(--surface-2); }
.section--surface { background: var(--surface); }
.section--tight { padding: clamp(30px, 4vw, 52px) 0; }

.section-head { max-width: 720px; margin: 0 0 clamp(24px, 3vw, 40px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__lead { color: var(--text-muted); font-size: 1.06rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 600 0.98rem/1.2 var(--font-body);
  padding: 15px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s var(--ease), color 0.16s var(--ease),
              box-shadow 0.16s var(--ease), transform 0.16s var(--ease),
              border-color 0.16s var(--ease);
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn--secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--secondary:hover {
  background: var(--accent-tint);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}
.btn--sm { padding: 10px 18px; font-size: 0.9rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); background: #ffffff; }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--text); text-decoration: none; }
.brand__mark { width: 40px; height: 40px; display: block; }

.site-nav { margin-inline-end: auto; }
.site-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }

.site-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 0.94rem/1 var(--font-body);
  color: var(--text);
  background: transparent;
  border: 0;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.site-nav__trigger:hover { background: var(--accent-tint); color: var(--accent); }
.site-nav__caret { transition: transform 0.18s var(--ease); }
.site-nav__item--group { position: relative; }
.site-nav__item--group.is-open .site-nav__caret { transform: rotate(180deg); }

.site-nav__dd {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), visibility 0.16s;
  z-index: 130;
}
.site-nav__item--group.is-open .site-nav__dd,
.site-nav__dd:focus-within { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav__item--group.align-right .site-nav__dd { left: auto; right: 0; }

.site-nav__dd-list { list-style: none; margin: 0; padding: 0; }
.site-nav__dd-link {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.35;
  transition: background 0.14s var(--ease), color 0.14s var(--ease);
}
.site-nav__dd-link:hover { background: var(--accent-tint); color: var(--accent); text-decoration: none; }
.site-nav__dd-link.is-current { background: var(--accent-tint); color: var(--accent); font-weight: 600; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px;
  cursor: pointer;
  color: var(--text);
}
.nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: block; }

.mobile-menu {
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
  padding: 14px 0 22px;
  box-shadow: var(--shadow-md);
}
.mobile-menu__group + .mobile-menu__group { margin-top: 6px; }
.mobile-menu__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 12px 4px;
  font: 600 1rem/1 var(--font-body);
  color: var(--text);
  cursor: pointer;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu__trigger .icon { transition: transform 0.18s var(--ease); }
.mobile-menu__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-menu__dd ul { list-style: none; margin: 0; padding: 6px 0 10px; }
.mobile-menu__dd a {
  display: block;
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.mobile-menu__dd a:hover, .mobile-menu__dd a.is-current { background: var(--accent-tint); color: var(--accent); text-decoration: none; }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(35, 56, 194, 0.10), transparent 62%),
    radial-gradient(700px 420px at -8% 108%, rgba(35, 56, 194, 0.07), transparent 58%),
    var(--bg);
  padding: clamp(40px, 5.5vw, 76px) 0 clamp(48px, 6vw, 88px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 480px);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 0.8rem/1 var(--font-body);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  border: 1px solid rgba(35, 56, 194, 0.16);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero__title { max-width: 620px; margin-bottom: 16px; }
.hero__lead { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; margin-bottom: 20px; }
.hero__bullets { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.hero__bullets li { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--text); }
.hero__bullets .icon { color: var(--accent); margin-top: 3px; }

.hero__aside { display: grid; gap: 14px; }

.hero__more { grid-column: 1; display: grid; gap: 14px; }
@media (max-width: 920px) {
  .hero__more { grid-column: 1 / -1; order: 3; }
  .hero__copy { order: 1; }
  .hero__aside { order: 2; }
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 6px;
}
.hero__flags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.hero__flags-caption { font-size: 0.88rem; color: var(--text-muted); margin-right: 2px; }
.flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px 5px 6px;
  font-size: 0.85rem;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.flag-chip__flag { width: 26px; height: 18px; border-radius: 4px; overflow: hidden; display: block; box-shadow: inset 0 0 0 1px rgba(19, 26, 51, 0.08); }
.flag-chip__flag svg { width: 100%; height: 100%; display: block; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 16px 10px 12px;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), border-color 0.16s var(--ease);
}
.hero-badge:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.hero-badge__icon {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-tint);
  color: var(--accent);
  flex-shrink: 0;
}

/* ---------- Blocs génériques ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.grid--steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 2.4vw, 28px);
  transition: transform 0.17s var(--ease), box-shadow 0.17s var(--ease), border-color 0.17s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); margin-bottom: 0; }

.icon-badge {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-tint);
  color: var(--accent);
  margin-bottom: 14px;
}

.steps { counter-reset: step; }
.step-card { position: relative; padding-top: 26px; }
.step-card__num {
  position: absolute;
  top: 0; left: 0;
  counter-increment: step;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font: 600 0.95rem/1 var(--font-display);
}
.step-card__num::after { content: counter(step); }

/* ---------- Logos de plateformes d'échange ---------- */
.exchanges { text-align: center; }
.exchanges__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.exchange-chip {
  width: 168px;
  height: 60px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.exchange-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.exchange-chip--dark { background: #0f172a; }
.exchange-chip img { height: 28px; width: auto; max-width: 82%; display: block; }

/* ---------- Tableau comparatif ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: var(--surface); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 640px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.compare thead th {
  background: var(--surface-2);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.compare thead th:nth-child(2) { color: var(--accent); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; }
.compare td:not(:first-child) { width: 200px; }
.mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.mark--ok { background: var(--ok-tint); color: var(--ok); }
.mark--no { background: var(--bad-tint); color: var(--bad); }

/* ---------- Avis ---------- */
.reviews__note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.reviews__note .icon { color: var(--text-muted); margin-top: 2px; }
.review-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-card__photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--border);
  flex-shrink: 0;
}
.review-card__name { font-weight: 700; display: block; }
.review-card__role { color: var(--text-muted); font-size: 0.87rem; }
.review-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.stat-chip {
  background: var(--accent-tint);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.82rem;
  color: var(--text);
}
.stat-chip strong { color: var(--accent); font-weight: 700; }
.review-card blockquote { margin: 0; font-size: 0.97rem; }

/* ---------- Bloc société ---------- */
.company-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.company-facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.company-facts li { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--text-muted); }
.company-facts .icon { color: var(--accent); margin-top: 3px; }
.company-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.company-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  color: var(--text);
  font-weight: 600;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), border-color 0.16s var(--ease);
}
.company-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); color: var(--accent); }
.company-link .icon-badge { margin-bottom: 0; }
.company-link span { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin-inline: auto; display: grid; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 0;
  padding: 16px 20px;
  font: 600 1rem/1.4 var(--font-body);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.faq-item__q .icon { color: var(--accent); transition: transform 0.18s var(--ease); }
.faq-item.is-open .faq-item__q .icon { transform: rotate(180deg); }
.faq-item__a { padding: 0 20px 16px; color: var(--text-muted); }
.faq-item__a[hidden] { display: none; }

/* ---------- Bandeau CTA final ---------- */
.cta-band {
  background:
    radial-gradient(800px 300px at 15% 0%, rgba(255, 255, 255, 0.09), transparent 60%),
    linear-gradient(135deg, #1a2c9c 0%, #2338c2 55%, #2f4ae0 100%);
  color: var(--on-accent);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 48px);
  text-align: center;
}
.cta-band h2 { color: var(--on-accent); }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 640px; margin-inline: auto; }
.cta-band .btn { margin-top: 8px; }
.cta-band .btn--primary { background: #ffffff; color: var(--accent); }
.cta-band .btn--primary:hover { background: var(--accent-tint); color: var(--accent-hover); }

/* ---------- Fil d'Ariane ---------- */
.breadcrumbs { padding: 18px 0 0; }
.breadcrumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 0.86rem; color: var(--text-muted); }
.breadcrumbs__list li + li::before { content: '/'; margin-right: 6px; color: var(--border); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- En-tête de page interne ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 380px at 88% -20%, rgba(35, 56, 194, 0.10), transparent 60%),
    var(--bg);
  padding: clamp(34px, 4.5vw, 64px) 0 clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--border-soft);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 440px);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
.page-hero .form-block { margin: 0; }
.page-hero__lead { color: var(--text-muted); font-size: 1.06rem; max-width: 640px; }

.prose { max-width: 780px; }
.prose--wide { max-width: 920px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { color: var(--text-muted); }
.prose strong { color: var(--text); }

/* ---------- Tableaux ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.table-generic { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 560px; }
.table-generic th, .table-generic td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.table-generic thead th { background: var(--surface-2); font-family: var(--font-display); font-weight: 700; }
.table-generic tbody tr:last-child td { border-bottom: 0; }
.table-generic tbody tr:nth-child(even) td { background: rgba(238, 240, 248, 0.5); }

/* ---------- Carte (iframe) ---------- */
.map-embed {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  min-height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Pied de page ---------- */
.site-footer {
  background: #10142e;
  color: #c6cbe4;
  padding: clamp(40px, 5vw, 64px) 0 28px;
  margin-top: clamp(44px, 6vw, 84px);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.brand--footer { color: #ffffff; margin-bottom: 14px; }
.site-footer__tagline { font-size: 0.92rem; color: #9aa1c5; max-width: 340px; }
.site-footer__contact { font-size: 0.9rem; color: #c6cbe4; }
.site-footer__contact .icon { color: var(--accent-soft); vertical-align: -3px; margin-right: 4px; }
.site-footer__contact a { color: #c6cbe4; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__contact a:hover { color: #ffffff; }
.site-footer__heading {
  font: 700 0.82rem/1.2 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7d86b4;
  margin-bottom: 14px;
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__col a { color: #c6cbe4; font-size: 0.92rem; }
.site-footer__col a:hover { color: #ffffff; }
.site-footer__disclaimer {
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
}
.site-footer__disclaimer p { font-size: 0.8rem; color: #8d95bd; line-height: 1.6; max-width: 1000px; }
.site-footer__base {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 0.8rem;
  color: #7d86b4;
}
.site-footer__base p { margin: 0; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Motifs décoratifs de section ---------- */
.deco-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%232338c2' stroke-opacity='0.06'%3E%3Cpath d='M0 30h120M0 60h120M0 90h120M30 0v120M60 0v120M90 0v120'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; }
}

@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__aside { max-width: 560px; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .company-block { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .brand__word { font-size: 1.08rem; }
  .brand__mark { width: 34px; height: 34px; }
  .site-header__actions .btn--sm { padding: 9px 14px; font-size: 0.84rem; }
  .exchange-chip { width: 148px; height: 54px; }
  .compare td:not(:first-child) { width: 150px; }
  .hero__canvas { display: none; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__canvas { display: none; }
}
