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

/* Variables CSS - Design moderne 2024/2025 */
:root {
  /* Couleurs principales - Thème sombre moderne */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-card: #161616;
  --bg-hover: #202020;
  
  /* Couleurs d'accent vibrantes */
  --accent-primary: #00dc82;
  --accent-secondary: #00f5ff;
  --accent-tertiary: #ff006e;
  --accent-gradient: linear-gradient(135deg, #00dc82 0%, #00f5ff 50%, #ff006e 100%);
  --accent-gradient-hover: linear-gradient(135deg, #00f5ff 0%, #ff006e 50%, #00dc82 100%);
  
  /* Textes */
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  
  /* Bordures et effets */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --glow: 0 0 40px rgba(0, 220, 130, 0.5);
  --glow-intense: 0 0 60px rgba(0, 245, 255, 0.6);
  
  /* Ombres modernes */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(0, 220, 130, 0.3);
}

/* Reset et base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Fond animé */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 220, 130, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Header moderne */
header {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

nav .logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
  z-index: 101;
}

nav .logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Menu de navigation par défaut */
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

nav ul li a:hover {
  color: var(--text-primary);
  background: rgba(0, 220, 130, 0.1);
}

/* Menu hamburger en pur CSS */
/* Checkbox caché qui contrôle le menu */
.menu-checkbox {
  display: none;
}

/* Style du bouton hamburger */
.menu-toggle-label {
  display: none;
  width: 30px;
  height: 25px;
  cursor: pointer;
  position: relative;
  z-index: 10001;
}

/* Les 3 barres du hamburger */
.menu-toggle-label span {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--accent-primary);
  margin-bottom: 5px;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
}

.menu-toggle-label span:last-child {
  margin-bottom: 0;
}

/* Animation du hamburger quand le menu est ouvert */
.menu-checkbox:checked ~ header nav .menu-toggle-label span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-checkbox:checked ~ header nav .menu-toggle-label span:nth-child(2) {
  opacity: 0;
}

.menu-checkbox:checked ~ header nav .menu-toggle-label span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation mobile */
@media (max-width: 767px) {
  /* Afficher le bouton hamburger */
  .menu-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  nav ul#navMenu {
    list-style: none;
    display: flex !important;
    gap: 0.5rem;
    align-items: center;
    position: fixed !important;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #111111;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 99999;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    margin: 0;
  }
  
  /* Quand la checkbox est cochée, afficher le menu */
  .menu-checkbox:checked ~ header nav ul#navMenu {
    right: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99999 !important;
  }
  
  nav ul li {
    width: 100%;
    text-align: center;
    margin: 0.5rem 0;
  }
  
  nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
  }
  
  nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
  }
  
  nav ul li a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
  }
  
  nav ul li a:hover::before {
    opacity: 0.1;
  }
  
  nav ul li a.active {
    background: rgba(0, 220, 130, 0.1);
    color: var(--accent-primary);
  }
}

/* Overlay pour mobile */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9998;
  cursor: pointer;
}

/* Afficher l'overlay quand le menu est ouvert */
.menu-checkbox:checked ~ .nav-overlay {
  opacity: 1;
  visibility: visible;
}

/* Desktop navigation (768px et plus) */
@media (min-width: 768px) {
  /* Cacher le hamburger sur desktop */
  .menu-toggle-label {
    display: none !important;
  }
  
  .nav-overlay {
    display: none !important;
  }
  
  nav ul#navMenu {
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    flex-direction: row !important;
    padding: 0 !important;
    box-shadow: none !important;
    gap: 1rem !important;
    right: auto !important;
    top: auto !important;
    margin: 0 !important;
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  nav ul li {
    width: auto !important;
    margin: 0 !important;
    text-align: left !important;
  }
  
  nav ul li a {
    font-size: 0.95rem !important;
    padding: 0.5rem 1rem !important;
    width: auto !important;
    display: inline-block !important;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
  }
  
  nav ul li a:hover {
    transform: translateY(-2px);
    color: var(--text-primary);
  }
  
  nav ul li a:hover::before {
    opacity: 0.1;
  }
  
  nav ul li a.active {
    background: rgba(0, 220, 130, 0.1);
    color: var(--accent-primary);
  }
}

