/* ===== COMPONENTS.CSS — Header, nav, footer, cards, boutons, formulaires =====*/

/* ===== HEADER & NAVIGATION === */
header {
  background: rgba(var(--c-white-rgb), 0.98);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

header.scrolled {
  background: rgba(var(--c-white-rgb), 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(var(--c-navy-rgb), 0.10);
  border-bottom-color: transparent;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo a {
  display: flex;
  align-items: center;
}

.header__logo img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

/* ===== MENU PRINCIPAL === */
.nav__menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-1);
  align-items: center;
}

.nav__menu li {
  margin: 0;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-navy-dark);
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-base),
              background-color var(--transition-base);
}

/* Trait magenta animé sous les liens nav — effet depuis le centre */
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-3);
  right: var(--space-3);
  height: 2px;
  background: var(--gradient-doit);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

/* Hover — fond léger + couleur magenta + trait animé */
.nav__link:hover {
  color: var(--c-magenta);
  background-color: rgba(var(--c-magenta-rgb), 0.06);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

/* Élément actif — magenta affirmé + trait visible en permanence */
.nav__link--active,
.nav__link.active {
  color: var(--c-magenta);
  font-weight: 700;
}

.nav__link--active::after,
.nav__link.active::after {
  transform: scaleX(1);
  height: 3px;
}

/* ===== SOUS-MENUS DÉROULANTS === */
.nav__menu > li {
  position: relative;
}

.nav__dropdown {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  cursor: pointer;
}

.nav__dropdown-icon {
  width: 10px;
  height: 10px;
  transition: transform var(--transition-base);
  display: none;
}

.nav__dropdown:hover .nav__dropdown-icon,
.nav__menu > li:hover .nav__dropdown-icon {
  transform: rotate(180deg);
}

.nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 1000;
  list-style: none;
  margin: 0;
}

.nav__menu > li:hover > .nav__submenu,
.nav__menu > li:focus-within > .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__submenu li {
  margin: 0;
}

.nav__submenu-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-navy);
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav__submenu-link:hover {
  background: var(--c-navy-pale);
  color: var(--c-magenta);
}

.nav__submenu-link--active {
  color: var(--c-magenta);
  background: rgba(var(--c-magenta-rgb), 0.05);
}

/* ===== ACTIONS HEADER (langue + hamburger) === */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* ===== SÉLECTEUR DE LANGUE — Pill EN/FR === */
.language-switcher {
  display: flex;
  align-items: center;
  background: rgba(var(--c-navy-rgb), 0.06);
  border: 1px solid rgba(var(--c-navy-rgb), 0.15);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.language-switcher a {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-navy);
  opacity: 0.65;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  line-height: 1;
}

.language-switcher a:hover {
  color: var(--c-navy);
  opacity: 1;
  background: rgba(var(--c-navy-rgb), 0.08);
}

.language-switcher a.active {
  background: var(--gradient-doit);
  color: white;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(var(--c-magenta-rgb), 0.35);
}

/* ===== HAMBURGER MOBILE INNOVANT === */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  padding: var(--space-2);
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gradient-doit);
  border-radius: var(--radius-full);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.menu-toggle span:nth-child(1) {
  width: 24px;
}

.menu-toggle span:nth-child(2) {
  width: 18px;
  align-self: flex-end;
}

.menu-toggle span:nth-child(3) {
  width: 24px;
}

.menu-toggle:hover span:nth-child(2) {
  width: 24px;
}

/* État actif géré dans responsive.css */

/* ===== BOUTONS === */
.btn {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Empêcher a:hover de surcharger les couleurs des boutons */
a.btn:hover {
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Primaire — gradient dégradé + shimmer */
.btn--primary {
  background: var(--gradient-doit);
  color: white;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--c-white-rgb), 0.22), transparent);
  transition: left 0.45s ease;
}

.btn--primary:hover:not(:disabled)::before {
  left: 100%;
}

.btn--primary:hover:not(:disabled) {
  color: white;
  box-shadow: 0 8px 28px rgba(var(--c-magenta-rgb), 0.55);
  transform: translateY(-3px);
}

/* Secondaire */
.btn--secondary {
  background: transparent;
  border: 2px solid var(--c-magenta);
  color: var(--c-magenta);
}

.btn--secondary:hover:not(:disabled) {
  background: var(--c-magenta);
  color: white;
  box-shadow: 0 6px 20px rgba(var(--c-magenta-rgb), 0.35);
  transform: translateY(-2px);
}

/* Outline light (sur fond sombre) */
.btn--outline-light {
  background: transparent;
  border: 2px solid rgba(var(--c-white-rgb), 0.75);
  color: white;
}

.btn--outline-light:hover:not(:disabled) {
  background: white;
  border-color: white;
  color: var(--c-navy);
  transform: translateY(-2px);
}

/* Outline navy (sur fond clair) */
.btn--outline-navy {
  background: transparent;
  border: 2px solid var(--c-navy);
  color: var(--c-navy);
}

.btn--outline-navy:hover:not(:disabled) {
  background: var(--c-navy);
  color: white;
  transform: translateY(-2px);
}

/* Petit bouton */
.btn--small {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* Bloc complet (100%) */
.btn--block {
  width: 100%;
}

/* ===== CARDS === */
.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  box-shadow: var(--shadow-md);
  /* Forcer visibilité - contrer les animations JS */
  opacity: 1 !important;
  transform: none !important;
  /* Égaliser la hauteur des cartes */
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: 0 16px 48px rgba(var(--c-navy-rgb), 0.18);
  transform: translateY(-6px);
}

.card__header {
  background: var(--c-navy-pale);
  padding: var(--space-8);
}

.card__body {
  padding: var(--space-6);
  padding-bottom: var(--space-16);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

/* === ICÔNE DE CARTE SECTEUR === */
.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
  color: var(--c-magenta);
  transition: color var(--transition-base), transform var(--transition-base);
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card:hover .card__icon {
  color: var(--c-purple);
  transform: scale(1.1);
}

.card__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--space-3);
}

.card__text {
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: 0;
  text-align: justify;
}

/* === CARTE VALEUR (section Values accueil) === */
.card--value {
  position: relative;
  overflow: hidden;
  background: var(--c-white);
  border: none;
  box-shadow: 0 1px 4px rgba(var(--c-navy-rgb), 0.06);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.card--value__accent {
  height: 3px;
  background: var(--gradient-navy);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card--value .card__body {
  padding: var(--space-8) var(--space-6) var(--space-8);
  position: relative;
  overflow: hidden;
}

.card--value__icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-4);
  color: var(--c-navy);
  transition: color var(--transition-slow), transform var(--transition-slow);
}

.card--value__icon svg {
  width: 100%;
  height: 100%;
}

.card--value:hover .card--value__icon {
  color: var(--c-navy-light);
  transform: scale(1.08);
}

.card--value__number {
  position: absolute;
  top: -4px;
  right: 12px;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(var(--c-navy-rgb), 0.08);
  pointer-events: none;
  user-select: none;
}

.card--value:hover {
  box-shadow: 0 8px 24px rgba(var(--c-navy-rgb), 0.10);
  transform: translateY(-4px) !important;
}

.card--value .card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--space-2);
}

.card--value .card__text {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--c-text-muted);
}

/* === LISTE DANS UNE CARTE === */
.card__list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.card__list li {
  padding: var(--space-3) var(--space-4);
  background: var(--c-navy-pale);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--c-magenta);
  font-size: var(--text-sm);
  color: var(--c-navy);
  font-weight: 500;
  line-height: 1.5;
  transition: background var(--transition-base), transform var(--transition-base);
}

.card__list li:hover {
  background: linear-gradient(90deg, rgba(var(--c-magenta-rgb), 0.08) 0%, var(--c-navy-pale) 100%);
  transform: translateX(4px);
}

