/*
Theme Name: Aissatech
Description: Thème WordPress custom — écosystème Aissatech (services, produits, formation, Accessium)
*/

/* ============================================================
   1. VARIABLES — palette et tokens du design system
   ============================================================ */
:root {
  /* Fonds */
  --bg: #F4F3FF;
  --bg2: #EDECFB;
  --bg3: #E4E2F8;

  /* Texte */
  --w: #1A1535;   /* texte principal (titres, corps) */
  --w2: #4A4668;  /* texte secondaire */
  --w3: #8B879E;  /* texte tertiaire / discret */

  /* Violet — couleur de marque principale */
  --v: #4C1D95;
  --v2: #3B1578;
  --v3: #3B1578;
  --v4: rgba(76, 29, 149, .1);

  /* Teal — couleur d'accent */
  --g: #0F766E;
  --g2: #0F766E;
  --g3: rgba(15, 118, 110, .1);

  /* Bordures */
  --bd: rgba(76, 29, 149, .12);
  --bd2: rgba(76, 29, 149, .2);

  /* Rayons de bordure */
  --r: 12px;
  --r2: 20px;

  /* Espacements — mobile par défaut (mobile-first) */
  --space-section: 70px;
  --space-content: 20px;

  /* Conteneur */
  --container-max: 1200px;
}

/* Au-delà de 600px (tablette et plus), on agrandit les espacements */
@media (min-width: 600px) {
  :root {
    --space-content: 24px;
  }
}

/* Au-delà de 1024px (desktop), espacement de section complet */
@media (min-width: 1024px) {
  :root {
    --space-section: 100px;
  }
}

/* ============================================================
   2. RESET
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--w);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Respect des préférences de réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus clavier visible — accessibilité */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--g);
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-thumb {
  background: var(--v);
  border-radius: 3px;
}

/* ============================================================
   3. TYPOGRAPHIE — échelle de tailles mobile-first
   ============================================================ */
h1 {
  font-size: clamp(1.875rem, 5vw, 3.25rem); /* 30px → 52px */
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem); /* 24px → 36px */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem); /* 20px → 24px */
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  line-height: 1.4;
}

p {
  font-size: 1rem; /* 16px */
  color: var(--w2);
}

.eyebrow {
  font-size: 0.8125rem; /* 13px */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--g2);
}

/* ============================================================
   4. LAYOUT — conteneur et grille de base
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--space-content);
  padding-right: var(--space-content);
}

.section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  border-bottom: 1px solid var(--bd);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  text-align: center;
}

@media (min-width: 768px) {
  .section-head {
    margin-bottom: 56px;
  }
}

/* ============================================================
   5. ICÔNES — système standardisé (conservé de l'existant)
   ============================================================ */
svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.icon-xs  { width: 14px; height: 14px; }
.icon-sm  { width: 16px; height: 16px; }
.icon-md  { width: 20px; height: 20px; }
.icon-lg  { width: 24px; height: 24px; }
.icon-xl  { width: 32px; height: 32px; }
.icon-2xl { width: 44px; height: 44px; }
.icon-3xl { width: 52px; height: 52px; }

.icon-box-sm { width: 34px; height: 34px; border-radius: 9px; }
.icon-box-md { width: 38px; height: 38px; border-radius: 11px; }
.icon-box-lg { width: 44px; height: 44px; border-radius: 12px; }
.icon-box-xl { width: 46px; height: 46px; border-radius: 12px; }

.icon-box-sm,
.icon-box-md,
.icon-box-lg,
.icon-box-xl {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box-v { background: var(--v4); color: var(--v); }
.icon-box-g { background: var(--g3); color: var(--g2); }

/* ============================================================
   6. BOUTONS — styles partagés
   ============================================================ */
.btn-main,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-main {
  background: var(--v);
  color: #fff;
}

.btn-main:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--w);
  border: 1px solid var(--bd2);
}

.btn-ghost:hover {
  background: var(--bg2);
}

.btn-main svg,
.btn-ghost svg {
  width: 16px;
  height: 16px;
}
/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 24px);
  max-width: 920px;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(76, 29, 149, .15);
  border-radius: 50px;
  padding: 8px 10px 8px 18px;
  box-shadow: 0 8px 40px rgba(76, 29, 149, .12), 0 2px 8px rgba(0, 0, 0, .05);
  position: relative;
}

.logo {
  font-size: 1.0625rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--w);
  margin-right: auto;
}

.logo span {
  color: var(--v);
}

.nav-sep {
  display: none; /* utile seulement quand les liens desktop sont visibles */
}

/* --- Liens : masqués par défaut sur mobile, ouverts via le panneau --- */
.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  color: var(--w2);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > a.act {
  color: var(--v);
  background: var(--v4);
}

.nav-chev {
  width: 13px;
  height: 13px;
  opacity: 0.5;
  flex-shrink: 0;
  transition: transform 0.25s;
}

/* --- Panneau mobile plein écran --- */
.nav-cta {
  background: var(--v);
  color: #fff;
  padding: 9px 16px;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.25s;
}

.nav-cta:hover {
  background: var(--v3);
  box-shadow: 0 4px 16px rgba(76, 29, 149, .35);
}

.menu-mobile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  padding: 0;
  flex-shrink: 0;
}

.menu-mobile span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--w);
  border-radius: 2px;
  transition: all 0.25s;
}

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

#nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(26, 21, 53, .4);
  display: none;
}

#nav-overlay.is-visible {
  display: block;
}

