/* ═══════════════════════════════════════════════
   MEDISCRIBE — Global Stylesheet
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Variables ── */
:root {
  --teal:        #0d7377;
  --teal-dark:   #0a5659;
  --teal-light:  #e0f2f2;
  --teal-mid:    #14a2a8;
  --sage:        #2d6a4f;
  --accent:      #7de8e8;
  --white:       #ffffff;
  --offwhite:    #f7f8f8;
  --gray-light:  #f0f2f2;
  --gray:        #e4e8e8;
  --border:      #dde4e4;
  --text:        #1a2a2a;
  --muted:       #4a6060;
  --muted-light: #7a9090;
  --font-body:   'DM Sans', sans-serif;
  --font-display:'DM Serif Display', serif;
  --radius:      8px;
  --radius-lg:   14px;
  --radius-xl:   22px;
  --shadow-sm:   0 2px 8px rgba(13,115,119,.08);
  --shadow-md:   0 6px 24px rgba(13,115,119,.13);
  --shadow-lg:   0 16px 48px rgba(13,115,119,.16);
  --section-pad: 88px 0;
  --max-w:       1120px;
  --max-text:    720px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ── Typography ── */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--muted); line-height: 1.8; }

/* ── Utility ── */
.text-center  { text-align: center; }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.lead { font-size: 1.08rem; color: var(--muted); line-height: 1.8; margin-top: 16px; }

/* ── Grid helpers ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2,1fr); } .grid-5 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 760px)  { .grid-2,.grid-3,.grid-4,.grid-5 { grid-template-columns: 1fr; } }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .22s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary  { background: var(--teal); color: var(--white); }
.btn-primary:hover  { background: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline  { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover  { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.btn-ghost    { background: rgba(255,255,255,.15); color: var(--white); border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-ghost:hover    { background: rgba(255,255,255,.25); transform: translateY(-2px); }

/* ── Tag/badge ── */
.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(13,115,119,.1);
  color: var(--teal);
}
.tag-white { background: rgba(255,255,255,.18); color: rgba(255,255,255,.9); }

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); background: var(--teal-light); }
.nav-cta { margin-left: 8px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: all .3s; }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 11px 0; font-size: 1rem; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--gray); }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .btn { margin-top: 16px; width: 100%; text-align: center; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-burger { display: block; } }

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  padding: 140px 0 96px;
  background: linear-gradient(140deg, var(--teal-dark) 0%, var(--teal) 55%, #1a9a8a 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(125,232,232,.06);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-eyebrow { margin-bottom: 22px; }
.hero-title { color: var(--white); margin-bottom: 20px; }
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: 1.06rem; color: rgba(255,255,255,.78); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-metrics { display: flex; flex-direction: column; gap: 16px; }
.metric-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  backdrop-filter: blur(10px);
}
.metric-card.sm { padding: 15px 20px; }
.metric-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.metric-card.sm .metric-num { font-size: 1.9rem; }
.metric-label { font-size: .8rem; color: rgba(255,255,255,.62); line-height: 1.4; }

@media (max-width: 860px) {
  .hero { padding: 110px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-metrics { flex-direction: row; flex-wrap: wrap; }
  .metric-card { flex: 1; min-width: 140px; }
}

/* ═══════════════════════════════════════════════
   SECTION : DIAGNOSTIC
   ═══════════════════════════════════════════════ */
.diagnostic { background: var(--white); }
.problem-intro { font-size: 1.05rem; margin-top: 16px; max-width: 680px; margin-left: auto; margin-right: auto; }
.problem-grid { margin-top: 52px; }
.problem-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: box-shadow .25s;
}
.problem-card:hover { box-shadow: var(--shadow-md); }
.problem-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff0f0;
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 16px;
}
.problem-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #fdd;
  color: #c0392b;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700;
  flex-shrink: 0;
}
.problem-card h3 { font-size: 1rem; margin-bottom: 0; font-family: var(--font-body); font-weight: 600; color: #c0392b; }

/* ═══════════════════════════════════════════════
   SECTION : SERVICES HOME
   ═══════════════════════════════════════════════ */
.services-home { background: var(--offwhite); }
.service-card {
  display: block;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--teal); }