.card__text + .card__list {
  margin-top: var(--space-4);
}

.card__list + .card__text {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  line-height: 1.6;
}

/* Lien flèche positionné en coin */
.card__arrow-link {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--c-magenta);
  color: var(--c-magenta);
  transition: all var(--transition-base);
}

.card__arrow-link:hover {
  background: var(--c-magenta);
  color: white;
  transform: scale(1.1);
}

.card__arrow-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Tooltip */
.card__arrow-link::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  padding: var(--space-1) var(--space-2);
  background: var(--c-navy-dark);
  color: white;
  font-size: var(--text-xs);
  white-space: nowrap;
  border-radius: var(--radius-sm);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.card__arrow-link:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Variante pour cartes navy */
.card--navy .card__arrow-link {
  border-color: rgba(var(--c-white-rgb), 0.5);
  color: rgba(var(--c-white-rgb), 0.8);
}

.card--navy .card__arrow-link:hover {
  background: white;
  border-color: white;
  color: var(--c-navy);
}

.card--navy .card__arrow-link::before {
  background: white;
  color: var(--c-navy-dark);
}

.card__logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-4);
}

.card__logo--light {
  filter: brightness(1.1);
}

/* === CARTE FILIALE AVEC LOGO INNOVANT === */
.card--subsidiary {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.card--subsidiary .card__logo-wrapper {
  flex-shrink: 0;
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-navy-pale) 0%, var(--c-white) 100%);
  border-right: 1px solid var(--c-border);
  padding: var(--space-6);
  position: relative;
}

.card--subsidiary .card__logo-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-doit);
}

.card--subsidiary .card__logo-wrapper img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.card--subsidiary .card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-6);
}

.card--subsidiary .card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.card--subsidiary .card__text {
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
}

/* Hover effect */
.card--subsidiary:hover .card__logo-wrapper {
  background: linear-gradient(135deg, rgba(var(--c-magenta-rgb), 0.08) 0%, rgba(var(--c-purple-rgb), 0.05) 100%);
}

/* Responsive */
@media (max-width: 640px) {
  .card--subsidiary {
    flex-direction: column;
  }

  .card--subsidiary .card__logo-wrapper {
    width: 100%;
    height: 100px;
    border-right: none;
    border-bottom: 1px solid var(--c-border);
  }

  .card--subsidiary .card__logo-wrapper::before {
    height: 3px;
  }
}

/* Carte filiale isolée (hors grille) — centrage et contrainte de largeur */
.card--subsidiary-standalone {
  max-width: 640px;
  margin-inline: auto;
}

.card__footer {
  padding: 0 var(--space-6) var(--space-6);
}

/* Card avec barre de couleur supérieure */
.card--accent {
  border-top: 3px solid transparent;
  background-image: linear-gradient(white, white);
  background-origin: padding-box;
  position: relative;
}

.card--accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-doit);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card--accent:hover {
  box-shadow: 0 16px 48px rgba(var(--c-magenta-rgb), 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* === EXEMPLES MÉTIERS (tags dans cartes domaines) === */
.card__examples {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(var(--c-navy-rgb), 0.08);
}

.card__tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  line-height: 1.4;
  color: var(--c-navy);
  background: rgba(var(--c-navy-rgb), 0.05);
  border: 1px solid rgba(var(--c-navy-rgb), 0.1);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.card--accent:hover .card__tag {
  background: rgba(var(--c-magenta-rgb), 0.06);
  border-color: rgba(var(--c-magenta-rgb), 0.15);
}

/* === CARTE ÉQUIPE (page Team — fondateurs) === */
.team-grid {
  gap: var(--space-8);
  max-width: 900px;
  margin: 0 auto;
}

.card--team {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  box-shadow: 0 4px 24px rgba(var(--c-navy-rgb), 0.10);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  height: auto;
}

.card--team:hover {
  box-shadow: 0 12px 40px rgba(var(--c-navy-rgb), 0.16);
  transform: translateY(-4px);
}

.card--team__photo {
  flex-shrink: 0;
  width: 220px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.card--team__photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-doit);
  z-index: 1;
  transform: rotate(90deg);
  transform-origin: bottom left;
  width: 100%;
  height: 100%;
  top: 0;
  opacity: 0;
}

.card--team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform var(--transition-slow);
}

.card--team:hover .card--team__photo img {
  transform: scale(1.04);
}

.card--team .card__body {
  padding: var(--space-8);
  padding-bottom: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.card--team .card__body::before {
  content: '';
  position: absolute;
  top: var(--space-6);
  bottom: var(--space-6);
  left: 0;
  width: 3px;
  background: var(--gradient-doit);
  border-radius: 2px;
}

.card--team__role {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-magenta);
  margin-bottom:0;
  letter-spacing: 0.02em;
}
.card--team__subrole {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-magenta);
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}

.card--team .card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.card--team .card__text {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--c-text-secondary);
}


/* === PHOTO DE GROUPE FONDATEURS === */
.team-founders-photo {
  position: relative;
  max-width: 900px;
  margin: 0 auto var(--space-12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(var(--c-navy-rgb), 0.14);
}

.team-founders-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Overlay — masqué, l'assombrissement est géré par le box-shadow du spotlight */
.team-founders-photo__overlay {
  display: none;
}

/* Zones spotlight positionnées sur chaque fondateur
   Approche : la zone reste transparente, son box-shadow spread
   assombrit tout le reste de la photo autour du fondateur sélectionné */
.team-founders-photo__spotlight {
  position: absolute;
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
  z-index: 2;
  border-radius: 8px;
}

/* Positionnement individuel — gauche à droite sur la photo */
.team-founders-photo__spotlight[data-spotlight="benoit"] {
  left: 13%;
  top: 30%;
  width: 20%;
  height: 40%;
}

.team-founders-photo__spotlight[data-spotlight="guillaume"] {
  left: 34%;
  top: 0%;
  width: 20%;
  height: 40%;
}

.team-founders-photo__spotlight[data-spotlight="denis"] {
  left: 49%;
  top: 25%;
  width: 20%;
  height: 40%;
}

.team-founders-photo__spotlight[data-spotlight="fabien"] {
  left: 66%;
  top: 5%;
  width: 20%;
  height: 40%;
}

/* État actif : box-shadow spread assombrit tout sauf la zone du fondateur */
.team-founders-photo__spotlight--active {
  opacity: 1;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
}

/* Désactiver les transitions si prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .team-founders-photo__spotlight {
    transition: none;
  }
}

/* === CARTES FONDATEURS (sans photo) === */
.team-founders-grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: var(--space-4);
  overflow: visible;
}

.card--founder {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(var(--c-navy-rgb), 0.10);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  height: 100%;
}

.card--founder:hover,
.card--founder:focus-within {
  box-shadow: 0 12px 40px rgba(var(--c-navy-rgb), 0.33);
  transform: translateY(-4px) scale(1.05);
  z-index: 2;
}

.card--founder .card__body {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  position: relative;
}

.card--founder .card__body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-doit);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card--founder .card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.card--founder .card__text {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--c-text-secondary);
}

/* Card gradient (filiales) */
.card--navy {
  background: var(--gradient-doit);
  color: white;
}

.card--navy .card__title {
  color: white;
}

.card--navy .card__text {
  color: rgba(var(--c-white-rgb), 0.88);
}

.card--navy:hover {
  box-shadow: 0 16px 48px rgba(var(--c-magenta-rgb), 0.35);
}

/* Liens dans les cartes navy — garantir la lisibilité */
.card--navy a {
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity var(--transition-base);
}

.card--navy a:hover {
  color: white;
  opacity: 0.85;
  text-decoration-thickness: 2px;
}

