/* ═══════════════════════════════════════════════════════════════════
   Arkyo Website V2 — style.css
   Design system complet, aucune dépendance externe.
   Pour personnaliser les couleurs, modifiez les variables dans :root
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ──────────────────────────────────────────────────
   Changez ces valeurs pour modifier tout le site d'un coup.
   ─────────────────────────────────────────────────────────────────── */
:root {
  /* Couleurs — thème sombre (défaut) */
  --bg:           #080c14;
  --bg-alt:       #0a0f1e;
  --bg-card:      #0d1525;
  --bg-card-h:    #111d30;
  --accent:       #3b82f6;
  --accent-dim:   rgba(59,130,246,.1);
  --accent-bdr:   rgba(59,130,246,.22);
  --accent-glow:  rgba(59,130,246,.28);
  --text:         #f1f5f9;
  --text-muted:   #94a3b8;
  --text-dim:     #475569;
  --border:       rgba(255,255,255,.06);
  --border-h:     rgba(255,255,255,.11);
  --nav-glass:    rgba(8,12,20,.88);
  --menu-overlay: rgba(8,12,20,.97);
  --badge-color:  #93c5fd;

  /* Espacements */
  --section-py:   96px;
  --container:    1100px;

  /* Rayons */
  --r:            14px;
  --r-sm:         8px;
  --r-lg:         22px;

  /* Typographie */
  --font:         'Inter', system-ui, sans-serif;
  --font-display: 'Montserrat', 'Inter', system-ui, sans-serif;

  /* Animation */
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Thème clair ─────────────────────────────────────────────────────
   Toutes les variables sont redéfinies ici.
   Pour ajuster les couleurs claires, modifiez ce bloc.
   ─────────────────────────────────────────────────────────────────── */
[data-theme="light"] {
  --bg:           #f8fafc;
  --bg-alt:       #f1f5f9;
  --bg-card:      #ffffff;
  --bg-card-h:    #f8fafc;
  --accent:       #2563eb;
  --accent-dim:   rgba(37,99,235,.07);
  --accent-bdr:   rgba(37,99,235,.18);
  --accent-glow:  rgba(37,99,235,.18);
  --text:         #0f172a;
  --text-muted:   #475569;
  --text-dim:     #94a3b8;
  --border:       rgba(0,0,0,.07);
  --border-h:     rgba(0,0,0,.13);
  --nav-glass:    rgba(248,250,252,.92);
  --menu-overlay: rgba(248,250,252,.98);
  --badge-color:  #1e40af;
}

/* Surcharges spécifiques au mode clair */
[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(0,0,0,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.045) 1px, transparent 1px);
}

[data-theme="light"] .hero__logo {
  filter: none;
}

[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 55% 55% at 20% 50%, rgba(37,99,235,.06) 0%, transparent 70%),
    radial-gradient(ellipse 55% 55% at 80% 50%, rgba(37,99,235,.04) 0%, transparent 70%);
}

[data-theme="light"] .btn-ghost {
  border-color: rgba(0,0,0,.14);
}

[data-theme="light"] .btn-ghost:hover {
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.22);
  color: var(--text);
}

[data-theme="light"] .faq-trigger__icon {
  background: rgba(0,0,0,.06);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(0,0,0,.06);
}

[data-theme="light"] .nav__links a:hover {
  background: rgba(0,0,0,.05);
}


/* ─── Reset ───────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: inherit; }


/* ─── Utilitaires ─────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.accent { color: var(--accent); }


/* ─── Animations au scroll ────────────────────────────────────────── */
/* Les éléments .reveal sont invisibles au départ.
   Le JS ajoute .is-visible quand ils entrent dans le viewport. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  pointer-events: none;
  will-change: opacity, transform;
  transition:
    opacity   .65s var(--ease),
    transform .65s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  will-change: auto;
}

/* Désactivé si l'utilisateur préfère pas d'animation */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; pointer-events: auto; }
}


/* ─── Navigation ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  padding-block: 20px;
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}

/* Effet verre au scroll — activé par JS */
.nav.scrolled {
  background: var(--nav-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--border);
  will-change: backdrop-filter, background;
  padding-block: 12px;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__logo img { height: 36px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.nav__links a {
  padding: 7px 13px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s, background .2s;
}

.nav__links a:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
}

.nav__cta { flex-shrink: 0; }

/* Bouton thème clair/sombre */
.theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: none;
  border: 1px solid var(--border-h);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color .2s, background .2s, border-color .2s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
}