/* Hero section moderne */
/*
.hero {
  background: var(--bg-secondary);
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}
*/

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--accent-gradient);
  opacity: 0.05;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0 auto 2rem;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero ul {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 600px;
  text-align: left;
  list-style: none;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.hero ul li {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  padding-left: 2rem;
  position: relative;
}

.hero ul li:last-child {
  margin-bottom: 0;
}

.hero ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Bouton moderne */
.btn {
  display: inline-block;
  background: var(--accent-gradient);
  color: var(--bg-primary);
  padding: 1rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow);
}

.btn:hover::before {
  left: 100%;
}

/* Sections générales */
.features, .faq, .articles-list, .contact {
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.features::before,
.faq::before,
.articles-list::before,
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-gradient);
  opacity: 0.5;
}

h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Articles grid moderne */
/*
.articles-preview {
  margin: 3rem 1.5rem;
}
*/

.articles-preview h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.articles-grid article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.articles-grid article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.articles-grid article::after {
  content: '→';
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--accent-primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.articles-grid article:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.articles-grid article:hover::before {
  opacity: 0.05;
}

.articles-grid article:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.articles-grid article > * {
  position: relative;
  z-index: 1;
}

/* Styles pour les liens d'articles */
.articles-grid article h3 {
  margin: 0 0 1rem 0;
  flex-shrink: 0;
}

.articles-grid article h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Rendre tout le bloc cliquable */
.articles-grid article a.article-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  text-indent: -9999px;
}

.articles-grid article:hover h3 a {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.articles-grid article p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1rem 0;
  flex-grow: 1;
}

/* Métadonnées des articles sur la page d'accueil */
.articles-grid .article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color);
}

