/* =====================================================================
   NITA — Feuille de style unique du site statique
   ---------------------------------------------------------------------
   Charte graphique officielle NITA
   Orange NITA : #E84D0E  (HSL 17 89% 48%)
   Bleu NITA   : #004F95  (HSL 208 100% 29%)

   ORGANISATION DU FICHIER (utilisez la recherche Ctrl+F sur les titres) :
     1.  VARIABLES (couleurs, rayons)
     2.  RESET & BASE
     3.  UTILITAIRES NITA (bandeau, motif, dégradés, accents de titre)
     4.  BOUTONS
     5.  CARTES
     6.  EN-TÊTE (header + navigation)
     7.  PIED DE PAGE (footer)
     8.  CARROUSEL D'ACCUEIL
     9.  SIMULATEUR DE TRANSFERT
     10. CHIFFRES CLÉS
     11. TÉLÉCHARGEMENT MYNITA
     12. SERVICES (grille de cartes)
     13. NOS ATOUTS
     14. PRÉSENCE (13 pays)
     15. TÉMOIGNAGES
     16. FAQ / ACCORDÉON
     17. BLOC CTA
     18. PAGE SERVICE (détail)
     19. VITRINE CARTES VISA
     20. CARTE INTERACTIVE DE L'AFRIQUE
     21. FORMULAIRES
     22. PAGES ÉDITORIALES (à propos, mentions, confidentialité, 404)
     23. BANNIÈRE COOKIES
     24. MODALE VIDÉO
     25. ANIMATIONS D'APPARITION
   ===================================================================== */

/* =====================================================================
   1. VARIABLES
   ===================================================================== */
