/* ============================================================
   MIZACHA — Feuille de style optimisée
   Palette : Orange #e84118 / Rouge #c0392b / Noir #1a1a1a
   ============================================================ */

/* --- Variables & Reset --- */
:root {
  --primary:       #e84118;
  --primary-dark:  #c0392b;
  --primary-light: #f05a35;
  --orange:        #f39c12;
  --dark:          #1a1a1a;
  --dark2:         #2c2c2c;
  --gray-bg:       #f8f8f8;
  --gray-mid:      #eeeeee;
  --border:        #e0e0e0;
  --text:          #333333;
  --text-light:    #777777;
  --white:         #ffffff;
  --shadow:        0 4px 24px rgba(232,65,24,.12);
  --radius:        4px;
  --transition:    .3s ease;
  --font-main:     'Inter', 'Segoe UI', sans-serif;
  --font-head:     'Space Grotesk', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

/* --- Scroll progress bar --- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  z-index: 9999; transition: width .1s linear;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
}

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--primary);
  font-family: var(--font-head); margin-bottom: 10px;
}
.section-label::before {
  content: ''; display: block; width: 10px; height: 10px;
  background: var(--primary); flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--dark); margin-bottom: 16px;
}
.section-title span { color: var(--primary); }

.section-subtitle {
  font-size: 1rem; color: var(--text-light);
  max-width: 540px; line-height: 1.7;
}

.section-description-right {
    text-align: right;
    max-width: 400px;
    margin-left: auto;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* --- Container --- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; font-family: var(--font-head);
  font-size: .82rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; border: none; cursor: pointer;
  transition: all var(--transition); border-radius: var(--radius);
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover {
  background: var(--primary-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,65,24,.35);
}
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); }
.btn-arrow::after { content: '→'; font-size: 1rem; }

/* --- Section padding --- */
.section { padding: 90px 0; }
.section-dark { background: var(--dark); }
.section-gray { background: var(--gray-bg); }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: transparent; transition: all var(--transition);
}
#navbar.scrolled { background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,.1); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 180px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 32px; }

.nav-menu a {
  font-family: var(--font-head); font-size: .82rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--white);
  position: relative;
}
#navbar.scrolled .nav-menu a { color: var(--dark); }

.nav-menu a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: width var(--transition);
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a:hover { color: var(--primary); }

.nav-cta { background: var(--primary); color: var(--white) !important; padding: 10px 22px; border-radius: var(--radius); }
.nav-cta:hover { background: var(--primary-dark) !important; }
.nav-cta::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all var(--transition); border-radius: 2px; }
#navbar.scrolled .hamburger span { background: var(--dark); }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--dark); position: relative; overflow: hidden;
  padding-top: 72px;
}
#hero .container { max-width: 100%; padding-left: 80px; padding-right: 40px; }

.video-background { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.video-background video { min-width: 100%; min-height: 100%; object-fit: cover; }
.video-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 1; }

.hero-grid {
  position: absolute; inset: 0; opacity: .06;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-accent {
  position: absolute; top: 0; right: 0;
  width: 420px; height: 420px; background: var(--primary);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: .9;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,65,24,.15); border: 1px solid rgba(232,65,24,.3);
  padding: 6px 16px; margin-bottom: 24px;
  font-size: .72rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--primary); font-family: var(--font-head);
}
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--primary); display: block; }

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--white); line-height: 1.05; margin-bottom: 24px;
}
.hero-title .typed-wrap { color: var(--primary); display: inline-block; min-width: 2ch; }
.hero-title .cursor { 
    display: inline-block; width: 3px; height: .85em; background: var(--primary); 
    margin-left: 2px; animation: blink .75s step-end infinite; vertical-align: middle; 
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,.7); margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; }
.hero-stat .num { font-size: 2.2rem; font-weight: 900; color: var(--primary); font-family: var(--font-head); line-height: 1; }
.hero-stat .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); margin-top: 4px; }

/* ============================================================
   ABOUT
   ============================================================ */
#about .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--primary); color: var(--white);
  padding: 20px 24px; text-align: center;
}
.about-img-badge .num { font-size: 2.5rem; font-weight: 900; font-family: var(--font-head); line-height: 1; }
.about-img-badge .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }

.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.value-card {
  padding: 16px; border: 1px solid var(--border);
  border-left: 3px solid var(--primary); background: var(--gray-bg);
}
.value-card h4 { font-size: .9rem; margin-bottom: 4px; font-family: var(--font-head); }
.value-card p { font-size: .82rem; color: var(--text-light); }