/* Affiche lune en sombre, soleil en clair */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Version mobile du toggle (dans le menu plein écran) */
.theme-toggle--mobile {
  width: auto;
  height: auto;
  border-radius: var(--r-sm);
  padding: 10px 20px;
  gap: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-inline-start: auto;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}

.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile plein écran */
.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--menu-overlay);
  display: flex;           /* toujours flex pour l'animation */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}

.nav__mobile:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

/* Note: hidden est retiré par JS mais on garde hidden sur l'attribut initial,
   l'animation CSS gère l'apparition */
.nav__mobile[hidden] { display: flex !important; } /* override l'attribut hidden */

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.nav__mobile-links a {
  display: block;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: color .2s;
}

.nav__mobile-links a:hover { color: var(--text); }

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
}


/* ─── Boutons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-h);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.18);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* Pas de pulsation — sobre */
.btn-glow:hover {
  box-shadow: 0 6px 24px var(--accent-glow);
}


/* ─── Sections ────────────────────────────────────────────────────── */
section { padding-block: var(--section-py); }
.section--alt { background: var(--bg-alt); }


.section-header { max-width: 600px; }
.section-header--centered { margin-inline: auto; text-align: center; }
.section-header--centered .section-lead { margin-inline: auto; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 14px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
}


/* ─── Grilles ─────────────────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }


/* ─── Cartes ──────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  contain: layout style;
  transition:
    border-color .3s,
    transform    .3s var(--ease),
    box-shadow   .3s;
}

.card:hover {
  border-color: var(--accent-bdr);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(59,130,246,.08);
}

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
  transition: transform .3s var(--ease);
}

.card:hover .card__icon { transform: scale(1.08); }

.card__step {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.card__text {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.card__tag {
  display: inline-block;
  margin-top: 16px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .09em;
  color: var(--accent);
}


/* ─── Hero ────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-block: 120px 80px;
  overflow: hidden;
}

/* Halos lumineux en arrière-plan — sobres, sans animation */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 20% 50%, rgba(59,130,246,.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(37,99,235,.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Grille de points en arrière-plan */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 820px;
  margin-inline: auto;
}

/* Logo — flottement discret */
.hero__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(59,130,246,.2));
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) { .hero__logo { animation: none; } }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--accent-bdr);
  background: var(--accent-dim);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--badge-color);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.hero__sub {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

.hero__pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__pill {
  padding: 7px 15px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  font-size: .83rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

.hero__note {
  font-size: .83rem;
  color: var(--text-dim);
}

.hero__note a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--accent-bdr);
  transition: color .2s;
}

.hero__note a:hover { color: var(--accent); }


/* ─── Méthode ─────────────────────────────────────────────────────── */
.methode-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
}

.methode-step {
  background: var(--bg-card);
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background .3s;
}

.methode-step:last-child { border-right: none; }
.methode-step:hover { background: var(--bg-card-h); }

/* Ligne bleue en haut au survol */
.methode-step::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.methode-step:hover::before { opacity: 1; }

@media (max-width: 900px) {
  .methode-steps {
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--border);
  }
  .methode-step:nth-child(2) { border-right: none; }
  .methode-step:nth-child(1),
  .methode-step:nth-child(2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 560px) {
  .methode-steps { grid-template-columns: 1fr; }
  .methode-step { border-right: none; border-bottom: 1px solid var(--border); }
  .methode-step:last-child { border-bottom: none; }
}


/* ─── Fondateur ───────────────────────────────────────────────────── */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 768px) {
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
}

.founder-name {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.founder-bio {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.founder-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}


/* ─── FAQ ─────────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 48px;
  max-width: 780px;
  margin-inline: auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .3s;
}

.faq-item:hover { border-color: var(--border-h); }
.faq-item.is-open { border-color: var(--accent-bdr); }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: var(--font-display);
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.45;
}

.faq-trigger__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform .35s var(--ease), background .3s, color .3s;
}

.faq-item.is-open .faq-trigger__icon {
  transform: rotate(180deg);
  background: var(--accent-dim);
  color: var(--accent);
}

/* Accordéon — la hauteur est gérée par JS */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}

.faq-body__inner {
  padding: 0 26px 22px;
}

.faq-body__inner ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.faq-body__inner li {
  position: relative;
  padding-inline-start: 20px;
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-body__inner li::before {
  content: '→';
  position: absolute;
  inset-inline-start: 0;
  color: var(--accent);
  font-size: .8rem;
  top: 3px;
}

.faq-body__inner a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-bdr);
  transition: color .2s;
}

