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

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--background);
  overflow-x: hidden;
  font-feature-settings: 'liga' 1, 'kern' 1;
}

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

.container-xl { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ===================== TYPOGRAPHY SYSTEM ===================== */
/* Alignee sur mind-medical.fr : Poppins (700-900) pour les titres, Lato pour
   le corps de texte, les labels et l'UI. */
h1, h2, h3, h4,
.font-display,
.brand-logo,
.section-title,
.search-hero h1,
.hero-section h2,
.job-card h3,
.blog-card h3,
.team-card h2, .team-card h3,
.stat-value,
.stat-featured-value,
.stat-cell-value {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.eyebrow,
.popular-searches .label,
.badge-specialty, .badge-urgent, .badge-pill,
.blog-card .category,
.job-card .meta,
.blog-card .meta-row,
.stat-label,
.stat-featured-label,
.stat-cell-label,
.step-number,
.specialty-card .count {
  font-family: var(--font-body);
}

.eyebrow {
  display: inline-block; text-transform: uppercase; font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; color: var(--primary); margin-bottom: 10px;
}

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.site-header .navbar { height: var(--header-height); }
.brand-logo { display: flex; align-items: center; }
.brand-mark { height: 64px; width: auto; display: block; }
.main-nav a {
  font-weight: 600; font-size: .95rem; color: var(--text-primary);
  padding: 10px 14px; border-radius: var(--radius-pill); transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a.active { background: var(--surface); color: var(--primary); }
.btn-pill { border-radius: var(--radius-pill); font-weight: 600; padding: 10px 22px; border: none; transition: transform .15s ease, box-shadow .15s ease, background .2s; position: relative; }
.btn-primary-pill { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.25); background: var(--primary-dark); color: #fff; }
.btn-outline-pill { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline-pill:hover { background: var(--surface); color: var(--primary); }
.btn-ghost-link { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--primary); }
.btn-ghost-link i { transition: transform .15s ease; }
.btn-ghost-link:hover { background: var(--surface); color: var(--primary-dark); }
.btn-ghost-link:hover i { transform: translateX(3px); }
.phone-chip { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--secondary); }

/* ===================== HERO & SEARCH ===================== */
.search-hero {
  background:
    radial-gradient(circle at 8% 12%, rgba(23, 163, 152, .08), transparent 40%),
    radial-gradient(circle at 92% 0%, rgba(95, 211, 196, .14), transparent 45%),
    linear-gradient(var(--background), var(--background));
  position: relative;
  padding: 60px 0 40px;
  overflow: hidden;
}
.search-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(circle, rgba(30,74,104,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 75%);
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.search-hero > .container-xl { position: relative; }
.search-hero h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); color: var(--secondary); }
.search-hero p.lead { color: var(--text-secondary); font-size: 1.15rem; font-weight: 500; }
.search-box {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch;
  border: 1px solid var(--border);
}
.search-box .form-control, .search-box .form-select {
  border: none; background: var(--surface); border-radius: var(--radius-pill);
  padding: 14px 20px; font-weight: 500;
}
.search-box .form-control:focus, .search-box .form-select:focus { box-shadow: 0 0 0 3px rgba(23, 163, 152, .18); }
.popular-searches { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.popular-searches .label { color: var(--text-secondary); font-size: .78rem; text-transform: uppercase; }
.chip-btn {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 8px 16px; font-size: .88rem; font-weight: 600; color: var(--secondary); transition: all .15s;
}
.chip-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.hero-section {
  background:
    radial-gradient(circle at 85% 15%, rgba(95, 211, 196, .28), transparent 50%),
    radial-gradient(circle at 10% 100%, rgba(23, 163, 152, .35), transparent 45%),
    linear-gradient(160deg, var(--secondary) 0%, #163552 55%, var(--primary-dark) 100%);
  color: #fff; border-radius: var(--radius-lg); margin: 24px 0; padding: 60px 48px; position: relative; overflow: hidden;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 75% 25%, black, transparent 65%);
  mask-image: radial-gradient(circle at 75% 25%, black, transparent 65%);
}
.hero-section h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); position: relative; }
.hero-section p { color: rgba(255,255,255,.85); font-size: 1.05rem; position: relative; max-width: 560px; }
.btn-light-pill { background: #fff; color: var(--secondary); }
.btn-light-pill:hover { background: var(--surface); color: var(--secondary); }
.btn-ghost-pill { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost-pill:hover { background: rgba(255,255,255,.2); color: #fff; }

.hero-img-wrap { position: relative; max-width: 380px; }
.hero-img-wrap img { width: 100%; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,.15); }
.hero-img-badge {
  position: absolute; bottom: -18px; left: -18px; background: #fff; border-radius: var(--radius-md);
  padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 220px;
}
.hero-img-badge-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--surface); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.hero-img-badge-value { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--secondary); line-height: 1.1; }
.hero-img-badge-label { font-size: .7rem; color: var(--text-secondary); line-height: 1.2; }
@media (max-width: 576px) { .hero-img-wrap { max-width: 280px; margin: 0 auto; } .hero-img-badge { left: 50%; transform: translateX(-50%); bottom: -16px; } }

/* ===================== SECTIONS GENERIC ===================== */
.section { padding: 64px 0; }
.section-title { color: var(--secondary); font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.section-subtitle { color: var(--text-secondary); font-size: 1.05rem; }
.bg-surface { background: var(--surface); }

/* ===================== STATS ===================== */
.stat-card { text-align: center; padding: 28px 16px; }
.stat-value { font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--primary); }
.stat-label { color: var(--text-secondary); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }

/* ===================== STATS ACCUEIL (stat vedette + grille) ===================== */
.stat-row { display: flex; gap: 20px; align-items: stretch; flex-wrap: wrap; }
.stat-featured {
  flex: 1 1 280px; background: linear-gradient(145deg, var(--secondary), var(--primary));
  border-radius: var(--radius-lg); padding: 32px; color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.stat-featured-icon {
  width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.15); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 14px;
}
.stat-featured-value { font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.1; }
.stat-featured-label { font-size: .9rem; color: rgba(255,255,255,.82); margin-top: 6px; }
.stat-grid { flex: 1 1 320px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-cell { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.stat-cell-value { font-size: clamp(1.3rem, 2.2vw, 1.6rem); color: var(--primary-dark); }
.stat-cell-label { color: var(--text-secondary); font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }
@media (max-width: 576px) { .stat-grid { grid-template-columns: 1fr 1fr; } }

/* ===================== STEPS ===================== */
.step-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 28px; height: 100%; box-shadow: var(--shadow-sm); transition: transform .2s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-number {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 600; margin-bottom: 16px;
  box-shadow: 0 0 0 4px var(--surface-alt);
}

/* ===== "3 etapes" - modele rapproche de mind-medical.fr ===== */
.steps-section { position: relative; overflow: hidden; }
.eyebrow-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.8);
  border: 1px solid rgba(30,74,104,.12); border-radius: var(--radius-pill); padding: 8px 18px;
  font-family: var(--font-body); font-weight: 700; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--secondary); box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.eyebrow-badge i { color: var(--primary); }
.steps-title {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 3.4vw, 2.8rem);
  background: linear-gradient(to right, var(--secondary), var(--primary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.steps-card {
  background: rgba(255,255,255,.97); border-radius: var(--radius-lg); padding: 48px 40px;
  box-shadow: 0 25px 50px -12px rgba(21,42,56,.22);
}
.steps-row { display: flex; gap: 32px; position: relative; flex-wrap: wrap; }
.steps-row::before {
  content: ''; position: absolute; top: 56px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(to right, var(--border) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step-col { flex: 1 1 220px; text-align: center; position: relative; z-index: 1; }
.step-tile {
  width: 112px; height: 112px; border-radius: 24px; margin: 0 auto 20px; position: relative;
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: #fff;
  box-shadow: 0 25px 50px -12px rgba(21,42,56,.35);
}
.step-tile-1 { background: linear-gradient(135deg, var(--secondary), rgba(30,74,104,.82)); }
.step-tile-2 { background: linear-gradient(135deg, var(--accent-navy), rgba(52,110,150,.82)); }
.step-tile-3 { background: linear-gradient(135deg, var(--primary), rgba(23,163,152,.82)); }
.step-num {
  position: absolute; top: -10px; right: -10px; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; border: 4px solid rgba(30,74,104,.2); color: var(--text-primary);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem;
}
.step-col-title { font-size: 1.05rem; margin-bottom: 8px; }
.step-col-desc { color: var(--text-secondary); font-size: .92rem; margin: 0; }
.steps-divider { display: flex; align-items: center; gap: 16px; color: var(--text-secondary); font-size: .85rem; margin: 40px 0 24px; }
.steps-divider::before, .steps-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
@media (max-width: 767px) {
  .steps-row::before { display: none; }
  .steps-card { padding: 32px 22px; }
}

/* ===================== SPECIALTY CARDS ===================== */
.specialty-card {
  background: #fff; border: 1px solid var(--border); border-top: 3px solid transparent; border-radius: var(--radius-md); padding: 24px;
  text-align: center; height: 100%; transition: all .2s;
}
.specialty-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--border); border-top-color: var(--accent); }
.specialty-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--surface); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 14px;
}
.specialty-card .count { color: var(--text-secondary); font-size: .78rem; text-transform: uppercase; }

/* ===================== WHY CARDS ===================== */
.why-card { background: var(--surface); border-radius: var(--radius-md); padding: 28px; height: 100%; }
.why-icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--primary-dark); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; box-shadow: var(--shadow-sm); }

