/* ============================================================
   AGM Legal Ltd — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --bg-0:        #05050a;
  --bg-1:        #08080f;
  --bg-2:        #0c0c16;
  --bg-3:        #10101e;
  --bg-4:        #14142a;
  --border-0:    rgba(255,255,255,0.04);
  --border-1:    rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.12);
  --border-a:    rgba(59,120,246,0.28);

  --text-1: #eeeef4;
  --text-2: #9898b8;
  --text-3: #5c5c7a;
  --text-inv: #05050a;

  --blue:        #3b78f6;
  --blue-light:  #6496f8;
  --blue-dark:   #2560e0;
  --blue-glow:   rgba(59,120,246,0.12);
  --blue-glow-s: rgba(59,120,246,0.22);
  --blue-glow-l: rgba(59,120,246,0.06);

  --gold:        #c9a84c;
  --gold-light:  #e4c875;

  --radius-s:  6px;
  --radius-m:  7px;
  --radius-l:  16px;
  --radius-xl: 24px;
  --radius-2xl:32px;

  --shadow-s: 0 2px 8px rgba(0,0,0,0.5);
  --shadow-m: 0 4px 20px rgba(0,0,0,0.6);
  --shadow-l: 0 8px 40px rgba(0,0,0,0.7);
  --shadow-a: 0 0 40px rgba(59,120,246,0.18);
  --shadow-ab:0 0 80px rgba(59,120,246,0.1);

  --ease: cubic-bezier(0.4,0,0.2,1);
  --t: .25s;
  --t-s: .18s;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: 'Space Grotesk', 'Inter', sans-serif;

  --max-w: 1200px;
  --header-h: 72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-1);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { color: var(--text-2); font-size: 1.0rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.section-title { margin-bottom: 16px; }
.section-sub {
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 48px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }
.gradient-text {
  background: linear-gradient(135deg, #fff 30%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-m);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--t) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 0 var(--blue-glow-s);
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 24px var(--blue-glow-s), 0 0 0 1px var(--border-a);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border-2);
}
.btn-outline:hover {
  border-color: var(--border-a);
  color: var(--blue-light);
  background: var(--blue-glow);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--blue-light);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: #fff; gap: 12px; }
.btn-lg { padding: 15px 36px; font-size: 1rem; border-radius: var(--radius-m); }
.btn-sm { padding: 8px 20px; font-size: 0.84rem; }
.btn-arrow::after {
  content: '→';
  transition: transform var(--t-s) var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.nav.scrolled {
  background: rgba(5,5,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-s);
  padding: 6px 10px;
  transition: box-shadow var(--t) var(--ease);
}
.nav-logo:hover {
  box-shadow: 0 0 0 2px var(--border-a);
}
/* Logo image (remplace l'ancien logo CSS) */
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.logo-img-sm {
  height: 32px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-s);
  transition: color var(--t-s) var(--ease), background var(--t-s) var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-1);
  background: rgba(255,255,255,0.05);
}
.nav-links a.active { color: var(--blue-light); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-s);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all var(--t-s) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(5,5,10,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-1);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-s);
  transition: color var(--t-s), background var(--t-s);
}
.mobile-menu a:hover { color: var(--text-1); background: rgba(255,255,255,0.05); }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

/* ── Background Grid ── */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 75%);
  pointer-events: none;
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
}
.glow-orb-1 {
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(59,120,246,0.22) 0%, transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
}
.glow-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(ellipse, rgba(59,120,246,0.12) 0%, transparent 70%);
  bottom: 0; right: -50px;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-0);
  padding-top: var(--header-h);
  overflow: hidden;
}

/* Split container hero */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 80px;
}

/* Visual droite avec mask géométrique */
.hero-visual {
  position: relative;
  z-index: 2;
  align-self: center;
  display: flex;
  align-items: center;
  min-height: 560px;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  /* Mask géométrique (img/mask.png) */
  /*-webkit-mask-image: url('../img/mask.png');*/
  /*-webkit-mask-size: cover;*/
  /*-webkit-mask-repeat: no-repeat;*/
  /*-webkit-mask-position: center;*/
  /*mask-image: url('../img/mask.png');*/
  /*mask-size: cover;*/
  /*mask-repeat: no-repeat;*/
  /*mask-position: center;*/
}
.hero h1 { margin-bottom: 24px; font-size: clamp(2.4rem,5.5vw,4.2rem); }
.hero p {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--border-1);
  max-width: 660px;
}
.stat-item {}
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num span { color: var(--blue-light); }
.stat-label { font-size: 0.82rem; color: var(--text-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 80px;
  background: var(--bg-0);
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(1.9rem,4vw,3rem); margin-bottom: 16px; }
.page-hero p { font-size: 1.05rem; max-width: 580px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-3);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-3); transition: color var(--t-s); }
.breadcrumb a:hover { color: var(--blue-light); }
.breadcrumb span { color: var(--text-2); }