.faq-body__inner a:hover { color: #60a5fa; }


/* ─── Contact ─────────────────────────────────────────────────────── */
.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--accent-bdr);
  border-radius: var(--r-lg);
  padding: 56px 40px;
  max-width: 620px;
  margin: 40px auto 0;
  text-align: center;
}

.contact-box__text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 30px;
}

.contact-box__cta {
  width: 100%;
  justify-content: center;
}

.contact-box__email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-size: .87rem;
  color: var(--text-dim);
}

.contact-box__email a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-bdr);
  transition: color .2s;
}

.contact-box__email a:hover { color: #60a5fa; }

@media (max-width: 560px) {
  .contact-box { padding: 36px 22px; }
}


/* ─── Footer ──────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding-block: 36px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo img {
  height: 26px;
  width: auto;
  opacity: .65;
  transition: opacity .2s;
}

.footer__logo:hover img { opacity: 1; }

.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: .83rem;
  color: var(--text-dim);
  transition: color .2s;
}

.footer__links a:hover { color: var(--text-muted); }

.footer__copy {
  font-size: .8rem;
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__links { display: none; }
}


/* ─── Barre de progression de lecture ────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #60a5fa);
  z-index: 300;
  transition: width .1s linear;
  pointer-events: none;
}


/* ─── Indicateur de section active dans la nav ───────────────────── */
.nav__links a.active {
  color: var(--text);
  position: relative;
}

.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}


/* ─── Strip de statistiques animées ──────────────────────────────── */
.stats-strip {
  padding-block: 52px;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }
@media (max-width: 400px) { .stats-grid { grid-template-columns: 1fr; } }

.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.45;
}


/* ─── Bouton "Voir le détail" sur les cartes service ─────────────── */
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap .2s var(--ease), opacity .2s;
}

.card__more:hover { gap: 9px; opacity: .8; }


/* ─── Bouton retour en haut ───────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s, box-shadow .2s;
  box-shadow: 0 4px 16px var(--accent-glow);
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

@media (max-width: 560px) {
  .back-to-top { bottom: 18px; right: 18px; }
}


/* ─── Toast (notification copie email) ───────────────────────────── */
.toast {
  position: fixed;
  bottom: 84px;
  right: 28px;
  background: var(--bg-card);
  border: 1px solid var(--accent-bdr);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  font-size: .87rem;
  font-weight: 500;
  color: var(--text);
  z-index: 200;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 560px) {
  .toast { bottom: 74px; right: 18px; }
}


/* ─── Modal détail service ────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Même trick que .nav__mobile : hidden override pour permettre l'animation */
.modal[hidden] { display: flex !important; pointer-events: none; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s var(--ease);
  cursor: pointer;
}

.modal:not([hidden]) .modal__overlay { opacity: 1; }

.modal__panel {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--accent-bdr);
  border-radius: var(--r-lg);
  padding: 40px;
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(24px) scale(.97);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}

.modal:not([hidden]) .modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background .2s, color .2s;
}

.modal__close:hover { background: rgba(255,255,255,.13); color: var(--text); }

.modal__step {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 28px;
  padding-right: 28px;
}

.modal__section-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  margin-top: 24px;
}

.modal__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}

.modal__list li {
  position: relative;
  padding-inline-start: 20px;
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .8rem;
  top: 3px;
}

.modal__tag {
  display: inline-block;
  margin-top: 24px;
  padding: 8px 16px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-bdr);
  border-radius: var(--r-sm);
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
}

.modal__actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .modal__panel { padding: 28px 20px; }
  .modal__actions .btn { flex: 1; justify-content: center; }
}

[data-theme="light"] .modal__overlay {
  background: rgba(248, 250, 252, .82);
}

[data-theme="light"] .modal__close {
  background: rgba(0,0,0,.05);
  border-color: var(--border-h);
}

[data-theme="light"] .modal__close:hover { background: rgba(0,0,0,.1); }


/* ─── Animation d'entrée de page ─────────────────────────────────── */
@keyframes pageEnter {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#main-content, #nav { animation: pageEnter .3s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  #main-content, #nav { animation: none; }
}


