/* recuperationdonnees.com — "Technical Authority" Design System */
/* ═══════════════════════════════════════════════════════════════ */
/* RESET & VARIABLES                                              */
/* ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #f7f5f0;
  --bg-alt: #edeae3;
  --card: #ffffff;
  --text: #1a1a2a;
  --text-secondary: #6b6b7b;
  --accent: #00d4aa;
  --accent-dark: #00b894;
  --accent-glow: rgba(0, 212, 170, 0.12);
  --accent-subtle: rgba(0, 212, 170, 0.06);
  --navy: #1a1a2a;
  --border: #e2dfd8;
  --border-light: #eceae4;
  --success: #00d4aa;
  --gold: #e8b931;
  --gold-light: #fef8e1;
  --red: #e85d5d;
  --font-display: 'Fraunces', 'Source Serif 4', Georgia, serif;
  --font-body: 'Instrument Sans', 'DM Sans', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(26, 26, 42, 0.04);
  --shadow-md: 0 4px 20px rgba(26, 26, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(26, 26, 42, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 212, 170, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* Grain texture mixin (applied to dark sections) */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* NAVIGATION                                                     */
/* ═══════════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(26, 26, 42, 0.04);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  letter-spacing: -0.4px;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.8; }

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-display);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
}
.logo:hover .logo-mark { transform: scale(1.06); }
.logo-tld { color: var(--accent); opacity: 0.7; }

.nav-links {
  display: flex;
  gap: 2px;
  font-family: var(--font-body);
  font-size: 14px;
}
.nav-links a {
  padding: 8px 18px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.25s, background 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
  background: var(--accent-subtle);
}
.nav-links a.active {
  color: var(--text);
  font-weight: 600;
}
.nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 22px;
  padding: 8px;
  color: var(--navy);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-toggle:hover { background: var(--accent-subtle); }

@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(247, 245, 240, 0.97);
    backdrop-filter: blur(20px);
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: 10px; font-size: 15px; }
  .nav-links a::after { display: none; }
  .nav-links a.active { background: var(--accent-glow); color: var(--accent-dark); }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* TRUST BAR                                                      */
/* ═══════════════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 24px;
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.trust-inner span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.trust-inner .trust-check {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* HERO                                                           */
/* ═══════════════════════════════════════════════════════════════ */
.hero {
  background: var(--navy);
  padding: 100px 32px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Grain texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* Geometric accent — large circle */
.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 170, 0.08);
  top: -200px;
  right: -150px;
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

/* Decorative geometric line */
.hero-deco {
  position: absolute;
  bottom: 60px;
  left: 8%;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.25), transparent);
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.15);
  padding: 7px 18px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  animation: fadeUp 0.7s var(--ease) both;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 60px);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  max-width: 760px;
  margin: 0 auto 24px;
  animation: fadeUp 0.7s var(--ease) 0.1s both;
}
.hero h1 em {
  font-style: normal;
  font-variation-settings: 'WONK' 1;
  background: linear-gradient(135deg, var(--accent), #4de8c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.75;
  font-weight: 400;
  animation: fadeUp 0.7s var(--ease) 0.2s both;
}

.search-box {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  animation: fadeUp 0.7s var(--ease) 0.3s both;
}
.search-box input {
  width: 100%;
  padding: 18px 24px 18px 52px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  font-size: 15px;
  color: #fff;
  outline: none;
  font-family: var(--font-body);
  transition: all 0.35s var(--ease);
}
.search-box input::placeholder { color: rgba(255, 255, 255, 0.3); }
.search-box input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.search-box .s-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.4;
  color: #fff;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════ */
/* SEARCH RESULTS DROPDOWN                                        */
/* ═══════════════════════════════════════════════════════════════ */
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  max-height: 420px;
  overflow-y: auto;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.25s var(--ease);
}
.search-results.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.search-results::-webkit-scrollbar { width: 6px; }
.search-results::-webkit-scrollbar-track { background: transparent; }
.search-results::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.sr-group-label {
  padding: 10px 18px 6px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 1;
  border-bottom: 1px solid var(--border-light);
}

