﻿/* ============================================================
   2D Consulting — STYLESHEET GLOBAL
   ============================================================ */

/* ── RESET & VARIABLES ───────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary:       #3a785e;   /* Vert forêt — couleur principale */
  --primary-dark:  #2c5e48;   /* Vert foncé */
  --green:         #7EC8C9;   /* Teal — accent secondaire */
  --green-light:   #9dd5d6;   /* Teal clair */
  --orange:        #3a785e;   /* CTA — même vert (cohérence marque) */
  --orange-dark:   #2c5e48;
  --white:         #FFFFFF;
  --off-white:     #FAFAF7;   /* Blanc cassé — fond principal */
  --light:         #e8f5f0;   /* Teinte verte très légère */
  --gray:          #64748B;
  --dark:          #0F172A;
  --border:        #E2E8F0;
  --shadow:        0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -1px rgba(0,0,0,.05);
  --shadow-lg:     0 10px 25px -3px rgba(0,0,0,.12), 0 4px 10px -2px rgba(0,0,0,.06);
  --shadow-xl:     0 25px 50px -12px rgba(0,0,0,.18);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    all 0.3s ease;
  --font:          'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--gray); line-height: 1.8; }

.text-primary { color: var(--primary); }
.text-green   { color: var(--green); }
.text-orange  { color: var(--orange); }
.text-white   { color: var(--white); }

