/* ==========================================================================
   ARCHE GROUPE - Feuille de styles DESIGN CLAIR (Light Theme)
   Design : Épuré, Lumineux, Moderne, Haut de Gamme
   Palette : Fond clair, Bleu Tech / Cyan Électrique, Indigo, Typographie soignée
   ========================================================================== */

:root {
  /* Fond & Surfaces */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-accent-light: #f0fdf4;
  --bg-brand-soft: #f0f9ff;

  /* Couleurs de marque */
  --brand-cyan: #0284c7;
  --brand-cyan-light: #38bdf8;
  --brand-cyan-dark: #0369a1;
  --brand-blue: #0284c7;
  --brand-indigo: #4f46e5;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --gradient-ai: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
  --gradient-training: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  --gradient-hero-bg: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
                      radial-gradient(circle at 90% 70%, rgba(79, 70, 229, 0.07) 0%, transparent 45%);

  /* Textes & Contrastes */
  --text-primary: #0f172a;   /* Slate 900 */
  --text-secondary: #334155; /* Slate 700 */
  --text-muted: #64748b;     /* Slate 500 */
  --text-light: #94a3b8;     /* Slate 400 */

  /* Bordures & Ombres */
  --border-subtle: #e2e8f0;
  --border-focus: #38bdf8;
  --border-card: rgba(226, 232, 240, 0.9);
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px -1px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 35px -5px rgba(2, 132, 199, 0.12), 0 8px 16px -2px rgba(15, 23, 42, 0.06);

  /* Typographies */
  --font-title: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Grille subtile d'arrière-plan clair */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.font-mono {
  font-family: var(--font-mono);
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-ai {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  color: var(--brand-cyan) !important;
}

.text-muted-custom {
  color: var(--text-muted) !important;
}

/* Navbar Claire & Épurée */
.navbar-arche {
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  padding: 0.85rem 0;
}

.navbar-arche.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  padding: 0.65rem 0;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-link-arche {
  color: var(--text-secondary) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 1rem !important;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link-arche:hover,
.nav-link-arche.active {
  color: var(--brand-cyan) !important;
}

.nav-link-arche::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link-arche:hover::after,
.nav-link-arche.active::after {
  width: 50%;
}

/* Boutons Modernes */
.btn-arche-primary {
  background: var(--gradient-brand);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-arche-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
  color: #ffffff;
}

.btn-arche-secondary {
  background: #ffffff;
  color: var(--text-primary) !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-arche-secondary:hover {
  background: var(--bg-surface-subtle);
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-arche-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-arche-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

/* Badge Statut Pill */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  background: var(--bg-brand-soft);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: var(--brand-cyan-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Hero Section Claire */
.hero-section {
  padding: 8rem 0 5rem 0;
  background: var(--gradient-hero-bg);
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

/* Image Hero avec carte flottante */
.hero-img-wrap {
  position: relative;
  z-index: 1;
}

.hero-main-img {
  border-radius: 24px;
  box-shadow: var(--shadow-lg), 0 25px 50px -12px rgba(2, 132, 199, 0.2);
  border: 5px solid #ffffff;
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-hover);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: float 4s ease-in-out infinite alternate;
}

.floating-card-1 {
  bottom: -20px;
  left: -20px;
}

.floating-card-2 {
  top: -15px;
  right: -15px;
  animation-delay: -2s;
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* Bannière Technologies */
.tech-banner {
  padding: 2.5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  background: var(--bg-brand-soft);
  border-color: var(--brand-cyan);
  color: var(--brand-cyan-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Sections communes */
.section-padding {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--brand-cyan);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Cartes Services / Expertises Claires */
.service-card-light {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card-light:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: var(--shadow-hover);
}

.service-card-light:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--bg-brand-soft);
  border: 1px solid rgba(2, 132, 199, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.service-icon-box img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.service-card-light:hover .service-icon-box {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
}

.service-card-light:hover .service-icon-box img {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}

/* Section Projets Signature / Réalisations */
.project-card-light {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.project-card-light:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(2, 132, 199, 0.4);
}

.project-img-holder {
  height: 230px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

.project-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card-light:hover .project-img-holder img {
  transform: scale(1.08);
}

.project-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-cyan-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-link-text {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand-cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition-fast);
}

.project-card-light:hover .project-link-text {
  color: var(--brand-cyan-dark);
  gap: 0.65rem;
}

/* Call to action "Votre projet ici ?" */
.project-cta-card {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.05) 0%, rgba(79, 70, 229, 0.08) 100%);
  border: 2px dashed rgba(2, 132, 199, 0.35);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all var(--transition-fast);
}

.project-cta-card:hover {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(79, 70, 229, 0.12) 100%);
  border-color: var(--brand-cyan);
  transform: translateY(-4px);
}

/* Section À Propos & Histoire */
.about-section {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-img-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #ffffff;
}

.about-img-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Chiffres Clés Clairs */
.stats-banner {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
}

.stat-number {
  font-size: clamp(2.3rem, 3.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Section Formations */
.course-card-light {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.course-card-light:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: var(--shadow-hover);
}

.course-card-header {
  padding: 1.5rem;
  background: var(--bg-surface-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.course-card-body {
  padding: 1.75rem;
  flex-grow: 1;
}

.course-card-footer {
  padding: 1.25rem 1.75rem;
  background: #fafafa;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Blog / Insights Clairs */
.blog-card-light {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.blog-card-light:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: var(--shadow-hover);
}

.blog-img-holder {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card-light:hover .blog-img-holder img {
  transform: scale(1.06);
}

.blog-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.blog-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* Contact & Formulaire Clair */
.contact-box-light {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-arche .form-label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.form-arche .form-control,
.form-arche .form-select {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-arche .form-control:focus,
.form-arche .form-select:focus {
  background-color: #ffffff;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  color: var(--text-primary);
}

.contact-info-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.contact-info-pill:hover {
  border-color: var(--brand-cyan);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.contact-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-brand-soft);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Accordéon FAQ Clair */
.accordion-arche-light .accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 12px !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-arche-light .accordion-button {
  background: #ffffff;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 1.2rem 1.4rem;
  box-shadow: none;
}

.accordion-arche-light .accordion-button:not(.collapsed) {
  background: var(--bg-brand-soft);
  color: var(--brand-cyan-dark);
}

.accordion-arche-light .accordion-body {
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 0 1.4rem 1.4rem 1.4rem;
  background: #ffffff;
}

/* Footer Clair */
.footer-arche-light {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem 0;
  color: var(--text-secondary);
}

.footer-title {
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-cyan);
  padding-left: 4px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Bouton WhatsApp Flottant Original d'Arche Groupe */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
}

.whatsapp-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-wa 2s infinite;
  text-decoration: none;
  color: white;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-btn i {
  font-size: 32px;
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Bouton Retour en Haut */
.btn-back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-fast);
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-back-to-top:hover {
  background: var(--brand-cyan);
  color: #ffffff;
  border-color: var(--brand-cyan);
  transform: translateY(-3px);
}

/* Modals Clairs */
.modal-content-arche-light {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  color: var(--text-primary);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
}

.modal-header-arche-light {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
}

.modal-footer-arche-light {
  border-top: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
  background: #fafafa;
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 6.5rem 0 3.5rem 0;
  }
  .hero-main-img {
    height: 380px;
    margin-top: 2rem;
  }
  .floating-card-1 {
    bottom: -10px;
    left: 10px;
  }
  .floating-card-2 {
    top: 10px;
    right: 10px;
  }
}

/* ==========================================================================
   STYLES SPÉCIFIQUES : BLOG, ARTICLES & ARTICLE DETAIL
   ========================================================================== */

/* Hero Blog */
.blog-hero {
  padding: 8rem 0 3.5rem 0;
  background: var(--gradient-hero-bg);
  border-bottom: 1px solid var(--border-subtle);
}

/* Category Filter Pills */
.filter-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.category-pill-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 1.15rem;
  border-radius: 50px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.category-pill-btn:hover {
  background: var(--bg-surface-subtle);
  color: var(--brand-cyan-dark);
  border-color: var(--brand-cyan);
}

.category-pill-btn.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Search Box */
.search-input-group {
  position: relative;
  max-width: 380px;
}

.search-input-group input {
  padding-left: 2.75rem;
  border-radius: 50px;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.search-input-group input:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-icon-pos {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Featured Article Card */
.featured-article-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  display: block;
}

.featured-article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(2, 132, 199, 0.4);
}

.featured-img-holder {
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.featured-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-article-card:hover .featured-img-holder img {
  transform: scale(1.05);
}

/* Article Detail Styles */
.article-header-section {
  padding: 8rem 0 3rem 0;
  background: var(--gradient-hero-bg);
  border-bottom: 1px solid var(--border-subtle);
}

.article-hero-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.article-body-content {
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.article-body-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 0.5rem;
}

.article-body-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.article-body-content h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.article-body-content p {
  margin-bottom: 1.5rem;
}

.article-body-content blockquote {
  border-left: 4px solid var(--brand-cyan);
  background: var(--bg-brand-soft);
  padding: 1.5rem 1.75rem;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin: 2rem 0;
}

.key-takeaways-box {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin: 2.5rem 0;
}

.key-takeaways-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-cyan-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* Sidebar & Sticky Table of Contents */
.toc-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.toc-card h5 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.toc-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.toc-list li {
  margin-bottom: 0.65rem;
}

.toc-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  display: block;
}

.toc-list a:hover {
  color: var(--brand-cyan);
  padding-left: 4px;
}

/* Author Box */
.author-card-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 3rem 0;
}

.author-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

/* Social Share Pills */
.share-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-secondary);
}

.share-pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.share-pill-wa:hover {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
}

.share-pill-in:hover {
  background: #0077b5;
  color: #ffffff;
  border-color: #0077b5;
}

.share-pill-x:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Newsletter Box */
.newsletter-card {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(79, 70, 229, 0.08) 100%);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 4rem;
}
