/*
Theme Name: K2ADEV
Theme URI: https://k2adev.com
Author: K2ADEV
Author URI: https://k2adev.com
Description: Thème officiel K2ADEV - Solutions logicielles sur mesure pour l'Afrique
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: k2adev
*/

/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
  --primary:       #1a2b4a;
  --primary-light: #243d6a;
  --primary-dark:  #111d33;
  --accent:        #f97316;
  --accent-light:  #fb923c;
  --accent-dark:   #ea6c0a;
  --white:         #ffffff;
  --gray-50:       #f8fafc;
  --gray-100:      #f1f5f9;
  --gray-200:      #e2e8f0;
  --gray-400:      #94a3b8;
  --gray-600:      #475569;
  --gray-800:      #1e293b;
  --text:          #1e293b;
  --text-light:    #64748b;
  --border:        #e2e8f0;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:        0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:     0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl:     0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --radius-sm:     0.375rem;
  --radius:        0.75rem;
  --radius-lg:     1rem;
  --radius-xl:     1.5rem;
  --transition:    0.3s ease;
  --font-sans:     'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display:  'Poppins', var(--font-sans);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Décale les ancres sous le header fixe (80px) */
section[id] {
  scroll-margin-top: 80px;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p  { margin-bottom: 1rem; color: var(--text-light); }
p:last-child { margin-bottom: 0; }

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section-header .badge {
  display: inline-block;
  background: rgba(249,115,22,.12);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-header h2 { margin-bottom: .75rem; }

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249,115,22,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 9999;
  background: var(--primary);
  border-bottom: none;
  box-shadow: none;
  transition: background var(--transition), padding var(--transition);
  padding: 1.25rem 0;
}

.site-header,
header,
#masthead {
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
}

#site-header.scrolled {
  background: var(--primary-dark);
  padding: .75rem 0;
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}

.logo-mark {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -.03em;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.site-logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 3px;
  text-decoration: none;
  line-height: 1;
}
.site-logo-text .logo-k2   { color: #ffffff !important; }
.site-logo-text .logo-adev { color: #E86A1A !important; }

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}

.logo-text .tagline {
  font-size: .65rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.site-nav a {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: .92rem;
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: .5rem 1.25rem !important;
  border-radius: 50px !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249,115,22,.4) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(249,115,22,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(249,115,22,.06) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,.03) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 8rem 0 5rem;
}

.hero-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.25);
  color: var(--accent-light);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-text h1 span {
  color: var(--accent);
  position: relative;
}

.hero-text .subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-display);
  line-height: 1;
}

.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: .25rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ============================================
   HERO STACK — 5 cartes statiques avec profondeur
   ============================================ */
