/* ==========================================================================
   VMB FINANCE — Feuille de style principale
   1. Polices & variables    2. Base          3. Boutons (micro-interactions)
   4. Preloader              5. En-tête       6. Accueil
   7. Pages internes         8. Formulaires   9. Simulateur
   10. Pied de page          11. Animations   12. Responsive
   ========================================================================== */

/* 1. Polices & variables ---------------------------------------------------- */
@font-face { font-family: "Jakarta"; src: url("../fonts/jakarta-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jakarta"; src: url("../fonts/jakarta-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy-900: #061a3a;
  --navy-800: #0a2652;
  --navy-700: #0d3470;
  --blue-600: #1559c7;
  --blue-500: #1e6fe0;
  --sky-400: #22a6f2;
  --sky-300: #5cc2ff;
  --ink: #0b1b36;
  --text: #33415c;
  --muted: #64748b;
  --line: #e3e9f3;
  --bg: #ffffff;
  --bg-soft: #f3f7fd;
  --bg-softer: #eaf1fb;
  --success: #12a150;
  --warning: #d97706;
  --danger: #dc2626;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(10, 38, 82, .06);
  --shadow: 0 10px 30px rgba(10, 38, 82, .10);
  --shadow-lg: 0 24px 60px rgba(10, 38, 82, .18);

  /* Courbe "rebond" pour les micro-interactions */
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  --container: 1240px;
  --header-h: 76px;
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* 2. Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue-500); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: 48px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-500); margin-bottom: 12px;
}
.lead { font-size: 1.1rem; color: var(--text); max-width: 60ch; }
.text-gradient { background: linear-gradient(90deg, var(--sky-400), var(--sky-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.center { text-align: center; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }

/* 3. Boutons & micro-interactions ------------------------------------------- */
.btn {
  --btn-bg: var(--blue-600); --btn-fg: #fff; --btn-border: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--btn-border);
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; font-size: .95rem; line-height: 1;
  cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease-bounce), box-shadow .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
}
/* reflet lumineux qui balaie le bouton au survol */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 28px rgba(21, 89, 199, .35); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .12s; }
.btn .icon-arrow { transition: transform .45s var(--ease-bounce); }
.btn:hover .icon-arrow { transform: translateX(5px); }

.btn--sky { --btn-bg: linear-gradient(90deg, var(--sky-400), #3d8bff); background: linear-gradient(90deg, var(--sky-400), #3d8bff); }
.btn--sky:hover { box-shadow: 0 12px 30px rgba(34, 166, 242, .45); }
.btn--ghost-light { --btn-bg: transparent; --btn-border: rgba(255,255,255,.85); }
.btn--ghost-light:hover { background: #fff; color: var(--navy-800); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.btn--outline { --btn-bg: #fff; --btn-fg: var(--navy-800); --btn-border: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--navy { --btn-bg: var(--navy-800); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--navy-800); }
.btn--danger { --btn-bg: var(--danger); }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-600); }
.link-arrow svg { transition: transform .45s var(--ease-bounce); }
.link-arrow:hover svg { transform: translateX(6px); }

/* Effet générique réutilisable : ajoutez la classe .hover-lift à n'importe quel élément */
.hover-lift { transition: transform .5s var(--ease-bounce), box-shadow .4s var(--ease-out); will-change: transform; }
.hover-lift:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
/* Zoom doux d'une image dans son cadre : .hover-zoom sur le conteneur */
.hover-zoom { overflow: hidden; }
.hover-zoom img { transition: transform 1.1s var(--ease-out); }
.hover-zoom:hover img, .hover-lift:hover .hover-zoom img { transform: scale(1.07); }
/* Petit rebond d'icône */
.hover-pop { transition: transform .5s var(--ease-bounce); }
.hover-pop:hover, .hover-lift:hover .hover-pop { transform: scale(1.12) rotate(-4deg); }

/* 4. Preloader --------------------------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, var(--navy-700), var(--navy-900) 70%);
  transition: opacity .7s var(--ease-out), visibility .7s;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__logo { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.preloader__logo svg { width: 100px; height: 100px; animation: breathe 2.2s ease-in-out infinite; filter: drop-shadow(0 0 0 rgba(92,194,255,0)); }
/* halo qui "respire" autour du logo */
.preloader__logo::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(92,194,255,.35), transparent 65%);
  animation: halo 2.2s ease-in-out infinite;
}
/* anneau de progression */
.preloader__logo::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.12); border-top-color: var(--sky-400);
  animation: spin 1.1s linear infinite;
}
.preloader__brand { color: #fff; font-weight: 800; letter-spacing: .14em; font-size: 1.4rem; }
.preloader__tag { color: rgba(255,255,255,.6); font-size: .85rem; margin-top: -16px; }
@keyframes breathe {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(92,194,255,0)); }
  15% { transform: scale(1.09); }
  30% { transform: scale(1.0); }
  45% { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(92,194,255,.7)); }
}
@keyframes halo { 0%, 100% { transform: scale(.85); opacity: .5; } 45% { transform: scale(1.15); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
body.is-loading { overflow: hidden; }

/* 5. En-tête ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy-800); flex-shrink: 0; }
.brand svg { width: 44px; height: 44px; transition: transform .5s var(--ease-bounce); }
.brand:hover svg { transform: rotate(-8deg) scale(1.08); }
.brand__name { font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; line-height: 1; }
.brand__tag { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-top: 4px; }

.nav-panel { flex: 1; display: flex; align-items: center; gap: 24px; }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a {
  position: relative; padding: 8px 11px; color: var(--ink); font-weight: 600; font-size: .9rem; border-radius: 8px;
  white-space: nowrap; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--blue-500); transform: scaleX(0); transition: transform .4s var(--ease-bounce);
}
.nav a:hover, .nav a.is-active { color: var(--blue-500); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 10px; align-items: center; }
/* Sélecteur de langue */
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 999px;
  font-weight: 700; font-size: .85rem; color: var(--ink); transition: background .2s, transform .45s var(--ease-bounce);
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { width: 18px; height: 18px; color: var(--blue-500); }
.lang-switch summary:hover { background: var(--bg-soft); transform: translateY(-2px); }
.lang-switch ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; list-style: none; margin: 0; padding: 8px; min-width: 170px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  animation: dropIn .35s var(--ease-bounce);
}
.lang-switch li a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: .9rem; transition: background .2s, padding .3s var(--ease-bounce); }
.lang-switch li a:hover { background: var(--bg-soft); padding-left: 16px; }
.lang-switch li a.is-active { color: var(--blue-600); background: var(--bg-softer); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px) scale(.96); } }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: var(--bg-soft); border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 6. Accueil ------------------------------------------------------------------ */
.hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  min-height: min(720px, calc(100vh - var(--header-h)));
  display: flex; align-items: center; padding-block: 72px;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6,26,58,.96) 0%, rgba(6,26,58,.88) 38%, rgba(6,26,58,.35) 70%, rgba(6,26,58,.15) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero__text { color: rgba(255,255,255,.86); font-size: 1.08rem; max-width: 52ch; margin-bottom: 32px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: rgba(34,166,242,.18); border: 1px solid rgba(92,194,255,.4); color: #d9f0ff;
  font-size: .85rem; font-weight: 600; margin-bottom: 22px;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky-400); box-shadow: 0 0 0 4px rgba(34,166,242,.25); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__features { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); }