/* Sur mobile : le panneau de liens devient un volet plein écran */
.nav-links {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: min(320px, 85vw);
  background: #fff;
  padding: 90px 20px 20px;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(.16, 1, .3, 1);
  z-index: 1001;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .1);
}

.nav-links.open {
  right: 0;
}

/* Sous-menus en mobile : affichage en accordéon simple, toujours visible sous le lien parent */
.nav-drop {
  position: static;
  max-height: 0;
  overflow: hidden;
  opacity: 1;
  transform: none;
  transition: max-height 0.3s ease;
  pointer-events: auto;
}

.nav-item-mega.is-open .nav-drop {
  max-height: 1000px;
}

.nav-item-mega.is-open > a .nav-chev {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-mega,
.nav-simple {
  width: 100%;
  background: var(--bg2);
  border: none;
  border-radius: 14px;
  box-shadow: none;
  padding: 8px;
  margin-top: 4px;
}

.mega-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
}

.mega-item:hover {
  background: rgba(76, 29, 149, .05);
}

.mega-item:hover .mi-title {
  color: var(--v);
}

.mega-item-full {
  /* sur mobile, pas de grille à 2 colonnes : pleine largeur par défaut */
}

.mi-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mi-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--w);
  margin-bottom: 2px;
}

.mi-desc {
  font-size: 0.6875rem;
  color: var(--w3);
  line-height: 1.45;
}

.mega-header {
  padding: 12px 10px 8px;
  border-bottom: 1px solid rgba(76, 29, 149, .07);
  margin-bottom: 6px;
}

.mega-header-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--v);
}

.mega-header-sub {
  font-size: 0.75rem;
  color: var(--w3);
}

.mega-footer {
  border-top: 1px solid rgba(76, 29, 149, .07);
  margin-top: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-footer-txt {
  font-size: 0.75rem;
  color: var(--w3);
}

.mega-cta {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--v);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 50px;
  background: var(--v4);
  width: fit-content;
}

.nav-simple {
  display: flex;
  flex-direction: column;
}

.si {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border-radius: 10px;
}

.si:hover {
  background: rgba(76, 29, 149, .05);
}

.si-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.si-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--w);
}

.si-desc {
  font-size: 0.6875rem;
  color: var(--w3);
  margin-top: 1px;
}

.si-sep {
  height: 1px;
  background: rgba(76, 29, 149, .07);
  margin: 4px 6px;
}

.si-cta-link {
  justify-content: center;
}

.si-cta {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--v);
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ============================================================
   DESKTOP (1024px+) : barre horizontale classique + survol
   ============================================================ */
@media (min-width: 1024px) {
  .site-header {
    top: 16px;
    width: auto;
  }

  .nav-pill {
    gap: 24px;
    padding: 6px 8px 6px 20px;
  }

  .menu-mobile {
    display: none;
  }

  .nav-sep {
    display: block;
    width: 1px;
    height: 18px;
    background: rgba(76, 29, 149, .15);
    margin: 0 4px;
    flex-shrink: 0;
  }

  .logo {
    margin-right: 0;
  }

  /* Le panneau redevient une barre horizontale inline */
  .nav-links {
    position: static;
    flex-direction: row;
    align-items: center;
    height: auto;
    width: auto;
    background: transparent;
    padding: 0;
    overflow: visible;
    box-shadow: none;
    gap: 0;
  }

  .nav-links > li > a {
    padding: 7px 12px;
    font-size: 0.8125rem;
  }

  /* Dropdowns en position absolue, ouverture au survol */
  .nav-drop {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    max-height: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(.16, 1, .3, 1), transform 0.22s cubic-bezier(.16, 1, .3, 1);
  }

  .nav-item-mega:hover .nav-drop,
  .nav-item-mega.is-open .nav-drop {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    max-height: none;
  }

  .nav-mega {
    width: 700px;
    background: #fff;
    border: 1px solid rgba(76, 29, 149, .1);
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(76, 29, 149, .14), 0 4px 20px rgba(0, 0, 0, .06);
    padding: 8px;
  }

  .mega-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  .mega-item-full {
    grid-column: 1 / -1;
  }

  .mega-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .nav-simple {
    min-width: 230px;
    background: #fff;
    border: 1px solid rgba(76, 29, 149, .1);
    border-radius: 16px;
    box-shadow: 0 16px 50px rgba(76, 29, 149, .12), 0 3px 12px rgba(0, 0, 0, .05);
  }
}
/* ============================================================
   HERO
   ============================================================ */

/* --- Mobile (base) --- */
.hero {
  position: relative;
  padding: 100px 0 50px;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(76, 29, 149, .10), transparent),
    radial-gradient(ellipse 60% 50% at 85% 70%, rgba(15, 118, 110, .08), transparent);
  pointer-events: none;
}

.hero-wrap {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-size: 26px 
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-title-line {
  display: flex;
}
 
.hero-word {
  display: inline-block;
  font-style: normal;
  background: linear-gradient(135deg, var(--v), var(--g2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  min-width: 1ch;
}

.hero-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--v);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink 0.75s step-end infinite;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem); /* 16px → 19px */
  color: var(--w2);
  max-width: 600px;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  align-items: center;
}

.hero-btns .btn-main,
.hero-btns .btn-ghost {
  width: 100%;
  max-width: 320px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.9375rem;
}

.hero-btns .btn-main {
  box-shadow: 0 10px 30px rgba(76, 29, 149, .15);
}

