/* ==========================================================
   VGATE GROUP — Design System v1.0
   Palette : #17687A (teal) · #FFFFFF (white) · #F5A21E (orange)
   Mobile-first · Dark/Light · AA contrast
========================================================== */

/* ----------------------------------------------------------
   1. TOKENS
---------------------------------------------------------- */
:root {
  --teal: #17687A;
  --teal-dark: #0F4C5A;
  --teal-light: #1E7F96;
  --orange: #F5A21E;
  --orange-dark: #D98708;
  --white: #FFFFFF;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(15, 76, 90, .06), 0 2px 8px rgba(15, 76, 90, .05);
  --shadow-md: 0 4px 12px rgba(15, 76, 90, .08), 0 8px 24px rgba(15, 76, 90, .06);
  --shadow-lg: 0 12px 32px rgba(15, 76, 90, .12);
  --shadow-orange: 0 8px 24px rgba(245, 162, 30, .25);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, sans-serif;

  --transition: 200ms cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --header-h: 72px;
}

[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-soft: #F7F9FA;
  --bg-elev: #FFFFFF;
  --fg: #0E2A33;
  --fg-muted: #55707A;
  --border: #E3EAEE;
  --header-bg: rgba(255, 255, 255, 0.85);
  --hero-overlay:
    radial-gradient(circle at 80% 20%, rgba(245, 162, 30, 0.10), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(23, 104, 122, 0.10), transparent 50%);
  --card-hover: 0 12px 28px rgba(15, 76, 90, .12);
}

[data-theme="dark"] {
  --bg: #0A1A20;
  --bg-soft: #0F252D;
  --bg-elev: #123039;
  --fg: #EAF2F5;
  --fg-muted: #9FB4BC;
  --border: #1E3B45;
  --header-bg: rgba(10, 26, 32, 0.85);
  --hero-overlay:
    radial-gradient(circle at 80% 20%, rgba(245, 162, 30, 0.14), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(30, 127, 150, 0.20), transparent 50%);
  --card-hover: 0 12px 28px rgba(0, 0, 0, .35);
}

/* ----------------------------------------------------------
   2. RESET & BASE
---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ----------------------------------------------------------
   3. ACCESSIBILITY
---------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: var(--white);
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ----------------------------------------------------------
   4. BUTTONS
---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-sm { padding: 9px 14px; font-size: .85rem; border-radius: 10px; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 8px 20px rgba(23, 104, 122, .30);
}

.btn-accent {
  background: var(--orange);
  color: #1a0f00;
}
.btn-accent:hover {
  background: var(--orange-dark);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}
[data-theme="dark"] .btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-wa {
  background: #25D366;
  color: #062b13;
  font-weight: 700;
}
.btn-wa:hover { background: #1ebe57; }

.btn svg { flex-shrink: 0; }

/* ----------------------------------------------------------
   5. HEADER
---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(23, 104, 122, .35);
}
.brand-text strong { color: var(--fg); }
.brand-text span { color: var(--teal); font-weight: 600; }
[data-theme="dark"] .brand-text span { color: var(--orange); }

/* Nav desktop */
.main-nav ul {
  display: flex;
  gap: 2px;
  align-items: center;
}
.main-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover { color: var(--fg); background: var(--bg-soft); }
.main-nav a.is-active { color: var(--teal); font-weight: 600; }
[data-theme="dark"] .main-nav a.is-active { color: var(--orange); }

.has-sub { position: relative; }
.has-sub > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}
.has-sub:hover > a::after { transform: rotate(225deg) translateY(-2px); }

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 50;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu li a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--fg-muted);
  font-size: .88rem;
}
.submenu li a:hover {
  background: var(--bg-soft);
  color: var(--teal);
}
[data-theme="dark"] .submenu li a:hover { color: var(--orange); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 4px 6px;
  font-size: .82rem;
  font-weight: 600;
  border: 1px solid var(--border);
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--fg-muted);
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .78rem;
  transition: color var(--transition), background var(--transition);
}
.lang-btn.is-active {
  background: var(--teal);
  color: var(--white);
}
[data-theme="dark"] .lang-btn.is-active {
  background: var(--orange);
  color: #1a0f00;
}
.lang-sep { color: var(--fg-muted); opacity: .4; }

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--fg);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.icon-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}
[data-theme="dark"] .icon-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* Icônes thème */
.ico-sun, .ico-moon { display: none; }
[data-theme="light"] .ico-sun { display: block; }
[data-theme="dark"] .ico-moon { display: block; }