.hero-stack {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* Carte de base — margin-left pour le décalage (ne conflit pas avec transform de float) */
.hc-slide {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: .65rem .95rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-left: 0;
  animation: float 5s ease-in-out infinite;
  transition: margin-left .3s ease, opacity .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

/* Effet de profondeur : décalage progressif + opacité décroissante + délais décalés */
.hc-slide:nth-child(1) {
  margin-left: 0;
  opacity: 1;
  border-color: rgba(249,115,22,.45);
  background: rgba(255,255,255,.10);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
  animation-delay: 0s;
}
.hc-slide:nth-child(2) { margin-left: 8px;  opacity: .82; animation-delay: .55s; }
.hc-slide:nth-child(3) { margin-left: 16px; opacity: .64; animation-delay: 1.1s; }
.hc-slide:nth-child(4) { margin-left: 24px; opacity: .46; animation-delay: 1.65s; }
.hc-slide:nth-child(5) { margin-left: 32px; opacity: .30; animation-delay: 2.2s; }

/* Au survol : la carte revient au premier plan */
.hc-slide:hover {
  margin-left: 0;
  opacity: 1;
  border-color: rgba(249,115,22,.45);
  background: rgba(255,255,255,.12);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
}

/* Icône */
.card-icon {
  width: 36px; height: 36px;
  min-width: 36px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Corps texte */
.hero-card-body { flex: 1; min-width: 0; }

.hc-slide h4 {
  color: var(--white);
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: .15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hc-slide p {
  font-size: .74rem;
  color: rgba(255,255,255,.65);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* SVG Logo mark */
.logo-svg-mark {
  flex-shrink: 0;
  border-radius: 8px;
  display: block;
}

/* ============================================
   ABOUT
   ============================================ */
#about {
  background: #0f1e35;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(249,115,22,.1) 0%, transparent 60%);
}

.about-logo-display {
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-logo-display .big-logo {
  width: 100px; height: 100px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--white);
  margin: 0 auto 1.5rem;
  box-shadow: 0 20px 40px rgba(249,115,22,.4);
}

.about-logo-display h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: .5rem;
}

.about-logo-display p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}

.badge-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: .75rem 1.25rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: .75rem;
}

.badge-float.bf-1 { bottom: -1rem; right: -1.5rem; }
.badge-float.bf-2 { top: -1rem; left: -1.5rem; }

.badge-float .icon {
  width: 36px; height: 36px;
  background: rgba(249,115,22,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.badge-float .info strong {
  display: block;
  font-size: .95rem;
  color: var(--primary);
}

.badge-float .info span {
  font-size: .75rem;
  color: var(--text-light);
}

.about-content .badge {
  display: inline-block;
  background: rgba(249,115,22,.12);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.about-content h2 { margin-bottom: 1.25rem; }

.about-content p { margin-bottom: 1rem; font-size: 1.05rem; }

.about-features {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 40px; height: 40px;
  background: rgba(249,115,22,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-text strong { display: block; font-size: .95rem; color: var(--primary); margin-bottom: .15rem; }
.feature-text span { font-size: .85rem; color: var(--text-light); }

/* ============================================
   LOGICIELS
   ============================================ */
#logiciels {
  background: #0d1b2e;
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: transparent;
}

.product-card:hover::before { transform: scaleX(1); }

.product-card.featured {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: transparent;
  color: var(--white);
}

.product-card.featured::before { transform: scaleX(1); }

.product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.product-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}

.product-card:not(.featured) .product-icon {
  background: rgba(249,115,22,.1);
}

.product-card.featured .product-icon {
  background: rgba(255,255,255,.1);
}

.product-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 50px;
  background: rgba(249,115,22,.1);
  color: var(--accent);
}

.product-card.featured .product-tag {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
}

.product-card h3 {
  margin-bottom: .5rem;
}

.product-card:not(.featured) h3 { color: var(--primary); }
.product-card.featured h3 { color: var(--white); }

.product-card .product-desc {
  margin-bottom: 1.5rem;
}

.product-card:not(.featured) .product-desc { color: var(--text-light); }
.product-card.featured .product-desc { color: rgba(255,255,255,.7); }

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}

.product-feat-tag {
  font-size: .78rem;
  padding: .3rem .7rem;
  border-radius: 50px;
  font-weight: 500;
}

.product-card:not(.featured) .product-feat-tag {
  background: var(--gray-100);
  color: var(--text-light);
}

.product-card.featured .product-feat-tag {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9rem;
  transition: gap var(--transition);
}

.product-card:not(.featured) .product-link { color: var(--accent); }
.product-card.featured .product-link { color: var(--accent-light); }

.product-link:hover { gap: .75rem; }

/* ============================================
   SERVICES
   ============================================ */
#services {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 50%, rgba(249,115,22,.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.03) 0%, transparent 40%);
  pointer-events: none;
}

#services .section-header .badge {
  background: rgba(249,115,22,.2);
  color: var(--accent-light);
}

#services .section-header h2 { color: var(--white); }
#services .section-header p { color: rgba(255,255,255,.65); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition);
}

.service-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(249,115,22,.3);
  transform: translateY(-3px);
}

.service-icon {
  width: 56px; height: 56px;
  background: rgba(249,115,22,.15);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(249,115,22,.2);
}

.service-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: .65rem;
}

.service-card p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  margin: 0;
  line-height: 1.65;
}

/* ============================================
   WHY US
   ============================================ */
#why-us {
  background: var(--primary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.why-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.why-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: .35rem;
}

.why-card h4 {
  margin-bottom: .5rem;
  font-size: 1rem;
}

.why-card p {
  font-size: .85rem;
  margin: 0;
}

/* ============================================
   CONTACT
   ============================================ */