/* --- Tablette (600px+) : boutons côte à côte --- */
@media (min-width: 600px) {
  .hero-btns {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-btns .btn-main,
  .hero-btns .btn-ghost {
    width: auto;
  }
}

/* --- Desktop (1024px+) : padding hero plus généreux --- */
@media (min-width: 1024px) {
  .hero {
    padding: 160px 0 80px;
  }
}

/* ============================================================
   MARQUEE — bandeau de mots-clés défilants
   ============================================================ */
.marquee-wrap {
  padding: 28px 0;
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
  overflow: hidden;
}

.marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--w2);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(76, 29, 149, .05);
  transition: all 0.2s;
}

.marquee-item:hover {
  border-color: var(--v);
  color: var(--v);
}

.marquee-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .marquee-track {
    gap: 16px;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* -50% car la liste est dupliquée x2 */
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
  .hero-word {
    animation: none;
  }
}
/* ============================================================
   NARRATIVE — pitch défilant
   ============================================================ */
.narrative-wrap {
  max-width: 760px;
}

.expertise-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--bd2);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.expertise-label {
  color: var(--w3);
}

.expertise-text {
  color: var(--v);
  font-weight: 800;
}

.expertise-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--v);
  margin-left: 1px;
  vertical-align: middle;
  animation: blink 0.75s step-end infinite;
}

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

.narr-line {
  font-size: clamp(1.375rem, 4vw, 2.25rem); /* 22px → 36px */
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--w);
  padding: 16px 0;
  border-bottom: 1px solid var(--bd);
}

.narr-line em {
  font-style: normal;
  color: var(--v);
}

.narr-line strong {
  color: var(--g2);
  font-weight: 800;
}

@media (min-width: 768px) {
  .narr-line {
    padding: 22px 0;
  }
}

/* ============================================================
   ÉCOSYSTÈME — grille des 4 piliers
   ============================================================ */
.section-alt {
  background: var(--bg2);
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
}

.text-v {
  font-style: normal;
  color: var(--v);
}

.text-g {
  font-style: normal;
  color: var(--g2);
}

.text-gradient {
  font-style: normal;
  background: linear-gradient(135deg, var(--v), var(--g2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Mobile : 1 colonne --- */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--bd2);
  border: 1px solid var(--bd2);
  border-radius: var(--r2);
  overflow: hidden;
}

.pillar-card {
  background: var(--bg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pillar-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.pillar-v::after {
  background: radial-gradient(circle at 0 100%, rgba(76, 29, 149, .05), transparent);
}

.pillar-g::after {
  background: radial-gradient(circle at 100% 0, rgba(15, 118, 110, .05), transparent);
}

.pillar-card:hover::after {
  opacity: 1;
}

.pillar-card:hover {
  background: #fff;
}

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-icon-v { background: var(--v4); color: var(--v); }
.pillar-icon-g { background: var(--g3); color: var(--g2); }

.pillar-card h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.pillar-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 50px;
}

.tag-v { background: var(--v4); color: var(--v); }
.tag-g { background: var(--g3); color: var(--g2); }

.pillar-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: var(--w3);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all 0.25s;
}

.pillar-card:hover .pillar-arrow {
  opacity: 1;
  transform: none;
}

/* --- Tablette (600px+) : 2 colonnes --- */
@media (min-width: 600px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Desktop (1024px+) : 4 colonnes, padding plus large --- */
@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .pillar-card {
    padding: 40px;
  }
}
/* ============================================================
   APERÇU DES SERVICES — carrousel horizontal
   ============================================================ */
.services-preview {
  overflow: hidden;
  border-bottom: 1px solid var(--bd);
}

.services-preview-head {
  text-align: center;
  margin-bottom: 32px;
}

.services-preview-head p:last-child {
  max-width: 520px;
  margin: 12px auto 0;
}

.services-carousel-wrap {
  position: relative;
}

.services-track {
  display: flex;
  gap: 16px;
  padding: 4px 20px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  scroll-behavior: smooth;
}

.services-track::-webkit-scrollbar {
  display: none;
}

.services-track.is-grabbing {
  cursor: grabbing;
  scroll-behavior: auto;
}

.service-card {
  min-width: 260px;
  max-width: 320px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--r2);
  padding: 28px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(.16, 1, .3, 1), box-shadow 0.35s, border-color 0.35s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(76, 29, 149, .12);
  border-color: var(--v);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--v4);
  color: var(--v);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* Fondus latéraux — masqués sur mobile (pas la place), visibles dès tablette */
.carousel-fade {
  display: none;
  position: absolute;
  top: 0;
  bottom: 20px;
  width: 40px;
  pointer-events: none;
  z-index: 2;
}

.carousel-fade-l {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.carousel-fade-r {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.carousel-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding-top: 8px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bd2);
  transition: all 0.3s;
  cursor: pointer;
}

.carousel-dot.is-active {
  width: 22px;
  background: var(--v);
  border-radius: 3px;
}

/* --- Tablette (768px+) --- */
@media (min-width: 768px) {
  .services-track {
    padding: 8px 40px 24px;
    gap: 20px;
  }
  .service-card {
    min-width: 300px;
  }
  .carousel-fade {
    display: block;
  }
}

/* --- Desktop (1024px+) --- */
@media (min-width: 1024px) {
  .services-preview {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
  }
  .services-track {
    padding: 12px 60px 24px;
  }
}
/* ============================================================
   STACK TECHNOLOGIQUE
   ============================================================ */

