/* Palette principale inspirée du bleu du logo */
:root {
  --primary: #3A6FF8; /* Bleu électrique pour actions */
  --primary-dark: #2f5ad1;
  --primary-light: #e2e9fe;
  --accent: #00D4C8; /* Cyan data pour accents */
  --premium: #E8B84B; /* Or pour éléments premium */
  --bg: #0B1426; /* Fond navy profond */
  --bg-alt: #101C32; /* Variante pour cartes */
  --text-main: #f5f7fb;
  --text-muted: #9ca3af;
  --card-bg: #101C32;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
  --radius-lg: 18px;
  --radius-full: 999px;
  --transition-fast: 0.2s ease-out;
  --transition-med: 0.35s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

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

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER / NAVBAR */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient( 
    to bottom,
    rgba(11, 20, 38, 0.92),
    rgba(11, 20, 38, 0.75),
    transparent 
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.2rem;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transition: width var(--transition-med);
}

.nav-link:hover {
  color: #e5e7eb;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #e5e7eb;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full); 
  background: radial-gradient(circle at 0 0, var(--accent), var(--primary));
  color: #f9fafb;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(191, 219, 254, 0.4);
  box-shadow: 0 10px 30px rgba(58, 111, 248, 0.55);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-1px); 
  box-shadow: 0 18px 45px rgba(58, 111, 248, 0.65);
}

.nav-cta-icon {
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  margin: 4px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* HERO / ACCUEIL */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0.7rem 0.25rem 0.3rem;
  border-radius: 999px; 
  background: var(--bg-alt);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-kicker-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, var(--accent), var(--primary));
  color: #f9fafb;
  font-size: 0.75rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  padding-right: 0.5rem;
}

.hero-title span.highlight {
  background: linear-gradient(120deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.15em;
}

.hero-subtitle {
  max-width: 32rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.hero-tag {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
  background: var(--bg-alt);
}

.primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.25rem;
}

.hero-shortcuts {
  margin-top: 0.75rem;
  align-items: flex-start;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.btn-primary {
  background: radial-gradient(circle at 0 0, var(--accent), var(--primary));
  border-color: rgba(191, 219, 254, 0.6);
  color: #f9fafb;
  box-shadow: 0 15px 45px rgba(58, 111, 248, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(58, 111, 248, 0.75);
}

.btn-ghost {
  background: rgba(16, 28, 50, 0.75);
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.btn-ghost:hover {
  background: rgba(16, 28, 50, 0.95);
  border-color: rgba(191, 219, 254, 0.9);
}

.btn-icon {
  font-size: 1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-meta-item span {
  display: block;
}

.hero-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.hero-meta-value {
  color: #e5e7eb;
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 26px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.4);
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.hero-chip {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid rgba(191, 219, 254, 0.7);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(0, 212, 200, 0.28);
}

.hero-card-kpi {
  text-align: right;
}

.hero-kpi-main {
  font-size: 1.4rem;
  font-weight: 600;
  color: #e5e7eb;
}

.hero-kpi-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-chart {
  position: relative;
  height: 150px;
  border-radius: 20px; 
  background: radial-gradient(circle at 15% 0, rgba(0, 212, 200, 0.2), transparent 55%),
    radial-gradient(circle at 85% 100%, rgba(58, 111, 248, 0.3), transparent 55%);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.hero-chart-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(148, 163, 184, 0.12) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgba(148, 163, 184, 0.12) 1px,
      transparent 1px
    );
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at top, black 0, black 60%, transparent 100%);
}

.hero-chart-line {
  position: absolute;
  inset: 24px 14px 14px 10px;
}

.hero-chart-line svg {
  width: 100%;
  height: 100%;
}

.hero-floating {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  right: -6px;
  top: 16%;
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 0.55rem 0.9rem;
  font-size: 0.74rem;
  border: 1px solid rgba(191, 219, 254, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 150px;
}

.hero-badge-title {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}

.hero-badge-pill {
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.25);
}

.hero-badge-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
}

.hero-orb,
.hero-orb-alt {
  position: absolute;
  border-radius: 999px;
  filter: blur(0);
}

.hero-orb {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 0 0, var(--accent), transparent 60%);
  opacity: 0.35;
  left: -40px;
  bottom: 18%;
}

.hero-orb-alt {
  width: 80px; 
  height: 80px; 
  background: radial-gradient(circle at 100% 0, var(--primary), transparent 60%);
  opacity: 0.32;
  right: 16%;
  bottom: -18px;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.hero-pill {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid rgba(148, 163, 184, 0.55);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hero-pill strong {
  color: #e5e7eb;
}

/* SECTION TITLES */

.section {
  padding: 1.5rem 0 3.5rem;
  scroll-margin-top: 90px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  margin: 0;
}

.section-title span {
  color: #dbeafe;
}

.section-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 26rem;
}

/* PHILOSOPHIE / PILIERS */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.pillar-card {
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem 1.05rem;
  background: radial-gradient(circle at 0 0, rgba(0, 212, 200, 0.1), transparent 52%),
    radial-gradient(circle at 100% 100%, rgba(58, 111, 248, 0.15), transparent 56%),
    var(--card-bg);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transform-origin: center bottom;
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    border-color var(--transition-med), background var(--transition-med),
    translate var(--transition-med);
}

.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(248, 250, 252, 0.25), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.8);
  border-color: rgba(191, 219, 254, 0.9);
}

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

