/* =============================================
   OutilsIA.fr — Design premium 2026
   ============================================= */

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

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette Navy + Electric Blue + Violet */
  --navy-950: #050d1a;
  --navy-900: #0a1628;
  --navy-800: #0f2040;
  --navy-700: #152c58;
  --blue-600: #1d5bbf;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --violet-600: #7c3aed;
  --violet-500: #8b5cf6;
  --violet-400: #a78bfa;
  --violet-100: #ede9fe;
  --electric: #06b6d4;
  --white:    #ffffff;
  --off-white: #f8fafc;
  --gray-900: #0f172a;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --success: #10b981;
  --warning: #f59e0b;

  /* Gradients */
  --grad-hero:    linear-gradient(135deg, var(--navy-950) 0%, #0d1f45 40%, #1a1060 100%);
  --grad-primary: linear-gradient(135deg, var(--blue-500), var(--violet-500));
  --grad-blue:    linear-gradient(135deg, var(--navy-800), var(--blue-500));
  --grad-electric:linear-gradient(135deg, var(--blue-500), var(--electric));

  /* Effects */
  --radius:     0.875rem;
  --radius-sm:  0.5rem;
  --radius-lg:  1.25rem;
  --shadow:     0 4px 24px rgba(15,22,40,.10), 0 1px 4px rgba(15,22,40,.06);
  --shadow-md:  0 8px 32px rgba(15,22,40,.14), 0 2px 8px rgba(15,22,40,.08);
  --shadow-lg:  0 16px 56px rgba(15,22,40,.20), 0 4px 16px rgba(15,22,40,.12);
  --shadow-glow:0 0 40px rgba(37,99,235,.35);
  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--blue-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-400); }
ul { list-style: none; }

/* --- Utilitaires --- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5.5rem 0; }
.section-sm { padding: 3rem 0; }
.text-center { text-align: center; }
.badge {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}
.badge-violet {
  background: var(--violet-100);
  color: var(--violet-600);
}
.badge-glow {
  background: rgba(37,99,235,.12);
  color: var(--blue-400);
  border: 1px solid rgba(37,99,235,.25);
}

/* --- Typographie --- */
h1,h2,h3,h4 { line-height: 1.18; font-weight: 800; color: var(--gray-900); letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--gray-700); }

.lead {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 1rem auto 0;
  line-height: 1.75;
}

/* --- Boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .78rem 1.85rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: .01em;
}

/* Shine effect on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-20deg);
  transition: left .45s ease;
}
.btn:hover::after { left: 140%; }

.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(139,92,246,.35);
}
.btn-primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139,92,246,.50);
}
.btn-outline {
  background: transparent;
  border-color: var(--blue-400);
  color: var(--blue-400);
}
.btn-outline:hover {
  background: var(--blue-400);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--blue-600);
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.btn-white:hover {
  background: var(--blue-50);
  color: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.16);
}
.btn-ghost {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.25);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-gradient {
  background: var(--grad-electric);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(6,182,212,.30);
}
.btn-gradient:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(6,182,212,.45);
}

/* =============================================
   NAVIGATION — glassmorphism sticky
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(203,213,225,.55);
  box-shadow: 0 1px 20px rgba(15,22,40,.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--navy-800);
  letter-spacing: -.03em;
}
.nav-logo span { color: var(--blue-500); }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--gray-700);
  font-weight: 600;
  font-size: .92rem;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--grad-primary);
  border-radius: 1px;
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--gray-900); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--blue-500); }

.nav-cta .btn { padding: .52rem 1.25rem; font-size: .88rem; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; background: none; border: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: all var(--transition); }

/* =============================================
   HERO — animated gradient premium
   ============================================= */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-20px) scale(1.05); }
}

.hero {
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  color: var(--white);
  padding: 6.5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -8%;
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(139,92,246,.18) 0%, transparent 68%);
  border-radius: 50%;
  animation: floatOrb 10s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -25%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,.12) 0%, transparent 65%);
  border-radius: 50%;
  animation: floatOrb 14s ease-in-out infinite reverse;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content .badge {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.22);
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.35rem;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.hero-content p  { color: rgba(255,255,255,.80); font-size: 1.1rem; margin-bottom: 2.25rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 900; color: var(--white); line-height: 1; }
.hero-stat span   { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: .25rem; display: block; }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.tool-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
}
.tool-card:hover { transform: translateX(6px); background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.25); }
.tool-card .icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  border-radius: .7rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.tool-card .info strong { color: var(--white); font-size: .95rem; display: block; font-weight: 700; }
.tool-card .info span  { color: rgba(255,255,255,.6); font-size: .8rem; }
.tool-card .score {
  margin-left: auto;
  background: var(--grad-primary);
  color: var(--white);
  font-weight: 800;
  font-size: .82rem;
  padding: .25rem .7rem;
  border-radius: 2rem;
}