/* ── UTILITIES ──────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 90px 0; }
.text-center { text-align: center; }

.section-tag {
  display: inline-block;
  background: rgba(0,132,61,.12);
  color: var(--green);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-tag.orange {
  background: rgba(255,107,53,.12);
  color: var(--orange);
}
.section-tag.blue {
  background: rgba(30,58,95,.1);
  color: var(--primary);
}

.section-title { color: var(--dark); margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; max-width: 600px; margin: 0 auto 48px; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(58,120,94,.35);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(58,120,94,.45);
}
.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0,132,61,.3);
}
.btn-green:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── NAVIGATION ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-lg);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}
.nav-logo .logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--green));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem; font-weight: 800;
}
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  font-size: .9rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  color: var(--gray);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: var(--light);
}
.nav-cta {
  display: flex; align-items: center; gap: 10px;
}
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  padding-top: 90px;
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #2c5e48 0%, #3a785e 55%, #7EC8C9 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px; padding: 6px 16px;
  color: white; font-size: .82rem; font-weight: 500;
  margin-bottom: 20px;
}
.hero-badge .dot { width: 8px; height: 8px; background: #7EC8C9; border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 { color: white; margin-bottom: 20px; }
.hero h1 span { color: #FFD700; }
.hero p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 16px; margin-top: 40px;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,.15);
}
.hero-trust-avatars { display: flex; }
.hero-trust-avatars img {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid white; object-fit: cover;
  margin-left: -10px;
}
.hero-trust-avatars img:first-child { margin-left: 0; }
.hero-trust-text { color: rgba(255,255,255,.9); font-size: .88rem; }
.hero-trust-text strong { color: white; display: block; }

/* Hero Form Card */
.hero-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-xl);
}
.hero-form-card h3 { color: var(--primary); margin-bottom: 6px; }
.hero-form-card p { font-size: .9rem; margin-bottom: 24px; color: var(--gray); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: .9rem; color: var(--dark);
  transition: var(--transition); background: var(--off-white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--green); background: white;
  box-shadow: 0 0 0 3px rgba(0,132,61,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; padding: 15px; font-size: 1rem; justify-content: center; }
.form-secure { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 10px; font-size: .78rem; color: var(--gray); }

/* ── STATS BAR ──────────────────────────────────────────── */
.stats-bar { background: var(--white); padding: 50px 0; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-item { text-align: center; }
.stat-number { font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-number span { color: var(--orange); }
.stat-label { font-size: .85rem; color: var(--gray); margin-top: 6px; }

/* ── SERVICES OVERVIEW ──────────────────────────────────── */
.services-section { background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: white; border-radius: var(--radius-lg); padding: 36px 30px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--green));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg, var(--light), #dbeafe);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
}
.service-card h3 { color: var(--dark); margin-bottom: 12px; }
.service-card p { font-size: .9rem; margin-bottom: 20px; }
.service-link { color: var(--green); font-size: .88rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.service-link:hover { gap: 10px; }

/* ── POURQUOI NOUS ──────────────────────────────────────── */
.why-section { background: white; }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-image-wrapper { position: relative; }
.why-image {
  width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--primary), var(--green));
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
}
.why-image-placeholder { text-align: center; color: white; padding: 40px; }
.why-image-placeholder .flag { font-size: 5rem; margin-bottom: 16px; }
.why-image-placeholder p { color: rgba(255,255,255,.8); font-size: 1.1rem; }
.why-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: white; border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow-lg); text-align: center;
}
.why-badge .number { font-size: 1.8rem; font-weight: 800; color: var(--orange); }
.why-badge .label { font-size: .75rem; color: var(--gray); }
.why-content { }
.why-list { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: rgba(0,132,61,.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.why-item h4 { color: var(--dark); margin-bottom: 4px; }
.why-item p { font-size: .88rem; margin: 0; }

/* ── PROCESS STEPS ──────────────────────────────────────── */
.process-section { background: var(--primary); }
.process-section .section-tag { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.process-section .section-title { color: white; }
.process-section .section-subtitle { color: rgba(255,255,255,.7); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process-grid::before {
  content: ''; position: absolute;
  top: 35px; left: calc(12.5% + 20px); right: calc(12.5% + 20px);
  height: 2px; background: rgba(255,255,255,.2); z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--orange); color: white;
  font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(255,107,53,.4);
}
.process-step h4 { color: white; margin-bottom: 8px; }
.process-step p { color: rgba(255,255,255,.7); font-size: .88rem; }

/* ── TESTIMONIALS ───────────────────────────────────────── */
.testimonials-section { background: var(--off-white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: white; border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-stars { color: #FBBF24; font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: .92rem; color: var(--dark); font-style: italic; margin-bottom: 24px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.author-name { font-weight: 600; color: var(--dark); font-size: .9rem; }
.author-role { font-size: .78rem; color: var(--gray); }
.testimonial-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(0,132,61,.1); color: var(--green);
  font-size: .72rem; font-weight: 600; padding: 3px 10px;
  border-radius: 100px; margin-top: 4px;
}

/* ── TEAM ───────────────────────────────────────────────── */
.team-section { background: white; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card {
  text-align: center; background: var(--off-white);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-photo { width: 100%; aspect-ratio: 1; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-info { padding: 20px; }
.team-info h4 { color: var(--dark); margin-bottom: 4px; }
.team-info .role { font-size: .82rem; color: var(--green); font-weight: 600; margin-bottom: 6px; }
.team-info p { font-size: .82rem; color: var(--gray); margin: 0; }
.team-socials { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.team-socials a {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--border); color: var(--gray); font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.team-socials a:hover { background: var(--primary); color: white; }

/* ── BLOG PREVIEW ───────────────────────────────────────── */
.blog-section { background: var(--off-white); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-thumb { aspect-ratio: 16/9; overflow: hidden; }
.blog-thumb-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
  background: linear-gradient(135deg, var(--primary) 0%, var(--green) 100%);
}
.blog-card:hover .blog-thumb-img { transform: scale(1.05); }
.blog-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.blog-body { padding: 24px; }
.blog-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.blog-tag {
  background: rgba(0,132,61,.1); color: var(--green);
  font-size: .72rem; font-weight: 600; padding: 3px 10px;
  border-radius: 100px; text-decoration: none;
}
a.blog-tag:hover { background: rgba(0,132,61,.2); }
.blog-date { font-size: .78rem; color: var(--gray); }
.blog-card h3 { font-size: 1rem; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: .85rem; margin-bottom: 16px; }
.blog-link { color: var(--primary); font-size: .85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.blog-link:hover { color: var(--green); }

/* ── CTA BANNER ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #7EC8C9 100%);
  padding: 80px 0;
}
.cta-banner h2 { color: white; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--primary-dark); color: rgba(255,255,255,.8); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-brand .nav-logo { color: white; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; color: rgba(255,255,255,.6); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--green); color: white; }
.footer-col h4 { color: white; margin-bottom: 18px; font-size: .95rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--green-light); }
.flnk { background: none; border: none; padding: 0; cursor: pointer; font-family: var(--font); font-size: .88rem; color: rgba(255,255,255,.6); transition: var(--transition); text-align: left; }
.flnk:hover { color: var(--green-light); }
.footer-bottom .flnk { font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom .flnk:hover { color: var(--green-light); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-contact-item i { color: var(--green-light); margin-top: 2px; }
.footer-bottom {
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--green-light); }

/* ── PLAN DU SITE ───────────────────────────────────────── */
.sitemap-section { margin-bottom: 56px; }
.sitemap-heading { font-size: 1.3rem; color: var(--dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--light); display: flex; align-items: center; gap: 10px; }
.sitemap-heading i { color: var(--primary); font-size: 1rem; }
.sitemap-count { font-size: .8rem; font-weight: 400; color: var(--gray); }
.sitemap-cat-block { margin-bottom: 28px; }
.sitemap-cat-title { font-size: 1rem; color: var(--primary); margin-bottom: 12px; font-weight: 600; }
.sitemap-list { display: flex; flex-direction: column; gap: 10px; }
.sitemap-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 14px; border-radius: 8px; background: var(--off-white); transition: var(--transition); }
.sitemap-list li:hover { background: var(--light); }
.sitemap-list a { color: var(--dark); font-size: .93rem; font-weight: 500; flex: 1; }
.sitemap-list a:hover { color: var(--primary); }
.sitemap-date { font-size: .78rem; color: var(--gray); white-space: nowrap; }

/* ── PAGES LÉGALES ──────────────────────────────────────── */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-block { margin-bottom: 48px; }
.legal-block h2 { font-size: 1.25rem; color: var(--dark); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--light); }
.legal-block p { color: var(--gray); line-height: 1.8; margin-bottom: 12px; }
.legal-block ul { list-style: disc; padding-left: 24px; color: var(--gray); line-height: 1.8; }
.legal-block ul li { margin-bottom: 6px; }
.legal-block a { color: var(--primary); text-decoration: underline; }
.legal-block a:hover { color: var(--primary-dark); }

/* ── WHATSAPP BUTTON ────────────────────────────────────── */
.whatsapp-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,.5);
  font-size: 1.6rem; color: white;
  transition: var(--transition); animation: floatWA 3s ease-in-out infinite;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37,211,102,.6);
}
.whatsapp-tooltip {
  position: absolute; right: 70px;
  background: var(--dark); color: white;
  font-size: .8rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.whatsapp-tooltip::after {
  content: ''; position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--dark);
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; }

/* ── PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  text-align: center;
}
.page-hero h1 { color: white; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 580px; margin: 16px auto 0; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; color: rgba(255,255,255,.5); font-size: .85rem; margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--green-light); }
.breadcrumb span { color: rgba(255,255,255,.3); }

.breadcrumb-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 12px 0; }
.breadcrumb-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.breadcrumb-bar .breadcrumb { color: var(--gray); justify-content: flex-start; margin-bottom: 0; font-size: .82rem; flex: 1; min-width: 0; overflow: hidden; }
.breadcrumb-bar .breadcrumb a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb-bar .breadcrumb a:hover { color: var(--primary-dark); }
.breadcrumb-bar .breadcrumb span { color: var(--gray); opacity: .5; }
.breadcrumb-meta { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--gray); white-space: nowrap; flex-shrink: 0; }
.breadcrumb-author { display: flex; align-items: center; gap: 7px; }
.breadcrumb-author img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.breadcrumb-author span { font-weight: 600; color: var(--dark); font-size: .8rem; }
.breadcrumb-sep { opacity: .35; }
.breadcrumb-date { color: var(--gray); }

/* ── ARTICLE / BLOG DETAIL ──────────────────────────────── */
.article-body { padding: 70px 0; }
.article-content { max-width: 760px; margin: 0 auto; }
.article-content h2 { font-size: 1.5rem; color: var(--dark); margin: 36px 0 14px; }
.article-content h3 { color: var(--dark); margin: 24px 0 10px; }
.article-content p { margin-bottom: 18px; font-size: .97rem; }
.article-content ul { list-style: disc; padding-left: 24px; margin-bottom: 18px; }
.article-content ul li { margin-bottom: 8px; color: var(--gray); font-size: .97rem; }
.article-content blockquote {
  border-left: 4px solid var(--green); padding: 16px 24px;
  background: var(--off-white); margin: 24px 0; border-radius: 0 var(--radius) var(--radius) 0;
}
.article-content blockquote p { color: var(--dark); font-style: italic; margin: 0; }
.article-sidebar { position: sticky; top: 110px; }
.sidebar-card {
  background: var(--off-white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 28px; margin-bottom: 24px;
}
.sidebar-card h4 { color: var(--dark); margin-bottom: 16px; }

/* ── CONTACT PAGE ───────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info { }
.contact-info h2 { color: var(--dark); margin-bottom: 16px; }
.contact-info > p { font-size: .97rem; margin-bottom: 36px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--off-white); border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 16px;
}
.contact-card-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: linear-gradient(135deg, var(--primary), var(--green));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem;
}
.contact-card h4 { color: var(--dark); font-size: .9rem; margin-bottom: 4px; }
.contact-card p { font-size: .85rem; margin: 0; }
.contact-form-wrapper {
  background: var(--off-white); border-radius: var(--radius-lg);
  padding: 40px; border: 1px solid var(--border);
}
.contact-form-wrapper h3 { color: var(--dark); margin-bottom: 6px; }
.contact-form-wrapper > p { font-size: .9rem; margin-bottom: 28px; }

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.4); }
}
@keyframes floatWA {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form-card { max-width: 500px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 50px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .nav-burger { display: flex; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-padding { padding: 60px 0; }
  .hero { padding-top: 70px; min-height: auto; padding-bottom: 60px; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ── NAV MOBILE OPEN STATE ───────────────────────────────── */
@media (max-width: 768px) {
  .nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: white;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    gap: 4px;
  }
  .nav-links.open a {
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--dark);
    font-size: .95rem;
  }
  .nav-links.open a:hover,
  .nav-links.open a.active {
    background: var(--light);
    color: var(--primary);
  }
}

/* ── BLOG PAGE ───────────────────────────────────────────── */
.blog-layout { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }

.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 18px; border-radius: 100px; font-size: .85rem; font-weight: 600;
  border: 2px solid var(--border); background: white; color: var(--gray);
  cursor: pointer; transition: var(--transition); font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

.blog-featured {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--green));
  margin-bottom: 40px; display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg); min-height: 300px;
}
.blog-featured-img { display: flex; align-items: center; justify-content: center; font-size: 6rem; padding: 40px; }
.blog-featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body .blog-tag { background: rgba(255,255,255,.2); color: white; }
.blog-featured-body h2 { color: white; font-size: 1.4rem; margin: 12px 0 14px; line-height: 1.3; }
.blog-featured-body p { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: 20px; }
.blog-featured-body .blog-link { color: white; font-size: .9rem; font-weight: 600; }

.blog-list { display: flex; flex-direction: column; gap: 24px; }
.blog-list-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 20px;
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; transition: var(--transition); text-decoration: none;
}
.blog-list-card:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.blog-list-thumb {
  background: linear-gradient(135deg, var(--primary), var(--green));
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.blog-list-body { padding: 20px 20px 20px 0; }
.blog-list-body h3 { font-size: .97rem; color: var(--dark); margin-bottom: 6px; line-height: 1.4; }
.blog-list-body p { font-size: .82rem; margin-bottom: 10px; }

.blog-result-info {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .84rem; color: var(--gray); margin-bottom: 20px;
  padding: 10px 16px; background: white; border-radius: var(--radius); border: 1px solid var(--border);
}
.reset-btn {
  margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 6px;
  padding: 4px 10px; font-size: .78rem; color: var(--gray); cursor: pointer;
  font-family: var(--font); transition: var(--transition);
}
.reset-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.blog-empty { text-align: center; padding: 60px 24px; color: var(--gray); }
.blog-empty i { font-size: 3rem; color: var(--border); display: block; margin-bottom: 16px; }
.blog-empty p { margin-bottom: 20px; }
.blog-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.page-btn {
  min-width: 40px; height: 40px; border-radius: 8px; padding: 0 10px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border); background: white; color: var(--gray);
  font-size: .9rem; cursor: pointer; transition: var(--transition); font-family: var(--font);
}
.page-btn.active, .page-btn:hover { background: var(--primary); border-color: var(--primary); color: white; }
.page-ellipsis { color: var(--gray); padding: 0 4px; line-height: 40px; }