.hero__feature { display: flex; align-items: center; gap: 12px; font-size: .88rem; line-height: 1.35; color: rgba(255,255,255,.9); }
.hero__feature span { max-width: 15ch; }
.hero__feature svg { width: 30px; height: 30px; color: var(--sky-400); flex-shrink: 0; }
.hero__visual { position: relative; justify-self: end; width: min(420px, 100%); }
.hero__photo {
  border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 40px 80px rgba(0,0,0,.45);
  border: 6px solid rgba(255,255,255,.12); transform: rotate(2deg); transition: transform .8s var(--ease-bounce);
}
.hero__photo:hover { transform: rotate(0) scale(1.02); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Diaporama du haut de page : fondu + léger zoom */
.hero-slides { position: relative; }
.hero-slides img { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 1.1s var(--ease-out), transform 6.5s linear; }
.hero-slides img.is-active { opacity: 1; transform: scale(1); }
.hero-slides::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(5,20,45,.45)); pointer-events: none; }
.hero-slides__dots { position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-slides__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.55); cursor: pointer; transition: width .4s var(--ease-out), background .3s; }
.hero-slides__dots button.is-active { width: 26px; background: #fff; }
.hero__note {
  position: absolute; z-index: 2; top: 18px; left: -118px; font-family: "Caveat", cursive; font-size: 1.7rem; line-height: 1.05;
  color: #fff; transform: rotate(-8deg); text-shadow: 0 2px 12px rgba(0,0,0,.4); text-align: center; width: 7.5em;
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.3;
  animation: floaty 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 1rem; }
.float-card__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-softer); color: var(--blue-600); }
.float-card--a { left: -56px; bottom: 64px; }
.float-card--b { right: -24px; bottom: -22px; animation-delay: -2.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Bande universités */
.unis { padding-block: 44px; border-bottom: 1px solid var(--line); }
.unis .container { display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: center; }
.unis h2 { font-size: 1.15rem; margin-bottom: 6px; }
.unis p { font-size: .9rem; color: var(--muted); margin: 0; }
.unis__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); align-items: center; gap: 18px 16px; }
.uni-mark {
  display: flex; align-items: center; gap: 10px; color: var(--navy-800); opacity: .78;
  font-family: Georgia, "Times New Roman", serif; transition: opacity .3s, transform .5s var(--ease-bounce);
}
.uni-mark:hover { opacity: 1; transform: translateY(-4px) scale(1.04); }
.uni-mark__crest {
  width: 34px; height: 40px; border-radius: 4px 4px 16px 16px; background: var(--navy-800); color: #fff;
  display: grid; place-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .02em;
}
.uni-mark__name { font-size: .98rem; line-height: 1.05; letter-spacing: .04em; text-transform: uppercase; }
.uni-mark__name small { display: block; font-size: .62rem; letter-spacing: .18em; opacity: .75; }

