/* ==========================================================================
   Orbis Finances — Design system « fintech éditorial 2026 »
   Clair, aérien, bleus lumineux. Header pilule flottante en verre,
   mesh pastel, cartes soft-shadow, mouvement maîtrisé. Sans framework/CDN.
   ========================================================================== */

/* ---------- Fontes ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --blue-950: #0a1e3c;
  --blue-900: #0e2a52;
  --blue-800: #123468;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --sky-400: #38bdf8;
  --sky-200: #bae3fd;
  --sky-100: #e0f2fe;
  --peri-300: #a5b8f6;
  --accent-grad: linear-gradient(120deg, #38bdf8 0%, #3b82f6 55%, #2563eb 100%);
  --btn-grad: linear-gradient(120deg, #2f6ee8 0%, #2563eb 50%, #1d4ed8 100%);
  --ice: #f5f9fd;
  --ice-deep: #eaf2fb;
  --ink: #142a47;
  --muted: #5b7192;
  --line: #dfe8f4;
  --line-navy: rgba(255, 255, 255, 0.12);
  --success-bg: #e7f5ed;
  --success-fg: #1c6b3f;
  --error-bg: #fbeaea;
  --error-fg: #a12626;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(14, 42, 82, 0.06);
  --shadow-md: 0 16px 44px -14px rgba(14, 42, 82, 0.16);
  --shadow-blue: 0 14px 38px -12px rgba(37, 99, 235, 0.38);
  --maxw: 1160px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--blue-950);
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.5rem, 5.8vw, 4.3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.02rem; letter-spacing: 0.02em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.4rem;
}

.muted { color: var(--muted); }
.center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-600);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 300;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

::selection { background: var(--sky-200); color: var(--blue-950); }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-align: center;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
              filter 0.25s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Balayage lumineux */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }

.btn-primary { background: var(--blue-950); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--blue-800); }

