/* =========================================================================
   ULIO — Design system
   Filière SmartGaulle — pros, entreprises, associations
   Police : Quicksand exclusivement. Palette : navy / bleu professionnel.
   ========================================================================= */

@font-face {
  font-family: 'Quicksand';
  src: local('Quicksand Light');
  font-weight: 300;
}

:root {
  /* Couleurs — palette reprise du design ULIO fourni */
  --u-navy-950: #0b1426;
  --u-navy-900: #172033;
  --u-navy-800: #0e1c36;
  --u-blue-600: #1769ff;
  --u-blue-500: #0b4bd4;
  --u-blue-100: #eaf2ff;
  --u-blue-50:  #f7f9fc;
  --u-cyan: #45b8ff;
  --u-slate-600: #68738a;
  --u-slate-400: #93a1b5;
  --u-slate-200: #e7ecf4;
  --u-white: #ffffff;
  --u-success: #24b47e;
  --u-success-bg: #e9faf4;
  --u-warning: #b5790c;
  --u-warning-bg: #fbf1de;
  --u-danger: #c23b3b;
  --u-danger-bg: #fbebeb;

  /* Typo */
  --u-font: 'Quicksand', 'Segoe UI', sans-serif;

  /* Layout */
  --u-radius-sm: 12px;
  --u-radius-md: 22px;
  --u-radius-lg: 30px;
  --u-shadow-sm: 0 12px 30px rgba(23,105,255,.10);
  --u-shadow-md: 0 25px 70px rgba(24,67,130,.11);
  --u-container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--u-font);
  font-weight: 500;
  color: var(--u-navy-900);
  background: var(--u-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--u-container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--u-navy-950);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--u-slate-600); margin: 0 0 12px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--u-blue-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--u-blue-600);
  display: inline-block;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--u-radius-sm);
  font-family: var(--u-font);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--u-blue-600);
  color: var(--u-white);
  box-shadow: 0 8px 20px rgba(45, 95, 224, 0.28);
}
.btn-primary:hover { background: var(--u-blue-500); }

.btn-outline {
  background: transparent;
  border-color: var(--u-slate-200);
  color: var(--u-navy-900);
}
.btn-outline:hover { border-color: var(--u-blue-600); color: var(--u-blue-600); }

.btn-light {
  background: var(--u-white);
  color: var(--u-blue-600);
  border-color: var(--u-slate-200);
}
.btn-light:hover { box-shadow: var(--u-shadow-sm); }

.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
  color: var(--u-white);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); }

.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--u-slate-200);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--u-navy-950);
}
.navbar-brand img { height: 34px; width: auto; }
.navbar-brand .subline {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--u-slate-400);
  display: block;
  letter-spacing: 0.03em;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar-links a {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--u-navy-800);
  position: relative;
  padding: 6px 0;
}
.navbar-links a:hover { color: var(--u-blue-600); }
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.navbar-toggle { display: none; }