/* Solutions */
.solutions { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 28px; align-items: stretch; }
.solutions__intro { align-self: center; padding-right: 12px; }
.solution-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.solution-card__media { height: 190px; position: relative; }
.solution-card__media img { width: 100%; height: 100%; object-fit: cover; }
.solution-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(255,255,255,1)); }
.solution-card__body { padding: 0 28px 28px; margin-top: -36px; position: relative; display: flex; flex-direction: column; flex: 1; }
.icon-badge {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-700)); box-shadow: 0 10px 22px rgba(21,89,199,.35); margin-bottom: 16px;
}
.icon-badge svg { width: 26px; height: 26px; }
.solution-card h3 { margin-bottom: 4px; }
.solution-card .subtitle { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.checklist { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .92rem; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--bg-softer) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231559c7' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}
.solution-card .link-arrow { margin-top: auto; }

/* Bande "pourquoi nous" */
.why { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.why::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(circle at 80% 20%, rgba(34,166,242,.25), transparent 45%), radial-gradient(circle at 10% 90%, rgba(21,89,199,.35), transparent 40%);
}
.why .container { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.why h2 { color: #fff; }
.why .eyebrow { color: var(--sky-300); }
.why p { color: rgba(255,255,255,.82); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 18px 14px; border-left: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); transition: background .3s, transform .5s var(--ease-bounce); }
.stat:first-child { border-left: 0; }
.stat:hover { background: rgba(255,255,255,.05); transform: translateY(-6px); }
.stat svg { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--sky-400); }
.stat__value { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.1; }
.stat__label { font-size: .9rem; color: rgba(255,255,255,.8); line-height: 1.35; margin-top: 4px; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step__icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--bg-softer); color: var(--blue-600); box-shadow: inset 0 0 0 8px #f6f9fe;
}
.step__icon svg { width: 28px; height: 28px; }
.step h3 { font-size: 1.05rem; }
.step h3 span { color: var(--blue-500); margin-right: 4px; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 58px; right: -20px; width: 16px; height: 16px; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e6fe0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Témoignages */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: #fff; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.testimonial blockquote { margin: 0; font-size: .97rem; color: var(--text); position: relative; padding-top: 22px; }
.testimonial blockquote::before { content: "“"; position: absolute; top: -14px; left: -4px; font-size: 3.6rem; line-height: 1; color: var(--sky-400); font-family: Georgia, serif; }
.testimonial__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--sky-400), var(--blue-600)); color: #fff; font-weight: 800;
}
.testimonial__who strong { display: block; color: var(--ink); font-size: .95rem; }
.testimonial__who span span { font-size: .85rem; color: var(--muted); }
.testimonial__who .avatar { font-size: 1.1rem; color: #fff; }

/* Bandeau CTA */
.cta-band {
  position: relative; border-radius: 32px; overflow: hidden; isolation: isolate; color: #fff;
  padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
  background: linear-gradient(120deg, var(--navy-800), var(--blue-600));
}
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.07); z-index: -1; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 7. Pages internes -------------------------------------------------------------- */
.page-hero { position: relative; color: #fff; padding-block: 96px 80px; isolation: isolate; overflow: hidden; background: var(--navy-900); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,26,58,.95), rgba(6,26,58,.6)); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 60ch; font-size: 1.08rem; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.85); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-2 > *, .grid-3 > *, .form-grid > *, .solutions > *, .steps > * { min-width: 0; }
.prose table { table-layout: fixed; }
.prose td, .prose th { overflow-wrap: anywhere; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.card--soft { background: var(--bg-soft); border-color: transparent; }
.feature-card .icon-badge { width: 52px; height: 52px; }
.rounded-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.rounded-img img { width: 100%; height: 100%; object-fit: cover; }

/* Parcours (timeline) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 32px 64px; }
.timeline li::before {
  counter-increment: tl; content: counter(tl); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue-600); color: #fff; font-weight: 800; box-shadow: 0 0 0 6px var(--bg-softer);
}
.timeline li::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline { counter-reset: tl; }
.timeline h3 { font-size: 1.08rem; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--muted); font-size: .95rem; }

.notice { display: flex; gap: 12px; padding: 16px 20px; border-radius: var(--radius); background: #fff8eb; border: 1px solid #fde4b0; color: #7a4b00; font-size: .92rem; }
.notice--info { background: var(--bg-softer); border-color: #cfe0f8; color: var(--navy-700); }
.notice svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; }

/* Universités (page) */
.uni-card { position: relative; overflow: hidden; }
/* Page Universités : photo du campus + logo sur plaque blanche */
.grid-3 > .uni-card { padding: 0; display: flex; flex-direction: column; }
.uni-card__photo { height: 150px; overflow: hidden; }
.uni-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.uni-card__logo { position: relative; z-index: 1; margin: -38px 20px 0; height: 84px; padding: 12px 18px; display: grid; place-items: center; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.uni-card__logo .uni-logo img { max-height: 54px; max-width: 100%; filter: none; }
.uni-card__body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.uni-card__body .meta { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.uni-card__body p { font-size: .92rem; margin: 2px 0 0; }
.uni-card__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.uni-card__ctas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.uni-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.uni-card__crest { width: 52px; height: 60px; border-radius: 6px 6px 24px 24px; background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); color: #fff; display: grid; place-items: center; font-family: Georgia, serif; font-weight: 700; }
.uni-card h3 { margin: 0; font-size: 1.1rem; }
.uni-card .meta { font-size: .88rem; color: var(--muted); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--bg-softer); color: var(--blue-600); font-size: .78rem; font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 24px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #cfe0f8; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue-500); transition: transform .4s var(--ease-bounce); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text); padding-bottom: 18px; margin: 0; }

/* Contenu légal */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.prose td, .prose th { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { width: 38%; color: var(--ink); }

/* 8. Formulaires ------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.input, .select, .textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30,111,224,.12); }
.textarea { min-height: 130px; resize: vertical; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.error-text { color: var(--danger); font-size: .82rem; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue-600); }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .93rem; }
.alert--success { background: #e9f9ef; color: #0d6b36; border: 1px solid #bfe9cf; }
.alert--error { background: #fdeeee; color: #9b1c1c; border: 1px solid #f7caca; }

/* Choix sous forme de tuiles (test d'éligibilité) */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: block; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 600;
  transition: border-color .2s, background .2s, transform .45s var(--ease-bounce);
}
.choice span:hover { transform: translateY(-3px); border-color: #b9d1f5; }
.choice input:checked + span { border-color: var(--blue-500); background: var(--bg-softer); color: var(--navy-800); box-shadow: 0 0 0 3px rgba(30,111,224,.15); }
.choice input:focus-visible + span { outline: 3px solid var(--sky-400); outline-offset: 2px; }

/* 9. Simulateur ------------------------------------------------------------------ */
.simulator { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.simulator__controls { padding: 40px; display: grid; gap: 30px; }
.simulator__result { padding: 40px; background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; display: flex; flex-direction: column; gap: 18px; }
.range-row { display: grid; gap: 10px; }
.range-row__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range-row__head label { font-weight: 700; color: var(--ink); }
.range-row__value { font-weight: 800; color: var(--blue-600); font-size: 1.2rem; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--blue-500) var(--fill, 50%), var(--line) var(--fill, 50%)); cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid var(--blue-500); box-shadow: var(--shadow); transition: transform .35s var(--ease-bounce); }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.2); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 6px solid var(--blue-500); box-shadow: var(--shadow); }
.range-row__minmax { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.result-main { font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; line-height: 1; color: #fff; }
.result-main small { font-size: 1rem; font-weight: 600; color: rgba(255,255,255,.7); }
.result-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.result-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .93rem; color: rgba(255,255,255,.8); }
.result-list li strong { color: #fff; }
.simulator__result .disclaimer { font-size: .78rem; color: rgba(255,255,255,.6); margin: 0; }
.bump { animation: bump .45s var(--ease-bounce); }
@keyframes bump { 40% { transform: scale(1.06); } }

/* 9b. Pages de connexion / inscription ------------------------------------------------ */
.auth { position: relative; isolation: isolate; padding-block: clamp(40px, 7vw, 88px); background: var(--bg-soft); overflow: hidden; }
.auth::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(34,166,242,.18), transparent 70%); }
.auth-card { max-width: 520px; margin-inline: auto; background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); padding: clamp(28px, 5vw, 48px); border: 1px solid var(--line); }
.auth-card--wide { max-width: 760px; }
.auth-card__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 20px; color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--navy-700)); box-shadow: 0 12px 26px rgba(21,89,199,.3); }
.auth-card__icon svg { width: 30px; height: 30px; }
.auth-card h1 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 8px; }
.auth-card > p.muted { margin-bottom: 26px; }
.auth-foot { text-align: center; margin-top: 22px; font-size: .92rem; color: var(--muted); }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .9rem; }
.field + .field { margin-top: 18px; }
.form-grid .field + .field { margin-top: 0; }
.password-wrap { position: relative; }
.password-wrap .input { padding-right: 52px; }
.password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; padding: 8px; cursor: pointer; color: var(--muted); border-radius: 8px; }
.password-toggle:hover { color: var(--blue-600); background: var(--bg-soft); }
.password-meter { height: 6px; border-radius: 99px; background: var(--line); margin-top: 8px; overflow: hidden; }
.password-meter span { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .4s var(--ease-out), background .3s; }

/* Saisie du code à 6 chiffres */
.otp { display: flex; gap: 10px; justify-content: center; margin: 8px 0 22px; }
.otp input {
  flex: 1 1 0; min-width: 0; max-width: 54px; height: 62px; text-align: center; font-size: 1.6rem; font-weight: 800; color: var(--navy-800);
  border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .35s var(--ease-bounce);
}
.otp input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30,111,224,.14); transform: translateY(-2px); }
.otp input.is-filled { border-color: var(--blue-500); background: var(--bg-softer); }
.otp.has-error input { border-color: var(--danger); animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.link-btn { border: 0; background: none; padding: 0; color: var(--blue-600); font-weight: 700; cursor: pointer; font-size: inherit; }
.link-btn:disabled { color: var(--muted); cursor: default; }

/* 10. Pied de page ---------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding-top: 64px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer .brand { color: #fff; }
.site-footer .brand__tag { color: rgba(255,255,255,.6); }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.75); transition: color .2s, padding .3s var(--ease-bounce); }
.site-footer ul a:hover { color: #fff; padding-left: 4px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s, transform .45s var(--ease-bounce); }
.socials a:hover { background: var(--sky-400); color: #fff; transform: translateY(-4px) rotate(-6deg); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-legal { font-size: .8rem; color: rgba(255,255,255,.5); line-height: 1.6; }

/* Bandeau cookies */
.cookie-banner {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 500; max-width: 560px; margin-right: auto; /* à gauche : le bouton du chat reste visible à droite */
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px 24px; border: 1px solid var(--line);
  transform: translateY(140%); transition: transform .6s var(--ease-bounce);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { font-size: .88rem; margin-bottom: 14px; }
.cookie-banner .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* 11. Animations d'apparition au défilement ---------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Entrée animée du haut de page : démarre dès que le preloader disparaît */
.intro { animation: introUp .9s var(--ease-out) both; animation-delay: var(--d, 0s); }
body.is-loading .intro { animation-play-state: paused; }
@keyframes introUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 11b. Refonte 2026 : effets, carrousels, carte, cartes VMB, chat ---------------------------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 300; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--sky-400), var(--blue-600)); transform-origin: 0 50%; transform: scaleX(0); }