/* ─── Lien "Passer au contenu" (accessibilité) ───────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 1000;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: top .2s var(--ease);
}

.skip-link:focus { top: 16px; }


/* ─── Bannière consentement RGPD ─────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  padding: 16px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 30px rgba(0,0,0,.18);
  animation: slideUpBanner .4s var(--ease) both;
}

@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.cookie-banner[hidden] { display: none !important; }

.cookie-banner__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: .87rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
}

.cookie-banner__text strong { color: var(--text); font-weight: 600; }

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-bdr);
  transition: color .2s;
}

.cookie-banner__text a:hover { color: #60a5fa; }

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  padding: 9px 18px;
  font-size: .88rem;
}

@media (max-width: 560px) {
  .cookie-banner { padding: 16px; }
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}

/* ── Tableau comparatif services ─────────────────────────────────── */
.services-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  border-radius: var(--r);
  overflow: hidden;
}

.services-table thead tr {
  background: var(--accent);
  color: #fff;
}

.services-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .03em;
}

.services-table thead th:first-child {
  width: 22%;
}

.services-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.services-table tbody tr:last-child {
  border-bottom: none;
}

.services-table tbody tr:hover {
  background: var(--surface-2);
}

.services-table tbody th,
.services-table tbody td {
  padding: 13px 18px;
  vertical-align: top;
}

.services-table tbody th {
  font-weight: 600;
  color: var(--text-dim);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .services-table { font-size: .82rem; }
  .services-table thead th,
  .services-table tbody th,
  .services-table tbody td { padding: 10px 12px; }
}


/* ═══════════════════════════════════════════════════════════════════
   AMÉLIORATIONS V3 — Futuriste + Branding + Légal
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Canvas réseau neuronal (hero) ──────────────────────────────── */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
  display: block;
  contain: size layout style;
}

/* ─── Wrapper logo (scan) ─────────────────────────────────────────── */
.hero__logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero__logo-scan {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  pointer-events: none;
  overflow: hidden;
}

.hero__logo-scan::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,.5), transparent);
  animation: logoScan 2.8s cubic-bezier(.4,0,.2,1) 1.2s both;
}

@keyframes logoScan {
  0%   { left: -80%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 180%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) { .hero__logo-scan::after { animation: none; } }


/* ─── Curseur personnalisé ────────────────────────────────────────── */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width .15s, height .15s, background .15s;
  will-change: transform;
}

.cursor-halo {
  position: fixed;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(59,130,246,.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: width .35s var(--ease), height .35s var(--ease), border-color .35s;
  will-change: transform;
}

.cursor.is-hovering { width: 6px; height: 6px; background: #fff; }
.cursor-halo.is-hovering { width: 52px; height: 52px; border-color: rgba(59,130,246,.7); }

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-halo { display: none; }
}


/* ─── Effet terminal — hero title ────────────────────────────────── */
.hero__title--typed { min-height: 3em; } /* évite le layout shift */

.typed-cursor {
  display: inline-block;
  width: 3px;
  height: .85em;
  background: var(--accent);
  vertical-align: middle;
  margin-left: 3px;
  border-radius: 1px;
  animation: blinkCursor .9s step-end infinite;
}

.typed-cursor.is-done { animation: none; opacity: 0; }

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}


/* ─── Hologramme — cartes services ───────────────────────────────── */
.card--holo { position: relative; overflow: hidden; }

.card--holo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at calc(var(--holo-x, 50%) * 1%) calc(var(--holo-y, 50%) * 1%),
    rgba(59,130,246,.18) 0%,
    rgba(139,92,246,.1) 35%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
  z-index: 0;
}

.card--holo:hover::after { opacity: 1; }
.card--holo > * { position: relative; z-index: 1; }


/* ─── Compteur — effet vitesse ───────────────────────────────────── */
.stat__number {
  transition: color .2s;
}

.stat__number.is-rolling { color: #93c5fd; }


/* ─── Progress bar futuriste ─────────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #1d4ed8, var(--accent), #60a5fa);
  z-index: 300;
  transition: width .1s linear;
  pointer-events: none;
}

.progress-bar::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px var(--accent), 0 0 18px var(--accent);
  opacity: 0;
  transition: opacity .2s;
}

.progress-bar.has-progress::after { opacity: 1; }


/* ─── Warp transitions (sections) ────────────────────────────────── */
.reveal-warp {
  opacity: 0;
  filter: blur(3px);
  transform: scale(.985) translateY(16px);
  will-change: opacity, transform, filter;
  transition:
    opacity   .75s var(--ease),
    filter    .75s var(--ease),
    transform .75s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal-warp.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: scale(1) translateY(0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-warp { opacity: 1; filter: none; transform: none; transition: none; }
}


/* ─── Timeline parcours (section fondateur) ──────────────────────── */
.parcours {
  margin-top: 36px;
}

.parcours__title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.timeline {
  position: relative;
  padding-inline-start: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent) 0%, rgba(59,130,246,.1) 100%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 26px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px rgba(59,130,246,.5);
  transition: background .2s, box-shadow .2s;
}

.timeline-item:hover::before {
  background: var(--accent);
  box-shadow: 0 0 16px rgba(59,130,246,.8);
}

.timeline-year {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--text);
}