/* Bouton accent (classe historique .btn-gold conservée dans le HTML) */
.btn-gold {
  background: var(--btn-grad);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-gold:hover { filter: brightness(1.07); }

.btn-outline { background: transparent; color: var(--blue-800); border-color: rgba(37, 99, 235, 0.45); }
.btn-outline:hover { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

/* Utilisé sur le hero clair comme sur les bandes sombres */
.btn-outline-light {
  background: rgba(255, 255, 255, 0.65);
  color: var(--blue-800);
  border-color: rgba(37, 99, 235, 0.35);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover { background: var(--blue-950); color: #fff; border-color: var(--blue-950); }

.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.btn-block { display: block; width: 100%; }

/* ---------- Header : pilule flottante en verre ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.9rem 0 0.4rem;
  background: transparent;
  pointer-events: none; /* réactivé sur la pilule */
}
.site-header .container {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 62px;
  max-width: calc(var(--maxw) - 40px);
  padding: 0.35rem 0.6rem 0.35rem 1.4rem;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 8px 30px -12px rgba(14, 42, 82, 0.18);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
@supports (backdrop-filter: blur(16px)) {
  .site-header .container { background: rgba(255, 255, 255, 0.62); backdrop-filter: blur(16px) saturate(1.5); }
}
.site-header.scrolled .container {
  box-shadow: 0 14px 40px -14px rgba(14, 42, 82, 0.28);
  background: rgba(255, 255, 255, 0.88);
}
@supports (backdrop-filter: blur(16px)) {
  .site-header.scrolled .container { background: rgba(255, 255, 255, 0.72); }
}

.brand {
  font-family: var(--font-display);
  color: var(--blue-950);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand .brand-mark {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 0.1rem; }
.main-nav a {
  position: relative;
  color: var(--ink);
  padding: 0.5rem 0.7rem;
  font-size: 0.93rem;
  font-weight: 500;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}
.main-nav a:hover { color: var(--blue-700); background: var(--sky-100); text-decoration: none; }
.main-nav a.active { color: var(--blue-700); background: var(--sky-100); }
.nav-cta { margin-left: 0.35rem; display: flex; align-items: center; }
.main-nav .nav-cta a {
  color: #fff;
  padding: 0.62rem 1.25rem;
  font-size: 0.88rem;
  line-height: 1.2;
}
.main-nav .nav-cta a:hover { color: #fff; background: var(--btn-grad); filter: brightness(1.07); }

.nav-toggle {
  display: none;
  background: var(--sky-100);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 999px;
  color: var(--blue-800);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .site-header .container { padding-right: 0.9rem; }
  .main-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1.4rem;
    right: 1.4rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    display: none;
    padding: 0.9rem;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .main-nav a { display: block; padding: 0.8rem 0.9rem; border-radius: var(--radius-sm); }
  .nav-cta { margin: 0.6rem 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Hero clair : mesh pastel ---------- */
.hero, .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ice);
  color: var(--ink);
  margin-top: -96px;         /* le hero passe sous la pilule flottante */
  padding-top: 96px;
}
/* Hero d'accueil : plein écran, image finance + voile bleu */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(8, 24, 48, 0.78) 0%, rgba(10, 30, 60, 0.45) 45%, rgba(14, 42, 82, 0.12) 100%),
    url('../assets/img/hero-finance-1920.webp') center 30% / cover no-repeat var(--blue-950);
}
@media (max-width: 768px) {
  .hero {
    background:
      linear-gradient(160deg, rgba(8, 24, 48, 0.82) 0%, rgba(10, 30, 60, 0.6) 60%, rgba(14, 42, 82, 0.35) 100%),
      url('../assets/img/hero-finance-960.webp') center 30% / cover no-repeat var(--blue-950);
  }
}

/* Mesh pastel animé (pages internes uniquement) */
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -25%;
  background:
    radial-gradient(34% 38% at 20% 25%, rgba(56, 189, 248, 0.28) 0%, transparent 70%),
    radial-gradient(38% 42% at 80% 12%, rgba(165, 184, 246, 0.35) 0%, transparent 72%),
    radial-gradient(30% 34% at 65% 85%, rgba(59, 130, 246, 0.18) 0%, transparent 70%),
    radial-gradient(26% 30% at 8% 80%, rgba(186, 227, 253, 0.5) 0%, transparent 70%);
  filter: blur(42px);
  animation: mesh 24s ease-in-out infinite alternate;
}
/* Grain très léger */
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: var(--grain);
  background-size: 160px 160px;
  opacity: 0.028;
  pointer-events: none;
}
@keyframes mesh {
  0%   { transform: translate3d(-3%, -2%, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(3%, 3%, 0) rotate(3deg) scale(1.07); }
  100% { transform: translate3d(-2%, 2%, 0) rotate(-2deg) scale(1.03); }
}

.hero { padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.hero .container { padding-top: clamp(2.5rem, 6vw, 4rem); }
.hero h1 { max-width: 18ch; text-wrap: balance; color: #fff; }
.hero h1 .gold-i {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, #7dd3fc 0%, #38bdf8 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 60ch;
  margin: 1.5rem 0 2.3rem;
}
/* Composants du hero en version sombre */
.hero .hero-eyebrow {
  color: #7dd3fc;
  background: rgba(10, 30, 60, 0.45);
  border-color: rgba(125, 211, 252, 0.35);
  backdrop-filter: blur(8px);
}
.hero .hero-badges { border-top-color: rgba(255, 255, 255, 0.2); }
.hero .hero-badges li { color: rgba(255, 255, 255, 0.82); }
.hero .btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.hero .btn-outline-light:hover { background: #fff; color: var(--blue-950); border-color: #fff; }
.hero .hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--blue-600);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1.1rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--sky-200);
  border-radius: 999px;
}
.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-grad);
}

/* Badges de confiance sous le hero */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(37, 99, 235, 0.15);
  list-style: none;
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.hero-badges li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--accent-grad);
}