/* === CARTES INFO CONTACT — Design élégant === */
.card--contact-info {
  background: white;
  border: 1px solid var(--c-border);
  padding: var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card--contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-doit);
}

.card--contact-info .card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  padding: var(--space-3);
  background: linear-gradient(135deg, rgba(var(--c-magenta-rgb), 0.08) 0%, rgba(var(--c-purple-rgb), 0.08) 100%);
  border-radius: var(--radius-full);
  color: var(--c-magenta);
}

.card--contact-info .card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card--contact-info p {
  color: var(--c-navy);
  font-size: var(--text-base);
  line-height: 1.7;
  margin: 0;
}

.card--contact-info a {
  color: var(--c-magenta);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-base);
}

.card--contact-info a:hover {
  color: var(--c-purple);
  text-decoration: underline;
}

.card--contact-info:hover {
  border-color: rgba(var(--c-magenta-rgb), 0.3);
  box-shadow: 0 8px 32px rgba(var(--c-magenta-rgb), 0.12);
}

/* ===== HÉRO SECTION === */
.hero {
  background: var(--gradient-doit);
  color: white;
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at bottom right, rgba(var(--c-magenta-rgb), 0.12) 0%, transparent 65%),
    radial-gradient(ellipse at top left, rgba(var(--c-purple-rgb), 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Motif grille technique — ambiance aérospatiale */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--c-white-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--c-white-rgb), 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* === HERO BENTO — Grille 5 secteurs visuellement impactante === */
.hero--bento {
  background: var(--gradient-doit);
  padding: var(--space-16) 0 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
}

/* === Conteneur principal === */
.hero__bento-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  padding-top: 0;
  padding-bottom: var(--space-12);
  width: 100%;
  position: relative;
  z-index: 1;
}

/* === En-tête centré : headline + subheadline === */
.hero__bento-header {
  text-align: center;
  margin: 0 auto;
}

.hero__bento-headline {
  font-size: clamp(var(--text-3xl), 3.2vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1.15;
  color: white;
  margin-bottom: var(--space-4);
  white-space: nowrap;
}

.hero__bento-subheadline {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: rgba(var(--c-white-rgb), 0.7);
  max-width: 800px;
  margin: 0 auto;
}

/* === Grille Bento 3 colonnes === */
.hero__bento-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero__bento-tile {
  flex: 0 1 calc((100% - 2 * var(--space-4)) / 3);
}

/* === Hero Split — Texte gauche + cartes offres droite === */
.hero__split {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.hero__split-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__split-text .hero__bento-headline {
  white-space: normal;
}

.hero__split-text .hero__bento-subheadline {
  margin-bottom: var(--space-6);
}

/* === Texte défilant avec effet fondu — dégradé signature Do iT === */
.hero__rotating-text {
  position: relative;
  width: 100%;
  height: 3.6em;
  margin-bottom: var(--space-6);
  overflow: hidden;
}

/* Ligne décorative sous le texte */
.hero__rotating-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.hero__rotating-item {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 var(--space-2);
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  /* État initial : invisible, décalé vers le bas, flouté */
  opacity: 0;
  filter: blur(6px);
  transform: translateY(calc(-50% + 20px));
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* État actif : visible, centré, net */
.hero__rotating-item--active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(-50%);
  pointer-events: auto;
}

/* État de sortie : glissement vers le haut + flou */
.hero__rotating-item--exit {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(calc(-50% - 20px));
}

/* Si mouvement réduit : pas de transition ni animation */
@media (prefers-reduced-motion: reduce) {
  .hero__rotating-item {
    transition: none;
    transform: translateY(-50%);
    filter: none;
    animation: none;
  }
}

.hero__split-cta {
  display: inline-flex;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}

/* Logo Do iT Group au-dessus du titre — centré, grande taille */
.hero__split-logo {
  display: block;
  width: 220px;
  height: auto;
  margin: 0 auto var(--space-8);
}

/* Wrapper contenant l'orbite + les cartes — positionnement relatif */
.hero__split-cards-wrapper {
  position: relative;
}

/* Grille des 4 cartes offres — 1 colonne mobile, 2 colonnes tablette+ */
.hero__split-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-10);
}

/* === Carte offre — style bento-tile avec transparence pour les orbites === */
.hero__offer-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 1 / 1;
  display: block;
  text-decoration: none;
  color: var(--c-navy-dark);
  background: rgba(var(--c-white-rgb), 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              box-shadow 0.35s ease,
              background 0.35s ease;
}

/* === Image SVG de fond === */
.hero__offer-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Overlay gradient blanc en bas — transparent en haut pour les orbites === */
.hero__offer-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-4) var(--space-6) var(--space-2);
  background: linear-gradient(
    to top,
    rgba(var(--c-white-rgb), 0.92) 0%,
    rgba(var(--c-white-rgb), 0.78) 25%,
    rgba(var(--c-white-rgb), 0.2) 55%,
    transparent 100%
  );
  transition: background 0.35s ease;
}

/* Barre d'accent magenta en bas de chaque carte */
.hero__offer-card-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-doit);
  opacity: 0.6;
  transition: opacity 0.3s ease, height 0.3s ease;
}

/* === Titre carte === */
.hero__offer-card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-navy-dark);
  margin-bottom: var(--space-1);
}
.hero__offer-card-subtitle {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1;
  color: var(--c-navy-dark);
  margin-bottom: var(--space-1);
}

/* === Description carte === */
.hero__offer-card-desc {
  font-size: var(--text-xs);
  line-height: 1.5;
  color: rgba(var(--c-navy-dark-rgb), 0.7);
  margin-bottom: 0;
  padding-right: 35px;
}

/* === CTA flèche — bas à droite, masquée par défaut === */
.hero__offer-card-cta {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-doit);
  color: #fff;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

/* Icône flèche SVG */
.hero__offer-card-cta::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Tooltip "En savoir plus" */
.hero__offer-card-cta::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  white-space: nowrap;
  font-size: var(--text-xs);
  font-weight: 600;
  color: #fff;
  background: var(--c-navy-dark);
  padding: 4px 10px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero__offer-card-cta:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* === HOVER — Scale + zoom image + ombre portée === */
.hero__offer-card:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.hero__offer-card:hover .hero__offer-card-img {
  transform: scale(1.08);
}

.hero__offer-card:hover .hero__offer-card-cta {
  opacity: 1;
  transform: translateX(0);
  box-shadow: 0 4px 12px rgba(var(--c-magenta-rgb), 0.4);
}

.hero__offer-card:hover .hero__offer-card-overlay {
  background: linear-gradient(
    to top,
    rgba(var(--c-white-rgb), 0.95) 0%,
    rgba(var(--c-white-rgb), 0.85) 30%,
    rgba(var(--c-white-rgb), 0.3) 60%,
    transparent 100%
  );
}

.hero__offer-card:hover .hero__offer-card-overlay::after {
  opacity: 1;
  height: 4px;
}

/* === DIMMING — Les cartes non survolées s'assombrissent === */
.hero__split-cards:hover .hero__offer-card:not(:hover) {
  opacity: 0.5;
  transform: scale(0.98);
}

/* === FOCUS CLAVIER — Outline magenta + CTA visible === */
.hero__offer-card:focus-visible {
  outline: 3px solid var(--c-magenta);
  outline-offset: 3px;
  transform: scale(1.03) translateY(-4px);
  box-shadow:
    0 12px 40px rgba(var(--c-magenta-rgb), 0.25),
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(var(--c-magenta-rgb), 0.3);
}

.hero__offer-card:focus-visible .hero__offer-card-cta {
  opacity: 1;
  transform: translateX(0);
  box-shadow: 0 4px 12px rgba(var(--c-magenta-rgb), 0.4);
}

.hero__offer-card:focus-visible .hero__offer-card-img {
  transform: scale(1.08);
}