/* ============================================================
   SERVICES
   ============================================================ */
#services .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(0,0,0,.08); margin-top: 48px; }
.service-card { background: var(--white); padding: 36px 28px; position: relative; overflow: hidden; cursor: pointer; transition: all var(--transition); }
.service-card:hover { background: var(--dark); }

.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px; background: var(--primary);
  transition: width var(--transition);
}
.service-card:hover::after { width: 100%; }

.service-num {
  position: absolute; top: 12px; right: 16px;
  font-size: 3.5rem; font-weight: 900; color: rgba(0,0,0,.04);
  font-family: var(--font-head); line-height: 1; transition: var(--transition);
}
.service-card:hover .service-num { color: rgba(255,255,255,.05); }

.service-icon {
  width: 48px; height: 48px; background: rgba(232,65,24,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--primary); font-size: 1.4rem; transition: all var(--transition);
}
.service-card:hover .service-icon { background: rgba(232,65,24,.2); }

.service-card h3 { font-size: 1rem; margin-bottom: 8px; font-family: var(--font-head); transition: var(--transition); }
.service-card:hover h3 { color: var(--white); }

.service-divider { width: 32px; height: 2px; background: var(--primary); margin-bottom: 12px; }
.service-card p { font-size: .85rem; color: var(--text-light); transition: var(--transition); }
.service-card:hover p { color: rgba(255,255,255,.65); }

.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); opacity: 0; transition: opacity var(--transition);
  font-family: var(--font-head);
}
.service-card:hover .service-link { opacity: 1; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0; }
.filter-btn {
  padding: 7px 18px; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--border); background: transparent;
  cursor: pointer; transition: all var(--transition);
  font-family: var(--font-head); border-radius: var(--radius);
}
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-item { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,.92) 0%, rgba(26,26,26,.3) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; opacity: 0; transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay .cat {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary);
  font-family: var(--font-head); margin-bottom: 4px;
}
.portfolio-overlay h3 { font-size: 1rem; color: var(--white); margin-bottom: 4px; }
.portfolio-overlay .result { font-size: .82rem; color: rgba(255,255,255,.7); }
/* Container de la grille */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.portfolio-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border-color: var(--primary);
}

/* Section Métrique (Haut de carte) */
.card-metric {
    background: #fdf2f0; /* Orange très pâle */
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.portfolio-card:hover .card-metric {
    background: var(--primary);
}

.metric-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    font-family: var(--font-head);
    line-height: 1;
}

.portfolio-card:hover .metric-value {
    color: #fff;
}

.metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-top: 8px;
    display: block;
}

.portfolio-card:hover .metric-label {
    color: rgba(255,255,255,0.8);
}

/* Corps de la carte */
.card-body { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }

.category-tag {
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.card-body h3 { font-size: 1.4rem; margin-bottom: 15px; }
.card-body p { font-size: 0.9rem; color: #666; margin-bottom: 20px; line-height: 1.6; }

/* Tech Stack */
.tech-stack-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 25px; }
.pill {
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #444;
}

/* Footer de carte */
.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.btn-minimal {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.btn-minimal:hover { color: var(--primary); }


.premium-card {
    position: relative;
    padding: 24px;
    border-radius: 20px;
    background: linear-gradient(145deg, #1a1a1a, #111);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Glow dynamique */
.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(232,65,24,0.25), transparent 40%);
    opacity: 0;
    transition: 0.4s;
}

/* Badge ROI */
.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(90deg, #e84118, #c0392b);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 12px;
}

/* Hover effect */
.premium-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.premium-card:hover .card-glow {
    opacity: 1;
}

/* Top */
.card-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.status.success {
    color: #2ecc71;
    font-size: 12px;
}

/* Title */
.card-title {
    font-size: 20px;
    margin-bottom: 10px;
  	color: white !important;
}

/* CTA 
.btn-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding: 12px;
    border-radius: 10px;
  	color: white;
    background: linear-gradient(90deg, #e84118, #c0392b);
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}
*/
.btn-cta:hover {
    transform: translateX(5px);
}

/* Trust */
.card-proof {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    opacity: 0.8;
    margin-top: 10px;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 40px;
}

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

@media (max-width: 640px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
.premium-card {
    position: relative;
    padding: 28px;
    border-radius: 20px;

    /* Fond amélioré */
    background: linear-gradient(160deg, #0f0f10 0%, #1a1a1d 100%);

    border: 1px solid rgba(255,255,255,0.06);

    transition: all 0.4s ease;
}

/* Glow PLUS SUBTIL */
.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(232,65,24,0.18), transparent 50%);
    opacity: 0;
    transition: 0.4s;
}
.card-badge {
    position: absolute;
    top: 18px;
    right: 18px;

    background: linear-gradient(90deg, #ff3d00, #ff6a00);
    color: white;

    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;

    box-shadow: 0 8px 20px rgba(255, 80, 0, 0.25);
}
.premium-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 80, 0, 0.4);
}

.premium-card:hover .card-glow {
    opacity: 1;
}
.card-body {
    position: relative;
    z-index: 2;
}
/* --- CONTAINER PROOF (client + trust) --- */
.card-proof {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    margin-top: 16px;
    padding-top: 14px;

    border-top: 1px solid rgba(255,255,255,0.06);

    font-size: 12px;
}

/* --- CLIENT INFO --- */
.client-info {
    color: #9ca3af; /* gris lisible */
    font-weight: 400;
}

.client-info strong {
    color: #ffffff;
    font-weight: 500;
}

/* --- TRUST BADGE --- */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 5px 10px;
    border-radius: 999px;

    background: rgba(46, 204, 113, 0.12);
    color: #2ecc71;

    font-size: 11px;
    font-weight: 500;

    border: 1px solid rgba(46, 204, 113, 0.25);
}