/* ===================== JOB CARD ===================== */
.job-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; height: 100%; position: relative; transition: all .2s; }
.job-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.job-card .badge-urgent { background: var(--danger); color: #fff; font-weight: 600; border-radius: var(--radius-pill); padding: 5px 12px; font-size: .7rem; text-transform: uppercase; }
.job-card .badge-specialty { background: var(--surface); color: var(--primary); font-weight: 600; border-radius: var(--radius-pill); padding: 5px 12px; font-size: .7rem; text-transform: uppercase; }
.job-card h3 { font-size: 1.2rem; margin: 12px 0 6px; }
.job-card .meta { color: var(--text-secondary); font-size: .85rem; display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.job-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.job-card .tag { background: var(--surface); border-radius: var(--radius-pill); padding: 4px 10px; font-size: .78rem; color: var(--text-secondary); }
.job-card .price { font-weight: 700; color: var(--primary); font-size: 1.05rem; }
.favorite-btn { position: absolute; top: 18px; right: 18px; background: #fff; border: 1px solid var(--border); border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: all .15s; }
.favorite-btn.active, .favorite-btn:hover { color: var(--danger); border-color: var(--danger); }

/* ===== Carte d'offre v2 - modele rapproche de mind-medical.fr/offres ===== */
.job-card-v2 { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; height: 100%; position: relative; transition: box-shadow .25s ease, transform .2s ease; }
.job-card-v2:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.favorite-btn-v2 {
  position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: all .15s; z-index: 1;
}
.favorite-btn-v2.active, .favorite-btn-v2:hover { color: var(--danger); border-color: var(--danger); }

.job-card-v2-head { padding-right: 46px; }
.job-card-v2-head h3 { font-size: 1.1rem; margin: 0 0 4px; line-height: 1.3; }
.job-card-v2-specialty { color: var(--primary); font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }

.job-card-v2-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.badge-pill-urgent, .badge-pill-new {
  display: inline-block; font-weight: 700; font-size: .68rem; text-transform: uppercase; letter-spacing: .02em;
  border-radius: var(--radius-pill); padding: 3px 12px; color: #fff;
}
.badge-pill-urgent { background: var(--danger); }
.badge-pill-new { background: var(--success); }

.job-card-v2-published { color: var(--text-secondary); font-size: .78rem; margin: 12px 0 14px; }

.job-card-v2-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.job-card-v2-meta div { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--text-primary); }
.job-card-v2-meta i { color: var(--primary); width: 16px; text-align: center; flex-shrink: 0; }

.job-card-v2-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.job-tag {
  background: rgba(30,74,104,.08); color: var(--text-primary); border-radius: var(--radius-pill);
  padding: 4px 12px; font-size: .76rem; font-weight: 500; display: inline-flex; align-items: center; gap: 5px;
}
.job-tag i { color: var(--primary); font-size: .85rem; }

.job-card-v2-actions { display: flex; gap: 10px; }
.job-card-v2-apply {
  flex: 1; text-align: center; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-weight: 700; font-size: .9rem; border-radius: 10px; padding: 10px 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.job-card-v2-apply:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.job-card-v2-detail {
  flex: 1; text-align: center; background: #fff; border: 1.5px solid var(--border); color: var(--text-primary);
  font-weight: 600; font-size: .9rem; border-radius: 10px; padding: 10px 14px; transition: all .15s ease;
}
.job-card-v2-detail:hover { border-color: var(--primary); color: var(--primary); }

/* ===== Bandeau de page + barre de filtres (modele /offres de mind-medical.fr) ===== */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(to right bottom, var(--secondary), rgba(30,74,104,.95), var(--primary)); color: #fff; text-align: center; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; mix-blend-mode: luminosity; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(at 100% 0%, rgba(95,211,196,.3), transparent 60%); pointer-events: none; }
.page-hero-inner { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 900; margin: 18px 0 12px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin: 0; }
.page-hero-count { background: rgba(255,255,255,.18); border-radius: var(--radius-sm); padding: 2px 10px; font-weight: 700; color: #fff; }

.filter-bar { background: #fff; box-shadow: 0 6px 20px rgba(21,42,56,.08); z-index: 30; padding: 16px 0; position: relative; }
@media (min-width: 992px) { .filter-bar { position: sticky; top: var(--header-height); } }
.filter-bar-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.filter-search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 10px; padding: 0 14px; height: 44px; background: #fff; }
.filter-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(23,163,152,.15); }
.filter-search i { color: var(--text-secondary); }
.filter-search input { border: none; outline: none; flex: 1; min-width: 0; background: transparent; font-size: .95rem; }
.filter-select { height: 44px; border: 1px solid var(--border); border-radius: 10px; padding: 0 14px; background: #fff; font-size: .92rem; color: var(--text-primary); }
.filter-bar .btn-pill { border-radius: 10px; height: 44px; padding-top: 0; padding-bottom: 0; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.filter-chip input { position: absolute; opacity: 0; pointer-events: none; }
.filter-chip span, .filter-chip-select { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: #fff; color: var(--text-secondary); font-size: .85rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.filter-chip { margin: 0; position: relative; }
.filter-chip span:hover, .filter-chip-select:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(23,163,152,.25); }
.filter-reset { font-size: .85rem; font-weight: 600; color: var(--text-secondary); text-decoration: none; margin-left: 4px; }
.filter-reset:hover { color: var(--primary); }
.filter-select-sm { height: 36px; font-size: .85rem; }

.page-hero-lg .page-hero-inner { padding-top: 72px; padding-bottom: 72px; }
.page-hero-pill { background: rgba(255,255,255,.14); border-radius: 12px; padding: 4px 12px; font-weight: 700; color: #fff; display: inline-block; }
.hero-search { position: relative; max-width: 672px; margin: 32px auto 0; }
.hero-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); font-size: 1.1rem; }
.hero-search input { width: 100%; border: none; outline: none; background: rgba(255,255,255,.95); border-radius: 16px; padding: 16px 16px 16px 48px; font-size: 1rem; color: var(--text-primary); box-shadow: 0 12px 32px rgba(10,30,45,.25); }
.hero-search input:focus { box-shadow: 0 12px 32px rgba(10,30,45,.25), 0 0 0 3px rgba(95,211,196,.55); }

.metier-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 32px; color: inherit; text-decoration: none; transition: border-color .3s ease, box-shadow .3s ease; }
.metier-card:hover { border-color: rgba(23,163,152,.35); box-shadow: 0 20px 40px rgba(21,42,56,.12); color: inherit; }
.metier-icon { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, var(--secondary), var(--accent-navy)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 24px; box-shadow: 0 8px 18px rgba(30,74,104,.25); transition: transform .3s ease; }
.metier-card:hover .metier-icon { transform: scale(1.08); background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.metier-card h3 { font-size: 1.25rem; margin: 0 0 12px; color: var(--text-primary); }
.metier-card p { color: var(--text-secondary); margin: 0 0 20px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.metier-card-foot { border-top: 1px solid rgba(225,235,234,.7); padding-top: 16px; display: flex; align-items: center; justify-content: space-between; color: var(--secondary); font-weight: 600; font-size: .95rem; }
.metier-card-foot i { color: var(--primary); transition: transform .3s ease; }
.metier-card:hover .metier-card-foot i { transform: translateX(4px); }

/* ===================== BLOG CARD ===================== */
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; height: 100%; transition: all .2s; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card .thumb { height: 180px; background: linear-gradient(145deg, var(--secondary), var(--primary)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2rem; }
.blog-card .body { padding: 20px; }
.blog-card .category { color: var(--primary); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.blog-card h3 { font-size: 1.1rem; margin: 8px 0; }
.blog-card .excerpt { color: var(--text-secondary); font-size: .9rem; }
.blog-card .meta-row { display: flex; justify-content: space-between; color: var(--text-secondary); font-size: .8rem; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }

/* ===================== ABOUT / TEAM ===================== */
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; text-align: center; height: 100%; }
.team-photo { width: 96px; height: 96px; border-radius: 50%; background: var(--surface); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--primary); font-weight: 700; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.team-quote { color: var(--text-secondary); }

/* ===== Page A propos - modele rapproche de mind-medical.fr/about ===== */
.eyebrow-badge-glass {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-pill);
  padding: 10px 20px; color: #fff; font-weight: 600; font-size: .88rem; box-shadow: var(--shadow-md);
}
.eyebrow-badge-light {
  display: inline-flex; align-items: center; gap: 8px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 8px 18px; color: var(--secondary); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .05em;
}

.about-hero {
  background: linear-gradient(to right bottom, var(--secondary), rgba(30,74,104,.95), var(--primary));
  border-radius: 0; padding: 72px 0 150px; text-align: center; position: relative; overflow: hidden;
  color: #fff; margin: 0;
}
.about-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, black, transparent 70%);
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 70%);
}
.about-hero > * { position: relative; z-index: 1; }
.about-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0; }
.about-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.about-hero .highlight { background: rgba(255,255,255,.14); padding: 2px 10px; border-radius: 12px; font-weight: 700; color: #fff; }
.about-hero-media { z-index: 2;
  margin: -110px auto 0; max-width: 880px; border-radius: var(--radius-lg); overflow: hidden;
  position: relative; box-shadow: var(--shadow-lg); border: 4px solid #fff;
}
.about-hero-media img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.about-hero-media-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 24px;
  background: linear-gradient(to top, rgba(10,25,40,.85), transparent);
  color: #fff; font-weight: 700; font-size: 1.1rem; text-align: left;
}

.mission-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.mission-text p { color: var(--text-secondary); font-size: 1.02rem; margin-bottom: 16px; }
.mission-quote {
  background: var(--surface); border-radius: var(--radius-md); padding: 20px 24px;
  font-style: italic; color: var(--secondary); font-weight: 500; border-left: 4px solid var(--primary);
}
.mission-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mission-stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; text-align: center; box-shadow: var(--shadow-sm); }
.mission-stat-card .v { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--primary); }
.mission-stat-card .l { color: var(--text-secondary); font-size: .82rem; margin-top: 4px; }
@media (min-width: 992px) { .mission-grid { grid-template-columns: 1.1fr 1fr; } }