/* === Variante 4 tuiles (4 colonnes desktop) — section Secteurs === */
.hero__bento-grid--4 {
  max-width: 100%;
}

.hero__bento-grid--4 .hero__bento-tile {
  flex: 1 1 calc((100% - 3 * var(--space-4)) / 4);
  aspect-ratio: 1 / 1;
}

/* === Tuile individuelle === */
.hero__bento-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 1 / 1;
  display: block;
  text-decoration: none;
  color: var(--c-navy-dark);
  background: white;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              box-shadow 0.35s ease;
}

/* === Image de fond === */
.hero__bento-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Overlay gradient — dégradé blanc en bas === */
.hero__bento-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-4) var(--space-6) var(--space-2);
  background: linear-gradient(
    to top,
    rgba(var(--c-white-rgb), 0.97) 0%,
    rgba(var(--c-white-rgb), 0.88) 25%,
    rgba(var(--c-white-rgb), 0.4) 55%,
    transparent 100%
  );
  transition: background 0.35s ease;
}

/* Barre d'accent magenta en bas de chaque tuile */
.hero__bento-tile-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-doit);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

/* === Nom du secteur dans la tuile === */
.hero__bento-tile-name {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-navy-dark);
  margin-bottom: var(--space-1);
}

/* === Description courte === */
.hero__bento-tile-desc {
  font-size: var(--text-xs);
  line-height: 1.5;
  color: rgba(var(--c-navy-dark-rgb), 0.7);
  margin-bottom: 0;
  padding-right: 44px;
}

/* === CTA flèche — positionnée en bas à droite, masquée par défaut === */
.hero__bento-tile-cta {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-doit);
  color: #fff;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

/* Icône flèche SVG en pseudo-élément */
.hero__bento-tile-cta::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Tooltip "En savoir plus" */
.hero__bento-tile-cta::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  white-space: nowrap;
  font-size: var(--text-xs);
  font-weight: 600;
  color: #fff;
  background: var(--c-navy-dark);
  padding: 4px 10px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero__bento-tile-cta:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* === HOVER — Scale + zoom image + ombre portée === */
.hero__bento-tile:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.hero__bento-tile:hover .hero__bento-tile-img {
  transform: scale(1.08);
}

.hero__bento-tile:hover .hero__bento-tile-cta {
  opacity: 1;
  transform: translateX(0);
  box-shadow: 0 4px 12px rgba(var(--c-magenta-rgb), 0.4);
}

.hero__bento-tile:hover .hero__bento-tile-overlay {
  background: linear-gradient(
    to top,
    rgba(var(--c-white-rgb), 0.98) 0%,
    rgba(var(--c-white-rgb), 0.9) 35%,
    rgba(var(--c-white-rgb), 0.5) 65%,
    transparent 100%
  );
}

.hero__bento-tile:hover .hero__bento-tile-overlay::after {
  opacity: 1;
  height: 4px;
}

/* === DIMMING — Les tuiles non survolées s'assombrissent === */
.hero__bento-grid:hover .hero__bento-tile:not(:hover) {
  opacity: 0.5;
  transform: scale(0.98);
}

/* === FOCUS CLAVIER — Outline magenta + CTA visible === */
.hero__bento-tile:focus-visible {
  outline: 3px solid var(--c-magenta);
  outline-offset: 3px;
  transform: scale(1.03) translateY(-4px);
  box-shadow:
    0 12px 40px rgba(var(--c-magenta-rgb), 0.25),
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(var(--c-magenta-rgb), 0.3);
}

.hero__bento-tile:focus-visible .hero__bento-tile-cta {
  opacity: 1;
  transform: translateX(0);
  box-shadow: 0 4px 12px rgba(var(--c-magenta-rgb), 0.4);
}

.hero__bento-tile:focus-visible .hero__bento-tile-img {
  transform: scale(1.08);
}

/* === FOCUS JS — Dimming via classe ajoutée par JS === */
.hero__bento-grid--focus-active .hero__bento-tile:not(.hero__bento-tile--focused) {
  opacity: 0.5;
  transform: scale(0.98);
}

/* === MOUVEMENT RÉDUIT === */
@media (prefers-reduced-motion: reduce) {
  .hero__bento-tile {
    transition: none;
  }

  .hero__bento-tile-img {
    transition: none;
  }

  .hero__bento-tile-cta {
    transition: none;
    box-shadow: none;
  }

  .hero__bento-tile:hover {
    transform: none;
  }

  .hero__bento-tile:hover .hero__bento-tile-img {
    transform: none;
  }
}

/* === HERO STANDARD (fallback sans --immersive) === */
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
  animation: slideUp 800ms ease-out;
}

.hero__headline {
  font-size: var(--text-6xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-6);
}

.hero__subheadline {
  font-size: var(--text-2xl);
  line-height: 1.6;
  margin-bottom: var(--space-12);
  opacity: 0.95;
}

.hero__actions {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  transition: opacity 300ms ease-in-out;
  cursor: pointer;
}

.hero__scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 1.5;
  fill: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== SECTIONS CONTENU === */
.section__headline {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-6);
  color: var(--c-navy);
}

.section__subheadline {
  font-size: var(--text-2xl);
  color: var(--c-text);
  margin-bottom: var(--space-12);
}

/* ===== SECTION INTRO AVEC LOGO === */
.intro-block {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  max-width: 1000px;
  margin: 0 auto;
  background: var(--c-white);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  box-shadow: 0 4px 24px rgba(var(--c-navy-rgb), 0.08);
}

.intro-block__logo {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--c-magenta-rgb), 0.08) 0%, rgba(var(--c-purple-rgb), 0.08) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(var(--c-magenta-rgb), 0.2);
  box-shadow: 0 8px 32px rgba(var(--c-navy-rgb), 0.1);
  padding: var(--space-6);
}

.intro-block__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.intro-block__content {
  flex: 1;
}

.intro-block__title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.intro-block__text {
  font-size: var(--text-lg);
  color: var(--c-text);
  line-height: 1.8;
  text-align: justify;
  margin-bottom: var(--space-6);
}

.intro-block__subsidiaries {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--c-border);
}

.intro-block__subsidiaries img {
  height: 36px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--transition-base);
}

.intro-block__subsidiaries img:hover {
  opacity: 1;
}

/* Responsive intro-block */
@media (max-width: 768px) {
  .intro-block {
    flex-direction: column;
    text-align: center;
    gap: var(--space-8);
    padding: var(--space-8);
  }

  .intro-block__logo {
    width: 140px;
    height: 140px;
  }

  .intro-block__text {
    text-align: center;
    text-align: justify;
  }

  .intro-block__subsidiaries {
    justify-content: center;
  }
}

/* ===== COLONNES === */
.intro-text {
  font-size: var(--text-lg);
  color: var(--c-text);
  line-height: 1.8;
  text-align: justify;
  margin-bottom: var(--space-8);
}

.text-with-icon {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.text-with-icon__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: var(--text-sm);
}

/* ===== FOOTER === */
footer {
  background: linear-gradient(180deg, var(--c-navy-dark) 0%, #111827 100%);
  color: white;
  padding: var(--space-24) 0 calc(var(--space-12) + 44px);
  margin-bottom: 0;
  position: relative;
}

/* --- Ligne décorative en haut du footer --- */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(50deg, var(--c-magenta) 0%, var(--c-purple) 100%);
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-16);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(var(--c-white-rgb), 0.08);
}

.footer__logo {
  width: 150px;
  margin-bottom: var(--space-6);
}

.footer__logo img {
  width: 100%;
  height: auto;
}

.footer__brand-description {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  opacity: 0.7;
  max-width: 320px;
}

