/* =====================================================
   MeetUp Medical Africa — Feuille de style commune
   ===================================================== */

:root {
  --navy: #0a2540;
  --navy-2: #0d2c54;
  --navy-3: #123763;
  --red: #e11d2a;
  --red-dark: #c01423;
  --blue: #1e6fd9;
  --text: #1b2733;
  --muted: #5b6b7d;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #eef3fa;
  --bg-soft-2: #f5f8fc;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(10, 37, 64, .08);
  --shadow-sm: 0 4px 16px rgba(10, 37, 64, .06);
  --container: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); font-weight: 800; overflow-wrap: break-word; }
p, li, a, span, strong { overflow-wrap: break-word; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  display: inline-block;
}

.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section.soft-2 { background: var(--bg-soft-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.5rem, 1.05rem + 2vw, 2.1rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(225,29,42,.28); }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-navy { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-outline-navy:hover { border-color: var(--navy); }
.btn-ghost { background: #eaf1fb; color: var(--blue); padding: 9px 16px; font-size: .85rem; }
.btn-ghost:hover { background: #dbe8fa; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  max-width: var(--container); margin: 0 auto;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--navy);
  display: grid; place-items: center;
  color: #fff; flex: none;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.brand-text { line-height: 1; }
.brand-text strong { display: block; font-size: 1.02rem; color: var(--navy); font-weight: 800; }
.brand-text span { font-size: .62rem; letter-spacing: .28em; color: var(--red); font-weight: 700; }

.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-menu a { font-size: .93rem; font-weight: 500; color: var(--text); transition: color .15s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--red); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-search {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted); border: 1px solid var(--line);
  background: #fff;
}
.nav-search:hover { color: var(--navy); }
.nav-toggle {
  display: none;
  width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff;
  cursor: pointer; color: var(--navy);
}

/* ===== Page hero (interior) ===== */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.05), transparent 70%);
}
.breadcrumb { font-size: .85rem; color: #9db4d0; margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 1.1rem + 3vw, 2.7rem); margin-bottom: 10px; }
.page-hero p { color: #b9cbe0; max-width: 560px; }

/* ===== Home hero ===== */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero .tag {
  display: inline-block;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: #cde0f5;
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 14px; border-radius: 30px;
  margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 1.25rem + 3.4vw, 3rem); line-height: 1.12; margin-bottom: 18px; }
.hero h1 .accent { color: #ff5a67; }
.hero p.lead { color: #c2d4e8; font-size: 1.08rem; max-width: 500px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats .num { font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero-stats .lab { font-size: .82rem; color: #9db4d0; }

.hero-media { position: relative; }
.hero-media img { border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero-badge {
  position: absolute; left: 22px; bottom: 22px;
  background: #fff; color: var(--navy);
  border-radius: 12px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow); max-width: 230px;
}
.hero-badge .dot { width: 34px; height: 34px; border-radius: 8px; background: #e7f0fb; display: grid; place-items: center; color: var(--blue); flex: none; }
.hero-badge strong { font-size: .85rem; display: block; }
.hero-badge span { font-size: .72rem; color: var(--muted); }

/* Upcoming conference strip */
.conf-strip {
  background: #fff; color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 46px;
  padding: 18px 24px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.conf-strip .ico { width: 46px; height: 46px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.conf-strip .label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.conf-strip h3 { font-size: 1.05rem; }
.conf-strip .meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; margin-left: auto; }
.conf-strip .meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ===== Generic grids / cards ===== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-body { padding: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .93rem; margin-bottom: 16px; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #eaf1fb; color: var(--blue);
  display: grid; place-items: center; margin-bottom: 16px;
}
.link-arrow { color: var(--blue); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { gap: 10px; }

/* ===== About split ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: 18px; box-shadow: var(--shadow); }
.split h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2rem); margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 14px; }
.pill-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.pill {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; box-shadow: var(--shadow-sm);
}
.pill strong { display: block; font-size: .95rem; color: var(--navy); }
.pill span { font-size: .78rem; color: var(--muted); }

.feature-mini { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.feature-mini .ck { width: 34px; height: 34px; border-radius: 8px; background: #eaf1fb; color: var(--blue); display: grid; place-items: center; flex: none; }

/* media badge (12+) */
.media-wrap { position: relative; }
.media-badge {
  position: absolute; top: 18px; right: -14px;
  background: var(--red); color: #fff;
  border-radius: 12px; padding: 10px 16px; text-align: center;
  box-shadow: 0 12px 24px rgba(225,29,42,.35);
}
.media-badge strong { font-size: 1.4rem; display: block; line-height: 1; }
.media-badge span { font-size: .68rem; }

/* ===== Value cards (about) ===== */
.value-card {
  background: #fff; border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--blue);
}
.value-card:nth-child(even) { border-top-color: var(--red); }
.value-card .card-icon { margin-bottom: 18px; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: .9rem; }

/* ===== Team ===== */
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow-sm); }
.team-card .avatar { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: top center; margin: 0 auto 16px; border: 4px solid var(--bg-soft); }
.team-card h4 { color: var(--navy); font-size: 1rem; }
.team-card .role { color: var(--blue); font-size: .82rem; font-weight: 600; margin: 2px 0; }
.team-card .spec { color: var(--muted); font-size: .8rem; }

/* ===== Stats band ===== */
.stats-band { background: var(--navy); color: #fff; }
.stats-band .grid { text-align: center; }
.stat .ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; margin: 0 auto 14px; color: #cfe0f4; }
.stat .num { font-size: 2.3rem; font-weight: 800; color: #fff; }
.stat .lab { color: #9db4d0; font-size: .88rem; }

/* ===== Formations / courses ===== */
.course-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-media { position: relative; height: 190px; }
.course-media img { width: 100%; height: 100%; object-fit: cover; }
.badge-cat {
  position: absolute; top: 14px; left: 14px;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 6px; color: #fff; background: var(--blue);
}
.badge-cat.red { background: var(--red); }
.badge-cat.navy { background: var(--navy); }
.course-body { padding: 22px; }
.course-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.course-body p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.course-meta { list-style: none; margin-bottom: 18px; display: grid; gap: 8px; }
.course-meta li { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.course-meta svg { color: var(--blue); flex: none; }
.status-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }

/* ===== Pricing ===== */
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column; }
.price-card.featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-tag-top { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 16px; border-radius: 20px; }
.price-card .plan { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.price-card.featured .plan { color: #9db4d0; }
.price-card .price { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin: 6px 0 2px; }
.price-card .price small { font-size: .82rem; font-weight: 500; color: var(--muted); }
.price-card .desc { font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.price-card.featured .desc { color: #b9cbe0; }
.price-card ul { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; flex: 1; }
.price-card li { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.price-card li svg { color: #29b56a; flex: none; }
.price-card.featured li svg { color: #5fd48f; }

/* ===== Blog ===== */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card img { height: 190px; width: 100%; object-fit: cover; }
.post-body { padding: 22px; }
.post-cat { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.post-body h3 { font-size: 1.08rem; margin: 8px 0; }
.post-body p { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.post-foot { display: flex; align-items: center; justify-content: space-between; font-size: .82rem; color: var(--muted); }

.featured-post { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.featured-post img { height: 100%; min-height: 320px; object-fit: cover; }
.featured-post .fp-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-post .tags { display: flex; gap: 8px; margin-bottom: 14px; }
.chip { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 5px; }
.chip.red { background: var(--red); color: #fff; }
.chip.soft { background: var(--bg-soft); color: var(--navy); }
.featured-post h2 { font-size: clamp(1.35rem, 1rem + 1.6vw, 1.7rem); margin-bottom: 12px; }
.featured-post p { color: var(--muted); margin-bottom: 18px; }

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn { border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 8px 18px; border-radius: 30px; font-size: .85rem; font-weight: 500; cursor: pointer; transition: all .15s; }
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step { text-align: center; }
.step .n { width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); font-weight: 800; font-size: 1.15rem; display: grid; place-items: center; margin: 0 auto 16px; background: #fff; }
.step:last-child .n { border-color: var(--red); color: #fff; background: var(--red); }
.step h4 { font-size: 1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .85rem; }

/* ===== CTA band ===== */
.cta-band { background: var(--navy); color: #fff; border-radius: 20px; padding: 56px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2rem); margin-bottom: 12px; }
.cta-band p { color: #b9cbe0; max-width: 560px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-inline { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; background: var(--navy); color: #fff; border-radius: 20px; padding: 48px; }
.cta-inline h2 { color: #fff; font-size: clamp(1.45rem, 1.05rem + 1.7vw, 1.9rem); margin-bottom: 12px; }
.cta-inline p { color: #b9cbe0; margin-bottom: 24px; }
.cta-inline img { border-radius: 14px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 46px; align-items: start; }
.contact-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.contact-item .ico { width: 44px; height: 44px; border-radius: 10px; background: #eaf1fb; color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-item .lab { font-size: .78rem; color: var(--muted); }
.contact-item strong { color: var(--navy); font-size: .95rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; transition: background .15s; }
.socials a:hover { background: var(--red); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .92rem; color: var(--text); background: #fbfcfe;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }

/* map placeholder */
.map-box { height: 260px; border-radius: var(--radius); background:
  linear-gradient(#dfe8f4 1px, transparent 1px) 0 0 / 100% 65px,
  linear-gradient(90deg, #dfe8f4 1px, transparent 1px) 0 0 / 120px 100%,
  #eef3fa;
  position: relative; border: 1px solid var(--line); }
.map-pin { position: absolute; top: 45%; left: 50%; transform: translate(-50%,-50%); }
.map-pin .p { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(225,29,42,.4); }
.map-pin .lbl { background: #fff; padding: 4px 12px; border-radius: 8px; font-size: .8rem; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm); margin-top: 6px; white-space: nowrap; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: inherit; font-size: 1rem; font-weight: 700; color: var(--navy); }
.faq-q .ic { width: 26px; height: 26px; border-radius: 7px; background: #eaf1fb; color: var(--blue); display: grid; place-items: center; flex: none; font-size: 1.1rem; transition: transform .2s; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 22px 18px; color: var(--muted); font-size: .92rem; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }

/* ===== Newsletter band ===== */
.news-band { background: var(--bg-soft); border-radius: 20px; padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.news-band h2 { font-size: clamp(1.35rem, 1rem + 1.5vw, 1.7rem); margin-bottom: 8px; }
.news-band p { color: var(--muted); }
.news-form { display: flex; gap: 10px; }
.news-form input { flex: 1; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; background: #fff; }
.news-form input:focus { outline: none; border-color: var(--blue); }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: #a9c0d8; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.footer-grid .brand-text strong { color: #fff; }
.footer-about p { font-size: .9rem; margin: 18px 0; max-width: 300px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { font-size: .9rem; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-news p { font-size: .9rem; margin-bottom: 14px; }
.footer-news form { display: flex; }
.footer-news input { flex: 1; padding: 11px 14px; border: none; border-radius: 10px 0 0 10px; font-family: inherit; }
.footer-news button { border: none; background: var(--red); color: #fff; padding: 0 18px; border-radius: 0 10px 10px 0; font-weight: 700; cursor: pointer; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cfe0f4; transition: background .15s; }
.footer-social a:hover { background: var(--red); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #7f99b5; }

/* ===== Article ===== */
.article-hero { background: var(--navy); color: #fff; padding: 48px 0 40px; }
.article-hero .breadcrumb { margin-bottom: 18px; }
.article-hero .chip { margin-bottom: 16px; }
.article-hero h1 { color: #fff; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.4rem); max-width: 820px; margin-bottom: 18px; }
.article-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: #b9cbe0; font-size: .9rem; }
.article-meta .who { display: flex; align-items: center; gap: 10px; }
.article-meta .who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top center; }
.article-meta .who strong { color: #fff; display: block; font-size: .9rem; }
.article-cover { margin: -40px auto 0; max-width: 900px; padding: 0 24px; }
.article-cover img { width: 100%; height: 420px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.article-body { max-width: 760px; margin: 0 auto; padding: 48px 24px 20px; }
.article-body .lead { font-size: 1.2rem; color: var(--navy); font-weight: 500; line-height: 1.7; margin-bottom: 28px; }
.article-body h2 { font-size: 1.5rem; margin: 34px 0 14px; }
.article-body h3 { font-size: 1.18rem; margin: 26px 0 10px; }
.article-body p { color: #34424f; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; color: #34424f; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { border-left: 4px solid var(--red); background: var(--bg-soft); padding: 18px 24px; border-radius: 0 12px 12px 0; margin: 26px 0; font-style: italic; color: var(--navy); }
.article-body img.inline { border-radius: 12px; margin: 26px 0; width: 100%; }
.article-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0; }
.article-tags a { background: var(--bg-soft); color: var(--navy); font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 30px; }
.article-tags a:hover { background: var(--navy); color: #fff; }
.article-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 10px; flex-wrap: wrap; }
.share-row { display: flex; align-items: center; gap: 10px; margin: 26px 0; }
.share-row span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.share-row a { width: 38px; height: 38px; border-radius: 9px; background: var(--bg-soft); color: var(--navy); display: grid; place-items: center; transition: all .15s; }
.share-row a:hover { background: var(--navy); color: #fff; }

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-24 { margin-top: 24px; }

/* =====================================================
   RESPONSIVE — desktop, laptop, tablette, smartphone
   (portrait & paysage)
   ===================================================== */

/* --- Grands écrans / petit laptop (≤ 1080px) --- */
@media (max-width: 1080px) {
  :root { --container: 960px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; }
  /* Équipe : 5 colonnes en ligne (style inline) -> 3 */
  .grid[style*="repeat(5"] { grid-template-columns: repeat(3, 1fr) !important; }
}

/* --- Tablette paysage / laptop (≤ 980px) --- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid, .cta-inline, .featured-post, .news-band { grid-template-columns: 1fr; }
  .hero-grid { gap: 36px; }
  .split { gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .featured-post img { min-height: 240px; max-height: 340px; }
  .media-badge { right: 10px; }
  .cta-inline img { order: -1; }
}

/* --- Barre de navigation : passage au menu hamburger (≤ 900px) --- */
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; }
  .brand { margin-right: auto; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 24px; gap: 4px;
    box-shadow: var(--shadow);
    display: none;
    z-index: 60;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; width: 100%; padding: 10px 0; }
  .nav-right { gap: 12px; }
  .nav-toggle { display: grid; place-items: center; }
}

/* --- Tablette portrait (≤ 768px) --- */
@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-news { grid-column: auto; }
  /* En-têtes de section en flex (style inline) : empilés */
  .section-head[style*="flex"] {
    flex-direction: column; align-items: flex-start !important;
    gap: 18px; text-align: left;
  }
  .article-cover img { height: 320px; }
}

/* --- Smartphone (≤ 640px) --- */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .grid[style*="repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }
  /* Recherche + CTA : passent sur leur propre ligne pleine largeur */
  .nav-right { flex-basis: 100%; order: 3; justify-content: space-between; gap: 10px; }
  .nav-right .btn-red { flex: 1; justify-content: center; padding-left: 16px; padding-right: 16px; }
  /* Bandeau conférence : empilé */
  .conf-strip { flex-direction: column; align-items: flex-start; gap: 14px; }
  .conf-strip .meta { margin-left: 0; }
  /* CTA / newsletter : padding réduit */
  .cta-band, .cta-inline, .news-band { padding: 30px 22px; }
  .cta-inline { gap: 26px; }
  .news-form { flex-direction: column; }
  .news-form .btn { justify-content: center; }
  /* Article */
  .article-cover { margin-top: -24px; }
  .article-cover img { height: 220px; }
  .article-body { padding: 34px 20px 10px; }
  .article-nav { flex-direction: column; }
  .article-nav .btn { justify-content: center; }
  /* Hero */
  .hero { padding: 52px 0 60px; }
  .hero-stats { gap: 22px; }
  .hero-badge { left: 12px; bottom: 12px; padding: 10px 12px; max-width: 200px; }
  /* Formulaire */
  .form-card { padding: 24px; }
  /* Team : photos un peu réduites */
  .team-card .avatar { width: 120px; height: 120px; }
}

/* --- Petit smartphone (≤ 400px) --- */
@media (max-width: 400px) {
  .container, .nav, .article-cover { padding-left: 16px; padding-right: 16px; }
  .grid[style*="repeat(5"] { grid-template-columns: 1fr !important; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .brand-text strong { font-size: .95rem; }
  .price-card, .cta-band, .cta-inline, .news-band { padding: 24px 18px; }
  .article-body { padding: 28px 16px 6px; }
}

/* --- Téléphones en mode paysage (hauteur réduite) --- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 40px 0; }
  .page-hero { padding: 36px 0 40px; }
  .article-hero { padding: 32px 0 30px; }
  .section { padding: 44px 0; }
  .nav-menu { max-height: 78vh; overflow-y: auto; }
}