#contact {
  background: #0d1b2e;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { font-size: 1.05rem; margin-bottom: 2rem; }

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item .ci-icon {
  width: 46px; height: 46px;
  background: rgba(249,115,22,.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(249,115,22,.15);
}

.contact-item .ci-text strong {
  display: block;
  color: #E86A1A;
  font-size: .9rem;
  margin-bottom: .2rem;
}

.contact-item .ci-text span {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  line-height: 1.5;
}

.contact-social {
  margin-top: 2rem;
  display: flex;
  gap: .75rem;
}

.social-link {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  transition: all var(--transition);
  text-decoration: none;
}

.social-link:hover {
  border-color: var(--accent);
  background: rgba(249,115,22,.08);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrap {
  background: #162040;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.contact-form-wrap h3 {
  color: var(--white);
  margin-bottom: 1.75rem;
  font-size: 1.35rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 8px;
  font-size: .93rem;
  font-family: var(--font-sans);
  color: var(--white);
  background: #1e2d55;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,.4);
}

.form-group select option {
  background: #1e2d55;
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { margin-top: .5rem; }
.form-submit .btn { width: 100%; justify-content: center; }

/* ============================================
   FOOTER
   ============================================ */
#site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .site-logo { margin-bottom: 1rem; }

.footer-brand p {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  margin: 0;
}

.footer-bottom a { color: var(--accent-light); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

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

.animate-fadeInUp { animation: fadeInUp .7s ease both; }
.animate-delay-1  { animation-delay: .1s; }
.animate-delay-2  { animation-delay: .2s; }
.animate-delay-3  { animation-delay: .3s; }
.animate-delay-4  { animation-delay: .4s; }

/* Animation float — définie sur la base, les délais sont fixés par nth-child ci-dessus */

/* ============================================
   AUDIT DARK THEME — COHÉRENCE GLOBALE
   ============================================ */

/* --- ABOUT --- */
.about-content h2 { color: var(--white); }
.about-content > p { color: rgba(255,255,255,.7); }
.about-content .badge { background: rgba(249,115,22,.2); color: var(--accent-light); }
.about-features .feature-text strong { color: var(--white); }
.about-features .feature-text span   { color: rgba(255,255,255,.6); }
.about-logo-display p { color: rgba(255,255,255,.6); }

/* --- LOGICIELS --- */
#logiciels .section-header h2 { color: var(--white); }
#logiciels .section-header p  { color: rgba(255,255,255,.65); }

.product-card:not(.featured) {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
}
.product-card:not(.featured):hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(249,115,22,.35);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.product-card:not(.featured) h3            { color: var(--white); }
.product-card:not(.featured) .product-desc { color: rgba(255,255,255,.65); }
.product-card:not(.featured) .product-icon { background: rgba(249,115,22,.15); }
.product-card:not(.featured) .product-feat-tag {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
}
.product-card:not(.featured) .product-number { color: rgba(249,115,22,.7); }

/* --- WHY US --- */
#why-us .section-header h2 { color: var(--white); }
#why-us .section-header p  { color: rgba(255,255,255,.65); }

.why-card {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
}
.why-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(249,115,22,.35);
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
  transform: translateY(-3px);
}
.why-card h4 { color: var(--white); }
.why-card p  { color: rgba(255,255,255,.6); }

/* --- CONTACT INFO --- */
.contact-info h2 { color: var(--white); }
.contact-info > p { color: rgba(255,255,255,.7); }

/* --- SECTION HEADERS sur fonds sombres --- */
#hero .section-header h2,
#services .section-header h2,
#contact .section-header h2 { color: var(--white); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats   { justify-content: center; }
  .hero-visual  { display: none; }
  .about-grid   { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .why-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }
  .site-nav.open ul { flex-direction: column; gap: 1rem; text-align: center; }
  .site-nav.open a { font-size: 1.25rem; padding: .75rem 2rem; }
  .nav-toggle { display: flex; z-index: 1001; }

  .products-grid  { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .why-grid       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .why-grid       { grid-template-columns: 1fr; }
  .hero-stats     { flex-direction: column; gap: 1.25rem; }
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* WordPress Core Classes */
.alignnone  { margin: .5rem 1rem .5rem 0; }
.aligncenter { display: block; margin: 0 auto 1.5rem; }
.alignright { float: right; margin: .5rem 0 1rem 1rem; }
.alignleft  { float: left; margin: .5rem 1rem 1rem 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: var(--text-light); text-align: center; }
.screen-reader-text { @extend .visually-hidden; }

/* ============================================
   EXTENSIONS CONTENU — v1.1
   ============================================ */

/* Numéro de produit (01–10) */
.product-number {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--accent);
  font-family: var(--font-display);
  opacity: .75;
}
.product-card.featured .product-number {
  color: rgba(255,255,255,.45);
}

/* Badge "En cours de développement" */
.product-wip-badge {
  display: inline-block;
  background: rgba(249,115,22,.12);
  color: var(--accent);
  border: 1px solid rgba(249,115,22,.3);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}
.product-card.wip {
  border-color: rgba(249,115,22,.25);
}
.product-card.wip::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--accent), rgba(249,115,22,.4));
}

/* Services — grille 2 colonnes (2×2) */
.services-grid-2col {
  grid-template-columns: repeat(2, 1fr) !important;
}

/* Liste à puces dans les cartes service */
.service-list {
  list-style: none;
  padding: 0;
  margin: .75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.45;
}
.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Slogan À Propos */
.about-slogan-block {
  border-left: 3px solid var(--accent);
  padding: .65rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(249,115,22,.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.about-slogan-block p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-display);
  margin: 0;
  font-style: italic;
}

/* Slogan dans le panneau visuel */
.about-slogan {
  font-size: .85rem;
  color: rgba(255,255,255,.5) !important;
  font-style: italic;
  margin-top: .75rem !important;
}

/* Stat non-numérique (ex: CI & AF) */
.hero-stat-text {
  font-size: 1.5rem !important;
  letter-spacing: -.01em;
}

/* Responsive extensions */
@media (max-width: 768px) {
  .services-grid-2col { grid-template-columns: 1fr !important; }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
@keyframes whatsapp-pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: none !important;
  overflow: hidden !important;
  isolation: isolate !important;
  contain: layout;
  animation: whatsapp-pulse 2.8s ease-in-out infinite;
}

.whatsapp-float::before,
.whatsapp-float::after {
  box-shadow: none !important;
  overflow: hidden !important;
}

.whatsapp-float svg {
  width: 30px; height: 30px;
  fill: var(--white);
  flex-shrink: 0;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  background: #20c05a;
  color: var(--white);
}

/* Tooltip on hover */
.wa-tooltip {
  position: absolute;
  right: calc(100% + .85rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  color: var(--primary);
  font-size: .82rem;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  transform: translateY(-50%) translateX(6px);
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 480px) {
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
  .wa-tooltip { display: none; }
}