@media (max-width: 960px) {
  .navbar-links { display: none; }
  .navbar-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 15% 20%, var(--u-navy-800), var(--u-navy-950) 65%);
  color: var(--u-white);
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,116,242,0.35), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero .eyebrow { color: #9db8ff; }
.hero .eyebrow::before { background: #9db8ff; }
.hero h1 { color: var(--u-white); }
.hero p.lead {
  font-size: 1.15rem;
  color: #c3d1ec;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--u-blue-50); }
.section-header { max-width: 640px; margin-bottom: 48px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

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

.card {
  background: var(--u-white);
  border: 1px solid var(--u-slate-200);
  border-radius: var(--u-radius-md);
  padding: 30px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  box-shadow: var(--u-shadow-md);
  transform: translateY(-3px);
  border-color: var(--u-blue-100);
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--u-blue-100);
  color: var(--u-blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* ---------- Cartes offres ---------- */
.offer-card {
  background: var(--u-white);
  border: 1px solid var(--u-slate-200);
  border-radius: var(--u-radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.offer-card:hover { box-shadow: var(--u-shadow-md); transform: translateY(-3px); }
.offer-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--u-navy-950);
  margin: 10px 0 4px;
}
.offer-price span { font-size: 0.95rem; font-weight: 600; color: var(--u-slate-600); }
.offer-features { list-style: none; padding: 0; margin: 18px 0 26px; flex-grow: 1; }
.offer-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.92rem;
  color: var(--u-navy-800);
  border-top: 1px solid var(--u-slate-200);
}
.offer-features li:first-child { border-top: none; }
.offer-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--u-blue-600);
}

/* ---------- Pack featured ---------- */
.pack-card {
  background: linear-gradient(135deg, var(--u-navy-950), var(--u-navy-800));
  color: var(--u-white);
  border-radius: var(--u-radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.pack-card .badge-discount {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  color: #9db8ff;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 16px;
}
.pack-card h2 { color: var(--u-white); }
.pack-card p { color: #c3d1ec; }
.pack-included { list-style: none; padding: 0; margin: 0 0 24px; }
.pack-included li { padding: 6px 0; font-size: 0.92rem; color: #dce6fb; }
.pack-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--u-radius-md);
  padding: 26px;
}
@media (max-width: 860px) {
  .pack-card { grid-template-columns: 1fr; padding: 32px; }
}

/* ---------- Badges de statut ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.badge-success { background: var(--u-success-bg); color: var(--u-success); }
.badge-warning { background: var(--u-warning-bg); color: var(--u-warning); }
.badge-danger  { background: var(--u-danger-bg); color: var(--u-danger); }
.badge-neutral { background: var(--u-slate-200); color: var(--u-slate-600); }

/* ---------- CTA final ---------- */
.cta-band {
  background: var(--u-blue-600);
  border-radius: var(--u-radius-lg);
  padding: 60px;
  text-align: center;
  color: var(--u-white);
  margin: 0 24px;
}
.cta-band h2 { color: var(--u-white); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 480px; margin: 0 auto 26px; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--u-slate-200);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--u-navy-950);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--u-blue-600);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; }

/* ---------- Formulaires ---------- */
.form-group { margin-bottom: 20px; }
label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--u-navy-900); }
input, select, textarea {
  width: 100%;
  font-family: var(--u-font);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--u-slate-200);
  border-radius: var(--u-radius-sm);
  background: var(--u-white);
  color: var(--u-navy-950);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--u-blue-600);
  box-shadow: 0 0 0 3px rgba(45,95,224,0.15);
}
.form-hint { font-size: 0.78rem; color: var(--u-slate-400); margin-top: 4px; }
.form-error { font-size: 0.8rem; color: var(--u-danger); margin-top: 4px; }
.form-card {
  background: var(--u-white);
  border: 1px solid var(--u-slate-200);
  border-radius: var(--u-radius-lg);
  padding: 40px;
  box-shadow: var(--u-shadow-sm);
}
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: auto; margin-top: 4px; }

/* ---------- Progress bar (étapes) ---------- */
.stepper { display: flex; align-items: center; margin-bottom: 44px; }
.stepper .step {
  flex: 1;
  text-align: center;
  position: relative;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--u-slate-400);
}
.stepper .step .dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--u-slate-200);
  color: var(--u-white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
  font-size: 0.85rem;
}
.stepper .step.active .dot,
.stepper .step.done .dot { background: var(--u-blue-600); }
.stepper .step.active,
.stepper .step.done { color: var(--u-navy-950); }
.stepper .step::before {
  content: '';
  position: absolute;
  top: 15px; left: -50%; width: 100%;
  height: 2px;
  background: var(--u-slate-200);
  z-index: -1;
}
.stepper .step:first-child::before { display: none; }
.stepper .step.done::before { background: var(--u-blue-600); }

/* ---------- Animations au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible .reveal-child {
  animation: u-fade-up 0.6s ease forwards;
}
.reveal-child { opacity: 0; }
.reveal-stagger.is-visible .reveal-child:nth-child(1) { animation-delay: 0s; }
.reveal-stagger.is-visible .reveal-child:nth-child(2) { animation-delay: 0.08s; }
.reveal-stagger.is-visible .reveal-child:nth-child(3) { animation-delay: 0.16s; }
.reveal-stagger.is-visible .reveal-child:nth-child(4) { animation-delay: 0.24s; }
.reveal-stagger.is-visible .reveal-child:nth-child(5) { animation-delay: 0.32s; }
.reveal-stagger.is-visible .reveal-child:nth-child(6) { animation-delay: 0.4s; }

@keyframes u-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-child { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* Blob animé dans le hero */
.hero::after { animation: u-float 9s ease-in-out infinite; }
@keyframes u-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 22px) scale(1.06); }
}

/* Halo léger derrière l'illustration du hero */
.hero-illustration { position: relative; z-index: 1; }
.hero-illustration svg { width: 100%; height: auto; }

