/* =============================================================================
   LIFE INSTITUTE — Feuille de style principale
   Concept « Lifted » : la croix (+) comme motif structurant, la courbe-feuille
   du logo pour cadrer les images. Cyan = calme, Crimson = soin, Navy = texte.
   ========================================================================== */

/* ----- Tokens --------------------------------------------------------------*/
:root {
  --primary: #00bad8;
  --primary-dark: #0499b3;
  --primary-darker: #067a90;
  --primary-050: #f0fbfd;
  --primary-100: #dcf5fa;
  --primary-200: #b6ebf3;

  --accent: #e71d36;
  --accent-dark: #c4152b;
  --accent-050: #fdedef;

  --ink: #2b2d42;
  --ink-soft: #565a72;
  --ink-faint: #8b8fa6;

  --bg: #ffffff;
  --bg-alt: #f5fbfc;
  --bg-tint: #f0f8fa;
  --line: #e7eef1;

  --white: #ffffff;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-leaf: 24px 120px 24px 120px;

  --shadow-sm: 0 2px 10px rgba(43, 45, 66, 0.05);
  --shadow: 0 14px 40px -18px rgba(43, 45, 66, 0.22);
  --shadow-cyan: 0 22px 50px -22px rgba(0, 186, 216, 0.55);
  --shadow-accent: 0 16px 34px -14px rgba(231, 29, 54, 0.45);

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----- Reset & base --------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--primary-dark); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; }

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

/* ----- Layout helpers ------------------------------------------------------*/
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow { max-width: 780px; }

.section { padding-block: clamp(60px, 8vw, 110px); position: relative; }
.section--tint { background: var(--bg-alt); }
.section--ink { background: var(--ink); color: #d9dced; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.grid { display: grid; gap: clamp(20px, 3vw, 34px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ----- Eyebrow (signature : la croix comme marqueur) -----------------------*/
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 2rem;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 800;
  box-shadow: var(--shadow-accent);
}
.eyebrow--light { color: var(--primary-200); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-head .lead { font-size: 1.08rem; color: var(--ink-soft); margin-top: 0.6rem; }

.lead { font-size: 1.12rem; color: var(--ink-soft); }

/* ----- Buttons -------------------------------------------------------------*/
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 1.1em; }
.btn:hover { transform: translateY(-3px); color: var(--btn-fg); }

.btn-primary { --btn-bg: var(--accent); box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 20px 40px -14px rgba(231, 29, 54, 0.6); }