.timeline-text {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ─── Estimateur de mission ───────────────────────────────────────── */
#estimateur { background: var(--bg-alt); }

.estimator {
  background: var(--bg-card);
  border: 1px solid var(--accent-bdr);
  border-radius: var(--r-lg);
  padding: 40px;
  max-width: 680px;
  margin: 48px auto 0;
}

.estimator__progress {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}

.estimator__progress-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--border-h);
  transition: background .3s;
}

.estimator__progress-dot.is-active { background: var(--accent); }

.estimator__step { display: none; }
.estimator__step.is-active {
  display: block;
  animation: fadeSlideIn .3s var(--ease) both;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}

.estimator__question {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
}

.estimator__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.estimator__option {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-h);
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: .92rem;
  color: var(--text-muted);
  transition: border-color .2s, background .2s, color .2s, transform .15s var(--ease);
}

.estimator__option:hover {
  border-color: var(--accent-bdr);
  background: var(--accent-dim);
  color: var(--text);
  transform: translateX(4px);
}

.estimator__result { display: none; }
.estimator__result.is-active {
  display: block;
  animation: fadeSlideIn .3s var(--ease) both;
}

.estimator__result-inner {
  padding: 24px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-bdr);
  border-radius: var(--r);
  margin-bottom: 20px;
}

.estimator__result-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.estimator__result-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.estimator__result-text {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.estimator__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.estimator__reset {
  font-size: .85rem;
  color: var(--text-dim);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-decoration-color: var(--border-h);
  transition: color .2s;
}

.estimator__reset:hover { color: var(--text-muted); }

@media (max-width: 560px) { .estimator { padding: 28px 20px; } }


/* ─── Cookie banner conforme ePrivacy ────────────────────────────── */
.cookie-customize-panel {
  max-width: var(--container);
  margin: 12px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--border-h);
}

.cookie-customize-panel[hidden] { display: none !important; }

.cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.cookie-cat:last-of-type { border-bottom: none; }

.cookie-cat__info { flex: 1; }

.cookie-cat__info strong {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.cookie-cat__info span {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.cookie-toggle input { opacity: 0; width: 0; height: 0; }

.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--border-h);
  border-radius: 22px;
  cursor: pointer;
  transition: background .2s;
}

.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
}

.cookie-toggle input:checked + .cookie-toggle__slider { background: var(--accent); }
.cookie-toggle input:checked + .cookie-toggle__slider::before { transform: translateX(18px); }

.cookie-required-badge {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 100px;
  flex-shrink: 0;
}

.cookie-customize-panel .btn { margin-top: 14px; }

@media (max-width: 560px) {
  .cookie-cat { flex-direction: column; align-items: flex-start; gap: 8px; }
}


/* ─── Mode focus lecture (pages légales) ────────────────────────── */
.focus-toggle {
  position: fixed;
  bottom: 84px;
  right: 80px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-h);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  color: var(--text-muted);
  transition: border-color .2s, color .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.focus-toggle:hover {
  border-color: var(--accent-bdr);
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(59,130,246,.15);
}

.focus-mode .legal-wrap {
  font-size: 1.06rem !important;
  line-height: 1.95 !important;
  max-width: 640px !important;
}

.focus-mode .legal-section p,
.focus-mode .legal-section li {
  font-size: 1rem !important;
  line-height: 1.9 !important;
}

.focus-mode #nav { opacity: 0; pointer-events: none; }

@media (max-width: 560px) {
  .focus-toggle { bottom: 74px; right: 70px; }
}


/* ─── Écosystème MS365 ───────────────────────────────────────────── */
.ms365-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

@media (max-width: 900px) { .ms365-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ms365-grid { grid-template-columns: 1fr; } }

.ms365-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 24px;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}

.ms365-card:hover {
  border-color: var(--accent-bdr);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59,130,246,.07);
}

.ms365-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 14px;
}