.service-num { font-family: var(--font-display); font-size: 3rem; font-weight: 400; color: var(--teal-light); line-height: 1; margin-bottom: 12px; }
.service-card:hover .service-num { color: rgba(13,115,119,.2); }
.service-card h3 { font-family: var(--font-body); font-weight: 600; color: var(--text); margin-bottom: 10px; font-size: 1.15rem; }
.service-card p { font-size: .9rem; margin-bottom: 16px; }
.service-link { color: var(--teal); font-size: .85rem; font-weight: 500; }

/* ═══════════════════════════════════════════════
   SECTION : CIBLES
   ═══════════════════════════════════════════════ */
.targets { background: var(--white); }
.target-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: box-shadow .25s, border-color .25s;
}
.target-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal-mid); }
.target-icon { font-size: 2rem; margin-bottom: 14px; }
.target-card h4 { font-family: var(--font-body); font-weight: 600; margin-bottom: 10px; }
.target-pain { font-size: .85rem; font-style: italic; color: var(--muted); margin-bottom: 10px; padding-left: 10px; border-left: 2px solid var(--teal-light); }
.target-solution { font-size: .85rem; color: var(--text); margin: 0; }

/* ═══════════════════════════════════════════════
   SECTION : EXEMPLES
   ═══════════════════════════════════════════════ */
.exemples { background: var(--teal-light); }
.example-card {
  display: block;
  background: var(--white);
  border: 1px solid rgba(13,115,119,.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .25s, transform .25s;
}
.example-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.example-thumb {
  width: 100%; height: 160px;
  background: linear-gradient(135deg, var(--teal-light), var(--gray));
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-light); font-size: .8rem; font-weight: 500; letter-spacing: .06em;
}
.example-body { padding: 24px; }
.example-body .tag { margin-bottom: 10px; }
.example-body h3 { font-family: var(--font-body); font-weight: 600; color: var(--text); margin-bottom: 8px; font-size: 1.05rem; }
.example-body p { font-size: .88rem; margin-bottom: 14px; }
.example-link { color: var(--teal); font-size: .85rem; font-weight: 500; }

/* ═══════════════════════════════════════════════
   SECTION : BLOG PREVIEW
   ═══════════════════════════════════════════════ */
.blog-preview { background: var(--offwhite); }
.blog-preview-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; gap: 20px; flex-wrap: wrap; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .25s;
}
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-thumb {
  width: 100%; height: 170px;
  background: linear-gradient(135deg, var(--gray-light), var(--gray));
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-light); font-size: .78rem; font-weight: 500; letter-spacing: .06em;
}
.blog-body { padding: 20px; }
.blog-date { font-size: .75rem; color: var(--muted-light); display: block; margin-bottom: 8px; }
.blog-body h3 { font-family: var(--font-body); font-weight: 600; font-size: .98rem; margin-bottom: 8px; }
.blog-body h3 a { color: var(--text); }
.blog-body h3 a:hover { color: var(--teal); }
.blog-body p { font-size: .86rem; margin: 0; }

/* ═══════════════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════════════ */
.cta-final {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, #1a9a8a 100%);
  padding: 100px 0;
  text-align: center;
}
.cta-final h2 { color: var(--white); margin-bottom: 16px; }
.cta-final p { color: rgba(255,255,255,.75); margin-bottom: 36px; font-size: 1.04rem; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
  background: #0d1f1f;
  color: rgba(255,255,255,.65);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 36px; filter: brightness(0) invert(1); opacity: .8; margin-bottom: 14px; }