.articles-grid .article-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* FAQ moderne */
.faq > div > div {
  background: var(--bg-hover);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.faq > div > div:hover {
  border-color: var(--border-hover);
  transform: translateX(5px);
}

.faq h3 {
  color: var(--accent-primary);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Footer moderne */
/*
footer {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  text-align: center;
  padding: 3rem 1.5rem;
  margin-top: 5rem;
  border-top: 1px solid var(--border-color);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-gradient);
  opacity: 0.3;
}
*/

/* Article content moderne */
article {
  padding: 0 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

article h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

article h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  position: relative;
  padding-left: 1rem;
}

article h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 2px;
}

article p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

article ul, article ol {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

article li {
  margin-bottom: 0.5rem;
}

/* Table des matières moderne */
.table-of-contents {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  position: relative;
}

.table-of-contents::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0.02;
  border-radius: 16px;
}

.table-of-contents h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.table-of-contents ol {
  padding-left: 1.5rem;
  list-style: none;
  counter-reset: toc-counter;
}

.table-of-contents li {
  margin-bottom: 0.75rem;
  counter-increment: toc-counter;
  position: relative;
  padding-left: 2rem;
}

.table-of-contents li::before {
  content: counter(toc-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.table-of-contents a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.table-of-contents a:hover {
  color: var(--accent-primary);
  padding-left: 0.5rem;
}

/* Highlight box moderne */
.highlight-box {
  background: linear-gradient(135deg, rgba(0, 220, 130, 0.1) 0%, rgba(0, 245, 255, 0.1) 100%);
  border: 1px solid rgba(0, 220, 130, 0.3);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '✨';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  opacity: 0.5;
}

/* Stats grid moderne */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--accent-gradient);
  opacity: 0.05;
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.stat-card:hover::before {
  opacity: 0.1;
}

.stat-card h4 {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  position: relative;
  z-index: 1;
}

.stat-card p {
  margin: 0.5rem 0 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

/* Pricing cards moderne */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.price-card.featured {
  border-color: var(--accent-primary);
  background: linear-gradient(135deg, rgba(0, 220, 130, 0.05) 0%, rgba(0, 245, 255, 0.05) 100%);
}

.price-card.featured::before {
  content: 'POPULAIRE';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: var(--bg-primary);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.price-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  margin-top: 0;
}

.price-card .price {
  font-size: 3rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.price-card .price span {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Comparison table moderne */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: var(--bg-hover);
  color: var(--accent-primary);
  font-weight: 600;
}

.comparison-table tr:hover {
  background: var(--bg-hover);
}

.comparison-table td:first-child {
  font-weight: 500;
  color: var(--text-primary);
}

/* Formulaire contact mobile */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input, .contact textarea {
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--bg-secondary);
  font-family: inherit;
}

/* Breadcrumb mobile */
/*
.breadcrumb {
  padding: 0 1rem;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  overflow-x: auto;
  white-space: nowrap;
}
*/

/* Share buttons mobile */
.share-btn {
  display: block;
  padding: 0.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 0.75rem;
  text-align: center;
  color: white;
}

/* Testimonials mobile */
/*
.testimonials {
  margin: 2rem 1rem;
}
*/

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.testimonial-card {
  background: var(--bg-main);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

/* ============================= */
/* MEDIA QUERIES POUR TABLETTES */
/* ============================= */

@media (min-width: 768px) {
  /* Navigation tablette */
  nav {
    padding: 0 2rem;
  }
  
  nav .logo {
    font-size: 1.75rem;
  }
  
  nav ul {
    gap: 1.5rem;
  }
  
  nav ul li a {
    font-size: 1rem;
  }
  
  /* Hero tablette */
  .hero {
    padding: 3rem 2rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
    max-width: 600px;
  }
  
  .hero ul {
    max-width: 600px;
    padding: 2rem;
  }
  
  /* Sections tablette */
  .features, .faq, .articles-list, .contact {
    margin: 3rem auto;
    max-width: 700px;
    padding: 2rem;
  }
  
  /* Articles grid tablette */
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* Stats grid tablette */
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Pricing cards tablette */
  .pricing-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  /* Testimonials tablette */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* ============================= */
/* MEDIA QUERIES POUR DESKTOP */
/* ============================= */

@media (min-width: 1024px) {
  /* Header desktop SANS sticky */
  header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
  }
  
  /* Navigation desktop */
  nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
  }
  
  nav .logo {
    font-size: 2rem;
    transition: transform 0.2s ease;
  }
  
  nav .logo:hover {
    transform: scale(1.05);
  }
  
  nav ul {
    gap: 2.5rem;
  }
  
  nav ul li a {
    transition: color 0.3s ease;
  }
  
  nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
  }
  
  nav ul li a:hover {
    color: var(--primary);
  }
  
  nav ul li a:hover::after {
    width: 100%;
  }
  
  /* Hero desktop */
  .hero {
    padding: 5rem 2rem 4rem;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
  }
  
  @keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(180deg); }
  }
  
  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
  }
  
  .hero p {
    font-size: 1.25rem;
    max-width: 800px;
  }
  
  .hero ul {
    max-width: 700px;
    padding: 2rem 3rem;
    border-radius: 20px;
  }
  
  /* Bouton desktop avec effet */
  .btn {
    position: relative;
    overflow: hidden;
  }
  
  .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.3s ease;
  }
  
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
  }
  
  .btn:hover::before {
    left: 100%;
  }
  
  /* Sections desktop */
  .features, .faq {
    max-width: 1000px;
    padding: 3rem;
    margin: 4rem auto;
  }
  
  .articles-list, .contact {
    max-width: 900px;
    padding: 3rem;
  }
  
  /* Articles preview desktop */
  .articles-preview {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
  }
  
  .articles-preview h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .articles-grid article {
    transition: all 0.3s ease;
  }
  
  .articles-grid article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
  }
  
  /* Article content desktop */
  article {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  article h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
  }
  
  article h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
  }
  
  article p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }
  
  /* Table des matières desktop */
  .table-of-contents {
    padding: 2rem;
    margin: 2rem 0 3rem 0;
  }
  
  /* Testimonials desktop */
  .testimonials {
    max-width: 1200px;
    margin: 5rem auto;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
  }
  
  /* Animations desktop */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .hero h1, .hero p, .hero ul, .btn {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
  }
  
  .hero p { animation-delay: 0.2s; }
  .hero ul { animation-delay: 0.4s; }
  .btn { animation-delay: 0.6s; }
  
  /* Hover effects desktop */
  .features:hover::before {
    opacity: 0.3;
  }
  
  .stat-card:hover {
    transform: translateY(-5px);
  }
  
  .price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
  }
}