.footer__section-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-6);
  color: var(--c-magenta);
  position: relative;
  padding-bottom: var(--space-3);
}

/* --- Petit trait sous les titres de section --- */
.footer__section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: linear-gradient(50deg, var(--c-magenta) 0%, var(--c-purple) 100%);
  border-radius: 1px;
}

.footer__list {
  list-style: none;
}

.footer__list-item {
  margin-bottom: var(--space-3);
}

.footer__link {
  color: rgba(var(--c-white-rgb), 0.6);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-base), padding-left var(--transition-base);
  display: inline-block;
}

.footer__link:hover {
  color: white;
  padding-left: 4px;
}

/* --- Séparateur et section infos de contact --- */
.footer__info {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-10);
  font-size: var(--text-sm);
  color: rgba(var(--c-white-rgb), 0.6);
}

/* === Liens légaux mobile — masqués en desktop, affichés en mobile === */
.footer__legal-mobile {
  display: none;
}

.footer__info-block {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.footer__info-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--c-magenta);
  margin-top: 2px;
}

.footer__info-block h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(var(--c-white-rgb), 0.9);
  margin-bottom: var(--space-1);
}

.footer__info-block p {
  line-height: 1.6;
}

.footer__info-block .footer__link {
  font-size: var(--text-sm);
}

.footer__info-block .footer__link:hover {
  padding-left: 0;
}

.footer__partners {
  display: flex;
  gap: var(--space-6);
  margin: var(--space-8) 0;
  flex-wrap: wrap;
  align-items: center;
}

.footer__partner-logo {
  height: 40px;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.footer__partner-logo:hover {
  opacity: 1;
}

/* === Grille partenaires — section home === */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
}

.partners-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-navy-pale, #f0f2f8);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  height: 80px;
  min-width: 140px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.partners-grid__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(var(--c-navy-rgb), 0.1);
}

.partners-grid__logo {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --- Logos filiales dans le footer --- */
.footer__subsidiaries {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(var(--c-white-rgb), 0.08);
}

.footer__subsidiary-logo {
  height: 24px;
  width: auto;
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.footer__subsidiary-logo:hover {
  opacity: 0.9;
}

.footer__subsidiary-logo--pmv {
  background: white;
  padding: 2px 6px;
  border-radius: 3px;
}

/* ===== MINI-FOOTER STICKY === */
.mini-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--c-navy-dark) 0%, #111827 100%);
  border-top: 1px solid rgba(var(--c-white-rgb), 0.08);
  padding: 8px 0;
  transform: translateY(0);
  transition: transform 300ms ease-in-out;
}

.mini-footer.hidden {
  transform: translateY(100%);
}

.mini-footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

/* --- Logos --- */
.mini-footer__logos {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.mini-footer__logos a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.mini-footer__logo {
  height: 18px;
  width: auto;
  opacity: 0.55;
  transition: opacity var(--transition-base);
}

.mini-footer__logo:hover {
  opacity: 1;
}

.mini-footer__logo--pmv {
  height: 18px;
  border-radius: 2px;
  background: white;
  padding: 2px 4px;
  opacity: 0.6;
}

.mini-footer__logo--pmv:hover {
  opacity: 1;
}

/* --- Copyright --- */
.mini-footer__copyright {
  color: rgba(var(--c-white-rgb), 0.35);
  font-size: var(--text-xs);
  line-height: 1;
  white-space: nowrap;
  display: inline;
  flex-shrink: 0;
}

.mini-footer__rights {
  display: inline;
}

/* --- Séparateur visuel entre les zones --- */
.mini-footer__separator {
  width: 1px;
  height: 14px;
  background: rgba(var(--c-white-rgb), 0.12);
  flex-shrink: 0;
}

/* --- Liens légaux --- */
.mini-footer__legal {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}

.mini-footer__legal li {
  margin-bottom: 0;
  position: relative;
}

/* Séparateur point entre les liens */
.mini-footer__legal li + li::before {
  content: "\00B7";
  color: rgba(var(--c-white-rgb), 0.2);
  font-size: var(--text-xs);
  padding: 0 var(--space-2);
}

.mini-footer__link {
  color: rgba(var(--c-white-rgb), 0.45);
  text-decoration: none;
  font-size: var(--text-xs);
  line-height: 1;
  white-space: nowrap;
  transition: color var(--transition-base);
}

.mini-footer__link:hover {
  color: #fff;
}


/* ===== FORMULAIRES === */
.form {
  max-width: 600px;
}

.form__group {
  margin-bottom: var(--space-6);
}

.form__label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--c-text);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background-color: var(--c-white);
  color: var(--c-text);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--c-magenta);
  box-shadow: 0 0 0 3px rgba(var(--c-magenta-rgb), 0.1);
}

.form__textarea {
  resize: vertical;
  min-height: 150px;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.form__checkbox input[type="checkbox"] {
  width: auto;
  height: 18px;
  width: 18px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.form__checkbox label {
  font-size: var(--text-sm);
  cursor: pointer;
  line-height: 1.5;
  margin: 0;
}

.form__checkbox a {
  color: var(--c-magenta);
}

.form__error {
  color: var(--c-error);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
  display: none;
}

.form__group.error .form__input,
.form__group.error .form__textarea,
.form__group.error .form__select {
  border-color: var(--c-error);
  background-color: var(--c-error-light);
}

.form__group.error .form__error {
  display: block;
}

.form__success {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background-color: var(--c-success-light);
  color: var(--c-success-dark);
  margin-bottom: var(--space-6);
  display: none;
}

.form__success.show {
  display: block;
}

.form__submit {
  width: 100%;
}

/* ===== FORMULAIRE CONTACT AMÉLIORÉ === */
.contact-form-wrapper {
  background: white;
  border-radius: var(--radius-xl);
  /* Padding avec espace pour la barre dégradée */
  padding: var(--space-10);
  padding-top: calc(var(--space-10) + 4px);
  box-shadow: 0 4px 24px rgba(var(--c-navy-rgb), 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
  /* S'étirer pour égaliser les hauteurs */
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-doit);
  z-index: 1;
}

/* Le formulaire prend tout l'espace disponible */
.contact-form-wrapper form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form-wrapper form .form-group:last-of-type {
  margin-bottom: auto;
}

.contact-form__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.contact-form__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--space-2);
}

.contact-form__subtitle {
  font-size: var(--text-base);
  color: var(--c-text-secondary);
}

/* Groupes de champs sur deux colonnes */
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 640px) {
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

/* Champs de formulaire améliorés */
.form-group {
  margin-bottom: var(--space-5);
  position: relative;
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: var(--space-2);
}

.form-group label .required {
  color: var(--c-magenta);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-base);
  font-family: inherit;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-lg);
  background: #fafafa;
  color: var(--c-navy);
  transition: all var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #d1d5db;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-magenta);
  background: white;
  box-shadow: 0 0 0 4px rgba(var(--c-magenta-rgb), 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232C3E6B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

/* Checkbox améliorée */
.form-group.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: linear-gradient(135deg, rgba(var(--c-magenta-rgb), 0.03) 0%, rgba(var(--c-purple-rgb), 0.03) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--c-magenta-rgb), 0.1);
}

.form-group.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--c-magenta);
}

.form-group.checkbox-group label {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--c-text);
  line-height: 1.5;
  margin: 0;
  cursor: pointer;
}

.form-group.checkbox-group a {
  color: var(--c-magenta);
  font-weight: 600;
}

/* Bouton submit amélioré */
.contact-form__submit {
  width: 100%;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  font-weight: 700;
  background: var(--gradient-doit);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  margin-top: var(--space-4);
}

.contact-form__submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--c-white-rgb), 0.2), transparent);
  transition: left 0.5s ease;
}

.contact-form__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--c-magenta-rgb), 0.4);
}