.sidebar-search { position: relative; margin-bottom: 8px; }
.sidebar-search input {
  width: 100%; padding: 12px 16px 12px 44px;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: .9rem; color: var(--dark);
  transition: var(--transition); background: white;
}
.sidebar-search input:focus { outline: none; border-color: var(--green); }
.sidebar-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray); }

.sidebar-cats { display: flex; flex-direction: column; gap: 8px; }
.sidebar-cat {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-radius: 8px; background: var(--off-white);
  font-size: .88rem; color: var(--dark); cursor: pointer; transition: var(--transition);
}
.sidebar-cat:hover, .sidebar-cat.active { background: var(--primary); color: white; }
.sidebar-cat span { font-size: .78rem; background: var(--border); padding: 2px 8px; border-radius: 100px; }
.sidebar-cat:hover span, .sidebar-cat.active span { background: rgba(255,255,255,.2); color: white; }

.sidebar-popular { display: flex; flex-direction: column; gap: 16px; }
.popular-item { display: flex; gap: 12px; align-items: flex-start; }
.popular-num { font-size: 1.2rem; font-weight: 800; color: var(--border); min-width: 28px; }
.popular-item h5 { font-size: .85rem; color: var(--dark); margin-bottom: 4px; line-height: 1.3; }
.popular-item h5 a { text-decoration: none; color: inherit; }
.popular-item h5 a:hover { color: var(--green); }
.popular-item p { font-size: .75rem; margin: 0; }