.footer-brand p { font-size: .86rem; line-height: 1.7; }
.footer-col h5 { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.footer-col a { display: block; font-size: .86rem; color: rgba(255,255,255,.6); margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,.45); margin-left: 16px; }
.footer-bottom a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════
   PAGE HERO (sous-pages)
   ═══════════════════════════════════════════════ */
.page-hero {
  padding: 130px 0 72px;
  background: linear-gradient(140deg, var(--teal-dark), var(--teal));
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.08rem; max-width: 600px; margin: 0 auto; }

/* ═══════════════════════════════════════════════
   EXPERTISE PAGE
   ═══════════════════════════════════════════════ */
.expertise-intro { background: var(--white); }
.expertise-pilier {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  margin-bottom: 20px;
  transition: box-shadow .25s, border-color .25s;
}
.expertise-pilier:hover { box-shadow: var(--shadow-md); border-color: var(--teal); }
.pilier-num { font-family: var(--font-display); font-size: 3.5rem; color: var(--teal-light); line-height: 1; }
.pilier-content h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; margin-bottom: 8px; }
.pilier-content p { font-size: .92rem; margin-bottom: 10px; }
.pilier-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pilier-tag { font-size: .72rem; padding: 3px 10px; border-radius: 12px; background: var(--teal-light); color: var(--teal); font-weight: 500; }

/* ═══════════════════════════════════════════════
   SERVICES PAGE
   ═══════════════════════════════════════════════ */
.services-list { background: var(--offwhite); }
.service-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.service-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.service-detail-num { font-family: var(--font-display); font-size: 2.8rem; color: var(--teal-light); line-height: 1; min-width: 60px; }
.service-detail-header h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.3rem; margin-bottom: 4px; }
.service-detail-header p { font-size: .9rem; margin: 0; }
.service-detail-body { padding: 28px 32px; }
.service-detail-body ul { padding-left: 0; }
.service-detail-body li { font-size: .92rem; color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--gray); display: flex; align-items: flex-start; gap: 10px; }
.service-detail-body li::before { content: '→'; color: var(--teal); font-weight: 600; flex-shrink: 0; margin-top: 2px; }
.service-detail-body li:last-child { border-bottom: none; }
.service-detail-cta { padding: 20px 32px; background: var(--offwhite); border-top: 1px solid var(--border); display: flex; justify-content: flex-end; }

/* ═══════════════════════════════════════════════
   TARIFS PAGE
   ═══════════════════════════════════════════════ */
.tarifs-grid { background: var(--white); }
.tarif-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.tarif-card.featured { border: 2px solid var(--teal); box-shadow: var(--shadow-md); }
.tarif-header { padding: 28px 28px 20px; border-bottom: 1px solid var(--border); }
.tarif-header.featured-bg { background: var(--teal); }
.tarif-header.featured-bg h3,
.tarif-header.featured-bg .tarif-price,
.tarif-header.featured-bg .tarif-desc { color: var(--white); }
.tarif-header h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; margin-bottom: 6px; }
.tarif-price { font-family: var(--font-display); font-size: 2.4rem; color: var(--teal); line-height: 1; margin-bottom: 4px; }
.tarif-price span { font-size: .9rem; font-family: var(--font-body); color: var(--muted); }
.tarif-desc { font-size: .84rem; color: var(--muted); }
.tarif-features { padding: 24px 28px; }
.tarif-features li { font-size: .88rem; color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--gray); display: flex; gap: 8px; align-items: flex-start; }
.tarif-features li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.tarif-features li:last-child { border-bottom: none; }
.tarif-footer { padding: 20px 28px; }
.tarif-note { background: var(--offwhite); border-radius: var(--radius-lg); padding: 28px 32px; margin-top: 40px; text-align: center; }
.tarif-note p { margin: 0; font-size: .94rem; }

/* ═══════════════════════════════════════════════
   FORMULAIRE DEVIS / CONTACT
   ═══════════════════════════════════════════════ */