.contact-form__submit:hover:not(:disabled)::before {
  left: 100%;
}

.contact-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-form__submit svg {
  width: 18px;
  height: 18px;
}

/* Erreurs de champ */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--c-error-border);
  background: var(--c-error-light);
}

.form-group .form-error {
  display: none;
  font-size: var(--text-sm);
  color: var(--c-error);
  margin-top: var(--space-2);
}

.form-group.error .form-error {
  display: block;
}

/* Message de succès formulaire */
.contact-form__success {
  display: none;
  padding: var(--space-6);
  background: linear-gradient(135deg, var(--c-success-light) 0%, #d1fae5 100%);
  border: 1px solid var(--c-success-border);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: var(--space-6);
}

.contact-form__success.show {
  display: block;
  animation: slideUp 300ms ease-out;
}

.contact-form__success svg {
  width: 48px;
  height: 48px;
  color: var(--c-success);
  margin-bottom: var(--space-3);
}

.contact-form__success h4 {
  font-size: var(--text-lg);
  color: var(--c-success-dark);
  margin-bottom: var(--space-2);
}

.contact-form__success p {
  font-size: var(--text-sm);
  color: var(--c-success-mid);
}

/* === LAYOUT CONTACT — Colonnes égales === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: stretch;
}

.contact-layout__right {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  min-height: 100%;
}

/* La map prend tout l'espace disponible */
.contact-layout__right .contact-map {
  flex: 1;
}

/* === CARTE MAP SEULE === */
.contact-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(var(--c-navy-rgb), 0.1);
  border: 1px solid var(--c-border);
  background: white;
  position: relative;
}

/* Barre dégradée en haut */
.contact-map::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-doit);
  z-index: 10;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: none;
  display: block;
}

/* === CARTES INFO CONTACT (adresse + email) === */
.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  flex-shrink: 0;
}

.contact-info-card {
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 16px;
  padding-top: 20px;
  padding-left: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-doit);
}

.contact-info-card:hover {
  border-color: rgba(var(--c-magenta-rgb), 0.3);
  box-shadow: 0 8px 24px rgba(var(--c-magenta-rgb), 0.1);
}

.contact-info-card__icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--c-magenta-rgb), 0.1) 0%, rgba(var(--c-purple-rgb), 0.1) 100%);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.contact-info-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--c-magenta);
}

.contact-info-card__content {
  flex: 1;
  min-width: 0;
}

.contact-info-card__content h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--c-navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.contact-info-card__content p {
  font-size: var(--text-sm);
  color: var(--c-text);
  margin: 0;
  line-height: 1.6;
}

.contact-info-card__content a.contact-link {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-magenta);
  text-decoration: none;
  margin-bottom: var(--space-1);
  transition: color var(--transition-base);
  white-space: nowrap;
}

.contact-info-card__content a.contact-link:hover {
  color: var(--c-purple);
}

.contact-info-card__content .contact-subtext {
  font-size: var(--text-xs);
  color: var(--c-text-secondary);
  margin-top: var(--space-2);
}

.contact-info-card__content a.contact-action {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-3);
  color: var(--c-magenta);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--transition-base);
}

.contact-info-card__content a.contact-action:hover {
  color: var(--c-purple);
}

.contact-info-card__content a.contact-action svg {
  width: 14px;
  height: 14px;
}

/* === CARTE ADRESSE AVEC PHOTO EN FOND === */
.contact-info-card--overlay {
  position: relative;
  padding: 0;
  border: none;
  min-height: 180px;
}

.contact-info-card--overlay::before {
  display: none;
}

.contact-info-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
}

.contact-info-card__overlay-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 37, 64, 0.88) 0%, rgba(44, 62, 107, 0.75) 60%, rgba(44, 62, 107, 0.4) 100%);
  border-radius: var(--radius-xl);
}

.contact-info-card--overlay .contact-info-card__icon {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info-card--overlay .contact-info-card__icon svg {
  color: white;
}

.contact-info-card--overlay .contact-info-card__content h4 {
  color: rgba(255, 255, 255, 0.7);
}

.contact-info-card--overlay .contact-info-card__content p {
  color: white;
  font-weight: 500;
}

.contact-info-card--overlay .contact-info-card__content a.contact-action {
  color: rgba(255, 255, 255, 0.8);
}

.contact-info-card--overlay .contact-info-card__content a.contact-action:hover {
  color: white;
}

.contact-info-card--overlay:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: transparent;
}

/* ===== BANDEAU COOKIES === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--c-navy-dark);
  color: white;
  padding: var(--space-6);
  z-index: var(--z-banner);
  display: none;
  box-shadow: var(--shadow-lg);
  animation: slideUp 300ms ease-out;
}

.cookie-banner.show {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cookie-banner__content {
  max-width: 100%;
}

.cookie-banner__title {
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.cookie-banner__text {
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cookie-banner__btn {
  padding: var(--space-3) var(--space-6);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  font-size: var(--text-sm);
}

.cookie-banner__btn--accept {
  background: var(--c-magenta);
  color: white;
}

.cookie-banner__btn--accept:hover {
  background: var(--c-magenta-dark);
}

.cookie-banner__btn--refuse {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-banner__btn--refuse:hover {
  background: white;
  color: var(--c-navy-dark);
}

.cookie-banner__btn--customize {
  background: transparent;
  color: white;
  border: 1px solid white;
}

/* ===== MODALE COOKIES === */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal__content {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 300ms ease-out;
}

.cookie-modal__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
}

.cookie-modal__section {
  margin-bottom: var(--space-6);
}

.cookie-modal__section-title {
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--c-magenta);
}

.cookie-modal__toggle {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.cookie-modal__toggle input {
  width: 40px;
  height: 20px;
  cursor: pointer;
}

.cookie-modal__actions {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* ===== LIENS EXTERNES === */
/* Pas d'icône auto — géré au cas par cas */

/* ===== ICÔNES SVG DANS LES CARDS === */
.card__icon {
  width: 44px;
  height: 44px;
  color: var(--c-magenta);
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}

.card--navy .card__icon {
  color: rgba(var(--c-white-rgb), 0.9);
}

/* ===== CHIFFRES CLÉS === */
.key-figure {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.key-figure::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-doit);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.key-figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(var(--c-magenta-rgb), 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.key-figure__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  padding: var(--space-3);
  background: linear-gradient(135deg, rgba(var(--c-magenta-rgb), 0.08) 0%, rgba(var(--c-purple-rgb), 0.08) 100%);
  border-radius: var(--radius-full);
  color: var(--c-magenta);
  transition: color var(--transition-base), transform var(--transition-base);
}

.key-figure:hover .key-figure__icon {
  color: var(--c-purple);
  transform: scale(1.1);
}

.key-figure__icon svg {
  width: 100%;
  height: 100%;
}

.key-figure__number {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-navy);
  margin-bottom: var(--space-2);
}

.key-figure__label {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--c-navy);
  opacity: 0.75;
}

/* === OBJECTIF — Indicateur de progression avec barre === */
.key-figure__target {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(var(--c-navy-rgb), 0.1);
  text-align: center;
}

/* En-tête : label "Objectif 2026" */
.key-figure__target-header {
  margin-bottom: var(--space-2);
}

.key-figure__target-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-navy);
  opacity: 0.5;
}