.newsletter-card {
  background: linear-gradient(135deg, var(--primary), var(--green));
  border-radius: var(--radius-lg); padding: 28px; color: white;
}
.newsletter-card h4 { color: white; margin-bottom: 8px; }
.newsletter-card p { color: rgba(255,255,255,.8); font-size: .85rem; margin-bottom: 16px; }
.newsletter-card input {
  width: 100%; padding: 11px 14px; border-radius: 8px;
  border: none; font-family: var(--font); font-size: .88rem; margin-bottom: 10px;
}
.newsletter-card button {
  width: 100%; padding: 11px; background: var(--orange); color: white;
  border: none; border-radius: 8px; font-family: var(--font);
  font-weight: 600; cursor: pointer; transition: var(--transition);
}
.newsletter-card button:hover { background: var(--orange-dark); }

@media (max-width: 960px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { display: none; }
}
@media (max-width: 600px) {
  .blog-list-card { grid-template-columns: 1fr; }
  .blog-list-thumb { height: 80px; }
}

/* ── ARTICLE PAGE ────────────────────────────────────────── */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; padding: 140px 0 70px; }
.article-featured-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; }
.article-featured-img:empty {
  display: block; aspect-ratio: 16/9; position: relative;
  background: linear-gradient(135deg, #2c5e48 0%, #3a785e 60%, #7EC8C9 100%);
}
.article-featured-img:empty::after {
  content: '2D Consulting';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  color: rgba(255,255,255,.25); font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800; letter-spacing: .06em; white-space: nowrap;
}
.article-featured-img img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }
.article-header { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.article-header .blog-meta { margin-bottom: 16px; }
.article-header h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--dark); margin-bottom: 16px; line-height: 1.3; }
.article-header .article-lead { font-size: 1.05rem; color: var(--gray); line-height: 1.8; }
.article-meta-bar {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 16px 20px; background: var(--off-white);
  border-radius: var(--radius); margin-top: 24px;
}
.meta-author { display: flex; align-items: center; gap: 10px; }
.meta-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.meta-author-name { font-weight: 600; font-size: .88rem; color: var(--dark); }
.meta-author-role { font-size: .75rem; color: var(--gray); }
.meta-divider { color: var(--border); }
.meta-info { font-size: .82rem; color: var(--gray); display: flex; align-items: center; gap: 6px; }
.meta-info i { color: var(--green); }