.btn-cyan { --btn-bg: var(--primary); box-shadow: var(--shadow-cyan); }
.btn-cyan:hover { background: var(--primary-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-050); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: #fff; }

.btn-sm { padding: 0.65rem 1.25rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary-dark);
}
.link-arrow i { transition: transform 0.25s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* ----- Image placeholders --------------------------------------------------*/
.img-ph {
  position: relative;
  display: grid;
  place-content: center;
  gap: 0.6rem;
  text-align: center;
  background:
    radial-gradient(120% 120% at 20% 0%, var(--primary-100), transparent 55%),
    linear-gradient(135deg, var(--primary-050), #eef7f9);
  border: 1.5px dashed var(--primary-200);
  color: var(--primary-darker);
  min-height: 240px;
  overflow: hidden;
  border-radius: var(--radius);
}
.img-ph i { font-size: 2.4rem; opacity: 0.8; }
.img-ph span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
  max-width: 80%;
}
.img-ph.leaf { border-radius: var(--radius-leaf); }
.img-ph.round { border-radius: 50%; }
.img-ph.tall { aspect-ratio: 3 / 4; min-height: 0; }
.img-ph.wide { aspect-ratio: 16 / 10; min-height: 0; }
.img-ph.square { aspect-ratio: 1 / 1; min-height: 0; }

/* ============================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}
.nav-links a:hover { color: var(--primary-dark); background: var(--primary-050); }
.nav-links a.active { color: var(--primary-dark); background: var(--primary-100); }

.nav-cta { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.4rem;
  align-items: center;
  justify-content: center;
}

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 86vw);
  background: #fff;
  z-index: 200;
  transform: translateX(105%);
  transition: transform 0.4s var(--ease);
  box-shadow: -20px 0 60px -30px rgba(43, 45, 66, 0.5);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mobile-menu .mm-head img { height: 40px; }
.mobile-menu a.mm-link {
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.mm-link:hover, .mobile-menu a.mm-link.active { background: var(--primary-050); color: var(--primary-dark); }
.mm-close { background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
.overlay {
  position: fixed; inset: 0; background: rgba(43, 45, 66, 0.45);
  z-index: 150; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease);
}
.overlay.show { opacity: 1; visibility: visible; }

/* ============================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 92px) clamp(60px, 8vw, 110px);
  background:
    radial-gradient(90% 120% at 100% 0%, var(--primary-050) 0%, transparent 60%),
    linear-gradient(180deg, #fbfeff 0%, #ffffff 100%);
  overflow: hidden;
}
/* Croix filigrane */
.hero::before {
  content: "";
  position: absolute;
  top: 8%; right: -60px;
  width: 420px; height: 420px;
  background:
    linear-gradient(var(--primary-100), var(--primary-100)) 50% 0 / 30% 100% no-repeat,
    linear-gradient(var(--primary-100), var(--primary-100)) 0 50% / 100% 30% no-repeat;
  opacity: 0.5;
  transform: rotate(12deg);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  margin-bottom: 1.1rem;
}
.hero-copy h1 .hl { color: var(--primary); }
.hero-copy .lead { max-width: 40ch; margin-bottom: 1.9rem; }
.hero-copy .btn-row { margin-bottom: 2rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-trust .t-item { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; font-size: 0.94rem; color: var(--ink-soft); }
.hero-trust .t-item i { color: var(--primary); font-size: 1.3rem; }

/* Visuel héro */
.hero-visual { position: relative; }
.hero-slider {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-leaf);
  box-shadow: var(--shadow-cyan);
  border: 6px solid #fff;
  overflow: hidden;
  background: var(--primary-100);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slide .img-ph {
  width: 100%; height: 100%; min-height: 0;
  border: none; border-radius: 0; aspect-ratio: auto;
}
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3;
  display: flex; gap: 8px; justify-content: center;
}
.hero-dot {
  width: 9px; height: 9px; padding: 0; border: none; cursor: pointer;
  border-radius: 50%; background: rgba(255, 255, 255, .55);
  box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: width .25s, background .25s, border-radius .25s;
}
.hero-dot:hover { background: rgba(255, 255, 255, .85); }
.hero-dot.is-active { background: #fff; width: 22px; border-radius: 5px; }
.hero-visual .blob {
  position: absolute;
  inset: auto -30px -30px auto;
  width: 180px; height: 180px;
  background: var(--primary-100);
  border-radius: 46% 54% 60% 40% / 52% 48% 52% 48%;
  z-index: -1;
}
.floating-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.9rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.floating-card .fc-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.floating-card .fc-icon.cyan { background: var(--primary); }
.floating-card .fc-icon.accent { background: var(--accent); }
.floating-card .fc-num { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1; color: var(--ink); }
.floating-card .fc-label { font-size: 0.8rem; color: var(--ink-soft); }
.floating-card.top { top: 22px; left: -26px; }
.floating-card.bottom { bottom: 30px; right: -22px; }

/* ============================================================================
   REASSURANCE STRIP
   ========================================================================== */
.reassure { background: var(--primary); color: #fff; }
.reassure .grid { gap: 1.5rem; }
.reassure .r-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.4rem 0;
}
.reassure .r-item i {
  font-size: 1.6rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.reassure .r-item strong { font-family: var(--font-display); display: block; font-size: 1.02rem; }
.reassure .r-item span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }

/* ============================================================================
   CARDS
   ========================================================================== */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

/* Spécialité */
.spec-card { display: flex; flex-direction: column; }
.spec-card .spec-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  color: var(--primary-dark);
  background: var(--primary-050);
  margin-bottom: 1.2rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.spec-card:hover .spec-icon { background: var(--primary); color: #fff; }
.spec-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.spec-card p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.spec-card .link-arrow { margin-top: auto; font-size: 0.92rem; }
/* petite croix d'angle */
.spec-card::after {
  content: "+";
  position: absolute;
  top: 1.4rem; right: 1.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary-200);
  transition: color 0.3s var(--ease);
}
.spec-card:hover::after { color: var(--accent); }

/* Valeurs */
.value-card { text-align: left; }
.value-card .v-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: var(--accent-050); color: var(--accent);
  margin-bottom: 1rem;
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.value-card p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }

/* Médecin */
.doctor-card { text-align: center; padding: 1.8rem 1.5rem 2rem; }
.doctor-card .doc-photo {
  width: 150px; height: 150px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--primary-050);
  box-shadow: var(--shadow-sm);
}
.doctor-card .doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card .doc-photo .img-ph { min-height: 0; height: 100%; border-radius: 50%; border: none; }
.doctor-card h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.doctor-card .doc-spec {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--primary-dark);
  background: var(--primary-050);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.doctor-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ============================================================================
   SPLIT (image + texte) & feature lists
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media .img-ph { aspect-ratio: 5 / 4; min-height: 0; border-radius: var(--radius-leaf); }