/* ============================= */
/* UTILITAIRES ET COMPOSANTS */
/* ============================= */

/* Focus pour accessibilité */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Star rating */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

/* Scrollbar personnalisée (desktop uniquement) */
@media (min-width: 1024px) {
  ::-webkit-scrollbar {
    width: 12px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--bg-secondary);
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
  }
}

/* Animation au scroll */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: slideInUp 0.6s ease-out;
} 

/* Formulaire contact moderne */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact input, .contact textarea {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--bg-hover);
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact input:focus, .contact textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 220, 130, 0.1);
}

.contact input::placeholder, .contact textarea::placeholder {
  color: var(--text-muted);
}

/* Breadcrumb moderne */
/*
.breadcrumb {
  padding: 0 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--accent-primary);
}

.breadcrumb span {
  color: var(--text-muted);
}
*/

/* Share buttons moderne */
.share-buttons {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
}

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

.share-btn.facebook { border-color: #1877f2; }
.share-btn.facebook:hover { background: #1877f2; color: white; }

.share-btn.twitter { border-color: #1da1f2; }
.share-btn.twitter:hover { background: #1da1f2; color: white; }

.share-btn.linkedin { border-color: #0077b5; }
.share-btn.linkedin:hover { background: #0077b5; color: white; }

/* Testimonials moderne */
.testimonials {
  margin: 3rem 1.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 3rem;
  color: var(--accent-primary);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.testimonial-card p {
  position: relative;
  z-index: 1;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--text-primary);
}

/* Star rating moderne */
.star-rating {
  color: #ffd700;
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Appliquer les animations - Désactivé car déjà appliqué dans le media query desktop
.hero h1, .hero p, .hero ul, .btn {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
}

.hero p { animation-delay: 0.2s; }
.hero ul { animation-delay: 0.4s; }
.btn { animation-delay: 0.6s; }
*/

/* Focus states pour accessibilité */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

/* ============================= */
/* MEDIA QUERIES POUR TABLETTES */
/* ============================= */

@media (min-width: 768px) {
  /* Navigation tablette */
  nav {
    padding: 0 2rem;
  }
  
  nav .logo {
    font-size: 2rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  nav ul li a {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
  }
  
  /* Hero tablette */
  .hero {
    padding: 5rem 2rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.2rem;
    max-width: 700px;
  }
  
  .hero ul {
    max-width: 700px;
    padding: 2.5rem;
  }
  
  /* Sections tablette */
  .features, .faq, .articles-list, .contact {
    margin: 4rem auto;
    max-width: 800px;
    padding: 3rem;
  }
  
  /* Articles grid tablette */
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Stats grid tablette */
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  /* Pricing cards tablette */
  .pricing-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  /* Testimonials tablette */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Share buttons tablette */
  .share-buttons {
    justify-content: center;
  }
}

/* ============================= */
/* MEDIA QUERIES POUR DESKTOP */
/* ============================= */

@media (min-width: 1024px) {
  /* Header desktop SANS sticky */
  header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
  }
  
  nav {
    padding: 0 3rem;
    max-width: 1400px;
  }
  
  nav .logo {
    font-size: 2.2rem;
  }
  
  nav ul {
    gap: 1.5rem;
  }
  
  nav ul li a {
    font-size: 1.05rem;
    padding: 0.75rem 1.75rem;
  }
  
  /* Hero desktop */
  .hero {
    padding: 6rem 3rem;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
  
  .hero p {
    font-size: 1.3rem;
    max-width: 800px;
  }
  
  .hero ul {
    max-width: 800px;
    padding: 3rem;
  }
  
  /* Bouton hover effet desktop */
  .btn {
    position: relative;
    overflow: hidden;
  }
  
  .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }
  
  .btn:hover::after {
    width: 300px;
    height: 300px;
  }
  
  /* Sections desktop */
  .features, .faq {
    margin: 5rem auto;
    max-width: 1000px;
    padding: 4rem;
  }
  
  .articles-list, .contact {
    margin: 5rem auto;
    max-width: 1000px;
    padding: 4rem;
  }
  
  .articles-preview {
    margin: 5rem auto;
    max-width: 1200px;
  }
  
  /* Articles grid desktop */
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  /* Article content desktop */
  article {
    padding: 0 2rem;
    max-width: 1000px;
  }
  
  article h1 {
    font-size: 3.5rem;
  }
  
  article h2 {
    font-size: 2.2rem;
  }
  
  article p {
    font-size: 1.1rem;
    line-height: 1.9;
  }
  
  /* Table des matières desktop */
  .table-of-contents {
    padding: 2.5rem;
  }
  
  /* Testimonials desktop */
  .testimonials {
    margin: 5rem auto;
    max-width: 1200px;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  /* Effets hover avancés desktop */
  .articles-grid article::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    border-radius: 16px;
  }
  
  .articles-grid article:hover::after {
    opacity: 0.1;
  }
  
  /* Animations au scroll */
  section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
  }
  
  section.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utilitaires */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; } 

/* Amélioration des meta-informations des articles */
.article-meta {
  display: flex;
  gap: 1.5rem;
  margin: 1rem 0 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Amélioration du footer des articles */
.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* Amélioration des listes d'étapes */
.steps-list {
  counter-reset: steps;
  list-style: none;
  padding: 0;
}

.steps-list li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
  counter-increment: steps;
}

.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent-gradient);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

/* CTA Box améliorée */
.cta-box {
  background: linear-gradient(135deg, rgba(0, 220, 130, 0.1) 0%, rgba(0, 245, 255, 0.1) 100%);
  border: 1px solid rgba(0, 220, 130, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: var(--accent-gradient);
  opacity: 0.05;
  transform: rotate(-45deg);
  animation: pulse 3s ease-in-out infinite;
}

.cta-box h3 {
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Amélioration des articles connexes */
.related-articles {
  margin-top: 2rem;
}

.related-articles ul {
  list-style: none;
  padding: 0;
}

.related-articles li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.related-articles li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

.related-articles a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-articles a:hover {
  color: var(--accent-primary);
  padding-left: 0.5rem;
} 

/* Amélioration du formulaire de recherche */
.search-form {
  position: relative;
  max-width: 600px;
  margin: 2rem auto;
}

.search-form input {
  width: 100%;
  padding: 1rem 3rem 1rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  background: var(--bg-hover);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-form input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 220, 130, 0.1);
}

.search-form button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent-gradient);
  color: var(--bg-primary);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-form button:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: var(--shadow-glow);
} 

/* Bouton primaire pour formulaires */
.btn-primary {
  display: inline-block;
  background: var(--accent-gradient);
  color: var(--bg-primary);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(0, 220, 130, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 220, 130, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 220, 130, 0.3);
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 220, 130, 0.2), 0 4px 15px rgba(0, 220, 130, 0.3);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Animation de chargement pour le bouton */
.btn-primary.loading {
  color: transparent;
  pointer-events: none;
}

.btn-primary.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid var(--bg-primary);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* Optimisations performances - Réduire les animations pour les préférences utilisateur */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Amélioration du formulaire de contact */
.contact-form {
  max-width: 600px;
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group label span {
  color: var(--accent-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

/* Style spécifique pour le select */
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300dc82' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 220, 130, 0.1);
}

.contact-info {
  background: var(--bg-hover);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  border: 1px solid var(--border-color);
}

.contact-info p {
  margin: 0.5rem 0;
}

.faq-contact {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-hover);
  border-radius: 12px;
  border: 1px solid var(--accent-primary);
}

/* Amélioration de l'accessibilité - Focus visible */
*:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Skip link pour l'accessibilité */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-primary);
  color: var(--bg-primary);
  padding: 8px;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Amélioration du contraste pour l'accessibilité */
.text-muted {
  color: #a0a0a0; /* Meilleur contraste que var(--text-muted) */
}

/* Lazy loading des images */
img[loading="lazy"] {
  background: var(--bg-hover);
  min-height: 100px;
}

/* Print styles pour SEO */
@media print {
  nav, .menu-toggle-label, .nav-overlay, footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
  
  a[href^="http"]:after {
    content: " (" attr(href) ")";
  }
} 

/* Breadcrumb moderne amélioré */
.breadcrumb {
  max-width: 1200px;
  margin: 1rem auto 2rem auto;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  background: var(--bg-hover);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.breadcrumb a:hover {
  color: var(--accent-primary);
  background: rgba(0, 220, 130, 0.1);
}

.breadcrumb .current {
  color: var(--text-primary);
  font-weight: 500;
}

.breadcrumb .separator {
  color: var(--text-muted);
  font-size: 1.2em;
  user-select: none;
}

/* Responsive breadcrumb */
@media (max-width: 768px) {
  .breadcrumb {
    padding: 0.75rem 1rem;
    margin: 0.75rem 1rem 1.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .breadcrumb ol {
    gap: 0.25rem;
  }
  
  .breadcrumb a {
    padding: 0.2rem 0.4rem;
  }
}

/* Footer amélioré */
footer {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 3rem 1.5rem 2rem;
  margin-top: 5rem;
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-gradient);
  opacity: 0.5;
}

.footer-section {
  max-width: 1200px;
  margin: 0 auto 2rem auto;
}

.footer-section h3 {
  color: var(--accent-primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-section li {
  position: relative;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
  display: inline-block;
  position: relative;
}

.footer-section a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-primary);
}

.footer-section a:hover::after {
  width: 100%;
}

footer > p {
  text-align: center;
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  max-width: 1200px;
  margin: 0 auto;
}

footer > p a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer > p a:hover {
  color: var(--accent-primary);
} 

/* Desktop footer styles */
@media (min-width: 768px) {
  footer {
    padding: 4rem 2rem 2rem;
  }
  
  .footer-section ul {
    justify-content: center;
  }
} 

/* Main content container */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 768px) {
  main {
    padding: 0 1rem;
  }
}

/* Hero section - full width background */
.hero {
  position: relative;
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bg-hover);
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

.hero > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Articles preview - full width background */
.articles-preview {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  padding: 3rem 1.5rem;
  background: var(--bg-secondary);
}

.articles-preview > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ section - full width background */
.faq {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  padding: 3rem 1.5rem;
  background: var(--bg-hover);
}

.faq > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Testimonials - full width background */
.testimonials {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  padding: 3rem 1.5rem;
  background: var(--bg-secondary);
}

.testimonials > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
} 

/* Message de succès */
.success-message {
  background: linear-gradient(135deg, rgba(0, 220, 130, 0.1) 0%, rgba(0, 245, 255, 0.1) 100%);
  border: 1px solid var(--accent-primary);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  animation: slideInUp 0.5s ease;
  transition: opacity 0.3s ease;
}

.success-message p {
  margin: 0.5rem 0;
  color: var(--text-primary);
}

.success-message p:first-child {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-primary);
}

/* Message d'erreur */
.error-message {
  background: linear-gradient(135deg, rgba(255, 0, 110, 0.1) 0%, rgba(255, 0, 110, 0.05) 100%);
  border: 1px solid #ff006e;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  animation: slideInUp 0.5s ease;
}

.error-message p {
  margin: 0.5rem 0;
  color: #ff006e;
} 