/* =============================================
   FEATURES / SERVICES
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--blue-50), var(--violet-100));
  border-radius: .875rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.35rem;
}
.feature-card h3 { margin-bottom: .6rem; font-size: 1.1rem; }
.feature-card p  { font-size: .93rem; }

/* =============================================
   ARTICLES / BLOG CARDS — premium
   ============================================= */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .28s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}

.article-thumb {
  height: 215px;
  background: var(--grad-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.article-thumb .cat-badge {
  position: absolute;
  top: .9rem; left: .9rem;
  font-size: .68rem;
  font-weight: 800;
  padding: .24rem .72rem;
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,.22);
}
/* Category-specific badge colors */
.cat-badge-comparatif { background: rgba(37,99,235,.85); color: #fff; }
.cat-badge-guide      { background: rgba(5,150,105,.85); color: #fff; }
.cat-badge-test       { background: rgba(124,58,237,.85); color: #fff; }
.cat-badge-liste      { background: rgba(245,158,11,.85); color: #fff; }
.cat-badge-usage      { background: rgba(236,72,153,.85); color: #fff; }
.cat-badge-default    { background: rgba(255,255,255,.88); color: var(--navy-800); }

.article-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.article-meta {
  display: flex;
  gap: 1rem;
  font-size: .8rem;
  color: var(--gray-400);
  margin-bottom: .8rem;
  align-items: center;
}
.article-body h3 {
  margin-bottom: .65rem;
  font-size: 1.05rem;
  line-height: 1.38;
  color: var(--gray-900);
  font-weight: 700;
}
.article-body p  { font-size: .9rem; flex: 1; line-height: 1.65; color: var(--gray-500); }
.article-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--blue-500);
  font-weight: 700;
  font-size: .88rem;
  margin-top: 1.25rem;
  transition: gap .2s ease, color .2s ease;
}
.article-link:hover { gap: .65rem; color: var(--violet-500); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulseSoft {
  0%, 100% { opacity: 1; }
  50%       { opacity: .7; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.anim-fade-up { opacity: 0; animation: fadeInUp .6s ease forwards; }
.anim-fade-up-1 { animation-delay: .1s; }
.anim-fade-up-2 { animation-delay: .2s; }
.anim-fade-up-3 { animation-delay: .3s; }
.anim-fade-up-4 { animation-delay: .4s; }
.anim-fade-up-5 { animation-delay: .5s; }
.anim-fade-up-6 { animation-delay: .6s; }

/* =============================================
   STAT BAR
   ============================================= */
.stat-bar {
  background: var(--navy-950);
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}
.stat-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,.06), transparent);
  animation: shimmer 4s linear infinite;
  background-size: 200% auto;
}
.stat-bar-inner {
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.stat-item { text-align: center; color: white; }
.stat-item strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 900;
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.stat-item span {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  margin-top: .2rem;
  display: block;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: all var(--transition);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-number {
  width: 50px; height: 50px;
  background: var(--grad-primary);
  color: white;
  font-size: 1.2rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.35rem;
  box-shadow: 0 4px 16px rgba(139,92,246,.40);
}
.step-card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.step-card p  { font-size: .92rem; }

/* Catégories colorées */
.cat-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .9rem; border-radius: 2rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.cat-pill-comparatif { background: #eff6ff; color: #1d4ed8; }
.cat-pill-guide      { background: #ecfdf5; color: #065f46; }
.cat-pill-test       { background: #f5f3ff; color: #5b21b6; }
.cat-pill-liste      { background: #fffbeb; color: #92400e; }
.cat-pill-usage      { background: #fff1f2; color: #9f1239; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradientShift 14s ease infinite;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,.2) 0%, transparent 65%);
  border-radius: 50%;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-banner p  { color: rgba(255,255,255,.78); margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* =============================================
   NEWSLETTER
   ============================================= */
.newsletter-form {
  display: flex;
  gap: .75rem;
  max-width: 500px;
  margin: 1.75rem auto 0;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: .8rem 1.2rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  background: var(--white);
}
.newsletter-form input:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(59,130,246,.12);
}
.newsletter-form input::placeholder { color: var(--gray-400); }

/* =============================================
   FOOTER — dark premium
   ============================================= */
.footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.65);
  padding: 5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,.5), rgba(37,99,235,.5), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 1.1rem; font-size: 1.3rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 300px; }
.footer h4 {
  color: var(--white);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.footer ul li { margin-bottom: .6rem; }
.footer ul a {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}
.footer ul a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .84rem;
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--white); }
.affiliation-notice {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: .6rem;
  padding: .85rem 1.1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.40);
  margin-bottom: 2.5rem;
  text-align: center;
}

/* Footer gradient text */
.footer-brand .brand-tagline {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: .9rem;
  margin-top: .75rem;
  display: block;
}

/* =============================================
   PAGE HERO (sous-pages)
   ============================================= */
.page-hero {
  background: var(--grad-hero);
  padding: 4.5rem 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,.18) 0%, transparent 65%);
  border-radius: 50%;
}
.page-hero h1 { color: var(--white); margin-bottom: .85rem; position: relative; z-index: 1; }
.page-hero p  { color: rgba(255,255,255,.78); font-size: 1.05rem; position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.35); }

/* =============================================
   PAGE BLOG — FILTRES & LAYOUT
   ============================================= */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  margin-top: 3rem;
}
.filter-tabs {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-tab {
  padding: .45rem 1.15rem;
  border-radius: 2rem;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.filter-tab:hover,
.filter-tab.active {
  border-color: var(--blue-500);
  background: var(--blue-500);
  color: var(--white);
}

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 2rem; }
.sidebar-widget {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.sidebar-widget h4 { margin-bottom: 1rem; font-size: 1rem; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  padding: .3rem .78rem;
  border-radius: 2rem;
  font-size: .82rem;
  cursor: pointer;
  transition: all var(--transition);
}
.tag:hover { background: var(--blue-500); color: var(--white); border-color: var(--blue-500); }
.tool-list { display: flex; flex-direction: column; gap: .75rem; }
.tool-list-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--gray-700);
}
.tool-list-item .emoji { font-size: 1.2rem; }

/* =============================================
   PAGE À PROPOS
   ============================================= */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}
.about-visual {
  background: var(--grad-primary);
  border-radius: 1.75rem;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  box-shadow: var(--shadow-glow);
}
.about-text .badge { margin-bottom: 1rem; }
.about-text h2 { margin-bottom: 1rem; }
.about-text p  { margin-bottom: 1rem; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.value-card {
  background: linear-gradient(135deg, var(--blue-50), var(--violet-100));
  border: 1px solid rgba(139,92,246,.15);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .icon { font-size: 1.8rem; margin-bottom: .75rem; }
.value-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.value-card p  { font-size: .9rem; }
.team-section { margin-top: 3rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 2rem; }
.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(139,92,246,.35);
}
.team-card h3 { margin-bottom: .25rem; }
.team-card .role { color: var(--violet-500); font-size: .9rem; font-weight: 600; margin-bottom: .75rem; }
.team-card p { font-size: .88rem; }

/* =============================================
   SECTION TITLES — gradient accent
   ============================================= */
.section-title {
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 48px; height: 4px;
  background: var(--grad-primary);
  border-radius: 2px;
}

/* =============================================
   RELATED ARTICLES
   ============================================= */
.related-articles {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 3rem 0;
}
.related-articles h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--navy-800);
}
.related-articles ul { display: flex; flex-direction: column; gap: .6rem; }
.related-articles li a {
  color: var(--blue-500);
  font-weight: 600;
  font-size: .95rem;
  transition: color var(--transition);
}
.related-articles li a:hover { color: var(--violet-500); }

/* =============================================
   OUTILS PAGES (M1–M5)
   ============================================= */
.tool-hero-score {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--grad-primary);
  color: white;
  padding: .5rem 1.25rem;
  border-radius: 2rem;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(139,92,246,.35);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .about-intro { grid-template-columns: 1fr; }
  .about-visual { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 4rem 0 3rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat strong { font-size: 1.5rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .articles-grid { grid-template-columns: 1fr; }
}

/* =============================================
   MOBILE MENU (JS toggle)
   ============================================= */
@media (max-width: 640px) {
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(18px);
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    z-index: 99;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
  }
}