/* --- Mobile : 3 colonnes --- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--bd);
  border-radius: var(--r2);
  border: 1px solid var(--bd2);
  overflow: hidden;
}

.tech-item {
  background: var(--bg);
  padding: 18px 6px;
  text-align: center;
  transition: background 0.25s, transform 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tech-item:hover {
  background: #fff;
  transform: translateY(-3px);
  z-index: 2;
  box-shadow: 0 8px 24px rgba(76, 29, 149, .1);
}

.tech-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-item-icon svg {
  width: 28px;
  height: 28px;
}

.tech-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--w2);
}

/* --- Tablette (600px+) : 4 colonnes --- */
@media (min-width: 600px) {
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .tech-item-icon svg {
    width: 32px;
    height: 32px;
  }
}

/* --- Desktop (1024px+) : 8 colonnes --- */
@media (min-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(8, 1fr);
  }
  .tech-item {
    padding: 20px 5px;
  }
}
/* ============================================================
   PROCESS DE DÉVELOPPEMENT — timeline en 4 étapes
   ============================================================ */

/* --- Mobile : empilé en 1 colonne, ligne verticale --- */
.process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 0 16px;
}

.process-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 900;
  border: 2px solid var(--bd2);
  position: relative;
  z-index: 1;
  transition: all 0.35s;
}

/* Étape terminée — teal */
.process-dot-done {
  background: linear-gradient(135deg, var(--g), var(--g2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 20px rgba(15, 118, 110, .3);
}

/* Étape en cours — violet, mise en avant */
.process-dot-active {
  background: linear-gradient(135deg, var(--v), var(--v2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 30px rgba(76, 29, 149, .35);
}

/* Étape à venir — neutre */
.process-dot-next {
  background: var(--bg2);
  color: var(--w3);
}

.process-step h4 {
  font-size: 0.875rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 0.8125rem;
  line-height: 1.55;
}

/* --- Tablette (600px+) : 2 colonnes --- */
@media (min-width: 600px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* --- Desktop (1024px+) : 4 colonnes avec ligne reliant les points --- */
@media (min-width: 1024px) {
  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 56px;
  }

  .process-timeline::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, var(--v), var(--g2));
    z-index: 0;
  }
}
/* ============================================================
   ÉQUIPE
   ============================================================ */

/* --- Mobile : 1 colonne --- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--bd);
  border: 1px solid var(--bd2);
  border-radius: var(--r2);
  overflow: hidden;
}

.team-card {
  background: var(--bg);
  overflow: hidden;
  transition: background 0.3s;
}

.team-card:hover {
  background: #fff;
}

.team-photo {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s;
}

.team-photo svg {
  width: 110px;
  height: 110px;
}

.team-card:hover .team-photo {
  transform: scale(1.06);
}

/* Variantes de dégradé de fond derrière chaque avatar */
.team-photo-v {
  background: linear-gradient(135deg, rgba(76, 29, 149, .15), var(--bg3));
}

.team-photo-mix {
  background: linear-gradient(135deg, rgba(76, 29, 149, .1), rgba(15, 118, 110, .1));
}

.team-photo-mix-rev {
  background: linear-gradient(135deg, rgba(15, 118, 110, .1), rgba(76, 29, 149, .15));
}

.team-info {
  padding: 18px;
  border-top: 1px solid var(--bd);
}

.team-name {
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.team-role {
  font-size: 0.75rem;
  color: var(--g2);
  font-weight: 600;
}

/* --- Tablette (600px+) : 2 colonnes --- */
@media (min-width: 600px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Desktop large (900px+) : 3 colonnes --- */
@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Très grand écran (1280px+) : 6 colonnes, comme l'original --- */
@media (min-width: 1280px) {
  .team-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .team-photo {
    height: 240px;
  }
  .team-photo svg {
    width: 130px;
    height: 130px;
  }
}
/* ============================================================
   ACCESSIUM — volet social
   ============================================================ */
.section-alt-top {
  background: var(--bg2);
  border-top: 1px solid var(--bd);
}

/* --- Mobile : intro puis grille, empilés --- */
.accessium-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--bd2);
  border: 1px solid var(--bd2);
  border-radius: var(--r2);
  overflow: hidden;
  width: 100%;
}

.accessium-intro {
  background: var(--bg);
  padding: 32px;
}

.accessium-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem); /* 24px → 40px */
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.accessium-desc {
  font-size: 0.9375rem;
  color: var(--w2);
  line-height: 1.75;
  margin-bottom: 24px;
}

.accessium-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--bd);
  min-width: 0;
}

.accessium-cell {
  background: var(--bg);
  padding: 24px 16px;
  text-align: center;
  transition: background 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.accessium-cell:hover {
  background: #fff;
}

.accessium-label {
  font-size: 1.125rem; /* 18px sur mobile, plus lisible que 30px desktop */
  font-weight: 900;
  letter-spacing: -0.02em;
}

.accessium-label-v { color: var(--v); }
.accessium-label-g { color: var(--g2); }

/* --- Tablette (768px+) : intro et grille côte à côte --- */
@media (min-width: 768px) {
  .accessium-layout {
    grid-template-columns: 1fr 1fr;
  }
  .accessium-intro {
    padding: 48px;
  }
}

/* --- Desktop (1024px+) : labels plus grands comme l'original --- */
@media (min-width: 1024px) {
  .accessium-label {
    font-size: 1.875rem; /* 30px */
  }
  .accessium-cell {
    padding: 36px;
  }
}
/* ============================================================
   FAQ — accordéon
   ============================================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--bd);
  border-radius: var(--r2);
  overflow: hidden;
}

.faq-item {
  background: var(--bg);
  transition: background 0.3s;
}

.faq-item.is-open {
  background: #fff;
}

.faq-question {
  width: 100%;
  padding: 18px 18px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: inherit;
}

.faq-item.is-open .faq-question {
  color: var(--v);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid var(--bd2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  flex-shrink: 0;
  transition: all 0.3s;
  color: var(--w3);
}

.faq-item.is-open .faq-icon {
  background: var(--v4);
  border-color: var(--v);
  color: var(--v);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.16, 1, .3, 1);
}

.faq-answer-inner {
  padding: 0 18px 18px;
  font-size: 0.875rem;
  color: var(--w2);
  line-height: 1.75;
}

@media (min-width: 768px) {
  .faq-question {
    padding: 22px 26px;
  }
  .faq-answer-inner {
    padding: 0 26px 22px;
  }
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-box {
  background: linear-gradient(135deg, rgba(76, 29, 149, .06), rgba(15, 118, 110, .04));
  border: 1px solid var(--bd);
  border-radius: var(--r2);
  padding: 48px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(76, 29, 149, .06), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.cta-box .cta-title {
  font-size: clamp(1.625rem, 5vw, 3.5rem); /* 26px → 56px */
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
}