.sr-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
  cursor: pointer;
  border-bottom: 1px solid rgba(226, 223, 216, 0.4);
}
.sr-item:last-child { border-bottom: none; }
.sr-item:hover, .sr-item.sr-active {
  background: var(--accent-subtle);
}
.sr-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.sr-item-content {
  flex: 1;
  min-width: 0;
}
.sr-item-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-item-meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-item-badge {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-dark);
  background: var(--accent-glow);
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.sr-highlight {
  background: rgba(0, 212, 170, 0.15);
  border-radius: 2px;
  padding: 0 1px;
}
.sr-empty {
  padding: 32px 18px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
}
.sr-loading {
  padding: 24px 18px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
}
.sr-footer {
  padding: 10px 18px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-light);
  background: var(--bg);
  position: sticky;
  bottom: 0;
}
.sr-footer kbd {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 11px;
  font-family: var(--font-body);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 56px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s var(--ease) 0.4s both;
}
.h-stat-val {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.h-stat-lbl {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
  font-weight: 500;
}

/* Bottom gradient fade to bg */
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════ */
/* SECTIONS                                                       */
/* ═══════════════════════════════════════════════════════════════ */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 32px;
}
.section-label {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.8px;
}
.section-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 540px;
}
.section-head { margin-bottom: 52px; }

/* ═══════════════════════════════════════════════════════════════ */
/* ARTICLES GRID                                                  */
/* ═══════════════════════════════════════════════════════════════ */
.a-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.a-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s var(--ease);
  opacity: 0;
  transform: translateY(28px);
  position: relative;
  overflow: hidden;
}
.a-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.a-card.visible { opacity: 1; transform: translateY(0); }
.a-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.a-card:hover::before { transform: scaleX(1); }

.a-card .icon {
  font-size: 28px;
  margin-bottom: 18px;
  display: block;
  width: 52px;
  height: 52px;
  line-height: 52px;
  text-align: center;
  background: var(--accent-subtle);
  border-radius: var(--radius);
}
.a-card .cat {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.a-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.a-card .sum {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}
.a-card .meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary);
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* ═══════════════════════════════════════════════════════════════ */
/* ANNUAIRE                                                       */
/* ═══════════════════════════════════════════════════════════════ */
.annuaire-wrap {
  background: var(--bg-alt);
  padding: 96px 32px;
  position: relative;
}
.annuaire-inner { max-width: 1200px; margin: 0 auto; }

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 36px;
}
.filters select,
.filters input {
  padding: 11px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.filters select:focus,
.filters input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.filters input { flex: 1; min-width: 200px; }

.lab-list { display: flex; flex-direction: column; gap: 14px; }

.lab-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  transition: all 0.35s var(--ease);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}
.lab-card.visible { opacity: 1; transform: translateY(0); }
.lab-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.lab-card.featured {
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, var(--card), var(--gold-light));
}
.lab-badge-feat {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.3px;
}

.lab-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.lab-info h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}
.lab-loc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.stars { display: inline-flex; gap: 2px; align-items: center; }
.stars .s { font-size: 14px; }
.stars .s.on { color: var(--gold); }
.stars .s.off { color: var(--border); }
.stars .val {
  margin-left: 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  font-family: var(--font-body);
}
.stars .cnt {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary);
  margin-left: 4px;
}

.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tag {
  font-family: var(--font-body);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.tag-spec { background: var(--accent-subtle); color: var(--accent-dark); }
.tag-cert { background: rgba(0, 212, 170, 0.08); color: var(--accent-dark); border: 1px solid rgba(0, 212, 170, 0.12); }
.tag-urg  { background: rgba(232, 93, 93, 0.08); color: var(--red); }

.lab-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 140px;
}
.lab-taux {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: -0.5px;
}
.lab-taux-lbl {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}
.btn-devis {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  border: none;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.02em;
}
.btn-devis:hover:not(:disabled) {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 212, 170, 0.25);
}
.btn-devis:disabled { opacity: 0.5; cursor: not-allowed; }

.no-results {
  text-align: center;
  padding: 60px;
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 15px;
}