/* --- TECH STACK CONTAINER --- */
.tech-stack-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 14px;
}

/* --- PILL INDIVIDUELLE --- */
.pill {
    font-size: 11px;
    font-weight: 500;

    padding: 6px 10px;
    border-radius: 999px;

    background: rgba(255,255,255,0.05);
    color: #d1d5db;

    border: 1px solid rgba(255,255,255,0.08);

    transition: all 0.25s ease;
    cursor: default;
}

/* Hover subtil premium */
.pill:hover {
    background: rgba(232,65,24,0.12);
    color: #ff5a2f;
    border-color: rgba(232,65,24,0.35);

    transform: translateY(-2px);
}
/* Overlay léger pour lisibilité */
.premium-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 60%);
    pointer-events: none;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 14px;
    color: #b0b0b5; /* PLUS CLAIR */
    line-height: 1.6;
}

.category-tag {
    font-size: 11px;
    color: #ff5a2f;
    font-weight: 600;
    letter-spacing: 0.5px;
}
  .btn-cta {
    margin-top: 20px;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(90deg, #ff3d00, #ff1e00);
    color: white !important;

    font-weight: 600;
    font-size: 14px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 50, 0, 0.35);
}
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.tech-item {
    position: relative;
    padding: 22px;
    border-radius: 16px;

   
    border: 1px solid rgba(255,255,255,0.06);
	
    text-align: center;
    transition: all 0.35s ease;
    cursor: pointer;
    overflow: hidden;
}

/* Glow subtil */
.tech-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(232,65,24,0.15), transparent 60%);
    opacity: 0;
    transition: 0.4s;
}

/* Hover premium */
.tech-item:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(232,65,24,0.4);
}

.tech-item:hover::before {
    opacity: 1;
}
.tech-icon {
    font-size: 28px;
    margin-bottom: 10px;
    display: inline-block;
    transition: 0.3s;
  	
}

.tech-item:hover .tech-icon {
    transform: scale(1.2) rotate(5deg);
}
.tech-item p {
    font-size: 13px;
    color: #B5BBC5;
    font-weight: 500;
}
.tech-grid:hover .tech-item {
    opacity: 0.4;
}

.tech-grid .tech-item:hover {
    opacity: 1;
    transform: scale(1.08);
}
/* ============================================================
   PROCESS
   ============================================================ */
#process .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); margin-top: 48px; }
.process-step { background: var(--dark2); padding: 32px 24px; position: relative; overflow: hidden; transition: background var(--transition); }
.process-step:hover { background: var(--primary); }

.process-step .step-num {
  position: absolute; top: -8px; right: 8px;
  font-size: 5rem; font-weight: 900; color: rgba(255,255,255,.05);
  font-family: var(--font-head); line-height: 1;
}
.process-step .step-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--primary);
  font-family: var(--font-head); margin-bottom: 10px; transition: color var(--transition);
}
.process-step:hover .step-label { color: rgba(255,255,255,.8); }
.process-step h3 { font-size: .95rem; color: var(--white); margin-bottom: 8px; font-family: var(--font-head); }
.process-step .step-divider { width: 24px; height: 2px; background: var(--primary); margin-bottom: 10px; transition: var(--transition); }
.process-step:hover .step-divider { background: rgba(255,255,255,.5); }
.process-step p { font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.65; }

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */

#testimonials .testimonials-wrap {
    position: relative;
    margin-top: 48px;
    min-height: 320px;
}

/* --- SLIDES (FIX ANIMATION PROPRE) --- */
.testimonial-slide {
    position: absolute;
    inset: 0;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;

    opacity: 0;
    pointer-events: none;
    transform: translateX(60px);
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* ============================================================
   TESTIMONIAL CARD (PREMIUM)
   ============================================================ */

.testimonial-card {
    position: relative;
    padding: 26px;
    border-radius: 18px;
    overflow: hidden;

    background: linear-gradient(160deg, rgba(20,20,20,0.85), rgba(30,30,30,0.95));
    border: 1px solid rgba(255,255,255,0.06);

    backdrop-filter: blur(8px);

    box-shadow: 
        0 10px 30px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.04);

    transition: all 0.4s ease;
}

/* --- GLOW --- */
.testimonial-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(232,65,24,0.18), transparent 60%);
    opacity: 0;
    transition: 0.4s;
}

/* --- QUOTE ICON --- */
.testimonial-card::after {
    content: "“";
    position: absolute;
    top: 10px;
    left: 16px;

    font-size: 4rem;
    color: rgba(232,65,24,0.12);
    font-family: Georgia, serif;

    pointer-events: none;
}

/* --- HOVER --- */
.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(232,65,24,0.4);
}

.testimonial-card:hover::before {
    opacity: 1;
}

/* ============================================================
   TEXT & STARS
   ============================================================ */

.testimonial-stars {
    color: #ffb400;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #d1d5db;
    margin-bottom: 18px;
}

/* ============================================================
   AUTHOR
   ============================================================ */

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;

    background: linear-gradient(135deg, #e84118, #c0392b);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 600;
    font-size: 14px;
}

.name {
    color: #fff;
    font-weight: 500;
    font-size: 13px;
}

.role {
    font-size: 12px;
    color: #9ca3af;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.testimonials-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.testimonials-nav button {
    width: 42px;
    height: 42px;
    border-radius: 50%;

    background: rgba(255,255,255,0.05);
    border: none;
    color: #fff;

    cursor: pointer;
    transition: 0.3s;
}

.testimonials-nav button:hover {
    background: #e84118;
    transform: scale(1.1);
}
.testimonials-wrap {
    position: relative;
    width: 100%;
    min-height: 450px; /* Ajustez selon la hauteur de vos cartes */
}
/* --- DOTS --- */
.testimonials-dots span {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
    transition: 0.3s;
}

.testimonials-dots span.active {
    background: #e84118;
    transform: scale(1.4);
}

/* --- COUNTER --- */
#slide-counter {
    margin-left: auto;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    font-family: 'Space Grotesk', sans-serif;
}
.testimonial-slide {
    display: none; /* Cache les slides par défaut */
    gap: 30px;     /* Espace entre les deux cartes */
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.testimonial-slide.active {
    display: flex; /* N'affiche que la slide active en mode Flex */
}

/* Optionnel : Assurez-vous que les cartes ont une largeur définie */
.testimonial-card {
    flex: 1;
    max-width: 500px; /* Évite que les cartes ne deviennent trop larges */
}

/* ============================================================
   RESULT BADGE (CONVERSION BOOST)
   ============================================================ */

.result-badge {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;

    padding: 4px 10px;
    border-radius: 999px;

    background: rgba(46,204,113,0.15);
    color: #2ecc71;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 0;
    cursor: pointer;

    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;

    color: var(--dark);
    transition: var(--transition);
    gap: 16px;
}

.faq-question:hover,
.faq-question.open {
    color: var(--primary);
}

.faq-answer {
    display: none;
    padding-bottom: 20px;

    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.75;
}

.faq-answer.open {
    display: block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .testimonial-slide {
        grid-template-columns: 1fr;
    }

    #testimonials .testimonials-wrap {
        min-height: auto;
    }
}
/* ============================================================
   BLOG & CONTACT
   ============================================================ */
#blog .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.blog-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: all var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); border-color: var(--primary); }