/* Underline animée sur les liens de nav */
.navbar-links a { overflow: hidden; }
.navbar-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--u-blue-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.navbar-links a:hover::after { transform: scaleX(1); }

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--u-navy-950);
  color: #dce6fb;
  border-radius: var(--u-radius-md);
  padding: 22px 26px;
  box-shadow: 0 20px 50px rgba(10,24,48,0.35);
  z-index: 999;
  display: none;
  animation: u-cookie-in 0.5s ease;
}
.cookie-banner.is-visible { display: block; }
@keyframes u-cookie-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner h4 { color: var(--u-white); margin-bottom: 8px; font-size: 1rem; }
.cookie-banner p { color: #b7c4de; font-size: 0.86rem; margin-bottom: 16px; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner a.cookie-link { color: #9db8ff; text-decoration: underline; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--u-navy-950);
  color: #b7c4de;
  padding: 64px 0 32px;
  margin-top: 90px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 { color: var(--u-white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--u-white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Utilitaires ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* =========================================================================
   Composants repris du design ULIO (v2) — mockups, écosystème, process...
   ========================================================================= */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--u-blue-100);
  color: var(--u-blue-600);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.06;
  letter-spacing: -1.4px;
  font-weight: 700;
  color: var(--u-navy-900);
}
.section-description {
  color: var(--u-slate-600);
  font-size: 16px;
  line-height: 1.85;
  max-width: 720px;
  margin-top: 16px;
}

@keyframes u-float2 { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-14px);} }
@keyframes u-pulse { 0%,100%{transform:scale(1); opacity:.8;} 50%{transform:scale(1.08); opacity:1;} }

