/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (SIRA-TECH PREMIUM B2B)
   ========================================================================== */
:root {
  /* Palette de couleurs */
  --primary-red: #e32119;         /* Bordeaux Corporate */
  --accent-red: #ff3830;          /* Bordeaux Lumineux */
  --accent-glow: rgba(227, 33, 25, 0.3);
  --bg-dark: #0e0e0f;             /* Fond principal sombre */
  --bg-card: #151517;             /* Fond cartes */
  --bg-input: #1a1a1c;            /* Fond inputs */
  --border-dark: #232326;         /* Bordures sombres */
  --border-focus: #e32119;        /* Bordures focus */
  --text-light: #ffffff;          /* Texte principal */
  --text-gray: #94a3b8;           /* Texte secondaire (Slate-400) */
  --text-muted: #64748b;          /* Texte désactivé / discret */
  
  /* Fonts */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Marges et espacements */
  --container-width: 1200px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px; /* Évite que la navbar fixe cache les titres */
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilitaires de conteneur */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

/* Espacements & boutons */
.mt-4 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1rem; }
.text-white { color: var(--text-light) !important; }
.btn-block { width: 100%; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(227, 33, 25, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227, 33, 25, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--text-gray);
}

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--bg-dark);
  border-color: var(--text-light);
  transform: translateY(-2px);
}

.btn-secondary-light {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border: 1px solid var(--border-dark);
}

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

/* ==========================================================================
   NAVBAR (FIXED WITH SCROLL EFFECT)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
}

/* Style initial transparent avec flou */
.navbar {
  background-color: rgba(14, 14, 15, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Style après scroll */
.navbar.scrolled {
  height: 70px;
  background-color: rgba(14, 14, 15, 0.95);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
}

.logo-bold {
  color: var(--text-light);
}

.logo-light {
  color: var(--primary-red);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-gray);
  padding: 8px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-light);
}

/* Soulignement dynamique */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: width var(--transition-normal);
}

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

.btn-navbar {
  background-color: var(--primary-red);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(227, 33, 25, 0.2);
}

.btn-navbar:hover {
  background-color: var(--accent-red);
  transform: translateY(-1px);
}

.btn-navbar::after {
  display: none;
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.burger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  transition: all var(--transition-normal);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 140px; /* Compense la navbar */
  padding-bottom: 120px;
  background-color: var(--bg-dark);
  /* Fond technique avec un subtil motif de grille CSS */
  background-image: 
    linear-gradient(135deg, rgba(227, 33, 25, 0.18) 0%, rgba(14, 14, 15, 0.95) 60%, var(--bg-dark) 100%),
    radial-gradient(circle at 80% 20%, rgba(227, 33, 25, 0.12) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero-tagline {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary-red);
  margin-bottom: 20px;
  border-left: 3px solid var(--primary-red);
  padding-left: 12px;
}

.hero-title {
  margin-bottom: 25px;
  color: var(--text-light);
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Bandeau des statistiques */
.stats-bar {
  background-color: rgba(21, 21, 23, 0.8);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 30px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.stats-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 5px;
  background: linear-gradient(180deg, #fff 30%, var(--text-gray) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--border-dark);
}

/* ==========================================================================
   SECTION EN-TÊTE
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  z-index: 5;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary-red);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title {
  color: var(--text-light);
  font-weight: 800;
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-underline {
  width: 60px;
  height: 3px;
  background-color: var(--primary-red);
  margin: 15px auto 0;
}

.section-underline.left {
  margin-left: 0;
  margin-right: auto;
}

/* ==========================================================================
   SERVICES PHARES GRILLE (6 CARTES)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  padding: 40px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Effet ligne supérieure */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
  transition: background-color var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-red);
  box-shadow: 0 15px 40px rgba(227, 33, 25, 0.15);
}

.service-card:hover::before {
  background-color: var(--primary-red);
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-dark);
}

.service-icon {
  font-size: 1.5rem;
  color: var(--primary-red);
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
}

.service-card:hover .service-icon {
  color: var(--text-light);
}

.service-card-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.service-card-desc {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition-fast);
}

.service-card:hover .service-card-link {
  color: var(--primary-red);
  gap: 12px;
}

/* ==========================================================================
   POURQUOI CHOISIR SIRA-TECH
   ========================================================================== */