.pillar-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem; 
  background: var(--bg-alt);
  border: 1px solid rgba(191, 219, 254, 0.8);
  margin-bottom: 0.7rem;
}

.pillar-title {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.pillar-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* EXPERTISE / GRID */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.expertise-card {
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast), background var(--transition-fast);
}

.expertise-card::after {
  content: "";
  position: absolute;
  inset: -120%;
  background: conic-gradient(
    from 160deg, 
    rgba(0, 212, 200, 0.18),
    transparent 18%,
    transparent 60%,
    rgba(58, 111, 248, 0.2),
    transparent 82%
  );
  opacity: 0;
  transition: opacity 0.45s ease-out;
}

.expertise-card:hover {
  transform: translateY(-4px); 
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.8);
  border-color: rgba(191, 219, 254, 0.8);
  background: radial-gradient(circle at 0 0, rgba(0, 212, 200, 0.12), transparent 55%),
    var(--card-bg);
}

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

.expertise-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.expertise-title {
  font-size: 0.96rem;
  margin: 0.4rem 0 0.25rem;
}

.expertise-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.expertise-footer {
  margin-top: auto;
  font-size: 0.77rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.expertise-footer > span:last-child {
  white-space: nowrap;
}

.expertise-chip {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  white-space: nowrap;
}

/* FORMATIONS PAGE */

.trainings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.training-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem 1rem;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast), background var(--transition-fast);
}

.training-card.is-hidden {
  display: none;
}

.training-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6); 
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.filter-btn:hover {
  border-color: rgba(191, 219, 254, 0.9);
  color: #e5e7eb;
}

.filter-btn.active {
  background: radial-gradient(circle at 0 0, var(--accent), var(--primary));
  border-color: rgba(191, 219, 254, 0.9);
  color: #f9fafb;
  box-shadow: 0 10px 30px rgba(58, 111, 248, 0.6);
  transform: translateY(-1px);
}

.training-card:hover {
  transform: translateY(-4px); 
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border-color: rgba(191, 219, 254, 0.9);
  background: radial-gradient(circle at 0 0, rgba(0, 212, 200, 0.1), transparent 55%),
    var(--card-bg);
}

.training-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.training-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.training-title {
  font-size: 0.98rem;
  margin: 0.2rem 0 0.3rem;
}

.training-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.training-meta span {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid rgba(148, 163, 184, 0.55);
}

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

.training-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #bfdbfe;
}

.link-inline-icon {
  font-size: 0.9rem;
}

.case-study-image {
  width: 100%;
  height: 160px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

/* CAS D'ETUDES PAGE */
.case-study-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.case-study-item {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast), background var(--transition-fast);
}

.case-study-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(191, 219, 254, 0.9); 
  background: radial-gradient(circle at 0 0, rgba(0, 212, 200, 0.1), transparent 55%),
    var(--card-bg);
}

.case-study-title {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--text-main);
}

.case-study-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* REJOIGNEZ-NOUS (NOUVEAUX STYLES) */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 1.5rem auto 0;
}

.benefit-item-alt {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.benefit-item-alt:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.benefit-item-alt span {
    color: var(--text-main);
}

.process-steps-container {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
}

.process-steps-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border-subtle), var(--border-subtle) 4px, transparent 4px, transparent 8px);
    z-index: -1;
}

.process-step-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.process-step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 0 0, var(--accent), var(--primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 3px var(--primary);
}

.process-step-content h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: var(--text-main);
}

.process-step-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* REJOIGNEZ-NOUS */

.careers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.careers-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px; 
  background: var(--bg-alt);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.careers-pill span {
  font-size: 0.9rem;
}

.careers-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.benefit-bullet {
  margin-top: 0.1rem;
  font-size: 0.8rem;
  color: #4ade80;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.role-card {
  border-radius: 16px;
  padding: 0.85rem 0.9rem;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast),
    background var(--transition-fast);
}

.role-card:hover {
  transform: translateY(-3px);
  border-color: rgba(191, 219, 254, 0.9); 
  background: radial-gradient(circle at 0 0, rgba(0, 212, 200, 0.1), transparent 55%),
    var(--card-bg);
}

.role-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.role-title {
  font-weight: 500;
}

.role-tag {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: var(--bg-alt);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-muted);
}

.role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--text-muted);
}

.role-meta span {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
}

.role-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9);
}

.role-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.2rem;
}

.role-footer span {
  color: var(--text-muted);
}