.check-list { display: grid; gap: 0.75rem; margin: 1.4rem 0; }
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  list-style: none;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "+";
  flex-shrink: 0;
  width: 1.5rem; height: 2rem;
  display: grid; place-items: center;
  border-radius: 6px;
  background: var(--primary-050);
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  margin-top: 0.15rem;
}
.check-list.accent li::before { background: var(--accent-050); color: var(--accent); }

/* Stats inline */
.stat-row { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 1.8rem; }
.stat-row .stat .n { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--primary); line-height: 1; }
.stat-row .stat .l { font-size: 0.9rem; color: var(--ink-soft); }

/* ============================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 4rem);
  overflow: hidden;
  text-align: center;
}
.cta-band::before, .cta-band::after {
  content: "+";
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.14);
  line-height: 1;
}
.cta-band::before { font-size: 12rem; top: -2rem; left: -1rem; }
.cta-band::after { font-size: 16rem; bottom: -4rem; right: -1rem; }
.cta-band .cta-inner { position: relative; z-index: 1; max-width: 640px; margin-inline: auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.cta-band p { color: rgba(255, 255, 255, 0.9); margin-bottom: 1.8rem; }
.cta-band .btn-row { justify-content: center; }

/* ============================================================================
   BLOG
   ========================================================================== */
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  height: 100%;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .pc-media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card .pc-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card .pc-media .img-ph { height: 100%; border-radius: 0; border-left: none; border-right: none; border-top: none; }
.post-card .pc-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; font-size: 0.8rem; color: var(--ink-faint); margin-bottom: 0.7rem; }
.tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-050);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}
.tag.cyan { color: var(--primary-dark); background: var(--primary-050); }
.post-card h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--primary-dark); }
.post-card p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.post-card .link-arrow { margin-top: auto; font-size: 0.9rem; }

/* Featured */
.post-feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.post-feature .pf-media { position: relative; min-height: 320px; display: block; }
.post-feature .pf-media img,
.post-feature .pf-media .img-ph {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border-radius: 0; border: none;
}
.post-feature .pf-media img { object-fit: cover; }
.post-feature .pf-body { padding: clamp(1.8rem, 3vw, 2.6rem); align-self: center; }
.post-feature h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.8rem; }
.post-feature h2 a { color: var(--ink); }

/* Filtres */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.chip {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: #fff;
}
.chip:hover { border-color: var(--primary); color: var(--primary-dark); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Article */
.article-head { text-align: center; max-width: 760px; margin: 0 auto clamp(30px, 4vw, 44px); }
.article-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1rem; }
.article-cover {
  max-width: 980px;
  margin: 0 auto clamp(30px, 4vw, 48px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}
.article-cover img,
.article-cover .img-ph {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  min-height: 0;
  border-radius: 0;
}

.article-body { max-width: 720px; margin: 0 auto; font-size: 1.09rem; color: #3a3d55; }
.article-body h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.article-body h3 { font-size: 1.3rem; margin-top: 1.8rem; }
.article-body p { margin-bottom: 1.3rem; }
.article-body img { border-radius: var(--radius); margin: 1.6rem 0; box-shadow: var(--shadow-sm); }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin-bottom: 1.3rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--primary-050);
  margin: 1.6rem 0;
  padding: 1rem 1.4rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--ink);
}