/* ---- Navbar pilule (v2) ---- */
.navbar-v2 { position: fixed; top:0; left:0; width:100%; z-index:1000; padding:18px 0; transition:.3s ease; }
.navbar-v2.scrolled { background: rgba(255,255,255,.86); backdrop-filter: blur(20px); box-shadow: 0 10px 40px rgba(0,0,0,.06); }
.navbar-v2-inner {
  height:64px; display:flex; align-items:center; justify-content:space-between;
  padding:0 12px 0 18px; background: rgba(255,255,255,.75); backdrop-filter: blur(18px);
  border:1px solid rgba(255,255,255,.85); border-radius:18px;
}
.navbar-v2 .brand { display:flex; align-items:center; gap:11px; font-size:20px; font-weight:700; }
.navbar-v2 .brand img { width:36px; height:36px; object-fit:contain; }
.navbar-v2 .brand small { display:block; color: var(--u-blue-600); font-size:11px; font-weight:700; }
.navbar-v2 nav { display:flex; align-items:center; gap:26px; }
.navbar-v2 nav a { color:#536078; font-size:14px; font-weight:600; }
.navbar-v2 nav a:hover { color: var(--u-blue-600); }
.navbar-v2 .nav-actions { display:flex; gap:10px; }
@media (max-width: 960px) { .navbar-v2 nav { display:none; } }

/* Compense la navbar fixe (le spacer <div> après le header suffit déjà) */

/* ---- Hero visuel : orb + dashboard mockup + floating cards ---- */
.hero-visual { min-height: 480px; position: relative; }
.hero-orb {
  position:absolute; width:340px; height:340px; border-radius:50%;
  background: linear-gradient(135deg, rgba(23,105,255,.15), rgba(69,184,255,.05));
  top:50px; left:40px; animation: u-float2 6s ease-in-out infinite;
}
.status-dot {
  width:10px; height:10px; border-radius:50%; background:#2bc77e;
  box-shadow: 0 0 0 6px rgba(43,199,126,.12); display:inline-block;
  animation: u-pulse 2s infinite;
}
.hero-note { display:flex; align-items:center; gap:12px; color:#728098; font-size:13px; margin-top:26px; }

.dashboard-mock {
  position:relative; margin-left:auto; width:100%; max-width:440px; padding:20px;
  background: rgba(255,255,255,.95); border:1px solid var(--u-slate-200); border-radius:26px;
  box-shadow: var(--u-shadow-md); animation: u-float2 5s ease-in-out infinite;
}
.dashboard-mock-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.dashboard-mock-header strong { font-size:15px; color: var(--u-navy-900); }
.dashboard-avatar { width:34px; height:34px; border-radius:11px; background: var(--u-blue-100); }
.dashboard-banner {
  position:relative; padding:20px; height:104px; border-radius:18px; overflow:hidden; color:#fff;
  background: linear-gradient(135deg, var(--u-blue-600), var(--u-cyan));
}
.dashboard-banner::after {
  content:''; position:absolute; width:160px; height:160px; border-radius:50%;
  border:22px solid rgba(255,255,255,.09); right:-50px; top:-70px;
}
.dashboard-banner strong { display:block; font-size:17px; margin-bottom:4px; }
.dashboard-banner small { opacity:.85; }
.dashboard-mock-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:12px; }
.dashboard-mock-card { padding:14px; border-radius:14px; background:#f7f9fd; border:1px solid #edf1f7; }
.dashboard-mock-icon {
  width:30px; height:30px; display:grid; place-items:center; border-radius:9px;
  background:#fff; color: var(--u-blue-600); font-weight:700; margin-bottom:8px; font-size:.8rem;
}
.dashboard-mock-card strong { font-size:12.5px; display:block; }
.dashboard-mock-card small { display:block; color: var(--u-slate-600); margin-top:3px; font-size:11px; }

.floating-card {
  position:absolute; display:flex; align-items:center; gap:12px; padding:14px;
  background:#fff; border:1px solid var(--u-slate-200); border-radius:16px;
  box-shadow: var(--u-shadow-sm); z-index:5; animation: u-float2 4s ease-in-out infinite;
}
.floating-card.one { left:-6px; top:100px; }
.floating-card.two { right:-6px; bottom:30px; animation-delay:-2s; }
.floating-icon {
  width:40px; height:40px; display:grid; place-items:center; border-radius:12px;
  color: var(--u-blue-600); background: var(--u-blue-100); font-weight:700;
}
.floating-card strong { display:block; font-size:12.5px; }
.floating-card small { color: var(--u-slate-600); font-size:11px; }
@media (max-width: 640px) { .floating-card { display:none; } }

/* ---- Stats band ---- */
.stats-band { padding: 26px 0; background:#fff; border-top:1px solid var(--u-slate-200); border-bottom:1px solid var(--u-slate-200); }
.stats-grid-v2 { display:grid; grid-template-columns:repeat(4,1fr); }
.stat-v2 { text-align:center; padding:18px; }
.stat-v2 strong { color: var(--u-blue-600); font-size:28px; display:block; }
.stat-v2 span { display:block; color: var(--u-slate-600); font-size:13px; margin-top:4px; }
@media (max-width:720px) { .stats-grid-v2 { grid-template-columns:repeat(2,1fr); } }

/* ---- Audience cards (entreprises / associations) ---- */
.audience-grid-v2 { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:44px; }
.audience-card-v2 {
  padding:34px; border-radius:26px; border:1px solid var(--u-slate-200); background:#fff;
  transition:.3s ease;
}
.audience-card-v2:hover { transform: translateY(-6px); box-shadow: var(--u-shadow-md); }
.audience-card-v2.business { background: radial-gradient(circle at 100% 0, rgba(23,105,255,.10), transparent 38%), #fff; }
.audience-card-v2.association { background: radial-gradient(circle at 100% 0, rgba(36,180,126,.12), transparent 38%), #fff; }
.audience-icon-v2 {
  width:56px; height:56px; display:grid; place-items:center; border-radius:16px;
  background: var(--u-blue-100); color: var(--u-blue-600); font-weight:700; font-size:19px; margin-bottom:20px;
}
.audience-card-v2.association .audience-icon-v2 { color: var(--u-success); background: var(--u-success-bg); }
@media (max-width:820px) { .audience-grid-v2 { grid-template-columns:1fr; } }

/* ---- Ecosystème ---- */
.ecosystem-v2 { background:#f6f9ff; }
.ecosystem-grid-v2 { display:grid; grid-template-columns:.85fr 1.15fr; gap:60px; align-items:center; }
.ecosystem-visual-v2 { position:relative; min-height:340px; }
.ecosystem-center-v2 {
  position:absolute; width:260px; height:260px; border-radius:50%; left:20px; top:30px;
  display:grid; place-items:center; background: linear-gradient(145deg, #e7f0ff, #fff);
  box-shadow: inset 0 0 0 1px #dce8ff;
}
.ecosystem-center-v2 img { width:90px; height:90px; object-fit:contain; }
.ecosystem-node-v2 {
  position:absolute; width:110px; height:110px; display:grid; place-items:center; text-align:center;
  padding:12px; border-radius:50%; background:#fff; border:1px solid var(--u-slate-200);
  box-shadow: var(--u-shadow-sm); color: var(--u-blue-600); font-size:11.5px; font-weight:700;
}
.ecosystem-node-v2.n1 { right:0; top:0; }
.ecosystem-node-v2.n2 { right:-10px; bottom:20px; }
.ecosystem-node-v2.n3 { left:0; bottom:-10px; }
@media (max-width:860px) { .ecosystem-grid-v2 { grid-template-columns:1fr; } .ecosystem-center-v2 { left:50%; transform:translateX(-50%);} }

.benefit-v2 { display:flex; gap:14px; align-items:flex-start; padding:16px; background:#fff; border:1px solid var(--u-slate-200); border-radius:16px; margin-bottom:12px; }
.benefit-v2-icon { min-width:40px; height:40px; display:grid; place-items:center; border-radius:11px; background: var(--u-blue-100); color: var(--u-blue-600); font-size:11px; font-weight:700; }
.benefit-v2 strong { display:block; margin-bottom:3px; font-size:14px; }
.benefit-v2 span { color: var(--u-slate-600); font-size:12px; line-height:1.6; }

/* ---- Launch box (pack) ---- */
.launch-box-v2 {
  position:relative; overflow:hidden; padding:56px; border-radius:32px; color:#fff;
  background: linear-gradient(135deg, #0d51db, #1685ff); box-shadow: 0 35px 80px rgba(23,105,255,.22);
}
.launch-box-v2::before { content:''; position:absolute; width:400px; height:400px; border-radius:50%; border:1px solid rgba(255,255,255,.13); right:-150px; top:-190px; }
.launch-box-v2 .section-label { background: rgba(255,255,255,.13); color:#fff; }
.launch-box-v2 h2 { color:#fff; font-size: clamp(32px,4.6vw,48px); }
.launch-box-v2 p { color: rgba(255,255,255,.84); }
.launch-grid-v2 { position:relative; z-index:2; display:grid; grid-template-columns:1fr .9fr; gap:56px; align-items:center; }
.discount-v2 { display:inline-flex; margin:20px 0; padding:11px 16px; border-radius:12px; background:#fff; color: var(--u-blue-600); font-weight:800; }
.launch-feature-v2 { display:flex; gap:12px; padding:15px; border-radius:14px; background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.13); margin-bottom:10px; }
.launch-feature-v2 strong { display:block; font-size:13px; color:#fff; }
.launch-feature-v2 span { display:block; color: rgba(255,255,255,.7); font-size:11px; margin-top:3px; }
@media (max-width:860px) { .launch-grid-v2 { grid-template-columns:1fr; } .launch-box-v2 { padding:36px; } }

/* ---- Association cloud number ---- */
.association-cloud-v2 { padding:44px 30px; text-align:center; background:#fff; border:1px solid #dcefe7; border-radius:28px; box-shadow: var(--u-shadow-md); }
.cloud-number-v2 { font-size:84px; line-height:.9; color: var(--u-success); font-weight:700; }
.cloud-unit-v2 { font-size:21px; font-weight:700; margin:14px 0; }

/* ---- Process steps ---- */
.process-grid-v2 { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:44px; }
.step-v2 { padding:24px; border:1px solid var(--u-slate-200); border-radius:20px; background:#fff; }
.step-v2-number { width:40px; height:40px; display:grid; place-items:center; border-radius:11px; background: var(--u-blue-600); color:#fff; font-weight:700; margin-bottom:16px; }
.step-v2 h3 { font-size:16px; margin-bottom:6px; }
.step-v2 p { color: var(--u-slate-600); font-size:12px; line-height:1.7; }
@media (max-width:820px) { .process-grid-v2 { grid-template-columns:1fr 1fr; } }

/* ---- Portal preview mockup ---- */
.portal-preview-v2 { padding:16px; background:#fff; border:1px solid var(--u-slate-200); border-radius:26px; box-shadow: var(--u-shadow-md); }
.preview-header-v2 { height:50px; display:flex; align-items:center; justify-content:space-between; padding:0 6px; border-bottom:1px solid var(--u-slate-200); }
.preview-menu-v2 { display:flex; gap:6px; }
.preview-menu-v2 i { width:8px; height:8px; border-radius:50%; background:#dbe3f0; display:block; }
.preview-body-v2 { display:grid; grid-template-columns:80px 1fr; min-height:280px; }
.preview-side-v2 { padding:16px 8px; border-right:1px solid var(--u-slate-200); }
.preview-side-v2 div { height:26px; border-radius:7px; background:#f2f5fa; margin-bottom:8px; }
.preview-main-v2 { padding:22px; }
.preview-title-v2 { width:45%; height:18px; border-radius:5px; background:#e8edf5; margin-bottom:18px; }
.preview-boxes-v2 { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.preview-box-v2 { height:76px; border-radius:13px; background:#f6f8fb; border:1px solid #edf1f6; }

/* ---- CTA box (v2 sombre) ---- */
.cta-box-v2 {
  position:relative; overflow:hidden; text-align:center; padding:64px 26px; border-radius:32px; color:#fff;
  background: radial-gradient(circle at 50% 0, rgba(69,184,255,.25), transparent 40%), #0e1c36;
}
.cta-box-v2 h2 { color:#fff; font-size: clamp(32px,4.6vw,48px); margin-bottom:14px; }
.cta-box-v2 p { max-width:600px; margin:0 auto 24px; color: rgba(255,255,255,.68); line-height:1.8; }
.cta-box-v2 .section-label { background: rgba(255,255,255,.13); color:#fff; }

/* =========================================================================
   Durcissement mobile / multi-appareils
   ========================================================================= */

html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; } /* évite tout débordement horizontal résiduel (orbs, nodes...) */
img, svg { max-width: 100%; height: auto; }

/* Grilles en style inline qui n'avaient pas de repli mobile dédié */
@media (max-width: 860px) {
  .grid-mobile-stack { grid-template-columns: 1fr !important; }
}

/* Mockup du hero : centré et compact sur mobile/tablette */
@media (max-width: 900px) {
  .hero-visual { min-height: 360px; margin-top: 8px; }
  .dashboard-mock { margin: 0 auto; max-width: 100%; }
  .hero-orb { width: 220px; height: 220px; left: 50%; transform: translateX(-50%); top: 20px; }
}

/* Chiffre "50 Go" : reste lisible sans déborder sur petit écran */
.cloud-number-v2 { font-size: clamp(56px, 18vw, 84px); }

/* Espacements généraux resserrés en dessous de 640px */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 70px; }
  .container { padding: 0 18px; }
  .form-card { padding: 26px 20px; }
  .cta-band, .cta-box-v2 { padding: 40px 22px; }
  .launch-box-v2 { padding: 28px 22px; }
  .pack-card { padding: 26px; }
  .navbar-v2-inner { padding: 0 10px 0 12px; }
  .navbar-v2 .brand { font-size: 17px; }
  .navbar-v2 .brand img { width: 30px; height: 30px; }
  .navbar-v2 .nav-actions { gap: 6px; }
  .navbar-v2 .nav-actions .btn { padding: 9px 12px; font-size: 0.78rem; }
  .dashboard-mock-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr !important; }
}

/* Stepper : compact sur très petits écrans pour ne pas déborder */
@media (max-width: 480px) {
  .stepper .step { font-size: 0.66rem; }
  .stepper .step .dot { width: 24px; height: 24px; font-size: 0.72rem; }
}

/* Tableaux admin : défilement horizontal plutôt que débordement de page */
.admin-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 860px) {
  .admin-main { padding: 20px; }
  .admin-topbar { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Boutons pleine largeur empilés proprement sur mobile quand ils sont groupés */
@media (max-width: 480px) {
  .hero-actions, .cookie-banner-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cookie-banner-actions .btn { width: 100%; }
}

/* Empêche les tailles de police trop grandes de casser la mise en page sur petit écran */
@media (max-width: 380px) {
  h1 { letter-spacing: -1px !important; }
  .section-title { letter-spacing: -0.6px !important; }
}

/* =========================================================================
   Espace client — style "Lagom" (topbar + sidebar profil + dashboard)
   ========================================================================= */

.portal-topbar { background: var(--u-white); border-bottom: 1px solid var(--u-slate-200); padding: 0; position: sticky; top: 0; z-index: 100; }
.portal-topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.portal-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--u-navy-950); flex-shrink: 0; }
.portal-brand img { height: 30px; width: auto; }
.portal-nav { display: flex; align-items: center; gap: 22px; flex: 1; }
.portal-nav a { font-size: 0.88rem; font-weight: 600; color: var(--u-slate-600); padding: 6px 2px; border-bottom: 2px solid transparent; white-space: nowrap; }
.portal-nav a:hover { color: var(--u-navy-900); }
.portal-nav a.active { color: var(--u-blue-600); border-bottom-color: var(--u-blue-600); }
.portal-user { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.portal-user-info { text-align: right; line-height: 1.2; }
.portal-user-info strong { display: block; font-size: 0.85rem; color: var(--u-navy-950); }
.portal-user-info span { display: block; font-size: 0.72rem; color: var(--u-slate-600); }
.portal-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--u-blue-100); color: var(--u-blue-600); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.portal-bell { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--u-slate-600); border: 1px solid var(--u-slate-200); flex-shrink: 0; position: relative; }
.portal-bell .dot { position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--u-danger); }
@media (max-width: 960px) { .portal-nav { display: none; } }

.portal-shell { display: grid; grid-template-columns: 280px 1fr; gap: 24px; max-width: var(--u-container); margin: 26px auto; padding: 0 24px 60px; align-items: start; }
@media (max-width: 900px) { .portal-shell { grid-template-columns: 1fr; padding: 0 16px 40px; } }

.portal-profile-card { background: linear-gradient(135deg, var(--u-blue-600), var(--u-cyan)); color: #fff; border-radius: var(--u-radius-md); padding: 26px; }
.portal-profile-avatar { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.3rem; margin-bottom: 14px; }
.portal-profile-card h3 { color: #fff; margin-bottom: 6px; font-size: 1.15rem; }
.portal-profile-card p { color: rgba(255,255,255,.85); font-size: 0.83rem; margin: 2px 0; }
.portal-profile-actions { display: flex; gap: 8px; margin-top: 16px; }
.portal-profile-actions .btn { flex: 1; padding: 9px 10px; font-size: 0.8rem; }

.portal-side-block { background: var(--u-white); border: 1px solid var(--u-slate-200); border-radius: var(--u-radius-md); padding: 18px 20px; margin-top: 16px; }
.portal-side-block h4 { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--u-slate-600); margin-bottom: 12px; font-weight: 700; }
.portal-side-block .side-link { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 0.87rem; font-weight: 600; color: var(--u-navy-800); }
.portal-side-block .side-link:hover { color: var(--u-blue-600); }
.portal-side-block .side-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--u-blue-100); border: 1.5px solid var(--u-blue-600); flex-shrink: 0; }

.promo-banner { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: linear-gradient(120deg, var(--u-blue-100), #fff 65%); border: 1px solid var(--u-blue-100); border-radius: var(--u-radius-md); padding: 26px 30px; margin-bottom: 22px; }
.promo-banner h3 { margin-bottom: 6px; }
.promo-banner p { margin-bottom: 0; max-width: 480px; }
@media (max-width: 640px) { .promo-banner { flex-direction: column; align-items: flex-start; } }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat-box { background: var(--u-white); border: 1px solid var(--u-slate-200); border-radius: var(--u-radius-md); padding: 22px; text-align: center; }
.stat-box strong { font-size: 2rem; display: block; color: var(--u-navy-950); line-height: 1.1; }
.stat-box strong.accent { color: var(--u-blue-600); }
.stat-box strong.warn { color: var(--u-danger); }
.stat-box span { color: var(--u-slate-600); font-size: 0.8rem; }

.portal-panel { background: var(--u-white); border: 1px solid var(--u-slate-200); border-radius: var(--u-radius-md); margin-bottom: 20px; overflow: hidden; }
.portal-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--u-slate-200); font-weight: 700; font-size: 0.95rem; }
.portal-panel-header a { font-size: 0.8rem; color: var(--u-blue-600); font-weight: 700; }
.portal-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--u-slate-200); gap: 14px; flex-wrap: wrap; }
.portal-row:last-child { border-bottom: none; }
.portal-row-title { font-weight: 700; font-size: 0.92rem; color: var(--u-navy-950); }
.portal-row-sub { color: var(--u-slate-600); font-size: 0.8rem; margin-top: 2px; }
.portal-row-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.portal-empty { padding: 34px 20px; text-align: center; color: var(--u-slate-600); font-size: 0.88rem; }
.portal-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .portal-two-col { grid-template-columns: 1fr; } }

/* =========================================================================
   Fiche service détaillée — infos techniques, accès, actions, historique
   ========================================================================= */

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 20px; }
@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } }
.info-item { border: 1px solid var(--u-slate-200); border-radius: var(--u-radius-sm); padding: 12px 14px; }
.info-item .info-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--u-slate-600); font-weight: 700; margin-bottom: 4px; }
.info-item .info-value { font-size: 0.92rem; color: var(--u-navy-950); font-weight: 600; word-break: break-word; }
.info-item .info-value.mono { font-family: 'Courier New', monospace; font-size: 0.85rem; }

.usage-bar-track { height: 8px; border-radius: 999px; background: var(--u-slate-200); overflow: hidden; margin-top: 8px; }
.usage-bar-fill { height: 100%; border-radius: 999px; background: var(--u-blue-600); }
.usage-bar-fill.warn { background: var(--u-warning); }
.usage-bar-fill.danger { background: var(--u-danger); }

.access-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; padding: 20px; }
.access-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px; border: 1px solid var(--u-slate-200); border-radius: var(--u-radius-sm); text-align: center; color: var(--u-navy-900); font-weight: 700; font-size: 0.85rem; transition: border-color .15s ease, box-shadow .15s ease; }
.access-tile:hover { border-color: var(--u-blue-600); box-shadow: var(--u-shadow-sm); }
.access-tile .access-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--u-blue-100); color: var(--u-blue-600); display: flex; align-items: center; justify-content: center; font-weight: 700; }

.action-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; padding: 20px; }
.action-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1.5px solid var(--u-slate-200); border-radius: var(--u-radius-sm); background: var(--u-white); font-weight: 700; font-size: 0.86rem; color: var(--u-navy-900); cursor: pointer; font-family: var(--u-font); }
.action-btn:hover { border-color: var(--u-blue-600); color: var(--u-blue-600); }
.action-btn.danger:hover { border-color: var(--u-danger); color: var(--u-danger); }

.timeline { padding: 20px; }
.timeline-item { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.timeline-item:not(:last-child)::before { content: ''; position: absolute; left: 5px; top: 16px; bottom: 0; width: 2px; background: var(--u-slate-200); }
.timeline-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--u-blue-600); margin-top: 4px; flex-shrink: 0; }
.timeline-content .timeline-title { font-weight: 700; font-size: 0.88rem; color: var(--u-navy-950); }
.timeline-content .timeline-date { font-size: 0.76rem; color: var(--u-slate-600); margin-top: 2px; }