@media (max-width: 768px) {
  .lab-card {
    grid-template-columns: 1fr;
    padding: 24px;
    padding-top: 40px;
  }
  .lab-right {
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 16px;
  }
  .annuaire-wrap { padding: 64px 20px; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* GUIDES                                                         */
/* ═══════════════════════════════════════════════════════════════ */
.g-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.g-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.35s var(--ease);
  opacity: 0;
  transform: translateY(16px);
  position: relative;
}
.g-card.visible { opacity: 1; transform: translateY(0); }
.g-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.g-card:hover .g-arrow {
  transform: translateX(4px);
  color: var(--accent);
}
.g-tag {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-dark);
  background: var(--accent-subtle);
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.g-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  letter-spacing: -0.2px;
}
.g-arrow {
  color: var(--text-secondary);
  margin-left: auto;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), color 0.3s;
}

/* ═══════════════════════════════════════════════════════════════ */
/* CTA BANNER                                                     */
/* ═══════════════════════════════════════════════════════════════ */
.cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}
.cta::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(26, 26, 42, 0.06);
  bottom: -200px;
  right: -100px;
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.cta p {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(26, 26, 42, 0.65);
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.cta-btn {
  display: inline-flex;
  padding: 14px 36px;
  background: var(--navy);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.3s var(--ease);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 26, 42, 0.2);
}

/* ═══════════════════════════════════════════════════════════════ */
/* FAQ                                                            */
/* ═══════════════════════════════════════════════════════════════ */
.faq-section {
  background: var(--card);
  padding: 96px 32px;
}
.faq-inner { max-width: 1200px; margin: 0 auto; }

.faq-layout {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}
.faq-list {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-image-block {
  flex-shrink: 0;
  width: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--accent-subtle);
  box-shadow: var(--shadow-md);
}
.faq-image-block img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .faq-image-block { display: none; }
  .faq-layout { display: block; }
  .faq-section { padding: 64px 20px; }
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:hover { border-color: var(--border); }
.faq-item.open {
  border-color: var(--accent);
  box-shadow: 0 2px 12px var(--accent-glow);
}
.faq-q {
  padding: 20px 24px;
  width: 100%;
  border: none;
  background: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
  line-height: 1.4;
}
.faq-q:hover { color: var(--accent-dark); }
.faq-chev {
  font-size: 18px;
  color: var(--text-secondary);
  transition: transform 0.35s var(--ease), color 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-chev {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-a {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease), opacity 0.3s;
  opacity: 0;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 500px;
  opacity: 1;
  padding: 18px 24px 22px;
  border-top: 1px solid var(--border-light);
}

/* ═══════════════════════════════════════════════════════════════ */
/* FOOTER                                                         */
/* ═══════════════════════════════════════════════════════════════ */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.5);
  padding: 72px 32px 36px;
  position: relative;
  overflow: hidden;
}
/* Grain on footer */
footer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}
footer > * { position: relative; }

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
footer h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}
footer p,
footer a {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  transition: color 0.2s;
}
footer a:hover { color: var(--accent); }
.footer-links li { margin-bottom: 12px; }

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  footer { padding: 56px 20px 28px; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* ANIMATIONS                                                     */
/* ═══════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* SCROLL TO TOP                                                  */
/* ═══════════════════════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--accent);
  border: 1px solid rgba(0, 212, 170, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease);
  box-shadow: 0 4px 20px rgba(26, 26, 42, 0.15);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 212, 170, 0.25);
}

/* ═══════════════════════════════════════════════════════════════ */
/* SECTION DECORATIONS                                            */
/* ═══════════════════════════════════════════════════════════════ */
.annuaire-wrap::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 170, 0.06);
  top: -180px;
  left: -120px;
  pointer-events: none;
}
.annuaire-wrap::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 170, 0.04);
  bottom: -60px;
  right: 5%;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════ */
/* ENHANCED MOBILE NAV                                            */
/* ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links {
    transform: translateY(-8px);
    opacity: 0;
    transition: none;
  }
  .nav-links.open {
    display: flex;
    animation: slideDown 0.3s var(--ease) forwards;
  }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive spacing adjustments */
@media (max-width: 768px) {
  .section { padding: 64px 20px; }
  .hero { padding: 72px 20px 96px; }
  .hero-stats { gap: 32px; }
  .trust-inner { gap: 16px; font-size: 11.5px; }
  .a-grid { grid-template-columns: 1fr; }
  .g-grid { grid-template-columns: 1fr; }
  .cta { padding: 48px 24px; border-radius: var(--radius); }
  .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}