.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600;
  color: var(--ink-soft); background: #fff;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary-dark); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============================================================================
   PAGE HERO (sous-pages)
   ========================================================================== */
.page-hero {
  background:
    radial-gradient(80% 140% at 100% 0%, var(--primary-050), transparent 60%),
    var(--bg);
  padding-block: clamp(48px, 6vw, 84px) clamp(30px, 4vw, 50px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "+";
  position: absolute;
  right: 4%; top: 10%;
  font-family: var(--font-display); font-weight: 800;
  font-size: 9rem; color: var(--primary-100);
  line-height: 1; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 16ch; }
.page-hero .lead { max-width: 60ch; margin-top: 0.8rem; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb i { font-size: 0.7rem; }

/* ============================================================================
   SPECIALTY DETAIL blocks
   ========================================================================== */
.spec-detail { scroll-margin-top: 100px; }
.spec-detail .split-media .spec-icon-lg {
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-leaf);
  background: linear-gradient(135deg, var(--primary-050), var(--primary-100));
  display: grid; place-items: center;
  color: var(--primary);
  font-size: 5rem;
}
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; margin-top: 1.4rem; }
.two-lists h4 {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary-dark); margin-bottom: 0.8rem;
}

/* spec nav (ancres) */
.spec-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: clamp(30px, 4vw, 50px); }
.spec-nav a {
  font-family: var(--font-display); font-weight: 500; font-size: 0.88rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
}
.spec-nav a:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-050); }

/* ============================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.info-list { display: grid; gap: 1.1rem; margin-bottom: 2rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item .ii-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 14px; font-size: 1.35rem;
  background: var(--primary-050); color: var(--primary-dark);
}
.info-item .ii-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); font-weight: 600; }
.info-item .ii-value { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.info-item .ii-value a { color: var(--ink); }
.info-item .ii-value a:hover { color: var(--primary-dark); }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}

/* Formulaire */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--ink); }
.field-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--bg-alt);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px var(--primary-050);
}
.field-input::placeholder { color: var(--ink-faint); }
textarea.field-input { resize: vertical; min-height: 110px; }
.field-error { color: var(--accent); font-size: 0.82rem; font-weight: 500; }
.form-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: 0.4rem; }

/* Alerts / messages */
.alert {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 1rem 1.2rem; border-radius: 14px;
  font-size: 0.95rem; margin-bottom: 1.4rem;
}
.alert i { font-size: 1.2rem; margin-top: 0.1rem; }
.alert-success { background: #e9f9ef; color: #167a45; border: 1px solid #b8ebca; }
.alert-error { background: var(--accent-050); color: var(--accent-dark); border: 1px solid #f6c6cd; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; margin-top: 2.5rem; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-ph { aspect-ratio: 21 / 8; }

/* ============================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: #b9bccf; padding-block: clamp(50px, 6vw, 76px) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-brand img { height: 54px; margin-bottom: 1.1rem; }
.footer-brand .signature { font-family: var(--font-display); color: #fff; font-weight: 600; font-size: 1.05rem; margin-bottom: 0.7rem; }
.footer-brand p { font-size: 0.92rem; color: #9a9eb5; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-col a { color: #b9bccf; font-size: 0.94rem; }
.footer-col a:hover { color: var(--primary); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; margin-bottom: 0.7rem; }
.footer-contact i { color: var(--primary); margin-top: 0.15rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 1.1rem;
}
.footer-social a:hover { background: var(--primary); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.8rem; font-size: 0.85rem; color: #8b8fa6; }

/* ============================================================================
   REVEAL animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-inline: auto; width: 100%; order: -1; }
  .hero-copy { text-align: left; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .post-feature { grid-template-columns: 1fr; }
  .post-feature .pf-media { min-height: 240px; }
}

@media (max-width: 720px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { order: -1; }
  .two-lists { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.8rem; }
  .floating-card.top { left: -8px; }
  .floating-card.bottom { right: -8px; }
  .hero-copy .btn-row .btn { flex: 1; }
}

@media (min-width: 721px) and (max-width: 1000px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