/* FORMULAIRE CANDIDATURE / CONTACT */

.card-surface {
  border-radius: 22px;
  background: var(--card-bg);
  border: 1px solid rgba(148, 163, 184, 0.65);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
  padding: 1.25rem 1.25rem 1.35rem;
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-title {
  font-size: 0.98rem;
  margin: 0 0 0.2rem;
}

.form-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.badge-qualite {
  padding: 0.2rem 0.6rem;
  border-radius: 999px; 
  border: 1px solid rgba(232, 184, 75, 0.7);
  font-size: 0.72rem;
  color: #e5e7eb;
  background: radial-gradient(circle at 0 0, rgba(232, 184, 75, 0.22), transparent 60%);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 0.9rem;
  margin-bottom: 0.9rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(51, 65, 85, 0.9); 
  background: var(--bg);
  color: #e5e7eb;
  font-size: 0.82rem;
  outline: none;
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
  background: var(--bg-alt);
}

.form-textarea {
  resize: vertical;
  min-height: 96px;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.75rem 0 1.3rem;
  margin-top: auto;
  background: var(--bg);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.75rem;
  margin-bottom: 1.25rem;
}

.footer-brand {
  max-width: 17rem;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-columns {
  display: flex;
  gap: 2.5rem;
  font-size: 0.8rem;
}

.footer-column-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #e5e7eb;
}

.footer-links a {
  color: rgba(209, 213, 219, 0.95);
}

.footer-links a:hover {
  color: #bfdbfe;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  gap: 0.75rem;
}

.footer-legal a:hover {
  color: #bfdbfe;
}

/* SCROLL ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

/* UTILITIES */

.tagline-caps {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.73rem;
  color: var(--text-muted);
}

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

.mt-0-5 {
  margin-top: 0.5rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-1-5 {
  margin-top: 1.5rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.text-center {
  text-align: center;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero {
    padding-top: 3.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .hero-visual {
    order: -1;
  }

  .nav-links {
    position: absolute;
    inset: 55px 1.5rem auto;
    background: var(--bg-alt);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
    padding: 0.85rem 0.95rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(148, 163, 184, 0.6);
    transform-origin: top;
    transform: scaleY(0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  }

  .nav-links.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: block;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expertise-grid,
  .trainings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .careers-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .pillars-grid,
  .expertise-grid,
  .trainings-grid,
  .locations-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .qualiopi-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .benefits-grid {
      grid-template-columns: 1fr;
  }

  .process-steps-container {
      flex-direction: column;
      align-items: flex-start;
      gap: 2rem;
  }

  .process-steps-container::before {
      display: none;
  }

  .qualiopi-details .btn-ghost {
    margin: 0 auto;
  }

  .benefits-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .roles-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-step-item {
      flex-direction: row;
      text-align: left;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-columns {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 1.1rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .primary-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .footer-columns {
    flex-direction: column;
    gap: 1.3rem;
  }

}

/* REVIEWS TICKER */
.reviews-ticker-container {
    overflow: hidden;
    padding: 30px 0;
    background: transparent;
    position: relative;
    width: 100%;
}

.reviews-track {
    display: flex;
    width: max-content; 
    animation: scroll 45s linear infinite;
}

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

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card {
    width: 300px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin: 0 15px;
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 4px solid var(--primary); 
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-name { font-weight: 700; color: var(--text-main); }
.review-stars { color: var(--premium); font-size: 14px; }
.review-text { font-size: 0.95em; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; font-style: italic; }
.review-date { font-size: 0.8em; color: var(--text-muted); text-align: right; font-weight: 600; }

/* LOCATIONS */

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.location-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.location-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.location-content {
  padding: 1rem 1.1rem 1.1rem;
}

.location-title {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

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

/* QUALIOPI SECTION */
.qualiopi-grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  padding: 0.5rem;
}

.qualiopi-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qualiopi-details {
  min-width: 0;
}

.qualiopi-details .link-inline {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .qualiopi-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .qualiopi-details .btn-ghost {
    margin: 0 auto;
  }
}

.qualiopi-details .form-title {
  color: var(--premium);
}

/* CERTIFICATIONS PAGE */
#cert-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

#cert-wrapper .input-group {
  display: flex;
  gap: 0.75rem;
}

#cert-wrapper .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin: auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.cert-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cert-header {
  background: #22c55e; /* A green color for success */
  color: white;
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.cert-header .check-icon {
  background: rgba(255, 255, 255, 0.25);
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  font-size: 1.25rem;
  font-weight: bold;
}

.cert-header h4 {
  margin: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.cert-body {
  padding: 1rem 1.5rem 1.5rem;
}

.cert-row {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cert-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cert-row .label {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
}

.cert-row .value {
  font-weight: 500;
  color: var(--text-main);
}

.cert-footer {
  background: rgba(15, 23, 42, 0.5);
  padding: 0.8rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 480px) {
  #cert-wrapper .input-group {
    flex-direction: column;
  }
}