.ms365-card__name {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.ms365-card__desc {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.ms365-banner {
  margin-top: 40px;
  background: var(--bg-card);
  border: 1px solid var(--accent-bdr);
  border-radius: var(--r-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ms365-banner__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.ms365-banner__sub {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
}

@media (max-width: 640px) {
  .ms365-banner { padding: 22px 20px; }
  .ms365-banner .btn { width: 100%; justify-content: center; }
}


/* ─── Section estimateur — nav ───────────────────────────────────── */
/* Ajouter "Démarrer" dans la nav mobile */
#nav .nav__links a[href="#estimateur"] { display: none; }


/* ─── Variantes Stratégie (violet) ──────────────────────────────── */
.section-eyebrow--strategie { color: #818cf8; }
.section-eyebrow--strategie svg { color: #818cf8; }

.ms365-card--strategie:hover {
  border-color: rgba(129,140,248,.4);
  box-shadow: 0 6px 24px rgba(129,140,248,.08);
}

.ms365-card__icon--strategie {
  background: rgba(129,140,248,.1);
  border-color: rgba(129,140,248,.22);
  color: #818cf8;
}

.ms365-banner--strategie {
  border-color: rgba(129,140,248,.3);
}

.ms365-banner--strategie .btn-primary {
  background: #818cf8;
  box-shadow: 0 0 18px rgba(129,140,248,.28);
}

.ms365-banner--strategie .btn-primary:hover {
  background: #6366f1;
}

/* ─── Variantes Finance (vert émeraude) ──────────────────────────── */
.section-eyebrow--finance { color: #34d399; }
.section-eyebrow--finance svg { color: #34d399; }

.ms365-card--finance:hover {
  border-color: rgba(52,211,153,.4);
  box-shadow: 0 6px 24px rgba(52,211,153,.08);
}

.ms365-card__icon--finance {
  background: rgba(52,211,153,.1);
  border-color: rgba(52,211,153,.22);
  color: #34d399;
}

.ms365-banner--finance {
  border-color: rgba(52,211,153,.3);
}

.ms365-banner--finance .btn-primary {
  background: #10b981;
  box-shadow: 0 0 18px rgba(16,185,129,.28);
}

.ms365-banner--finance .btn-primary:hover {
  background: #059669;
}

/* ─── CTA sur les cartes domaines ────────────────────────────────── */
.domaine-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: #818cf8;
  text-decoration: none;
  margin-top: auto;
  padding-top: 8px;
  transition: gap .2s var(--ease), color .2s;
}

.domaine-card__cta:hover { gap: 10px; }

.domaine-card__cta--finance { color: #34d399; }
.domaine-card__cta--finance:hover { color: #10b981; }

.domaine-card__cta--it { color: var(--accent); }
.domaine-card__cta--it:hover { color: #60a5fa; }


/* ═══════════════════════════════════════════════════════════════════
   Hero — Nom de marque
   ═══════════════════════════════════════════════════════════════════ */

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: .9;
  margin: 0;
  line-height: 1;
}

[data-theme="light"] .hero__brand {
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════════════════
   Domaines d'expertise — 3 piliers (Stratégie · Finance · IT)
   ═══════════════════════════════════════════════════════════════════ */

.domaines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.domaine-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}

.domaine-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}

.domaine-card--strategie { border-top: 3px solid #818cf8; }
.domaine-card--finance    { border-top: 3px solid #34d399; }
.domaine-card--it         { border-top: 3px solid var(--accent); }

.domaine-card--strategie:hover { border-color: #818cf8; }
.domaine-card--finance:hover   { border-color: #34d399; }
.domaine-card--it:hover        { border-color: var(--accent); }

.domaine-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.domaine-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.domaine-card--strategie .domaine-card__icon {
  background: rgba(129,140,248,.1);
  color: #818cf8;
}

.domaine-card--finance .domaine-card__icon {
  background: rgba(52,211,153,.1);
  color: #34d399;
}

.domaine-card--it .domaine-card__icon {
  background: var(--accent-dim);
  color: var(--accent);
}

.domaine-card__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.domaine-card--strategie .domaine-card__label { color: #818cf8; }
.domaine-card--finance    .domaine-card__label { color: #34d399; }
.domaine-card--it         .domaine-card__label { color: var(--accent); }

.domaine-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.domaine-card__text {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.domaine-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.domaine-card__list li {
  font-size: .83rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.domaine-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.domaine-card--strategie .domaine-card__list li::before { background: #818cf8; }
.domaine-card--finance    .domaine-card__list li::before { background: #34d399; }
.domaine-card--it         .domaine-card__list li::before { background: var(--accent); }

@media (max-width: 640px) {
  .domaine-card { padding: 24px 20px; }
}