/* Pages métier : hero photo avec voile bleu nuit */
.page-hero.has-photo { color: #fff; min-height: 46svh; display: flex; align-items: flex-end; }
.page-hero.has-photo::before { display: none; } /* pas de mesh sur photo */
.page-hero.has-photo h1 { color: #fff; }
.page-hero.has-photo p { color: rgba(255, 255, 255, 0.88); }
.page-hero.has-photo .breadcrumb { color: rgba(255, 255, 255, 0.65); }
.page-hero.has-photo .breadcrumb a { color: rgba(255, 255, 255, 0.9); }

.hero-photo-assurance {
  background:
    linear-gradient(100deg, rgba(8, 24, 48, 0.82) 0%, rgba(10, 30, 60, 0.5) 50%, rgba(14, 42, 82, 0.18) 100%),
    url('../assets/img/hero-assurance-1920.webp') center 60% / cover no-repeat var(--blue-950);
}
.hero-photo-conseil {
  background:
    linear-gradient(100deg, rgba(8, 24, 48, 0.84) 0%, rgba(10, 30, 60, 0.55) 50%, rgba(14, 42, 82, 0.22) 100%),
    url('../assets/img/hero-conseil-1920.webp') center 35% / cover no-repeat var(--blue-950);
}
.hero-photo-patrimoine {
  background:
    linear-gradient(100deg, rgba(8, 24, 48, 0.82) 0%, rgba(10, 30, 60, 0.5) 50%, rgba(14, 42, 82, 0.18) 100%),
    url('../assets/img/hero-patrimoine-1920.webp') center 45% / cover no-repeat var(--blue-950);
}
@media (max-width: 768px) {
  .hero-photo-assurance {
    background:
      linear-gradient(160deg, rgba(8, 24, 48, 0.86) 0%, rgba(10, 30, 60, 0.62) 60%, rgba(14, 42, 82, 0.4) 100%),
      url('../assets/img/hero-assurance-960.webp') center 60% / cover no-repeat var(--blue-950);
  }
  .hero-photo-conseil {
    background:
      linear-gradient(160deg, rgba(8, 24, 48, 0.86) 0%, rgba(10, 30, 60, 0.62) 60%, rgba(14, 42, 82, 0.4) 100%),
      url('../assets/img/hero-conseil-960.webp') center 35% / cover no-repeat var(--blue-950);
  }
  .hero-photo-patrimoine {
    background:
      linear-gradient(160deg, rgba(8, 24, 48, 0.86) 0%, rgba(10, 30, 60, 0.62) 60%, rgba(14, 42, 82, 0.4) 100%),
      url('../assets/img/hero-patrimoine-960.webp') center 45% / cover no-repeat var(--blue-950);
  }
}

/* Hero secondaire (pages internes) */
.page-hero { padding-bottom: clamp(2.6rem, 6vw, 4rem); }
.page-hero .container { padding-top: clamp(2.6rem, 6vw, 4.2rem); }
.page-hero h1 { max-width: 24ch; text-wrap: balance; }
.page-hero p { color: var(--muted); max-width: 65ch; margin-top: 1rem; font-size: 1.05rem; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.9rem; letter-spacing: 0.03em; }
.breadcrumb a { color: var(--blue-600); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 7.5vw, 6rem) 0; }
.section-soft { background: var(--ice); }

/* Bande sombre d'accent (stats) — bleu nuit avec lueurs claires */
.section-navy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(120% 150% at 80% 0%, var(--blue-800) 0%, var(--blue-950) 70%);
  color: #fff;
}
.section-navy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30%;
  background:
    radial-gradient(30% 40% at 20% 30%, rgba(56, 189, 248, 0.22) 0%, transparent 70%),
    radial-gradient(28% 34% at 75% 70%, rgba(165, 184, 246, 0.18) 0%, transparent 70%);
  filter: blur(44px);
}
.section-navy::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: var(--grain);
  background-size: 160px 160px;
  opacity: 0.04;
  pointer-events: none;
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255, 255, 255, 0.82); }

.section-head { max-width: 66ch; margin-bottom: 2.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { text-wrap: balance; }
.section-head p { color: var(--muted); margin-top: 0.8rem; font-size: 1.06rem; }
.section-navy .section-head p { color: rgba(255, 255, 255, 0.82); }

/* ---------- Grilles / cartes ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  box-shadow: 0 10px 30px -18px rgba(14, 42, 82, 0.14);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out),
              border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 26px 60px -24px rgba(37, 99, 235, 0.3);
}
.card h3 { margin-bottom: 0.55rem; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card-actions { margin-top: auto; padding-top: 1.3rem; }

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  background: var(--btn-grad);
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.55);
}

.section-navy .card { background: rgba(255, 255, 255, 0.05); border-color: var(--line-navy); backdrop-filter: blur(8px); }
.section-navy .card h3 { color: #fff; }
.section-navy .card p { color: rgba(255, 255, 255, 0.78); }

/* ---------- Bande chiffres clés ---------- */
.stats-band .grid { gap: 0; }
.stat {
  text-align: center;
  padding: 2.4rem 1rem;
  border-left: 1px solid var(--line-navy);
}
.stat:first-child { border-left: none; }
@media (max-width: 640px) {
  .stat { border-left: none; border-top: 1px solid var(--line-navy); }
  .stat:first-child { border-top: none; }
}
.stat .stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  background: linear-gradient(120deg, #7dd3fc 0%, #bae3fd 60%, #e0f2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat .stat-label {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

/* ---------- Liste avantages ---------- */
.feature-list { list-style: none; }
.feature-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, transform 0.35s var(--ease-out);
}
.feature-list li:hover { border-color: rgba(59, 130, 246, 0.4); transform: translateY(-2px); }
.feature-list .tick {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: 0.1rem;
  border-radius: 50%;
  font-size: 0.72rem;
  color: #fff;
  background: var(--btn-grad);
  font-weight: 700;
}
.feature-list strong { color: var(--blue-950); }

/* ---------- Contact / infos ---------- */
.contact-info { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.6rem; }
.info-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.info-item > span:first-child { font-size: 1.15rem; margin-top: 0.05rem; }
.info-item strong { display: block; color: var(--blue-950); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.1rem; }
.info-item a { word-break: break-all; }

/* ---------- Formulaires ---------- */
.form-wrap {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.3rem);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.form-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--accent-grad);
}

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full, .form-grid > .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-field label { font-weight: 600; font-size: 0.9rem; color: var(--blue-950); }
.req { color: var(--blue-600); }

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  color: var(--ink);
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ice);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  width: 100%;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
}

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  background: var(--ice);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
}
.consent input { margin-top: 0.28rem; accent-color: var(--blue-600); width: 1.05rem; height: 1.05rem; flex: none; }
.consent label { color: var(--ink); }