.cta-box .cta-sub {
  font-size: 1.0625rem;
  color: var(--w2);
  margin-bottom: 28px;
  position: relative;
}

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

@media (min-width: 768px) {
  .cta-box {
    padding: 72px;
  }
  .cta-box .cta-sub {
    margin-bottom: 40px;
  }
}

@media (min-width: 1024px) {
  .cta-box {
    padding: 90px;
  }
}
/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--bd);
  padding: 48px 20px 28px;
  background: var(--bg2);
}

.ft-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 20px;
  margin-bottom: 36px;
}

.ft-brand {
  grid-column: 1 / -1;
}
}

.ft-brand .logo {
  font-size: 1.1875rem;
  display: block;
  margin-bottom: 14px;
}

.ft-logo {
  font-size: 1.1875rem;
  display: block;
  margin-bottom: 14px;
}

.ft-desc {
  font-size: 0.8125rem;
  color: var(--w3);
  line-height: 1.75;
  max-width: 320px;
}

.ft-col h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--w3);
  margin-bottom: 14px;
}

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

.ft-col ul li a {
  font-size: 0.8125rem;
  color: var(--w2);
  transition: color 0.2s;
}

.ft-col ul li a:hover {
  color: var(--v);
}

.ft-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--bd);
  display: flex;
  justify-content: center;
}

.ft-bottom p {
  font-size: 0.8125rem;
  color: var(--w3);
}

/* --- Tablette (600px+) : 2 colonnes pour les liens --- */
@media (min-width: 600px) {
  .ft-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ft-brand {
    grid-column: 1 / -1;
  }
}

/* --- Desktop (1024px+) : disposition originale en 4 colonnes --- */
@media (min-width: 1024px) {
  .site-footer {
    padding: 72px 5% 44px;
  }
  .ft-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 72px;
    margin-bottom: 56px;
  }
  .ft-brand {
    grid-column: auto;
  }
}
/* ============================================================
   HERO GÉNÉRIQUE DE SOUS-PAGE
   ============================================================ */
.page-hero {
  padding-top: 110px;
}

.page-hero .section-head {
  text-align: left;
  margin-bottom: 32px;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 5vw, 3rem); /* 28px → 48px */
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 8px 0 16px;
}

.page-hero-intro {
  font-size: 0.9375rem;
  color: var(--w2);
  line-height: 1.75;
  max-width: 680px;
}

@media (min-width: 1024px) {
  .page-hero {
    padding-top: 140px;
  }
}

/* ============================================================
   SERVICES — grille détaillée des 7 services
   ============================================================ */

/* --- Mobile : 1 colonne --- */
.services-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  border-radius: var(--r2);
  margin-bottom: 32px;
}

.service-detail-card {
  background: var(--bg);
  padding: 26px;
  transition: background 0.3s, border-color 0.3s;
  position: relative;
  border: 1px solid rgb(25 9 51 / 20%);
  border-radius: var(--r2);
}

.service-detail-card:hover {
  background: #fff;
  border-color: var(--v);
}

.service-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-detail-icon-v { background: var(--v4); color: var(--v); }
.service-detail-icon-g { background: var(--g3); color: var(--g2); }

.service-detail-card h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.service-detail-card p {
  font-size: 0.875rem;
  margin-bottom: 14px;
}

.service-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--v);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--bd);
  width: 100%;
  transition: gap 0.2s;
}

.svc-card-link:hover {
  gap: 10px;
}


/* --- Tablette (768px+) : 2 colonnes --- */
@media (min-width: 768px) {
  .services-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* La dernière carte (Conseil & Stratégie) reste seule sur sa ligne, pas besoin de la centrer activement en 2 colonnes */
}

/* --- Desktop (1024px+) : 3 colonnes, dernière carte centrée --- */
@media (min-width: 1024px) {
  .services-detail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-card-centered {
    grid-column: 2;
  }
}

/* ============================================================
   CTA compact (variante de .cta-box utilisée en bas de sous-page)
   ============================================================ */
.cta-box-sm {
  margin-top: 8px;
}

.cta-box-sm .cta-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem); /* 24px → 36px, plus petit que le CTA homepage */
}
/* ============================================================
   PRODUITS — fiches produit avec mockup téléphone
   ============================================================ */
.product-card {
  border: 1px solid var(--bd);
  border-radius: var(--r2);
  overflow: hidden;
  margin-bottom: 24px;
}