:root {
  --background: 0 0% 100%;
  --foreground: 208 100% 15%;
  --card: 0 0% 100%;
  --card-foreground: 208 100% 15%;
  --primary: 17 89% 48%; /* Orange NITA #E84D0E */
  --primary-foreground: 0 0% 100%;
  --secondary: 210 40% 96%;
  --secondary-foreground: 208 100% 22%;
  --muted: 210 40% 96%;
  --muted-foreground: 215 16% 42%;
  --accent: 208 100% 29%; /* Bleu NITA #004F95 */
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 214 25% 88%;
  --input: 214 25% 88%;
  --ring: 17 89% 48%;
  --radius: 0.5rem;

  /* Teintes fixes de la charte */
  --nita-orange: #e84d0e;
  --nita-orange-light: #ff7a3d;
  --nita-orange-dark: #c13f0b;
  --nita-blue: #004f95;
  --nita-blue-dark: #003a6e;

  /* Gris neutres (équivalents slate) */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.dark {
  --background: 208 60% 6%;
  --foreground: 0 0% 98%;
  --card: 208 50% 10%;
  --card-foreground: 0 0% 98%;
  --primary: 17 89% 54%;
  --primary-foreground: 0 0% 100%;
  --secondary: 208 40% 14%;
  --secondary-foreground: 0 0% 98%;
  --muted: 208 40% 14%;
  --muted-foreground: 215 20% 70%;
  --accent: 208 100% 45%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 63% 41%;
  --destructive-foreground: 0 0% 98%;
  --border: 208 40% 18%;
  --input: 208 40% 18%;
  --ring: 17 89% 54%;
}

/* =====================================================================
   2. RESET & BASE
   ===================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid hsl(var(--border));
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "rlig" 1, "calt" 1;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
fieldset {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
h1,
h2,
h3,
h4 {
  letter-spacing: -0.025em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Reproduit le comportement du site d'origine : les liens héritent
   de la couleur et de la décoration du texte environnant. */
a {
  color: inherit;
  text-decoration: inherit;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}
button {
  background: none;
  cursor: pointer;
  padding: 0;
}
textarea {
  resize: vertical;
}
fieldset {
  padding: 0;
}
legend {
  padding: 0;
}
strong,
b {
  font-weight: 700;
}
blockquote {
  margin: 0;
}

main {
  flex: 1 1 auto;
}

/* Conteneur central (max 1280 px, gouttière 1 rem) */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* Accessibilité */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.skip-link:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 50;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  padding: 0.5rem 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.text-balance {
  text-wrap: balance;
}

/* Icônes (SVG lucide inline) — taille par défaut et variantes */
.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.icon--sm {
  width: 0.875rem;
  height: 0.875rem;
}
.icon--xs {
  width: 0.75rem;
  height: 0.75rem;
}
.icon--md {
  width: 1.25rem;
  height: 1.25rem;
}
.icon--lg {
  width: 1.75rem;
  height: 1.75rem;
}
.icon--xl {
  width: 2rem;
  height: 2rem;
}
.icon--2xl {
  width: 3rem;
  height: 3rem;
}
.icon--3xl {
  width: 3.5rem;
  height: 3.5rem;
}

/* =====================================================================
   3. UTILITAIRES NITA
   ===================================================================== */

/* Bandeau orange signature de la charte */
.nita-bandeau {
  height: 0.25rem;
  width: 100%;
  background: linear-gradient(90deg, #e84d0e 0%, #ff7a3d 100%);
}

/* Fonds institutionnels */
.bg-nita-blue {
  background: linear-gradient(135deg, #004f95 0%, #003a6e 100%);
}
.bg-nita-blue-soft {
  background: linear-gradient(135deg, hsl(208 100% 97%) 0%, hsl(208 100% 94%) 100%);
}
.dark .bg-nita-blue-soft {
  background: linear-gradient(135deg, hsl(208 50% 12%) 0%, hsl(208 50% 9%) 100%);
}
.bg-nita-orange-soft {
  background: linear-gradient(135deg, hsl(17 100% 97%) 0%, hsl(17 100% 94%) 100%);
}
.dark .bg-nita-orange-soft {
  background: linear-gradient(135deg, hsl(17 50% 12%) 0%, hsl(17 50% 9%) 100%);
}

/* Motif chevrons NITA (posé en absolute sur une section relative) */
.nita-pattern-overlay {
  position: absolute;
  inset: 0;
  background-image: url("../img/nita-pattern.svg");
  background-repeat: repeat;
  background-size: 320px 320px;
  opacity: 0.1;
  pointer-events: none;
}
.dark .nita-pattern-overlay {
  opacity: 0.14;
}

/* Accent décoratif sous les titres de section */
.nita-title-accent::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  margin-top: 14px;
  background: linear-gradient(90deg, #e84d0e 0%, #ff7a3d 100%);
}
.nita-title-accent--center::after {
  margin-left: auto;
  margin-right: auto;
}

/* Titres de section réutilisés partout */
.section-head {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
}
.section-head--tight {
  margin-bottom: 2.5rem;
}
.section-head--left {
  max-width: 42rem;
  margin-inline: 0;
  text-align: left;
  margin-bottom: 3rem;
}
.section-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
.section-sub {
  margin-top: 1.5rem;
  color: hsl(var(--muted-foreground));
  text-wrap: balance;
}
.section-eyebrow {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  color: var(--nita-orange);
}
.section-eyebrow--light {
  color: var(--nita-orange-light);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* En-tête de page interne (Services, Présence, Partenaires, etc.) */
.page-head {
  max-width: 48rem;
}
.page-head__kicker {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
}
.page-head__title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .page-head__title {
    font-size: 3rem;
    line-height: 1;
  }
}
.page-head__lead {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: hsl(var(--muted-foreground));
  text-wrap: balance;
}

/* ---------------------------------------------------------------------
   RYTHME VERTICAL DES SECTIONS
   ---------------------------------------------------------------------
   Toute section de premier niveau porte la classe .sec. Le rembourrage
   est TOUJOURS sur la <section> (jamais sur le .container intérieur) :
   c'est ce qui permet la règle de « non-cumul » ci-dessous.

   Sans cette règle, deux sections consécutives additionnent leurs
   rembourrages (80 + 80 = 160 px de vide), ce qui creusait des trous
   entre les blocs. La 2e section réduit donc son rembourrage haut.

   Variantes (à placer APRÈS la règle de non-cumul pour la neutraliser) :
     .sec--tight  rembourrage réduit (blocs intercalaires, ex. la carte)
     .sec--head   en-tête de page
     .sec--flat   aucun rembourrage (bandeaux pleine largeur)
   --------------------------------------------------------------------- */
.sec {
  padding-block: 5rem;
}
.sec + .sec {
  padding-top: 3rem;
}
/* Une bande de couleur garde un rembourrage symétrique : la règle de
   non-cumul ci-dessus décentrerait son contenu vers le haut. Le changement
   de fond suffit déjà à séparer visuellement les blocs. */
.sec.sec--band {
  padding-block: 5rem;
}
.sec.sec--tight {
  padding-block: 2.5rem;
}
.sec.sec--head {
  padding-block: 4rem 2.5rem;
}
.sec.sec--flat {
  padding-block: 0;
}
/* Le bloc CTA est une boîte colorée avec son propre rembourrage intérieur :
   inutile d'ajouter 80 px au-dessus. */
.sec.sec--cta {
  padding-block: 2.5rem 4rem;
}
.sec--relative {
  position: relative;
  overflow: hidden;
}

/* =====================================================================
   4. BOUTONS
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  height: 2.5rem;
  padding-inline: 1rem;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn:hover {
  background: hsl(var(--primary) / 0.9);
}
.btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px hsl(var(--background)),
    0 0 0 4px hsl(var(--ring));
}
.btn[disabled] {
  pointer-events: none;
  opacity: 0.5;
}

.btn--outline {
  border: 1px solid hsl(var(--input));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}
.btn--outline:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn--ghost {
  background: transparent;
  color: hsl(var(--foreground));
}
.btn--ghost:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn--sm {
  height: 2.25rem;
  padding-inline: 0.75rem;
}
.btn--lg {
  height: 3rem;
  padding-inline: 2rem;
  font-size: 1rem;
  line-height: 1.5rem;
}
.btn--icon {
  height: 2.5rem;
  width: 2.5rem;
  padding: 0;
}
.btn--white {
  background: #fff;
  color: var(--nita-blue);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}
.btn--white:hover {
  background: rgb(255 255 255 / 0.9);
}
.btn--block {
  width: 100%;
}
@media (min-width: 640px) {
  .btn--block {
    width: auto;
  }
}

/* =====================================================================
   5. CARTES
   ===================================================================== */
.card {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  box-shadow: var(--shadow-sm);
}
.card__body {
  padding: 1.5rem;
}
.card__body--lg {
  padding: 2rem;
}
.card__body--sm {
  padding: 1rem;
}
.card--full {
  height: 100%;
}
.card--hover-md {
  transition: box-shadow 0.15s;
}
.card--hover-md:hover {
  box-shadow: var(--shadow-md);
}

/* Grilles de cartes réutilisées */
.grid-3 {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.grid-cards {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .grid-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =====================================================================
   6. EN-TÊTE (header + navigation)
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background) / 0.6);
  backdrop-filter: blur(4px);
  transition: background-color 0.15s;
}
.site-header.is-scrolled {
  background: hsl(var(--background) / 0.9);
  backdrop-filter: blur(12px);
}
.site-header__bar {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
}
.logo__img {
  height: 48px;
  width: 137px;
}
.dark .logo--auto .logo__frame {
  background: #fff;
  border-radius: calc(var(--radius) - 2px);
  padding: 0.375rem 0.625rem;
  box-shadow: var(--shadow-sm);
}
.logo__frame {
  display: inline-flex;
  align-items: center;
}
.logo--dark .logo__frame {
  background: #fff;
  border-radius: calc(var(--radius) - 2px);
  padding: 0.375rem 0.625rem;
  box-shadow: var(--shadow-sm);
}
.logo--dark .logo__img {
  height: 56px;
  width: 160px;
}

/* Navigation principale (desktop) */
.nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
}
.nav__link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  border-radius: calc(var(--radius) - 2px);
  color: hsl(var(--muted-foreground));
  transition: color 0.15s;
}
.nav__link:hover {
  color: hsl(var(--foreground));
}
.nav__link.is-active {
  color: hsl(var(--primary));
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-cta {
  display: none;
}
@media (min-width: 640px) {
  .header-cta {
    display: inline-flex;
  }
}
.menu-toggle {
  display: inline-flex;
}
@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}
.theme-toggle .icon-sun {
  display: none;
}
.dark .theme-toggle .icon-sun {
  display: block;
}
.dark .theme-toggle .icon-moon {
  display: none;
}