.form-actions { grid-column: 1 / -1; margin-top: 0.3rem; }
.rgpd-note { grid-column: 1 / -1; font-size: 0.8rem; color: var(--muted); line-height: 1.55; }

.form-message { grid-column: 1 / -1; display: none; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-size: 0.95rem; }
.form-message.show { display: block; }
.form-message.success { background: var(--success-bg); color: var(--success-fg); border: 1px solid rgba(28, 107, 63, 0.25); }
.form-message.error { background: var(--error-bg); color: var(--error-fg); border: 1px solid rgba(161, 38, 38, 0.25); }

/* ---------- Équipe ---------- */
.team-card { text-align: center; align-items: center; }
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
  background: radial-gradient(120% 120% at 30% 25%, var(--blue-500), var(--blue-900));
  border: 3px solid #fff;
  outline: 2px solid var(--sky-200);
  box-shadow: 0 12px 28px -10px rgba(37, 99, 235, 0.45);
}
.team-card .role {
  display: inline-block;
  color: var(--blue-600);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

/* ---------- Bande CTA ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(130% 160% at 20% 0%, var(--blue-800) 0%, var(--blue-950) 70%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40%;
  background: radial-gradient(30% 40% at 80% 30%, rgba(56, 189, 248, 0.35) 0%, transparent 70%);
  filter: blur(40px);
}
.cta-band h2, .cta-band h3 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255, 255, 255, 0.82); max-width: 55ch; }

/* ---------- Prose (pages légales) ---------- */
.prose { max-width: 76ch; }
.prose h2 { margin: 2.4rem 0 0.9rem; font-size: 1.5rem; }
.prose h3 { margin: 1.7rem 0 0.6rem; }
.prose p, .prose li { color: var(--ink); margin-bottom: 0.8rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.9rem; border: 1px solid var(--line); }
.prose th { background: var(--ice-deep); font-weight: 600; }

.todo {
  background: var(--sky-100);
  border: 1px dashed var(--blue-500);
  border-radius: 4px;
  padding: 0 0.35rem;
  font-weight: 600;
  color: var(--blue-700);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(140% 130% at 85% 0%, var(--blue-900) 0%, var(--blue-950) 70%);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30%;
  background: radial-gradient(26% 34% at 15% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  filter: blur(40px);
}
.site-footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: var(--grain);
  background-size: 160px 160px;
  opacity: 0.035;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.2rem;
  padding-bottom: 2.4rem;
}
@media (max-width: 940px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .brand { color: #fff; }
.footer-about p { margin-top: 0.9rem; font-size: 0.94rem; max-width: 34ch; }
.site-footer h4 {
  color: var(--sky-400);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.site-footer a { color: rgba(255, 255, 255, 0.78); }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-navy);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom nav { display: flex; gap: 1.2rem; }
.footer-bottom a { color: rgba(255, 255, 255, 0.65); }

/* ---------- Bandeau cookies : carte flottante ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transform: translateY(calc(100% + 1.5rem));
  transition: transform 0.5s var(--ease-out);
}
@supports (backdrop-filter: blur(12px)) {
  .cookie-banner { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px); }
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.3rem;
}
.cookie-banner p { flex: 1 1 320px; font-size: 0.88rem; }
.cookie-banner a { color: var(--blue-600); }
.cookie-banner .btn { padding: 0.55rem 1.2rem; font-size: 0.88rem; }

/* ---------- Reveals au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Accessibilité / 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; }
}