.pourquoi-section {
  background-color: rgba(21, 21, 23, 0.3);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.pourquoi-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.pourquoi-subtitle {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 40px;
}

.pourquoi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.pourquoi-item {
  display: flex;
  gap: 20px;
}

.pourquoi-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(227, 33, 25, 0.1);
  border: 1px solid rgba(227, 33, 25, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-red);
  font-size: 1.2rem;
}

.pourquoi-text h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-light);
}

.pourquoi-text p {
  font-size: 0.95rem;
  color: var(--text-gray);
}

/* Console NOC Mockup */
.pourquoi-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: 100%;
  max-width: 400px;
  background-color: #0b0b0c;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(227, 33, 25, 0.1);
  overflow: hidden;
  font-family: 'Courier New', Courier, monospace;
}

.visual-header {
  background-color: #151517;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-dark);
}

.visual-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.visual-dot.red { background-color: #ff5f56; }
.visual-dot.yellow { background-color: #ffbd2e; }
.visual-dot.green { background-color: #27c93f; }

.visual-title {
  color: var(--text-gray);
  font-size: 0.75rem;
  margin-left: auto;
}

.visual-body {
  padding: 24px;
  font-size: 0.85rem;
  color: #39ff14; /* Vert terminal */
  line-height: 1.8;
}

.visual-line {
  margin-bottom: 10px;
}

.v-keyword {
  color: var(--text-light);
}

.v-status-ok {
  color: #27c93f;
  font-weight: bold;
}

.visual-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-top: 25px;
  border-bottom: 1px dashed var(--border-dark);
  padding-bottom: 5px;
}

.visual-chart .bar {
  flex: 1;
  background-color: var(--primary-red);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  opacity: 0.7;
  transition: height var(--transition-slow);
}

.visual-chart .bar:last-child {
  background-color: #27c93f;
  opacity: 0.9;
}

/* ==========================================================================
   SERVICES DETAILED TAB SECTION
   ========================================================================== */
.services-detail-section {
  background-color: var(--bg-dark);
}

.tabs-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--text-gray);
  border: 1px solid var(--border-dark);
  background-color: var(--bg-card);
}

.tab-btn:hover, .tab-btn.active {
  color: var(--text-light);
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  box-shadow: 0 5px 15px rgba(227, 33, 25, 0.3);
}

.tabs-content {
  position: relative;
  min-height: 400px;
}

.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tab-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 50px;
}

.tab-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.tab-intro {
  color: var(--text-gray);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.features-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.features-list li::before {
  content: '\f058'; /* FontAwesome check-circle */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-red);
  font-size: 1.1rem;
}

.features-list strong {
  color: var(--text-light);
}

.tab-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.large-tab-icon {
  font-size: 8rem;
  color: rgba(227, 33, 25, 0.05);
  transition: color var(--transition-normal);
}

.tab-pane.active:hover .large-tab-icon {
  color: rgba(227, 33, 25, 0.15);
}

/* ==========================================================================
   OFFRES D'INFOGÉRANCE ET TARIFS
   ========================================================================== */
.offres-section {
  background-color: rgba(21, 21, 23, 0.4);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.offres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
  margin-bottom: 60px;
}

.offre-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.offre-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.offre-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-gray);
  background-color: rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.offre-title {
  font-size: 1.6rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.offre-target {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 25px;
  flex-grow: 0;
}

.offre-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 20px;
}

.offre-features {
  margin-bottom: 35px;
  flex-grow: 1;
}

.offre-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-gray);
}

.offre-features strong {
  color: var(--text-light);
}

.feature-ok {
  color: var(--primary-red);
  margin-top: 4px;
}

.feature-no {
  color: var(--text-muted);
  margin-top: 4px;
}

/* Offre Recommandée */
.offre-card.recommended {
  border-color: var(--primary-red);
  box-shadow: 0 10px 30px rgba(227, 33, 25, 0.1);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(227, 33, 25, 0.03) 100%);
}

.offre-badge-reco {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-light);
  background-color: var(--primary-red);
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

/* Box Offres prioritaires PME Ivoire */
.pme-ivoire-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-left: 4px solid var(--primary-red);
  border-radius: 8px;
  padding: 40px;
}