/* --- Mobile : texte puis mockup, empilés --- */
.product-row {
  display: flex;
  flex-direction: column;
}

.product-row-reverse {
  flex-direction: column; /* sur mobile, toujours texte d'abord pour la lecture, peu importe le produit */
}

.product-info {
  background: var(--bg);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

.product-info::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0.05;
  transition: opacity 0.4s;
}

.product-info-med::before { background: var(--g2); }
.product-info-gov::before { background: var(--v); }

.product-card:hover .product-info::before {
  opacity: 0.1;
}

.product-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.6875rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.product-badge-g { background: var(--g3); color: var(--g2); }
.product-badge-v { background: var(--v4); color: var(--v); }

.product-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--w);
}

.product-title {
  font-size: 1.5rem; /* 24px, monte à 28px en desktop */
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.9375rem;
  color: var(--w2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--w2);
}

.product-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.product-dot-g { background: var(--g2); }
.product-dot-v { background: var(--v); }

/* --- Mockup téléphone : centré sous le texte sur mobile --- */
.product-mock {
  background: var(--bg2);
  padding: 32px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--bd);
}

.phone-mockup {
  background: #fff;
  border: 1px solid var(--bd2);
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  max-width: 220px;
  font-size: 0.75rem;
  box-shadow: 0 8px 30px rgba(76, 29, 149, .08);
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bd);
}

.phone-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-icon-g { background: var(--g3); color: var(--g2); }
.phone-icon-v { background: var(--v4); color: var(--v); }

.phone-title {
  font-weight: 800;
  font-size: 0.75rem;
}

.phone-title-v { color: var(--v); }

.phone-sub {
  font-size: 0.625rem;
  color: var(--w3);
}