.article-content h2 { font-size: 1.4rem; color: var(--dark); margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.article-content h3 { font-size: 1.1rem; color: var(--primary); margin: 24px 0 10px; }
.article-content p { margin-bottom: 18px; font-size: .96rem; color: var(--gray); line-height: 1.9; }
.article-content ul { list-style: none; padding: 0; margin-bottom: 20px; }
.article-content ul li { padding: 8px 0 8px 28px; position: relative; font-size: .95rem; color: var(--gray); border-bottom: 1px solid var(--off-white); }
.article-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.article-content blockquote { border-left: 4px solid var(--green); padding: 20px 24px; background: rgba(0,132,61,.06); margin: 28px 0; border-radius: 0 var(--radius) var(--radius) 0; }
.article-content blockquote p { color: var(--dark); font-style: italic; font-size: 1.05rem; margin: 0; font-weight: 500; }

/* ── ARTICLE SIDEBAR — sticky ────────────────────────────── */
.article-sidebar { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: thin; }
.article-sidebar::-webkit-scrollbar { width: 4px; }
.article-sidebar::-webkit-scrollbar-track { background: transparent; }
.article-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ── TOC active state ────────────────────────────────────── */
.toc ol li a.active { color: var(--primary); font-weight: 600; }
.toc ol li a.active::before { content: '→ '; }

/* ── BOÎTES INFO / ALERTE ────────────────────────────────── */
.info-box { background: rgba(30,58,95,.06); border: 1px solid rgba(30,58,95,.15); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.info-box h4 { color: var(--primary); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.info-box p { font-size: .88rem; margin: 0; }
.warning-box { background: rgba(234,179,8,.08); border: 1px solid rgba(234,179,8,.3); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.warning-box h4 { color: #92400e; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.warning-box p { font-size: .88rem; margin: 0; color: #78350f; }

/* ── ERREUR CARDS (article 7-erreurs) ────────────────────── */
.erreur-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin: 20px 0; border-left: 4px solid var(--primary); }
.erreur-card h3 { display: flex; align-items: center; gap: 12px; color: var(--dark); margin-bottom: 10px; font-size: 1.05rem; }
.erreur-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; min-width: 28px; background: var(--primary); color: white; border-radius: 50%; font-size: .8rem; font-weight: 700; }
.solution { margin-top: 14px; padding: 10px 14px; background: rgba(58,120,94,.08); border-radius: 8px; color: var(--primary); font-size: .87rem; font-weight: 500; }

/* ── BANK CARDS (article compte bancaire) ────────────────── */
.bank-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin: 20px 0; }
.bank-card h3 { color: var(--dark); margin-bottom: 6px; font-size: 1.05rem; }
.rating { color: #FBBF24; font-size: .85rem; font-weight: 600; margin-bottom: 12px; }
.bank-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.bank-pros, .bank-cons { list-style: none; font-size: .85rem; }
.bank-pros li::before { content: '✓ '; color: var(--primary); font-weight: 700; }
.bank-cons li::before { content: '✗ '; color: #ef4444; font-weight: 700; }
.bank-pros li, .bank-cons li { padding: 3px 0; color: var(--gray); }
@media (max-width: 600px) {
  .bank-pros-cons { grid-template-columns: 1fr; }
}

.comparatif-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .9rem; }
.comparatif-table th { background: var(--primary); color: white; padding: 12px 16px; text-align: left; }
.comparatif-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--gray); }
.comparatif-table tr:nth-child(even) td { background: var(--off-white); }
.comparatif-table .win { color: var(--green); font-weight: 700; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.article-tag { background: var(--off-white); border: 1px solid var(--border); color: var(--gray); font-size: .8rem; padding: 5px 14px; border-radius: 100px; }

/* ── Bouton Favori ───────────────────────────────────────── */
.bookmark-btn { display: inline-flex; align-items: center; gap: 5px; background: none; border: 1px solid var(--border); border-radius: 100px; padding: 3px 12px; cursor: pointer; font-size: .78rem; color: var(--gray); font-family: inherit; font-weight: 500; position: relative; transition: var(--transition); white-space: nowrap; margin-left: 6px; }
.bookmark-btn:hover { border-color: #f5a623; color: #f5a623; }
.bookmark-btn.is-saved { border-color: #f5a623; color: #f5a623; background: rgba(245,166,35,.07); }
.bookmark-btn .fa-star { font-size: .8rem; transition: var(--transition); }
.bookmark-btn.is-saved .fa-star { color: #f5a623; }
.bmk-tip { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); background: var(--dark); color: #fff; font-size: .88rem; line-height: 1.5; padding: 12px 18px; border-radius: 10px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .25s; z-index: 20; font-weight: 500; letter-spacing: .01em; }
.bmk-tip.visible { opacity: 1; }
.bmk-tip::before { content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-bottom-color: var(--dark); }
@media (max-width: 600px) { .bmk-tip { white-space: normal; width: 260px; left: auto; right: 0; transform: none; font-size: .84rem; } .bmk-tip::before { left: auto; right: 16px; transform: none; } }

.article-share { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.article-share span { font-size: .88rem; font-weight: 600; color: var(--dark); }
.share-btn { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .9rem; color: white; transition: var(--transition); }
.share-btn.facebook { background: #1877F2; }
.share-btn.twitter  { background: #1DA1F2; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.whatsapp { background: #25D366; }
.share-btn:hover { opacity: .85; transform: translateY(-2px); }

.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 16px; }

.sidebar-cta { background: linear-gradient(135deg, var(--primary), var(--green)); border-radius: var(--radius-lg); padding: 28px; color: white; text-align: center; }
.sidebar-cta h4 { color: white; margin-bottom: 10px; }
.sidebar-cta p { color: rgba(255,255,255,.8); font-size: .85rem; margin-bottom: 20px; }

.toc h4 { color: var(--dark); margin-bottom: 14px; }
.toc ol { list-style: none; padding: 0; counter-reset: toc; }
.toc ol li { counter-increment: toc; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .85rem; }
.toc ol li::before { content: counter(toc) ". "; color: var(--green); font-weight: 700; }
.toc ol li a { color: var(--gray); transition: var(--transition); }
.toc ol li a:hover { color: var(--green); }

@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; padding-top: 110px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .article-sidebar { position: static; max-height: none; overflow-y: visible; }
}
@media (max-width: 600px) {
  .related-grid { grid-template-columns: 1fr; }
  .breadcrumb-bar-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .breadcrumb-meta { font-size: .75rem; }
  .article-meta-bar { gap: 12px; padding: 14px 16px; font-size: .82rem; }
  .meta-divider { display: none; }
  .article-layout { padding-top: 100px; padding-bottom: 40px; }
}

/* ── PERFORMANCE — CLS / LCP / Render-blocking ─────────────
   Règles de prévention du layout shift et d'accélération LCP.  */

/* Réserve la hauteur exacte du header avant injection JS.
   Évite le CLS (saut de mise en page) au chargement. */
#site-header { min-height: 73px; }

/* Fallback font système proche de Poppins — réduit le CLS
   causé par le swap de police (font-display: swap). */
:root {
  --font: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* Dimensions fixes images auteur — prévient reflow */
.article-meta-bar img { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.breadcrumb-author img { flex-shrink: 0; }

/* Aspect-ratio LCP image couverture article */
.article-featured-img img { aspect-ratio: 1200 / 630; width: 100%; height: auto; }

/* content-visibility : rendu différé des zones hors viewport.
   contain-intrinsic-size évite le scroll-jump en donnant
   une hauteur estimée avant le calcul réel. */
.section-padding + .section-padding { content-visibility: auto; contain-intrinsic-size: 0 500px; }

/* Optimise le paint des cartes blog et sidebar */
.blog-card { contain: layout style; }
.sidebar-card { contain: layout style; }

/* Évite les reflows forcés sur les transitions hover */
.btn, .blog-card, .nav-links a { will-change: transform; }

/* Images de contenu article — lazy par défaut */
.article-content img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); loading: lazy; }
