/* ==========================================
   OXANIA - Base CSS & Animations
   ========================================== */

@import url('variables.css');

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

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

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ==========================================
   MODE FOG - Thème sombre avec Vanta.js
   ========================================== */
body.fog-mode {
  background: #050510;
  color: #ffffff;
}

body.fog-mode::before,
body.fog-mode::after {
  display: none; /* Désactiver les blobs en mode fog */
}

/* Textes en mode fog */
body.fog-mode .hero-title,
body.fog-mode .section-title,
body.fog-mode h1, body.fog-mode h2, body.fog-mode h3 {
  color: #ffffff;
}

body.fog-mode .hero-description,
body.fog-mode .section-description,
body.fog-mode p {
  color: rgba(255, 255, 255, 0.8);
}

body.fog-mode .text-primary,
body.fog-mode .stat-label {
  color: #ffffff;
}

body.fog-mode .text-secondary,
body.fog-mode .text-muted {
  color: rgba(255, 255, 255, 0.7);
}

/* Cards en mode fog */
body.fog-mode .card,
body.fog-mode .glass,
body.fog-mode .stat-card {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body.fog-mode .card:hover,
body.fog-mode .stat-card:hover {
  background: rgba(30, 30, 50, 0.7);
  border-color: rgba(255, 107, 74, 0.3);
}

/* Sections en mode fog */
body.fog-mode section {
  background: transparent;
}

body.fog-mode .stats-section,
body.fog-mode .features-section,
body.fog-mode .solutions-preview {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

/* Badges en mode fog */
body.fog-mode .section-badge,
body.fog-mode .hero-badge {
  background: rgba(255, 107, 74, 0.2);
  border-color: rgba(255, 107, 74, 0.4);
  color: #FF6B4A;
}

/* Boutons en mode fog */
body.fog-mode .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

body.fog-mode .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FF6B4A;
}

body.fog-mode .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Navbar en mode fog */
body.fog-mode .navbar {
  background: rgba(5, 5, 16, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.fog-mode .navbar.scrolled {
  background: rgba(5, 5, 16, 0.95);
}

body.fog-mode .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

body.fog-mode .nav-link:hover {
  color: #FF6B4A;
}

/* Footer en mode fog */
body.fog-mode .footer {
  background: rgba(5, 5, 16, 0.9);
  border-top-color: rgba(255, 255, 255, 0.05);
}

body.fog-mode .footer-link {
  color: rgba(255, 255, 255, 0.7);
}

/* Stats gradient en mode fog */
body.fog-mode .stat-value.gradient-text {
  background: linear-gradient(135deg, #FF6B4A 0%, #9FA8DA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero stats border en mode fog */
body.fog-mode .hero-stats {
  border-top-color: rgba(255, 107, 74, 0.3);
}

/* Hero elements en mode fog */
body.fog-mode .hero-badge {
  background: rgba(255, 107, 74, 0.15);
  border-color: rgba(255, 107, 74, 0.5);
  color: #FF6B4A;
}

body.fog-mode .hero-description {
  color: rgba(255, 255, 255, 0.8);
}

body.fog-mode .hero-placeholder .placeholder-card {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

body.fog-mode .placeholder-dot {
  background: rgba(255, 255, 255, 0.3);
}

body.fog-mode .placeholder-line {
  background: rgba(255, 255, 255, 0.1);
}

body.fog-mode .placeholder-box {
  background: rgba(255, 255, 255, 0.05);
}

body.fog-mode .stat-item {
  background: rgba(20, 20, 35, 0.4);
}

/* ==========================================
   TECH STACK BLOCK - Mode fog
   ========================================== */
body.fog-mode .tech-stack-section {
  background: transparent;
}

body.fog-mode .orbit-ring {
  border-color: rgba(255, 107, 74, 0.25);
}

body.fog-mode .orbit-item {
  background: rgba(20, 20, 35, 0.8);
  border-color: rgba(255, 107, 74, 0.3);
}

body.fog-mode .tech-feature-item {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

body.fog-mode .tech-feature-item:hover {
  border-color: rgba(255, 107, 74, 0.4);
  box-shadow: 0 10px 25px rgba(255, 107, 74, 0.2);
}

body.fog-mode .feature-content h3 {
  color: #ffffff;
}

body.fog-mode .feature-content p {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   COMPARISON BLOCK - Mode fog
   ========================================== */
body.fog-mode .comparison-section {
  background: transparent;
}

body.fog-mode .comparison-card {
  background: rgba(20, 20, 35, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

body.fog-mode .comparison-card.before {
  border-color: rgba(239, 68, 68, 0.3);
}

body.fog-mode .comparison-card.after {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(20, 20, 35, 0.7) 100%);
}

body.fog-mode .comparison-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

body.fog-mode .comparison-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.fog-mode .comparison-header h3 {
  color: #ffffff;
}

body.fog-mode .comparison-list li {
  color: rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.fog-mode .comparison-stat {
  background: rgba(10, 10, 20, 0.5);
}

body.fog-mode .comparison-stat span {
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   INTEGRATION BLOCK - Mode fog
   ========================================== */
body.fog-mode .integration-section {
  background: transparent;
}

body.fog-mode .integration-brands h3,
body.fog-mode .integration-steps h3 {
  color: #ffffff;
}

body.fog-mode .brand-item {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

body.fog-mode .brand-item:hover {
  border-color: rgba(255, 107, 74, 0.4);
}

body.fog-mode .brand-name {
  color: rgba(255, 255, 255, 0.8);
}

body.fog-mode .visual-diagram {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

body.fog-mode .camera-label,
body.fog-mode .alert-label {
  color: rgba(255, 255, 255, 0.6);
}

body.fog-mode .oxania-box {
  background: rgba(30, 30, 50, 0.8);
  border-color: rgba(255, 107, 74, 0.3);
}

body.fog-mode .mini-step {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

body.fog-mode .mini-step:hover {
  border-color: rgba(255, 107, 74, 0.4);
}

body.fog-mode .step-info strong {
  color: #ffffff;
}

body.fog-mode .step-info p {
  color: rgba(255, 255, 255, 0.6);
}

body.fog-mode .integration-note {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 107, 74, 0.2);
}

body.fog-mode .integration-note p {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   FEATURES BLOCK - Mode fog
   ========================================== */
body.fog-mode .features {
  background: transparent;
}

body.fog-mode .feature-card {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

body.fog-mode .feature-card:hover {
  border-color: rgba(255, 107, 74, 0.4);
  box-shadow: 0 10px 30px rgba(255, 107, 74, 0.15);
}

body.fog-mode .feature-title {
  color: #ffffff;
}

body.fog-mode .feature-description {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   STATS BLOCK - Mode fog
   ========================================== */
body.fog-mode .stats-section {
  background: transparent;
}

body.fog-mode .stat-description {
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   TESTIMONIALS BLOCK - Mode fog
   ========================================== */
body.fog-mode .testimonials-section {
  background: transparent;
}

body.fog-mode .testimonial-card {
  background: rgba(20, 20, 35, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

body.fog-mode .testimonial-card:hover {
  box-shadow: 0 10px 30px rgba(255, 107, 74, 0.2);
}

body.fog-mode .testimonial-text {
  color: rgba(255, 255, 255, 0.85);
}

body.fog-mode .author-name {
  color: #ffffff;
}

body.fog-mode .author-role {
  color: rgba(255, 255, 255, 0.6);
}

body.fog-mode .author-avatar {
  background: linear-gradient(135deg, rgba(255, 107, 74, 0.2), rgba(123, 131, 218, 0.2));
}

/* ==========================================
   PROCESS BLOCK - Mode fog
   ========================================== */
body.fog-mode .process-section {
  background: transparent;
}

body.fog-mode .step-title {
  color: #ffffff;
}

body.fog-mode .step-description {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   FAQ BLOCK - Mode fog
   ========================================== */
body.fog-mode .faq-section {
  background: transparent;
}

body.fog-mode .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.fog-mode .faq-question {
  color: #ffffff;
}

body.fog-mode .faq-question:hover {
  color: #FF6B4A;
}

body.fog-mode .faq-answer p {
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================
   PARTNERS BLOCK - Mode fog
   ========================================== */
body.fog-mode .partners-section {
  background: transparent;
}

body.fog-mode .partner-logo {
  opacity: 0.7;
}

body.fog-mode .partner-logo:hover {
  opacity: 1;
}

body.fog-mode .logo-placeholder svg rect {
  fill: rgba(255, 255, 255, 0.1);
}

body.fog-mode .logo-placeholder svg text {
  fill: rgba(255, 255, 255, 0.7);
}

body.fog-mode .partner-logo:hover .logo-placeholder svg rect {
  fill: rgba(255, 107, 74, 0.2);
}

body.fog-mode .partner-logo:hover .logo-placeholder svg text {
  fill: #FF6B4A;
}

/* ==========================================
   ADVANTAGES BLOCK - Mode fog
   ========================================== */
body.fog-mode .advantages-section {
  background: transparent;
}

body.fog-mode .advantage-card {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

body.fog-mode .advantage-card:hover {
  border-color: rgba(255, 107, 74, 0.4);
  box-shadow: 0 10px 30px rgba(255, 107, 74, 0.15);
}

body.fog-mode .advantage-title {
  color: #ffffff;
}

body.fog-mode .comparison-item.us {
  background: rgba(76, 175, 80, 0.1);
}

body.fog-mode .comparison-item.them {
  background: rgba(158, 158, 158, 0.1);
}

body.fog-mode .comparison-item span:last-child {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   CTA BLOCK - Mode fog
   ========================================== */
body.fog-mode .cta-section,
body.fog-mode .cta {
  background: transparent;
}

body.fog-mode .cta::before {
  background: radial-gradient(circle, rgba(255, 107, 74, 0.15) 0%, transparent 70%);
}

body.fog-mode .cta-card {
  background: rgba(20, 20, 35, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

body.fog-mode .cta-card::before {
  background: radial-gradient(circle, rgba(255, 107, 74, 0.1) 0%, transparent 70%);
}

body.fog-mode .cta-title {
  color: #ffffff;
}

body.fog-mode .cta-description {
  color: rgba(255, 255, 255, 0.8);
}

body.fog-mode .cta-stat {
  background: rgba(10, 10, 20, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

body.fog-mode .cta-stat-label {
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   CONTACT FORM - Mode fog
   ========================================== */
body.fog-mode .contact-section {
  background: transparent;
}

body.fog-mode .contact-form {
  background: rgba(20, 20, 35, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

body.fog-mode .form-input,
body.fog-mode .form-textarea {
  background: rgba(10, 10, 20, 0.5);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

body.fog-mode .form-input::placeholder,
body.fog-mode .form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

body.fog-mode .form-input:focus,
body.fog-mode .form-textarea:focus {
  border-color: rgba(255, 107, 74, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.1);
}

body.fog-mode .form-label {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   SHOWCASE BLOCK - Mode fog
   ========================================== */
body.fog-mode .showcase {
  background: transparent;
}

body.fog-mode .showcase-badge {
  background: rgba(255, 107, 74, 0.2);
  border-color: rgba(255, 107, 74, 0.4);
  color: #FF6B4A;
}

body.fog-mode .showcase-title {
  color: #ffffff;
}

body.fog-mode .showcase-description {
  color: rgba(255, 255, 255, 0.7);
}

body.fog-mode .showcase-feature-item {
  color: rgba(255, 255, 255, 0.8);
}

body.fog-mode .showcase-placeholder {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================
   SOLUTIONS PREVIEW - Mode fog
   ========================================== */
body.fog-mode .solutions-preview {
  background: transparent;
}

body.fog-mode .solutions-preview .card h3 {
  color: #ffffff;
}

body.fog-mode .solutions-preview .card p {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   BLOCKS PREVIEW - Mode fog
   ========================================== */
body.fog-mode .blocks-preview-section {
  background: transparent;
}

body.fog-mode .block-card {
  background: rgba(20, 20, 35, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.fog-mode .block-card:hover {
  box-shadow: 0 15px 40px rgba(255, 107, 74, 0.2);
}

body.fog-mode .block-info h3 {
  color: #ffffff;
}

body.fog-mode .block-info p {
  color: rgba(255, 255, 255, 0.7);
}

body.fog-mode .tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

body.fog-mode .tag-active {
  background: #FF6B4A;
  color: #ffffff;
}

body.fog-mode .blocks-note {
  color: rgba(255, 255, 255, 0.6);
}

body.fog-mode .glass-content {
  background: rgba(20, 20, 35, 0.7);
  border-color: rgba(255, 107, 74, 0.3);
}

body.fog-mode .glass-content h4,
body.fog-mode .glass-content p {
  color: #ffffff;
}

body.fog-mode .particles-preview {
  background: rgba(20, 20, 35, 0.8);
}

body.fog-mode .particles-preview .preview-content h4,
body.fog-mode .particles-preview .preview-content p {
  color: #ffffff;
}

body.fog-mode .mesh-preview {
  background: rgba(20, 20, 35, 0.8);
}

body.fog-mode .mesh-preview .preview-content h4,
body.fog-mode .mesh-preview .preview-content p {
  color: #ffffff;
}

/* ==========================================
   GENERAL OVERRIDES - Mode fog
   ========================================== */
/* Glass elements override */
body.fog-mode .glass {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* All section backgrounds */
body.fog-mode .stats-section,
body.fog-mode .features-section,
body.fog-mode .solutions-preview,
body.fog-mode .tech-stack-section,
body.fog-mode .comparison-section,
body.fog-mode .integration-section {
  background: transparent;
}

/* Links color in fog mode */
body.fog-mode a:not(.btn) {
  color: #FF6B4A;
}

body.fog-mode a:not(.btn):hover {
  color: #FF8E75;
}

/* ==========================================
   MODE AURORA - Thème sombre aurore boréale
   ========================================== */
body.aurora-mode {
  background: #050510;
  color: #ffffff;
}

body.aurora-mode::before,
body.aurora-mode::after {
  display: none;
}

/* Aurora hérite des styles fog mode pour la cohérence du thème sombre */
body.aurora-mode .hero-title,
body.aurora-mode .section-title,
body.aurora-mode h1, body.aurora-mode h2, body.aurora-mode h3 {
  color: #ffffff;
}

body.aurora-mode .hero-description,
body.aurora-mode .section-description,
body.aurora-mode p {
  color: rgba(255, 255, 255, 0.8);
}

body.aurora-mode .text-primary,
body.aurora-mode .stat-label {
  color: #ffffff;
}

body.aurora-mode .text-secondary,
body.aurora-mode .text-muted {
  color: rgba(255, 255, 255, 0.7);
}

body.aurora-mode .card,
body.aurora-mode .glass,
body.aurora-mode .stat-card {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body.aurora-mode .card:hover,
body.aurora-mode .stat-card:hover {
  background: rgba(30, 30, 50, 0.7);
  border-color: rgba(255, 107, 74, 0.3);
}

body.aurora-mode section {
  background: transparent;
}

body.aurora-mode .section-badge,
body.aurora-mode .hero-badge {
  background: rgba(255, 107, 74, 0.2);
  border-color: rgba(255, 107, 74, 0.4);
  color: #FF6B4A;
}

body.aurora-mode .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

body.aurora-mode .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FF6B4A;
}

body.aurora-mode .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.aurora-mode .navbar {
  background: rgba(5, 5, 16, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.aurora-mode .navbar.scrolled {
  background: rgba(5, 5, 16, 0.95);
}

body.aurora-mode .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

body.aurora-mode .nav-link:hover {
  color: #FF6B4A;
}

body.aurora-mode .nav-logo {
  color: #ffffff;
}

body.aurora-mode .footer {
  background: rgba(5, 5, 16, 0.9);
  border-top-color: rgba(255, 255, 255, 0.05);
}

body.aurora-mode .footer-link {
  color: rgba(255, 255, 255, 0.7);
}

body.aurora-mode .stat-value.gradient-text {
  background: linear-gradient(135deg, #FF6B4A 0%, #7B83DA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.aurora-mode .hero-stats {
  border-top-color: rgba(255, 107, 74, 0.3);
}

body.aurora-mode a:not(.btn) {
  color: #FF6B4A;
}

body.aurora-mode a:not(.btn):hover {
  color: #FF8E75;
}

/* Aurora-specific: tous les blocs héritent du style sombre */
body.aurora-mode .tech-stack-section,
body.aurora-mode .comparison-section,
body.aurora-mode .integration-section,
body.aurora-mode .features,
body.aurora-mode .stats-section,
body.aurora-mode .testimonials-section,
body.aurora-mode .process-section,
body.aurora-mode .faq-section,
body.aurora-mode .partners-section,
body.aurora-mode .advantages-section,
body.aurora-mode .cta,
body.aurora-mode .showcase,
body.aurora-mode .solutions-preview,
body.aurora-mode .blocks-preview-section {
  background: transparent;
}

body.aurora-mode .comparison-card,
body.aurora-mode .tech-feature-item,
body.aurora-mode .advantage-card,
body.aurora-mode .testimonial-card,
body.aurora-mode .feature-card,
body.aurora-mode .block-card,
body.aurora-mode .mini-step,
body.aurora-mode .faq-item,
body.aurora-mode .brand-item,
body.aurora-mode .integration-note,
body.aurora-mode .cta-card {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

body.aurora-mode .comparison-card.before {
  border-color: rgba(239, 68, 68, 0.3);
}

body.aurora-mode .comparison-card.after {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(20, 20, 35, 0.6) 100%);
}

body.aurora-mode .feature-content h3,
body.aurora-mode .feature-title,
body.aurora-mode .advantage-title,
body.aurora-mode .step-title,
body.aurora-mode .author-name,
body.aurora-mode .comparison-header h3,
body.aurora-mode .block-info h3,
body.aurora-mode .integration-brands h3,
body.aurora-mode .integration-steps h3,
body.aurora-mode .faq-question,
body.aurora-mode .cta-title {
  color: #ffffff;
}

body.aurora-mode .feature-content p,
body.aurora-mode .feature-description,
body.aurora-mode .advantage-description,
body.aurora-mode .step-description,
body.aurora-mode .testimonial-text,
body.aurora-mode .author-role,
body.aurora-mode .comparison-list li,
body.aurora-mode .block-info p,
body.aurora-mode .step-info p,
body.aurora-mode .faq-answer p,
body.aurora-mode .cta-description,
body.aurora-mode .stat-description,
body.aurora-mode .brand-name {
  color: rgba(255, 255, 255, 0.7);
}

body.aurora-mode .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: transparent;
}

body.aurora-mode .tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

body.aurora-mode .logo-placeholder svg rect {
  fill: rgba(255, 255, 255, 0.1);
}

body.aurora-mode .logo-placeholder svg text {
  fill: rgba(255, 255, 255, 0.7);
}

body.aurora-mode .cta-stat {
  background: rgba(10, 10, 20, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

body.aurora-mode .cta-stat-label {
  color: rgba(255, 255, 255, 0.6);
}

body.aurora-mode .comparison-item.us {
  background: rgba(76, 175, 80, 0.1);
}

body.aurora-mode .comparison-item.them {
  background: rgba(158, 158, 158, 0.1);
}

body.aurora-mode .comparison-item span:last-child {
  color: rgba(255, 255, 255, 0.8);
}

body.aurora-mode .showcase-badge {
  background: rgba(255, 107, 74, 0.2);
  border-color: rgba(255, 107, 74, 0.4);
  color: #FF6B4A;
}

body.aurora-mode .showcase-title {
  color: #ffffff;
}

body.aurora-mode .showcase-description {
  color: rgba(255, 255, 255, 0.7);
}

body.aurora-mode .showcase-feature-item {
  color: rgba(255, 255, 255, 0.8);
}

body.aurora-mode .solutions-preview .card h3 {
  color: #ffffff;
}

body.aurora-mode .solutions-preview .card p {
  color: rgba(255, 255, 255, 0.7);
}

body.aurora-mode .footer-title {
  color: #ffffff;
}

body.aurora-mode .footer-description,
body.aurora-mode .footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

body.aurora-mode .social-link {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

body.aurora-mode .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
}

body.aurora-mode .nav-toggle span {
  background: #ffffff;
}

@media (max-width: 768px) {
  body.aurora-mode .nav-menu {
    background: rgba(5, 5, 16, 0.98);
  }

  body.aurora-mode .nav-link {
    background: rgba(20, 20, 35, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }
}


/* ==========================================
   MODE NEURAL - Thème sombre réseau IA
   ========================================== */
body.neural-mode {
  background: #050510;
  color: #ffffff;
}

body.neural-mode::before,
body.neural-mode::after {
  display: none;
}

/* Neural hérite des mêmes styles que fog/aurora pour le thème sombre */
body.neural-mode .hero-title,
body.neural-mode .section-title,
body.neural-mode h1, body.neural-mode h2, body.neural-mode h3 {
  color: #ffffff;
}

body.neural-mode .hero-description,
body.neural-mode .section-description,
body.neural-mode p {
  color: rgba(255, 255, 255, 0.8);
}

body.neural-mode .text-primary,
body.neural-mode .stat-label {
  color: #ffffff;
}

body.neural-mode .text-secondary,
body.neural-mode .text-muted {
  color: rgba(255, 255, 255, 0.7);
}

body.neural-mode .card,
body.neural-mode .glass,
body.neural-mode .stat-card {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body.neural-mode .card:hover,
body.neural-mode .stat-card:hover {
  background: rgba(30, 30, 50, 0.7);
  border-color: rgba(255, 107, 74, 0.3);
}

body.neural-mode section {
  background: transparent;
}

body.neural-mode .section-badge,
body.neural-mode .hero-badge {
  background: rgba(255, 107, 74, 0.2);
  border-color: rgba(255, 107, 74, 0.4);
  color: #FF6B4A;
}

body.neural-mode .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

body.neural-mode .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FF6B4A;
}

body.neural-mode .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.neural-mode .navbar {
  background: rgba(5, 5, 16, 0.85);
  border-bottom-color: rgba(255, 107, 74, 0.1);
}

body.neural-mode .navbar.scrolled {
  background: rgba(5, 5, 16, 0.95);
}

body.neural-mode .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

body.neural-mode .nav-link:hover {
  color: #FF6B4A;
}

body.neural-mode .nav-logo {
  color: #ffffff;
}

body.neural-mode .footer {
  background: rgba(5, 5, 16, 0.9);
  border-top-color: rgba(255, 107, 74, 0.1);
}

body.neural-mode .footer-link {
  color: rgba(255, 255, 255, 0.7);
}

body.neural-mode .stat-value.gradient-text {
  background: linear-gradient(135deg, #FF6B4A 0%, #7B83DA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.neural-mode .hero-stats {
  border-top-color: rgba(255, 107, 74, 0.3);
}

body.neural-mode a:not(.btn) {
  color: #FF6B4A;
}

body.neural-mode a:not(.btn):hover {
  color: #FF8E75;
}

/* Neural: tous les blocs avec style sombre */
body.neural-mode .tech-stack-section,
body.neural-mode .comparison-section,
body.neural-mode .integration-section,
body.neural-mode .features,
body.neural-mode .stats-section,
body.neural-mode .testimonials-section,
body.neural-mode .process-section,
body.neural-mode .faq-section,
body.neural-mode .partners-section,
body.neural-mode .advantages-section,
body.neural-mode .cta,
body.neural-mode .showcase,
body.neural-mode .solutions-preview,
body.neural-mode .blocks-preview-section {
  background: transparent;
}

body.neural-mode .comparison-card,
body.neural-mode .tech-feature-item,
body.neural-mode .advantage-card,
body.neural-mode .testimonial-card,
body.neural-mode .feature-card,
body.neural-mode .block-card,
body.neural-mode .mini-step,
body.neural-mode .faq-item,
body.neural-mode .brand-item,
body.neural-mode .integration-note,
body.neural-mode .cta-card {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

body.neural-mode .comparison-card.before {
  border-color: rgba(239, 68, 68, 0.3);
}

body.neural-mode .comparison-card.after {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(20, 20, 35, 0.6) 100%);
}

body.neural-mode .feature-content h3,
body.neural-mode .feature-title,
body.neural-mode .advantage-title,
body.neural-mode .step-title,
body.neural-mode .author-name,
body.neural-mode .comparison-header h3,
body.neural-mode .block-info h3,
body.neural-mode .integration-brands h3,
body.neural-mode .integration-steps h3,
body.neural-mode .faq-question,
body.neural-mode .cta-title {
  color: #ffffff;
}

body.neural-mode .feature-content p,
body.neural-mode .feature-description,
body.neural-mode .advantage-description,
body.neural-mode .step-description,
body.neural-mode .testimonial-text,
body.neural-mode .author-role,
body.neural-mode .comparison-list li,
body.neural-mode .block-info p,
body.neural-mode .step-info p,
body.neural-mode .faq-answer p,
body.neural-mode .cta-description,
body.neural-mode .stat-description,
body.neural-mode .brand-name {
  color: rgba(255, 255, 255, 0.7);
}

body.neural-mode .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: transparent;
}

body.neural-mode .tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

body.neural-mode .logo-placeholder svg rect {
  fill: rgba(255, 255, 255, 0.1);
}

body.neural-mode .logo-placeholder svg text {
  fill: rgba(255, 255, 255, 0.7);
}

body.neural-mode .cta-stat {
  background: rgba(10, 10, 20, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

body.neural-mode .cta-stat-label {
  color: rgba(255, 255, 255, 0.6);
}

body.neural-mode .comparison-item.us {
  background: rgba(76, 175, 80, 0.1);
}

body.neural-mode .comparison-item.them {
  background: rgba(158, 158, 158, 0.1);
}

body.neural-mode .comparison-item span:last-child {
  color: rgba(255, 255, 255, 0.8);
}

body.neural-mode .showcase-badge {
  background: rgba(255, 107, 74, 0.2);
  border-color: rgba(255, 107, 74, 0.4);
  color: #FF6B4A;
}

body.neural-mode .showcase-title {
  color: #ffffff;
}

body.neural-mode .showcase-description {
  color: rgba(255, 255, 255, 0.7);
}

body.neural-mode .showcase-feature-item {
  color: rgba(255, 255, 255, 0.8);
}

body.neural-mode .solutions-preview .card h3 {
  color: #ffffff;
}

body.neural-mode .solutions-preview .card p {
  color: rgba(255, 255, 255, 0.7);
}

body.neural-mode .footer-title {
  color: #ffffff;
}

body.neural-mode .footer-description,
body.neural-mode .footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

body.neural-mode .social-link {
  background: rgba(20, 20, 35, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

body.neural-mode .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
}

body.neural-mode .nav-toggle span {
  background: #ffffff;
}

@media (max-width: 768px) {
  body.neural-mode .nav-menu {
    background: rgba(5, 5, 16, 0.98);
  }

  body.neural-mode .nav-link {
    background: rgba(20, 20, 35, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }
}

/* ==========================================
   MODE FLOW - Champ de flux organique premium
   Effet hypnotique avec particules suivant le bruit de Perlin
   ========================================== */
body.flow-mode {
  background: #0a0a12;
  color: #ffffff;
}

body.flow-mode::before,
body.flow-mode::after {
  display: none;
}

body.flow-mode .hero-title,
body.flow-mode .section-title,
body.flow-mode h1, body.flow-mode h2, body.flow-mode h3 {
  color: #ffffff;
}

body.flow-mode .hero-description,
body.flow-mode .section-description,
body.flow-mode p {
  color: rgba(255, 255, 255, 0.85);
}

body.flow-mode .text-primary,
body.flow-mode .stat-label {
  color: #ffffff;
}

body.flow-mode .text-secondary,
body.flow-mode .text-muted {
  color: rgba(255, 255, 255, 0.7);
}

body.flow-mode .card,
body.flow-mode .glass,
body.flow-mode .stat-card {
  background: rgba(20, 20, 35, 0.85);
  border: 1px solid rgba(255, 107, 74, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

body.flow-mode .card:hover,
body.flow-mode .stat-card:hover {
  background: rgba(30, 30, 50, 0.9);
  border-color: rgba(255, 107, 74, 0.5);
  box-shadow: 0 8px 40px rgba(255, 107, 74, 0.15);
}

body.flow-mode section {
  background: transparent;
}

body.flow-mode .section-badge,
body.flow-mode .hero-badge {
  background: rgba(255, 107, 74, 0.15);
  border-color: rgba(255, 107, 74, 0.4);
  color: #FF6B4A;
}

body.flow-mode .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

body.flow-mode .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FF6B4A;
}

body.flow-mode .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.flow-mode .navbar,
body.flow-mode .navbar.navbar-light {
  background: rgba(10, 10, 18, 0.6);
  border-bottom-color: rgba(255, 107, 74, 0.08);
}

body.flow-mode .navbar.scrolled,
body.flow-mode .navbar.navbar-light.scrolled {
  background: rgba(10, 10, 18, 0.8);
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.2);
}

body.flow-mode .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

body.flow-mode .nav-link:hover {
  color: #FF6B4A;
}

body.flow-mode .nav-logo {
  color: #ffffff;
}

body.flow-mode .stat-value.gradient-text {
  background: linear-gradient(135deg, #FF6B4A 0%, #9FA8DA 50%, #4FC3F7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.flow-mode .hero-stats {
  border-top-color: rgba(255, 107, 74, 0.3);
}

body.flow-mode a:not(.btn) {
  color: #FF6B4A;
}

body.flow-mode a:not(.btn):hover {
  color: #FF8E75;
}

/* Flow mode: tous les blocs */
body.flow-mode .tech-stack-section,
body.flow-mode .comparison-section,
body.flow-mode .integration-section,
body.flow-mode .features,
body.flow-mode .stats-section,
body.flow-mode .testimonials-section,
body.flow-mode .process-section,
body.flow-mode .faq-section,
body.flow-mode .partners-section,
body.flow-mode .advantages-section,
body.flow-mode .cta,
body.flow-mode .showcase,
body.flow-mode .solutions-preview,
body.flow-mode .blocks-preview-section {
  background: transparent;
}

body.flow-mode .comparison-card,
body.flow-mode .tech-feature-item,
body.flow-mode .advantage-card,
body.flow-mode .testimonial-card,
body.flow-mode .feature-card,
body.flow-mode .block-card,
body.flow-mode .mini-step,
body.flow-mode .brand-item,
body.flow-mode .integration-note,
body.flow-mode .cta-card {
  background: rgba(20, 20, 35, 0.85);
  border: 1px solid rgba(255, 107, 74, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

body.flow-mode .comparison-card:hover,
body.flow-mode .tech-feature-item:hover,
body.flow-mode .advantage-card:hover,
body.flow-mode .testimonial-card:hover,
body.flow-mode .feature-card:hover,
body.flow-mode .block-card:hover {
  background: rgba(30, 30, 50, 0.9);
  border-color: rgba(255, 107, 74, 0.4);
  box-shadow: 0 8px 30px rgba(255, 107, 74, 0.1);
}

body.flow-mode .comparison-card.before {
  border-color: rgba(239, 68, 68, 0.3);
}

body.flow-mode .comparison-card.after {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(15, 15, 25, 0.6) 100%);
}

body.flow-mode .feature-content h3,
body.flow-mode .feature-title,
body.flow-mode .advantage-title,
body.flow-mode .step-title,
body.flow-mode .author-name,
body.flow-mode .comparison-header h3,
body.flow-mode .block-info h3,
body.flow-mode .integration-brands h3,
body.flow-mode .integration-steps h3,
body.flow-mode .faq-question,
body.flow-mode .cta-title {
  color: #ffffff;
}

body.flow-mode .feature-content p,
body.flow-mode .feature-description,
body.flow-mode .advantage-description,
body.flow-mode .step-description,
body.flow-mode .testimonial-text,
body.flow-mode .author-role,
body.flow-mode .comparison-list li,
body.flow-mode .block-info p,
body.flow-mode .step-info p,
body.flow-mode .faq-answer p,
body.flow-mode .cta-description,
body.flow-mode .stat-description,
body.flow-mode .brand-name {
  color: rgba(255, 255, 255, 0.7);
}

/* Solution pages — dark mode text overrides */
body.flow-mode .solution-features li,
body.flow-mode .solution-description,
body.flow-mode .visual-feature,
body.flow-mode .benefit-label {
  color: rgba(255, 255, 255, 0.78);
}

body.flow-mode .visual-label,
body.flow-mode .solution-features strong {
  color: #ffffff;
}

body.flow-mode .solution-placeholder.glass {
  background: rgba(20, 20, 35, 0.85);
  border-color: rgba(255, 107, 74, 0.2);
}

body.flow-mode .faq-item {
  border-bottom-color: rgba(255, 107, 74, 0.15);
  background: rgba(20, 20, 35, 0.7);
  border-radius: 8px;
  margin-bottom: 8px;
}

body.flow-mode .faq-item:hover {
  background: rgba(30, 30, 50, 0.8);
}

body.flow-mode .faq-icon {
  color: #FF6B4A;
}

body.flow-mode .faq-item.faq-open .faq-icon {
  transform: rotate(45deg);
}

body.flow-mode .showcase-badge {
  background: rgba(255, 107, 74, 0.15);
  border-color: rgba(255, 107, 74, 0.35);
  color: #FF6B4A;
}

body.flow-mode .showcase-title {
  color: #ffffff;
}

body.flow-mode .showcase-description {
  color: rgba(255, 255, 255, 0.7);
}

body.flow-mode .showcase-feature-item {
  color: rgba(255, 255, 255, 0.8);
}

body.flow-mode .footer {
  background: rgba(10, 10, 18, 0.95);
  border-top-color: rgba(255, 107, 74, 0.1);
}

body.flow-mode .footer-logo,
body.flow-mode .footer-title {
  color: #ffffff;
}

body.flow-mode .footer-description,
body.flow-mode .footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

body.flow-mode .footer-links a:hover {
  color: #FF6B4A;
}

body.flow-mode .social-link {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

body.flow-mode .social-link:hover {
  background: linear-gradient(135deg, #FF6B4A, #4FC3F7);
  border-color: #FF6B4A;
  color: #ffffff;
}

body.flow-mode .footer-bottom {
  border-top-color: rgba(255, 107, 74, 0.1);
  color: rgba(255, 255, 255, 0.75);
}

body.flow-mode .footer-tagline {
  color: rgba(255, 255, 255, 0.6);
}

body.flow-mode .nav-toggle span {
  background: #ffffff;
}

body.flow-mode .cta-stat {
  background: rgba(10, 10, 18, 0.5);
  border-color: rgba(255, 107, 74, 0.15);
}

body.flow-mode .cta-stat-label {
  color: rgba(255, 255, 255, 0.6);
}

body.flow-mode .feature-icon,
body.flow-mode .advantage-icon,
body.flow-mode .step-number {
  background: linear-gradient(135deg, rgba(255, 107, 74, 0.2), rgba(159, 168, 218, 0.2));
  border: 1px solid rgba(255, 107, 74, 0.3);
  color: #FF6B4A;
}

body.flow-mode .process-step {
  background: rgba(20, 20, 35, 0.8);
  border: 1px solid rgba(255, 107, 74, 0.15);
}

body.flow-mode .process-step:hover {
  border-color: rgba(255, 107, 74, 0.4);
  background: rgba(30, 30, 50, 0.85);
}

body.flow-mode .stat-value {
  color: #ffffff;
}

body.flow-mode .btn-primary {
  background: linear-gradient(135deg, #FF6B4A 0%, #FF8E6B 100%);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 107, 74, 0.4);
}

body.flow-mode .btn-primary:hover {
  background: linear-gradient(135deg, #FF8E6B 0%, #FFA07A 100%);
  box-shadow: 0 6px 30px rgba(255, 107, 74, 0.5);
  transform: translateY(-2px);
}

body.flow-mode .hero {
  background: transparent;
}

body.flow-mode .hero-content {
  position: relative;
  z-index: 1;
}

body.flow-mode .text-gradient {
  background: linear-gradient(135deg, #FF6B4A 0%, #9FA8DA 50%, #4FC3F7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.flow-mode .highlight {
  color: #FF6B4A;
}

body.flow-mode input,
body.flow-mode textarea,
body.flow-mode select {
  background: rgba(20, 20, 35, 0.9);
  border: 1px solid rgba(255, 107, 74, 0.2);
  color: #ffffff;
}

body.flow-mode input::placeholder,
body.flow-mode textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

body.flow-mode input:focus,
body.flow-mode textarea:focus,
body.flow-mode select:focus {
  border-color: #FF6B4A;
  box-shadow: 0 0 15px rgba(255, 107, 74, 0.2);
}

body.flow-mode .contact-info-item {
  background: rgba(20, 20, 35, 0.8);
  border: 1px solid rgba(255, 107, 74, 0.15);
}

body.flow-mode .contact-icon {
  background: linear-gradient(135deg, rgba(255, 107, 74, 0.2), rgba(159, 168, 218, 0.2));
  color: #FF6B4A;
}

@media (max-width: 768px) {
  body.flow-mode .nav-menu {
    background: rgba(10, 10, 18, 0.98);
  }

  body.flow-mode .nav-link {
    background: rgba(15, 15, 25, 0.6);
    border-color: rgba(255, 107, 74, 0.1);
    color: #ffffff;
  }

  body.flow-mode .nav-link:hover,
  body.flow-mode .nav-link.active {
    border-color: #FF6B4A;
    color: #FF6B4A;
  }
}

/* ==========================================
   MODE MESH - Gradient Mesh style Apple
   ========================================== */
body.mesh-mode {
  background: #0a0a14;
  color: #ffffff;
}

body.mesh-mode::before,
body.mesh-mode::after {
  display: none;
}

body.mesh-mode .hero-title,
body.mesh-mode .section-title,
body.mesh-mode h1, body.mesh-mode h2, body.mesh-mode h3 {
  color: #ffffff;
}

body.mesh-mode .hero-description,
body.mesh-mode .section-description,
body.mesh-mode p {
  color: rgba(255, 255, 255, 0.85);
}

body.mesh-mode .text-primary,
body.mesh-mode .stat-label {
  color: #ffffff;
}

body.mesh-mode .text-secondary,
body.mesh-mode .text-muted {
  color: rgba(255, 255, 255, 0.7);
}

body.mesh-mode .card,
body.mesh-mode .glass,
body.mesh-mode .stat-card {
  background: rgba(20, 20, 35, 0.85);
  border: 1px solid rgba(255, 107, 74, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

body.mesh-mode .card:hover,
body.mesh-mode .stat-card:hover {
  background: rgba(30, 30, 50, 0.9);
  border-color: rgba(255, 107, 74, 0.5);
  box-shadow: 0 8px 40px rgba(255, 107, 74, 0.15);
}

body.mesh-mode section {
  background: transparent;
}

body.mesh-mode .section-badge,
body.mesh-mode .hero-badge {
  background: rgba(255, 107, 74, 0.15);
  border-color: rgba(255, 107, 74, 0.4);
  color: #FF6B4A;
}

body.mesh-mode .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

body.mesh-mode .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FF6B4A;
}

body.mesh-mode .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.mesh-mode .navbar {
  background: rgba(10, 10, 18, 0.85);
  border-bottom-color: rgba(255, 107, 74, 0.1);
}

body.mesh-mode .navbar.scrolled {
  background: rgba(10, 10, 18, 0.95);
}

body.mesh-mode .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

body.mesh-mode .nav-link:hover {
  color: #FF6B4A;
}

body.mesh-mode .nav-logo {
  color: #ffffff;
}

body.mesh-mode .stat-value.gradient-text {
  background: linear-gradient(135deg, #FF6B4A 0%, #9FA8DA 50%, #4FC3F7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.mesh-mode .footer {
  background: rgba(10, 10, 18, 0.95);
  border-top-color: rgba(255, 107, 74, 0.1);
}

body.mesh-mode .footer-link {
  color: rgba(255, 255, 255, 0.7);
}

body.mesh-mode .footer-link:hover {
  color: #FF6B4A;
}

@media (max-width: 768px) {
  body.mesh-mode .navbar {
    background: rgba(10, 10, 18, 0.95);
  }
  body.mesh-mode .nav-link.active {
    border-color: #FF6B4A;
    color: #FF6B4A;
  }
}

/* ==========================================
   MODE RADAR - Surveillance / Détection IA
   ========================================== */
body.radar-mode {
  background: #0a0a14;
  color: #ffffff;
}

body.radar-mode::before,
body.radar-mode::after {
  display: none;
}

body.radar-mode .hero-title,
body.radar-mode .section-title,
body.radar-mode h1, body.radar-mode h2, body.radar-mode h3 {
  color: #ffffff;
}

body.radar-mode .hero-description,
body.radar-mode .section-description,
body.radar-mode p {
  color: rgba(255, 255, 255, 0.85);
}

body.radar-mode .text-primary,
body.radar-mode .stat-label {
  color: #ffffff;
}

body.radar-mode .text-secondary,
body.radar-mode .text-muted {
  color: rgba(255, 255, 255, 0.7);
}

body.radar-mode .card,
body.radar-mode .glass,
body.radar-mode .stat-card {
  background: rgba(15, 15, 28, 0.85);
  border: 1px solid rgba(255, 107, 74, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

body.radar-mode .card:hover,
body.radar-mode .stat-card:hover {
  background: rgba(25, 25, 45, 0.9);
  border-color: rgba(255, 107, 74, 0.4);
  box-shadow: 0 8px 40px rgba(255, 107, 74, 0.1);
}

body.radar-mode section {
  background: transparent;
}

body.radar-mode .section-badge,
body.radar-mode .hero-badge {
  background: rgba(255, 107, 74, 0.12);
  border-color: rgba(255, 107, 74, 0.35);
  color: #FF6B4A;
}

body.radar-mode .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

body.radar-mode .btn-outline:hover {
  background: rgba(255, 107, 74, 0.1);
  border-color: #FF6B4A;
}

body.radar-mode .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.radar-mode .btn-primary {
  background: linear-gradient(135deg, #FF6B4A 0%, #9FA8DA 100%);
  box-shadow: 0 4px 20px rgba(255, 107, 74, 0.3);
}

body.radar-mode .navbar {
  background: rgba(10, 10, 18, 0.85);
  border-bottom-color: rgba(255, 107, 74, 0.08);
}

body.radar-mode .navbar.scrolled {
  background: rgba(10, 10, 18, 0.95);
}

body.radar-mode .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

body.radar-mode .nav-link:hover {
  color: #FF6B4A;
}

body.radar-mode .nav-logo {
  color: #ffffff;
}

body.radar-mode .stat-value.gradient-text {
  background: linear-gradient(135deg, #FF6B4A 0%, #9FA8DA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.radar-mode .footer {
  background: rgba(8, 8, 16, 0.95);
  border-top-color: rgba(255, 107, 74, 0.08);
}

body.radar-mode .footer-logo,
body.radar-mode .footer-title {
  color: #ffffff;
}

body.radar-mode .footer-description,
body.radar-mode .footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

body.radar-mode .footer-links a:hover {
  color: #FF6B4A;
}

body.radar-mode .social-link {
  background: rgba(15, 15, 28, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

body.radar-mode .social-link:hover {
  background: linear-gradient(135deg, #FF6B4A, #9FA8DA);
  border-color: #FF6B4A;
  color: #ffffff;
}

body.radar-mode .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

body.radar-mode .text-gradient {
  background: linear-gradient(135deg, #FF6B4A 0%, #9FA8DA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.radar-mode .nav-toggle span {
  background: #ffffff;
}

body.radar-mode a:not(.btn) {
  color: #FF6B4A;
}

body.radar-mode a:not(.btn):hover {
  color: #FF8E75;
}

body.radar-mode .hero-stats {
  border-top-color: rgba(255, 107, 74, 0.2);
}

body.radar-mode .tech-stack-section,
body.radar-mode .comparison-section,
body.radar-mode .integration-section,
body.radar-mode .features,
body.radar-mode .stats-section,
body.radar-mode .testimonials-section,
body.radar-mode .process-section,
body.radar-mode .faq-section,
body.radar-mode .partners-section,
body.radar-mode .advantages-section,
body.radar-mode .cta,
body.radar-mode .showcase,
body.radar-mode .solutions-preview,
body.radar-mode .blocks-preview-section {
  background: transparent;
}

body.radar-mode .comparison-card,
body.radar-mode .tech-feature-item,
body.radar-mode .advantage-card,
body.radar-mode .testimonial-card,
body.radar-mode .feature-card,
body.radar-mode .block-card,
body.radar-mode .mini-step,
body.radar-mode .faq-item,
body.radar-mode .brand-item,
body.radar-mode .integration-note,
body.radar-mode .cta-card {
  background: rgba(15, 15, 28, 0.6);
  border-color: rgba(255, 107, 74, 0.1);
}

body.radar-mode .faq-item {
  border-bottom-color: rgba(255, 107, 74, 0.1);
  background: transparent;
}

body.radar-mode .faq-question:hover {
  color: #FF6B4A;
}

body.radar-mode .feature-content h3,
body.radar-mode .feature-title,
body.radar-mode .advantage-title,
body.radar-mode .step-title,
body.radar-mode .author-name,
body.radar-mode .comparison-header h3,
body.radar-mode .block-info h3,
body.radar-mode .faq-question,
body.radar-mode .cta-title {
  color: #ffffff;
}

body.radar-mode .feature-content p,
body.radar-mode .feature-description,
body.radar-mode .advantage-description,
body.radar-mode .step-description,
body.radar-mode .testimonial-text,
body.radar-mode .author-role,
body.radar-mode .comparison-list li,
body.radar-mode .block-info p,
body.radar-mode .faq-answer p,
body.radar-mode .cta-description,
body.radar-mode .stat-description,
body.radar-mode .brand-name {
  color: rgba(255, 255, 255, 0.75);
}

body.radar-mode input,
body.radar-mode textarea,
body.radar-mode select {
  background: rgba(15, 15, 28, 0.9);
  border: 1px solid rgba(255, 107, 74, 0.2);
  color: #ffffff;
}

body.radar-mode input::placeholder,
body.radar-mode textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

body.radar-mode input:focus,
body.radar-mode textarea:focus,
body.radar-mode select:focus {
  border-color: #FF6B4A;
  box-shadow: 0 0 15px rgba(255, 107, 74, 0.2);
}

body.radar-mode .contact-info-item {
  background: rgba(15, 15, 28, 0.8);
  border: 1px solid rgba(255, 107, 74, 0.15);
}

body.radar-mode .contact-icon {
  background: linear-gradient(135deg, rgba(255, 107, 74, 0.2), rgba(159, 168, 218, 0.2));
  color: #FF6B4A;
}

@media (max-width: 768px) {
  body.radar-mode .nav-menu {
    background: rgba(10, 10, 18, 0.98);
  }

  body.radar-mode .nav-link {
    background: rgba(15, 15, 28, 0.6);
    border-color: rgba(255, 107, 74, 0.1);
    color: #ffffff;
  }

  body.radar-mode .nav-link:hover,
  body.radar-mode .nav-link.active {
    border-color: #FF6B4A;
    color: #FF6B4A;
  }
}

/* ==========================================
   MODE PARTICLES - Thème clair avec particules (défaut)
   Le mode particles utilise un fond clair beige/crème
   ========================================== */
/* ==========================================
   MODE PARTICLES - Thème clair avec meilleur contraste
   ========================================== */
body.particles-mode {
  background: #faf8f6;
  color: #1a1a2e;
}

body.particles-mode .hero-title,
body.particles-mode .section-title,
body.particles-mode h1, body.particles-mode h2, body.particles-mode h3 {
  color: #1a1a2e;
}

body.particles-mode .hero-description,
body.particles-mode .section-description,
body.particles-mode p {
  color: #3a3a4a;
}

body.particles-mode .text-primary,
body.particles-mode .stat-label {
  color: #1a1a2e;
}

body.particles-mode .text-secondary,
body.particles-mode .text-muted {
  color: #5a5a6a;
}

/* Blocs moins transparents avec meilleur contraste */
body.particles-mode .card,
body.particles-mode .glass,
body.particles-mode .stat-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.particles-mode .card:hover,
body.particles-mode .stat-card:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 107, 74, 0.3);
  box-shadow: 0 8px 30px rgba(255, 107, 74, 0.1);
}

body.particles-mode section {
  background: transparent;
}

body.particles-mode .section-badge,
body.particles-mode .hero-badge {
  background: rgba(255, 107, 74, 0.12);
  border-color: rgba(255, 107, 74, 0.3);
  color: #e55a3a;
}

body.particles-mode .btn-outline {
  border-color: rgba(26, 26, 46, 0.2);
  color: #1a1a2e;
}

body.particles-mode .btn-outline:hover {
  background: rgba(255, 107, 74, 0.1);
  border-color: #FF6B4A;
  color: #FF6B4A;
}

body.particles-mode .btn-secondary {
  background: rgba(26, 26, 46, 0.08);
  color: #1a1a2e;
}

body.particles-mode .btn-secondary:hover {
  background: rgba(26, 26, 46, 0.12);
}

/* Navbar particles */
body.particles-mode .navbar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.particles-mode .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

body.particles-mode .nav-link {
  color: #3a3a4a;
}

body.particles-mode .nav-link:hover {
  color: #FF6B4A;
}

body.particles-mode .nav-logo {
  color: #1a1a2e;
}

/* Stats */
body.particles-mode .stat-value.gradient-text {
  background: linear-gradient(135deg, #FF6B4A 0%, #9575CD 50%, #4FC3F7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.particles-mode .hero-stats {
  border-color: rgba(0, 0, 0, 0.08);
}

body.particles-mode .stat-item {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.06);
}

/* Contact Form - particles */
body.particles-mode .contact-section {
  background: transparent;
}

body.particles-mode .contact-form {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

body.particles-mode .form-input,
body.particles-mode .form-textarea {
  background: rgba(250, 248, 246, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1a1a2e;
}

body.particles-mode .form-input::placeholder,
body.particles-mode .form-textarea::placeholder {
  color: #8a8a9a;
}

body.particles-mode .form-input:focus,
body.particles-mode .form-textarea:focus {
  border-color: #FF6B4A;
  box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.15);
  background: #ffffff;
}

body.particles-mode .form-label {
  color: #3a3a4a;
}

/* Footer particles */
body.particles-mode .footer {
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.particles-mode .footer-link {
  color: #5a5a6a;
}

body.particles-mode .footer-link:hover {
  color: #FF6B4A;
}

/* Hero placeholder */
body.particles-mode .hero-placeholder .placeholder-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
}

body.particles-mode .placeholder-dot {
  background: #FF6B4A;
}

body.particles-mode .placeholder-line {
  background: rgba(0, 0, 0, 0.08);
}

body.particles-mode .placeholder-box {
  background: rgba(255, 107, 74, 0.1);
}

/* Responsive particles */
@media (max-width: 768px) {
  body.particles-mode .navbar {
    background: rgba(255, 255, 255, 0.98);
  }

  body.particles-mode .nav-link.active {
    border-color: #FF6B4A;
    color: #FF6B4A;
  }
}

/* ==========================================
   MODE PARTICLES DARK - Thème très sombre
   ========================================== */
body.particles-dark-mode {
  background: #0a0a0f;
  color: #ffffff;
}

body.particles-dark-mode::before,
body.particles-dark-mode::after {
  display: none;
}

body.particles-dark-mode .hero-title,
body.particles-dark-mode .section-title,
body.particles-dark-mode h1, body.particles-dark-mode h2, body.particles-dark-mode h3 {
  color: #ffffff;
}

body.particles-dark-mode .hero-description,
body.particles-dark-mode .section-description,
body.particles-dark-mode p {
  color: rgba(255, 255, 255, 0.8);
}

body.particles-dark-mode .text-primary,
body.particles-dark-mode .stat-label {
  color: #ffffff;
}

body.particles-dark-mode .text-secondary,
body.particles-dark-mode .text-muted {
  color: rgba(255, 255, 255, 0.7);
}

body.particles-dark-mode .card,
body.particles-dark-mode .glass,
body.particles-dark-mode .stat-card {
  background: rgba(15, 15, 25, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body.particles-dark-mode .card:hover,
body.particles-dark-mode .stat-card:hover {
  background: rgba(25, 25, 40, 0.8);
  border-color: rgba(255, 107, 74, 0.3);
}

body.particles-dark-mode section {
  background: transparent;
}

body.particles-dark-mode .section-badge,
body.particles-dark-mode .hero-badge {
  background: rgba(255, 107, 74, 0.15);
  border-color: rgba(255, 107, 74, 0.35);
  color: #FF6B4A;
}

body.particles-dark-mode .btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

body.particles-dark-mode .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #FF6B4A;
}

body.particles-dark-mode .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

body.particles-dark-mode .navbar {
  background: rgba(10, 10, 15, 0.9);
  border-bottom-color: rgba(255, 107, 74, 0.08);
}

body.particles-dark-mode .navbar.scrolled {
  background: rgba(10, 10, 15, 0.97);
}

body.particles-dark-mode .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

body.particles-dark-mode .nav-link:hover {
  color: #FF6B4A;
}

body.particles-dark-mode .nav-logo {
  color: #ffffff;
}

body.particles-dark-mode .stat-value.gradient-text {
  background: linear-gradient(135deg, #FF6B4A 0%, #9FA8DA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.particles-dark-mode .hero-stats {
  border-top-color: rgba(255, 107, 74, 0.25);
}

body.particles-dark-mode a:not(.btn) {
  color: #FF6B4A;
}

body.particles-dark-mode a:not(.btn):hover {
  color: #FF8E75;
}

/* Particles dark: tous les blocs */
body.particles-dark-mode .tech-stack-section,
body.particles-dark-mode .comparison-section,
body.particles-dark-mode .integration-section,
body.particles-dark-mode .features,
body.particles-dark-mode .stats-section,
body.particles-dark-mode .testimonials-section,
body.particles-dark-mode .process-section,
body.particles-dark-mode .faq-section,
body.particles-dark-mode .partners-section,
body.particles-dark-mode .advantages-section,
body.particles-dark-mode .cta,
body.particles-dark-mode .showcase,
body.particles-dark-mode .solutions-preview,
body.particles-dark-mode .blocks-preview-section {
  background: transparent;
}

body.particles-dark-mode .comparison-card,
body.particles-dark-mode .tech-feature-item,
body.particles-dark-mode .advantage-card,
body.particles-dark-mode .testimonial-card,
body.particles-dark-mode .feature-card,
body.particles-dark-mode .block-card,
body.particles-dark-mode .mini-step,
body.particles-dark-mode .faq-item,
body.particles-dark-mode .brand-item,
body.particles-dark-mode .integration-note,
body.particles-dark-mode .cta-card {
  background: rgba(15, 15, 25, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

body.particles-dark-mode .comparison-card.before {
  border-color: rgba(239, 68, 68, 0.25);
}

body.particles-dark-mode .comparison-card.after {
  border-color: rgba(16, 185, 129, 0.25);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 15, 25, 0.6) 100%);
}

body.particles-dark-mode .feature-content h3,
body.particles-dark-mode .feature-title,
body.particles-dark-mode .advantage-title,
body.particles-dark-mode .step-title,
body.particles-dark-mode .author-name,
body.particles-dark-mode .comparison-header h3,
body.particles-dark-mode .block-info h3,
body.particles-dark-mode .integration-brands h3,
body.particles-dark-mode .integration-steps h3,
body.particles-dark-mode .faq-question,
body.particles-dark-mode .cta-title {
  color: #ffffff;
}

body.particles-dark-mode .feature-content p,
body.particles-dark-mode .feature-description,
body.particles-dark-mode .advantage-description,
body.particles-dark-mode .step-description,
body.particles-dark-mode .testimonial-text,
body.particles-dark-mode .author-role,
body.particles-dark-mode .comparison-list li,
body.particles-dark-mode .block-info p,
body.particles-dark-mode .step-info p,
body.particles-dark-mode .faq-answer p,
body.particles-dark-mode .cta-description,
body.particles-dark-mode .stat-description,
body.particles-dark-mode .brand-name {
  color: rgba(255, 255, 255, 0.7);
}

body.particles-dark-mode .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: transparent;
}

body.particles-dark-mode .tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

body.particles-dark-mode .logo-placeholder svg rect {
  fill: rgba(255, 255, 255, 0.08);
}

body.particles-dark-mode .logo-placeholder svg text {
  fill: rgba(255, 255, 255, 0.7);
}

body.particles-dark-mode .cta-stat {
  background: rgba(8, 8, 15, 0.5);
  border-color: rgba(255, 255, 255, 0.08);
}

body.particles-dark-mode .cta-stat-label {
  color: rgba(255, 255, 255, 0.6);
}

body.particles-dark-mode .comparison-item.us {
  background: rgba(76, 175, 80, 0.08);
}

body.particles-dark-mode .comparison-item.them {
  background: rgba(158, 158, 158, 0.08);
}

body.particles-dark-mode .comparison-item span:last-child {
  color: rgba(255, 255, 255, 0.8);
}

body.particles-dark-mode .showcase-badge {
  background: rgba(255, 107, 74, 0.15);
  border-color: rgba(255, 107, 74, 0.35);
  color: #FF6B4A;
}

body.particles-dark-mode .showcase-title {
  color: #ffffff;
}

body.particles-dark-mode .showcase-description {
  color: rgba(255, 255, 255, 0.7);
}

body.particles-dark-mode .showcase-feature-item {
  color: rgba(255, 255, 255, 0.8);
}

body.particles-dark-mode .solutions-preview .card h3 {
  color: #ffffff;
}

body.particles-dark-mode .solutions-preview .card p {
  color: rgba(255, 255, 255, 0.7);
}

body.particles-dark-mode .nav-toggle span {
  background: #ffffff;
}

@media (max-width: 768px) {
  body.particles-dark-mode .nav-menu {
    background: rgba(10, 10, 15, 0.98);
  }

  body.particles-dark-mode .nav-link {
    background: rgba(15, 15, 25, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }
}

/* === Background animé avec blobs === */
body::before,
body::after {
  content: '';
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  z-index: -1;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

body::before {
  background: radial-gradient(circle, rgba(255, 107, 74, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

body::after {
  background: radial-gradient(circle, rgba(159, 168, 218, 0.2) 0%, transparent 70%);
  bottom: -200px;
  left: -200px;
  animation-delay: -10s;
}

.blob-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: float 25s ease-in-out infinite;
}

.blob-1 {
  background: radial-gradient(circle, rgba(255, 142, 117, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  animation-delay: -5s;
}

/* === Animations === */
@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 50px) scale(0.9);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes counter-pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes border-glow {
  0%, 100% {
    border-color: rgba(255, 107, 74, 0.15);
  }
  50% {
    border-color: rgba(255, 107, 74, 0.4);
  }
}

/* === Stagger system === */
.stagger-1 { transition-delay: 0.1s !important; }
.stagger-2 { transition-delay: 0.2s !important; }
.stagger-3 { transition-delay: 0.3s !important; }
.stagger-4 { transition-delay: 0.4s !important; }
.stagger-5 { transition-delay: 0.5s !important; }
.stagger-6 { transition-delay: 0.6s !important; }
.stagger-7 { transition-delay: 0.7s !important; }
.stagger-8 { transition-delay: 0.8s !important; }

/* === Shimmer utility === */
.has-shimmer {
  position: relative;
  overflow: hidden;
}

.has-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

/* === Pulse ring utility === */
.has-pulse-ring {
  position: relative;
}

.has-pulse-ring::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  border: 2px solid var(--primary);
  transform: translate(-50%, -50%) scale(1);
  animation: pulse-ring 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}

/* === Reveal on scroll === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* === Typographie === */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

h1 {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-all);
}

a:not(.btn):hover {
  color: var(--primary-light);
}

/* === Container === */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* === Sections === */
section {
  padding-top: var(--spacing-lg);
  padding-bottom: 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding-top: var(--spacing-md);
  }
}

/* === Boutons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: var(--transition-all);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
  background-size: 200% 200%;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), background-position 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-glow), 0 12px 24px rgba(255, 107, 74, 0.25);
  background-position: 100% 50%;
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 2px solid var(--primary);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  transition: all 0.35s var(--ease-out-expo);
}

.btn-outline:hover {
  background: rgba(255, 107, 74, 0.1);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 74, 0.15);
}

.btn-lg {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--font-size-lg);
}

.btn-sm {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-size-sm);
}

/* === Cards === */
.card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 20px 40px rgba(255, 107, 74, 0.08);
  border-color: var(--primary);
}

/* === Grid === */
.grid {
  display: grid;
  gap: var(--spacing-xl);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* === Utilitaires === */
.text-center {
  text-align: center;
}

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

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mt-2xl { margin-top: var(--spacing-2xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }

/* === Responsive === */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  h1 {
    font-size: var(--font-size-4xl);
  }

  h2 {
    font-size: var(--font-size-3xl);
  }

  h3 {
    font-size: var(--font-size-2xl);
  }
}

/* ==========================================
   PAGE HERO — Layout partagé pour toutes les pages
   utilisant <section class="page-hero">
   (contact, fonctionnalites, a-propos, solutions/*, etc.)
   La navbar étant fixed (height 80px), on compense le padding-top
   pour éviter que le contenu hero passe sous la navbar.
   ========================================== */
.page-hero {
  padding: calc(80px + var(--spacing-4xl)) 0 var(--spacing-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, var(--font-size-5xl));
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
}

.page-hero-description {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: var(--line-height-relaxed);
}

/* Badge utilisé dans le hero des pages (sectorielles, contact, etc.) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(255, 107, 74, 0.1);
  border: 1px solid rgba(255, 107, 74, 0.25);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--primary);
  margin-bottom: var(--spacing-lg);
}

/* === Page Hero — Responsive === */
@media (max-width: 768px) {
  .page-hero {
    padding: calc(80px + var(--spacing-2xl)) 0 var(--spacing-2xl);
  }
  .page-hero-title {
    font-size: var(--font-size-3xl);
  }
  .page-hero-description {
    font-size: var(--font-size-base);
  }
}

/* === Page Hero — Dark modes === */
body.flow-mode .page-hero-title,
body.drift-mode .page-hero-title,
body.fog-mode .page-hero-title,
body.neural-mode .page-hero-title,
body.aurora-mode .page-hero-title,
body.particles-dark-mode .page-hero-title,
body.constellation-mode .page-hero-title,
body.waves-mode .page-hero-title,
body.mesh-mode .page-hero-title {
  color: #ffffff;
}

body.flow-mode .page-hero-description,
body.drift-mode .page-hero-description,
body.fog-mode .page-hero-description,
body.neural-mode .page-hero-description,
body.aurora-mode .page-hero-description,
body.particles-dark-mode .page-hero-description,
body.constellation-mode .page-hero-description,
body.waves-mode .page-hero-description,
body.mesh-mode .page-hero-description {
  color: rgba(255, 255, 255, 0.78);
}

body.flow-mode .hero-badge,
body.drift-mode .hero-badge,
body.fog-mode .hero-badge,
body.neural-mode .hero-badge,
body.aurora-mode .hero-badge,
body.particles-dark-mode .hero-badge,
body.constellation-mode .hero-badge,
body.waves-mode .hero-badge,
body.mesh-mode .hero-badge {
  background: rgba(255, 107, 74, 0.15);
  border-color: rgba(255, 107, 74, 0.35);
  color: #FF8E75;
}