.phone-row {
  background: var(--bg2);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.phone-row-title {
  font-weight: 700;
  font-size: 0.6875rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-row-meta {
  font-size: 0.625rem;
  color: var(--g2);
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.phone-button {
  width: 100%;
  background: var(--g2);
  color: #fff;
  padding: 9px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.6875rem;
  margin-top: 8px;
}

.phone-status {
  background: var(--g3);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  color: var(--g2);
  font-weight: 800;
  font-size: 0.6875rem;
  margin-top: 6px;
}

/* --- Desktop (1024px+) : texte et mockup côte à côte, alternance gauche/droite --- */
@media (min-width: 1024px) {
  .product-row {
    flex-direction: row;
  }

  .product-row-reverse {
    flex-direction: row-reverse;
  }

  .product-info {
    flex: 1;
    padding: 56px;
  }

  .product-mock {
    flex: 1;
    padding: 40px;
    border-top: none;
    border-left: 1px solid var(--bd);
  }

  .product-row-reverse .product-mock {
    border-left: none;
    border-right: 1px solid var(--bd);
  }

  .product-icon-wrap {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
  }

  .product-title {
    font-size: 1.75rem; /* 28px */
  }

  .phone-mockup {
    max-width: 200px;
  }
}
/* ============================================================
   ACCESSIUM — hero + stats d'impact
   ============================================================ */
.accessium-hero {
  text-align: center;
  padding: 130px 20px 40px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(15, 118, 110, .07), transparent);
}

.accessium-badge {
  display: inline-block;
  background: var(--g3);
  border: 1px solid rgba(15, 118, 110, .2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--g2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.accessium-h1 {
  font-size: clamp(1.875rem, 7vw, 4rem); /* 30px → 64px */
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.accessium-lead {
  font-size: 1rem;
  color: var(--w2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

.section-no-top {
  padding-top: 0;
}

/* --- Mobile : 1 colonne --- */
.accessium-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--bd);
  border-radius: var(--r2);
  overflow: hidden;
  border: 1px solid var(--bd2);
  margin-bottom: 32px;
}

.accessium-stat-cell {
  background: var(--bg);
  padding: 32px;
  text-align: center;
  transition: background 0.3s;
}

.accessium-stat-cell:hover {
  background: #fff;
}

.accessium-stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--g2);
}

.accessium-stat-label {
  font-size: 1.375rem; /* 22px sur mobile, monte à 30px sur desktop */
  font-weight: 900;
  background: linear-gradient(135deg, var(--g2), var(--v));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.accessium-stat-desc {
  font-size: 0.8125rem;
  color: var(--w2);
}

/* --- Tablette (600px+) : 3 colonnes (3 éléments, garde l'unité visuelle) --- */
@media (min-width: 600px) {
  .accessium-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Desktop (1024px+) : labels plus grands comme l'original --- */
@media (min-width: 1024px) {
  .accessium-stat-cell {
    padding: 44px;
  }
  .accessium-stat-label {
    font-size: 1.875rem; /* 30px */
  }
}

/* Variante verte du CTA (réutilise .cta-box) */
.cta-box-green {
  border-color: rgba(15, 118, 110, .2);
}
/* ============================================================
   CONTACT
   ============================================================ */
.form-notice {
  padding: 14px 18px;
  border-radius: var(--r);
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.form-notice-success {
  background: var(--g3);
  color: var(--g2);
  border: 1px solid rgba(15, 118, 110, .25);
}

.form-notice-error {
  background: #fdecec;
  color: #b42318;
  border: 1px solid rgba(180, 35, 24, .2);
}

.form-notice-error a {
  text-decoration: underline;
}

/* --- Mobile : infos puis formulaire, empilés --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bd);
  border: 1px solid var(--bd);
  border-radius: var(--r2);
  overflow: hidden;
  align-self: start;
}

.contact-info-row {
  background: var(--bg);
  padding: 20px;
  display: flex;
  gap: 14px;
  transition: background 0.3s;
}

.contact-info-row:hover {
  background: #fff;
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--v4);
  color: var(--v);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
}

.contact-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.contact-info-value {
  font-size: 0.8125rem;
  color: var(--w2);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--r2);
  padding: 28px 24px;
}

.contact-form-title {
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--w3);
  margin-bottom: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--bd);
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 0.9375rem;
  color: var(--w);
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--v);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(76, 29, 149, .08);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-submit-btn {
  width: 100%;
  background: var(--v);
  color: #fff;
  padding: 15px;
  border-radius: 50px;
  font-size: 0.9375rem;
  font-weight: 800;
  transition: all 0.3s;
  margin-top: 6px;
}

.form-submit-btn:hover {
  background: var(--v3);
  box-shadow: 0 8px 30px rgba(76, 29, 149, .3);
}

/* --- Tablette (600px+) : prénom/nom côte à côte --- */
@media (min-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Desktop (1024px+) : infos et formulaire côte à côte --- */
@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1.5fr;
    gap: 56px;
  }
  .contact-form {
    padding: 44px;
  }
}
/* ============================================================
   À PROPOS
   ============================================================ */
.about-section {
  position: relative;
  overflow: hidden;
}

/* --- Mobile : texte puis citation, empilés --- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.about-lead {
  font-size: 1.0625rem;
  color: var(--w2);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-text {
  font-size: 0.9375rem;
  color: var(--w2);
  line-height: 1.8;
}

/* --- Mobile : 1 colonne pour les valeurs --- */
.about-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--bd);
  border: 1px solid rgba(76, 29, 149, .15);
  border-radius: var(--r2);
  overflow: hidden;
  margin-top: 20px;
}

.about-value-cell {
  background: var(--bg);
  padding: 22px;
  text-align: center;
  transition: background 0.3s;
}

.about-value-cell:hover {
  background: #fff;
}

.about-value-icon {
  color: var(--v);
  margin-bottom: 10px;
}

.about-value-title {
  font-size: 0.875rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.about-value-desc {
  font-size: 0.8125rem;
  color: var(--w2);
}

.about-quote-card {
  border: 1px solid var(--bd);
  border-radius: var(--r2);
  padding: 32px;
  background: #fff;
}

.about-quote-text {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
}

.about-quote-author {
  font-size: 0.75rem;
  color: var(--w3);
  margin-top: 14px;
}

/* --- Tablette (600px+) : valeurs en 2 colonnes --- */
@media (min-width: 600px) {
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Desktop (1024px+) : texte et citation côte à côte --- */
@media (min-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
  .about-lead {
    font-size: 1.0625rem;
  }
  .about-quote-card {
    padding: 52px;
  }
  .about-quote-text {
    font-size: 1.25rem;
  }
}
/* ============================================================
   FORMATION — catalogue de formations
   ============================================================ */

/* --- Mobile : 1 colonne --- */
.training-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--bd);
  border-radius: var(--r2);
  overflow: hidden;
}

.training-card {
  background: var(--bg);
  padding: 28px;
  transition: background 0.3s;
  position: relative;
}

.training-card:hover {
  background: #fff;
}

.training-domain {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.training-domain-v { color: var(--v); }
.training-domain-g { color: var(--g2); }

.training-title {
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.training-content {
  font-size: 0.875rem;
  color: var(--w2);
  line-height: 1.6;
  margin-bottom: 18px;
}

.training-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--w3);
  padding-top: 14px;
  border-top: 1px solid var(--bd);
}

.training-duration {
  display: flex;
  align-items: center;
  gap: 6px;
}

.training-type-v { color: var(--v); font-weight: 600; }
.training-type-g { color: var(--g2); font-weight: 600; }

/* --- Tablette (600px+) : 2 colonnes --- */
@media (min-width: 600px) {
  .training-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Desktop (1024px+) : 3 colonnes, comme l'original --- */
@media (min-width: 1024px) {
  .training-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ============================================================
   TARIFS
   ============================================================ */
.pricing-head {
  text-align: center;
}

/* --- Mobile : 1 colonne, carte Business mise en avant en premier --- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--bd);
  border-radius: var(--r2);
  overflow: hidden;
}

.pricing-card {
  background: var(--bg);
  padding: 32px 28px;
  position: relative;
  transition: background 0.3s;
  order: 1;
}

.pricing-card:hover {
  background: #fff;
}

.pricing-card-featured {
  background: linear-gradient(160deg, rgba(76, 29, 149, .06), var(--bg));
  order: 0; /* sur mobile, l'offre recommandée apparaît en premier */
}

.pricing-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--v), var(--g2));
}

.pricing-popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--v);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.pricing-tier {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pricing-tier-v { color: var(--v); }
.pricing-tier-g { color: var(--g2); }

.pricing-price {
  font-size: 2rem; /* 32px, monte à 40px en desktop */
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.pricing-sub {
  font-size: 0.8125rem;
  color: var(--w3);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--w2);
}

.pricing-features li::before {
  content: '\\2713';
  color: var(--g2);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-features li.is-excluded {
  color: var(--w3);
}

.pricing-features li.is-excluded::before {
  content: '\\2013';
  color: var(--w3);
}

.pricing-card .btn-main,
.pricing-card .btn-ghost {
  width: 100%;
  justify-content: center;
}

/* --- Desktop (1024px+) : 3 colonnes, ordre naturel restauré --- */
@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pricing-card {
    padding: 44px;
    order: 0; /* l'ordre visuel mobile n'a plus lieu d'être en grille horizontale */
  }
  .pricing-price {
    font-size: 2.5rem; /* 40px */
  }
  .pricing-card .btn-main,
  .pricing-card .btn-ghost {
    width: auto;
  }
}
/* ============================================================
   BLOG — grille d'articles
   ============================================================ */

/* --- Mobile : 1 colonne --- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--bd);
  border-radius: var(--r2);
  overflow: hidden;
}

.blog-card {
  display: block;
  background: var(--bg);
  transition: background 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  background: #fff;
  box-shadow: 0 8px 30px rgba(76, 29, 149, .08);
}

.blog-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--bd);
  color: var(--w2);
}

.blog-card-img-v {
  background: linear-gradient(135deg, rgba(76, 29, 149, .12), var(--bg3));
}

.blog-card-img-g {
  background: linear-gradient(135deg, rgba(15, 118, 110, .12), var(--bg3));
}

.blog-card-img-mix {
  background: linear-gradient(135deg, rgba(76, 29, 149, .08), rgba(15, 118, 110, .08));
}

.blog-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.blog-card-cat-v { background: var(--v4); color: var(--v); }
.blog-card-cat-g { background: var(--g3); color: var(--g2); }
.blog-card-cat-w { background: rgba(26, 21, 53, .06); color: var(--w2); }

.blog-card-body {
  padding: 22px;
}

.blog-card-meta {
  font-size: 0.6875rem;
  color: var(--w3);
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.8125rem;
  color: var(--w2);
  line-height: 1.6;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--v);
  margin-top: 14px;
  transition: gap 0.2s;
}

.blog-card:hover .blog-card-link {
  gap: 10px;
}

/* --- Tablette (768px+) : 2 colonnes --- */
@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Desktop (1024px+) : 3 colonnes, comme l'original --- */
@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-card-img {
    height: 180px;
  }
  .blog-card-body {
    padding: 28px;
  }
}
/* ============================================================
   PAGE GÉNÉRIQUE (index.php / page.php — fallback WordPress)
   ============================================================ */