#contact .contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; margin-top: 48px; }
.form-control {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); background: var(--white);
  font-size: .9rem; font-family: var(--font-main); color: var(--text);
  transition: var(--transition); border-radius: var(--radius); outline: none;
}
.form-control:focus { border-color: var(--primary); }
.contact-info { background: var(--dark); padding: 36px; position: relative; overflow: hidden; }
.contact-info::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 80px; height: 80px; background: var(--primary);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.contact-info h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 24px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-info-icon {
  width: 40px; height: 40px; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1rem; flex-shrink: 0;
}
.contact-info-item .lbl { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 3px; }
.contact-info-item a, .contact-info-item p { font-size: .9rem; color: var(--white); transition: color var(--transition); }
.contact-info-item a:hover { color: var(--primary); }
.contact-socials { display: flex; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.social-btn {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: .72rem; font-weight: 700;
  font-family: var(--font-head); transition: all var(--transition);
}
.social-btn:hover { border-color: var(--primary); color: var(--primary); }
/* ============================================================
   WHATSAPP & FOOTER
   ============================================================ */
#whatsapp-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4); border-radius: 50%;
}
#whatsapp-btn:hover { transform: scale(1.1); }

#footer { background: #111; padding: 64px 0 0; }
.footer-top { border-top: 3px solid var(--primary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 48px 0 40px; }

/* ============================================================
   ANIMATIONS (Nettoyées)
   ============================================================ */
.fade-in, .fade-in-left, .fade-in-right { 
    opacity: 0; transition: opacity .6s ease, transform .6s ease; 
}
.fade-in { transform: translateY(24px); }
.fade-in-left { transform: translateX(-32px); }
.fade-in-right { transform: translateX(32px); }

.fade-in.visible, .fade-in-left.visible, .fade-in-right.visible { opacity: 1; transform: translate(0); }

/* Stagger Animation */
/* 1. État initial : on cache les enfants */
.stagger > * { 
    opacity: 0; 
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease; /* Utilisation de transition plutôt qu'animation */
}

/* 2. État visible : on déclenche l'effet */
.stagger.visible > * { 
    opacity: 1; 
    transform: translateY(0); 
}

/* 3. Délais progressifs (Stagger) */
.stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer { background: #111; padding: 64px 0 0; }
.footer-top { border-top: 3px solid var(--primary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 48px 0 40px; }
.footer-brand img { height: 44px; margin-bottom: 14px; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 240px; }
.footer-col h4 {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: #E84118;
  font-family: var(--font-head); margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: .85rem; color: rgba(255,255,255,.45);
  transition: color var(--transition); display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a::before { content: ''; width: 6px; height: 1px; background: var(--primary); display: block; transition: width var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li a:hover::before { width: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 0; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-bottom a { font-size: .8rem; color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--primary); }

/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */
#whatsapp-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--transition); border-radius: 50%;
}
#whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-32px); transition: opacity .6s ease, transform .6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 1; transform: translateX(32px); transition: opacity .6s ease, transform .6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.stagger > * { opacity: 0; transform: translateY(20px); }
.stagger.visible > *:nth-child(1) { animation: fadeUp .5s .05s ease forwards; }
.stagger.visible > *:nth-child(2) { animation: fadeUp .5s .15s ease forwards; }
.stagger.visible > *:nth-child(3) { animation: fadeUp .5s .25s ease forwards; }
.stagger.visible > *:nth-child(4) { animation: fadeUp .5s .35s ease forwards; }
.stagger.visible > *:nth-child(5) { animation: fadeUp .5s .45s ease forwards; }
.stagger.visible > *:nth-child(6) { animation: fadeUp .5s .55s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.fa-spin { animation: spin 1s linear infinite; display: inline-block; margin-right: 8px; }
.form-message {
    margin-top: 15px;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Success */
.form-message.success {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

/* Error */
.form-message.error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}
.form-message {
    animation: fadeIn 0.4s ease;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  #about .about-grid, #contact .contact-grid { grid-template-columns: 1fr; }
  #services .services-grid, .portfolio-grid, #process .process-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu { 
      display: none; position: fixed; top: 72px; left: 0; width: 100%; 
      background: var(--white); flex-direction: column; padding: 20px 24px; 
      box-shadow: 0 8px 24px rgba(0,0,0,.1); 
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { color: var(--dark) !important; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .hamburger { display: flex; }
  #services .services-grid, .portfolio-grid, #process .process-grid, .blog-grid, .footer-grid, .testimonial-slide.active { grid-template-columns: 1fr; }
}