/* =========================================================================
   Icônes — nav, cartes de stats, états vides
   ========================================================================= */

.portal-nav a, .side-link { display: inline-flex; align-items: center; gap: 7px; }
.portal-nav a svg, .side-link svg { flex-shrink: 0; opacity: 0.85; }
.portal-nav a:hover svg, .side-link:hover svg, .portal-nav a.active svg { opacity: 1; }

.portal-panel-header { display: flex; align-items: center; gap: 9px; }
.portal-panel-header .panel-icon { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: var(--u-blue-100); color: var(--u-blue-600); flex-shrink: 0; }
.portal-panel-header > a:last-child { margin-left: auto; }

.stat-box .stat-icon, .kpi-card .kpi-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--u-blue-100); color: var(--u-blue-600); margin: 0 auto 10px; }
.kpi-card .kpi-icon { margin: 0 0 10px; }

.portal-empty .empty-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--u-blue-50); color: var(--u-slate-400); margin: 0 auto 14px; }

.service-type-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--u-blue-100); color: var(--u-blue-600); flex-shrink: 0; margin-right: 10px; }
.portal-row-title-wrap { display: flex; align-items: center; }

.btn svg { vertical-align: -3px; margin-right: 6px; }

/* =========================================================================
   Bannière hero de l'espace client
   ========================================================================= */