/* Navigation mobile */
.mobile-nav {
  display: none;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background));
}
.mobile-nav.is-open {
  display: block;
}
@media (min-width: 1024px) {
  .mobile-nav,
  .mobile-nav.is-open {
    display: none;
  }
}
.mobile-nav__list {
  padding-block: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}
.mobile-nav__link:hover {
  background: hsl(var(--secondary));
}
.mobile-nav__link.is-active {
  background: hsl(var(--secondary));
  color: hsl(var(--primary));
}

/* =====================================================================
   7. PIED DE PAGE
   ===================================================================== */
.site-footer {
  /* Pas de marge haute : la dernière section fournit déjà son rembourrage bas
     (sinon on cumulait 80 px + 96 px de vide avant le pied de page). */
  margin-top: 0;
  color: #fff;
}
.site-footer__grid {
  padding-block: 3.5rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .site-footer__brand {
    grid-column: span 2 / span 2;
  }
}
.site-footer__desc {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(255 255 255 / 0.8);
  max-width: 28rem;
}
.social {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.5rem;
}
.social__link {
  display: grid;
  place-items: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.1);
  transition: background-color 0.15s;
}
.social__link:hover {
  background: var(--nita-orange);
}
.site-footer__title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--nita-orange-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  line-height: 1rem;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.site-footer__links a {
  color: rgb(255 255 255 / 0.8);
  transition: color 0.15s;
}
.site-footer__links a:hover {
  color: var(--nita-orange-light);
}
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(255 255 255 / 0.8);
}
.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.site-footer__contact li.is-centered {
  align-items: center;
}
.site-footer__contact .icon {
  color: var(--nita-orange-light);
  margin-top: 0.125rem;
}
.site-footer__contact li.is-centered .icon {
  margin-top: 0;
}
.site-footer__phones {
  display: flex;
  flex-direction: column;
}
.site-footer__phones a:hover,
.site-footer__contact a:hover {
  color: #fff;
}
.site-footer__phone-alt {
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgb(255 255 255 / 0.7);
}
.site-footer__mail {
  word-break: break-all;
}
.site-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 0.1);
}
.site-footer__bottom-inner {
  padding-block: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgb(255 255 255 / 0.6);
}
@media (min-width: 768px) {
  .site-footer__bottom-inner {
    flex-direction: row;
  }
}
.site-footer__legal {
  display: flex;
  gap: 1rem;
}
.site-footer__legal a:hover {
  color: #fff;
}

/* =====================================================================
   8. CARROUSEL D'ACCUEIL
   ===================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--nita-blue-dark);
  color: #fff;
}
.hero:focus-within {
  box-shadow: inset 0 0 0 2px var(--nita-orange-light);
}
.hero__stage {
  position: relative;
  height: 70vh;
  min-height: 480px;
  max-height: 720px;
  width: 100%;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease-out;
}
.hero__slide.is-active {
  opacity: 1;
}
.hero__img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(4px);
  transform: scale(1.05);
}
.hero__img--right {
  object-position: right center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 36, 67, 0.92) 0%,
    rgba(0, 36, 67, 0.65) 50%,
    rgba(0, 36, 67, 0.35) 100%
  );
}
.hero__bandeau {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero__content {
  max-width: 42rem;
}
.hero__panel {
  display: none;
}
.hero__panel.is-active {
  display: block;
  animation: hero-in 0.5s ease-out;
}
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--nita-orange);
  color: #fff;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.25rem;
}
.hero__title {
  font-size: 2.25rem;
  font-weight: 700;
  /* déclaré ici car le titre des diapositives 2+ est un <p> (un seul <h1> par page) */
  letter-spacing: -0.025em;
  text-wrap: balance;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 3rem;
  }
}
@media (min-width: 1024px) {
  .hero__title {
    font-size: 3.75rem;
  }
}
.hero__subtitle {
  font-size: 1rem;
  line-height: 1.5rem;
  color: rgb(255 255 255 / 0.9);
  max-width: 36rem;
  margin-bottom: 2rem;
  text-wrap: balance;
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05));
}
@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: calc(var(--radius) - 2px);
  background: var(--nita-orange);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: background-color 0.15s;
}
.hero__cta:hover {
  background: var(--nita-orange-dark);
}
.hero__cta--ghost {
  background: rgb(255 255 255 / 0.1);
  backdrop-filter: blur(4px);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3);
}
.hero__cta--ghost:hover {
  background: rgb(255 255 255 / 0.2);
}
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.15);
  backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgb(255 255 255 / 0.2);
  transition: background-color 0.15s;
}
.hero__arrow:hover {
  background: rgb(255 255 255 / 0.25);
}
.hero__arrow:focus-visible {
  outline: 2px solid var(--nita-orange-light);
  outline-offset: 2px;
}
.hero__arrow--prev {
  left: 0.75rem;
}
.hero__arrow--next {
  right: 0.75rem;
}
@media (min-width: 768px) {
  .hero__arrow--prev {
    left: 1.5rem;
  }
  .hero__arrow--next {
    right: 1.5rem;
  }
}
.hero__playpause {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  background: rgb(0 0 0 / 0.4);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background-color 0.15s;
}
.hero__playpause:hover {
  background: rgb(0 0 0 / 0.6);
}
@media (min-width: 768px) {
  .hero__playpause {
    top: 1.5rem;
    right: 1.5rem;
  }
}
.hero__playpause .icon-play {
  display: none;
}
.hero.is-paused .hero__playpause .icon-play {
  display: block;
}
.hero.is-paused .hero__playpause .icon-pause {
  display: none;
}
.hero__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.hero__dot {
  height: 0.5rem;
  width: 0.625rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.4);
  transition: all 0.15s;
}
.hero__dot:hover {
  background: rgb(255 255 255 / 0.7);
}
.hero__dot.is-active {
  width: 2.5rem;
  background: var(--nita-orange);
}

/* =====================================================================
   9. SIMULATEUR DE TRANSFERT
   ===================================================================== */