.generic-page {
  padding: 110px 0 60px;
}

.generic-page-title {
  font-size: clamp(1.75rem, 5vw, 2.625rem); /* 28px → 42px */
  font-weight: 800;
  margin-bottom: 24px;
}

.generic-page-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--w2);
}

.generic-page-content p {
  margin-bottom: 1em;
}

@media (min-width: 1024px) {
  .generic-page {
    padding: 140px 0 80px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* ============================================================
   PAGES DÉTAIL SERVICE
   ============================================================ */

/* --- Hero --- */
.svc-detail-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.svc-detail-hero-content {
  flex: 1;
}

.svc-detail-hero-content h1 {
  margin: 12px 0 20px;
}

.svc-detail-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.svc-detail-icon-wrap {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  background: var(--v4);
  color: var(--v);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .svc-detail-hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .svc-detail-icon-wrap {
    width: 140px;
    height: 140px;
    border-radius: 32px;
    flex-shrink: 0;
  }
}

/* --- Grille des prestations --- */
.svc-prestations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.svc-prestation-card {
  background: var(--bg);
  border: 1px solid rgb(25 9 51 / 20%);
  border-radius: var(--r2);
  padding: 28px;
  transition: background 0.3s, border-color 0.3s;
}

.svc-prestation-card:hover {
  background: #fff;
  border-color: var(--v);
}

.svc-prestation-icon {
  margin-bottom: 16px;
}

.svc-prestation-card h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.svc-prestation-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.svc-prestation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.svc-prestation-list li {
  font-size: 0.8125rem;
  color: var(--w2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.svc-prestation-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--g2);
  flex-shrink: 0;
}

.svc-prestation-meta {
  padding-top: 16px;
  border-top: 1px solid var(--bd);
}

.svc-prestation-delay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--g2);
}

@media (min-width: 768px) {
  .svc-prestations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .svc-prestations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Process --- */
.svc-process-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--bd);
  border: 1px solid var(--bd2);
  border-radius: var(--r2);
  overflow: hidden;
}

.svc-process-step {
  background: var(--bg2);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background 0.3s;
}

.svc-process-step:hover {
  background: #fff;
}

.svc-process-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--v);
  opacity: 0.25;
  flex-shrink: 0;
  min-width: 40px;
  letter-spacing: -0.02em;
}

.svc-process-step:hover .svc-process-num {
  opacity: 1;
}

.svc-process-body h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.svc-process-body p {
  font-size: 0.875rem;
  line-height: 1.65;
}

/* --- Stack techno --- */
.svc-tech-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--bd);
  border: 1px solid var(--bd2);
  border-radius: var(--r2);
  overflow: hidden;
}

.svc-tech-item {
  background: var(--bg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 0.3s;
}

.svc-tech-item:hover {
  background: #fff;
}

.svc-tech-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--v), var(--g2));
  flex-shrink: 0;
}

.svc-tech-name {
  font-size: 0.9375rem;
  font-weight: 800;
}

.svc-tech-desc {
  font-size: 0.75rem;
  color: var(--w3);
  margin-top: 2px;
}

@media (min-width: 768px) {
  .svc-tech-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Pourquoi nous --- */
.svc-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.svc-why-card {
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: var(--r2);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s, border-color 0.3s;
  color: var(--v);
}

.svc-why-card:hover {
  background: #fff;
  border-color: var(--v);
}

.svc-why-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--w);
}

.svc-why-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--w2);
}

@media (min-width: 600px) {
  .svc-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