.hero-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(120deg, #0e2a6b 0%, var(--u-blue-600) 55%, var(--u-cyan) 130%);
  border-radius: var(--u-radius-md);
  padding: 32px 34px;
  margin-bottom: 22px;
  overflow: hidden;
  color: #fff;
}
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.hero-banner-content { position: relative; z-index: 1; }
.hero-banner-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 10px; }
.hero-banner p { color: rgba(255,255,255,0.92); margin: 0 0 6px; }
.hero-banner .hero-banner-sub { color: rgba(255,255,255,0.72); font-size: 0.9rem; max-width: 460px; margin-bottom: 20px; }
.hero-banner .badge { background: rgba(255,255,255,0.9); }
.hero-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-banner-primary { background: #fff; color: var(--u-blue-600); border-color: #fff; }
.btn-banner-primary:hover { background: #f2f6ff; }
.btn-banner-ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-banner-ghost:hover { background: rgba(255,255,255,0.22); }
.hero-banner-visual { position: relative; z-index: 1; width: 220px; flex-shrink: 0; }
.hero-banner-visual svg { width: 100%; height: auto; display: block; }
@media (max-width: 860px) {
  .hero-banner { grid-template-columns: 1fr; padding: 26px 22px; }
  .hero-banner-visual { display: none; }
}