/* Menu burger */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ----------------------------------------------------------
   6. HERO
---------------------------------------------------------- */
.hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(245, 162, 30, .15);
  color: var(--orange-dark);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
[data-theme="dark"] .eyebrow {
  color: var(--orange);
  background: rgba(245, 162, 30, .18);
}

.hero-title {
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.accent-text {
  color: var(--teal);
  position: relative;
  display: inline-block;
}
[data-theme="dark"] .accent-text { color: var(--orange); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-trust li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-trust strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
[data-theme="dark"] .hero-trust strong { color: var(--orange); }
.hero-trust span {
  font-size: .82rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Visuel globe */
.hero-visual {
  display: none;
  justify-content: center;
  align-items: center;
}
.globe-card {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), transparent 60%),
    conic-gradient(from 0deg, var(--teal) 0%, var(--teal-light) 50%, var(--teal) 100%);
  box-shadow:
    0 30px 60px rgba(23, 104, 122, .35),
    inset 0 0 60px rgba(0, 0, 0, .15);
  animation: float 6s ease-in-out infinite;
}
.globe-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1.5px dashed rgba(23, 104, 122, .35);
  animation: spin 30s linear infinite;
}
.globe-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(245, 162, 30, .25);
}
.globe-dot.d1 { top: 20%; left: 25%; animation: pulse 2.5s ease-in-out infinite; }
.globe-dot.d2 { top: 60%; left: 70%; animation: pulse 2.5s ease-in-out infinite .8s; }
.globe-dot.d3 { top: 75%; left: 35%; animation: pulse 2.5s ease-in-out infinite 1.6s; }

.globe-label {
  position: absolute;
  inset: auto 0 0 0;
  margin: auto;
  width: max-content;
  bottom: -10px;
  transform: translateY(50%);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
}
.globe-label p { margin: 0; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: .7; }
}

/* ----------------------------------------------------------
   7. SECTIONS GÉNÉRIQUES
---------------------------------------------------------- */
section { padding: 72px 0; }

.section-head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--fg-muted); margin: 0; font-size: 1.05rem; }

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  flex-wrap: wrap;
}
.section-head-row > div { max-width: 640px; }

/* ----------------------------------------------------------
   8. PRIORITÉS (3 cartes)
---------------------------------------------------------- */
.priorities {
  background: var(--bg-soft);
}
.priority-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.priority-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.priority-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  opacity: 0;
  transition: opacity var(--transition);
}
.priority-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover);
  border-color: transparent;
}
.priority-card:hover::before { opacity: 1; }

.pc-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(23, 104, 122, .10);
  color: var(--teal);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: background var(--transition), color var(--transition);
}
[data-theme="dark"] .pc-icon {
  background: rgba(245, 162, 30, .12);
  color: var(--orange);
}
.priority-card:hover .pc-icon {
  background: var(--teal);
  color: var(--white);
}
[data-theme="dark"] .priority-card:hover .pc-icon {
  background: var(--orange);
  color: #1a0f00;
}

.priority-card h3 { margin-bottom: 10px; }
.priority-card p {
  color: var(--fg-muted);
  font-size: .95rem;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--teal);
  font-weight: 600;
  font-size: .92rem;
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { gap: 10px; }
[data-theme="dark"] .card-link { color: var(--orange); }

/* ----------------------------------------------------------
   9. OFFRES D'EMPLOI
---------------------------------------------------------- */
.jobs-section { background: var(--bg); }

.jobs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.job-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-hover);
  border-color: rgba(23, 104, 122, .3);
}

.job-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.job-tag {
  font-size: .85rem;
  font-weight: 600;
  color: var(--fg-muted);
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.job-status {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 999px;
}
.job-status.open {
  background: rgba(37, 211, 102, .15);
  color: #1a8c46;
}
[data-theme="dark"] .job-status.open {
  background: rgba(37, 211, 102, .18);
  color: #4fe889;
}
.job-status.closed {
  background: rgba(220, 53, 69, .12);
  color: #b32435;
}

.job-card h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
  line-height: 1.35;
}
.job-ref {
  font-size: .82rem;
  color: var(--fg-muted);
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  margin-bottom: 16px;
}