.pme-ivoire-box h3 {
  font-size: 1.4rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pme-ivoire-box h3 i {
  color: var(--primary-red);
}

.pme-ivoire-box > p {
  color: var(--text-gray);
  margin-bottom: 30px;
  font-size: 1rem;
}

.pme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.pme-pack-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-dark);
  padding: 25px;
  border-radius: 6px;
}

.pme-pack-card h4 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.pme-pack-card p {
  font-size: 0.95rem;
  color: var(--text-gray);
}

/* ==========================================================================
   SECTION À PROPOS
   ========================================================================== */
.a-propos-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.a-propos-visual {
  display: flex;
  justify-content: center;
}

.visual-experience {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-red) 0%, #3a0000 100%);
  border: 10px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 15px 40px rgba(227, 33, 25, 0.2);
  padding: 20px;
}

.visual-exp-number {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-light);
}

.visual-exp-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 200px;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 30px;
}

.about-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-bottom: 35px;
}

.about-block-item h4 {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-block-item h4 i {
  color: var(--primary-red);
}

.about-block-item p {
  font-size: 0.95rem;
  color: var(--text-gray);
}

.about-values {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.value-badge {
  background-color: rgba(227, 33, 25, 0.08);
  border: 1px solid rgba(227, 33, 25, 0.2);
  color: var(--text-light);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.value-badge i {
  color: var(--primary-red);
}

/* ==========================================================================
   FAQ SECTION ACCORDION
   ========================================================================== */
.faq-section {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
}

.faq-container {
  max-width: 800px !important;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-light);
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.faq-arrow {
  font-size: 0.9rem;
  color: var(--primary-red);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  border-color: var(--border-dark);
}

.faq-answer p {
  padding: 24px 30px;
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* ==========================================================================
   SECTION CONTACT & FORMULAIRE
   ========================================================================== */
.contact-section {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
}

.contact-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
}

/* Panel Gauche (Infos) */
.contact-info-panel {
  background: linear-gradient(135deg, var(--primary-red) 0%, #8a120d 100%);
  padding: 60px 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-panel-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-detail-item {
  display: flex;
  gap: 20px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-light);
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 5px;
}

.contact-detail-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-detail-text a:hover {
  text-decoration: underline;
}

/* Panel Droite (Formulaire) */
.contact-form-panel {
  padding: 60px 50px;
}

.contact-form-panel h3 {
  font-size: 1.6rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.contact-form-panel p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 35px;
}

.form-row {
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}

.form-group input, .form-group select, .form-group textarea {
  background-color: var(--bg-input);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 14px 18px;
  color: var(--text-light);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 10px rgba(227, 33, 25, 0.2);
}

/* Dropdown custom */
.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' width='18px' height='18px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
}

/* Erreurs de validation */
.error-message {
  font-size: 0.8rem;
  color: #ff5f56;
  display: none;
  margin-top: 4px;
}

.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea {
  border-color: #ff5f56;
}

.form-group.has-error .error-message {
  display: block;
}

.recaptcha-row {
  margin: 25px 0;
  display: flex;
  flex-direction: column;
}

.recaptcha-row.has-error .error-message {
  display: block;
  margin-top: 10px;
}

/* Statuts du formulaire */
.form-status {
  padding: 15px;
  border-radius: 4px;
  font-size: 0.95rem;
  margin-bottom: 20px;
  display: none;
  animation: fadeIn var(--transition-fast);
}

.form-status.success {
  display: block;
  background-color: rgba(39, 201, 63, 0.1);
  border: 1px solid rgba(39, 201, 63, 0.3);
  color: #27c93f;
}

.form-status.error {
  display: block;
  background-color: rgba(255, 95, 86, 0.1);
  border: 1px solid rgba(255, 95, 86, 0.3);
  color: #ff5f56;
}

/* Bouton submit loading */
.btn-submit {
  border: none;
}

.btn-submit .btn-spinner {
  display: none;
}

.btn-submit.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-submit.loading .btn-text {
  display: none;
}

.btn-submit.loading .btn-spinner {
  display: inline-block;
  font-size: 1.2rem;
}

/* ==========================================================================
   FOOTER (FOND #800000 ET TEXTES BLANCS)
   ========================================================================== */
.main-footer {
  background-color: #800000; /* Rouge bordeaux */
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 80px;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background-color: var(--text-light);
  color: var(--primary-red);
  transform: translateY(-2px);
}

.footer-links h3, .footer-contact-summary h3 {
  font-size: 1.15rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

/* Soulignement de titre dans le footer */
.footer-links h3::after, .footer-contact-summary h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.4);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-light);
  padding-left: 6px;
}

.footer-contact-summary {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-summary p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact-summary p i {
  width: 16px;
  text-align: center;
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  background-color: rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
  color: var(--text-light);
}

/* ==========================================================================
   SCROLL ANIMATIONS & TRANSITIONS (INTERSECTION OBSERVER)
   ========================================================================== */
.fade-in-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.active,
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (DESKTOP -> MOBILE)
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .pourquoi-container, .a-propos-container, .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .a-propos-visual, .pourquoi-visual {
    order: -1; /* Place le visuel au-dessus sur tablette/mobile */
  }
  
  .footer-container {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }
  
  .footer-container > *:last-child {
    grid-column: span 2;
  }
  
  .stats-bar {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 40px;
  }
}

@media screen and (max-width: 768px) {
  section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  
  .hero-section {
    padding-top: 120px;
    min-height: auto;
  }
  
  /* Menu burger mobile drawer */
  .burger-menu {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background-color: var(--bg-card);
    border-left: 1px solid var(--border-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    gap: 25px;
    transition: right var(--transition-normal);
    box-shadow: -10px 10px 30px rgba(0,0,0,0.5);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  /* Burger Animation */
  .burger-menu.open .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .burger-menu.open .burger-line:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.open .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .tab-grid {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
  
  .tab-image {
    display: none; /* Cache les grosses icônes sur mobile pour aérer */
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .footer-container > * {
    grid-column: span 1 !important;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-info-panel, .contact-form-panel {
    padding: 40px 25px;
  }
  
  .stats-container {
    flex-direction: column;
  }
  
  .stat-divider {
    display: none;
  }
}


/* ==========================================================================
   ANIMATIONS SUPPLEMENTAIRES
   ========================================================================== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(227, 33, 25, 0.2); }
  50% { box-shadow: 0 0 40px rgba(227, 33, 25, 0.4); }
}

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

.animate-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }
.service-card:nth-child(5) { transition-delay: 0.4s; }
.service-card:nth-child(6) { transition-delay: 0.5s; }

.offre-card:nth-child(1) { transition-delay: 0s; }
.offre-card:nth-child(2) { transition-delay: 0.15s; }
.offre-card:nth-child(3) { transition-delay: 0.3s; }

.service-card:hover .service-icon-wrapper {
  animation: pulse-glow 1.5s ease-in-out infinite;
}

.hero-tagline {
  animation: fadeInDown 0.8s ease forwards;
}

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

.stat-number {
  display: inline-block;
}

.faq-item:hover .faq-question {
  color: var(--primary-red);
}


/* ==========================================================
   ANIMATIONS DYNAMIQUES
   ========================================================== */

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

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

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px var(--accent-glow); }
  50%      { box-shadow: 0 0 25px var(--accent-glow); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.service-card:hover {
  transform: translateY(-12px) scale(1.02) !important;
  box-shadow: 0 30px 80px rgba(227, 33, 25, 0.15) !important;
}

.service-card:hover .service-icon-wrapper {
  animation: pulse 1.5s ease-in-out infinite;
}

.hero-actions { animation: fadeInUp 1s ease 1.5s both; }
.hero-tagline { animation: fadeInUp 0.8s ease 0.3s both; }
.hero-title { animation: fadeInUp 0.8s ease 0.6s both; }
.hero-description { animation: fadeInUp 0.8s ease 1s both; }

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(227, 33, 25, 0.4) !important;
}

.large-tab-icon { animation: float 4s ease-in-out infinite; }

.tab-pane.active { animation: fadeInUp 0.5s ease both; }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link.active::after { width: 100%; }

.stat-number {
  background: linear-gradient(135deg, var(--primary-red), #ff3830);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link .fa-phone { margin-right: 6px; font-size: 0.8rem; }
@media (max-width:768px){ a.btn-navbar[href^="tel"]{display:none} }

.nav-phone-btn { margin-left: 10px; white-space: nowrap; }
@media (max-width: 768px) { .nav-phone-btn { display: none; } }

.nav-actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 768px) {
  .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 20px;
    width: 100%;
  }
  .nav-actions .btn-navbar { width: 100%; text-align: center; }
}

.fade-in-up { transition: opacity 0.8s ease, transform 0.8s ease; }