.form-section { background: var(--offwhite); }
.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 780px;
  margin: 0 auto;
}
@media (max-width: 640px) { .form-wrap { padding: 28px 20px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,115,119,.1); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group.full { grid-column: 1 / -1; }
.form-section-title { font-family: var(--font-body); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin: 24px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--teal-light); grid-column: 1 / -1; }
.rgpd-check { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; grid-column: 1 / -1; }
.rgpd-check input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; accent-color: var(--teal); }
.rgpd-check label { font-size: .8rem; color: var(--muted); line-height: 1.5; font-weight: 400; }
.rgpd-check a { color: var(--teal); text-decoration: underline; }
.form-submit { text-align: center; margin-top: 8px; grid-column: 1 / -1; }
.form-success { display: none; text-align: center; padding: 20px; background: var(--teal-light); border-radius: var(--radius-lg); color: var(--teal-dark); font-weight: 500; }

/* ═══════════════════════════════════════════════
   FICHE CONTENU (pathologies, observance…)
   ═══════════════════════════════════════════════ */
.fiche-wrap { max-width: 860px; margin: 0 auto; padding: 0 24px 80px; }
.fiche-breadcrumb { font-size: .82rem; color: var(--muted-light); padding: 20px 0; }
.fiche-breadcrumb a { color: var(--teal); }
.fiche-chapo {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  border-left: 4px solid var(--teal);
  padding: .9rem 1.1rem;
  background: var(--teal-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0 28px;
}
.fiche-section { margin-bottom: 2rem; }
.fiche-section h2 { font-family: var(--font-body); font-weight: 600; font-size: 1.25rem; color: var(--text); padding-bottom: .5rem; border-bottom: 2px solid var(--gray); margin-bottom: 1rem; }
.fiche-section h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; margin: 1.2rem 0 .5rem; }
.fiche-section p { font-size: .94rem; margin-bottom: .8rem; }
.fiche-box { border-radius: var(--radius-lg); padding: 1rem 1.2rem; margin: 1rem 0; }
.fiche-box.green { background: #e8f7f0; border: 1px solid #9FE1CB; }
.fiche-box.amber { background: #fdf3e0; border: 1px solid #FAC775; }
.fiche-box.blue  { background: #e8f2fb; border: 1px solid #b5d4f4; }
.fiche-box-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.fiche-box.green .fiche-box-label { color: #0a5c3a; }
.fiche-box.amber .fiche-box-label { color: #7a4510; }
.fiche-box.blue  .fiche-box-label { color: #0a4a8a; }
.fiche-box p { font-size: .88rem; margin: 0; }
.fiche-step-list { list-style: none; padding: 0; margin: .75rem 0; }
.fiche-step-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: .6rem; font-size: .9rem; color: var(--text); line-height: 1.65; }
.fiche-step-list .num { min-width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

/* ═══════════════════════════════════════════════
   PLACEHOLDER IMAGE
   ═══════════════════════════════════════════════ */
.placeholder-img {
  width: 100%;
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-light);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-lg);
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp .7s ease forwards;
}
.fade-up-2 { animation-delay: .18s; }
.fade-up-3 { animation-delay: .34s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ── Carte service 05 — centrage desktop / pleine largeur mobile ── */
.service-card-last {
  grid-column: 1 / -1;
  max-width: calc(50% - 12px);
}
@media (max-width: 760px) {
  .service-card-last { max-width: 100%; }
}

.fade-up { opacity: 1 !important; transform: none !important; }
[data-reveal] { opacity: 1 !important; visibility: visible !important; }

/* ═══════════════════════════════════════════════
   RESPONSIVE MISC
   ═══════════════════════════════════════════════ */
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .cta-final { padding: 72px 0; }
  .hero { padding: 100px 0 60px; }
  .page-hero { padding: 110px 0 56px; }
}

.fade-up { opacity: 1 !important; transform: none !important; }
[data-reveal] { opacity: 1 !important; visibility: visible !important; }