/* Inclinaison 3D (data-tilt) */
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out); transform-style: preserve-3d; }
[data-tilt].is-tilting { transition: transform .12s linear; }
.hero__photo[data-tilt] { transform: perspective(900px) rotate(2deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.hero__photo[data-tilt].is-tilting { transform: perspective(900px) rotate(0deg) rotateX(var(--rx)) rotateY(var(--ry)) scale(1.02); }
.solution-card[data-tilt].is-tilting { transform: perspective(900px) translateY(-8px) rotateX(var(--rx)) rotateY(var(--ry)); }
[data-magnetic] { transition: translate .35s var(--ease-out), transform .45s var(--ease-bounce), box-shadow .35s var(--ease-out); }

.hero__bg { will-change: transform; }
.hero__glow { position: absolute; z-index: -1; width: 620px; height: 620px; right: -120px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(34,166,242,.35), transparent 65%); animation: glowMove 12s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glowMove { to { transform: translate(-120px, 120px) scale(1.15); } }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.text-gradient { background-size: 200% auto; animation: shimmerText 6s linear infinite; background-image: linear-gradient(90deg, var(--sky-400), #9fdcff, var(--sky-300), var(--sky-400)); }
@keyframes shimmerText { to { background-position: 200% center; } }

/* Universités : défilement continu */
.unis { padding-block: 40px 44px; overflow: hidden; }
.unis .container { display: block; }
.unis__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; margin-bottom: 22px; }
.unis__head h2 { margin: 0; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 18px; animation: marquee 38s linear infinite; padding-block: 8px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.marquee__item { display: grid; place-items: center; min-width: 210px; height: 92px; padding: 0 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-bounce), box-shadow .35s, border-color .3s; }
.marquee__item:hover { transform: translateY(-6px) scale(1.04); box-shadow: var(--shadow); border-color: #cfe0f8; }
.uni-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--navy-800); font-family: Georgia, "Times New Roman", serif; }
.uni-logo img { max-height: 56px; max-width: 190px; width: auto; object-fit: contain; filter: grayscale(.15); transition: filter .3s; }.marquee__item:hover .uni-logo img { filter: none; }
.uni-logo__crest { width: 36px; height: 42px; border-radius: 5px 5px 18px 18px; background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); }
.uni-logo__name { font-size: 1.05rem; line-height: 1.05; letter-spacing: .05em; text-transform: uppercase; }
.uni-logo__name small { display: block; font-size: .6rem; letter-spacing: .2em; opacity: .7; margin-top: 3px; }
.uni-logo--light { color: #fff; }

/* Simulateur sur l'accueil */
.sim-section { position: relative; background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.simulator__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.simulator__top h3 { margin: 0; font-size: 1.35rem; }
.simulator__top .eyebrow { margin-bottom: 4px; }
.currency-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.currency-switch label { position: relative; cursor: pointer; }
.currency-switch input { position: absolute; opacity: 0; }
.currency-switch span { display: block; padding: 8px 14px; border-radius: 999px; font-weight: 800; color: var(--muted); transition: background .3s, color .3s, transform .45s var(--ease-bounce); }
.currency-switch span small { font-size: .68rem; font-weight: 700; opacity: .7; }
.currency-switch label:hover span { color: var(--navy-800); }
.currency-switch input:checked + span { background: var(--navy-800); color: #fff; box-shadow: 0 6px 16px rgba(10,38,82,.25); transform: scale(1.04); }
.currency-switch input:focus-visible + span { outline: 3px solid var(--sky-400); }
.result-ring { display: flex; align-items: center; gap: 16px; }
.result-ring svg { width: 74px; height: 74px; transform: rotate(-90deg); flex-shrink: 0; }
.result-ring circle { fill: none; stroke-width: 12; }
.result-ring__bg { stroke: rgba(255,255,255,.12); }
.result-ring__fg { stroke: var(--sky-400); stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset .8s var(--ease-out); }
.result-ring strong { display: block; color: #fff; font-size: 1.3rem; }
.result-ring span { font-size: .82rem; color: rgba(255,255,255,.7); }

/* "Pourquoi nous" avec carte du monde interactive */
.why { padding-block: clamp(72px, 9vw, 120px); }
.why__map { position: absolute; right: max(-40px, calc((100% - var(--container)) / 2 - 80px)); top: 110px; width: min(1000px, 70%); aspect-ratio: 1000 / 343; z-index: 0; }
.why__map::before { content: ""; position: absolute; inset: -10%; background: radial-gradient(closest-side, rgba(34,166,242,.14), transparent); z-index: -1; }
.why__dots { width: 100%; height: 100%; opacity: .55; }
.why__content { position: relative; z-index: 1; pointer-events: none; display: grid; grid-template-columns: minmax(0, 430px) 1fr !important; gap: 24px 56px; }
.why__text { min-height: 340px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.why .stats { grid-column: 1 / -1; }
.why__content a, .why__content .stat { pointer-events: auto; }
.why__hint { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--sky-300) !important; }
.map-pin { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; border: 0; background: none; cursor: pointer; }
.map-pin__dot { position: absolute; inset: 7px; border-radius: 50%; background: var(--sky-400); box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 0 18px rgba(92,194,255,.9); }
.map-pin__dot::before, .map-pin__dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(92,194,255,.7); animation: pinPulse 2.6s var(--ease-out) infinite; animation-delay: var(--d); }
.map-pin__dot::after { animation-delay: calc(var(--d) + 1.3s); }
@keyframes pinPulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.map-pin__card {
  position: absolute; left: 50%; bottom: calc(100% + 12px); width: 220px; border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink);
  box-shadow: 0 24px 50px rgba(0,0,0,.45); text-align: left; pointer-events: none;
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.92); transform-origin: 50% 100%;
  transition: opacity .3s, transform .45s var(--ease-bounce), visibility .3s;
}
.map-pin__card::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: #fff; transform: rotate(45deg); }
.map-pin__card img { width: 100%; height: 120px; object-fit: cover; }
.map-pin__text { display: block; padding: 10px 14px 12px; font-size: .82rem; color: var(--muted); }
.map-pin__text strong { display: block; color: var(--ink); font-size: 1rem; }
.map-pin:hover, .map-pin:focus-visible, .map-pin.is-open { z-index: 5; }
.map-pin:hover .map-pin__card, .map-pin:focus-visible .map-pin__card, .map-pin.is-open .map-pin__card { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.map-pin:hover .map-pin__dot, .map-pin.is-open .map-pin__dot { background: #fff; }
.why .stats { background: rgba(6,26,58,.55); backdrop-filter: blur(6px); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.08); padding: 8px; }

/* Cartes VMB */
.cards-section { background: radial-gradient(1200px 400px at 50% 0%, var(--bg-softer), #fff 70%); overflow: hidden; }
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1080px; margin-inline: auto; }
.card-offer { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.card-offer__head { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.card-offer__name { padding: 10px 22px; border-radius: 999px; background: var(--navy-800); color: #fff; font-weight: 800; font-size: 1.1rem; box-shadow: 0 10px 22px rgba(10,38,82,.25); }
.card-offer__name--vip { background: linear-gradient(120deg, #a6772b, #e2b858, #a6772b); color: #1d1405; }
.card-offer__tag { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.card-offer__features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.card-offer__features li { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--navy-800); transition: transform .45s var(--ease-bounce), border-color .3s; }
.card-offer__features li:hover { transform: translateY(-3px); border-color: #b9d1f5; }
.card-offer__meta { margin: 0; font-size: .88rem; color: var(--muted); }

.vcard {
  --rx: 0deg; --ry: 0deg; position: relative; width: min(420px, 100%); aspect-ratio: 1.586; border-radius: 22px; padding: 22px 24px; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 0% 0%, #2c6cf0 0%, #123f9c 45%, #0a2558 100%);
  box-shadow: 0 30px 60px rgba(10,38,82,.35), inset 0 0 0 1px rgba(255,255,255,.12); font-family: var(--font); text-align: left;
}
.vcard--vip { background: radial-gradient(120% 140% at 0% 0%, #2a2a2e 0%, #121214 55%, #050506 100%); box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 1px rgba(226,184,88,.35); color: #f3d68e; }
.vcard--vip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 40%, rgba(226,184,88,.5) 41%, transparent 42%), linear-gradient(115deg, transparent 62%, rgba(226,184,88,.25) 63%, transparent 64%); }
.vcard__shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(circle at var(--mx, 30%) var(--my, 0%), rgba(255,255,255,.28), transparent 45%); opacity: .6; transition: opacity .3s; mix-blend-mode: soft-light; }
.vcard:hover .vcard__shine { opacity: 1; }
.vcard__temple { position: absolute; right: 22px; top: 34%; width: 42%; color: rgba(140,190,255,.55); z-index: -1; }
.vcard--vip .vcard__temple { color: rgba(226,184,88,.45); }
.vcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.vcard__brand { display: flex; align-items: center; gap: 8px; font-size: .95rem; letter-spacing: .02em; line-height: 1.05; }
.vcard__brand svg { width: 30px; height: 30px; }
.vcard__brand small { display: block; font-size: .55rem; opacity: .75; letter-spacing: 0; margin-top: 2px; }
.vcard--vip .vcard__brand svg { filter: sepia(1) saturate(3) hue-rotate(-12deg) brightness(1.1); }
.vcard__tier { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; letter-spacing: .3em; font-weight: 700; opacity: .9; }
.vcard--vip .vcard__tier { font-size: 1.25rem; letter-spacing: .05em; color: #e2b858; flex-direction: column; }
.vcard__chip { position: absolute; left: 24px; top: 38%; width: 46px; height: 36px; border-radius: 7px; background: linear-gradient(135deg, #f8e3a3, #c9a14c 60%, #f2d68a); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.vcard__chip span { position: absolute; inset: 7px 12px; border: 1px solid rgba(90,60,10,.35); border-radius: 3px; }
.vcard__nfc { position: absolute; left: 80px; top: 39%; width: 26px; height: 26px; opacity: .85; }
.vcard__number { position: absolute; left: 24px; right: 24px; top: 61%; font-size: clamp(.95rem, 2.6vw, 1.25rem); letter-spacing: .12em; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.3); white-space: nowrap; }
.vcard__bottom { position: absolute; left: 24px; right: 22px; bottom: 18px; display: flex; justify-content: space-between; align-items: flex-end; }
.vcard__label { display: inline-block; font-size: .45rem; line-height: 1.1; letter-spacing: .08em; opacity: .8; vertical-align: middle; }
.vcard__exp { font-size: .9rem; font-weight: 600; letter-spacing: .08em; vertical-align: middle; margin-left: 4px; }
.vcard__holder { font-size: .85rem; letter-spacing: .14em; font-weight: 600; margin-top: 4px; }
.vcard__network--mc { position: relative; display: inline-block; width: 52px; height: 32px; }
.vcard__network--mc i { position: absolute; top: 0; width: 32px; height: 32px; border-radius: 50%; background: #eb001b; }
.vcard__network--mc i + i { left: 20px; background: #f79e1b; mix-blend-mode: hard-light; opacity: .95; }
.vcard__network--visa { font-size: 1.7rem; font-weight: 800; font-style: italic; letter-spacing: -.02em; color: #fff; }
.vcard--vip .vcard__network--visa { color: #f3d68e; }
.vcard.is-blocked { filter: grayscale(.8) brightness(.8); }
.vcard__badge { position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-8deg); padding: 6px 14px; border-radius: 8px; background: rgba(220,38,38,.92); color: #fff; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.card-offer .vcard { animation: cardFloat 6s ease-in-out infinite; }
.card-offer:nth-child(2) .vcard { animation-delay: -3s; }
@keyframes cardFloat { 50% { translate: 0 -10px; } }

/* Carrousel des témoignages */
.slider-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; flex-wrap: wrap; }
.slider-nav { display: flex; gap: 10px; }
.slider-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy-800); cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s, transform .45s var(--ease-bounce), border-color .25s; }
.slider-btn svg { width: 20px; height: 20px; }
.slider-btn:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); transform: scale(1.08); }
.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 2px 18px; overscroll-behavior-x: contain; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__item { margin: 0; scroll-snap-align: start;transition: transform .5s var(--ease-bounce), box-shadow .4s; }
.slider__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.slider-dots button { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: #c9d6ea; cursor: pointer; transition: width .4s var(--ease-bounce), background .3s; }
.slider-dots button.is-active { width: 28px; background: var(--blue-600); }
.stars { display: flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; color: #d7dfeb; fill: currentColor; }
.stars svg.is-on { color: #f5b301; }
.testimonial blockquote { padding-top: 6px; }
.testimonial blockquote::before { display: none; }
.section--tight-top { padding-top: 0; }

/* Chat flottant */
.chatw { position: fixed; right: 22px; bottom: 22px; z-index: 400; font-size: .93rem; }
.chatw__fab {
  position: relative; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, var(--sky-400), var(--blue-600)); box-shadow: 0 14px 32px rgba(21,89,199,.45);
  display: grid; place-items: center; transition: transform .45s var(--ease-bounce), box-shadow .3s;
}
.chatw__fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(34,166,242,.6); animation: pinPulse 2.8s var(--ease-out) infinite; }
.chatw__fab:hover { transform: scale(1.08) rotate(-6deg); }
.chatw__fab svg { width: 28px; height: 28px; transition: transform .4s var(--ease-bounce), opacity .25s; }
.chatw__fab-close { position: absolute; font-size: 2rem; line-height: 1; opacity: 0; transform: rotate(-90deg) scale(.5); transition: transform .4s var(--ease-bounce), opacity .25s; }
.chatw.is-open .chatw__fab-icon svg { opacity: 0; transform: rotate(90deg) scale(.5); }
.chatw.is-open .chatw__fab-close { opacity: 1; transform: none; }
.chatw.is-open .chatw__fab::before { display: none; }
.chatw__badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--danger); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; animation: pop .5s var(--ease-bounce); }
.chatw__teaser { position: absolute; right: 74px; bottom: 10px; width: max-content; max-width: 260px; padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow-lg); animation: dropIn .5s var(--ease-bounce); }
.chatw__panel {
  position: absolute; right: 0; bottom: 78px; width: min(380px, calc(100vw - 32px)); height: min(580px, calc(100vh - 120px)); display: flex; flex-direction: column;
  background: #fff; border-radius: 24px; box-shadow: 0 30px 80px rgba(6,26,58,.35); overflow: hidden; transform-origin: 100% 100%; animation: chatIn .45s var(--ease-bounce);
}
@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(.9); } }
.chatw__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; color: #fff; background: linear-gradient(120deg, var(--navy-800), var(--blue-600)); }
.chatw__head strong { display: block; font-size: 1rem; }
.chatw__head small { color: rgba(255,255,255,.8); }
.chatw__avatar { position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; flex-shrink: 0; }
.chatw__avatar svg { width: 28px; height: 28px; }
.chatw__dot { position: absolute; right: 0; bottom: 2px; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 2px var(--navy-800); }
.chatw__close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .2s, transform .4s var(--ease-bounce); }
.chatw__close:hover { background: rgba(255,255,255,.25); transform: rotate(90deg); }
.chatw__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.chatw__body > [data-chatw-list] { display: flex; flex-direction: column; gap: 10px; }
.chatw__msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 86%; animation: msgIn .4s var(--ease-bounce); }
.chatw__msg.is-mine { align-self: flex-end; align-items: flex-end; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.chatw__bubble { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); white-space: pre-line; word-break: break-word; line-height: 1.45; }
.chatw__msg.is-mine .chatw__bubble { background: linear-gradient(120deg, var(--blue-600), var(--navy-700)); color: #fff; border-radius: 16px 16px 4px 16px; }
.chatw__msg.is-pending { opacity: .6; }
.chatw__msg.is-error .chatw__bubble { background: #fdeeee; color: #9b1c1c; }
.chatw__time { font-size: .7rem; color: var(--muted); margin-top: 3px; }
.chatw__link { display: block; margin-top: 8px; font-weight: 700; color: var(--blue-600); }
.chatw__quick { display: flex; flex-wrap: wrap; gap: 8px; }
.chatw__quick button { padding: 8px 12px; border-radius: 999px; border: 1.5px solid #cfe0f8; background: #fff; color: var(--blue-600); font-weight: 600; font-size: .82rem; cursor: pointer; text-align: left; transition: background .2s, color .2s, transform .4s var(--ease-bounce); }
.chatw__quick button:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.chatw__quick button[data-human] { border-color: var(--navy-800); color: var(--navy-800); }
.chatw__typing .chatw__bubble { display: flex; gap: 4px; padding: 14px; }
.chatw__typing i { width: 7px; height: 7px; border-radius: 50%; background: #9fb3cf; animation: typing 1s infinite; }
.chatw__typing i:nth-child(2) { animation-delay: .15s; } .chatw__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { transform: translateY(-5px); background: var(--blue-500); } }
.chatw__form { padding: 12px 14px 10px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: 8px; }
.chatw__ident { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chatw__ident .input { padding: 9px 12px; font-size: .85rem; }
.chatw__row { display: flex; gap: 8px; align-items: flex-end; }
.chatw__row textarea { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 14px; padding: 11px 14px; max-height: 120px; outline: none; transition: border-color .2s; }
.chatw__row textarea:focus { border-color: var(--blue-500); }
.chatw__send { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: var(--blue-600); display: grid; place-items: center; transition: transform .45s var(--ease-bounce), background .2s; }
.chatw__send:hover { transform: scale(1.1) rotate(-12deg); background: var(--navy-800); }
.chatw__send svg { width: 20px; height: 20px; }
.chatw__legal { margin: 0; font-size: .7rem; color: var(--muted); text-align: center; }
body.is-loading .chatw { opacity: 0; }

/* Connexion / inscription : écran partagé (maquettes) */
.auth-body { background: #f3f7fd; min-height: 100vh; }
.auth-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.auth-body--register .auth-split { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.auth-side { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 56px); color: var(--navy-800); background: linear-gradient(160deg, #eef4ff, #dfeaff); }
.auth-side--dark { color: #fff; background: var(--navy-900); }
.auth-side__bg { position: absolute; inset: 0; z-index: -2; }
.auth-side__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 20s ease-out forwards; transform: scale(1.08); }
.auth-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(238,244,255,.94), rgba(223,234,255,.8) 55%, rgba(10,38,82,.85) 100%); }
.auth-side--dark::before { background: linear-gradient(180deg, rgba(6,26,58,.92) 0%, rgba(10,38,99,.7) 50%, rgba(6,26,58,.95) 100%); }
.auth-side__brand { color: inherit; margin-bottom: clamp(28px, 6vh, 64px); }
.auth-side--dark .brand__tag { color: rgba(255,255,255,.7); }
.auth-side__content { max-width: 520px; position: relative; z-index: 1; }
.auth-side__content h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; margin-bottom: 16px; color: inherit; }
.auth-side--dark .auth-side__content h2 span { background: linear-gradient(90deg, var(--sky-400), #9fdcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-body--register .auth-side__content h2 span { color: var(--blue-600); font-size: 1.12em; letter-spacing: -.01em; }
.auth-side__content p { font-size: 1.05rem; opacity: .9; max-width: 46ch; }
.auth-feats { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; }
.auth-feats li { display: flex; flex-direction: column; gap: 10px; padding: 0 22px; border-left: 1px solid rgba(255,255,255,.2); font-size: .9rem; font-weight: 600; max-width: 150px; }
.auth-feats li:first-child { padding-left: 0; border-left: 0; }
.auth-feats svg { width: 34px; height: 34px; color: #fff; transition: transform .5s var(--ease-bounce); }
.auth-feats li:hover svg { transform: scale(1.15) rotate(-6deg); }
.auth-side__note { position: absolute; right: clamp(24px, 4vw, 56px); top: 62%; font-family: "Caveat", cursive; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.05; transform: rotate(-8deg); text-align: center; width: 7.5em; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.auth-perks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; max-width: 420px; }
.auth-perks li { display: flex; gap: 16px; align-items: center; font-size: .9rem; color: var(--text); }
.auth-perks strong { display: block; color: var(--navy-800); font-size: 1rem; }
.auth-perks__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, #3b82f6, var(--blue-600)); box-shadow: 0 10px 22px rgba(30,111,224,.3); transition: transform .5s var(--ease-bounce); }
.auth-perks li:hover .auth-perks__icon { transform: scale(1.1) rotate(-8deg); }
.auth-perks__icon svg { width: 24px; height: 24px; }
.auth-perks__icon--violet { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.auth-perks__icon--indigo { background: linear-gradient(135deg, #818cf8, #4f46e5); }
.auth-perks__icon--purple { background: linear-gradient(135deg, #c084fc, #9333ea); }
.auth-side__photo { position: absolute; right: -40px; bottom: 120px; width: 46%; max-width: 360px; z-index: 0; }
.auth-side__photo img { width: 100%; border-radius: 200px 200px 24px 24px; box-shadow: var(--shadow-lg); -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }
.auth-side__unis { margin-top: auto; padding-top: 32px; position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; color: #fff; }
.auth-side__unis > strong { font-size: .88rem; max-width: 8em; line-height: 1.2; }
.auth-uni { display: inline-flex; align-items: center; padding: 0 16px; opacity: .9; }
.auth-uni .uni-logo img { max-height: 34px; filter: brightness(0) invert(1); }
.auth-uni .uni-logo__crest { background: rgba(255,255,255,.18); width: 26px; height: 30px; font-size: .75rem; }
.auth-uni .uni-logo__name { font-size: .82rem; }
.auth-side__unis .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }

.auth-main { display: flex; flex-direction: column; align-items: center; padding: clamp(20px, 3vw, 40px) clamp(16px, 4vw, 56px) 28px; min-width: 0; }
.auth-main__top { width: 100%; max-width: 620px; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: clamp(18px, 4vh, 40px); }
.auth-switch { margin: 0; font-size: .9rem; color: var(--muted); }
.auth-switch a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.auth-switch a svg { transition: transform .45s var(--ease-bounce); }
.auth-switch a:hover svg { transform: translateX(4px); }
.auth-panel { width: 100%; max-width: 620px; background: #fff; border-radius: 28px; box-shadow: 0 30px 70px rgba(10,38,82,.12); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); }
.auth-body--login .auth-panel { max-width: 540px; }
.auth-panel h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 8px; }
.auth-panel__lead { margin-bottom: 26px; }
.auth-panel__head { display: flex; gap: 16px; align-items: flex-start; }
.auth-panel__icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--bg-softer); color: var(--blue-600); animation: floaty 5s ease-in-out infinite; }
.auth-panel__icon svg { width: 28px; height: 28px; }
.auth-inner.center { text-align: center; }
.auth-inner .auth-card__icon { box-shadow: 0 12px 26px rgba(21,89,199,.3); }
.auth-form .field + .field { margin-top: 18px; }
.btn--lg { padding: 17px 28px; font-size: 1rem; border-radius: 16px; }
.auth-panel .btn--block { border-radius: 14px; }
.input-icon { position: relative; }
.input-icon > svg { position: absolute; left: 15px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: color .2s; }
.input-icon .input { padding-left: 46px; }
.input-icon:focus-within > svg { color: var(--blue-500); }
.phone-input { position: relative; display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.phone-input:focus-within { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30,111,224,.12); }
.phone-input > svg { width: 20px; height: 20px; color: var(--muted); align-self: center; margin: 0 6px 0 14px; flex-shrink: 0; }
.phone-input select { position: absolute; left: 40px; top: 0; bottom: 0; width: 104px; opacity: 0; cursor: pointer; z-index: 1; }
.flag { display: inline-block; width: 20px; height: 15px; border-radius: 3px; object-fit: cover; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.phone-input__code { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-right: 1.5px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--ink); white-space: nowrap; min-width: 104px; }
.phone-input__code::after { content: "▾"; font-size: .7rem; color: var(--muted); margin-left: 2px; }
.phone-input .input { border: 0; box-shadow: none !important; flex: 1; min-width: 0; border-radius: 0 12px 12px 0; }
.field.has-error .phone-input { border-color: var(--danger); }
.profile-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 5px; border-radius: 16px; border: 1.5px solid var(--line); margin-bottom: 22px; }
.profile-tabs label { position: relative; cursor: pointer; }
.profile-tabs input { position: absolute; opacity: 0; }
.profile-tabs span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 12px; font-weight: 700; color: var(--muted); transition: background .35s var(--ease-out), color .25s, box-shadow .3s; }
.profile-tabs span svg { width: 20px; height: 20px; }
.profile-tabs input:checked + span { background: var(--blue-600); color: #fff; box-shadow: 0 10px 22px rgba(21,89,199,.35); }
.profile-tabs input:focus-visible + span { outline: 3px solid var(--sky-400); }
.auth-secure { width: 100%; max-width: 620px; display: flex; gap: 14px; align-items: center; margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: #eaf2ff; border: 1px solid #d6e4fb; font-size: .84rem; color: var(--text); }
.auth-body--login .auth-secure { max-width: 540px; }
.auth-secure strong { display: block; color: var(--navy-800); font-size: .92rem; }
.auth-secure__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: var(--blue-600); color: #fff; }
.auth-secure__icon svg { width: 24px; height: 24px; }
.auth-legal { margin: 16px 0 0; font-size: .8rem; color: var(--muted); }
.auth-legal a { color: var(--muted); }
.auth-body .intro { animation-play-state: running; }

/* 12. Responsive ----------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .auth-split, .auth-body--register .auth-split { grid-template-columns: 1fr; }
  .auth-side { min-height: 0; padding-bottom: 28px; }
  .auth-side__content p, .auth-perks, .auth-side__note, .auth-side__photo { display: none; }
  .auth-side__content h2 { font-size: 1.6rem; margin: 0; }
  .auth-side__brand { margin-bottom: 18px; }
  .auth-feats { margin-top: 18px; }
  .auth-side__unis { padding-top: 18px; }
}
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: 1fr; gap: 56px; }
  .slider__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .why__map { position: relative; right: auto; top: 0; width: 150%; margin: -20px 0 0 -25%; }
  .why__content { grid-template-columns: 1fr !important; }
  .why__text { min-height: 0; }
}
@media (max-width: 640px) {
  .slider__track { grid-auto-columns: 88%; gap: 16px; }
  .marquee__item { min-width: 170px; height: 78px; padding: 0 18px; }
  .card-offer__features { grid-template-columns: 1fr; }
  .simulator__top { flex-direction: column; }
  .chatw { right: 14px; bottom: 14px; }
  .chatw__fab { width: 56px; height: 56px; }
  .chatw__panel { position: fixed; right: 8px; left: 8px; bottom: 82px; width: auto; height: calc(100dvh - 100px); }
  .chatw__teaser { right: 66px; max-width: 200px; }
  .map-pin__card { width: 170px; }
  .map-pin__card img { height: 90px; }
  .hero__scroll { display: none; }
  .why__map { width: 190%; margin-left: -45%; }
  .vcard { padding: 16px 18px; border-radius: 18px; }
  .vcard__chip { left: 18px; width: 38px; height: 30px; }
  .vcard__nfc { left: 64px; }
  .vcard__number, .vcard__bottom { left: 18px; right: 18px; }
  .auth-feats li { padding: 0 12px; font-size: .8rem; }
  .auth-feats svg { width: 26px; height: 26px; }
  .auth-side__unis { grid-template-columns: 1fr; }
  /* téléphone : bandeau compact, le formulaire apparaît sans défiler */
  .auth-side { padding: 16px 16px 14px; }
  .auth-side__content { display: none; }
  .auth-side__brand { margin-bottom: 4px; }
  .auth-side__unis { padding-top: 8px; gap: 6px; }
  .auth-side__unis > strong { display: none; }
  .auth-panel__head { flex-direction: column; gap: 10px; }
  .auth-main__top { flex-wrap: wrap; }
  .profile-tabs span { padding: 11px 8px; font-size: .9rem; }
}
@media (max-width: 1100px) {
  .solutions { grid-template-columns: 1fr 1fr; }
  .solutions__intro { grid-column: 1 / -1; }
  .float-card--a { left: -16px; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav-panel { display: none; }
  .nav-open .nav-panel {
    display: flex; flex-direction: column; align-items: stretch; gap: 16px; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; padding: 12px 24px 24px; border-top: 1px solid var(--line); box-shadow: 0 20px 30px rgba(10,38,82,.12);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .nav { flex-direction: column; margin: 0; }
  .nav-open .header-actions { flex-direction: column; align-items: stretch; }
  .nav-open .lang-switch summary { padding-left: 0; }
  .nav-open .lang-switch ul { position: static; box-shadow: none; margin-top: 4px; }
  .nav-open .nav a { padding: 12px 0; font-size: 1rem; }
  .nav-open .nav a::after { left: 0; right: auto; width: 32px; }
}
@media (max-width: 960px) {
  .hero .container, .why .container, .grid-2, .unis .container, .simulator, .cta-band { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; margin-top: 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { border-left: 0; background: rgba(255,255,255,.04); }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .testimonials, .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .solutions, .steps, .testimonials, .grid-3, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 48px; }
  .hero__ctas .btn { width: 100%; }
  .hero__features { gap: 16px; flex-direction: column; }
  .float-card--a { left: -8px; bottom: 40px; }
  .float-card--b { right: -8px; }
  .hero__visual { margin-top: 64px; }
  .hero__note { font-size: 1.35rem; left: 50%; right: auto; top: -48px; width: max-content; transform: translateX(-50%) rotate(-4deg); }
  .simulator__controls, .simulator__result { padding: 28px 20px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner.is-visible ~ .chatw { bottom: calc(var(--cookie-h, 180px) + 22px); transition: bottom .4s; }
}

/* 12. Enregistrement d'un client (fiche sans compte) : admin et page publique -------------- */
.reg-card { width: 100%; max-width: 640px; margin: 0 auto; background: #fff; border-radius: 18px; border: 1px solid #e6e3f7; box-shadow: 0 18px 40px rgba(76, 52, 180, .1); overflow: hidden; }
.reg-card--public { max-width: none; }
.reg-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 18px 22px; color: #fff; background: linear-gradient(110deg, #5b45ea, #7c3aed 60%, #8b5cf6); }
.reg-card__head h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 1.25rem; color: #fff; }
.reg-card__head p { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .8rem; color: rgba(255,255,255,.9); }
.reg-card__head strong { font-weight: 700; }
.reg-card__new { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: .78rem; font-weight: 700; transition: background .2s; }
.reg-card__new:hover { background: rgba(255,255,255,.3); color: #fff; }
.reg-card__body { padding: 22px; }
.reg-card__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid #eeeaf9; background: #fbfaff; }
.reg-info { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-bottom: 22px; border-radius: 10px; background: #eef4ff; border: 1px solid #cfe0f8; color: #1d4fb8; font-size: .84rem; }
.reg-info svg { flex-shrink: 0; margin-top: 2px; }
.reg-info strong { display: block; font-weight: 600; }
.reg-info small { display: block; margin-top: 2px; font-size: .74rem; color: #4a68a8; }
.reg-sec { display: flex; align-items: center; gap: 10px; margin: 26px 0 16px; padding-bottom: 10px; border-bottom: 1px solid #eeeaf9; }
.reg-card__body > .reg-sec:first-of-type { margin-top: 0; }
.reg-sec h3 { margin: 0; font-size: .95rem; font-weight: 600; color: var(--ink); }
.reg-sec__num { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #ece9fe; color: #5b45ea; font-size: .75rem; font-weight: 700; flex-shrink: 0; }
.reg-sec__aside { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--muted); }
.reg-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--danger); }
.reg-req { color: var(--danger); }
.reg-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .06em; vertical-align: middle; }
.reg-pill--red { background: #fdeceb; color: #d23b2e; }
.reg-pill--violet { background: #efe9ff; color: #7c3aed; }
.reg-card .field label { font-weight: 500; font-size: .86rem; }
.reg-card .input, .reg-card .select, .reg-card .textarea { border-radius: 8px; padding: 11px 13px; font-size: .9rem; }
.reg-card .input:focus, .reg-card .select:focus, .reg-card .textarea:focus { border-color: #7c3aed; box-shadow: 0 0 0 4px rgba(124, 58, 237, .12); }
.reg-input--key { background: #f3f6fb; }
.reg-input--collab { background: #fcfaff; border-color: #ddd3fb; }
.reg-card .hint { font-size: .74rem; }
.reg-card .hint svg { display: inline-block; vertical-align: -2px; margin-right: 3px; }
.reg-em { color: #7c3aed; }
.reg-sep { border: 0; border-top: 1px solid #eeeaf9; margin: 20px 0; }
.reg-used { margin-top: 12px; padding: 12px; border-radius: 10px; border: 1px solid #e6e3f7; background: #fbfaff; }
.reg-used__title { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--muted); margin-bottom: 8px; }
.reg-used__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.reg-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; border: 1px solid #ddd3fb; background: #fff; color: var(--ink); font-size: .74rem; cursor: pointer; transition: border-color .2s, background .2s; }
.reg-chip svg { color: #8b5cf6; }
.reg-chip:hover { border-color: #7c3aed; background: #f5f0ff; }
.reg-options { display: grid; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #eeeaf9; }
.reg-btn { --btn-bg: linear-gradient(110deg, #5b45ea, #8b5cf6); background: linear-gradient(110deg, #5b45ea, #8b5cf6); }
.reg-btn:hover { box-shadow: 0 12px 26px rgba(124, 58, 237, .35); }
.wa-box { margin: 18px 0; padding: 18px; border-radius: 16px; background: #ecfbf1; border: 1px solid #b7ecc9; }
.wa-btn { --btn-bg: #25d366; background: #25d366; color: #fff; }
.wa-btn:hover { box-shadow: 0 12px 26px rgba(37, 211, 102, .35); }
.reg-type { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reg-type label { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; border: 1.5px solid #e6e3f7; cursor: pointer; font-weight: 600; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.reg-type input { accent-color: #7c3aed; }
.reg-type label:has(input:checked) { border-color: #7c3aed; box-shadow: 0 0 0 4px rgba(124, 58, 237, .12); background: #fbfaff; }
.reg-card .money-input { display: flex; align-items: center; gap: 0; }
.reg-btn--ghost { --btn-bg: #eef0f4; --btn-fg: var(--ink); background: #eef0f4; color: var(--ink); }
@media (max-width: 640px) {
  .reg-card__head { flex-direction: column; padding: 16px; }
  .reg-card__body { padding: 16px; }
  .reg-card__foot { padding: 14px 16px; }
  .reg-card__foot .btn { flex: 1; }
  .reg-sec { flex-wrap: wrap; }
}