/* ── Trust Bar ── */
.trust-bar {
  padding: 32px 0;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  background: var(--bg-1);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  font-weight: 600;
  white-space: nowrap;
}
.trust-items {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-3);
  transition: color var(--t-s);
}
.trust-item:hover { color: var(--text-2); }
.trust-item svg { color: var(--blue); flex-shrink: 0; }

/* ── Cards ── */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-l);
  padding: 32px;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.card:hover {
  border-color: var(--border-a);
  box-shadow: var(--shadow-a);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-glow);
  border: 1px solid var(--border-a);
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  margin-bottom: 20px;
  font-size: 1.2rem;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.92rem; }

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-l);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity var(--t);
}
.service-card:hover {
  border-color: var(--border-a);
  box-shadow: var(--shadow-a);
  transform: translateY(-3px);
}
.service-card:hover::before { opacity: 1; }
.service-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.92rem; margin-bottom: 20px; }
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-3);
  border: 1px solid var(--border-1);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

/* ── Stats Section ── */
.stats-section {
  background: var(--bg-1);
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}
.stat-block {
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid var(--border-1);
  position: relative;
}
.stat-block:last-child { border-right: none; }
.stat-block-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-block-num span { color: var(--blue-light); }
.stat-block-label {
  font-size: 0.85rem;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Why Us / Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-l);
  padding: 32px;
  transition: border-color var(--t), box-shadow var(--t);
}
.feature-card:hover {
  border-color: var(--border-a);
  box-shadow: var(--shadow-a);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-m);
  background: linear-gradient(135deg, var(--blue-glow-s), var(--blue-glow));
  border: 1px solid var(--border-a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* ── CTA Section ── */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-1);
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
}
.cta-box {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-box h2 { margin-bottom: 16px; }
.cta-box p { font-size: 1.05rem; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: border-color var(--t);
}
.faq-item.open { border-color: var(--border-a); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  text-align: left;
  color: var(--text-1);
  font-size: 0.97rem;
  font-weight: 600;
  background: none;
  cursor: pointer;
  transition: color var(--t-s);
}
.faq-question:hover { color: var(--blue-light); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 1rem;
  line-height: 1;
  transition: all var(--t-s);
  flex-shrink: 0;
}
.faq-item.open .faq-icon {
  background: var(--blue-glow);
  border-color: var(--border-a);
  color: var(--blue-light);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
}
.faq-answer-inner {
  padding: 0 28px 22px;
  color: var(--text-2);
  font-size: 0.93rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 12px; }
.contact-info p { margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-m);
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-glow);
  border: 1px solid var(--border-a);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail-info label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 2px;
  font-weight: 600;
}
.contact-detail-info span { font-size: 0.92rem; color: var(--text-1); }

.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-3);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-s);
  padding: 12px 16px;
  color: var(--text-1);
  font-size: 0.92rem;
  transition: border-color var(--t-s), box-shadow var(--t-s);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group.full { grid-column: 1/-1; }
.form-note {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-image-box {
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  padding: 40px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-shield {
  font-size: 6rem;
  line-height: 1;
}
.about-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--bg-3);
  border: 1px solid var(--border-a);
  border-radius: var(--radius-m);
  padding: 12px 16px;
  text-align: center;
  box-shadow: var(--shadow-a);
}
.about-badge-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-light);
  line-height: 1;
}
.about-badge-label {
  font-size: 0.72rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.value-item {
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-m);
  padding: 20px;
}
.value-icon { font-size: 1.5rem; margin-bottom: 10px; }
.value-title { font-size: 0.92rem; font-weight: 600; margin-bottom: 4px; }
.value-desc { font-size: 0.82rem; color: var(--text-3); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-l);
  padding: 32px;
  text-align: center;
  transition: border-color var(--t), box-shadow var(--t);
}
.team-card:hover { border-color: var(--border-a); box-shadow: var(--shadow-a); }
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 0 24px var(--blue-glow-s);
}
.team-name { font-size: 1.0rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.82rem; color: var(--blue-light); font-weight: 500; margin-bottom: 12px; }
.team-bio { font-size: 0.85rem; color: var(--text-3); line-height: 1.6; }