.simulator__card {
  max-width: 56rem;
  margin-inline: auto;
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-2xl), 0 0 0 1px rgb(0 0 0 / 0.05);
  overflow: hidden;
  display: grid;
}
@media (min-width: 1024px) {
  .simulator__card {
    grid-template-columns: 260px 1fr;
  }
}
.simulator__aside {
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 1024px) {
  .simulator__aside {
    padding: 2.5rem;
  }
}
.simulator__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.15);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  width: fit-content;
}
.simulator__aside h3 {
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 700;
}
@media (min-width: 768px) {
  .simulator__aside h3 {
    font-size: 1.875rem;
  }
}
.simulator__aside p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(255 255 255 / 0.8);
  margin-top: 0.75rem;
}
.simulator__form {
  padding: 2rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .simulator__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .simulator__form {
    padding: 2.5rem;
  }
}
.simulator__full {
  grid-column: 1 / -1;
}
.seg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  border-radius: 0.75rem;
  background: var(--slate-100);
  padding: 0.25rem;
}
.seg__btn {
  border-radius: var(--radius);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--slate-600);
  transition: background-color 0.15s, color 0.15s;
}
.seg__btn:hover {
  color: var(--slate-900);
}
.seg__btn[aria-selected="true"] {
  background: #fff;
  color: var(--nita-blue);
  box-shadow: var(--shadow-sm);
}
.seg__btn span {
  display: block;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 400;
  opacity: 0.7;
}
.sim-label {
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sim-field {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--slate-300);
  background: var(--slate-50);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--slate-900);
}
.sim-field:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--nita-orange);
}
.sim-field--amount {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}
.sim-note {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--slate-500);
}
/* Message affiché quand la saisie dépasse le plafond compte à compte */
.sim-warning {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  line-height: 1.125rem;
  font-weight: 600;
  color: var(--nita-orange-dark);
  background: rgba(232, 77, 14, 0.08);
  border-left: 3px solid var(--nita-orange);
  border-radius: 0.25rem;
  padding: 0.5rem 0.625rem;
}
.sim-result {
  grid-column: 1 / -1;
  display: grid;
  gap: 1rem;
  border-radius: 0.75rem;
  background: var(--slate-50);
  padding: 1.25rem;
  border: 1px solid var(--slate-100);
}
@media (min-width: 640px) {
  .sim-result {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.sim-result__label {
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  font-weight: 600;
}
.sim-result__value {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--nita-blue);
}
@media (min-width: 768px) {
  .sim-result__value {
    font-size: 1.25rem;
  }
}
.sim-result__value--orange {
  color: var(--nita-orange);
}
.sim-result__action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.sim-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  background: var(--nita-orange);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  width: 100%;
  transition: background-color 0.15s;
}
.sim-send:hover {
  background: var(--nita-orange-dark);
}
@media (min-width: 640px) {
  .sim-send {
    width: auto;
  }
}
.sim-hidden {
  display: none !important;
}

/* =====================================================================
   10. CHIFFRES CLÉS
   ===================================================================== */
.stats {
  position: relative;
  color: #fff;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.stats__grid > * + * {
  border-left: 1px solid rgb(255 255 255 / 0.15);
  border-top: 1px solid rgb(255 255 255 / 0.15);
}
@media (min-width: 768px) {
  .stats__grid > * + * {
    border-top-width: 0;
  }
}
.stat {
  padding: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .stat {
    padding: 2.5rem;
  }
}
.stat__value {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}
@media (min-width: 768px) {
  .stat__value {
    font-size: 3rem;
    line-height: 1;
  }
}
.stat__num {
  color: var(--nita-orange-light);
}
.stat__label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(255 255 255 / 0.8);
}
.stat__sub {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgb(255 255 255 / 0.6);
  text-transform: none;
  letter-spacing: normal;
}

/* =====================================================================
   11. TÉLÉCHARGEMENT MYNITA
   ===================================================================== */
.mynita {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.mynita__blob {
  position: absolute;
  height: 24rem;
  width: 24rem;
  border-radius: 9999px;
  opacity: 0.25;
  filter: blur(64px);
  pointer-events: none;
}
.mynita__blob--tl {
  top: -8rem;
  left: -8rem;
  background: radial-gradient(circle, #e84d0e 0%, transparent 70%);
}
.mynita__blob--br {
  bottom: -8rem;
  right: -8rem;
  background: radial-gradient(circle, #ff7a3d 0%, transparent 70%);
}
.mynita__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .mynita__grid {
    grid-template-columns: 1fr auto;
    gap: 4rem;
  }
}
.mynita__title {
  font-size: 1.875rem;
  font-weight: 700;
  text-wrap: balance;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .mynita__title {
    font-size: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .mynita__title {
    font-size: 3rem;
  }
}
.mynita__lead {
  font-size: 1rem;
  line-height: 1.5rem;
  color: rgb(255 255 255 / 0.85);
  max-width: 36rem;
  margin-bottom: 2rem;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .mynita__lead {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}
.mynita__highlights {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .mynita__highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.mynita__highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(255 255 255 / 0.9);
}
.mynita__check {
  display: grid;
  place-items: center;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 9999px;
  background: var(--nita-orange);
  flex-shrink: 0;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  background: #000;
  padding: 0.625rem 1rem;
  color: #fff;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgb(255 255 255 / 0.1);
  transition: background-color 0.15s;
}
.store-btn:hover {
  background: #27272a;
}
.store-btn__icon {
  height: 1.75rem;
  width: 1.75rem;
  flex-shrink: 0;
}
.store-btn__top {
  font-size: 10px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(255 255 255 / 0.7);
}
.store-btn__main {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
}

/* Duo de mockups téléphones */
.phones {
  position: relative;
  display: none;
  width: 440px;
  height: 560px;
}
@media (min-width: 1024px) {
  .phones {
    display: block;
  }
}
.phone {
  position: absolute;
  aspect-ratio: 9 / 19;
  border-radius: 2rem;
  background: #000;
  padding: 0.5rem;
  box-shadow: var(--shadow-2xl);
}
.phone--back {
  left: 0;
  top: 0;
  width: 240px;
  transform: rotate(-6deg);
  transform-origin: bottom right;
  box-shadow: var(--shadow-2xl), 0 0 0 4px rgb(255 255 255 / 0.1);
}
.phone--front {
  right: 0;
  bottom: 0;
  width: 260px;
  transform: rotate(5deg);
  transform-origin: top left;
  z-index: 10;
  box-shadow: var(--shadow-2xl), 0 0 0 4px rgb(255 255 255 / 0.15);
}
.phone__screen {
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: 1.6rem;
  overflow: hidden;
  background: #fff;
}
.phone__screen img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.phone__notch {
  position: absolute;
  left: 50%;
  top: 0.5rem;
  transform: translateX(-50%);
  height: 1rem;
  width: 5rem;
  border-radius: 0 0 1rem 1rem;
  background: #000;
}
.phones__halo {
  position: absolute;
  inset: -2rem;
  border-radius: 9999px;
  opacity: 0.3;
  filter: blur(64px);
  z-index: -10;
  background: radial-gradient(circle, #e84d0e 0%, transparent 70%);
}

/* =====================================================================
   12. SERVICES (grille de cartes)
   ===================================================================== */
.service-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.15s;
}
.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-0.25rem);
}
.service-card__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.25rem;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
  z-index: 10;
  background: var(--accent-color);
}
.service-card:hover .service-card__bar {
  transform: scaleX(1);
}
.service-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.service-card__icon {
  display: grid;
  place-items: center;
  height: 3rem;
  width: 3rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  transition: transform 0.15s;
  background: var(--accent-soft);
  color: var(--accent-color);
}
.service-card:hover .service-card__icon {
  transform: scale(1.1);
}
.service-card__title {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}
.service-card__title a {
  border-radius: var(--radius);
}
.service-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.service-card__title a:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px hsl(var(--background)),
    0 0 0 4px hsl(var(--ring));
}
.service-card__desc {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
  flex: 1 1 auto;
}
.service-card__actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.5rem;
}
.service-card__demo {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  opacity: 0.9;
  color: var(--accent-color);
  border-radius: 0.25rem;
  transition: opacity 0.15s, gap 0.15s;
}
.service-card__demo:hover {
  opacity: 1;
  gap: 0.5rem;
}
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  opacity: 0.8;
  color: var(--accent-color);
  transition: opacity 0.15s, gap 0.15s;
}
.service-card:hover .service-card__more {
  opacity: 1;
  gap: 0.5rem;
}
/* Palettes alternées (orange / bleu) */
.accent-orange {
  --accent-color: #e84d0e;
  --accent-soft: rgba(232, 77, 14, 0.12);
}
.accent-blue {
  --accent-color: #004f95;
  --accent-soft: rgba(0, 79, 149, 0.12);
}