/* Bloc principal : flèche SVG + chiffre objectif */
.key-figure__target-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.key-figure__target-arrow {
  width: 20px;
  height: 20px;
  color: var(--c-magenta);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.key-figure:hover .key-figure__target-arrow {
  transform: translate(2px, -2px);
}

.key-figure__target-value {
  font-size: var(--text-2xl);
  font-weight: 800;
  background: var(--gradient-doit);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

/* Barre de progression */
.key-figure__progress {
  width: 100%;
}

.key-figure__progress-track {
  width: 100%;
  height: 5px;
  background: rgba(var(--c-navy-rgb), 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.key-figure__progress-fill {
  height: 100%;
  width: 0;
  background: var(--gradient-doit);
  border-radius: var(--radius-full);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Mouvement réduit : pas de transition */
@media (prefers-reduced-motion: reduce) {
  .key-figure__progress-fill {
    transition: none;
  }
  .key-figure__target-arrow {
    transition: none;
  }
}

/* ===== CARTE DES IMPLANTATIONS === */
.implantations-map {
  margin-top: var(--space-16);
}

.implantations-map__title {
  text-align: center;
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--space-2);
}

.implantations-map__subtitle {
  text-align: center;
  font-size: var(--text-lg);
  color: var(--c-text-secondary);
  margin-bottom: var(--space-8);
}

/* === Conteneur SVG carte === */
.implantations-map__svg-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #eef2f9 0%, #f8fafc 50%, #eef2f9 100%);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
}

.implantations-map__svg {
  display: block;
  width: 100%;
  height: auto;
}

/* === Label de zone (Amérique du Nord / Europe) === */
.map-zone-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  fill: #8494a7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* === Pays (formes SVG) === */
.map-country {
  fill: #dce3ef;
  stroke: #c4cfe0;
  stroke-width: 0.8;
  transition: fill var(--transition-base);
}

.map-country--france {
  fill: #bcc9e0;
}

.map-country--highlight {
  fill: #cdd7ea;
}

/* === Océan/eau === */
.map-water {
  fill: none;
}

/* === Pinsons (marqueurs) === */
.map-pin__pulse {
  fill: rgba(var(--c-magenta-rgb), 0.25);
  animation: mapPinPulse 2.5s ease-out infinite;
}

.map-pin__dot {
  fill: var(--c-magenta);
  stroke: var(--c-white);
  stroke-width: 0.6;
  filter: drop-shadow(0 1px 2px rgba(var(--c-magenta-rgb), 0.4));
  transition: r 0.2s ease;
  cursor: pointer;
}

.map-pin__dot--hq {
  fill: var(--c-magenta);
  stroke: var(--c-white);
  stroke-width: 0.8;
}

.map-pin__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  fill: var(--c-navy-dark);
}

.map-pin__sublabel {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  fill: var(--c-text-muted);
}

/* === Badges année (dans SVG) === */
.map-year-badge {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  fill: var(--c-white);
}

.map-year-badge__bg {
  fill: var(--c-magenta);
  rx: 6;
  ry: 6;
}

/* === Label HQ (spécial) === */
.map-pin__label--hq {
  fill: var(--c-navy-dark);
}

/* === Animation pulsation === */
@keyframes mapPinPulse {
  0% {
    r: 2;
    opacity: 0.6;
  }
  100% {
    r: 6;
    opacity: 0;
  }
}

/* === Animation d'apparition des pins par année === */
@keyframes mapPinAppear {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.map-year-group {
  opacity: 0;
  animation: mapPinAppear 0.6s ease-out both;
}

.map-year-group--2020 { animation-delay: 0.3s; }
.map-year-group--2023 { animation-delay: 0.9s; }
.map-year-group--2024 { animation-delay: 1.5s; }
.map-year-group--2025 { animation-delay: 2.1s; }
.map-year-group--2026 { animation-delay: 2.7s; }

/* === Mouvement réduit — désactiver les pulsations carte === */
@media (prefers-reduced-motion: reduce) {
  .map-pin__pulse {
    animation: none;
  }

  .map-year-group {
    animation: none;
    opacity: 1;
  }
}

/* === Légende / Timeline sous la carte === */
.implantations-map__timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.implantations-map__year-group {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--c-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}

.implantations-map__year-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: var(--space-1) var(--space-2);
  background: var(--gradient-doit);
  color: var(--c-white);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
}

.implantations-map__year-badge-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: var(--space-1) var(--space-2);
  background: var(--gradient-doit-new);
  color: var(--c-white);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
}

.implantations-map__year-cities {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-navy);
}

/* === Responsive carte — mobile === */
@media (max-width: 767px) {
  .implantations-map__title {
    font-size: var(--text-2xl);
  }

  .implantations-map__subtitle {
    font-size: var(--text-base);
  }

  .implantations-map__svg-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .implantations-map__svg {
    width: 100%;
    min-width: unset;
    height: auto;
  }

  .implantations-map__timeline {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }

  .implantations-map__year-group {
    border-radius: var(--radius-lg);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .implantations-map__svg {
    min-width: auto;
  }

  .implantations-map__timeline {
    gap: var(--space-3);
  }
}

/* ===== TIMELINE "OUR STORY" === */
.timeline {
  padding: var(--space-16) 0 var(--space-8);
}

.timeline__heading {
  text-align: center;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--space-12);
}

/* === Conteneur principal — horizontal desktop === */
.timeline__track {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

/* === Grille des jalons === */
.timeline__items {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
  position: relative;
}

/* === Ligne horizontale de base (desktop) === */
.timeline__items::after {
  content: '';
  position: absolute;
  bottom: 52px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--c-magenta), var(--c-purple), transparent);
  border-radius: var(--radius-full);
}

/* === Jalon individuel === */
.timeline__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding-bottom: var(--space-16);
}

/* === Badge (STAFFING, HARNESS KIT, DOA-POA) === */
.timeline__badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--gradient-doit);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(var(--c-magenta-rgb), 0.3);
  min-height: 24px;
}

/* Espace réservé quand pas de badge */
.timeline__badge--empty {
  display: inline-block;
  visibility: hidden;
  min-height: 24px;
  margin-bottom: var(--space-3);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
}

/* === Icône SVG === */
.timeline__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: white;
  border: 2px solid var(--c-navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  overflow: hidden;
}

.timeline__icon svg {
  width: 22px;
  height: 22px;
  color: var(--c-navy);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline__item:hover .timeline__icon {
  transform: scale(1.12);
  border-color: var(--c-magenta);
  box-shadow: 0 4px 16px rgba(var(--c-magenta-rgb), 0.25);
}

/* === Texte descriptif === */
.timeline__content {
  font-size: var(--text-sm);
  color: var(--c-text);
  line-height: 1.5;
  margin-bottom: var(--space-4);
  max-width: 160px;
}

/* === Connecteur vertical (icône vers dot) === */
.timeline__connector {
  width: 2px;
  height: var(--space-6);
  background: linear-gradient(to bottom, var(--c-navy-light), var(--c-magenta));
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* === Dot sur la ligne === */
.timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: white;
  border: 3px solid var(--c-magenta);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.timeline__item:hover .timeline__dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(var(--c-magenta-rgb), 0.15);
}

/* === Année === */
.timeline__year {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--c-navy);
  margin-top: var(--space-3);
  position: absolute;
  bottom: 0;
}

/* === Localisation inline (visible uniquement sur mobile) === */
.timeline__loc {
  display: none;
}

/* === Localisations === */
.timeline__locations {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.timeline__location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--c-text-secondary);
  white-space: nowrap;
}

.timeline__location svg {
  width: 14px;
  height: 14px;
  color: var(--c-magenta);
  flex-shrink: 0;
}

/* === Mouvement réduit === */
@media (prefers-reduced-motion: reduce) {
  .timeline__icon,
  .timeline__dot {
    transition: none;
  }
}

/* ===== 404 PAGE === */
.page-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.page-404__content {
  text-align: center;
}