/* ── Process ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}
.process-step {
  padding: 32px;
  position: relative;
  text-align: center;
}
.process-step::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 1.2rem;
  z-index: 2;
}
.process-step:last-child::after { display: none; }
.process-num {
  width: 44px;
  height: 44px;
  background: var(--blue-glow);
  border: 1px solid var(--border-a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-light);
  margin: 0 auto 16px;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; }

/* ── Industries ── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.industry-item {
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-m);
  padding: 20px 16px;
  text-align: center;
  transition: border-color var(--t), background var(--t);
  cursor: default;
}
.industry-item:hover { border-color: var(--border-a); background: var(--bg-3); }
.industry-icon { font-size: 1.6rem; margin-bottom: 8px; }
.industry-name { font-size: 0.82rem; font-weight: 500; color: var(--text-2); }

/* ── Certifications ── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-m);
  padding: 16px 20px;
  transition: border-color var(--t);
}
.cert-item:hover { border-color: var(--border-a); }
.cert-check {
  width: 28px;
  height: 28px;
  background: var(--blue-glow);
  border: 1px solid var(--border-a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.cert-name { font-size: 0.85rem; font-weight: 600; color: var(--text-1); }

/* ── Footer ── */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border-1);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-3);
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-3);
  transition: color var(--t-s);
}
.footer-col ul li a:hover { color: var(--blue-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border-0);
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-3); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-3); transition: color var(--t-s); }
.footer-bottom-links a:hover { color: var(--blue-light); }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.72rem;
  margin-top: 12px;
}
html[data-theme="dark"] .footer-badge {
  color: var(--text-3);
}
.footer-badge span { color: var(--blue-light); font-weight: 600; }

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border-1);
  margin: 0;
}
.section-divider { margin: 0; border: none; border-top: 1px solid var(--border-1); }

/* ── Utility ── */
.highlight { color: var(--blue-light); }
.badge-new {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--blue-glow);
  border: 1px solid var(--border-a);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 72px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  /* Hero split → colonne unique, visuel masqué */
  .hero-split { grid-template-columns: 1fr; gap: 0; }
  .hero-content { padding: 80px 0 48px; }
  .hero-visual { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(2) { border-right: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .stat-block { border-right: none; border-bottom: 1px solid var(--border-1); }
  .stat-block:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 24px; }
  h1 { font-size: 2rem; }
}

/* ── Photo Components ─────────────────────────────────────────── */

/* Fond photo subtil (hero & page-hero) */
.photo-bg-subtle {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
}

/* Cadre photo avec overlay gradient */
.photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-2);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.photo-frame:hover img { transform: scale(1.04); }
.photo-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,5,10,0.85) 0%,
    rgba(5,5,10,0.25) 55%,
    rgba(5,5,10,0.1) 100%
  );
  pointer-events: none;
}

/* Bande photo pleine largeur avec texte */
.photo-strip {
  position: relative;
  overflow: hidden;
  height: 360px;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
}
.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.28) saturate(0.65);
}
.photo-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5,5,10,0.97) 0%,
    rgba(5,5,10,0.6) 45%,
    rgba(5,5,10,0.15) 100%
  );
}
.photo-strip-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

/* Grille de photos (3 colonnes) */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.photo-gallery-item {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-1);
  transition: border-color var(--t);
}
.photo-gallery-item:hover { border-color: var(--border-a); }
.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7) saturate(0.8);
  transition: filter var(--t), transform 0.6s var(--ease);
}
.photo-gallery-item:hover img {
  filter: brightness(0.85) saturate(1);
  transform: scale(1.03);
}
.photo-gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,10,0.7) 0%, transparent 60%);
}
.photo-gallery-item-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .photo-strip { height: 240px; }
  .photo-strip-overlay {
    background: linear-gradient(to bottom, rgba(5,5,10,0.92) 0%, rgba(5,5,10,0.7) 100%);
  }
  .photo-gallery { grid-template-columns: 1fr; }
  .photo-gallery-item:nth-child(2),
  .photo-gallery-item:nth-child(3) { display: none; }
}