.job-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
  font-size: .88rem;
  color: var(--fg-muted);
}
.job-meta li {
  position: relative;
  padding-left: 18px;
}
.job-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.job-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.job-actions .btn { flex: 1; }
.job-actions .btn-wa { flex: 0 0 auto; }

.jobs-disclaimer {
  margin-top: 32px;
  font-size: .85rem;
  color: var(--fg-muted);
  text-align: center;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
}

/* ----------------------------------------------------------
   10. WHY VGATE
---------------------------------------------------------- */
.why { background: var(--bg-soft); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 20px;
}
.why-item {
  padding: 24px 22px;
  border-left: 3px solid var(--teal);
  background: var(--bg-elev);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: border-color var(--transition), transform var(--transition);
}
[data-theme="dark"] .why-item { border-left-color: var(--orange); }
.why-item:hover {
  border-left-width: 6px;
  transform: translateX(2px);
}
.wi-num {
  font-size: .85rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.why-item h3 { margin-bottom: 6px; font-size: 1.05rem; }
.why-item p {
  color: var(--fg-muted);
  font-size: .92rem;
  margin: 0;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   11. CTA FINAL
---------------------------------------------------------- */
.final-cta {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 162, 30, .25), transparent 70%);
  pointer-events: none;
}
.final-cta h2 {
  color: var(--white);
  margin-bottom: 10px;
}
.final-cta p {
  color: rgba(255, 255, 255, .8);
  font-size: 1.05rem;
  margin: 0;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------
   12. FOOTER
---------------------------------------------------------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer-brand p {
  color: var(--fg-muted);
  margin: 14px 0 18px;
  font-size: .9rem;
}
.socials {
  display: flex;
  gap: 8px;
}
.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .72rem;
  font-weight: 800;
  color: var(--fg-muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.socials a:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--fg);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  color: var(--fg-muted);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--teal); }
[data-theme="dark"] .footer-col a:hover { color: var(--orange); }

.footer-col address {
  font-style: normal;
  color: var(--fg-muted);
  font-size: .9rem;
  line-height: 1.7;
}
.footer-col address p { margin: 0 0 6px; }
.footer-col address a { color: var(--fg-muted); }
.footer-col address a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  font-size: .82rem;
  color: var(--fg-muted);
}
.footer-bottom-inner p { margin: 0; }

/* ----------------------------------------------------------
   13. BOUTON WHATSAPP FLOTTANT
---------------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  z-index: 90;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, .55);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .5); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ----------------------------------------------------------
   14. RESPONSIVE
---------------------------------------------------------- */

/* Tablette ≥ 640px */
@media (min-width: 640px) {
  .priority-grid { grid-template-columns: repeat(2, 1fr); }
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Desktop ≥ 1024px */
@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  section { padding: 96px 0; }

  .hero { padding: 80px 0 120px; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; }
  .hero-visual { display: flex; }

  .priority-grid { grid-template-columns: repeat(3, 1fr); }
  .jobs-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }

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

/* Mobile menu < 1024px */
@media (max-width: 1023px) {
  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    padding: 24px 20px;
    transform: translateX(-100%);
    transition: transform 280ms cubic-bezier(.2,.7,.2,1);
    overflow-y: auto;
    z-index: 99;
    border-top: 1px solid var(--border);
  }
  .main-nav.is-open { transform: translateX(0); }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .main-nav a {
    display: block;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 10px;
    color: var(--fg);
  }
  .main-nav a:hover { background: var(--bg-soft); }

  .has-sub > a::after {
    float: right;
    margin-top: 6px;
  }
  .has-sub .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 280ms ease;
  }
  .has-sub.is-open .submenu {
    max-height: 400px;
    padding: 4px 0 8px 16px;
  }

  .hide-sm { display: none; }
  .header-actions { gap: 6px; }
  .lang-switch { font-size: .75rem; padding: 3px 4px; }
  .lang-btn { padding: 3px 6px; font-size: .72rem; }
}

/* Body lock quand menu ouvert */
body.menu-open { overflow: hidden; }

/* Petits mobiles */
@media (max-width: 400px) {
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: 20px; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}

/* ----------------------------------------------------------
   15. PRÉFÉRENCES UTILISATEUR
---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Impression */
@media print {
  .site-header, .wa-float, .final-cta, .footer-bottom { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* Animations au scroll (progressive enhancement) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