/* =====================================================================
   13. NOS ATOUTS
   ===================================================================== */
.advantages {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.advantages__blob {
  position: absolute;
  top: 0;
  right: 0;
  height: 18rem;
  width: 18rem;
  border-radius: 9999px;
  opacity: 0.2;
  filter: blur(64px);
  background: radial-gradient(circle, #e84d0e 0%, transparent 70%);
  pointer-events: none;
}
.advantages__head {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3.5rem;
}
.advantages__rule {
  margin: 1.25rem auto 0;
  height: 0.25rem;
  width: 3.5rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, #e84d0e 0%, #ff7a3d 100%);
}
.advantages__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) {
  .advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .advantages__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.advantage {
  text-align: center;
}
.advantage__icon {
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  height: 4rem;
  width: 4rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #e84d0e 0%, #ff7a3d 100%);
  box-shadow: 0 12px 24px -8px rgba(232, 77, 14, 0.45);
  color: #fff;
}
.advantage h3 {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.advantage p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(255 255 255 / 0.8);
}

/* =====================================================================
   14. PRÉSENCE (13 pays)
   ===================================================================== */
.countries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 56rem;
  margin-inline: auto;
}
@media (min-width: 640px) {
  .countries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.country {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent-color);
  background: hsl(var(--card));
  padding: 1rem;
  transition: box-shadow 0.15s;
}
.country:hover {
  box-shadow: var(--shadow-md);
}
.country .icon {
  color: var(--accent-color);
  transition: transform 0.15s;
}
.country:hover .icon {
  transform: scale(1.1);
}
.country span {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}
@media (min-width: 640px) {
  .country--last {
    grid-column: span 3 / span 3;
    justify-self: center;
    width: 33.3333%;
  }
}

/* =====================================================================
   15. TÉMOIGNAGES
   ===================================================================== */
.testimonial {
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  border-top: 4px solid var(--accent-color);
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s;
}
.testimonial:hover {
  box-shadow: var(--shadow-xl);
}
.testimonial__body {
  padding: 1.5rem;
}
.testimonial .icon--xl {
  margin-bottom: 0.75rem;
  color: var(--accent-color);
}
.testimonial blockquote {
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial__name {
  font-weight: 700;
  color: var(--accent-color);
}
.testimonial__role {
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  line-height: 1rem;
  margin-top: 0.125rem;
}
.testimonial__meta {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* =====================================================================
   16. FAQ / ACCORDÉON
   ===================================================================== */
.faq__wrap {
  max-width: 42rem;
  margin-inline: auto;
}
.accordion {
  width: 100%;
  background: hsl(var(--card));
  border-radius: 0.75rem;
  padding-inline: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.accordion__item {
  border-bottom: 1px solid hsl(var(--border));
}
.accordion__item:last-child {
  border-bottom-width: 0;
}
.accordion__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  text-align: left;
  font-weight: 600;
  color: inherit;
  transition: color 0.15s;
  list-style: none;
}
.accordion__trigger::-webkit-details-marker {
  display: none;
}
.accordion__trigger:hover {
  color: var(--nita-orange);
}
.accordion__trigger .icon {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.accordion__item[open] > .accordion__trigger .icon {
  transform: rotate(180deg);
}
.accordion__panel {
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.accordion__panel-inner {
  padding-bottom: 1rem;
  color: hsl(var(--muted-foreground));
}

/* =====================================================================
   17. BLOC CTA
   ===================================================================== */
.cta__box {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  color: #fff;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, #e84d0e 0%, #c13f0b 35%, #004f95 100%);
}
@media (min-width: 768px) {
  .cta__box {
    padding: 4rem;
  }
}
.cta__blob {
  position: absolute;
  height: 18rem;
  width: 18rem;
  border-radius: 9999px;
  opacity: 0.3;
  filter: blur(64px);
  pointer-events: none;
}
.cta__blob--tl {
  top: -5rem;
  left: -5rem;
  background: radial-gradient(circle, #ff7a3d 0%, transparent 70%);
}
.cta__blob--br {
  bottom: -5rem;
  right: -5rem;
  background: radial-gradient(circle, #2e76c0 0%, transparent 70%);
}
.cta__inner {
  position: relative;
}
.cta__title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  text-wrap: balance;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .cta__title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
.cta__lead {
  max-width: 36rem;
  margin: 0 auto 2rem;
  color: rgb(255 255 255 / 0.9);
}

/* =====================================================================
   18. PAGE SERVICE (détail)
   ===================================================================== */
.breadcrumb {
  padding-top: 1.5rem;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
  flex-wrap: wrap;
}
.breadcrumb a:hover {
  color: hsl(var(--foreground));
}
.breadcrumb__current {
  font-weight: 500;
  color: hsl(var(--foreground));
}

.service-hero {
  position: relative;
  overflow: hidden;
  padding-block: 3.5rem;
}
@media (min-width: 768px) {
  .service-hero {
    padding-block: 5rem;
  }
}
.service-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -10;
}
.service-hero__inner {
  /* rembourrage porté par .sec sur la <section> (règle de non-cumul) */
  padding-block: 0;
}
.service-hero__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.service-hero__icon {
  display: grid;
  place-items: center;
  height: 4rem;
  width: 4rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  color: #fff;
  flex-shrink: 0;
}
.service-hero__icon--gp {
  background: linear-gradient(135deg, #e84d0e 0%, #c13f0b 100%);
}
.service-hero__icon--pro {
  background: linear-gradient(135deg, #004f95 0%, #003a6e 100%);
}
.service-hero__audience {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-color);
}
.service-hero__title {
  font-size: 2.25rem;
  font-weight: 700;
  text-wrap: balance;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .service-hero__title {
    font-size: 3rem;
  }
}
@media (min-width: 1024px) {
  .service-hero__title {
    font-size: 3.75rem;
  }
}
.service-hero__lead {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: hsl(var(--muted-foreground));
  text-wrap: balance;
}
.service-hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.service-hero__body {
  max-width: 48rem;
}

.video-section {
  padding-top: 3rem;
}
.video-section__wrap {
  max-width: 56rem;
  margin-inline: auto;
}
.video-section__title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  text-wrap: balance;
  margin-bottom: 2rem;
  text-align: center;
}
@media (min-width: 768px) {
  .video-section__title {
    font-size: 1.875rem;
  }
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-2xl), 0 0 0 1px rgb(0 0 0 / 0.05);
  background: #000;
}
.video-frame video,
.video-frame iframe {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
  border: 0;
}

.feature-card__body {
  padding: 1.5rem;
}
.feature-card .icon--md {
  margin-bottom: 0.75rem;
  color: var(--accent-color);
}
.feature-card h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}
.feature-card p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
}

.steps {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.step {
  border-radius: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.15);
  background: rgb(255 255 255 / 0.05);
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}
.step__num {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 9999px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #e84d0e 0%, #ff7a3d 100%);
}
.step h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(255 255 255 / 0.8);
}

.usecases__wrap {
  max-width: 48rem;
  margin-inline: auto;
}
.usecases {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .usecases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.usecase {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.25rem;
  transition: box-shadow 0.15s;
}
.usecase:hover {
  box-shadow: var(--shadow-sm);
}
.usecase .icon {
  margin-top: 0.125rem;
  color: var(--accent-color);
}
.usecase span {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* Services associés (bas des fiches services) */
.related {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.related__card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.related__card:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.related__icon {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.625rem;
  background: var(--accent-soft);
  color: var(--accent-color);
}
.related__body {
  flex: 1 1 auto;
  min-width: 0;
}
.related__title {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.375rem;
  margin-bottom: 0.25rem;
  color: var(--accent-color);
}
.related__desc {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
}
.related__arrow {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 0.625rem;
  transition: transform 0.15s;
}
.related__card:hover .related__arrow {
  transform: translateX(3px);
}

.order-section {
  scroll-margin-top: 5rem;
}
.order-section__wrap {
  max-width: 48rem;
  margin-inline: auto;
}
.order-section__box {
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .order-section__box {
    padding: 2rem;
  }
}

/* Couleurs d'accent par audience (page service) */
.accent-gp {
  --accent-color: #e84d0e;
}
.accent-pro {
  --accent-color: #004f95;
}

/* =====================================================================
   19. VITRINE CARTES VISA
   ===================================================================== */
.visa {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--slate-50), #fff);
}
.dark .visa {
  background: linear-gradient(to bottom, #020617, #0f172a);
}
.visa__head {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}
.visa__title {
  font-size: 1.875rem;
  font-weight: 700;
  text-wrap: balance;
  color: var(--nita-blue-dark);
  line-height: 1.25;
}
.dark .visa__title {
  color: #fff;
}
@media (min-width: 768px) {
  .visa__title {
    font-size: 2.25rem;
  }
}
.visa__sub {
  margin-top: 1.25rem;
  color: hsl(var(--muted-foreground));
  text-wrap: balance;
}
.visa__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .visa__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .visa__grid {
    gap: 4rem;
  }
}
.visa__col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.visa__imgwrap {
  position: relative;
  width: 100%;
  max-width: 28rem;
}
.visa__halo {
  position: absolute;
  inset: -1.5rem;
  border-radius: 2.5rem;
  opacity: 0.3;
  filter: blur(64px);
  z-index: -10;
}
.visa__halo--blue {
  background: radial-gradient(circle, #004f95 0%, transparent 70%);
}
.visa__halo--orange {
  background: radial-gradient(circle, #e84d0e 0%, transparent 70%);
}
.visa__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
}
.visa__caption {
  text-align: center;
  margin-top: 2rem;
  max-width: 24rem;
}
.visa__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.visa__pill--orange {
  background: rgba(232, 77, 14, 0.1);
  color: var(--nita-orange);
}
.visa__pill--blue {
  background: rgba(0, 79, 149, 0.1);
  color: var(--nita-blue);
}
.dark .visa__pill--blue {
  color: #4a9be5;
}
.visa__caption h3 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.visa__caption p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* =====================================================================
   20. CARTE INTERACTIVE DE L'AFRIQUE
   ===================================================================== */
.map {
  position: relative;
}
.map__wrap {
  position: relative;
  max-width: 56rem;
  margin-inline: auto;
}
.map__pattern {
  border-radius: 1rem;
}
.map__svg {
  width: 100%;
  height: auto;
}
.map__other {
  fill: #e5e7eb;
  stroke: #fff;
  stroke-width: 0.5;
}
.map__nita {
  fill: #e84d0e;
  stroke: #fff;
  stroke-width: 0.5;
  outline: none;
  cursor: pointer;
  transition: fill 0.15s ease-out, filter 0.15s ease-out;
}
.map__nita:hover,
.map__nita:focus {
  fill: #ff7a3d;
  filter: drop-shadow(0 4px 8px rgba(232, 77, 14, 0.5));
}
.map__hq {
  fill: #004f95;
  stroke: #fff;
  stroke-width: 2;
}
.map__tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  transform: translate(-50%, -100%);
  border-radius: var(--radius);
  background: var(--slate-900);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgb(255 255 255 / 0.1);
  display: none;
}
.map__tooltip.is-visible {
  display: block;
}
.map__tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--slate-900);
}
.map__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: hsl(var(--muted-foreground));
}
.map__legend > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.map__swatch {
  display: inline-block;
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 0.25rem;
  box-shadow: 0 0 0 1px #fff;
}
.map__swatch--nita {
  background: #e84d0e;
}
.map__swatch--other {
  background: #e5e7eb;
}
.map__swatch--hq {
  border-radius: 9999px;
  background: var(--nita-blue);
  box-shadow: 0 0 0 2px #fff;
}

/* =====================================================================
   21. FORMULAIRES
   ===================================================================== */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form--order {
  gap: 1.5rem;
}
.form__row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}
.label .req {
  color: hsl(var(--destructive));
}
.input,
.textarea,
.select {
  display: flex;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--input));
  background: hsl(var(--background));
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--foreground));
}
.input,
.select {
  height: 2.5rem;
}
.textarea {
  min-height: 100px;
}
.input::placeholder,
.textarea::placeholder {
  color: hsl(var(--muted-foreground));
}
.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px hsl(var(--background)),
    0 0 0 4px hsl(var(--ring));
}
.field-error {
  font-size: 0.75rem;
  line-height: 1rem;
  color: hsl(var(--destructive));
}
.form__note {
  font-size: 0.75rem;
  line-height: 1rem;
  color: hsl(var(--muted-foreground));
}
.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--destructive) / 0.5);
  background: hsl(var(--destructive) / 0.1);
  padding: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--destructive));
}
.alert .icon {
  margin-top: 0.125rem;
}
.form-success {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 2rem;
  text-align: center;
}
.form-success .icon--2xl {
  color: hsl(var(--primary));
  margin: 0 auto 1rem;
}
.form-success h2 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.form-success p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}
.order-success {
  border-radius: 1rem;
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  padding: 2rem;
  text-align: center;
}
.dark .order-success {
  background: rgb(2 44 34 / 0.3);
  border-color: #065f46;
}
.order-success .icon--3xl {
  color: #059669;
  margin: 0 auto 1rem;
}
.order-success h2 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.order-success p {
  color: hsl(var(--muted-foreground));
  margin: 0 auto 1.5rem;
  max-width: 28rem;
}
.is-hidden {
  display: none !important;
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Choix du type de carte VISA */
.card-types {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .card-types {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.card-type {
  text-align: left;
  border-radius: 0.75rem;
  border: 2px solid var(--slate-200);
  padding: 1rem;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
  color: inherit;
}
.dark .card-type {
  border-color: var(--slate-700);
}
.card-type:hover {
  border-color: var(--slate-400);
}
.card-type[aria-pressed="true"] {
  border-color: var(--nita-orange);
  background: rgba(232, 77, 14, 0.05);
  box-shadow: var(--shadow-md);
}
.card-type__icon {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--slate-100);
  color: var(--slate-600);
}
.dark .card-type__icon {
  background: var(--slate-800);
  color: var(--slate-300);
}
.card-type[aria-pressed="true"] .card-type__icon {
  background: var(--nita-orange);
  color: #fff;
}
.card-type__title {
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 0.25rem;
}
.card-type__sub {
  font-size: 0.75rem;
  line-height: 1rem;
  color: hsl(var(--muted-foreground));
}
.fieldset-legend {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Page contact */
.contact__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: 1fr 2fr;
  }
}
.contact__box {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.5rem;
}
.contact__box h2 {
  font-weight: 600;
  margin-bottom: 1rem;
}
.contact__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.contact__list .icon--md {
  color: hsl(var(--primary));
  margin-top: 0.125rem;
}
.contact__label {
  font-weight: 500;
}
.contact__value,
.contact__list a {
  color: hsl(var(--muted-foreground));
}
.contact__list a {
  display: block;
}
.contact__list a:hover {
  color: hsl(var(--foreground));
}
.contact__form-box {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .contact__form-box {
    padding: 2rem;
  }
}
.contact__form-box > h2 {
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* =====================================================================
   22. PAGES ÉDITORIALES
   ===================================================================== */
.editorial {
  max-width: 48rem;
}
.editorial__title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .editorial__title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
.editorial__updated {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}
.editorial__body {
  color: hsl(var(--muted-foreground));
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.editorial__body--tight {
  gap: 1rem;
}
.editorial__body h2 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.editorial__body ul {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.editorial__body section > * + * {
  margin-top: 0.5rem;
}

/* Cartes vision / mission / valeurs */
.info-card__body {
  padding: 2rem;
}
.info-card .icon--xl {
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}
.info-card h2 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.info-card h2.mb-3 {
  margin-bottom: 0.75rem;
}
.info-card p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
}

/* Partenaires */
.partners {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
.partners__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.partners__head h2 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .partners__head h2 {
    font-size: 1.875rem;
  }
}
.partners__count {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: hsl(var(--primary));
  white-space: nowrap;
}
.partners__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .partners__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .partners__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Carte partenaire : zone logo de hauteur fixe + nom.
   La zone logo accueille soit un <img>, soit un monogramme typographique
   quand le logo officiel n'est pas encore disponible (voir README § 11). */
.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
a.partner:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.partner__logo {
  height: 3rem;
  display: grid;
  place-items: center;
  width: 100%;
}
.partner__logo img {
  max-height: 3rem;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* La plupart des logos officiels sont fournis sur fond blanc opaque.
   En mode sombre, on les pose donc sur un cartouche blanc — même solution
   que pour le logo NITA du pied de page — sinon un rectangle blanc
   disgracieux apparaît autour de chaque logo. */
.dark .partner__logo--framed,
.dark .cert__visual--framed {
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}
.dark .partner__logo--framed img {
  max-height: 2.5rem;
}
.dark .cert__visual--framed img {
  max-height: 3rem;
}
/* Monogramme de repli, aux couleurs NITA */
.partner__mono {
  display: grid;
  place-items: center;
  height: 3rem;
  padding-inline: 0.875rem;
  border-radius: 0.625rem;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  background: hsl(var(--secondary));
  color: var(--nita-blue);
}
.dark .partner__mono {
  color: #fff;
}
.partner__name {
  font-size: 0.8125rem;
  line-height: 1.15rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.partner__link {
  /* colle le lien en bas de carte, quelle que soit la longueur du nom */
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  line-height: 1rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  transition: color 0.15s;
}
a.partner:hover .partner__link {
  color: hsl(var(--primary));
}
.partner__link .icon {
  width: 0.625rem;
  height: 0.625rem;
}
.partners__note {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

/* =====================================================================
   22 bis. NOTRE PARCOURS (frise chronologique)
   ===================================================================== */
.timeline {
  max-width: 48rem;
  margin-inline: auto;
  position: relative;
  padding-left: 2.5rem;
}
/* Ligne verticale orange → bleu */
.timeline::before {
  content: "";
  position: absolute;
  left: 0.875rem;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background: linear-gradient(180deg, var(--nita-orange) 0%, var(--nita-blue) 100%);
}
.tl-item {
  position: relative;
  display: grid;
  gap: 0.25rem 1.5rem;
  align-items: center;
  padding: 1.25rem 1.75rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: var(--shadow-sm);
}
.tl-item + .tl-item {
  margin-top: 1rem;
}
@media (min-width: 640px) {
  .tl-item {
    grid-template-columns: 7rem 1fr;
  }
}
/* Pastille sur la ligne */
.tl-item::before {
  content: "";
  position: absolute;
  left: -2.0625rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 9999px;
  background: var(--nita-orange);
  border: 3px solid hsl(var(--background));
  box-shadow: 0 0 0 2px var(--nita-orange);
}
.tl-year {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #e84d0e 0%, #ff7a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tl-item h3 {
  font-size: 1.0625rem;
  line-height: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.tl-item p {
  font-size: 0.875rem;
  line-height: 1.375rem;
  color: hsl(var(--muted-foreground));
}
/* Jalon mis en avant */
.tl-item--featured {
  background: linear-gradient(135deg, #004f95 0%, #0560b8 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.tl-item--featured::before {
  background: var(--nita-orange-light);
  box-shadow: 0 0 0 2px var(--nita-orange-light);
}
.tl-item--featured p {
  color: rgb(255 255 255 / 0.85);
}
.tl-item--featured .tl-year {
  background: linear-gradient(90deg, #ff7a3d 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* =====================================================================
   22 ter. AGRÉMENTS & CERTIFICATIONS
   ===================================================================== */
.certs {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .certs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.15s;
}
.cert:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
/* Zone visuelle de hauteur fixe : logo officiel OU pictogramme */
.cert__visual {
  height: 3.5rem;
  display: grid;
  place-items: center;
}
.cert__visual img {
  max-height: 3.5rem;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.cert__badge {
  display: grid;
  place-items: center;
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #004f95 0%, #003a6e 100%);
  box-shadow: 0 10px 20px -10px rgba(0, 79, 149, 0.55);
}
.cert__badge--orange {
  background: linear-gradient(135deg, #e84d0e 0%, #ff7a3d 100%);
  box-shadow: 0 10px 20px -10px rgba(232, 77, 14, 0.55);
}
.cert__name {
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.375rem;
}
.cert__ref {
  font-size: 0.75rem;
  line-height: 1.125rem;
  color: hsl(var(--muted-foreground));
}
.certs__note {
  margin-top: 2rem;
  font-size: 0.75rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}

/* 404 */
.notfound {
  padding-block: 6rem;
  text-align: center;
}
@media (min-width: 768px) {
  .notfound {
    padding-block: 8rem;
  }
}
.notfound__title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  text-wrap: balance;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .notfound__title {
    font-size: 3.75rem;
    line-height: 1;
  }
}
.notfound p {
  color: hsl(var(--muted-foreground));
  max-width: 28rem;
  margin: 0 auto 2rem;
}

/* =====================================================================
   23. BANNIÈRE COOKIES
   ===================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 50;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  animation: fade-in 0.5s ease-out;
}
@media (min-width: 768px) {
  .cookie-banner {
    left: auto;
    right: 1rem;
    max-width: 28rem;
  }
}
.cookie-banner p {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.cookie-banner a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cookie-banner__actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* =====================================================================
   24. MODALE VIDÉO
   ===================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 0.85);
  backdrop-filter: blur(4px);
  padding: 1rem;
  animation: fade-in 0.2s ease-out;
}
@media (min-width: 768px) {
  .video-modal {
    padding: 2rem;
  }
}
.video-modal__inner {
  position: relative;
  width: 100%;
  max-width: 64rem;
}
.video-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: #fff;
}
.video-modal__head h2 {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .video-modal__head h2 {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}
.video-modal__close {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.1);
  backdrop-filter: blur(12px);
  color: #fff;
  flex-shrink: 0;
  transition: background-color 0.15s;
}
.video-modal__close:hover {
  background: rgb(255 255 255 / 0.2);
}
.video-modal__close:focus-visible {
  outline: 2px solid var(--nita-orange-light);
  outline-offset: 2px;
}
.video-modal .video-frame {
  box-shadow: var(--shadow-2xl), 0 0 0 1px rgb(255 255 255 / 0.1);
}
.video-modal__hint {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgb(255 255 255 / 0.6);
}
body.is-locked {
  overflow: hidden;
}

/* =====================================================================
   25. ANIMATIONS D'APPARITION
   Reproduit les fondus « au défilement » du site d'origine.
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.reveal--scale {
  transform: scale(0.95);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__panel.is-active {
    animation: none;
  }
  .hero__slide {
    transition-duration: 0ms;
  }
}