.page-404__code {
  font-size: 120px;
  font-weight: 700;
  color: var(--c-magenta);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.page-404__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.page-404__text {
  font-size: var(--text-lg);
  color: var(--c-text-secondary);
  margin-bottom: var(--space-8);
}

/* ===== PAGES LÉGALES (legal-notice, privacy-policy, cookies-policy) === */

/* === Hero compact pour pages légales === */
.legal-hero {
  background: var(--gradient-doit);
  color: white;
  padding: calc(72px + var(--space-16)) 0 var(--space-16);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at bottom right, rgba(var(--c-magenta-rgb), 0.12) 0%, transparent 65%),
    radial-gradient(ellipse at top left, rgba(var(--c-purple-rgb), 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.legal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--c-white-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--c-white-rgb), 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.legal-hero__content {
  position: relative;
  z-index: 1;
}

.legal-hero__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-6);
  padding: var(--space-4);
  background: rgba(var(--c-white-rgb), 0.12);
  border-radius: var(--radius-full);
  color: white;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.legal-hero__icon svg {
  width: 100%;
  height: 100%;
}

.legal-hero__title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.legal-hero__subtitle {
  font-size: var(--text-lg);
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === Contenu principal pages légales === */
.legal-content {
  padding: var(--space-16) 0;
}

.legal-content .container {
  max-width: 1100px;
}

/* === Grille des sections légales === */
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.legal-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.legal-grid--1 {
  grid-template-columns: 1fr;
}

@media (max-width: 768px) {
  .legal-grid,
  .legal-grid--3 {
    grid-template-columns: 1fr;
  }
}

/* === Carte section légale === */
.legal-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: 0 2px 12px rgba(var(--c-navy-rgb), 0.06);
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.legal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-doit);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.legal-card:hover {
  box-shadow: 0 8px 32px rgba(var(--c-navy-rgb), 0.12);
  transform: translateY(-2px);
}

.legal-card--full {
  grid-column: 1 / -1;
}

/* === En-tête de carte légale === */
.legal-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.legal-card__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: var(--space-2);
  background: linear-gradient(135deg, rgba(var(--c-magenta-rgb), 0.08) 0%, rgba(var(--c-purple-rgb), 0.08) 100%);
  border-radius: var(--radius-full);
  color: var(--c-magenta);
  transition: transform var(--transition-base);
}

.legal-card:hover .legal-card__icon {
  transform: scale(1.08);
}

.legal-card__icon svg {
  width: 100%;
  height: 100%;
}

.legal-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--c-navy);
  margin: 0;
}

/* === Contenu carte légale === */
.legal-card p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--c-text);
  margin-bottom: var(--space-3);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card strong {
  color: var(--c-navy);
  font-weight: 600;
}

.legal-card a {
  color: var(--c-magenta);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-base);
}

.legal-card a:hover {
  color: var(--c-purple);
  text-decoration: underline;
}

/* === Liste dans carte légale === */
.legal-card__list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.legal-card__list li {
  padding: var(--space-3) var(--space-4);
  background: var(--c-navy-pale);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--c-magenta);
  font-size: var(--text-sm);
  color: var(--c-navy);
  font-weight: 500;
  line-height: 1.5;
  transition: background var(--transition-base), transform var(--transition-base);
}

.legal-card__list li:hover {
  background: linear-gradient(90deg, rgba(var(--c-magenta-rgb), 0.08) 0%, var(--c-navy-pale) 100%);
  transform: translateX(4px);
}

.legal-card__list li strong {
  display: block;
  color: var(--c-navy);
  margin-bottom: var(--space-1);
}

/* === Séparateur entre sections === */
.legal-separator {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--c-border), transparent);
  margin: var(--space-10) 0;
}

/* === Titre de section légale === */
.legal-section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.legal-section-title__icon {
  width: 32px;
  height: 32px;
  color: var(--c-magenta);
  flex-shrink: 0;
}

.legal-section-title__icon svg {
  width: 100%;
  height: 100%;
}

/* === Dernière mise à jour === */
.legal-updated {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--c-border);
  margin-top: var(--space-8);
}

/* ===== PAGE 404 — Styles dédiés (remplace les inline styles) ===== */
.error-page {
  text-align: center;
  padding: var(--space-20) 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-page__code {
  font-size: 6rem;
  line-height: 1;
  margin-bottom: var(--space-4);
  color: var(--c-magenta);
}

.error-page__list {
  list-style: none;
  padding: 0;
}

.error-page__list li {
  margin-bottom: var(--space-2);
}

.error-page__list li:last-child {
  margin-bottom: 0;
}

/* ===== MODALE COOKIES — Description catégorie ===== */
.cookie-modal__category-desc {
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

/* ===== SECTION STORY — Conteneur étroit ===== */
.section--narrow {
  max-width: 900px;
  margin: 0 auto;
}

.intro-text--spaced {
  margin-top: var(--space-8);
}

/* ===== SECTION TEAM — Styles CTA et intro ===== */
.section--centered {
  max-width: 800px;
  text-align: center;
}

.section--cta-gradient {
  background: var(--gradient-doit);
  color: white;
  text-align: center;
}

.section--cta-gradient .section__headline {
  color: white;
  margin-bottom: var(--space-4);
}

.section--cta-gradient .intro-text {
  color: rgba(var(--c-white-rgb), 0.95);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

/* ===== TOOLTIPS & ABBRÉVIATIONS === */
abbr[title] {
  text-decoration: underline dotted var(--c-navy-light);
  text-underline-offset: 2px;
  cursor: help;
}

/* Tooltip pour éléments non-texte (logos, icônes) */
.tooltip {
  position: relative;
  cursor: help;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-1) var(--space-2);
  background: var(--c-navy-dark);
  color: white;
  font-size: var(--text-xs);
  white-space: nowrap;
  border-radius: var(--radius-sm);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base);
  pointer-events: none;
  z-index: var(--z-tooltip);
}

.tooltip:hover::after,
.tooltip:focus::after {
  opacity: 1;
  visibility: visible;
}

/* ===== FORMULAIRE — Erreur générale (remplace inline styles) ===== */
.form__error-general {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background-color: var(--c-error-bg);
  color: var(--c-error-dark);
  margin-bottom: var(--space-6);
  display: none;
}

.form__error-general.show {
  display: block;
}

/* ===== HERO ORBITAL — Orbites blanches animées reliant les 4 cartes fixes ===== */

/* Conteneur des orbites — visible à toutes les résolutions, derrière les cartes */
.hero__orbital {
  position: absolute;
  inset: calc(-1 * var(--space-6));
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

/* SVG des orbites — couvre tout le conteneur, proportions adaptées */
.hero__orbital-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Ligne tracée des orbites (trait pointillé blanc) */
.hero__orbital-path {
  fill: none;
  stroke: white;
  stroke-width: 1.5;
  stroke-dasharray: 8 10;
}

.hero__orbital-path--1 {
  opacity: 0.35;
  animation: orbital-dash 30s linear infinite;
}

.hero__orbital-path--2 {
  opacity: 0.25;
  animation: orbital-dash 35s linear infinite reverse;
}

/* Points lumineux blancs qui voyagent le long des orbites */
.hero__orbital-dot {
  fill: white;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9))
          drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

/* Orbite 1 — grande ellipse horizontale */
.hero__orbital-dot--1 {
  offset-path: path('M 10,250 A 240,150 0 1 1 490,250 A 240,150 0 1 1 10,250');
  animation: orbital-travel 14s linear infinite;
}

/* Orbite 2 — grande ellipse verticale */
.hero__orbital-dot--2 {
  offset-path: path('M 250,10 A 150,240 0 1 1 250,490 A 150,240 0 1 1 250,10');
  animation: orbital-travel 18s linear infinite;
}

/* Keyframe — voyage d'un point le long de son orbite */
@keyframes orbital-travel {
  from { offset-distance: 0%; }
  to   { offset-distance: 100%; }
}

/* Animation du trait pointillé (décalage continu) */
@keyframes orbital-dash {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: 500; }
}