.why-card-v2 { background: var(--surface); border-radius: var(--radius-lg); padding: 40px; max-width: 880px; margin: 0 auto; }
.why-card-v2 p { font-size: 1.05rem; color: var(--text-primary); margin-bottom: 18px; }
.why-card-v2 strong { color: var(--primary-dark); }
.why-callout { background: #fff; border-radius: var(--radius-md); padding: 20px 24px; display: flex; gap: 16px; align-items: flex-start; }
.why-callout-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .9rem; }
.why-callout p { margin: 0; font-size: .98rem; }

.values-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.value-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 260px; }
.value-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.value-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,25,40,.88), rgba(10,25,40,.1) 60%); }
.value-card-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; z-index: 1; }
.value-card-content h3 { color: #fff; font-size: 1.2rem; margin: 0 0 6px; }
.value-card-content p { color: rgba(255,255,255,.85); font-size: .88rem; margin: 0; }
@media (min-width: 768px) { .values-grid { grid-template-columns: 1fr 1fr; } }

.founders-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
.founder-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: center; box-shadow: var(--shadow-sm); }
.founder-card-photo { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 18px; overflow: hidden; border: 4px solid var(--surface); }
.founder-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-card h3 { font-size: 1.2rem; margin: 0 0 4px; }
.founder-card .role { color: var(--primary); font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.founder-card p.bio { color: var(--text-secondary); font-size: .92rem; margin: 0; }
@media (min-width: 768px) { .founders-grid { grid-template-columns: 1fr 1fr; } }
.founders-quote { background: var(--surface); border-radius: var(--radius-lg); padding: 32px 40px; text-align: center; margin-bottom: 60px; }
.founders-quote p { font-style: italic; font-size: 1.1rem; color: var(--text-primary); max-width: 720px; margin: 0 auto 14px; }
.founders-quote .signature { color: var(--primary-dark); font-weight: 700; }

.vision-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.vision-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: all .2s; }
.vision-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.vision-card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--surface); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px;
}
.vision-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.vision-card p { color: var(--text-secondary); font-size: .92rem; margin: 0; }
@media (min-width: 768px) { .vision-grid { grid-template-columns: 1fr 1fr; } }
.vision-statement {
  background: linear-gradient(to right bottom, var(--secondary), rgba(30,74,104,.95), var(--primary));
  border-radius: var(--radius-lg); padding: 36px 40px; text-align: center; margin-top: 28px;
}
.vision-statement p { color: #fff; font-size: 1.15rem; font-weight: 500; max-width: 760px; margin: 0 auto; line-height: 1.6; }

.about-cta {
  background: linear-gradient(to right bottom, var(--secondary), rgba(30,74,104,.95), var(--primary));
  border-radius: 0; padding: 80px 0; text-align: center; color: #fff;
}
.about-cta h2 { color: #fff; }
.about-cta p { color: rgba(255,255,255,.85); font-size: 1.1rem; }
.about-cta .highlight { background: rgba(255,255,255,.15); padding: 2px 10px; border-radius: var(--radius-pill); font-weight: 700; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--secondary); color: rgba(255,255,255,.8); padding: 56px 0 24px; }
.footer-brand { margin-bottom: 40px; }
.sidebar-brand { background: #fff; border-radius: var(--radius-md); padding: 10px 14px; display: inline-block; }
.sidebar-brand img { height: 44px; width: auto; display: block; }
.site-footer h5 { color: #fff; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.7); display: block; padding: 6px 0; font-size: .92rem; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.social-icons { display: flex; gap: 10px; }
.social-icons a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.social-icons a:hover { background: var(--primary); }

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 2000;
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 22px; max-width: 920px; margin: 0 auto; border: 1px solid var(--border);
  display: none;
}
.cookie-banner.show { display: block; animation: fade-up .35s ease; }

/* ===================== FORMS / STEPPER ===================== */
.stepper { display: flex; justify-content: space-between; margin-bottom: 32px; position: relative; }
.stepper::before { content: ''; position: absolute; top: 18px; left: 0; right: 0; height: 2px; background: var(--border); z-index: 0; }
.stepper .step { position: relative; z-index: 1; text-align: center; flex: 1; }
.stepper .step .circle { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-weight: 700; color: var(--text-secondary); }
.stepper .step.active .circle, .stepper .step.done .circle { background: var(--primary); border-color: var(--primary); color: #fff; }
.stepper .step span { font-size: .78rem; color: var(--text-secondary); }

.form-floating-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }

/* ===================== ANIMATIONS ===================== */
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.animate-fade-up { animation: fade-up .5s ease both; }
.animate-fade-in { animation: fade-in .6s ease both; }

/* Entree orchestree du hero : chaque enfant [data-stagger] se revele avec un
   delai croissant (1 = immediat, 6 = +500ms). Un seul chargement de page bien
   choregraphie vaut mieux que des micro-interactions eparpillees. */
[data-stagger] { opacity: 0; animation: rise-in .7s cubic-bezier(.16,1,.3,1) both; }
[data-stagger="1"] { animation-delay: .05s; }
[data-stagger="2"] { animation-delay: .15s; }
[data-stagger="3"] { animation-delay: .25s; }
[data-stagger="4"] { animation-delay: .35s; }
[data-stagger="5"] { animation-delay: .45s; }
[data-stagger="6"] { animation-delay: .55s; }
@media (prefers-reduced-motion: reduce) {
  [data-stagger], .animate-fade-up, .animate-fade-in { animation: none; opacity: 1; }
}

/* ===================== MISC ===================== */
.badge-pill { border-radius: var(--radius-pill); padding: 6px 14px; font-weight: 600; font-size: .78rem; }
.sticky-apply { position: sticky; top: calc(var(--header-height) + 16px); }
.breadcrumb-mind { font-size: .85rem; color: var(--text-secondary); margin-bottom: 18px; }
.breadcrumb-mind a { color: var(--text-secondary); }
.breadcrumb-mind a:hover { color: var(--primary); }

@media (max-width: 991px) {
  .hero-section { padding: 40px 24px; }
  .search-box { flex-direction: column; }
}

/* ===== Sections pleine largeur de la page A propos ===== */
.about-section { padding: 80px 0; background: #fff; }
.about-section-soft { background: linear-gradient(#fff, var(--surface)); }
.about-hero-media-wrap { position: relative; z-index: 2; padding: 0 16px; }
.about-section-head { text-align: center; margin-bottom: 40px; }
.about-section-head .section-subtitle { margin-left: auto; margin-right: auto; }
@media (max-width: 767.98px) { .about-section { padding: 56px 0; } .about-hero { padding-bottom: 120px; } }
